Silence some cedet compilation warnings
[emacs.git] / lisp / ChangeLog
blob85430128e9f22ee51f4fd5c56ce55929cebc4e88
1 2013-06-01  Glenn Morris  <rgm@gnu.org>
3         * eshell/em-cmpl.el (eshell-cmpl-initialize):
4         Replace the obsolete alias pcomplete-arg-quote-list.
6 2013-06-01  Leo Liu  <sdl.web@gmail.com>
8         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9         punctuation syntax.
10         (inferior-octave-minimal-columns)
11         (inferior-octave-last-column-width): New variables.
12         (inferior-octave-track-window-width-change): New function.
13         (inferior-octave-mode): Adjust column width so that Octave output,
14         for example from 'ls', can fit into the window nicely.
16 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
18         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
19         Highlight expansions inside regexp literals.
21 2013-05-31  Glenn Morris  <rgm@gnu.org>
23         * obsolete/sym-comp.el (symbol-complete):
24         Replace obsolete completion-annotate-function.
26         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
28 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
30         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): New
31         function, checks if point is inside a literal that allows
32         expression expansion.
33         (ruby-syntax-propertize-expansion): Use it.
34         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
35         around the body.
37 2013-05-30  Juri Linkov  <juri@jurta.org>
39         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
40         to "\M-si".
41         (isearch-invisible): New variable.
42         (isearch-forward): Doc fix.
43         (isearch-mode): Set `isearch-invisible'
44         to the value of `search-invisible'.
45         (isearch-toggle-case-fold): Doc fix.
46         (isearch-toggle-invisible): New command.
47         (isearch-query-replace): Let-bind `search-invisible'
48         to the value of `isearch-invisible'.
49         (isearch-search): Use `isearch-invisible' instead of
50         `search-invisible'.  Let-bind `search-invisible'
51         to the value of `isearch-invisible'.  (Bug#11378)
53 2013-05-30  Juri Linkov  <juri@jurta.org>
55         * replace.el (perform-replace): Avoid `isearch-range-invisible'
56         call when `query-flag' is nil and `search-invisible' is non-nil.
57         (Bug#11746)
59 2013-05-30  Glenn Morris  <rgm@gnu.org>
61         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
63         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
64         (cc-require): Suppress spurious "noruntime" warnings.
65         (cc-require-when-compile): Use fboundp, for sake of compiler.
67         * progmodes/cc-mode.el: Move load of cc-vars before that of
68         cc-langs (which in turn loads cc-vars), to quieten compiler.
70 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
72         * paren.el: Simplify the code.
73         (show-paren-mode): Always start the timer.
74         (show-paren--idle-timer): Rename from show-paren-idle-timer.
75         (show-paren--overlay, show-paren--overlay-1): Rename from
76         show-paren-overlay and show-paren-overlay-1, and initialize to an
77         overlay rather than to nil.
78         (show-paren-function): Misc cleanup and simplifications.
80 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
82         * paren.el (show-paren-data-function): New hook.
83         (show-paren--default): New function, extracted from show-paren-function.
84         (show-paren-function): Use show-paren-data-function.
86 2013-05-30  Glenn Morris  <rgm@gnu.org>
88         * ielm.el (ielm-map, ielm-complete-symbol):
89         Use completion-at-point rather than obsolete functions.
90         (inferior-emacs-lisp-mode): Doc fix.
91         Set completion-at-point-functions, rather than
92         comint-dynamic-complete-functions.
94         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
95         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
96         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
98         * image.el (image-animated-p): Tweak definition.
100         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
101         (rlogin-process-connection-type): Tweak default.  Add set-after.
102         (rlogin-host): Doc fix.
103         (rlogin): Tweak prompt.
104         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
106         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
107         * progmodes/tcl.el (inferior-tcl-mode-map):
108         Use completion-at-point rather than obsolete alias.
110         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
112         * minibuffer.el (read-file-name-completion-ignore-case):
113         Move before completion--in-region, for eager macro expansion.
115 2013-05-29  Juri Linkov  <juri@jurta.org>
117         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
118         for total count of matching lines.  Add `global-matches' for total
119         count of matches.  Rename `matches' to `lines' for count of
120         matching lines.  Add `matches' for count of matches.
121         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
122         to `prev-line' for line number of prev match endpt.
123         Increment `matches' for every match.  Print the number of
124         matching lines in the header.
125         (occur-context-lines): Rename `lines' to `curr-line'.
126         Rename `prev-lines' to `prev-line'.  (Bug#14017)
128 2013-05-29  Juri Linkov  <juri@jurta.org>
130         * replace.el (perform-replace): Add `skip-read-only-count',
131         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
132         Increment them for corresponding conditions and report the number
133         of skipped occurrences in the final message.  (Bug#11746)
134         (query-replace, query-replace-regexp, query-replace-regexp-eval)
135         (replace-string, replace-regexp): Doc fix.
137 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
139         * emacs-lisp/trace.el (trace--read-args): Provide a default.
141         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
142         prog-mode-map.
144 2013-05-29  Leo Liu  <sdl.web@gmail.com>
146         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
147         (octave-help): Small simplification.
149         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
150         off the highlight first.
152 2013-05-29  Glenn Morris  <rgm@gnu.org>
154         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
155         Handle idlwave-last-system-routine-info-cons-cell being nil.
157         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
158         (idlwave-write-paths): Simplify via with-temp-buffer.
160         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
161         * emulation/cua-rect.el: Also load cua-base at run time.
163         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
164         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
165         (cperl-imenu-on-info): Require imenu.
167 2013-05-28  Alan Mackenzie  <acm@muc.de>
169         Handle "capitalised keywords" correctly.
170         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
172 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
174         * eshell/em-unix.el: Added -r option to cp
176 2013-05-28  Glenn Morris  <rgm@gnu.org>
178         * vc/vc-arch.el (vc-exec-after): Declare.
179         (vc-switches): Autoload.
180         * vc/vc-bzr.el: No need to require vc when compiling.
181         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
182         (vc-resynch-buffer, vc-dir-refresh): Declare.
183         (vc-setup-buffer, vc-switches): Autoload.
184         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
185         (vc-resynch-buffer): Declare.
186         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
187         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
188         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
189         (grep-read-regexp, grep-read-files, grep-expand-template)
190         (vc-dir-refresh): Declare.
191         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
192         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
193         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
194         * vc/vc-mtn.el (vc-exec-after): Declare.
195         (vc-switches): Autoload.
196         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
197         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
198         (vc-file-tree-walk): Declare.
199         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
200         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
201         (vc-tag-precondition, vc-rename-master): Autoload.
202         * vc/vc-svn.el (vc-exec-after): Declare.
203         (vc-switches, vc-setup-buffer): Autoload.
204         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
205         Autoload.
206         (vc-resynch-buffer): Declare.
208         * obsolete/fast-lock.el (byte-compile-warnings):
209         Don't warn about obsolete features in this obsolete file.
211         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
212         Move definition before use.
214         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
215         (dun-unix-verbs): Remove dun-zippy.
216         (dun-zippy): Remove function.
218         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
220 2013-05-27  Juri Linkov  <juri@jurta.org>
222         * replace.el (replace-search): New function with code moved out
223         from `perform-replace'.
224         (replace-highlight, replace-dehighlight): Move function definitions
225         up closer to `replace-search'.  (Bug#11746)
227 2013-05-27  Juri Linkov  <juri@jurta.org>
229         * replace.el (perform-replace): Ignore invisible matches.
230         In addition to checking `query-replace-skip-read-only', also
231         filter out matches by calling `run-hook-with-args-until-failure'
232         on `isearch-filter-predicates', and also check `search-invisible'
233         for t or call `isearch-range-invisible'.
234         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
236 2013-05-27  Juri Linkov  <juri@jurta.org>
238         * isearch.el (isearch-filter-predicates): Rename from
239         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
240         (isearch-message-prefix): Display text from the property
241         `isearch-message-prefix' of the currently active filters.
242         (isearch-search): Don't compare `isearch-filter-predicate' with
243         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
244         on `isearch-filter-predicates'.  Also check `search-invisible' for t
245         or call `isearch-range-invisible'.
246         (isearch-filter-visible): Make obsolete.
247         (isearch-lazy-highlight-search):
248         Call `run-hook-with-args-until-failure' on
249         `isearch-filter-predicates' and use `isearch-range-invisible'.
251         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
252         `isearch-filter-predicates' instead of `funcall'ing
253         `isearch-filter-predicate'.
254         (Info-mode): Set `Info-isearch-filter' to
255         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
257         * dired-aux.el (dired-isearch-filter-predicate-orig):
258         Remove variable.
259         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
260         (dired-isearch-filenames-end): Add and remove
261         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
262         instead of changing the value of `isearch-filter-predicate'.
263         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
264         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
265         Put property `isearch-message-prefix' to "filename " on
266         `dired-isearch-filter-filenames'.
268         * wdired.el (wdired-change-to-wdired-mode):
269         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
270         locally instead of changing `isearch-filter-predicate'.
271         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
273 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
275         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
276         return the commit hash (Bug#14459).  Also set the
277         `vc-git-detached' property.
278         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
279         (vc-git-mode-line-string): Use the same help-echo format whether
280         in detached mode or not, because we know the actual revision now.
281         When in detached mode, shorten the revision to 7 chars.
283 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
285         * emacs-lisp/easy-mmode.el (define-minor-mode):
286         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
287         mode hook and provide a docstring.
289 2013-05-27  Alan Mackenzie  <acm@muc.de>
291         Remove spurious syntax-table text properties inserted by C-y.
292         * progmodes/cc-mode.el (c-after-change): Also clear hard
293         syntax-table property with value nil.
295 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
297         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
298         when reading the events; the buffer layout shall not be changed.
300 2013-05-27  Leo Liu  <sdl.web@gmail.com>
302         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
303         New variable.
304         (inferior-octave-directory-tracker): Automatically re-sync
305         default-directory.
306         (octave-help): Improve handling of 'See also'.
308 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
310         * doc-view.el: Minor naming convention tweaks.
311         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
313         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
314         even if there's no `display' property yet (bug#14435).
316 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
318         * subr.el (unmsys--file-name): Rename from reveal-filename.
320         * Makefile.in (custom-deps, finder-data, autoloads)
321         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
322         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
323         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
325 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
327         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
328         error-completion on the first 2 args of condition-case (bug#14446).
329         Don't burp at EOB.
331 2013-05-25  Leo Liu  <sdl.web@gmail.com>
333         * comint.el (comint-previous-matching-input): Do not flood the
334         *Messages* buffer with trivial messages.
336 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
338         * progmodes/flymake.el (flymake-nop): Don't return a string.
339         (flymake-set-at): Fix typo.
341         * simple.el (read--expression): New function, extracted from
342         eval-expression.  Set completion-at-point-functions (bug#14465).
343         (eval-expression, eval-minibuffer): Use it.
345 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
347         * progmodes/flymake.el (flymake-save-buffer-in-file)
348         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
349         (flymake-selected-frame, flymake-log, flymake-ins-after)
350         (flymake-set-at, flymake-get-buildfile-from-cache)
351         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
352         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
353         Refine the doc string.
354         (flymake-get-file-name-mode-and-masks): Reformat.
355         (flymake-get-real-file-name-function): Fix a minor bug.
357 2013-05-24  Juri Linkov  <juri@jurta.org>
359         * progmodes/grep.el (grep-mode-font-lock-keywords):
360         Support =linenumber= format used by git-grep for lines with
361         function names.  (Bug#13549)
363 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
365         * progmodes/octave.el (octave-smie-rules): Return nil rather than
366         0 after a semi-colon; it works better for smie-auto-fill.
367         (octave--indent-new-comment-line): New function.
368         (octave-indent-new-comment-line): Use it (indirectly).
369         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
370         modify comment-line-break-function.
372         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
373         (smie-setup): Use add-function to set it.
375 2013-05-24  Sam Steingold  <sds@gnu.org>
377         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
378         argument (before the `interactive' argument).
380 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
382         * image-mode.el (image-mode-winprops): Add winprops to
383         image-mode-winprops-alist before running
384         image-mode-new-window-functions.
385         * doc-view.el (doc-view-new-window-function): Don't delay
386         doc-view-goto-page via timers (bug#14435).
388 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
390         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
391         (doc-view-desktop-save-buffer): New function.
392         (doc-view-restore-desktop-buffer): New function.
393         (desktop-buffer-mode-handlers):
394         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
395         handler.
396         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
397         `desktop-save-buffer' function.
399 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
401         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
402         (tramp-gvfs-file-name-handler): Raise a user error when
403         `tramp-gvfs-enabled' is nil.
404         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
405         Do not raise a user error when loading package.  (Bug#14447)
407         * net/xesam.el: Move to obsolete/.
409 2013-05-24  Glenn Morris  <rgm@gnu.org>
411         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
413         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
415         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
416         (Info-find-node, Man-getpage-in-background): Declare.
418         * mail/unrmail.el (unrmail):
419         Replace obsolete detect-coding-with-priority.
421         * net/socks.el (socks-split-string): Use this rather than split-string.
422         (socks-nslookup-host): Update for above change.
423         (dynamic-choice, s5-dynamic-choice-match)
424         (s5-dynamic-choice-match-inline, s5-widget-value-create):
425         Comment out unused code.
427         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
428         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
429         (gud-tooltip-echo-area): Make obsolete.
430         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
432         * progmodes/js.el (js--optimize-arglist): Declare.
434         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
436         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
437         (ediff-window-C): Declare.
439         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
440         Tweak requires to silence compiler.
442         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
443         (he-search-string, he-tried-table, he-expand-list)
444         (he-init-string, he-string-member, he-substitute-string)
445         (he-reset-string): Declare.
447         * obsolete/options.el (list-options): Use custom-variable-p,
448         rather than obsolete alias.
450 2013-05-23  Sam Steingold  <sds@gnu.org>
452         * simple.el (shell-command-on-region): Pass the `replace' argument
453         down to `call-process-region' to comply with the doc as reported on
454         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
456 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
458         * emacs-lisp/smie.el (smie-indent-forward-token)
459         (smie-indent-backward-token): Handle string tokens (bug#14381).
461 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
463         * ielm.el (ielm-menu): New menu.
464         (inferior-emacs-lisp-mode): Set comment-start.
466 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
468         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
469         Fix deactivate action.
471         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
472         Add cleveref macros.
474         * lisp/textmodes/reftex-parse.el
475         (reftex-locate-bibliography-files): Accept options for
476         bibliography commands.
477         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
478         Add addbibresource.  Basic Biblatex support.
480 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
482         * net/tramp-gvfs.el (top):
483         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
484         when loading package.  (Bug#14447)
486 2013-05-23  Glenn Morris  <rgm@gnu.org>
488         * progmodes/js.el: No need to load comint when compiling.
489         (ring-insert, comint-send-string, comint-send-input)
490         (comint-last-input-end, ido-chop): Declare.
492         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
493         * vc/ediff-mult.el: Adjust requires.
494         (ediff-directories-internal, ediff-directory-revisions-internal)
495         (ediff-patch-file-internal): Declare.
496         * vc/ediff-ptch.el: Adjust requires.
497         (ediff-use-last-dir, ediff-buffers-internal): Declare.
498         (ediff-find-file): Autoload.
499         * vc/ediff-util.el: No need to load ediff when compiling.
500         (ediff-regions-internal): Declare.
501         * vc/ediff-wind.el: Adjust requires.
502         (ediff-compute-toolbar-width): Define when compiling.
503         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
504         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
505         (dired-get-filename, dired-get-marked-files)
506         (ediff-last-dir-patch, ediff-patch-default-directory)
507         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
508         (ediff-patch-buffer-internal): Declare.
510         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
511         (ispell-process, ispell-buffer-local-words, lm-summary)
512         (lm-section-start, lm-section-end): Declare.
513         (checkdoc-ispell-init): Simplify.
515         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
516         (he-string-member, he-reset-string, he-substitute-string): Declare.
518         * eshell/em-ls.el: Adjust requires.
519         (eshell-glob-regexp): Declare.
520         * eshell/em-tramp.el: Adjust requires.
521         (eshell-parse-command): Autoload.
522         * eshell/em-xtra.el: Adjust requires.
523         (eshell-parse-command): Autoload.
524         * eshell/esh-ext.el: Adjust requires.
525         (eshell-parse-command, eshell-close-handles): Autoload.
526         * eshell/esh-io.el: Adjust requires.
527         (eshell-output-filter): Autoload.
528         * eshell/esh-util.el: No need to load tramp when compiling.
529         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
530         Declare.
531         (eshell-parse-ange-ls): Require ange-ftp and tramp.
532         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
533         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
534         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
535         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
536         * eshell/esh-opt.el, eshell/esh-proc.el:
537         * eshell/esh-var.el: Adjust requires.
538         * eshell/eshell.el: Do not require esh-util twice.
539         (eshell-add-input-to-history): Declare.
540         (eshell-command): Check history module is active before using it.
542         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
544 2013-05-22  Leo Liu  <sdl.web@gmail.com>
546         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
548 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
550         * autorevert.el (auto-revert-notify-add-watch)
551         (auto-revert-notify-handler): Add `attrib' for the inotify case,
552         it indicates changes in file modification time.
554 2013-05-22  Glenn Morris  <rgm@gnu.org>
556         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
557         Always delete the autoloaded function from the noruntime and
558         unresolved functions lists.
560         * allout.el: No need to load epa, epg, overlay when compiling.
561         (epg-context-set-passphrase-callback, epg-list-keys)
562         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
563         (epg-key-user-id-list): Declare.
565         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
566         (viper-set-parsing-style-toggling-macro)
567         (viper-set-emacs-state-searchstyle-macros):
568         Use called-interactively-p on Emacs.
569         (viper-looking-back): Make it an obsolete alias.  Update callers.
570         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
571         Use looking-back rather than viper-looking-back.
572         (viper-tmp-insert-at-eob, viper-enlarge-region)
573         (viper-read-string-with-history, viper-register-to-point)
574         (viper-append-to-register, viper-change-state-to-vi)
575         (viper-backward-char-carefully, viper-forward-char-carefully)
576         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
577         (viper-change-state-to-emacs): Declare.
578         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
579         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
580         * emulation/viper-mous.el: Do not load viper-cmd.
581         (viper-backward-char-carefully, viper-forward-char-carefully)
582         (viper-forward-word, viper-adjust-window): Declare.
584         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
586         * progmodes/idlw-help.el (idlwave-help-fontify):
587         Use called-interactively-p.
589         * term/w32console.el (w32-get-console-codepage)
590         (w32-get-console-output-codepage): Declare.
592         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
593         Remove unnecessary declarations.
594         (dframe-message): Doc fix.
596         * info.el (dframe-select-attached-frame, dframe-current-frame):
597         Declare.
599         * speedbar.el (speedbar-message): Make it an obsolete alias.
600         Update all callers.
601         (speedbar-with-attached-buffer)
602         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
603         (speedbar-with-writable): Use backquote.
604         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
605         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
606         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
607         rather than speedbar- aliases.
608         * mail/rmail.el: Load dframe rather than speedbar when compiling.
609         (speedbar-make-specialized-keymap, speedbar-insert-button)
610         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
611         (speedbar-do-function-pointer): Declare.
612         (rmail-speedbar-button, rmail-speedbar-find-file)
613         (rmail-speedbar-move-message):
614         Use dframe-with-attached-buffer rather than speedbar- alias.
615         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
616         (dframe-message, speedbar-make-specialized-keymap)
617         (speedbar-add-expansion-list, speedbar-mode-functions-list)
618         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
619         (speedbar-insert-button, dframe-select-attached-frame)
620         (dframe-maybee-jump-to-attached-frame)
621         (speedbar-change-initial-expansion-list)
622         (speedbar-previously-used-expansion-list-name): Declare.
623         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
624         Use dframe-message, dframe-with-attached-buffer rather than
625         speedbar- aliases.
626         (gud-sentinel): Silence compiler.
627         * progmodes/vhdl-mode.el (speedbar-refresh)
628         (speedbar-do-function-pointer, speedbar-add-supported-extension)
629         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
630         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
631         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
632         (speedbar-file-lists, speedbar-make-tag-line)
633         (speedbar-line-directory, speedbar-goto-this-file)
634         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
635         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
636         (speedbar-make-button, speedbar-reset-scanners)
637         (speedbar-files-item-info, speedbar-line-text)
638         (speedbar-find-file-in-frame, speedbar-set-timer)
639         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
640         (speedbar-with-writable): Do not (re)define it.
641         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
642         rather than speedbar- alias.
644 2013-05-21  Leo Liu  <sdl.web@gmail.com>
646         * progmodes/octave.el (octave-mode-menu): Update and re-organize
647         menu items.
648         (octave-mode): Tweak fill-nobreak-predicate.
649         (inferior-octave-startup): Check process to avoid infinite loop.
650         (inferior-octave): Pop to buffer first to show abornmal process
651         exit information.
653 2013-05-21  Glenn Morris  <rgm@gnu.org>
655         * printing.el (pr-menu-bar): Define when compiling.
657 2013-05-21  Leo Liu  <sdl.web@gmail.com>
659         * progmodes/octave.el (octave-auto-fill): Remove.
660         (octave-indent-new-comment-line): Improve.
661         (octave-mode): Use auto fill mode through
662         comment-line-break-function and fill-nobreak-predicate
663         (octave-goto-function-definition): Support DEFUN_DLD.
664         (octave-beginning-of-defun): Small Tweak
665         (octave-help): Show parent directory.
667 2013-05-21  Glenn Morris  <rgm@gnu.org>
669         * files.el (dired-unmark):
670         * progmodes/gud.el (gdb-input): Update declarations.
672         * calculator.el (electric, ehelp): No need to load when compiling.
673         (Electric-command-loop, electric-describe-mode): Declare.
675         * doc-view.el (doc-view-current-converter-processes): Move before use.
677         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
678         Move MODE-set-explicitly definition before use.
680         * international/mule-diag.el (mule-diag):
681         Don't use obsolete window-system-version.
683         * mail/feedmail.el (smtpmail): No need to load when compiling.
684         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
686         * mail/mail-utils.el (rfc822): No need to load when compiling.
687         (rfc822-addresses): Autoload it.
688         (mail-strip-quoted-names): Trivial simplification.
690         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
691         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
693         * net/snmp-mode.el (tempo): Don't duplicate requires.
695         * progmodes/prolog.el (info): No need to load when compiling.
696         (comint): Require before shell requires it.
697         (Info-goto-node): Autoload it.
698         (Info-follow-nearest-node): Declare.
699         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
701         * textmodes/artist.el (picture-mode-exit): Declare.
703         * textmodes/reftex-parse.el (reftex-parse-from-file):
704         Trivial rewrite so the compiler can parse it better.
706 2013-05-20  Leo Liu  <sdl.web@gmail.com>
708         * progmodes/octave.el (octave-help-mode-map)
709         (octave-help-mode-finish-hook): New variables.
710         (octave-help-mode, octave-help-mode-finish): New functions.
711         (octave-help): Use octave-help-mode.
713 2013-05-20  Glenn Morris  <rgm@gnu.org>
715         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
717 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
719         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
720         start at point, so that expansion starting right after opening
721         slash in a regexp is recognized.
722         (ruby-syntax-before-regexp-re): New defvar, extracted from
723         ruby-syntax-propertize-function.  Since the value of this regexp
724         is looked up at runtime now, we should be able to turn
725         `ruby-syntax-methods-before-regexp' into a defcustom later.
726         (ruby-syntax-propertize-function): Split regexp matching into two
727         parts, for opening and closing slashes.  That allows us to skip
728         over string interpolations and support multiline regexps.
729         Don't call `ruby-syntax-propertize-expansions', instead use another rule
730         for them, which calls `ruby-syntax-propertize-expansion'.
731         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
732         call to `ruby-syntax-propertize-function'.
733         (ruby-syntax-propertize-expansion): Extracted from
734         `ruby-syntax-propertize-expansions'.  Handles one expansion.
735         (ruby-syntax-propertize-percent-literal): Leave point right after
736         the percent symbol, so that the expression expansion rule can
737         propertize the contents.
738         (ruby-syntax-propertize-heredoc): Leave point at bol following the
739         heredoc openers.
740         (ruby-syntax-propertize-expansions): Remove.
742 2013-05-18  Juri Linkov  <juri@jurta.org>
744         * man.el (Man-default-man-entry): Remove `-' from the end
745         of the default value.  (Bug#14400)
747 2013-05-18  Glenn Morris  <rgm@gnu.org>
749         * comint.el (comint-password-prompt-regexp):
750         Allow "password for XXX" where XXX contains colons (eg https://...).
752 2013-05-18  Leo Liu  <sdl.web@gmail.com>
754         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
755         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
756         (octave-source-directories): Don't check process.
757         (octave-source-directories, octave-find-definition): Doc fix.
759 2013-05-18  Glenn Morris  <rgm@gnu.org>
761         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
762         Remove backspace/delete bindings.  (Bug#14392)
764         * cus-dep.el (custom-make-dependencies): Sort the output.
765         (custom-versions-load-alist): Convert comment to doc.
767 2013-05-17  Leo Liu  <sdl.web@gmail.com>
769         * newcomment.el (comment-search-backward): Stricter in finding
770         comment start.  (Bug#14303)
772         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
773         (octave-comment-start-skip): Properly anchored.
775 2013-05-17  Leo Liu  <sdl.web@gmail.com>
777         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
778         Clean up when turned off.  (Bug#14395)
779         (smie--highlight-matching-block-overlay): No longer buffer-local.
780         (smie-highlight-matching-block): Adjust.
782 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
784         Doc string fix for "nanoseconds" (Bug#14406).
785         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
786         Fix doc string typo that had "nanoseconds" instead of "microseconds".
788 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
790         * calc/calc-units.el (math-extract-units): Preserve powers
791         of units.
793 2013-05-17  Leo Liu  <sdl.web@gmail.com>
795         * subr.el (delete-consecutive-dups): New function.
796         * ido.el (ido-set-matches-1): Use it.
797         * progmodes/octave.el (inferior-octave-completion-table): Use it.
798         * ido.el (ido-remove-consecutive-dups): Remove.
800 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
802         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
803         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
804         regexp-opt's `words'.
806 2013-05-16  Leo Liu  <sdl.web@gmail.com>
808         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
809         (smie--highlight-matching-block-overlay)
810         (smie--highlight-matching-block-lastpos)
811         (smie--highlight-matching-block-timer): New variables.
812         (smie-highlight-matching-block): New function.
813         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
814         (smie-setup): Conditionally enable smie-blink-matching-open.
816 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
818         Sync with upstream verilog-mode r840.
819         * progmodes/verilog-mode.el (verilog-mode-version)
820         (verilog-mode-release-date): Update.
821         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
822         (verilog-sig-tieoff): Fix string error on
823         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
824         (verilog-read-decls): Fix parameters confusing
825         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
827 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
829         * subr.el (reveal-filename): New function.
831         * loadup.el: Compute Emacs executable versions on MS-Windows,
832         where executables have the .exe extension.  Add a hard link
833         emacs-XX.YY.ZZ.exe on MS-Windows.
835         * Makefile.in (XARGS_LIMIT): New variable.
836         (custom-deps, finder-data, autoloads)
837         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
838         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
839         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
840         (compile-main): Limit xargs according to $(XARGS_LIMIT).
842 2013-05-16  Leo Liu  <sdl.web@gmail.com>
844         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
845         (octave-mode-menu, octave-mode-map): Remove its uses.
847 2013-05-16  Reto Zimmermann  <reto@gnu.org>
849         Sync with upstream vhdl mode v3.34.2.
850         * progmodes/vhdl-mode.el: Use `push' throughout.
851         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
852         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
853         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
854         (vhdl-actual-generic-name): New option to derive actual generic name.
855         (vhdl-port-paste-signals): Replace formal by actual generics.
856         (vhdl-beautify): New name for old group vhdl-align.  Update users.
857         (vhdl-beautify-options): New option.
858         (vhdl-last-input-event): New compat alias.  Use throughout.
859         (vhdl-goto-line): Replace user level function `goto-line'.
860         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
861         vhdl-fix-statement-buffer.
862         (vhdl-create-mode-menu): Add some entries.
863         (vhdl-align-region-groups): Respect vhdl-beautify-options.
864         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
865         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
866         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
867         to force statements on one line.
868         (vhdl-remove-trailing-spaces-region):
869         New, split from vhdl-remove-trailing-spaces.
870         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
871         Respect vhdl-beautify-options.
872         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
873         (vhdl-update-sensitivity-list): Not add with index if exists without.
874         Not include array index with signal.  Ignore keywords in comments.
875         (vhdl-get-visible-signals): Regexp tweaks.
876         (vhdl-template-component-inst): Handle empty library.
877         (vhdl-template-type): Add template for 'enum' type.
878         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
879         Use vhdl-replace-string.
880         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
881         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
882         (vhdl-speedbar-initialize): Update for above name change.
883         (vhdl-compose-wire-components): Fix in handling of constants.
884         (vhdl-error-regexp-emacs-alist): New variable.
885         (vhdl-error-regexp-add-emacs): New function;
886         adds support for new compile.el (Emacs 22+)
887         (vhdl-generate-makefile-1): Change target order for single lib. units.
888         Allow use of absolute file names.
890 2013-05-16  Leo Liu  <sdl.web@gmail.com>
892         * simple.el (prog-indent-sexp): Indent enclosing defun.
894 2013-05-15  Glenn Morris  <rgm@gnu.org>
896         * cus-start.el (show-trailing-whitespace): Move to editing basics.
897         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
898         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
899         (whitespace-highlight): Move to whitespace group.
901         * comint.el (comint-source):
902         * pcmpl-linux.el (pcmpl-linux):
903         * shell.el (shell-faces):
904         * eshell/esh-opt.el (eshell-opt):
905         * international/ccl.el (ccl): Remove empty custom groups.
907         * completion.el (dynamic-completion-mode):
908         * jit-lock.el (jit-lock-debug-mode):
909         * minibuffer.el (completion-in-region-mode):
910         * type-break.el (type-break-mode-line-message-mode)
911         (type-break-query-mode):
912         * emulation/tpu-edt.el (tpu-edt-mode):
913         * progmodes/subword.el (global-subword-mode, global-superword-mode):
914         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
915         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
917         * term/xterm.el (xterm): Change parent group to terminals.
919         * master.el (master): Remove empty custom group.
920         (master-mode): Remove unused :group argument.
921         * textmodes/refill.el (refill): Remove empty custom group.
922         (refill-mode): Remove unused :group argument.
924         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
926         * cus-dep.el: Provide a feature.
927         (custom-make-dependencies): Ignore dotfiles (dir-locals).
928         Don't mistakenly ignore files whose basenames match a basename
929         from preloaded-file-list (eg cedet/ede/simple.el).
930         Add a fallback method for getting :group.
932 2013-05-15  Juri Linkov  <juri@jurta.org>
934         * isearch.el (isearch-char-by-name): Rename from
935         `isearch-insert-char-by-name'.  Doc fix.
936         (isearch-forward): Mention `isearch-char-by-name' in
937         the docstring.  (Bug#13348)
939         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
940         `exit-minibuffer' instead of
941         `isearch-nonincremental-exit-minibuffer'.
942         (isearch-edit-string): Remove mention of
943         `isearch-nonincremental-exit-minibuffer' from docstring.
944         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
945         (isearch-forward-exit-minibuffer)
946         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
948 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
950         * loadup.el: Just use unversioned DOC.
952         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
953         literals as extending to EOB.
954         (nxml-last-fontify-end): Remove unused variable.
955         (nxml-after-change1): Use with-silent-modifications.
956         (nxml-extend-after-change-region): Simplify.
957         (nxml-extend-after-change-region1): Remove function.
958         (nxml-after-change1): Don't adjust for dependent regions.
959         (nxml-fontify-matcher): Simplify.
960         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
961         (xmltok-add-dependent): Remove function.
962         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
963         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
964         (xmltok-scan-prolog-after-processing-instruction-open): Treat
965         unclosed <[[, <?, comment, and other literals as extending to EOB.
966         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
967         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
968         Remove functions.
969         (rng-do-some-validation-1): Don't mark dependent regions.
970         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
971         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
972         (nxml-clear-dependent-regions): Remove functions.
973         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
974         (nxml-ensure-scan-up-to-date):
975         Don't clear&mark dependent regions.
977 2013-05-15  Leo Liu  <sdl.web@gmail.com>
979         * progmodes/octave.el (octave-goto-function-definition):
980         Improve and fix callers.
982 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
984         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
985         the setter (bug#14387).
987         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
988         surrounding group (bug#14402).
990 2013-05-14  Juri Linkov  <juri@jurta.org>
992         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
993         (Bug#14390)
995 2013-05-14  Glenn Morris  <rgm@gnu.org>
997         * progmodes/f90.el (f90-imenu-generic-expression):
998         Fix typo in 2013-05-08 change.  (Bug#14402)
1000 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
1002         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
1003         Remove signals for which replies are never received.
1005 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
1007         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
1008         (gdb-handler-alist, gdb-handler-number): Remove variables.
1009         (gdb-handler-list): New variable.
1010         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
1011         (gdb-pending-handler-p, gdb-handle-reply)
1012         (gdb-remove-all-pending-triggers): New functions.
1013         (gdb-discard-unordered-replies): New defcustom.
1014         (gdb-handler): New defstruct.
1015         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
1016         instead of gdb-pending-triggers.  Update docstring.
1017         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
1018         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
1019         (gdb-var-update-handler, def-gdb-auto-update-trigger)
1020         (def-gdb-auto-update-handler, gdb-get-changed-registers)
1021         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
1022         (gdb-frame-handler): Pending triggers are now automatically managed.
1023         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
1024         Remove argument.
1025         (gdb-input): Automatically handles pending triggers.  Update docstring.
1026         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
1027         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
1028         Update comments.
1029         (gdb-done-or-error): Now use gdb-handle-reply.
1031 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
1033         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
1034         gdb-debug-log.
1036 2013-05-14  Glenn Morris  <rgm@gnu.org>
1038         * subr.el (user-emacs-directory-warning): New option.
1039         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
1041 2013-05-14  Leo Liu  <sdl.web@gmail.com>
1043         * progmodes/octave.el (octave-font-lock-keywords): Fix error
1044         during redisplay.
1045         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
1046         (octave-font-lock-texinfo-comment): Fix invalid search bound
1047         error: wrong side of point.
1049 2013-05-14  Glenn Morris  <rgm@gnu.org>
1051         * progmodes/flymake.el (flymake-xml-program): New option.
1052         (flymake-xml-init): Use it.
1054         * term/xterm.el: Provide a feature.
1056         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
1058 2013-05-13  Glenn Morris  <rgm@gnu.org>
1060         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
1061         Add compat aliases as a hack workaround.  (Bug#14384)
1063 2013-05-13  Leo Liu  <sdl.web@gmail.com>
1065         * progmodes/octave.el (octave-indent-comment): Fix indentation for
1066         ###, and %!.
1067         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
1068         C-M-q.
1069         (octave-comment-start-skip): Include %!.
1070         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
1072 2013-05-12  Leo Liu  <sdl.web@gmail.com>
1074         * progmodes/octave.el (inferior-octave-startup): Store the value
1075         of __octave_srcdir__ for octave-source-directories.
1076         (inferior-octave-check-process): New function refactored out of
1077         inferior-octave-send-list-and-digest.
1078         (octave-source-directories)
1079         (octave-find-definition-filename-function): New variables.
1080         (octave-source-directories)
1081         (octave-find-definition-default-filename): New functions.
1082         (octave-find-definition): Improve to find functions implemented in C++.
1084 2013-05-12  Glenn Morris  <rgm@gnu.org>
1086         * calendar/diary-lib.el (diary-outlook-format-1):
1087         Don't include dayname in the output.  (Bug#14349)
1089 2013-05-11  Glenn Morris  <rgm@gnu.org>
1091         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
1093         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
1094         Treat cc-provide like provide.
1096 2013-05-11  Kevin Ryde  <user42@zip.com.au>
1098         * cus-dep.el (custom-make-dependencies):
1099         Use generated-autoload-load-name for the sake of files such
1100         such cedet/semantic/bovine/c.el, where the base file name
1101         is not in load-path.  (Bug#5277)
1103 2013-05-11  Glenn Morris  <rgm@gnu.org>
1105         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
1106         Provide features.
1108 2013-05-11  Leo Liu  <sdl.web@gmail.com>
1110         * progmodes/octave.el (octave-indent-comment): Improve.
1111         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
1112         (octave-eldoc-function-signatures, octave-eldoc-function):
1113         New functions.
1114         (octave-mode, inferior-octave-mode): Add eldoc support.
1116 2013-05-11  Richard Stallman  <rms@gnu.org>
1118         * epa.el (epa-decrypt-file): Take output file name as argument
1119         and read it using `interactive'.
1121 2013-05-11  Leo Liu  <sdl.web@gmail.com>
1123         * progmodes/octave.el (octave-beginning-of-line)
1124         (octave-end-of-line): Check before using up-list because it jumps
1125         out of more syntactic contructs since moving to smie.
1126         (octave-indent-comment): New function.
1127         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
1128         (octave-begin-keywords, octave-end-keywords)
1129         (octave-reserved-words, octave-smie-bnf-table)
1130         (octave-smie-rules): Add new keywords from Octave 3.6.4.
1132 2013-05-11  Glenn Morris  <rgm@gnu.org>
1134         * faces.el (internal-face-x-get-resource):
1135         * frame.el (ns-display-monitor-attributes-list):
1136         * calc/calc-aent.el (math-to-radians-2): Fix declarations.
1138         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
1140         * calc/calc-menu.el: Make it loadable in isolation.
1142         * net/eudcb-bbdb.el: Make it loadable without bbdb.
1143         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
1144         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
1145         (eudc-bbdb-query-internal): Require 'bbdb.
1147         * lpr.el (lpr-headers-switches):
1148         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
1150         * progmodes/sql.el (sql-login-params): Fix and improve :type.
1152         * emulation/edt-mapper.el: In batch mode, error rather than hang.
1154         * term.el (term-set-escape-char): Make it idempotent.
1156 2013-05-10  Leo Liu  <sdl.web@gmail.com>
1158         * progmodes/octave.el (inferior-octave-completion-table):
1159         No longer a function and all uses changed.  Use cache to speed up
1160         completion due to bug#11906.
1161         (octave-beginning-of-defun): Re-write to be more general.
1163 2013-05-10  Glenn Morris  <rgm@gnu.org>
1165         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
1167 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1169         * comint.el (comint-redirect-send-command-to-process): Use :around
1170         rather than :override for comint-redirect-filter.
1171         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
1172         Call it instead of comint-redirect-original-filter-function (which
1173         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
1175 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
1177         * frame.el (display-monitor-attributes-list): Add NS case.
1178         (ns-display-monitor-attributes-list): Declare.
1180 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
1182         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
1184 2013-05-09  Glenn Morris  <rgm@gnu.org>
1186         * international/fontset.el (vertical-centering-font-regexp):
1187         Set standard-value.
1189         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
1191         * bookmark.el (bookmark-search-delay):
1192         * cus-start.el (vertical-centering-font-regexp):
1193         * ps-mule.el (ps-mule-font-info-database-default):
1194         * ps-print.el (ps-default-fg, ps-default-bg):
1195         * type-break.el (type-break-good-break-interval):
1196         * whitespace.el (whitespace-indentation-regexp)
1197         (whitespace-space-after-tab-regexp):
1198         * emacs-lisp/testcover.el (testcover-1value-functions)
1199         (testcover-noreturn-functions, testcover-progn-functions)
1200         (testcover-prog1-functions):
1201         * emulation/viper-init.el (viper-emacs-state-cursor-color):
1202         * eshell/em-glob.el (eshell-glob-translate-alist):
1203         * play/tetris.el (tetris-tty-colors):
1204         * progmodes/cpp.el (cpp-face-default-list):
1205         * progmodes/flymake.el (flymake-allowed-file-name-masks):
1206         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
1207         (idlwave-help-browser-generic-args):
1208         * progmodes/make-mode.el (makefile-special-targets-list):
1209         * progmodes/python.el (python-shell-virtualenv-path):
1210         * progmodes/verilog-mode.el (verilog-active-low-regexp)
1211         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
1212         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
1213         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
1214         * textmodes/reftex-vars.el (reftex-format-label-function):
1215         * textmodes/remember.el (remember-diary-file): Fix custom types.
1217         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
1218         Add :version.
1220 2013-05-09  Leo Liu  <sdl.web@gmail.com>
1222         * progmodes/octave.el (inferior-octave-completion-at-point):
1223         Restore file completion.  (Bug#14300)
1224         (inferior-octave-startup): Fix incorrect highlighting for the
1225         first prompt.
1227 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1229         * progmodes/ruby-mode.el: First cut at SMIE support.
1230         (ruby-use-smie): New var.
1231         (ruby-smie-grammar): New constant.
1232         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
1233         (ruby-smie--forward-token, ruby-smie--backward-token)
1234         (ruby-smie-rules): New functions.
1235         (ruby-mode-variables): Setup SMIE if applicable.
1237 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
1239         * simple.el (line-move-visual): Signal beginning/end of buffer
1240         only if vertical-motion moved less than it was requested.  Avoids
1241         silly incorrect error messages when there are display strings with
1242         multiple newlines at EOL.
1244 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1246         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
1247         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
1248         (prolog-char-quote-workaround):
1249         * progmodes/cperl-mode.el (cperl-under-as-char):
1250         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
1251          Mark as obsolete.
1252          (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1253         their declaration.
1254         (vhdl-mode-syntax-table-init): Remove.
1256         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
1257         last change.
1259         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
1260         syntax for "_".
1261         (ld-script-font-lock-keywords):
1262         Change regexps to use things like \_< and \_>.
1264         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
1265         Change all regexps to use things like \_< and \_>.
1267         * progmodes/autoconf.el (autoconf-definition-regexp)
1268         (autoconf-font-lock-keywords, autoconf-current-defun-function):
1269         Handle a _ with symbol syntax.
1270         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
1272         * progmodes/ada-mode.el (ada-mode-abbrev-table):
1273         Consolidate declaration.
1274         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
1275         the declaration.
1276         (ada-create-syntax-table): Remove.
1277         (ada-capitalize-word): Don't mess with the syntax of "_" since it
1278         already has the right syntax nowadays.
1279         (ada-goto-next-word): Don't change the syntax of "_".
1281         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
1282         with-wrapper-hook.
1284 2013-05-08  Sam Steingold  <sds@gnu.org>
1286         * thingatpt.el (thing-at-point): Accept optional second argument
1287         NO-PROPERTIES to strip the text properties from the return value.
1288         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
1289         to `thing-at-point' instead of stripping the properties ourselves.
1290         Also, when `thing-at-point' fails to find a url, prepend "http://"
1291         to the filename at point on the assumption that the user is
1292         pointing at something like gnu.org/gnu.
1294 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
1296         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1297         * faces.el (crm-separator):
1298         Silence byte-compiler.
1300         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
1301         (tool-bar-map): Remove unneeded defvars.
1303 2013-05-08  Leo Liu  <sdl.web@gmail.com>
1305         Re-work a fix for bug#10994 based on Le Wang's patch.
1306         * ido.el (ido-remove-consecutive-dups): New helper.
1307         (ido-completing-read): Use it.
1308         (ido-chop): Revert fix for bug#10994.
1310 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
1312         * cus-edit.el (custom-save-variables):
1313         Pretty-print long values.  (Bug#14187)
1315 2013-05-08  Glenn Morris  <rgm@gnu.org>
1317         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
1318         (m4-mode-syntax-table): Init in the defvar.
1319         (m4-mode-abbrev-table): Let define-derived-mode define it.
1321 2013-05-08  Tom Tromey  <tromey@redhat.com>
1323         * progmodes/m4-mode.el (m4-mode-syntax-table):
1324         Do not treat "_" as word constituent.  (Bug#14167)
1326 2013-05-07  Glenn Morris  <rgm@gnu.org>
1328         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
1329         Remove explicit eshell-isearch-cancel-map.
1331         * progmodes/f90.el (f90-smart-end-names): New option.
1332         (f90-smart-end): Doc fix.
1333         (f90-end-block-optional-name): New constant.
1334         (f90-block-match): Respect f90-smart-end-names.
1336 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1338         * progmodes/octave.el (octave-smie-forward-token): Be more careful
1339         about implicit semi-colons (bug#14218).
1341 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1343         * frame.el (display-monitor-attributes-list)
1344         (frame-monitor-attributes): New functions.
1346 2013-05-06  Leo Liu  <sdl.web@gmail.com>
1348         * progmodes/octave.el (octave-syntax-propertize-function): Change
1349         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
1350         (octave-font-lock-keywords): Use octave-operator-regexp.
1351         (octave-completion-at-point): Rename from
1352         octave-completion-at-point-function.
1353         (inferior-octave-directory-tracker): Robustify.
1354         (octave-text-functions): Remove and fix its uses.  No such things
1355         any more.
1357 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1359         * emacs-lisp/trace.el (trace--display-buffer): New function.
1360         (trace-make-advice): Use it.
1362 2013-05-06  Juri Linkov  <juri@jurta.org>
1364         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
1365         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
1366         Doc fix.
1367         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
1368         in the help string.  (Bug#12985)
1370 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
1372         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
1374 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1376         * progmodes/perl-mode.el: Add support for here documents.
1377         (perl-syntax-propertize-function): Match here-doc markers.
1378         (perl-syntax-propertize-special-constructs): Find their end.
1379         (perl-imenu-generic-expression): Use [:alnum:].
1381         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
1382         (advice--add-function): Refresh the advice if already present
1383         (bug#14317).
1385 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
1387         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
1389 2013-05-06  Glenn Morris  <rgm@gnu.org>
1391         * w32-fns.el (w32-charset-info-alist): Declare.
1393         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
1394         of its defcustom properties.
1395         (eshell-cmpl-initialize): No need to load pcomplete.
1397         * generic-x.el: No need to require comint when compiling.
1399         * net/eudc-export.el: Make it loadable without bbdb.
1400         (top-level): Use require rather than load-library.
1401         (eudc-create-bbdb-record, eudc-bbdbify-phone)
1402         (eudc-batch-export-records-to-bbdb)
1403         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
1404         Require bbdb.
1406 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1408         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
1409         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
1410         some tweaks, instead.
1412 2013-05-05  Leo Liu  <sdl.web@gmail.com>
1414         * progmodes/octave.el (octave-font-lock-keywords)
1415         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
1416         (inferior-octave-send-list-and-digest): Improve error message.
1417         (octave-mode, inferior-octave-mode): Use setq-local.
1418         (octave-help): Set info-lookup-mode.
1420 2013-05-05  Richard Stallman  <rms@gnu.org>
1422         * vc/compare-w.el (compare-windows-whitespace):
1423         Treat no-break space as whitespace.
1425         * mail/rmailsum.el (rmail-summary-rmail-update):
1426         Detect empty summary and don't change selected message.
1427         (rmail-summary-goto-msg): Likewise.
1429         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
1430         Doc fixes, rename args.
1432 2013-05-05  Alan Mackenzie  <acm@muc.de>
1434         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1436 2013-05-05  Juri Linkov  <juri@jurta.org>
1438         * info.el (Info-read-subfile): Use (point-min) instead of (point)
1439         to not add the length of the summary segment to the return value.
1440         (Bug#14125)
1442 2013-05-05  Leo Liu  <sdl.web@gmail.com>
1444         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1445         (inferior-octave-output-filter): Remove.
1446         (octave-send-region, inferior-octave-startup): Fix callers.
1447         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1448         (octave-binary-file-extensions): New user variable.
1449         (octave-find-definition): Confirm if opening binary files.
1450         (octave-help-file): Use octave-find-definition to get the binary
1451         confirmation.
1452         (octave-help): Adjust for octave-help-file change.
1454 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1456         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1457         Merge the two entries that handle function definitions.
1458         (pascal--syntax-propertize): New const.
1459         (pascal-mode): Use it.  Use setq-local.
1461 2013-05-04  Glenn Morris  <rgm@gnu.org>
1463         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1464         (diary-from-outlook): Respect diary-from-outlook-function.
1466 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1468         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1469         Move the declaration from C.
1470         (read-minibuffer, eval-minibuffer): Move from C.
1471         (completion-setup-function): Avoid minibuffer-completion-contents.
1473 2013-05-03  Leo Liu  <sdl.web@gmail.com>
1475         * progmodes/octave.el (octave-font-lock-keywords): Do not
1476         dehighlight 'end' in comments or strings.
1477         (octave-completing-read, octave-goto-function-definition):
1478         New helpers.
1479         (octave-help-buffer): New user variable.
1480         (octave-help-file, octave-help-function): New button types.
1481         (octave-help): New command and bind it to C-h ;.
1482         (octave-find-definition): New command and bind it to M-.
1483         (user-error): Alias to error if not defined.
1485 2013-05-02  Leo Liu  <sdl.web@gmail.com>
1487         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1488         for \.  (bug#14332)
1489         (octave-font-lock-keywords): Include [ and {.
1491 2013-05-02  Leo Liu  <sdl.web@gmail.com>
1493         * progmodes/octave.el (inferior-octave-startup-file): Change default.
1494         (inferior-octave): Remove calling comint-mode and return the buffer.
1495         (inferior-octave-startup): Cosmetic changes.
1497 2013-05-02  Leo Liu  <sdl.web@gmail.com>
1499         * progmodes/octave.el (octave-syntax-propertize-function):
1500         Include the case when ' is at line beginning.  (Bug#14336)
1502 2013-05-02  Glenn Morris  <rgm@gnu.org>
1504         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1505         * desktop.el (vc-dir-mode): Just autoload it here.
1507 2013-05-02  Alan Mackenzie  <acm@muc.de>
1509         Eliminate variable c-standard-font-lock-fontify-region-function.
1510         * progmodes/cc-mode.el
1511         (c-standard-font-lock-fontify-region-function): Remove.
1512         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1514 2013-05-01  Leo Liu  <sdl.web@gmail.com>
1516         * progmodes/octave.el: Compatible with older emacs-24 releases.
1517         (inferior-octave-has-built-in-variables): Remove.  Built-in
1518         variables were removed from Octave in 2007.
1519         (inferior-octave-startup): Fix uses.
1520         (comint-line-beginning-position): Remove compatibility code for
1521         emacs 21.
1523 2013-05-01  Juri Linkov  <juri@jurta.org>
1525         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
1527 2013-05-01  Juri Linkov  <juri@jurta.org>
1529         * comint.el (comint-previous-matching-input): Don't print message
1530         "History item: %d" when `isearch-mode' is active.
1531         (comint-history-isearch-message): Print message "History item: %d"
1532         when `comint-input-ring-index' is not empty and this function is
1533         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
1535 2013-05-01  Leo Liu  <sdl.web@gmail.com>
1537         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1538         definitions.  Use completion-at-point to insert keywords.
1539         (octave-abbrev-start): Remove.
1540         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1542 2013-04-30  Leo Liu  <sdl.web@gmail.com>
1544         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1545         change.
1547 2013-04-30  Alan Mackenzie  <acm@muc.de>
1549         Handle arbitrarily long C++ member initialisation lists.
1550         * progmodes/cc-engine.el (c-back-over-member-initializers):
1551         new function.
1552         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1553         (most) member init lists.
1555 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1557         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1558         variable.
1560 2013-04-30  Leo Liu  <sdl.web@gmail.com>
1562         * progmodes/octave.el (octave-variables): Remove.  No builtin
1563         variables any more.  All converted to functions.
1564         (octave-font-lock-keywords, octave-completion-at-point-function):
1565         Fix uses.
1566         (octave-font-lock-texinfo-comment): New user variable.
1567         (octave-texinfo-font-lock-keywords): New variable for texinfo
1568         comment block.
1569         (octave-function-comment-block): New face.
1570         (octave-font-lock-texinfo-comment): New function.
1571         (octave-mode): Font lock texinfo comment block.
1573 2013-04-29  Leo Liu  <sdl.web@gmail.com>
1575         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1576         indexing expression.
1577         (octave-continuation-string): Do not use \.
1578         (inferior-octave-complete-impossible): Remove.
1579         (inferior-octave-completion-table)
1580         (inferior-octave-completion-at-point): Remove its uses.
1581         (inferior-octave-startup): completion_matches was introduced to
1582         Octave in 1996 so safe to assume it.
1583         (octave-function-file-comment): Improve to follow how Octave does it.
1584         (octave-update-function-file-comment): Tweak.
1586 2013-04-29  Leo Liu  <sdl.web@gmail.com>
1588         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1589         (inferior-octave-startup): Remove inferior-octave-startup-hook.
1590         (octave-function-file-comment): Fix typo.
1591         (octave-sync-function-file-names): Use read-char-choice.
1593 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
1595         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1596         to t for the less important warnings.
1598 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
1600         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
1602 2013-04-27  Glenn Morris  <rgm@gnu.org>
1604         * vc/log-view.el (log-view-current-entry):
1605         Treat "---" separator lines as part of the following rev.  (Bug#14169)
1607 2013-04-27  Juri Linkov  <juri@jurta.org>
1609         * subr.el (read-number): Doc fix about using it by interactive
1610         code letter `n'.  (Bug#14254)
1612 2013-04-27  Juri Linkov  <juri@jurta.org>
1614         * desktop.el (desktop-auto-save-timeout): New option.
1615         (desktop-file-checksum): New variable.
1616         (desktop-save): Add optional arg `auto-save' and don't auto-save
1617         if nothing changed.
1618         (desktop-auto-save-timer): New variable.
1619         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1620         (after-init-hook): Call `desktop-auto-save-set-timer'.
1621         Suggested by Reuben Thomas <rrt@sc3d.org> in
1622         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1624 2013-04-27  Leo Liu  <sdl.web@gmail.com>
1626         * progmodes/octave.el (octave-function-file-p)
1627         (octave-skip-comment-forward, octave-function-file-comment)
1628         (octave-update-function-file-comment): New functions.
1629         (octave-mode-map): Bind C-c ; to
1630         octave-update-function-file-comment.
1631         (octave-mode-menu): Add octave-update-function-file-comment.
1632         (octave-mode, inferior-octave-mode): Fix doc-string.
1633         (octave-insert-defun): Conform to Octave's coding convention.
1634         (Bug#14285)
1636         * files.el (basic-save-buffer): Don't let errors in
1637         before-save-hook prevent saving buffer.
1639 2013-04-20  Roland Winkler  <winkler@gnu.org>
1641         * faces.el (read-face-name): Use completing-read if arg multiple
1642         is nil.
1644 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
1646         * ls-lisp.el (ls-lisp-insert-directory): If no files are
1647         displayed, move point to after the totals line.
1648         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1649         for the details.
1651 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1653         * emacs-lisp/package.el (package-autoload-ensure-default-file):
1654         Add current dir to the load-path.
1655         (package-generate-autoloads): Don't rely on
1656         autoload-ensure-default-file.
1658 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
1660         * textmodes/remember.el (remember-store-in-files): Document that
1661         the file name format is passed to `format-time-string'.
1663 2013-04-26  Leo Liu  <sdl.web@gmail.com>
1665         * progmodes/octave.el (octave-sync-function-file-names): New function.
1666         (octave-mode): Use it in before-save-hook.
1668 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1670         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1671         (bug#14274).
1673         * progmodes/octave.el (octave-smie-forward-token): Properly skip
1674         \n and comment, even if it's not an implicit ; (bug#14218).
1676 2013-04-26  Glenn Morris  <rgm@gnu.org>
1678         * subr.el (read-number): Once more use `read' rather than
1679         `string-to-number', to trap non-numeric input.  (Bug#14254)
1681 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
1683         * emacs-lisp/syntax.el (syntax-propertize-multiline):
1684         Use `syntax-multiline' text property consistently instead of
1685         `font-lock-multiline'. (bug#14237).
1687 2013-04-26  Glenn Morris  <rgm@gnu.org>
1689         * emacs-lisp/shadow.el (list-load-path-shadows):
1690         No longer necessary to check for duplicate simple.el, since
1691         2012-07-07 change to init_lread to not include installation lisp
1692         directories in load-path when running uninstalled.  (Bug#14270)
1694 2013-04-26  Leo Liu  <sdl.web@gmail.com>
1696         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1697         (octave-mode, inferior-octave-mode): Use setq-local.
1698         (octave-not-in-string-or-comment-p): Rename to
1699         octave-in-string-or-comment-p.
1700         (octave-in-comment-p, octave-in-string-p)
1701         (octave-in-string-or-comment-p): Replace defsubst with defun.
1703 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
1705         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1707 2013-04-25  Bastien Guerry  <bzg@gnu.org>
1709         * textmodes/remember.el (remember-data-directory)
1710         (remember-directory-file-name-format): Fix custom types.
1712 2013-04-25  Leo Liu  <sdl.web@gmail.com>
1714         * progmodes/octave.el (octave-completion-at-point-function):
1715         Make use of inferior octave process.
1716         (octave-initialize-completions): Remove.
1717         (inferior-octave-completion-table): New function.
1718         (inferior-octave-completion-at-point): Use it.
1719         (octave-completion-alist): Remove.
1721 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1723         * progmodes/opascal.el: Use font-lock and syntax-propertize.
1724         (opascal-mode-syntax-table): New var.
1725         (opascal-literal-kind, opascal-is-literal-end)
1726         (opascal-literal-token-at): Rewrite.
1727         (opascal--literal-start-re, opascal-font-lock-keywords)
1728         (opascal--syntax-propertize): New constants.
1729         (opascal-font-lock-defaults): Adjust.
1730         (opascal-mode): Use them.  Set comment-<foo> variables as well.
1731         (delphi-comment-face, opascal-comment-face, delphi-string-face)
1732         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1733         (delphi-other-face, opascal-other-face): Remove face variables.
1734         (opascal-save-state): Remove macro.
1735         (opascal-fontifying-progress-step): Remove constant.
1736         (opascal--ignore-changes): Remove var.
1737         (opascal-set-token-property, opascal-parse-next-literal)
1738         (opascal-is-stable-literal, opascal-complete-literal)
1739         (opascal-is-literal-start, opascal-face-of)
1740         (opascal-parse-region, opascal-parse-region-until-stable)
1741         (opascal-fontify-region, opascal-after-change)
1742         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1743         (opascal-debug-parse-region, opascal-debug-parse-window)
1744         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1745         (opascal-debug-fontify-buffer): Remove.
1746         (opascal-debug-mode-map): Adjust accordingly.
1748 2013-04-25  Leo Liu  <sdl.web@gmail.com>
1750         Merge octave-mod.el and octave-inf.el into octave.el with some
1751         cleanups.
1752         * progmodes/octave.el: New file renamed from octave-mod.el.
1753         * progmodes/octave-inf.el: Merged into octave.el.
1754         * progmodes/octave-mod.el: Renamed to octave.el.
1756 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
1758         * textmodes/reftex-vars.el
1759         (reftex-label-ignored-macros-and-environments): New defcustom.
1761         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1763 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1765         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1766         (smie-indent-keyword): Improve the check to ensure that the next
1767         comment is really on the same line.
1768         (smie-indent-comment): Don't align with a subsequent closer (or eob).
1770         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1771         semi-colons if the line is not otherwise empty (bug#14218).
1773 2013-04-25  Glenn Morris  <rgm@gnu.org>
1775         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1777 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1779         * progmodes/opascal.el (opascal-set-token-property): Rename from
1780         opascal-set-text-properties and only set `token' (bug#14134).
1781         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1782         (opascal-literal-text-properties): Remove.
1783         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1784         Adjust callers.
1786 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
1788         * textmodes/remember.el (remember-handler-functions): Add an
1789         option for a new handler `remember-store-in-files'.
1790         (remember-data-directory, remember-directory-file-name-format):
1791         New options.
1792         (remember-store-in-files): New function to store remember notes
1793         as separate files within a directory.
1795 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
1797         * progmodes/compile.el (compilation-next-error-function):
1798         Pass "formats" to compilation-find-file (bug#11777).
1800 2013-04-24  Glenn Morris  <rgm@gnu.org>
1802         * vc/vc-bzr.el (vc-bzr-print-log):
1803         * vc/vc-hg.el (vc-hg-print-log):
1804         * vc/vc-svn.el (vc-svn-print-log):
1805         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
1807         * vc/vc-bzr.el (vc-bzr-print-log):
1808         * vc/vc-cvs.el (vc-cvs-print-log):
1809         * vc/vc-git.el (vc-git-print-log):
1810         * vc/vc-hg.el (vc-hg-print-log):
1811         * vc/vc-mtn.el (vc-mtn-print-log):
1812         * vc/vc-rcs.el (vc-rcs-print-log):
1813         * vc/vc-sccs.el (vc-sccs-print-log):
1814         * vc/vc-svn.el (vc-svn-print-log):
1815         * vc/vc.el (vc-print-log-internal): Doc fixes.
1817 2013-04-23  Glenn Morris  <rgm@gnu.org>
1819         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1820         Remove venerable code attempting to avoid substitute-command-keys.
1822 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
1824         * textmodes/reftex-vars.el (reftex-label-regexps):
1825         Call `reftex-compile-variables' after changes to this variable.
1827 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1829         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1830         Use lexical-binding.
1831         (jit-lock-force-redisplay): Use markers, check buffer's continued
1832         existence and beware narrowed buffers.
1833         (jit-lock-fontify-now): Adjust call accordingly.
1835 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1837         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1838         to avoid misleading the user.
1840 2013-04-22  Leo Liu  <sdl.web@gmail.com>
1842         * info-look.el: Prefer latex2e.info.  (Bug#14240)
1844 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
1846         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
1848         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1849         * net/tramp.el (tramp-call-process): ... here
1850         (tramp-set-completion-function, tramp-parse-putty):
1851         * net/tramp-adb.el (tramp-adb-execute-adb-command):
1852         * net/tramp-gvfs.el (tramp-gvfs-send-command):
1853         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1854         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1855         (tramp-call-local-coding-command): Use `tramp-call-process'
1856         instead of `tramp-compat-call-process'.
1858         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1859         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1860         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1861         (tramp-find-inline-compress): Improve traces.
1862         (tramp-maybe-send-script): Check for Perl binary.
1863         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1865 2013-04-22  Daiki Ueno  <ueno@gnu.org>
1867         * epg.el (epg-context-pinentry-mode): New function.
1868         (epg-context-set-pinentry-mode): New function.
1869         (epg--start): Pass --pinentry-mode option to gpg command.
1871 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
1873         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
1874         `comint-dynamic-complete' is obsolete since 24.1, replaced by
1875         `completion-at-point'. (Bug#13774)
1877         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1878         default key binding for `describe-distribution' has been moved to
1879         `C-h C-o'.  (Bug#13970)
1881 2013-04-21  Glenn Morris  <rgm@gnu.org>
1883         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1884         Add doc strings.
1885         (vc-print-log): Clarify interactive prompt.
1887 2013-04-20  Glenn Morris  <rgm@gnu.org>
1889         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1890         No longer include timestamp etc information.
1892 2013-04-20  Roland Winkler  <winkler@gnu.org>
1894         * faces.el (read-face-name): Bug fix, return just one face if arg
1895         multiple is nil.  (Bug#14209)
1897 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1899         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1900         (remove-function): Autoload.
1902         * comint.el (comint-redirect-original-filter-function): Remove.
1903         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1904         * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1905         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1906         * progmodes/prolog.el (prolog-consult-compile):
1907         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1908         Use add/remove-function instead.
1909         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1910         (gud-tooltip-process-output, gud-tooltip-tips):
1911         Use add/remove-function instead.
1912         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1913         (scheme-interaction-mode, exit-scheme-interaction-mode):
1914         Use add/remove-function instead.
1916         * vc/vc-dispatcher.el: Use lexical-binding.
1917         (vc--process-sentinel): Rename from vc-process-sentinel.
1918         Change last arg to be the code to run.  Don't use vc-previous-sentinel
1919         and vc-sentinel-commands any more.
1920         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
1921         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1923 2013-04-19 Masatake YAMATO  <yamato@redhat.com>
1925         * progmodes/sh-script.el (sh-imenu-generic-expression):
1926         Handle function names with a single character.   (Bug#14111)
1928 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
1930         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1931         for subroutines defined in an eval (bug#14182).
1933 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1935         * bookmark.el (bookmark-completing-read): Improve handling of empty
1936         string (bug#14176).
1938 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1940         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1942 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1944         New faster Imenu implementation (bug#14058).
1945         * progmodes/python.el:
1946         (python-imenu-prev-index-position):
1947         (python-imenu-format-item-label-function)
1948         (python-imenu-format-parent-item-label-function)
1949         (python-imenu-format-parent-item-jump-label-function):
1950         New vars.
1951         (python-imenu-format-item-label)
1952         (python-imenu-format-parent-item-label)
1953         (python-imenu-format-parent-item-jump-label)
1954         (python-imenu--put-parent, python-imenu--build-tree)
1955         (python-imenu-create-index, python-imenu-create-flat-index)
1956         (python-util-popn): New functions.
1957         (python-mode): Set imenu-create-index-function to
1958         python-imenu-create-index.
1960 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1962         * winner.el (winner-active-region): Use region-active-p, activate-mark
1963         and deactivate-mark (bug#14225).
1965         * simple.el (deactivate-mark): Don't inline it.
1967 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
1969         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1971 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
1973         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1974         file extensions from the archive-mode entry in order to prefer
1975         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1977 2013-04-18  Leo Liu  <sdl.web@gmail.com>
1979         * bindings.el (help-event-list): Add ?\?.
1981 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1983         * subr.el (with-wrapper-hook): Declare obsolete.
1984         * simple.el (filter-buffer-substring-function): New hook.
1985         (filter-buffer-substring): Use it.
1986         (filter-buffer-substring-functions): Mark obsolete.
1987         * minibuffer.el (completion-in-region-function): New hook.
1988         (completion-in-region): Use it.
1989         (completion-in-region-functions): Mark obsolete.
1990         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1991         * abbrev.el (abbrev-expand-function): New hook.
1992         (expand-abbrev): Use it.
1993         (abbrev-expand-functions): Mark obsolete.
1994         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1995         and :filter-return.
1997 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1999         * progmodes/python.el (python-nav--syntactically): Fix cornercases
2000         and do not care about match data.
2002 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2004         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
2005         completion tables when completing error conditions and
2006         `declare' arguments.
2007         (lisp-complete-symbol, field-complete): Mark as obsolete.
2008         (check-parens): Unmatched parens are user errors.
2009         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
2011 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
2013         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
2014         command changed buffer (ie. `flyspell-pre-buffer' is not current
2015         buffer), which prevents making decisions based on invalid value of
2016         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
2017         cause an error when `flyspell-pre-point' was nil after switching
2018         buffers.
2019         (flyspell-post-command-hook): No longer needs to change buffers when
2020         checking pre-word.  While at it remove unnecessary progn.
2022 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
2024         * textmodes/ispell.el (ispell-add-per-file-word-list):
2025         Fix `flyspell-correct-word-before-point' error when accepting
2026         words and `coment-padding' is an integer by using
2027         `comment-normalize-vars' (Bug #14214).
2029 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2031         New defun movement commands.
2032         * progmodes/python.el (python-nav--syntactically)
2033         (python-nav--forward-defun, python-nav-backward-defun)
2034         (python-nav-forward-defun): New functions.
2036 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2038         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
2039         (python-syntax-context): Use named compiler-macro for backwards
2040         compatibility with Emacs 24.x.
2042 2013-04-17  Leo Liu  <sdl.web@gmail.com>
2044         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
2045         octave-hide-process-buffer.
2047 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2049         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
2050         (bug#14216).
2052 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
2054         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
2055         Fix adjustment of offset when receiving incomplete responses from GDB
2056         (bug#14129).
2058 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2060         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
2061         python-mode-abbrev-table.
2062         (python-skeleton-define): Adjust accordingly.
2063         (python-mode-abbrev-table): New table that inherits from it so that
2064         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
2066         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
2067         (abbrev-symbol): Use it.
2068         (abbrev--before-point): Use it since we already handle inheritance.
2070 2013-04-16  Leo Liu  <sdl.web@gmail.com>
2072         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
2073         binding to info-lookup-symbol.
2075 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
2077         * minibuffer.el (completion--twq-all):
2078         * term/ns-win.el (ns-initialize-window-system):
2079         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
2081 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2083         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
2084         global bindings.
2086         * doc-view.el (doc-view-start-process): Handle url-handler directories.
2088 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
2090         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
2091         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
2092         to nil.
2093         (ruby-end-of-defun): Remove the unused arg, change the docstring
2094         to reflect that this function is only used as the value of
2095         `end-of-defun-function'.
2096         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
2097         to reflect an earlier change that beginning/end-of-defun functions
2098         jump between methods in a class definition, as well as top-level
2099         functions.
2101 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2103         * minibuffer.el (minibuffer-complete): Don't just scroll
2104         a *Completions* that's been iconified.
2105         (minibuffer-force-complete): Make sure repetitions do cycle when going
2106         through completion-in-region -> minibuffer-complete.
2108 2013-04-15  Alan Mackenzie  <acm@muc.de>
2110         Correct the placement of c-cpp-delimiters when there're #s not at
2111         col 0.
2113         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
2114         place a submatch around the #.
2115         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
2116         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
2117         on the #, not BOL.
2119 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2121         * emacs-lisp/nadvice.el: Properly test names when adding advice.
2122         (advice--member-p): New arg `name'.
2123         (advice--add-function, advice-member-p): Use it (bug#14202).
2125 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
2127         Reformulate java imenu-generic-expression.
2128         The old expression contained ill formed regexps.
2130         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
2131         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
2132         (cc-imenu-java-method-arg-regexp): New defconsts.
2133         (cc-imenu-java-build-type-args-regex): New defun.
2134         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
2135         handling of spaces in the regexp.
2137 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
2139         * textmodes/ispell.el (ispell-command-loop): Remove
2140         flyspell highlight of a word when ispell accepts it (bug #14178).
2142 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
2144         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
2145         uses code from the previous `ange-ftp-run-real-handler'.
2146         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
2147         only in case that function exist.  This is needed for proper
2148         unloading of Tramp.
2150 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
2152         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
2154         * textmodes/reftex.el (reftex-compile-variables): Use it.
2156 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2158         * files.el (normal-mode): Only use default major-mode if no other mode
2159         was specified.
2161         * emacs-lisp/trace.el (trace-values): New function.
2163         * files.el: Allow : in local variables (bug#14089).
2164         (hack-local-variable-regexp): New var.
2165         (hack-local-variables-prop-line, hack-local-variables): Use it.
2167 2013-04-13  Roland Winkler  <winkler@gnu.org>
2169         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
2170         data before it gets modified by bibtex-beginning-of-entry.
2172 2013-04-13  Roland Winkler  <winkler@gnu.org>
2174         * textmodes/bibtex.el (bibtex-url): Doc fix.
2176 2013-04-13  Roland Winkler  <winkler@gnu.org>
2178         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
2179         does not visit a BibTeX file, exclude it from the list of buffers
2180         returned by bibtex-initialize.
2182 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
2184         * window.el (split-window): Remove interactive form, since as a
2185         command this function is a special case of split-window-below.
2186         Correct doc string.
2188 2013-04-12  Roland Winkler  <winkler@gnu.org>
2190         * faces.el (read-face-name): Do not override value of arg default.
2191         Allow single faces and strings as default values.  Remove those
2192         elements from return value that are not faces.
2193         (describe-face): Simplify.
2194         (face-at-point): New optional args thing and multiple so that this
2195         function can provide the same functionality previously provided by
2196         read-face-name.
2197         (make-face-bold, make-face-unbold, make-face-italic)
2198         (make-face-unitalic, make-face-bold-italic, invert-face)
2199         (modify-face, read-face-and-attribute): Use face-at-point.
2201         * cus-edit.el (customize-face, customize-face-other-window)
2202         * cus-theme.el (custom-theme-add-face)
2203         * face-remap.el (buffer-face-set)
2204         * facemenu.el (facemenu-set-face): Use face-at-point.
2206 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
2208         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
2210 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
2212         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
2213         off leading { and trailing } from field values.
2215 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2217         * emacs-lisp/timer.el (timer--check): New function.
2218         (timer--time, timer-set-function, timer-event-handler): Use it.
2219         (timer-set-idle-time): Simplify.
2220         (timer--activate): CSE.
2221         (timer-event-handler): Give more info in error message.
2222         (internal-timer-start-idle): New function, moved from C.
2224         * mpc.el (mpc-proc): Add `restart' argument.
2225         (mpc-proc-cmd): Use it.
2226         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
2227         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
2228         less often.
2230 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
2232         * progmodes/sh-script.el: Implement `sh-mode' own
2233         `add-log-current-defun-function' (bug#14112).
2234         (sh-current-defun-name): New function.
2235         (sh-mode): Use the function.
2237 2013-04-09  Bastien Guerry  <bzg@gnu.org>
2239         * simple.el (choose-completion-string): Fix docstring (bug#14163).
2241 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2243         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
2245         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
2246         timer (bug#14156).
2248 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
2250         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
2251         declaration.
2253 2013-04-07  Leo Liu  <sdl.web@gmail.com>
2255         * pcmpl-x.el: New file.
2257 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
2259         Do not set x-display-name until X connection is established.
2260         This is needed to prevent from weird situation described at
2261         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
2262         * frame.el (make-frame): Set x-display-name after call to
2263         window system initialization function, not before.
2264         * term/x-win.el (x-initialize-window-system): Add optional
2265         display argument and use it.
2266         * term/w32-win.el (w32-initialize-window-system):
2267         * term/ns-win.el (ns-initialize-window-system):
2268         * term/pc-win.el (msdos-initialize-window-system):
2269         Add compatible optional display argument.
2271 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
2273         * files.el (normal-backup-enable-predicate): On MS-Windows and
2274         MS-DOS compare truenames of temporary-file-directory and of the
2275         file, so that 8+3 aliases (usually found in $TEMP on Windows)
2276         don't fail comparison by compare-strings.  Also, compare file
2277         names case-insensitively on MS-Windows and MS-DOS.
2279 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2281         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
2282         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
2284 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
2286         * whitespace.el (whitespace-color-on, whitespace-color-off):
2287         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
2289 2013-04-05  Jacek ChrzÄ…szcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
2291         * ispell.el (ispell-set-spellchecker-params):
2292         Really set `ispell-args' for all equivs.
2294 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2296         * ido.el (ido-completions): Use extra elements of ido-decorations
2297         (bug#14143).
2298         (ido-decorations): Update docstring.
2300 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
2302         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2303         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
2304         nil during initialization, in order not to miss changes since the
2305         file was opened.  (Bug#14140)
2307 2013-04-05  Leo Liu  <sdl.web@gmail.com>
2309         * kmacro.el (kmacro-call-macro): Fix bug#14135.
2311 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
2313         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
2315 2013-04-04  Glenn Morris  <rgm@gnu.org>
2317         * electric.el (electric-pair-inhibit-predicate): Add :version.
2319 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2321         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
2322         when a package is required several times (bug#14082).
2324 2013-04-04  Roland Winkler  <winkler@gnu.org>
2326         * faces.el (read-face-name): Behave as promised by the docstring.
2327         Assume that arg default is a list of faces.
2328         (describe-face): Call read-face-name with list of default faces.
2330 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2332         * bookmark.el: Fix deletion of bookmarks (bug#13972).
2333         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
2334         (bookmark-bmenu-execute-deletions): Only skip first line if it's
2335         the header.
2336         (bookmark-exit-hook-internal): Save even if list is empty.
2338 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
2340         * emacs-lisp/package.el (package-pinned-packages): New var.
2341         (package--add-to-archive-contents): Obey it (bug#14118).
2343 2013-04-03  Alan Mackenzie  <acm@muc.de>
2345         Handle `parse-partial-sexp' landing inside a comment opener
2346         (Bug#13244). Also adapt to the new values of element 7 of a parse
2347         state.
2349         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
2350         parameter `not-in-delimiter'.  Handle being inside comment opener.
2351         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
2352         character in case we're typing a '*' after a '/'.
2353         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
2354         instead by passing the parameter to c-state-pp-to-literal.
2356         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
2357         for elt. 7 of a parse state.
2359 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
2361         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
2362         * international/latin1-disp.el, international/mule-util.el:
2363         * language/cyril-util.el, language/european.el, language/ind-util.el:
2364         * language/lao-util.el, language/thai.el, language/tibet-util.el:
2365         * language/tibetan.el, language/viet-util.el:
2366         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
2368 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2370         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
2371         (electric-pair-post-self-insert-function): Use it.
2372         (electric-pair-default-inhibit): New function, extracted from
2373         electric-pair-post-self-insert-function.
2375 2013-03-31  Roland Winkler  <winkler@gnu.org>
2377         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
2379 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2381         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
2383 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
2385         Un-indent after "pass" and "return" statements (Bug#13888)
2386         * progmodes/python.el (python-indent-block-enders): New var.
2387         (python-indent-calculate-indentation): Use it.
2389 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
2391         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
2392         defun.  Defining it as defalias could introduce too eager
2393         byte-compiler optimization.  (Bug#14030)
2395 2013-03-30  Chong Yidong  <cyd@gnu.org>
2397         * iswitchb.el (iswitchb-read-buffer): Fix typo.
2399 2013-03-30  Leo Liu  <sdl.web@gmail.com>
2401         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
2402         (kmacro-execute-from-register): Pass the keyboard macro to
2403         kmacro-call-macro or repeating won't work correctly.
2405 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
2407         * progmodes/subword.el: Back to using `forward-symbol'.
2409         * subr.el (forward-whitespace, forward-symbol)
2410         (forward-same-syntax): Move from thingatpt.el.
2412 2013-03-29  Leo Liu  <sdl.web@gmail.com>
2414         * kmacro.el (kmacro-to-register): New command.
2415         (kmacro-execute-from-register): New function.
2416         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
2418 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2420         * mpc.el: Use defvar-local and setq-local.
2421         (mpc--proc-connect): Connection failures are not bugs.
2422         (mpc-mode-map): `follow-link' only applies to the buffer's content.
2423         (mpc-volume-map): Bind to the up-events.
2425 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
2427         * progmodes/subword.el (superword-mode): Use `forward-sexp'
2428         instead of `forward-symbol'.
2430 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2432         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2433         (edebug--recursive-edit): Use it.
2434         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2435         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2437 2013-03-28  Leo Liu  <sdl.web@gmail.com>
2439         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
2441 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
2443         * facemenu.el (list-colors-callback): New defvar.
2444         (list-colors-redisplay): New function.
2445         (list-colors-display): Install list-colors-redisplay as the
2446         revert-buffer-function.  (Bug#14063)
2448 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2450         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2451         and suffixes don't overlap (bug#14061).
2453         * case-table.el: Use lexical-binding.
2454         (case-table-get-table): New function.
2455         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
2457 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
2459         * progmodes/subword.el: Add `superword-mode' to do word motion
2460         over symbol_words (parallels and leverages `subword-mode' which
2461         does word motion inside MixedCaseWords).
2463 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
2465         * eshell/em-unix.el: Move su and sudo to...
2466         * eshell/em-tramp.el: ...Eshell tramp module.
2468 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2470         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2471         Change return value to be a sexp.  Delay `get-buffer' to after
2472         restoring the desktop (bug#13951).
2474 2013-03-26  Leo Liu  <sdl.web@gmail.com>
2476         * register.el: Move semantic tag handling back to
2477         cedet/semantic/senator.el.  (Bug#14052)
2479 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2481         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2482         into the prompt either (bug#13963).
2484 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2486         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2487         part of "(error-foo)".
2489 2013-03-24  Juri Linkov  <juri@jurta.org>
2491         * replace.el (list-matching-lines-prefix-face): New defcustom.
2492         (occur-1): Pass `list-matching-lines-prefix-face' to the function
2493         `occur-engine' if `face-differs-from-default-p' returns t.
2494         (occur-engine): Add `,' inside backquote construct to evaluate
2495         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
2496         Pass `prefix-face' to the functions `occur-context-lines' and
2497         `occur-engine-add-prefix'.
2498         (occur-engine-add-prefix, occur-context-lines): Add optional arg
2499         `prefix-face' and propertize the prefix with `prefix-face'.
2500         (Bug#14017)
2502 2013-03-24  Leo Liu  <sdl.web@gmail.com>
2504         * nxml/rng-valid.el (rng-validate-while-idle)
2505         (rng-validate-quick-while-idle): Guard against deleted buffer.
2506         (Bug#13999)
2508         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2509         is the last entry in kill-buffer-hook.
2511         * files.el (kill-buffer-hook): Doc fix.
2513 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
2515         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2516         Make it safe-local.
2518         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2520 2013-03-23  Leo Liu  <sdl.web@gmail.com>
2522         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2523         Remove.
2525         * nxml/rng-valid.el (rng-validate-mode)
2526         (rng-after-change-function, rng-do-some-validation):
2527         * nxml/rng-maint.el (rng-validate-buffer):
2528         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2529         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2530         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2531         (nxml-extend-after-change-region): Use with-silent-modifications.
2533         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2534         timer-idle-list.
2536         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2537         (rng-next-error-1, rng-previous-error-1): Do not let-bind
2538         timer-idle-list.  (Bug#13999)
2540 2013-03-23  Juri Linkov  <juri@jurta.org>
2542         * info.el (info-index-match): New face.
2543         (Info-index, Info-apropos-matches): Add a nested subgroup to the
2544         main pattern and add text properties with the new face to matches
2545         in index entries relative to the beginning of the index entry.
2546         (Bug#14015)
2548 2013-03-21  Eric Ludlam  <zappo@gnu.org>
2550         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2551         Inhibit read only while inserting objects.
2553 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
2555         * progmodes/cfengine.el: Update docs to mention
2556         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
2557         symbol motion.  Remove "_" from the word syntax.
2559 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
2561         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2562         syntax for both `cfengine2-mode' and `cfengine3-mode'.
2564 2013-03-20  Juri Linkov  <juri@jurta.org>
2566         * info.el (Info-next-reference-or-link)
2567         (Info-prev-reference-or-link): New functions.
2568         (Info-next-reference, Info-prev-reference): Use them.
2569         (Info-try-follow-nearest-node): Handle footnote navigation.
2570         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
2572 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2574         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2575         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2577 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
2579         Suppress unnecessary non-ASCII chatter during build process.
2580         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2581         (batch-skkdic-convert): Suppress most of the chatter.
2582         It's not needed so much now that machines are faster,
2583         and its non-ASCII component was confusing; see Dmitry Gutov in
2584         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2586 2013-03-20  Leo Liu  <sdl.web@gmail.com>
2588         * ido.el (ido-chop): Fix bug#10994.
2590 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
2592         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2593         Remove vars.
2594         (whitespace-color-on, whitespace-color-off):
2595         Use `font-lock-fontify-buffer' (Bug#13817).
2597 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2599         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2600         remapping in mode-line.
2601         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2603 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
2605         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2606         value for `whitespace-line' face (Bug#13875).
2607         (whitespace-font-lock-keywords): Change description.
2608         (whitespace-color-on): Don't save `font-lock-keywords' value, save
2609         the constructed keywords instead.
2610         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2612 2013-03-19  Leo Liu  <sdl.web@gmail.com>
2614         * progmodes/compile.el (compilation-display-error): New command.
2615         (compilation-mode-map, compilation-minor-mode-map): Bind it to
2616         C-o.  (Bug#13992)
2618 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
2620         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2622 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
2624         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2626 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
2628         * net/tramp-compat.el (tramp-compat-user-error): New defun.
2630         * net/tramp-adb.el (tramp-adb-handle-shell-command):
2631         * net/tramp-gvfs.el (top):
2632         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2633         (tramp-handle-shell-command): Use it.
2634         (tramp-dissect-file-name): Raise an error when hostname is a
2635         method name, and neither method nor user is specified.
2637         * net/trampver.el: Update release number.
2639 2013-03-18  Leo Liu  <sdl.web@gmail.com>
2641         Make sure eldoc can be turned off properly.
2642         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2643         eldoc-mode.
2644         (eldoc-display-message-p): Revert last change.
2645         (eldoc-display-message-no-interference-p)
2646         (eldoc-print-current-symbol-info): Tweak.
2648 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
2650         * doc-view.el (doc-view-new-window-function): Check the new window
2651         overlay's display property instead the char property of the
2652         buffer's first char.  Use `with-selected-window' instead of
2653         `save-window-excursion' with `select-window'.
2654         (doc-view-document->bitmap): Check the current doc-view overlay's
2655         display property instead the char property of the buffer's first char.
2657 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
2659         Automate the build of ja-dic.el (Bug#13984).
2660         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2661         from the input, rather than assume that it's been done for us by the
2662         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
2663         the current date into a ja-dic.el comment, as that complicates
2664         regression testing.
2666 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2668         * whitespace.el: Fix double evaluation.
2669         (whitespace-space, whitespace-hspace, whitespace-tab)
2670         (whitespace-newline, whitespace-trailing, whitespace-line)
2671         (whitespace-space-before-tab, whitespace-indentation)
2672         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2673         obsolete defvars.
2674         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2675         (whitespace-color-on): Use a single font-lock-add-keywords call.
2676         Fix double-evaluation of face variables.
2678 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
2680         * net/tramp-adb.el (tramp-adb-parse-device-names):
2681         Use `start-process' instead of `call-process'.  Otherwise, the
2682         function might be blocked under MS Windows.  (Bug#13299)
2684 2013-03-17  Leo Liu  <sdl.web@gmail.com>
2686         Extend eldoc to display info in the mode-line.  (Bug#13978)
2687         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2688         (eldoc-mode-line-string): New variable.
2689         (eldoc-minibuffer-message): New function.
2690         (eldoc-message-function): New variable.
2691         (eldoc-message): Use it.
2692         (eldoc-display-message-p)
2693         (eldoc-display-message-no-interference-p):
2694         Support eldoc-post-insert-mode.
2696         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2697         (eval-expression): Run it.
2699 2013-03-17  Roland Winkler  <winkler@gnu.org>
2701         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2702         strings in the list of return values.
2704 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
2706         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2707         radix before checking for HMS forms.
2709 2013-03-16  Leo Liu  <sdl.web@gmail.com>
2711         * progmodes/scheme.el: Add indentation and font-locking for Î».
2712         (Bug#13975)
2714 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2716         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2717         token before point (bug#13942).
2719 2013-03-16  Leo Liu  <sdl.web@gmail.com>
2721         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
2723 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
2725         * startup.el (command-line-normalize-file-name): Fix handling of
2726         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
2727         <xfq.free@gmail.com> in
2728         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2730 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
2732         Sync with Tramp 2.2.7.
2734         * net/trampver.el: Update release number.
2736 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
2738         * doc-view.el Fix bug#13887.
2739         (doc-view-insert-image): Don't modify overlay associated to
2740         non-live windows, and implement horizontal centering of image in
2741         case it's smaller than the window.
2742         (doc-view-new-window-function): Force redisplay of new windows on
2743         doc-view buffers.
2745 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
2747         * saveplace.el (save-place-alist-to-file): Don't sort
2748         `save-place-alist', just pretty-print it (bug#13882).
2750 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
2752         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2753         whether `default-file-name-coding-system' is bound.  It isn't in
2754         XEmacs.
2756 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2758         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2759         backquotes for `obsolete' (bug#13929).
2761         * international/mule.el (find-auto-coding): Include file name in
2762         obsolescence warning (bug#13922).
2764 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
2766         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2767         for CFEngine 3-specific indentation.
2768         (cfengine3-indent-line): Use it.  Fix up category regex.
2769         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2771 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2773         * type-break.el (type-break-file-name):
2774         * textmodes/remember.el (remember-data-file):
2775         * strokes.el (strokes-file):
2776         * shadowfile.el (shadow-initialize):
2777         * saveplace.el (save-place-file):
2778         * ps-bdf.el (bdf-cache-file):
2779         * progmodes/idlwave.el (idlwave-config-directory):
2780         * net/quickurl.el (quickurl-url-file):
2781         * international/kkc.el (kkc-init-file-name):
2782         * ido.el (ido-save-directory-list-file):
2783         * emulation/viper.el (viper-custom-file-name):
2784         * emulation/vip.el (vip-startup-file):
2785         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2786         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2788 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
2790         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2791         * language/thai-word.el: Switch to UTF-8.
2793 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2795         * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2797 2013-03-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2799         * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2800         Use with-current-buffer and don't move point.
2801         (net-utils-run-simple): Remove useless code.
2802         (net-utils-remove-ctl-m): Remove unused custom.
2804 2013-03-11  Per Starbäck  <starback@stp.lingfil.uu.se>
2806         * international/characters.el (glyphless-set-char-table-range): New fun.
2807         (update-glyphless-char-display): Use it (bug#13744).
2809 2013-03-11  Teodor Zlatanov  <tzz@lifelogs.com>
2811         * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2812         namespaces in the syntax, indent closer for hanging brace
2813         correctly, allow single-quote delimited 'strings', and make
2814         `cfengine3-mode' the default.
2816 2013-03-11  Jean-Philippe Gravel  <jpgravel@gmail.com>
2818         * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2819         Use lexical-binding.  Fix up docstring according to conventions.
2820         (gdbmi-debug-mode): New var.
2821         (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2822         (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2823         (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2824         (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2825         (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2826         (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2827         (gdbmi-bnf-incomplete-record-result): New functions.
2828         (gdb-car<): Remove function.
2829         (gdbmi-record-list): Remove variable.
2830         (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2831         (gdbmi-bnf-result-state-configs): New const.
2832         (gud-gdbmi-marker-filter): Rewrite.
2833         (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2834         (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2835         Add `token' argument.
2836         (gdb-done, gdb-error): New functions.
2837         (gdb-done-or-error): Add `is-complete' argument.  Change arg order.
2839 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2841         * term/xterm.el (xterm--report-background-handler): Don't burp
2842         upon timeout.
2843         (xterm--version-handler): Extract from terminal-init-xterm.
2844         (xterm--query): Don't mishandle timeout.  Remove debugging messages.
2845         Allow multiple handlers.
2846         (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2848         * term/xterm.el: Don't discard input (bug#6758).  Use lexical-binding.
2849         (xterm--report-background-handler, xterm--query): New functions.
2850         (terminal-init-xterm): Use them.
2852 2013-03-11  Michael R. Mauger  <michael@mauger.com>
2854         * progmodes/sql.el Version 3.2
2855         Please note that my address changed to <michael@mauger.com>;
2856         the <mmaug@yahoo.com> address remains active.
2857         (sql-connection-alist): Updates documentation to fix bug#13715.
2858         (sql-connect): Handle missing `sql-connection-alist' correctly.
2859         (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2860         (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2861         property.
2862         (sql-default-value): New function.
2863         (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2864         values were not used.
2865         (sql-rename-buffer): Make sure alternate buffer name has no text
2866         properties.
2867         (sql-input-sender, sql-execute-feature): Fetch variable with
2868         `buffer-local-value' rather than `with-current-buffer'.
2869         (sql-*): Use #' function syntax consistently.
2870         (sql-*): Use message/error/user-error consistently.
2872 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2874         * xt-mouse.el (xterm-mouse-event-read): Remove.
2875         (xterm-mouse--read-event-sequence-1000)
2876         (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2878 2013-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2880         * term/xterm.el (xterm-function-map): Support format used with
2881         formatOtherKeys=1 (bug#13839).
2883         * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2884         (with-no-warnings): Use `declare'.
2886         * whitespace.el (whitespace-enable-predicate): New variable.
2887         (whitespace-enable-predicate): Use it.
2889         * comint.el (comint-send-input, comint-snapshot-last-prompt)
2890         (comint-output-filter, comint-update-fence):
2891         Use with-silent-modifications.
2893 2013-03-10  Jambunathan K  <kjambunathan@gmail.com>
2895         * replace.el (occur-read-regexp-defaults-function): New var.
2896         (occur-read-regexp-defaults): New defun.
2897         (occur-read-primary-args): Propagate above change (bug#13892).
2899 2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2901         * mouse.el (mouse-drag-track): Remove left-over debugging code.
2903 2013-03-09  Michael Albinus  <michael.albinus@gmx.de>
2905         Major rewrite due to changed D-Bus interface of GVFS 1.14.
2907         * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2908         (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2909         (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2910         New defconst.
2911         (tramp-gvfs-file-name-handler-alist) [directory-files]
2912         [directory-files-and-attributes, file-exists-p, file-modes]:
2913         Use Tramp default handler.
2914         [file-acl, file-selinux-context, process-file, set-file-acl]:
2915         [set-file-modes, set-file-selinux-context, shell-command]:
2916         [start-file-process]: Remove handler.
2917         [verify-visited-file-modtime]: New handler.
2918         (tramp-gvfs-dbus-string-to-byte-array)
2919         (tramp-gvfs-dbus-byte-array-to-string): New defuns.  Replace all
2920         calls of `dbus-string-to-byte-array' and
2921         `tramp-gvfs-dbus-byte-array-to-string'.
2922         (tramp-gvfs-handle-copy-file)
2923         (tramp-gvfs-handle-delete-directory)
2924         (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2925         (tramp-gvfs-handle-file-directory-p)
2926         (tramp-gvfs-handle-file-executable-p)
2927         (tramp-gvfs-handle-file-name-all-completions)
2928         (tramp-gvfs-handle-file-readable-p)
2929         (tramp-gvfs-handle-file-writable-p)
2930         (tramp-gvfs-handle-insert-directory)
2931         (tramp-gvfs-handle-insert-file-contents)
2932         (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2933         (tramp-gvfs-handle-set-visited-file-modtime)
2934         (tramp-gvfs-handle-write-region): Rewrite.
2935         (tramp-gvfs-handle-file-acl)
2936         (tramp-gvfs-handle-file-selinux-context)
2937         (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2938         (tramp-gvfs-handle-set-file-modes)
2939         (tramp-gvfs-handle-set-file-selinux-context)
2940         (tramp-gvfs-handle-shell-command)
2941         (tramp-gvfs-handle-start-file-process)
2942         (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2943         (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2944         over the symlinks.  Fix user handling.
2945         (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2946         of the D-Bus signals.
2947         (tramp-gvfs-connection-mounted-p): Handle different names of the
2948         D-Bus methods.
2949         (tramp-gvfs-mount-spec-entry): New defun.
2950         (tramp-gvfs-mount-spec): Use it.
2951         (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2952         there is a share name.  Handle different names of the D-Bus
2953         signals and methods.  Set connection properties needed for
2954         `tramp-check-cached-permissions'.
2955         (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2956         Return t or nil.
2958         * net/tramp.el (tramp-backtrace): Move up.
2959         (tramp-error): Dump a backtrace into the debug buffer when
2960         `tramp-verbose > 9.
2961         (tramp-file-mode-type-map, tramp-file-mode-from-int)
2962         (tramp-file-mode-permissions, tramp-get-local-uid)
2963         (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2964         tramp-sh.el.
2966         * net/tramp-sh.el (tramp-file-mode-type-map)
2967         (tramp-check-cached-permissions, tramp-file-mode-from-int)
2968         (tramp-file-mode-permissions, tramp-get-local-uid)
2969         (tramp-get-local-gid): Move to tramp.el.
2971 2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2973         Separate mouse-1-click-follows-link from mouse-drag-region.
2974         * mouse.el (mouse--down-1-maybe-follows-link): New function.
2975         (key-translation-map): Use it to implement mouse-1-click-follows-link.
2976         (mouse-drag-line, mouse-drag-track):
2977         Remove mouse-1-click-follows-link code.
2978         (mouse--remap-link-click-p): Remove.
2980 2013-03-08  Jambunathan K  <kjambunathan@gmail.com>
2982         * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2983         (hi-lock-read-regexp-defaults):  New defun.
2984         (hi-lock-line-face-buffer, hi-lock-face-buffer)
2985         (hi-lock-face-phrase-buffer): Propagate above change.
2986         Update docstring (bug#13892).
2988         * subr.el (find-tag-default-as-regexp): New defun.
2989         * replace.el (read-regexp): Propagate above change.
2991 2013-03-08  Jay Belanger  <jay.p.belanger@gmail.com>
2993         * calc/calc-units.el (calc-convert-units): Fix the way that default
2994         new units are stored.
2996 2013-03-07  Matthias Meulien  <orontee@gmail.com>
2998         * bookmark.el: Define a face to highlight bookmark names in
2999         bookmark menu buffers, where the default is a bold face similarly
3000         to buffer names in buffer menu buffers.
3001         (bookmark-menu-bookmark): New face to highlight bookmark names.
3002         (bookmark-insert-location): Remove duplicated text property to
3003         conform to buffer list (see `list-buffers').
3004         (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
3005         `bookmark-menu-bookmark' to bookmark names.
3007 2013-03-07  Matthias Meulien  <orontee@gmail.com>
3008             Karl Fogel  <kfogel@red-bean.com>
3010         * bookmark.el: Display the bookmark list header similarly to the
3011         buffer list header (see `list-buffers'), where the default is now
3012         an immovable/immutable header line.
3013         (bookmark-bmenu-use-header-line): New variable.
3014         (bookmark-bmenu-inline-header-height): New name for
3015         `bookmark-bmenu-header-height', to avoid confusion with the code
3016         for the new immovable header.  All references changed.
3017         (bookmark-bmenu-set-header): New function.
3018         (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
3019         Conditionalize header construction accordingly.
3020         (bookmark-bmenu-ensure-position): Conditionalize the skipping of
3021         the inline header height.
3022         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3023         Conditionalize the skipping of the inline header height.
3025 2013-03-07  Dmitry Gutov  <dgutov@yandex.ru>
3027         * progmodes/js.el (js--multi-line-declaration-indentation):
3028         Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
3030 2013-03-06  Dmitry Gutov  <dgutov@yandex.ru>
3032         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3033         Only propertize regexp when not inside a string (Bug#13885).
3035 2013-03-06  Alan Mackenzie  <acm@muc.de>
3037         Correct the position of point in some line-up functions.
3038         * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
3039         (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
3040         point at column 0 rather than at a random place in the line.
3042 2013-03-05  Michael Albinus  <michael.albinus@gmx.de>
3044         * net/tramp-compat.el (tramp-compat-delete-directory):
3045         Implement TRASH argument.
3047 2013-03-05  Dmitry Gutov  <dgutov@yandex.ru>
3049         Keep pre-existing highlighting in completion candidates (Bug#13250).
3050         * minibuffer.el (completions-first-difference): State that the
3051         face is "added" in the docstring.
3052         (completions-common-part): Same.  And don't inherit from default.
3053         (completion-hilit-commonality): Prepend 'completions-common-part
3054         and 'completion-first-difference faces to the 'face property,
3055         instead of replacing the value(s).
3056         (completion--insert-strings): Same with 'completions-annotations face.
3057         (completion-hilit-commonality): Use 'face instead of
3058         'font-lock-face, because it gets priority if the completion
3059         strings already have 'face set.
3061 2013-03-04  Alan Mackenzie  <acm@muc.de>
3063         Replace `last-command-event' by `last-command-char' in XEmacs.
3064         * progmodes/cc-defs.el (c-last-command-char): New macro.
3065         * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
3066         (c-semi&comma-no-newlines-before-nonblanks)
3067         (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
3068         in place of `last-command-event'.
3069         * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
3070         (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
3071         (c-electric-paren, c-electric-continued-statement): Use the new
3072         macro in place of `last-command-event'.
3074 2013-03-04  Glenn Morris  <rgm@gnu.org>
3076         * files.el (inhibit-local-variables-regexps):
3077         Add .diff and .patch.  (Bug#13862)
3079 2013-03-03  Michael Albinus  <michael.albinus@gmx.de>
3081         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
3082         whether the "su" command is available on the device.
3084 2013-03-01  Michael Albinus  <michael.albinus@gmx.de>
3086         * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
3087         (tramp-adb-handle-process-file): Remove superfluous setting.
3088         (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
3089         (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
3090         (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
3092 2013-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3094         * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
3095         (ispell-print-if-debug): Build `format' in.  Avoid end-of-buffer.
3096         (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
3097         Use dict-key rather than dict-name for the error message.
3099 2013-03-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3101         * net/net-utils.el (net-utils-run-simple): Don't display-buffer
3102         when reverting (bug#13831).
3104 2013-03-01  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3106         * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3107         Always expand affix-file before storing to protect against changed
3108         `default-directory'.
3109         (ispell-print-if-debug): Make sure message is printed at the end
3110         of the debug buffer.
3112 2013-03-01  Michael Albinus  <michael.albinus@gmx.de>
3114         * net/tramp.el (tramp-obsolete-methods): New defconst.
3115         (tramp-warned-obsolete-methods): New defvar.
3116         (tramp-find-method): Check for obsolete methods.  Map them to a
3117         replacement method if appropriate.
3119         * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
3120         Remove methods.
3121         (top): Remove completion functions for "scp1", "scp2", "ssh1",
3122         "ssh2" and "plink1".
3124 2013-02-28  Dale Sedivec  <dale@codefu.org>
3126         * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
3127         Return valid syntax-table property value when converting
3128         quotes within text from string syntax to punctuation syntax (bug#13844).
3130 2013-02-28  Juri Linkov  <juri@jurta.org>
3132         * dired-aux.el (dired-diff): If file at point is a backup file,
3133         use its original as the default value, and reverse the order
3134         of arguments to the `diff' call.  Doc fix.  (Bug#13772)
3136 2013-02-28  Michael Albinus  <michael.albinus@gmx.de>
3138         * net/tramp-adb.el (tramp-adb-sdk-dir): Remove.  Replaced by ...
3139         (tramp-adb-program): New defcustom.  Remove function.  Adapt calls.
3141 2013-02-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
3143         Initial support for hunspell dictionaries auto-detection (Bug#13639)
3145         * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
3146         Ask hunspell about available and default dictionaries.
3147         (ispell-parse-hunspell-affix-file): Extract relevant info from
3148         hunspell affix file.
3149         (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
3150         `ispell-dictionary-alist' entry for given dictionary after info
3151         provided by `ispell-parse-hunspell-affix-file'.
3152         (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
3153         of parsed hunspell dicts and associated affix files.
3154         (ispell-hunspell-dictionary-alist): New defvar to contain an alist
3155         of parsed hunspell dicts and associated parameters.
3156         (ispell-set-spellchecker-params):
3157         Call `ispell-find-hunspell-dictionaries' if hunspell and not
3158         previously done.
3159         (ispell-start-process):
3160         Call `ispell-hunspell-fill-dictionary-entry' for current
3161         dictionary if it is not initialized.
3163 2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3165         * imenu.el: Comment nitpicks.
3167 2013-02-28  Sam Steingold  <sds@gnu.org>
3169         * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
3170         See <http://stackoverflow.com/questions/14720205>.
3172 2013-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3174         * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
3175         (net-utils-mode): Use it.
3176         (net-utils--revert-cmd): New var.
3177         (net-utils-run-simple): Set it, and remove bogus interactive spec.
3178         (traceroute): Use net-utils-run-simple.
3180 2013-02-28  Glenn Morris  <rgm@gnu.org>
3182         * textmodes/paragraphs.el (mark-paragraph): Doc fix.
3184 2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3186         * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
3187         (doc-view-fallback-mode): Remove overlays here.
3188         (doc-view-toggle-display): Instead of here.  Don't throw away
3189         image-mode-winprops-alist.
3190         (doc-view-goto-page): Don't mess with hscroll.
3192 2013-02-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3194         * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
3195         &optional (bug#13819).
3197 2013-02-27  Michael Albinus  <michael.albinus@gmx.de>
3199         * net/tramp-adb.el (tramp-adb-parse-device-names)
3200         (tramp-adb-maybe-open-connection): Add timeouts.  (Bug#13299)
3202 2013-02-26  Michael Albinus  <michael.albinus@gmx.de>
3204         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3205         Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
3206         defined.  POSIX environments fall back to the "C" locale then and
3207         emit a warning, which shall be suppressed.
3209 2013-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3211         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
3212         (easy-mmode-set-keymap-parents): Use make-composed-keymap.
3214 2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3216         * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
3218 2013-02-25  Juri Linkov  <juri@jurta.org>
3220         * replace.el (read-regexp): Let-bind `default' to the first
3221         element of `defaults' if it's a list, otherwise it should be
3222         a string or nil.  Let-bind `suggestions' to `defaults' if it's
3223         a list, otherwise make a list with the string value.  Doc fix.
3224         (Bug#13805)
3226 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
3228         * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
3229         that match "\`\.#", to avoid compiling lock files, even if they
3230         are readable (as they are on MS-Windows).
3232 2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3234         * files.el (basic-save-buffer): Remove redundant directory-creation.
3236 2013-02-24  Jay Belanger  <jay.p.belanger@gmail.com>
3238         * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
3239         Add option to force `pi' to remain symbolic.
3240         * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
3241         (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
3242         (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
3243         derivatives, when necessary.
3245 2013-02-23  Peter Kleiweg  <p.c.j.kleiweg@rug.nl>
3247         * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
3248         (ps-mode-octal-region): Use string-make-unibyte.
3250 2013-02-23  Glenn Morris  <rgm@gnu.org>
3252         * emulation/viper-cmd.el (viper-submit-report):
3253         * progmodes/ps-mode.el (ps-mode-maintainer-address):
3254         * progmodes/vera-mode.el (vera-mode-help-address):
3255         * textmodes/artist.el (artist-maintainer-address):
3256         * textmodes/reftex.el (reftex-report-bug):
3257         * vc/ediff-util.el (ediff-submit-report):
3258         Add bug-gnu-emacs to bug report address.
3260         * progmodes/simula.el (simula-mode-menu, simula-mode-map):
3261         Remove bug report entries.
3262         (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
3264         * emacs-lisp/bytecomp.el (byte-compile-level): New.
3265         (byte-compile-file, byte-compile-from-buffer):
3266         Use separate input/output buffers for each level of recursive
3267         byte-compile-file calls.  (Bug#13787)
3269 2013-02-23  Michael Albinus  <michael.albinus@gmx.de>
3271         * net/tramp.el (tramp-methods): Fix docstring.
3272         (tramp-ssh-controlmaster-options): Rename it from
3273         `tramp-ssh-controlmaster-template'.  Return a string.
3274         (tramp-default-method): Adapt check for
3275         `tramp-ssh-controlmaster-options'.
3277         * net/tramp-sh.el (tramp-methods):
3278         Replace `tramp-ssh-controlmaster-template' by "%c".
3279         (tramp-do-copy-or-rename-file-out-of-band)
3280         (tramp-maybe-open-connection): Use it in format spec.  Ensure,
3281         that it is applied for the first hop only.
3283 2013-02-22  Juri Linkov  <juri@jurta.org>
3285         * isearch.el (isearch-lazy-highlight-new-loop):
3286         Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
3287         to `isearch-other-end' if it is not nil.  (Bug#13402)
3289         * replace.el (replace-highlight): Let-bind `isearch-other-end'
3290         to `match-beg'.
3292         * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
3293         Let-bind `isearch-other-end' to `start', `isearch-forward' to t
3294         and `isearch-error' to nil.
3296 2013-03-16  Fabián Ezequiel Gallina  <fgallina@cuca>
3298         * progmodes/python.el (python-info-current-defun):
3299         Enhance match-data cluttering prevention.
3301 2013-02-22  Michael Albinus  <michael.albinus@gmx.de>
3303         * net/tramp.el (tramp-tramp-file-p): Fix docstring.
3305         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3306         Handle multibyte file names.
3308 2013-02-22  Glenn Morris  <rgm@gnu.org>
3310         * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
3311         (sgml-transformation-function): Give it a :set function.
3312         (sgml-tag): Doc fix.
3314         * cmuscheme.el (scheme-buffer):
3315         * progmodes/inf-lisp.el (inferior-lisp-buffer):
3316         * progmodes/tcl.el (inferior-tcl-buffer):
3317         * textmodes/tex-mode.el (tex-command): Doc fixes.
3319         * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
3321         * htmlfontify.el (hfy-default-header): Encode title string.  (Bug#7457)
3323 2013-02-21  Bastien Guerry  <bzg@gnu.org>
3325         * cmuscheme.el (scheme-buffer): Fix docstring.  (Bug#13778)
3327 2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
3329         * progmodes/python.el (python-info-current-defun):
3330         Enhance match-data cluttering prevention.
3332 2013-02-21  Glenn Morris  <rgm@gnu.org>
3334         * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
3335         loaded while outline-regexp is let bound.  (Bug#9584)
3337 2013-02-21  Fabián Ezequiel Gallina  <fgallina@cuca>
3339         * progmodes/python.el (python-info-current-defun): Fix failed
3340         defun name retrieval because of unwanted match-data cluttering.
3342 2013-02-21  Michael Albinus  <michael.albinus@gmx.de>
3344         * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
3345         defconst.  Apply independent check for ControlPersist.
3347         * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
3348         temporarily, via "env".
3350 2013-02-21  Glenn Morris  <rgm@gnu.org>
3352         * info.el (Info-enable-edit): Remove.
3353         (Info-edit): Disable it rather than using Info-enable.
3354         (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
3355         (Info-cease-edit): Make editing of Info files obsolete.
3357         * informat.el (Info-tagify):
3358         Handle buffers not visiting files.  (Bug#13763)
3360 2013-02-21  Juanma Barranquero  <lekktu@gmail.com>
3362         * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
3364 2013-02-21  Glenn Morris  <rgm@gnu.org>
3366         * files.el (basic-save-buffer): Move check for existing parent
3367         directory after hooks.  (Bug#13773)
3369 2013-02-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3371         * simple.el (command-execute): Move from C.  Add obsolete check.
3372         (extended-command-history): Move from C.
3374 2013-02-20  Ulrich Müller  <ulm@gentoo.org>
3376         * jka-cmpr-hook.el (jka-compr-compression-info-list)
3377         (jka-compr-mode-alist-additions): Handle .txz suffix for
3378         XZ-compressed tar archives (bug#13770).
3380 2013-02-20  Bastien Guerry  <bzg@gnu.org>
3382         * outline.el (outline-regexp, outline-heading-end-regexp):
3383         Make variables, not options (bug#13731).
3385 2013-02-20  Glenn Morris  <rgm@gnu.org>
3387         * image.el (image-current-frame): Change from variable to function.
3388         (image-show-frame): Rename from image-nth-frame.  Update callers.
3389         * image-mode.el (image-multi-frame): New variable.
3390         (image-mode-map, image-mode, image-goto-frame):
3391         Use image-multi-frame rather than image-current-frame.
3392         (image-mode, image-goto-frame): Use image-current-frame as
3393         function rather than as variable.
3395         * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
3396         * emacs-lisp/cl-macs.el (cl--make-type-test)
3397         (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
3399 2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
3401         * net/tramp-cache.el (tramp-get-hash-table): New defun.
3402         (tramp-get-file-property, tramp-set-file-property)
3403         (tramp-get-connection-property, tramp-set-connection-property): Use it.
3404         (tramp-flush-file-property, tramp-flush-directory-property):
3405         Rename argument to KEY.
3406         (tramp-flush-connection-property): Simplify a little bit.
3407         (tramp-connection-property-p): New defun.
3408         (top): Reapply saved values only if there isn't a corresponding
3409         entry in `tramp-connection-properties'.
3411 2013-02-19  Fabián Ezequiel Gallina  <fgallina@cuca>
3413         * progmodes/python.el (python-indent-context):
3414         Fix python-info-line-ends-backslash-p call.
3415         (python-info-line-ends-backslash-p)
3416         (python-info-beginning-of-backslash): Respect line-number argument.
3417         (python-info-current-line-comment-p):
3418         Fix behavior when not at beginning-of-line.
3419         (python-util-position): Remove function.
3420         (python-util-goto-line): New function.
3422 2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
3424         * eshell/em-unix.el (eshell/su): Require tramp.
3425         (eshell/sudo): Require tramp.  Remove now unnecessary check.
3427         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
3428         `tramp-current-connection' in order to avoid an error when several
3429         commands are invoked in a short time in eshell and friends.
3431 2013-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3433         Cleanup some of EIEIO's namespace.
3434         * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3435         Use it to define all the class-* and object-* field accessors (renamed
3436         to eieio--class-* and eieio--object-*).  Update all uses.
3437         (eieio--class-num-slots, eieio--object-num-slots): Rename from
3438         class-num-slots and object-num-slots.
3439         (eieio--check-type): New macro.
3440         (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3441         (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3442         (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3443         (object-assoc-list-safe): Use it.
3444         (eieio-defclass): Tighten regexp.
3445         (eieio--defmethod): Use `memq'.  Signal an error for unknown method kind.
3446         Remove unreachable code.
3447         (object-class-fast): Declare obsolete.
3448         (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3449         (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3450         (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3451         Rename from class-name, object-name, object-set-name-string,
3452         object-class, object-class-name, class-parents, class-children,
3453         class-precedence-list, class-parent; with obsolete alias.
3454         (class-of, class-direct-superclasses, class-direct-subclasses):
3455         Declare obsolete.
3456         (eieio-defmethod): Use `memq'; remove unreachable code.
3457         * emacs-lisp/eieio-base.el (eieio-persistent-read):
3458         * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3459         (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3461 2013-02-18  Aidan Gauland  <aidalgol@no8wireless.co.nz>
3463         * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3464         commentary.
3466 2013-02-18  Michael Heerdegen  <michael_heerdegen@web.de>
3468         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3469         Use font-lock-keyword-face for macros and special forms (bug#8345).
3471 2013-02-17  Didier Verna  <didier@didierverna.net>
3473         * net/network-stream.el (network-stream-open-starttls):
3474         Check that response to the starttls-command is non-nil.  (Bug#13706)
3476 2013-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3478         * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3479         Don't assume all identifier chars have syntax word.
3480         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3481         Remove bar-not-symbol.  Adjust callers.
3482         (lisp-mode-variables): Don't set a font-lock-syntax-table.
3484 2013-02-17  Leo Liu  <sdl.web@gmail.com>
3486         * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3488 2013-02-17  Glenn Morris  <rgm@gnu.org>
3490         * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3492         * image-mode.el (image-mode-map): Add image-dired menu entry.
3494         * image-dired.el (tumme): Make this alias obsolete.
3496 2013-02-16  Glenn Morris  <rgm@gnu.org>
3498         * image.el (image-animated-types): Remove.
3499         (image-multi-frame-p): Rename from image-animated-p, and generalize.
3500         (image-animated-p): Make obsolete alias.
3501         (image-animate, image-nth-frame, image-animate-timeout):
3502         Use image-multi-frame-p.
3503         (image-animate-timeout): If no delay, use image-default-frame-delay.
3504         * image-mode.el (image-mode, image-toggle-animation):
3505         Use image-multi-frame-p.  (Bug#763, bug#10739)
3506         (image-mode): Adjust startup message for a multi-frame image.
3508         * image-mode.el (image-mode-map): Give it a menu.
3510 2013-02-16  Michael Albinus  <michael.albinus@gmx.de>
3512         * net/tramp-cache.el (tramp-connection-properties): New customer
3513         option.
3514         (tramp-get-connection-property): Use it.
3516         * net/tramp-compat.el (top): Require 'trampver.
3518         * net/tramp-sh.el (tramp-remote-process-environment):
3519         Set tramp-autoload cookie.
3521 2013-02-16  Kevin Ryde  <user42@zip.com.au>
3523         * info-look.el (info-lookup-select-mode): If major-mode has no
3524         info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3526 2013-02-16  Jambunathan K  <kjambunathan@gmail.com>
3528         * replace.el (read-regexp): Tighten the regexp that matches tag.
3529         When tag is retrieved with `find-tag-default', use regexp that
3530         matches tag at point.  Also update docstring (Bug#13687).
3532 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
3534         * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3535         add watch for the file, not its parent directory, since w32notify
3536         sets up the watch for the directory internally.  (Bug#13725)
3538 2013-02-16  Glenn Morris  <rgm@gnu.org>
3540         * image.el (image-default-frame-delay): New variable.
3541         (image-animated-p): Use image-default-frame-delay.
3542         (image-minimum-frame-delay): New constant.
3543         (image-animate-timeout): Use image-minimum-frame-delay.
3545         * image.el (image-nth-frame): New, split from image-animate-timeout.
3546         (image-animate-timeout): Use image-nth-frame.
3547         * image-mode.el (image-goto-frame, image-next-frame)
3548         (image-previous-frame): New commands.
3549         (image-mode-map): Add new frame commands.
3551 2013-02-16  Jonas Bernoulli  <jonas@bernoul.li>
3553         * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3554         If col-desc already has help-echo, use it.  (Bug#13563)
3556 2013-02-16  Glenn Morris  <rgm@gnu.org>
3558         * image.el (image-current-frame): New variable.
3559         (image-animate-timeout): Set image-current-frame.
3560         * image-mode.el (image-mode): For animated images,
3561         display a frame counter via mode-line-process.
3563         * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3565 2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3567         * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3569 2013-02-15  Alan Mackenzie  <acm@muc.de>
3571         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3572         global minor mode has been enabled, call the minor mode function
3573         for a new buffer once only, after the major mode hook, whilst
3574         allowing that hook explicitly to disable the minor mode.
3575         (MODE-disable-in-buffer): New (generated) function.
3576         (disable-MODE): New (generated) buffer local variable.
3578 2013-02-15  Jambunathan K  <kjambunathan@gmail.com>
3580         * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3581         `iswitchb-next-match' and `iswitchb-prev-match' resply.
3582         * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3583         `ido-next-match' and `ido-prev-match' resply.
3584         * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3585         Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3586         `icomplete-backward-completions' (Bug#13708).
3588 2013-02-15  Glenn Morris  <rgm@gnu.org>
3590         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3592 2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3594         * net/goto-addr.el (goto-address-fontify): Add start and end args.
3595         (goto-address-fontify-region): Use them instead of narrowing, so
3596         syntax-ppss has access to the whole buffer.
3598 2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
3600         * progmodes/python.el: Explain how to restore "cc-mode"-like
3601         forward-sexp movement in header documentation (Bug#13642).
3602         (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3603         comments and strings (GH bug 114).
3605 2013-02-15  Fabián Ezequiel Gallina  <fgallina@cuca>
3607         * progmodes/python.el (python-info-current-defun): Fix current
3608         defun detection (Bug#13618).
3610 2013-02-15  Chong Yidong  <cyd@gnu.org>
3612         * xml.el (xml-parse-string): Fix typo in handling of bad character
3613         references.
3615 2013-02-15  Glenn Morris  <rgm@gnu.org>
3617         * play/fortune.el (fortune-compile): Simplify and fix previous change.
3619 2013-02-14  Michael Albinus  <michael.albinus@gmx.de>
3621         * net/tramp.el (tramp-debug-message):
3622         Add `tramp-condition-case-unless-debug'.
3623         (tramp-debug-on-error): New defvar.
3624         (tramp-condition-case-unless-debug): New defun.
3625         (tramp-file-name-handler): Use it.
3627 2013-02-14  Juri Linkov  <juri@jurta.org>
3629         * info.el (Info-isearch-filter): Treat non-nil values of
3630         `search-invisible' including its default value `open'
3631         like the value `t' to match hidden text.  (Bug#13402)
3633 2013-02-14  Glenn Morris  <rgm@gnu.org>
3635         * help-fns.el (find-lisp-object-file-name): Give special treatment
3636         to all ~/.foo.elc files, not just ~/.emacs.  (Bug#9007)
3638 2013-02-14  David Biesack  <sasdjb@d72933.na.sas.com>  (tiny change)
3640         * net/quickurl.el (quickurl-save-urls):
3641         Ensure quickurl-urls is not truncated on printing.  (Bug#9276)
3643 2013-02-14  Dmitry Gutov  <dgutov@yandex.ru>
3645         * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3646         depth for unfinished percent literal.  Not using it in the caller.
3647         (ruby-move-to-block): Jump over multiline literals of all types,
3648         ignoring code-looking contents inside them.
3649         (ruby-add-log-current-method): Improve performance at the expense
3650         of accuracy.  `ruby-block-contains-point' is relatively slow, so
3651         only use it for method and singleton class blocks.
3653 2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
3655         Use ControlMaster where applicable.  (Bug#13677)
3657         * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3658         replacing `tramp-detect-ssh-controlmaster'.
3659         (tramp-default-method): Use it.
3661         * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3662         [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3663         arguments.
3664         [scpc, rsyncc]: Remove methods.
3665         (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3666         and "ssh2_old".
3667         (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3668         (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3670 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3672         * emacs-lisp/package.el (package--initialized): Move before first use.
3674 2013-02-13  Jambunathan K  <kjambunathan@gmail.com>
3676         * icomplete.el (icomplete-hide-common-prefix): New user option.
3677         (icomplete-first-match): New face.
3678         (icomplete-completions): Correct handling of "complete but not
3679         unique" (Bug#12638).
3681 2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)
3683         * descr-text.el (describe-char): Display the script (bug#13698).
3685 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3687         * tmm.el: Use lexical-binding and current-active-maps.
3688         (tmm-menubar): Use map-keymap and pcase.
3689         (tmm--completion-table): New function.
3690         (tmm-prompt): Use it to fix the menu order.
3691         (tmm-get-keybind): Use current-active-maps.
3693 2013-02-12  Christopher Schmidt  <christopher@ch.ristopher.com>
3695         Add dired-hide-details-mode.  (Bug#6799)
3697         * locate.el (locate-mode): Set parent mode property to dired-mode.
3699         * find-dired.el (find-dired): Call dired-insert-set-properties on
3700         initial information line.  Set process mark on end of buffer.
3701         (find-dired-sentinel):
3702         Call dired-insert-set-properties on summary.
3704         * dired.el (dired-hide-details-hide-symlink-targets)
3705         (dired-hide-details-hide-information-lines): New options.
3706         (dired-insert-directory):
3707         Set properties after final treatment of output.
3708         (dired-insert-set-properties):
3709         Set dired-hide-details-* properties.
3710         (dired-mode-map): Bind dired-hide-details-mode.
3711         (dired-mode): Set buffer-invisibility-spec to a list.
3712         (dired-next-line): Skip hidden lines.
3713         (dired-previous-line): Use dired-next-line.
3714         (dired-hide-details-mode): New minor mode.
3715         (dired-hide-details-update-invisibility-spec): New function.
3717 2013-02-13  Glenn Morris  <rgm@gnu.org>
3719         * play/yow.el: Move to obsolete/.  (Bug#9384)
3721 2013-02-13  Juri Linkov  <juri@jurta.org>
3723         * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3724         to select `ediff-control-frame' and set input focus correctly on Xfce.
3725         (Bug#12218)
3727 2013-02-13  Juri Linkov  <juri@jurta.org>
3729         * image-mode.el (image-mode-map):
3730         * doc-view.el (doc-view-mode-map):
3731         * vc/ediff-util.el (ediff-setup-keymap):
3732         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
3734 2013-02-13  Dmitry Gutov  <dgutov@yandex.ru>
3736         * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3737         performance.  Instead of recalculating indentation fully for each
3738         line, sum up indentation depth based only on visited lines.
3739         (ruby-parse-partial): Increase the depth after "do" even when END
3740         is right after it.
3741         (ruby-parse-partial): When END is in the middle of a percent
3742         literal, increase the depth if the delimiter chars belong to the
3743         paren syntax class.
3745 2013-02-13  Kirill A. Korinskiy  <catap@catap.ru>
3747         * play/fortune.el (fortune-compile): Also make the compiled file
3748         if it does not exist at all, not just if it is old.  (Bug#5338)
3750 2013-02-13  Glenn Morris  <rgm@gnu.org>
3752         * emacs-lisp/package.el (package-menu-execute): Doc fix.
3754 2013-02-13  Yves Baumes  <ybaumes@gmail.com>  (tiny change)
3756         * lisp/emacs-lisp/package.el (package-menu-execute):
3757         Add optional noquery argument.  (Bug#13625)
3759 2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
3761         * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3762         if DIR exists and PARENTS is non-nil.
3764 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
3766         * progmodes/js.el (js--multi-line-declaration-indentation):
3767         Silence byte-compiler warning.
3769 2013-02-12  Michael Albinus  <michael.albinus@gmx.de>
3771         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3773         * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3774         only if it doesn't exist.
3776         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3777         Set process marker.
3779 2013-02-12  Tassilo Horn  <tsdh@gnu.org>
3781         * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3782         UserInstallation when calling soffice to work around LibreOffice
3783         bug 37531.
3785 2013-02-12  Glenn Morris  <rgm@gnu.org>
3787         * files.el (basic-save-buffer):
3788         Offer to create a non-existing directory.  (Bug#3016)
3790         * calc/calc-graph.el (calc-graph-show-dumb):
3791         * calendar/calendar.el (calendar-mode-map):
3792         * cus-edit.el (custom-mode-map):
3793         * ehelp.el (electric-help-map):
3794         * emulation/vip.el (vip-mode-map):
3795         * epa.el (epa-key-list-mode-map):
3796         * info.el (Info-mode-map):
3797         * mail/rmail.el (rmail-mode-map):
3798         * mail/rmailsum.el (rmail-summary-mode-map):
3799         * man.el (Man-mode-map):
3800         * net/newst-plainview.el (newsticker-mode-map):
3801         * progmodes/cpp.el (cpp-edit-mode-map):
3802         * progmodes/grep.el (grep-mode-map):
3803         * progmodes/idlw-help.el (idlwave-help-mode-map):
3804         * simple.el (special-mode-map):
3805         * startup.el (splash-screen-keymap):
3806         * view.el (view-mode-map):
3807         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
3809 2013-02-11  Elias Pipping  <pipping@lavabit.com>
3811         * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3812         (bug#13679).
3814 2013-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3816         * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3818 2013-02-11  Glenn Morris  <rgm@gnu.org>
3820         * vc/diff.el (diff-use-labels): New variable.
3821         (diff-no-select): Use --label rather than -L, and first
3822         check that it is supported.  (Bug#11067)
3824         * files.el (enable-dir-local-variables): New variable.
3825         (hack-dir-local-variables): Respect enable-dir-local-variables.
3826         * tutorial.el (help-with-tutorial):
3827         Ignore directory-local variables.  (Bug#11127)
3829         * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3830         (vc-svn-global-switches): ... to here.  (Bug#13513)
3832 2013-02-10  Christopher Schmidt  <christopher@ch.ristopher.com>
3834         * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3835         Handle "foo (bar, default: xxx): " prompts.
3837 2013-02-10  Chong Yidong  <cyd@gnu.org>
3839         * files.el (basic-save-buffer-1): Do not set
3840         buffer-file-coding-system-explicit (Bug#4533).
3842         * mail/emacsbug.el (report-emacs-bug): Change binding of
3843         report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3845 2013-02-09  Jay Belanger  <jay.p.belanger@gmail.com>
3847         * calc/calc.el (calc-allow-units-as-numbers): New variable.
3848         * calc/calc-units.el (calc-convert-units): Use new variable.
3850 2013-02-09  Eli Zaretskii  <eliz@gnu.org>
3852         * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3854         * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3855         buffer-file-type.
3857         * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3858         (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3859         (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3860         coding-system-for-write instead.
3862         * jka-compr.el (jka-compr-write-region): Don't bind
3863         buffer-file-type.
3865         * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3866         buffer-file-type.
3868         * files.el (file-name-buffer-file-type-alist): Remove defvar.
3869         (insert-file-contents-literally): Remove reference to
3870         file-name-buffer-file-type-alist.
3872         * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3873         make-obsolete.
3874         (find-buffer-file-type-match, find-buffer-file-type): Remove.
3875         (find-buffer-file-type-coding-system): Remove references to
3876         find-buffer-file-type-match, find-buffer-file-type, and
3877         buffer-file-type.
3878         Don't put find-buffer-file-type-coding-system into
3879         file-coding-system-alist.
3880         (find-file-binary, find-file-text): Bind coding-system-for-read
3881         instead of file-name-buffer-file-type-alist.
3883 2013-02-09  Jambunathan K  <kjambunathan@gmail.com>
3885         * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3886         converter (Bug#13622).
3887         (doc-view-unoconv-program): Make obsolete alias.
3888         (doc-view-odf->pdf-converter-program): New variable.
3889         (doc-view-odf->pdf-converter-function): New variable.
3890         (doc-view-mode-p): Use it.
3891         (doc-view-odf->pdf-converter-unoconv):
3892         Rename from `doc-view-odf->pdf-converter-unoconv'.
3893         (doc-view-odf->pdf-converter-soffice): New function.
3894         (doc-view-convert-current-doc):
3895         Use `doc-view-odf->pdf-converter-function'.
3897 2013-02-09  Chong Yidong  <cyd@gnu.org>
3899         * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3900         view-echo-area-messages (Bug#13340).
3902         * help.el (view-echo-area-messages): Use display-buffer.
3904         * dired-x.el (dired-do-run-mail): Prompt for confirmation
3905         (Bug#13561).
3907 2013-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3909         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3910         Eval body right away, now that we do eager macroexpansion (bug#13605).
3912         * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3913         (fundamental-mode): Use run-mode-hooks.
3915         * eshell/esh-proc.el (eshell/kill): Fix last change.
3916         * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3918 2013-02-08  Aidan Gauland  <aidalgol@no8wireless.co.nz>
3920         * eshell/esh-proc.el (eshell/kill): Rewrite.
3922         * eshell/em-ls.el (show-almost-all): Declare.
3923         (eshell-do-ls): Add support for -A argument.
3925 2013-02-08  Jambunathan K  <kjambunathan@gmail.com>
3927         * icomplete.el (icomplete-forward-completions)
3928         (icomplete-backward-completions): Handle corner case (bug#13602).
3930 2013-02-07  Michael Albinus  <michael.albinus@gmx.de>
3932         * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3933         be nil.  Handle this.  (Bug#13636)
3935 2013-02-07  Richard Stallman  <rms@gnu.org>
3937         * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3938         `save-buffer-coding-system'.
3940 2013-02-07  Alan Mackenzie  <acm@muc.de>
3942         Fix bug in state cache mechanism.  Remove 'BOD "strategy".  Refactor.
3943         * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3944         (c-parse-state-get-strategy): Don't return 'BOD any more.
3945         (c-append-lower-brace-pair-to-state-cache):
3946         Extra parameter HERE instead of narrowing.
3947         Widen to top of buffer before searching backwards for a brace pair.
3948         (c-state-push-any-brace-pair): Add HERE parameter to function call.
3949         (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3950         Narrow to parameter HERE, in place of being called narrowed.
3951         (c-remove-stale-state-cache): Extra parameter HERE in place of
3952         narrowing.  Check there's an open brace in the cache before
3953         searching for its match.
3954         (c-invalidate-state-cache-1): Add HERE parameter to function call.
3955         (c-parse-state-1): Don't narrow here for 'forward strategy,
3956         instead passing extra parameter HERE to several functions.
3957         Remove 'BOD strategy.
3959 2013-02-06  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
3961         * emacs-lisp/package.el (describe-package-1): Tell what archive is
3962         used to install the package.
3964 2013-02-06  Glenn Morris  <rgm@gnu.org>
3966         * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3967         if we can't get user input.  (Bug#6567)
3969         * startup.el (command-line): If simple.el is missing,
3970         test and warn about for some possible causes.
3972 2013-02-05  Jan Djärv  <jan.h.d@swipnet.se>
3974         * cus-start.el (all): Add ns-use-native-fullscreen.
3976 2013-02-05  Glenn Morris  <rgm@gnu.org>
3978         * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3980         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3981         Fix directory creation in fallback case.
3983 2013-02-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3985         * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3986         (vc-update-change-log): Use dolist.
3988 2013-02-04  Chong Yidong  <cyd@gnu.org>
3990         * thingatpt.el: Rewrite the URL detection routines, absorbing some
3991         code from ffap.el.
3992         (thing-at-point-beginning-of-url-regexp): New var.
3993         (thing-at-point-uri-schemes): Update list of URI schemes.
3994         (thing-at-point-url-regexp): Variable deleted.
3995         (thing-at-point-markedup-url-regexp): Disallow newlines.
3996         (thing-at-point-newsgroup-regexp)
3997         (thing-at-point-newsgroup-heads)
3998         (thing-at-point-default-mail-uri-scheme): New variables.
3999         (thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
4000         method to find the possible bounds of the URI at point.
4001         New optional argument to find ill-formed URIs.
4002         (thing-at-point-url-at-point): Rewrite.  New arguments for finding
4003         ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
4004         the scheme-adding heuristics from ffap-url-at-point.
4005         (thing-at-point--bounds-of-well-formed-url): New function.
4006         Do parens matching to decide whether to include parens in the URI
4007         (Bug#9153).
4009         * ffap.el: Require thingatpt.
4010         (ffap-url-at-point): Delegate URI detection to thing-at-point.
4011         All URI-valid characters are now recognized (Bug#5673).
4012         (ffap-string-at-point): Use use-region-p.
4013         (ffap-url-regexp): Extra character is handled by thing-at-point.
4014         (ffap-string-at-point-mode-alist): Allow parentheses.
4015         (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
4016         Convert to aliases; code moved to thingatpt.el.
4017         (ffap-gnus-hook): Use setq-local.
4019 2013-02-04  Glenn Morris  <rgm@gnu.org>
4021         * emacs-lisp/ert.el (ert--explain-format-atom):
4022         Don't try to print non-characters as characters.  (Bug#13543)
4024 2013-02-03  Michael Albinus  <michael.albinus@gmx.de>
4026         * net/tramp.el (tramp-debug-message): Extend function exclude list.
4027         (tramp-backtrace): New defun.
4028         (tramp-handle-insert-file-contents): Use `visit' when inserting
4029         the local copy.
4031         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
4032         Use `remote-file-name-inhibit-cache'.
4034 2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4036         * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
4037         (bug#13614).
4039         * subr.el (internal--called-interactively-p--get-frame): Avoid filling
4040         current-load-list (bug#13366).
4042 2013-02-02  Christopher Schmidt  <christopher@ch.ristopher.com>
4044         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4045         Identify g++ template instantiation trace.  (Bug#12287)
4046         (compilation-mode-hook, compilation-start-hook)
4047         (compilation-window-height): Simplify docstrings.  (Bug#13379)
4049 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4051         * mouse.el (mouse-drag-track): Always deactivate the mark before
4052         running the final event's command since that command is in charge of
4053         activating the mark if needed (bug#13523).
4055 2013-02-02  Juri Linkov  <juri@jurta.org>
4057         * replace.el (perform-replace): Move let-bindings of isearch-*
4058         variables deeper to the loop that searches for the next match.
4059         Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
4060         Use `isearch-search-fun-default' instead of `isearch-search-fun'.
4061         (Bug#13579)
4063         * isearch.el (isearch-search-fun-default): Check for null
4064         first element of isearch-cmds as a precaution when it's used
4065         with inactive isearch.
4067 2013-02-02  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
4069         * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
4070         error when buffer in question is narrowed so position 1 is out of
4071         visible part.
4073 2013-02-02  Glenn Morris  <rgm@gnu.org>
4075         * textmodes/remember.el (remember-clipboard): Doc fix.
4077 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4079         * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
4080         properties (bug#13179).
4082 2013-02-02  Juri Linkov  <juri@jurta.org>
4084         * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
4085         instead of hard-coded default face `match'.  (Bug#9438)
4087 2012-02-01  Christopher Schmidt  <christopher@ch.ristopher.com>
4089         * vc/vc-arch.el (vc-arch-registered):
4090         * vc/vc-bzr.el (vc-bzr-registered):
4091         * vc/vc-cvs.el (vc-cvs-registered):
4092         * vc/vc-git.el (vc-git-registered):
4093         * vc/vc-hg.el (vc-hg-registered):
4094         * vc/vc-mtn.el (vc-mtn-registered):
4095         * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
4096         (Bug#13139)
4098         * info.el (Info-next-reference, Info-prev-reference): Add numeric
4099         prefix argument.  (Bug#11656)
4101 2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4103         * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
4105 2013-02-01  Glenn Morris  <rgm@gnu.org>
4107         * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
4108         if the backend is known not to support it.
4110         * imenu.el (imenu-default-create-index-function):
4111         Tweak infinite loop test to check for forward motion as well as none.
4113 2013-02-01  Alex Harsanyi  <AlexHarsanyi@gmail.com>
4115         * net/soap-client.el (soap-invoke): Encode the string for
4116         `url-request-data' as UTF-8.
4117         Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
4119 2013-02-01  Glenn Morris  <rgm@gnu.org>
4121         * calc/calc-help.el (calc-view-news): Use view-emacs-news.
4123         * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
4125 2013-01-31  Michael Albinus  <michael.albinus@gmx.de>
4127         * net/tramp.el (tramp-tramp-file-p): Comment check for
4128         `string-as-unibyte'.  The function does not exist on XEmacs, and
4129         likely we need another approach.
4131         * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
4132         `tramp-gw-*' variables are bound.
4134 2013-01-31  Glenn Morris  <rgm@gnu.org>
4136         * files.el (basic-save-buffer-2): Choose coding system for
4137         writing the file before backing it up, to reduce delay between
4138         backing up and writing the new version.  (Bug#13522)
4140 2013-01-31  Michal Nazarewicz  <mina86@mina86.com>
4142         * simple.el (cycle-spacing): New command.
4143         (just-one-space): Use it.
4145 2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4147         * progmodes/opascal.el: Rename from delphi.el.  Use lexical-binding.
4148         (opascal-newline-always-indents): Remove custom.
4149         (opascal-tab, opascal-newline): Remove commands.
4150         (opascal-new-comment-line): Insert "\n" instead of calling newline.
4151         (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
4152         (opascal-save-match-data): Remove, use save-match-data instead.
4153         (opascal-save-state): Use with-silent-modifications.
4155         * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
4156         (bug#13585).
4158 2013-01-30  Juri Linkov  <juri@jurta.org>
4160         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
4161         Use fullboth as an alias for fullscreen.  Suggested by Jan Djärv in
4162         <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
4164 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4166         * progmodes/make-mode.el (makefile-backslash-region): Don't compute
4167         column if we're just deleting the backslashes.
4168         (makefile-fill-paragraph): Use eolp.
4170 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
4172         * autorevert.el (auto-revert-use-notify): Fix docstring.
4174 2013-01-30  Leo Liu  <sdl.web@gmail.com>
4176         * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
4178 2013-01-30  Glenn Morris  <rgm@gnu.org>
4180         * mouse.el (mouse-drag-line): Avoid pushing same event onto
4181         unread-command-events twice in some cases.  This tries to implement
4182         the 2012-07-26 changes in a different way.  (Bug#13560)
4184 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
4186         * progmodes/python.el
4187         (python-pdbtrack-comint-output-filter-function): Enhancements on
4188         stacktrace detection.  (thanks @gnovak)
4190 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4192         * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
4193         (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
4194         Use defvar-local.
4195         (jit-lock-register): Use setq-local.
4197 2013-01-30  Jay Belanger  <jay.p.belanger@gmail.com>
4199         * calc-units.el (math-default-units-table): Remove initial value.
4200         (calc-convert-units): Treat expressions where all the units cancel as
4201         if they didn't have units.
4203 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
4205         * net/tramp.el (tramp-process-connection-type): Fix docstring.
4206         (tramp-completion-reread-directory-timeout): Fix type.
4207         (tramp-connection-min-time-diff): New defcustom.
4209         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
4211 2013-01-30  Glenn Morris  <rgm@gnu.org>
4213         * imenu.el (imenu-default-create-index-function):
4214         Put back a version of the infinite loop test removed 2013-01-23.
4216 2013-01-30  Fabián Ezequiel Gallina  <fgallina@cuca>
4218         * progmodes/python.el (python-shell-parse-command):
4219         Find python-shell-interpreter with modified environment.
4221 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4223         * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
4225 2013-01-29  Alan Mackenzie  <acm@muc.de>
4227         Amend to fontify /regexp/s in actions correctly.
4228         * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
4229         (c-awk-harmless-string*-here-re): Braces, parens and semicolons
4230         are no longer included.
4231         (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
4232         What used to be these variables without "-line" in the name.
4233         (c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
4234         (c-awk-non-arith-op-bra-re): Now also matches {.
4235         (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
4236         "return", and "case".
4237         (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
4238         by /.
4239         (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
4240         (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
4242 2013-01-29  Michael Albinus  <michael.albinus@gmx.de>
4244         * autorevert.el (auto-revert-use-notify):
4245         Use `custom-initialize-default' for initialization.  (Bug#13583)
4247         * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
4249         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4250         Catch `suppress'.  Otherwise, `tramp-run-real-handler' might be called
4251         in `tramp-file-name-handler'.
4252         (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
4253         compatibility.
4254         (tramp-compute-multi-hops): Check, whether
4255         `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
4257 2013-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4259         * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
4260         (bug#13297).
4262 2013-01-27  Dmitry Gutov  <dgutov@yandex.ru>
4264         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
4265         checks made superfluous by the \_< operator.
4266         * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
4267         temporarily) broken indentation.
4268         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4269         Highlight nested constants, too.  \_< broke that.
4271 2013-01-27  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4273         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
4274         instead of "\\b".
4276 2013-01-27  Michael Albinus  <michael.albinus@gmx.de>
4278         * autorevert.el (auto-revert-handler): Notifications which result
4279         from a saved file shall not be taken into account.  (Bug#13557)
4281 2013-01-26  Andreas Schwab  <schwab@linux-m68k.org>
4283         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
4284         parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
4285         (lisp-mode): Pass t for it.  (Bug#13556)
4287 2013-01-25  Alan Mackenzie  <acm@muc.de>
4289         AWK Mode: Fix indentation bug at top level.  Bug #12274.
4291         * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
4292         just before CASE 5D.
4294 2013-01-25  Dmitry Antipov  <dmantipov@yandex.ru>
4296         * net/socks.el (socks-nslookup-host): Use string-to-number.
4298 2013-01-25  Michael Albinus  <michael.albinus@gmx.de>
4300         * autorevert.el (auto-revert-remote-files)
4301         (auto-revert-notify-exclude-dir-regexp): New defcustoms.
4302         (auto-revert-notify-enabled, auto-revert-use-notify)
4303         (auto-revert-notify-watch-descriptor-hash-list)
4304         (auto-revert-notify-modified-p, auto-revert-notify-event-p)
4305         (auto-revert-notify-event-descriptor)
4306         (auto-revert-notify-event-action)
4307         (auto-revert-notify-event-file-name): Doc fix.
4308         (global-auto-revert-mode): Reorder checks.
4309         (auto-revert-notify-rm-watch): Respect changed values of
4310         `auto-revert-notify-watch-descriptor-hash-list'.
4311         (auto-revert-notify-add-watch): Check for
4312         `auto-revert-notify-exclude-dir-regexp'.  Adapt filters for
4313         `inotify-add-watch'.  Watch `default-directory' instead of
4314         `buffer-file-name'.  `auto-revert-notify-watch-descriptor-hash-list'
4315         has a changed meaning now.  (Bug#13540)
4316         (auto-revert-notify-handler): Change implementation wrt events
4317         returning from a directory.
4318         (auto-revert-handler): Reorder implementation for checks of remote
4319         files.
4320         (auto-revert-buffers): Fix parentheses error.
4322 2013-01-25  Fabián Ezequiel Gallina  <fgallina@cuca>
4324         * progmodes/python.el: Enhancements to header documentation about
4325         skeletons.  (Bug#5716)
4327         * imenu.el (imenu-default-create-index-function): Remove useless
4328         infinite loop check.  (Bug#13438)
4330 2013-01-25  Alan Mackenzie  <acm@muc.de>
4332         Fix a bug in the state cache mechanism.  Refactor this a bit.
4334         * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
4335         `cache-pos' element from the return value.
4336         (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
4337         buffer to enable proper searching from beyond HERE.  Amend the
4338         test for detecting the sought brace pair.  Amend the value written
4339         to the "brace desert cache" when the brace isn't found.
4340         (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
4341         and several other variables analogously.
4342         (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
4343         parameter to a locally calculated variable.
4344         (c-parse-state-1): Change the calling conventions to the two
4345         defuns involving `cache-pos'.
4347 2013-01-25  Chong Yidong  <cyd@gnu.org>
4349         * xml.el (xml-entity-or-char-ref-re): Fix regexp.
4351 2013-01-24  Aaron Ecay  <aaronecay@gmail.com>  (tiny change)
4353         * paren.el (show-paren-function): Make sure to set 'priority and
4354         'face only if the overlay does exist.
4356 2013-01-24  Michael Albinus  <michael.albinus@gmx.de>
4358         * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
4360         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
4361         basic attributes.
4362         (tramp-sh-handle-set-file-acl): Improve error checking.
4364 2013-01-24  Dmitry Antipov  <dmantipov@yandex.ru>
4366         * doc-view.el (doc-view-display): Force mode line update until all
4367         document is converted.  Suggested by Stefan Monnier (Bug#13164).
4369 2013-01-23  Bastien Guerry  <bzg@gnu.org>
4371         * paren.el (show-paren-function): Make sure an overlay exists
4372         before trying to delete it.  Also use `pos' as a position only
4373         when it is an integer.
4375 2013-01-23  Dmitry Antipov  <dmantipov@yandex.ru>
4377         * play/gametree.el (gametree-break-line-here): Use point-marker.
4379 2013-01-22  Michael Albinus  <michael.albinus@gmx.de>
4381         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4382         Mark descriptive parts with `display' property.
4384 2013-01-21  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4386         * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
4387         New variable to map standard dict names to hunspell ones.
4388         (ispell-set-spellchecker-params): Make sure specific dict names
4389         are used for standard dicts with hunspell.
4391 2013-01-21  Tassilo Horn  <tsdh@gnu.org>
4393         * textmodes/reftex-cite.el (reftex-format-citation): Add format
4394         chars for note (%N) and url (%U).
4395         * textmodes/reftex-vars.el (reftex-cite-format): Document them.
4397 2013-01-21  Juri Linkov  <juri@jurta.org>
4399         * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
4400         in addition to existing separate binding `meta f10' in `global-map'.
4401         (Bug#13484)
4403 2013-01-21  Michael Albinus  <michael.albinus@gmx.de>
4405         Improve XEmacs compatibility.
4407         * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
4409         * net/tramp-adb.el (top): Require `time-date'.
4410         (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
4411         (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
4412         Use `tramp-file-name-handler'.
4413         (tramp-adb-maybe-open-connection):
4414         Use `tramp-compat-set-process-query-on-exit-flag'.
4416         * net/tramp-sh.el (tramp-sh-handle-file-acl):
4417         Use `tramp-compat-funcall'.
4419         * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
4420         `tramp-compat-funcall'.
4422 2013-01-21  Jürgen Hötzel  <juergen@archlinux.org>
4424         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
4425         reimplementation using "adb shell command ..." instead of running
4426         remote shell interactively.
4428 2013-01-20  Glenn Morris  <rgm@gnu.org>
4430         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4431         Add native profiler menu entries.
4433         * profiler.el (profiler-running-p): New function.
4434         (profiler-cpu-profile): Use profiler-running-p.
4435         (profiler-report-mode-map): Add some more menu entries.
4437 2013-01-19  Glenn Morris  <rgm@gnu.org>
4439         * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4440         fixes 2012-12-07 change.  (Bug#13499)
4442 2013-01-19  Leo Liu  <sdl.web@gmail.com>
4444         * dired.el (dired-get-marked-files): Prune erroneous values due to
4445         last change.  (Bug#13152)
4447 2013-01-19  Glenn Morris  <rgm@gnu.org>
4449         * progmodes/etags.el (tags-table-check-computed-list):
4450         Preserve point in tags buffer.  (Bug#13412)
4452         * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4454 2013-01-19  Christian Wittern  <cwittern@gmail.com>  (tiny change)
4455             Chong Yidong  <cyd@gnu.org>
4457         * image-mode.el (image-next-file, image-previous-file):
4458         New commands (Bug#8453).
4459         (image-mode-map): Bind them to n and p.
4460         (image-mode--images-in-directory): New helper function.
4462 2013-01-19  Chong Yidong  <cyd@gnu.org>
4464         * image-mode.el (image-mode-fit-frame): Add a frame argument.
4465         Suggested by Drew Adams (Bug#7730).  Handle window decorations;
4466         save and restore the old window configuration.
4468 2013-01-18  Leo Liu  <sdl.web@gmail.com>
4470         * progmodes/js.el: Tweak autoload cookie for alias.
4472 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
4474         * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4475         buffer local, again.  This was lost with the fix on 2013-01-12.
4477 2013-01-17  Jürgen Hötzel  <juergen@archlinux.org>
4479         * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4480         order to support several eshell buffers in parallel.
4482 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
4484         * autorevert.el (auto-revert-use-notify): In the :set function, do
4485         not modify `kill-buffer-hook'.
4486         (auto-revert-notify-rm-watch):
4487         Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4488         (auto-revert-notify-add-watch): Do not call
4489         `auto-revert-notify-rm-watch', but add it to a buffer local
4490         `kill-buffer-hook'.
4492 2013-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4494         * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4495         call to `eval' rather than a backquoted lambda.
4497 2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4499         * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4500         to return an explicit nil.
4501         (advice--remove-function): Change accordingly.
4503         * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4504         the use of nadvice.el.
4506         * progmodes/which-func.el (which-function): Silence imenu errors
4507         (bug#13433).
4509 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
4511         * progmodes/sql.el (sql-imenu-generic-expression):
4512         (sql-mode-font-lock-object-name): Match schema qualified names.
4513         (sql-connect): Use string keys.
4514         (sql-product-interactive): Wait for interpreter prompt.
4515         (sql-comint-oracle): Set process coding based on NLS_LANG.
4517 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
4519         * progmodes/sql.el (sql-output-to-send): Remove, unused.
4520         (sql-interactive-remove-continuation-prompt):
4521         (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4523 2013-01-14  Leo Liu  <sdl.web@gmail.com>
4525         * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4526         (Bug#13420)
4528 2013-01-14  Glenn Morris  <rgm@gnu.org>
4530         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4531         Fix interpretation of gnu line.col1-col2 format.  (Bug#13335)
4533 2013-01-13  Fabián Ezequiel Gallina  <fgallina@cuca>
4535         * progmodes/python.el (python-nav-end-of-statement):
4536         Fix cornercase when handling multiline strings.
4538 2013-01-13  Richard Stallman  <rms@gnu.org>
4540         * mail/sendmail.el (mail-position-on-field): Add doc string.
4542         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4543         Get current message boundaries and pass them to
4544         message-forward-make-body-mime.  Minor style changes.
4546 2013-01-13  Eli Zaretskii  <eliz@gnu.org>
4548         * cus-start.el (all): Avoid warnings about
4549         scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4551 2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>
4553         * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4555 2013-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4557         * jit-lock.el (jit-lock-debug-mode): New minor mode.
4558         (jit-lock--debug-fontifying): New var.
4559         (jit-lock--debug-fontify): New function.
4560         * subr.el (condition-case-unless-debug): Don't prevent catching the
4561         error, just let the debbugger run.
4562         * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4563         timer code and don't drop errors silently.
4565 2013-01-12  Michael Albinus  <michael.albinus@gmx.de>
4567         * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4568         `permanent-local' property.
4569         (auto-revert-notify-handler): Use `file-equal-p'.
4571 2013-01-12  Eli Zaretskii  <eliz@gnu.org>
4573         * autorevert.el (auto-revert-notify-handler): Fix filtering of
4574         file notification by ACTION. For filtering by file name, compare
4575         only the non-directory part of the file name.
4577 2013-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4579         * autorevert.el: Use cl-lib instead of cl.
4581         * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4582         (vc-bzr-checkin): Use it.
4583         * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4584         will preserve match-data.
4586 2013-01-11  Felix H. Dahlke  <fhd@ubercode.de>
4588         * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4589         (js--declaration-keyword-re): New var.
4590         (js--multi-line-declaration-indentation): New function.
4591         (js--proper-indentation): Use it.
4593 2013-01-11  Aaron S. Hawley  <Aaron.Hawley@vtinfo.com>
4595         * calc/calc.el (calc-highlight-selections-with-faces)
4596          (calc-dispatch):
4597         * comint.el (comint-history-isearch-message):
4598         * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4599         * ffap.el (ffap-string-at-point-region, ffap-next)
4600         (ffap-string-at-point, ffap-string-around)
4601         (ffap-copy-string-as-kill, ffap-highlight-overlay)
4602         (ffap-literally):
4603         * font-lock.el (font-lock-keywords-alist)
4604         (font-lock-removed-keywords-alist):
4605         * help-mode.el (help-xref-symbol-regexp):
4606         * info.el (Info-find-emacs-command-nodes):
4607         * international/mule.el (add-to-coding-system-list):
4608         * isearch.el (isearch-message-function, isearch-fail-pos):
4609         * misearch.el (multi-isearch-next-buffer-function):
4610         * newcomment.el (comment-box):
4611         * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4612         (pr-setting-database):
4613         * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4614         (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4615         (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4616         (pike-font-lock-keywords-3):
4617         * progmodes/compile.el (compile):
4618         * progmodes/etags.el (tags-table-files)
4619         (tags-table-files-function, tags-included-tables-function):
4620         * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4621         (gdb-restore-windows):
4622         * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4623         (ps-n-up-filling-database):
4624         * server.el (server-buffer, server-log):
4625         * simple.el (newline, delete-backward-char, delete-forward-char)
4626         (minibuffer-history-isearch-message, kill-line, track-eol)
4627         (temporary-goal-column):
4628         * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4629         (flyspell-default-deplacement-commands):
4630         * textmodes/ispell.el (ispell-accept-output):
4631         * textmodes/sgml-mode.el (html-tag-help):
4632         * vc/compare-w.el (compare-ignore-whitespace)
4633         (compare-ignore-case, compare-windows-dehighlight):
4634         * vc/diff.el (diff):
4635         * whitespace.el (whitespace-point)
4636         (whitespace-font-lock-refontify, whitespace-bob-marker)
4637         (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4639 2013-01-11  Michael Albinus  <michael.albinus@gmx.de>
4641         * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4642         (auto-revert-notify-rm-watch): Ignore errors.
4643         (auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
4644         inotify, and '(size last-write-time) for w32notify.
4645         Set buffer-local `auto-revert-use-notify' to nil when adding a file
4646         watch fails - this is a fallback to the file modification check.
4647         (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4648         (auto-revert-notify-event-action)
4649         (auto-revert-notify-event-file-name): New defuns.
4650         (auto-revert-notify-handler): Use them.  Implement first
4651         plausibility checks.
4652         (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4654 2013-01-11  Julien Danjou  <julien@danjou.info>
4656         * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4657         max are almost equal. Also return the correct value for V which is
4658         already between 0 and 1.
4660 2013-01-11  Dmitry Antipov  <dmantipov@yandex.ru>
4662         * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4664 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
4666         * autorevert.el (auto-revert-notify-rm-watch)
4667         (auto-revert-notify-add-watch): Fix typos in w32notify function
4668         names.
4670 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
4672         * autorevert.el (auto-revert-notify-enabled): Move up.
4673         (auto-revert-use-notify): New defcustom.
4674         (auto-revert-mode, global-auto-revert-mode)
4675         (auto-revert-notify-add-watch, auto-revert-handler)
4676         (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4677         `auto-revert-notify-enabled'.
4679 2013-01-10  Elias Pipping  <pipping@exherbo.org>
4681         * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4682         * doc-view.el (doc-view-document->bitmap):
4683         Use doc-view-single-page-converter-function instead of
4684         single-page-converter arg; adjust callers.
4686 2013-01-10  Feng Li  <fengli@gmail.com>  (tiny change)
4688         * progmodes/which-func.el (which-function): Understand Semantic's use
4689         of overlays in imenu--index-alist.
4691 2013-01-10  Wolfgang Jenkner  <wjenkner@inode.at>
4693         * man.el: Handle different "man -k" behaviors (bug#13160).  Use utf-8.
4694         (Man-man-k-use-anchor): New var.
4695         (Man-parse-man-k): New function.
4696         (Man-completion-table): Use it.
4697         (man): Flush the completion cache between uses.
4699 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
4701         * autorevert.el: Add file watch support.
4702         (auto-revert-notify-enabled): New defconst.
4703         (auto-revert-notify-watch-descriptor-hash-list)
4704         (auto-revert-notify-watch-descriptor)
4705         (auto-revert-notify-modified-p): New defvars.
4706         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4707         (auto-revert-notify-handler): New defuns.
4708         (auto-revert-mode, global-auto-revert-mode): Remove file watches
4709         when mode is disabled.
4710         (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4711         (auto-revert-buffers): Add file watches for active buffers.
4713 2013-01-10  Dmitry Antipov  <dmantipov@yandex.ru>
4715         * cus-start.el (toplevel): Only allow float values for
4716         scroll-up-aggressively and scroll-down-aggressively.
4717         Allow any number for line-spacing.
4719 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4721         * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4722         (doc-view-pdf->png-converter-function): Use mupdf if available.
4723         (doc-view-djvu->png-converter-function)
4724         (doc-view-ps->png-converter-function): Remove.
4725         (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4726         (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4727         (doc-view-already-converted-p): Adjust accordingly.
4728         (doc-view-mode-p): Simplify.
4729         (doc-view-enlarge): Use setq-local.
4730         (doc-view-pdf->png-converter-ghostscript)
4731         (doc-view-djvu->png-converter-ddjvu)
4732         (doc-view-pdf->png-converter-mupdf): Rework to call
4733         doc-view-start-process directly.
4734         (doc-view-pdf/ps->png): Simplify accordingly.
4735         (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4736         (doc-view-document->bitmap): Rename from doc-view-document->png.
4737         (doc-view-convert-current-doc): Merge pdf and djvu cases.
4738         (doc-view-set-slice-from-bounding-box): Fix completion table.
4739         (doc-view-mode): Use add-hook for after-revert-hook.
4741 2013-01-10  Glenn Morris  <rgm@gnu.org>
4743         * emacs-lisp/authors.el (authors-ignored-files)
4744         (authors-valid-file-names, authors-renamed-files-alist):
4745         Add some more entries.
4747 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4749         * image-mode.el (image-mode-winprops): Don't throw away the fallback
4750         `t' pseudo-window entry.
4752 2013-01-10  Alan Mackenzie  <acm@muc.de>
4754         Fix bugs in the c-parse-state mechanism.  Reuse some markers
4755         instead of continually generating new ones.
4757         * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4758         (c-state-old-cpp-end-marker): New variables.
4759         (c-append-lower-brace-pair-to-state-cache): Start a backward
4760         search for "}" definitively outside CPP constructs.
4761         (c-remove-stale-state-cache): Inform the caller of a need to
4762         search back for a brace pair in certain circumstances.
4763         (c-state-maybe-marker): New macro.
4764         (c-parse-state): Reuse markers when appropriate.
4766 2013-01-10  Glenn Morris  <rgm@gnu.org>
4768         * simple.el (execute-extended-command): Doc fix.
4769         Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)
4771 2013-01-10  Chong Yidong  <cyd@gnu.org>
4773         * faces.el (read-face-name): Doc fix.
4775 2013-01-10  Roland Winkler  <winkler@gnu.org>
4777         * emacs-lisp/crm.el: Allow any regexp for separators.
4778         (crm-default-separator): All spaces around the default comma separator.
4779         (crm--completion-command): New macro.
4780         (crm-completion-help, crm-complete, crm-complete-word): Use it.
4781         (crm-complete-and-exit): Handle non-single-char separators.
4783 2013-01-09  Elias Pipping  <pipping@lavabit.com>
4785         * doc-view.el: Add support for DjVu (bug#13164).
4786         (doc-view-djvu->png-converter-function): New config var.
4787         (doc-view-single-page-converter-function, doc-view--image-type)
4788         (doc-view--image-file-extension): New vars.
4789         (doc-view-mode): Initialize them.
4790         (doc-view-goto-page): Use them.
4791         (doc-view-mode-p): Add support for ddjvu.
4792         (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4793         (doc-view-set-up-single-converter): New funs.
4794         (doc-view-pdf/ps->png): Extend for djvu.
4795         (doc-view-document->png): Rename from doc-view-pdf->png.
4796         (doc-view-convert-current-doc): Handle djvu.
4797         (doc-view-insert-image, doc-view-display)
4798         (doc-view-already-converted-p): Don't hardcode png.
4799         (doc-view-set-doc-type): Recognize djvu docs.
4801 2013-01-09  Elias Pipping  <pipping@lavabit.com>
4803         * doc-view.el: Add support for mupdf converter (bug#13164).
4804         (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4805         (doc-view-ps->png-converter-function): New config vars.
4806         (doc-view-pdf->png-converter-ghostscript)
4807         (doc-view-ps->png-converter-ghostscript)
4808         (doc-view-pdf->png-converter-mupdf): New functions.
4809         (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4811 2013-01-09  Jürgen Hötzel  <juergen@archlinux.org>
4813         * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4814         first in session cache: When `tramp-own-remote-path' is in
4815         `tramp-remote-path', the remote path is only set in the session
4816         cache.
4818 2013-01-09  Glenn Morris  <rgm@gnu.org>
4820         * emacs-lisp/trace.el (trace-function-foreground)
4821         (trace-function-background): Doc fix.
4823 2013-01-09  Juri Linkov  <juri@jurta.org>
4825         * international/mule-cmds.el (read-char-by-name): Move let-binding
4826         of completion-ignore-case around completing-read to fix regression
4827         exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4828         `string-match-p' using the nil value of `case-fold-search' and
4829         `completion-ignore-case' in `completion-pcm--all-completions'.
4830         (Bug#12615).
4832 2013-01-09  Glenn Morris  <rgm@gnu.org>
4834         * progmodes/compile.el (compilation-parse-errors):
4835         Fix typo.  (Bug#13369)
4837 2013-01-09  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
4839         * comint.el (comint-send-input): Check size of buffer before
4840         waiting for process output, in case already accepted.  (Bug#13290)
4842 2013-01-09  Paul Eggert  <eggert@cs.ucla.edu>
4844         Spelling fixes.
4845         * net/tramp-adb.el (tramp-adb-get-toolbox):
4846         Fix misspelling of 'unknown'.
4848 2013-01-08  Juri Linkov  <juri@jurta.org>
4850         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4851         * progmodes/flymake.el (flymake-errline, flymake-warnline):
4852         Use underline style wave on terminals that support it.  (Bug#13000)
4854 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4856         * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4857         the predicate returns nil.
4859         * simple.el: Use lexical-binding.
4860         (primitive-undo): Use pcase.
4861         (minibuffer-history-isearch-push-state): Use a closure.
4863 2013-01-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4865         * simple.el (primitive-undo): Move from undo.c.
4867 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4869         * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4870         (cvs-mode-remove-handled): Use it (bug#13380).
4872         * emacs-lisp/nadvice.el (advice--tweak): New function.
4873         (advice--remove-function, advice--subst-main): Use it.
4875         * emacs-lisp/advice.el: Update commentary.
4877 2013-01-08  Michael Albinus  <michael.albinus@gmx.de>
4879         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4880         Remove spurious entry.
4882 2013-01-08  Glenn Morris  <rgm@gnu.org>
4884         * net/tramp.el (tramp-default-host-alist): Add :version.
4886 2013-01-08  Juri Linkov  <juri@jurta.org>
4888         * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4889         single completion.  (Bug#12456)
4890         (info--manual-names): Expand node completions into an explicit list
4891         before appending it to another list.  Filter out internal buffers
4892         with the leading space in the buffer name.  (Bug#10771)
4894 2013-01-08  Juri Linkov  <juri@jurta.org>
4896         * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4897         that defaults to the Top node.
4898         (Info-goto-node, Info-read-node-name): Doc fix to mention that
4899         the short format (FILENAME) goes to the Top node.
4900         (Info-build-node-completions): Rename arg `file' to `filename'.
4901         (Bug#13365)
4903 2013-01-07  Bastien Guerry  <bzg@gnu.org>
4905         * menu-bar.el (menu-bar-search-documentation-menu):
4906         Use `apropos-user-option' and fix the help message.
4908 2013-01-07  Bastien Guerry  <bzg@gnu.org>
4910         * apropos.el (apropos-do-all): Update docstring.
4911         (apropos-user-option-button): New face.
4912         (apropos-user-option): Rename from `apropos-variable' and update
4913         docstring.
4914         (apropos-variable): Rewrite, now show all variables by default.
4915         (apropos-print): Mention "User option" instead of "Variable" when
4916         printing doc for user options.  (Bug#13276)
4918 2013-01-07  Jürgen Hötzel  <juergen@archlinux.org>
4920         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4921         Handle filename correctly, when parsing "source -> target" symlink
4922         output.
4923         (tramp-adb-handle-set-file-times): New defun.
4925 2013-01-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4927         * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4928         advice list when the interactive-spec of ad-Advice-* changes.
4930 2013-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>
4932         * wid-edit.el (widget-default-get): Work for inlined elements.
4933         (Bug#12670)
4935 2013-01-07  Michael Albinus  <michael.albinus@gmx.de>
4937         * net/tramp.el (tramp-default-host-alist): New defcustom.
4938         (tramp-find-host): Use it.
4939         (tramp-eshell-directory-change): Move from tramp-sh.el.  Add to
4940         `eshell-directory-change-hook'.
4942         * net/tramp-adb.el (top): Add adb specific entry in
4943         `tramp-default-host-alist'.
4944         (tramp-adb-file-name-host): Remove function.
4945         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4946         Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4948         * net/tramp-sh.el: Move eshell integration code to tramp.el.
4950 2013-01-06  Jürgen Hötzel  <juergen@archlinux.org>
4952         * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4954 2013-01-06  Michael Albinus  <michael.albinus@gmx.de>
4956         * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4957         consist of more than one digit.
4958         (tramp-adb-file-name-handler-alist):
4959         Use `tramp-handle-file-exists-p' consistently.
4960         (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4961         (tramp-adb-handle-file-exists-p): Remove function.
4962         (tramp-adb-file-name-host): New defun.
4963         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4964         Use it.
4965         (tramp-adb-maybe-open-connection): Set "remote-path" property.
4967 2013-01-06  Chong Yidong  <cyd@gnu.org>
4969         * vc/vc.el (vc-next-action): Detect buffer modifications
4970         conflicting with locking VCS operation (Bug#11490).
4972         * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4974 2013-01-05  Michael Albinus  <michael.albinus@gmx.de>
4976         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4977         (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4979 2013-01-05  Jürgen Hötzel  <juergen@archlinux.org>
4981         * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4982         parsing of ls output using regular expression (handle filenames
4983         with spaces).  Use virtual device number.
4984         (tramp-do-parse-file-attributes-with-ls): New defun (Code
4985         cleanup).
4987 2013-01-04  Daiki Ueno  <ueno@gnu.org>
4989         * epg.el: Silence byte-compiler warnings.
4990         (epg--start): Use delete-char instead of delete-backward-char.
4991         (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4993 2013-01-04  Daiki Ueno  <ueno@gnu.org>
4995         * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4996         Suggested by Eli Zaretskii  <eliz@gnu.org>.
4998 2013-01-04  Michael Albinus  <michael.albinus@gmx.de>
5000         * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
5001         non-negative integers.  Otherwise, the default values are used.
5002         (tramp-convert-file-attributes): Convert uid and gid to integers.
5004 2013-01-04  Glenn Morris  <rgm@gnu.org>
5006         * term.el (term-handle-colors-array): Ensure face attributes
5007         are fully specified, not nil.  (Bug#13337)
5009         * term.el (term-default-fg-color, term-default-bg-color):
5010         Fix custom type.
5012         * progmodes/etags.el (tags-compression-info-list): Doc fix.
5013         (tag-find-file-of-tag-noselect): Check auto-compression-mode
5014         rather than 'jka-compr being loaded.  (Bug#13338)
5016 2013-01-04  Wesley Dawson  <whd@lavabit.com>  (tiny change)
5018         * icomplete.el (icomplete-completions):
5019         Honor icomplete-prospects-height once more following
5020         2012-11-29 changes.  (Bug#13224)
5022 2013-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5024         * subr.el (internal--called-interactively-p--get-frame): Find aliases
5025         of called-interactively-p as well (bug#13237).
5027         * view.el (view--enable, view--disable): Rename from view-mode-enable
5028         and view-mode-disable and assume it's called from view-mode.
5029         (view-mode-enable, view-mode-disable): Redefine as obsolete
5030         compatibility layer above view-mode.
5031         (view-mode-enter): Call `view-mode'.
5033         * files.el (after-find-file): Call `view-mode'.
5035         * doc-view.el (doc-view-scale-internally): New var.
5036         (doc-view-enlarge, doc-view-insert-image): Obey it.
5038 2013-01-03  Daiki Ueno  <ueno@gnu.org>
5040         * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
5041         exist.  (Bug#13344)
5043 2013-01-03  Glenn Morris  <rgm@gnu.org>
5045         * mail/rmail.el (rmail-set-header-1): Ignore case.
5046         Handle multi-line headers.  (Bug#13330)
5048         * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
5049         Handle paragraph starting at beginning of buffer.
5051         * subr.el (eval-after-load): Don't purecopy the form, so that it
5052         can be nconc'd later on; reverts 2009-11-11 change.  (Bug#13331)
5054         * emacs-lisp/byte-run.el (defun): Place cl declarations
5055         after any interactive spec.  (Bug#13265)
5057 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
5059         * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
5060         defun.  Don't check for DECL if DOCSTRING isn't a string.
5061         (defun): Likewise.
5063 2013-01-02  Glenn Morris  <rgm@gnu.org>
5065         * eshell/em-cmpl.el (eshell-pcomplete):
5066         More thoroughly imitate pcomplete.  (Bug#13293)
5068         * files.el (parse-colon-path): Doc fix.  (Bug#12351)
5069         Return nil for empty path elements.  (Bug#13296)
5071 2013-01-02  Fabián Ezequiel Gallina  <fgallina@cuca>
5073         * progmodes/python.el (python-nav-end-of-statement): Rewrite in
5074         order to improve efficiency (Based on Daniel Colascione's
5075         <dancol@dancol.org> patch).  (Bug#13182)
5077 2013-01-02  Glenn Morris  <rgm@gnu.org>
5079         * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
5081 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
5083         * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
5084         neither DOCSTRING nor DECL was given.  (Bug#13316)
5086 2013-01-02  Michael Albinus  <michael.albinus@gmx.de>
5088         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
5089         `error' call.
5090         (tramp-do-copy-or-rename-file): Ignore errors when calling
5091         `set-file-extended-attributes'.
5093         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5094         Add handler for `file-acl'.
5095         (tramp-smb-handle-file-acl): New defun.
5097 2013-01-02  Jay Belanger  <jay.p.belanger@gmail.com>
5099         * calc/README: Mention ISO 8601 week-numbering dates.
5101 2013-01-01  Martin Rudalics  <rudalics@gmx.at>
5103         * view.el (view-mode-enable): New argument run-view-mode-hook.
5104         Run view-mode-hook only when it's non-nil (Bug#13315).
5105         (view-mode-enter): Call view-mode-enable with run-view-mode-hook
5106         argument t.
5108 2012-12-31  Jürgen Hötzel  <juergen@archlinux.org>
5110         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
5111         (No device connected, invalid device name). (Bug #13299)
5113 2012-12-31  Martin Rudalics  <rudalics@gmx.at>
5115         * window.el (window-resizable--p): Rename to window-resizable-p.
5116         (window-resize-no-error): New function.
5118         * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
5119         broken in fix from 2012-12-28.
5121 2012-12-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5123         * subr.el (special-form-p): Don't signal errors on undef aliases.
5125 2012-12-31  Jay Belanger  <jay.p.belanger@gmail.com>
5127         * calc/calc-forms.el (math-parse-date): Try using
5128         `math-parse-iso-date' when it looks like it might be needed.
5129         Allow times of 24:00.
5130         (math-parse-date-validate, math-parse-iso-date-validate): Allow times
5131         of 24:00.
5133 2012-12-30  Glenn Morris  <rgm@gnu.org>
5135         * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
5136         Remove unnecessary/buggy autoloads (missing interactive).  (Bug#13294)
5137         (rmail-summary-displayed, rmail-summary): Declare.
5138         (mairix-rmail-display): Just require rmail.
5140 2012-12-30  Chong Yidong  <cyd@gnu.org>
5142         * emacs-lisp/package.el (package-untar-buffer): Improve integrity
5143         check for the tarball contents.
5145 2012-12-30  Matt Fidler  <matt.fidler@alcon.com>  (tiny change)
5147         * emacs-lisp/package.el (package-untar-buffer): Handle problematic
5148         tarfile content listings (Bug#13136).
5150 2012-12-30  Mark Lillibridge  <mark.lillibridge@hp.com>
5152         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5153         Insert the undecoded text of the message being forwarded.  (Bug#9521)
5155 2012-12-30  Michael Albinus  <michael.albinus@gmx.de>
5157         * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
5158         integers, if they are real numbers.  (Bug#13282)
5160         * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
5161         Return `t' on success.
5163         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5164         Add handler for `set-file-selinux-context'.
5166 2012-12-29  Michael Albinus  <michael.albinus@gmx.de>
5168         * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
5169         (tramp-sh-handle-set-file-acl): Return `t' on success.
5171 2012-12-29  Eli Zaretskii  <eliz@gnu.org>
5173         * files.el (backup-buffer-copy, basic-save-buffer-2):
5174         If set-file-extended-attributes fails, fall back on set-file-modes
5175         instead of signaling an error.  (Bug#13298)
5176         (basic-save-buffer): Likewise.
5178 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
5180         * progmodes/python.el: Support other commands triggering
5181         python-indent-line so indentation cycling continues to work.
5182         (python-indent-trigger-commands): New defcustom.
5183         (python-indent-line): Use it.
5185 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
5187         * progmodes/python.el (python-shell-send-region): Add blank lines
5188         for non sent code so backtraces remain correct.
5190 2012-12-29  Fabián Ezequiel Gallina  <fgallina@cuca>
5192         * progmodes/python.el: Remove cl dependency.
5193         (python-syntax-count-quotes): Replace incf call.
5194         (python-fill-string): Replace setf call.
5196 2012-12-29  Damien Cassou  <damien.cassou@gmail.com>
5198         * info.el (info-other-window): New arg, for consistency with info.
5200 2012-12-28  Martin Rudalics  <rudalics@gmx.at>
5202         * mail/rmail.el (rmail-maybe-display-summary):
5203         Rewrite (Bug#13066).
5205 2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>
5207         * epg.el (epg--start): Modify process-environment locally.
5209 2012-12-28  Daiki Ueno  <ueno@gnu.org>
5211         * epg.el: Support pinentry-curses.
5212         Suggested by Werner Koch in
5213         <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
5214         (epg-agent-file, epg-agent-mtime): New variable.
5215         (epg--start): Record the modified time of gpg-agent socket file,
5216         to restore Emacs frame after pinentry-curses termination.
5217         (epg-wait-for-completion): Restore Emacs frame here.
5219 2012-12-27  Juri Linkov  <juri@jurta.org>
5221         * info.el (Info-file-completions): New variable.
5222         (Info-read-node-name-1): Complete node names in the Info file
5223         when a file name is given.  Call `Info-build-node-completions'
5224         with a file name.
5225         (Info-build-node-completions): Add new arg `file'.  When it is
5226         non-nil, visit it in a temporary buffer and cache its completions in
5227         `Info-current-file-completions'.  Move most of the function body to
5228         `Info-build-node-completions-1'.
5229         (Info-build-node-completions-1): New function with the body from
5230         `Info-build-node-completions'.  (Bug#12456)
5232 2012-12-27  Juri Linkov  <juri@jurta.org>
5234         * frame.el (frame-maximization-style): Remove user option.
5235         (cycle-frame-maximized): Remove function.
5236         (toggle-frame-maximized): Rewrite and bind to M-<f10>.
5237         (toggle-frame-fullscreen): New command bound to <f11> instead of
5238         `toggle-frame-maximized'.
5239         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
5241 2012-12-27  Michael Albinus  <michael.albinus@gmx.de>
5243         * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
5245         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5246         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5247         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5248         for `file-accessible-directory-p'.  (Bug#13275)
5250 2012-12-27  Sam Steingold  <sds@gnu.org>
5252         * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
5253         continuations, see <http://stackoverflow.com/questions/3582436>.
5255 2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
5257         * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
5258         "module" and "def" to have indentation before them.
5259         Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
5261         * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
5263 2012-12-27  Alan Mackenzie  <acm@muc.de>
5265         Speed up fontification where there's large brace blocks.
5266         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
5267         to a call of c-beginning-of-decl-1.
5269 2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
5271         * comint.el (comint-adjust-window-point): New function.
5272         (comint-postoutput-scroll-to-bottom):
5273         Call comint-adjust-window-point (Bug#13248).
5275 2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
5277         * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
5278         Rakefile regexp.
5279         (auto-mode-alist): Associate .gemspec files with ruby-mode
5280         (https://bugs.ruby-lang.org/issues/5453).
5282 2012-12-26  Jürgen Hötzel  <juergen@archlinux.org>
5284         * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
5285         Suppress coloring, if possible (required for BusyBox based systems like
5286         CyanogenMod).
5287         (tramp-adb-handle-file-attributes)
5288         (tramp-adb-handle-insert-directory)
5289         (tramp-adb-handle-file-name-all-completions): Use it.
5290         (tramp-adb-get-toolbox): New defun.  Check for remote shell
5291         implementation (BusyBox or Toolbox).
5293 2012-12-24  Constantin Kulikov  <zxnotdead@gmail.com>  (tiny change)
5295         * startup.el (initial-buffer-choice): Allow function as value
5296         (Bug#13251).
5297         (command-line-1): Handle case where initial-buffer-choice
5298         specifies a function.
5299         * server.el (server-execute): Handle case where
5300         initial-buffer-choice specifies a function.
5302 2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
5304         * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
5305         its own function.
5306         (smtpmail-try-auth-methods): Forget the user name/password if the
5307         login is unsuccessful (bug#12424).
5309 2012-12-22  Michael Albinus  <michael.albinus@gmx.de>
5311         * notifications.el (notifications-notify): Protect body with
5312         `with-demoted-errors'.
5314         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5315         Check properties of remote device.  Restart connection, if there is a
5316         change.
5318 2012-12-21  Chong Yidong  <cyd@gnu.org>
5320         * sort.el (sort-subr): Doc fix (Bug#13056).
5322 2012-12-21  Bastien Guerry  <bzg@gnu.org>
5324         * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
5326 2012-12-21  Michael Albinus  <michael.albinus@gmx.de>
5328         * simple.el (process-file): Overwrite stderr file, if exists.
5330 2012-12-21  Daiki Ueno  <ueno@gnu.org>
5332         * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
5333         (epg-error): Set `error-message' property.
5335 2012-12-21  Chong Yidong  <cyd@gnu.org>
5337         * international/mule-cmds.el (read-char-by-name): Signal an error
5338         if the user does not supply a valid character (Bug#13177).
5340         * simple.el (transpose-subr-1): Preserve marker positions by
5341         changing the insertion sequence (Bug#13122).
5343 2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
5345         * simple.el (kill-region): Deactivate mark even for empty regions
5346         (Bug#13169).
5348 2012-12-21  Chong Yidong  <cyd@gnu.org>
5350         * help-fns.el (describe-variable): Make sure we get the right
5351         buffer name (Bug#13105).  Suggested by Kelly Dean.
5353 2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>
5355         * comint.el (comint-redirect-previous-input-string): New variable.
5356         (comint-redirect-setup, comint-redirect-cleanup)
5357         (comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
5358         (comint-redirect-preoutput-filter): Fix verbose message.
5360 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
5362         * progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
5363         is too long for Tramp.  See discussion in
5364         <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
5366         * progmodes/compile.el (compilation-start): Remove line escape
5367         template.
5369 2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
5371         * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
5372         Adjust comment.
5374 2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
5376         * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
5377         following non-comment text (bug#13207).
5378         (lm-header-multiline): Continuation lines need to be indented more than
5379         the first line.
5380         (lm-homepage): New function.
5381         (lm-with-file): Don't be confused if narrowing is in effect.
5383 2012-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5385         * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
5386         very beginning of a hunk (e.g. killing the first line).
5388 2012-12-19  Michael Albinus  <michael.albinus@gmx.de>
5390         * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
5391         and text properties from returned ACL string.
5392         (tramp-sh-handle-set-file-acl): Do not use additional parentheses
5393         for "setfacl" command.
5395 2012-12-18  Michael Albinus  <michael.albinus@gmx.de>
5397         * net/tramp.el (tramp-error-with-buffer): Give a hint to use
5398         `tramp-cleanup-this-connection', when the process has died.
5399         (Bug#13151)
5401 2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5403         * icomplete.el (icomplete-completions): Also use â€¦ to truncate prefix.
5405 2012-12-17  Kevin Ryde  <user42@zip.com.au>
5407         * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
5409 2012-12-17  Michael Albinus  <michael.albinus@gmx.de>
5411         Add support for preserving ACL entries of files.
5413         * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
5414         `set-file-acl' handlers.
5416         * net/tramp-adb.el (tramp-adb-handle-copy-file):
5417         Handle PRESERVE-EXTENDED-ATTRIBUTES.
5419         * net/tramp-compat.el (tramp-compat-copy-file):
5420         Handle PRESERVE-EXTENDED-ATTRIBUTES.
5422         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5423         Add `file-acl' and `set-file-acl' handlers.
5424         (tramp-gvfs-handle-copy-file):
5425         Handle PRESERVE-EXTENDED-ATTRIBUTES.
5426         (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
5427         New defuns.
5429         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5430         Add `file-acl' and `set-file-acl' handlers.
5431         (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5432         (tramp-sh-handle-set-file-acl): New defuns.
5433         (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5434         Handle PRESERVE-EXTENDED-ATTRIBUTES.
5436         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5437         Add `file-acl' and `set-file-acl' handlers.
5438         (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5440 2012-12-17  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
5442         * help-macro.el (make-help-screen): Instead of switch-to-buffer
5443         use pop-to-buffer with NORECORD argument t.  As buffer name, use
5444         *Metahelp* with a leading space (Bug#13190).
5446 2012-12-16  Romain Francoise  <romain@orebokech.com>
5448         * files.el (file-extended-attributes)
5449         (set-file-extended-attributes): New functions.
5450         (backup-buffer): Use them to handle both SELinux context and ACL
5451         entries.
5452         (backup-buffer-copy): Work with an alist of extended attributes,
5453         rather than an SELinux context.
5454         (basic-save-buffer-2): Ditto.
5456 2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>
5458         * battery.el (battery-bsd-apm): New function.
5460 2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>
5462         * calc/calc.el (calc-standard-date-formats): Adjust one of the
5463         standard date formats.
5465 2012-12-15  Juri Linkov  <juri@jurta.org>
5467         * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5468         `isearch-insert-char-by-name'.
5469         (with-isearch-suspended): New defmacro with body mostly from
5470         `isearch-edit-string' except the part that sets
5471         `isearch-new-string' and `isearch-new-message'.
5472         (isearch-edit-string): Use new macro `with-isearch-suspended' with
5473         body that sets `isearch-new-string' and `isearch-new-message'.
5474         (isearch-insert-char-by-name): New command.
5475         * international/mule-cmds.el (read-char-by-name): Let-bind
5476         `enable-recursive-minibuffers' to t.
5477         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5479 2012-12-15  Juri Linkov  <juri@jurta.org>
5481         * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5482         (Bug#13175)
5484 2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>
5486         * dired-x.el (dired-guess-shell-command): Put colon at the end of
5487         the prompt.  (Bug#13045)
5489 2012-12-14  Glenn Morris  <rgm@gnu.org>
5491         * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5492         Try to include filename in non-bytecomp warning.  (Bug#13132)
5494 2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>
5496         Fix permissions bugs with setgid directories etc. (Bug#13125)
5497         * files.el (backup-buffer): Don't rely on 9th output of
5498         file-attributes, as it's now a placeholder.  Instead, use the new
5499         optional arg of file-ownership-preserved-p.
5500         (file-ownership-preserved-p): New optional arg GROUP.
5501         Fix mishandling of setuid directories that would cause this
5502         function to return t when it should have returned nil.
5503         Document what happens if the file does not exist, and when
5504         it's not known whether the ownership will be preserved.
5505         * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5506         Likewise.
5507         (tramp-get-local-gid): Use group-gid for integer, as that's
5508         faster and more reliable.
5510 2012-12-14  Julien Danjou  <julien@danjou.info>
5512         * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5513         Update keywords list, data type and PL/pgSQL.
5515 2012-12-14  Dave Abrahams  <dave@boostpro.com>
5517         * vc/ediff-util.el (ediff-buffer-type): New function.
5518         (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5519         rather than taking it as as argument.
5520         (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5522 2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>
5524         * json.el: Add pretty-print option (bug#12634).
5525         (json-encoding-separator, json-encoding-default-indentation)
5526         (json--encoding-current-indentation, json-encoding-pretty-print)
5527         (json-encoding-lisp-style-closings): New vars.
5528         (json--with-indentation): New macro.
5529         (json-encode-hash-table, json-encode-alist, json-encode-plist)
5530         (json-encode-array): Use it to obey json-encoding-pretty-print.
5531         (json-pretty-print-buffer, json-pretty-print): New commands.
5533 2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
5535         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5536         Extract `ruby-syntax-propertize-expansions'.
5537         (ruby-syntax-propertize-expansions): Only change syntax on
5538         certain string delimiters, to punctuation.  This way the common
5539         functions like forward-word and thing-at-point still work.
5540         (ruby-match-expression-expansion): Improve readability.
5541         (ruby-block-contains-point): New function.
5542         (ruby-add-log-current-method): Handle several edge cases.
5544 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
5546         * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5547         unload-feature finishes even when aborting an ongoing edebug session.
5548         Also, do not worry about edebug-mode, unload-feature takes care of it.
5550 2012-12-13  Andreas Schwab  <schwab@suse.de>
5552         * net/tls.el (tls-program): Update customize type.
5554 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
5556         * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5557         (edebug-setup-hook, cl-read-load-hooks): Use it.
5558         (edebug-unload-function): New function.  (Bug#13163)
5560 2012-12-13  Michael Albinus  <michael.albinus@gmx.de>
5562         * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5563         Otherwise, there could be errors in autoloading.  (Bug#13151)
5565 2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>
5567         * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5568         sequences.
5570 2012-12-13  Alan Mackenzie  <acm@muc.de>
5572         Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
5573         * progmodes/cc-engine.el (c-backward-comments): Add code to work
5574         around `forward-comment' not recognizing ^M as whitespace.
5576 2012-12-13  Fabián Ezequiel Gallina  <fgallina@cuca>
5578         * progmodes/python.el (python-skeleton-class)
5579         (python-skeleton-def): Do not add space after defun name.
5581 2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5583         * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5584         (cl--symbol-function): Remove (now that funbound is like nil).
5586 2012-12-12  Glenn Morris  <rgm@gnu.org>
5588         * button.el (button--area-button-p): Fix typo.
5590 2012-12-12  Sam Steingold  <sds@gnu.org>
5592         * frame.el (frame-maximization-style): New user option.
5593         (toggle-frame-maximized): Toggle frame maximization according to
5594         `frame-maximization-style', bound to <f11>.
5595         (cycle-frame-maximized): Cycle between all maximization styles and
5596         non-maximized frame, bound to shift-<f11>.
5598 2012-12-12  David Cadé  <codename68@gmail.com>
5600         * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5602 2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>
5604         * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5605         (eieio-override-prin1): Don't quote kewords and booleans.
5606         (object-write) <eieio-default-superclass>: Don't put closing parens
5607         on new line, avoid needless empty lines, align values that are objects
5608         with the slot keyword (instead of beginning on the same line).
5609         (eieio-list-prin1): Align value with slot keyword; increase
5610         eieio-print-depth before printing members of the list.
5612 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5614         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5615         a display text-property.
5616         (report-emacs-bug-hook): Don't bother deleting it any more.
5618         * hilit-chg.el (highlight-save-buffer-state): Delete.
5619         Use with-silent-modifications instead.
5620         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5622         * button.el: Handle buttons in display text-properties.
5623         (button--area-button-p, button--area-button-string):
5624         Use (STRING . STRING-POS) representation instead of just STRING.
5626 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
5628         * makefile.w32-in (compile4-SH): Fix a typo that caused term
5629         subdirectory be skipped.
5631 2012-12-11  Glenn Morris  <rgm@gnu.org>
5633         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5635         * progmodes/f90.el (f90-line-continued, f90-indent-region):
5636         Treat preprocessor lines embedded in continuations like comments.
5637         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
5639 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
5641         * calc/calc.el (calc-standard-date-formats): Add more date
5642         formats.
5643         * calc/calc-forms.el (math-parse-iso-date): New function.
5644         (math-parse-date): Use `math-parse-iso-date' when appropriate.
5645         (math-parse-iso-date-validate): Add extra error checking.
5646         (calc-date-notation): Add ability to access new date formats.
5648 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5650         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5651         font-lock as well as when there's no text-property.
5653 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
5655         * hi-lock.el: Refine the choice of default face.
5656         (hi-lock-keyword->face): New function.  Use it wherever we used
5657         cadadadr instead.
5658         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5659         (hi-lock--last-face): Remove var.
5660         (hi-lock--unused-faces): New var to replace it.
5661         (hi-lock-read-face-name): Use/maintain it.
5662         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
5663         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5664         if it has another face.
5666 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
5668         * subr.el (w32notify-handle-event): New function.
5669         (inotify-handle-event): Doc fix.
5671 2012-12-10  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5673         * subr.el (inotify-event-p, inotify-handle-event): New functions.
5675 2012-12-10  Dani Moncayo  <dmoncayo@gmail.com>
5677         * simple.el (just-one-space): Doc fix.
5679 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
5681         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5683 2012-12-10  Le Wang  <l26wang@gmail.com>
5685         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5686         narrowed buffer (bug#12361).
5688 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
5690         * vc/vc-hooks.el (vc-state): Doc fix.
5692 2012-12-10  Glenn Morris  <rgm@gnu.org>
5694         * mail/rmail.el (rmail-maybe-display-summary):
5695         Preserve buffer, in case select-window changes it.  (Bug#13066)
5697 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5699         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5700         cl-load-hook where they belong.
5702 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5704         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5706 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
5708         Parallelize byte compilation on MS-Windows.
5709         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5710         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5711         (WINS_BASIC): Define as concatenation of the above.
5712         (compile): Subdivide into 4 separate and independent jobs that can
5713         be run in parallel.
5714         (compile0-CMD, compile0-SH): New targets for compiling
5715         COMPILE_FIRST files, which are prerequisites for the rest of the
5716         byte-compilation.
5717         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5718         New targets for parallel compilation with cmd.exe.
5719         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5720         compiling under a Unixy shell.
5722 2012-12-09  Chong Yidong  <cyd@gnu.org>
5724         * simple.el (set-mark-default-inactive): Delete this
5725         accidentally-introduced option.
5726         (set-mark-command, exchange-point-and-mark): Remove calls.
5728 2012-12-09  Glenn Morris  <rgm@gnu.org>
5730         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5731         Respect a defcustom's :set function, if appropriate.  (Bug#109)
5732         (eval-defun): Doc fix.
5734 2012-12-08  Juri Linkov  <juri@jurta.org>
5736         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5737         (Info-fontify-node, Info-bookmark-make-record): Remove the
5738         file extension from Info-current-file (Bug#13016).
5740 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5742         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5743         point, still provide some default.
5744         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5745         names, since we don't use it right now.  Actually return the list.
5746         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5748 2012-12-07  Chong Yidong  <cyd@gnu.org>
5750         * novice.el (disabled-command-function): Remove a spurious help
5751         xref (Bug#13043).  Suggested by Kelly Dean.
5753         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5754         syntax is specified (Bug#13025).
5756         * info.el (Info-set-mode-line): Remove the file extension from
5757         Info-current-file if there is one (Bug#13016).
5759 2012-12-07  Glenn Morris  <rgm@gnu.org>
5761         * mail/rmail.el (rmail-mime-decoded): New permanent local.
5762         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5763         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5764         and rmail-mime-decoded.  (Bug#9841)
5766         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
5767         (batch-unrmail, unrmail): Doc fixes.
5768         (unrmail): Respect unrmail-mbox-format.
5769         * mail/rmail.el (rmail-mbox-format): New option.
5770         (rmail-show-message-1): Respect rmail-mbox-format.
5772 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5774         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5776 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5778         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
5779         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5780         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5781         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5782         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5783         (cl-progv): Don't rely on dynamic scoping to find the body.
5784         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5785         (cl--proclaims-deferred): Rename from the "cl-" prefix.
5786         (cl-declaim): Use backquotes.
5787         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5788         Use "cl--" prefix for the object's tag.
5790         * ses.el: Use advice-add/remove.
5791         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5792         (copy-region-as-kill, yank): Use advice-add.
5793         (ses-unload-function): Use advice-remove.
5795 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
5797         * button.el: Make them work in header-lines (bug#12817).
5798         (button-map): Add bindings for header-line and mode-line use.
5799         (button-get, button-put, button-label): `button' may now be a string.
5800         (button-activate): Don't make it a defsubst.
5801         (button--area-button-p, button--area-button-string): New functions.
5802         (make-text-button): Fix the return value when `beg' was a string.
5803         (push-button): Handle the mode-line case.
5805 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5807         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5808         (sql-signum): Remove.  Use `cl-signum' instead.
5809         (sql-read-passwd): Remove; use read-passwd instread.
5810         (sql-get-login-ext): Use read-string.
5811         (sql-get-login): Use dolist and pcase.
5812         (sql--completion-table): Rename from sql-try-completion.
5813         Use complete-with-action.
5814         (sql-mode): Don't change abbrev-all-caps globally.
5815         (sql-connect): Don't rely on dynamic scoping for `new-name'.
5816         (sql-postgres-completion-object): Initialize vars in their `let'.
5817         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5818         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5819         (sql-comint-interbase): Use a single append, without setq.
5820         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5822         * hi-lock.el: Rework the default face and the serialize regexp code.
5823         (hi-lock--auto-select-face-defaults): Remove.
5824         (hi-lock-string-serialize-serial): Remove.
5825         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5826         make weak.
5827         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5828         equal string.
5829         (hi-lock-set-pattern): Adjust accordingly.
5830         (hi-lock--regexps-at-point): Simplify accordingly.
5831         (hi-lock--auto-select-face-defaults): Remove.
5832         (hi-lock--last-face): New var to replace it.
5833         (hi-lock-read-face-name): Rewrite (bug#11095).
5834         (hi-lock-unface-buffer): Arrange for the face to be the next default.
5836 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
5838         * net/tramp.el (tramp-replace-environment-variables):
5839         Hide compiler warning.
5840         (tramp-file-name-for-operation): Remove `executable-find',
5841         `start-process', `call-process' and `call-process-region'.
5843         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5845         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5846         compatibility.
5848         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5850 2012-12-06  Chong Yidong  <cyd@gnu.org>
5852         * ffap.el (ffap-replace-file-component): Fix typo.
5854 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5856         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5857         fix open-paren-like token test (bug#12785).
5859 2012-12-06  Glenn Morris  <rgm@gnu.org>
5861         * mail/rmailsum.el (rmail-new-summary): Tweak for
5862         rmail-maybe-display-summary changing buffer.  (Bug#13066)
5864 2012-12-06  Juri Linkov  <juri@jurta.org>
5866         * info.el (Info-fontify-node): Don't hide the last newline.
5867         (Bug#12272)
5869 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
5871         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5872         so as to enable message-read-from-minibuffer to expand mail aliases.
5874 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5876         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5877         the `intangible' property.
5878         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5880 2012-12-05  Deniz Dogan  <deniz@dogan.se>
5882         * net/rcirc.el (rcirc-urls): Update documentation.
5883         (rcirc-condition-filter): New function.
5884         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5885         and exclude consecutive duplicate URLs (Bug#6082).
5887 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
5889         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5890         Check return code of copy command.
5892         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5893         Use group `tramp'.  Add version.
5895 2012-12-05  Chong Yidong  <cyd@gnu.org>
5897         * ffap.el (ffap-url-regexp): Don't require matching at front of
5898         string (Bug#4952).
5899         (ffap-url-p): If only a substring matches, return that.
5900         (ffap-url-at-point): Use the return value of ffap-url-p.
5901         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5902         (find-file-at-point, dired-at-point, dired-at-point-prompter)
5903         (ffap-guess-file-name-at-point): Likewise.
5904         (ffap-replace-file-component): Fix typo.
5906         * info.el (info-display-manual): Add existing Info buffers, whose
5907         files may not be in Info-directory-list, to the completion.
5908         (info--manual-names): New helper function.
5910 2012-12-05  Glenn Morris  <rgm@gnu.org>
5912         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5913         New functions, for detecting and resolving conflicts.  (Bug#10709)
5915 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
5917         * hi-lock.el (hi-lock-auto-select-face): New user variable.
5918         (hi-lock-auto-select-face-defaults): New buffer local variable.
5919         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5920         (hi-lock-unface-buffer): Prompt user with useful defaults.
5921         With prefix arg, unhighlight all hi-lock patterns in buffer.
5923 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5925         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5927 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
5929         * Makefile.in (TRAMP_SRC):
5930         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5932 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
5934         * net/tramp-adb.el: New package.
5936 2012-12-04  Chong Yidong  <cyd@gnu.org>
5938         * terminal.el: Move to obsolete/.
5940         * longlines.el: Move to obsolete/.
5942         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5943         Remove code referring to longlines mode.
5945 2012-12-03  Juri Linkov  <juri@jurta.org>
5947         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
5949 2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5951         * textmodes/ispell.el (ispell-init-process)
5952         (ispell-start-process, ispell-internal-change-dictionary):
5953         Make sure personal dictionary name is expanded after initial
5954         `default-directory' value. Use expanded strings for
5955         keep/restart checks and for value (Bug#13019).
5957 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
5959         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5961 2012-12-03  Leo Liu  <sdl.web@gmail.com>
5963         * files.el (dir-locals-read-from-file): Check file non-empty
5964         before reading.  (Bug#13038)
5966 2012-12-03  Glenn Morris  <rgm@gnu.org>
5968         * jka-cmpr-hook.el (jka-compr-get-compression-info):
5969         Remove any version extension before checking filename.  (Bug#13006)
5970         (jka-compr-compression-info-list): Belated :version bump.
5972 2012-12-03  Chong Yidong  <cyd@gnu.org>
5974         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5976         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5977         (buffer-menu): Doc fix (Bug#12294).
5979 2012-12-03  Roland Winkler  <winkler@gnu.org>
5981         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5982         of diary-show-all-entries in the diary buffer (Bug#12994).
5984 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
5986         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5987         "<STDIN>".  This is binary safe.
5989 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
5991         * calc/calc-forms.el (math-absolute-from-iso-dt)
5992         (math-date-to-iso-dt, math-parse-iso-date-validate)
5993         (math-iso-dt-to-date): New functions.
5994         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5995         (math-fd-isoweekday): New variables.
5996         (calc-date-notation, math-parse-standard-date, math-format-date)
5997         (math-format-date-part): Add support for more formatting codes.
5999 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
6001         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
6002         current buffer's file name when called interactively (Bug#12488).
6004 2012-12-02  Juri Linkov  <juri@jurta.org>
6006         * info.el (info-display-manual): Don't clobber an existing Info
6007         buffer (Bug#10770).  Add completion (Bug#10771).
6009 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
6011         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
6012         before using it for comparison (Bug#5297).
6014 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
6016         * textmodes/css-mode.el (css-current-defun-name): New function.
6017         (css-mode): Use it.
6019         * textmodes/sgml-mode.el (html-current-defun-name): New function.
6020         (html-mode): Use it.
6022 2012-12-01  Chong Yidong  <cyd@gnu.org>
6024         Modularize add-log-current-defun (Bug#2224).
6025         Suggested by Jari Aalto.
6027         * vc/add-log.el (add-log-current-defun-function): Doc fix.
6028         (add-log-current-defun): Move mode-specific code to other files.
6029         (add-log-lisp-like-modes, add-log-c-like-modes)
6030         (add-log-tex-like-modes): Variables deleted.
6032         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
6033         (lisp-mode-variables): Use it.
6035         * progmodes/cc-mode.el (c-common-init):
6036         * progmodes/cperl-mode.el (cperl-mode): Set a value for
6037         add-log-current-defun-function.
6039         * progmodes/m4-mode.el (m4-current-defun-name): New function.
6040         (m4-mode): Use it.
6042         * progmodes/perl-mode.el (perl-current-defun-name): New.
6043         (perl-mode): Use it.
6045         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
6046         Use lisp-current-defun-name.
6048         * textmodes/tex-mode.el (tex-current-defun-name): New.
6049         (tex-common-initialization): Use it.
6051         * textmodes/texinfo.el (texinfo-current-defun-name): New.
6052         (texinfo-mode): Use it.
6054 2012-12-01  Chong Yidong  <cyd@gnu.org>
6056         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
6057         * progmodes/autoconf.el (autoconf-mode):
6058         * progmodes/js.el (js-mode):
6059         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
6060         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
6061         * progmodes/perl-mode.el (perl-mode):
6062         * progmodes/sh-script.el (sh-mode, sh-set-shell):
6063         * textmodes/css-mode.el (css-mode):
6064         * textmodes/sgml-mode.el (html-mode, sgml-mode)
6065         (sgml-tags-invisible, sgml-guess-indent):
6066         * textmodes/tex-mode.el (tex-common-initialization)
6067         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
6068         (doctex-mode, plain-tex-mode, latex-mode):
6069         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
6071 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
6073         * vc/vc-hg.el (vc-hg-next-revision):
6074         Ensure use of default "tip" output format.  (Bug#6968)
6076 2012-12-01  Kim F. Storm  <storm@cua.dk>
6078         * startup.el (fancy-startup-tail): Add a clickable link
6079         (Bug#2176).
6081 2012-12-01  Chong Yidong  <cyd@gnu.org>
6083         * startup.el (fancy-startup-tail): Improve the message about
6084         auto-save files (Bug#2176).
6086         * files.el (recover-session): Improve the descriptive message, and
6087         use substitute-command-keys.
6089 2012-12-01  Glenn Morris  <rgm@gnu.org>
6091         * ido.el (ido-file-internal):
6092         Handle other-window, other-frame for dired.  (Bug#13036)
6094 2012-11-30  Glenn Morris  <rgm@gnu.org>
6096         * icomplete.el (icomplete-separator): Fix :version.
6098 2012-11-30  Chong Yidong  <cyd@gnu.org>
6100         * shell.el (shell): For C-u M-x shell, use an inactive shell
6101         buffer as the default (Bug#1975).
6102         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
6103         (shell-mode): Use them to reapply ansi colorization if Shell mode
6104         is re-enabled.
6106 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
6108         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
6110 2012-11-30  Samuel Bronson  <naesten@gmail.com>
6112         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
6113         flag to xargs, for compatibility with BSD xargs (Bug#11703).
6115 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6117         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
6118         by move-to-column (Bug#3234).
6120 2012-11-30  Chong Yidong  <cyd@gnu.org>
6122         * longlines.el (longlines-wrap-line, longlines-encode-region):
6123         Preserve text properties (Bug#1425).
6125 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
6127         * vc/vc.el (vc-register): Allow registering a file which is
6128         already registered with a different backend (Bug#10589).
6130 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
6131             Stefan Monnier  <monnier@iro.umontreal.ca>
6133         * icomplete.el: Change separator; add ido-style commands.
6134         (icomplete-show-key-bindings): Remove custom var.
6135         (icomplete-get-keys): Remove function.
6136         (icomplete-forward-completions, icomplete-backward-completions):
6137         New commands.
6138         (icomplete-minibuffer-map): New var.
6139         (icomplete-minibuffer-setup): Use it.
6140         (icomplete-exhibit): Don't delay if the list of completions is known.
6141         (icomplete-separator): New custom.
6142         (icomplete-completions): Use it.
6143         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
6144         (minibuffer-force-complete-and-exit): New command.
6145         (minibuffer--complete-and-exit): New function extracted from
6146         minibuffer-complete-and-exit.
6147         (minibuffer-complete-and-exit): Use it.
6149         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
6150         error message when the file doesn't exist (bug#12974).
6152 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
6154         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
6156 2012-11-29  Glenn Morris  <rgm@gnu.org>
6158         * files.el (hack-dir-local-variables): Warn if try to set
6159         coding via dir-locals, since it doesn't work.  (Bug#7169)
6161         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
6162         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
6163         Set buffer-local value of desktop-save-buffer.
6164         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
6165         New functions.
6166         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
6167         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
6169         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
6170         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
6171         Doc fix.
6172         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
6173         Doc fixes.
6175 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
6177         * calc/calc-forms.el (calc-date-notation): Fix regexp
6178         used to find time codes.  Fix symbol for seconds.
6180 2012-11-27  Glenn Morris  <rgm@gnu.org>
6182         * emacs-lisp/derived.el (derived-mode-make-docstring):
6183         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
6185 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6187         * textmodes/table.el (table-insert): Don't use `symbol-name' on
6188         lexically scoped variables (bug#13005).
6190 2012-11-27  Glenn Morris  <rgm@gnu.org>
6192         * vc/vc-hooks.el (vc-mistrust-permissions):
6193         Default to t, to avoid data-loss.  (Bug#11490)
6195 2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
6197         * progmodes/python.el (python-indent-guess-indent-offset):
6198         If indentation is guessed make python-indent-offset buffer-local.
6200         Fix Imenu regression.
6201         * progmodes/python.el (python-nav-beginning-of-defun):
6202         Fix forward movement when statement(s) separates point from defun.
6203         (python-imenu-prev-index-position): New function.
6205 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
6207         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
6209         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6210         Don't set buffer-file-type.  Return nil.  (Bug#12989)
6212 2012-11-27  Glenn Morris  <rgm@gnu.org>
6214         * hippie-exp.el (hippie-expand-try-functions-list):
6215         Re-autoload it.  (Bug#12982)
6217 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
6219         * descr-text.el (describe-char-padded-string):
6220         Call internal-char-font only on GUI frames.  (Bug#11964)
6222 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
6224         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
6225         and obsoletion message.
6227 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6229         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
6230         the constructs to keep outside of the `cl-block' (bug#12977).
6232 2012-11-27  Chong Yidong  <cyd@gnu.org>
6234         * mouse.el (mouse-drag-line): Even if the line is not draggable,
6235         keep reading until we get the up-event anyway, in order to process
6236         the up-event for mouse-1-click-follows-link (Bug#12971).
6238 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6240         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
6241         base function is not yet defined (bug#12965).
6242         (ad-activate-advised-definition): Use ad-compile-function.
6243         (ad-activate): Use cond.
6245 2012-11-25  Leo Liu  <sdl.web@gmail.com>
6247         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
6248         (Bug#12979)
6250 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6252         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
6253         reftex-section-info-function in order to be compatible with
6254         Texinfo integration.
6256         * textmodes/reftex.el (reftex-section-pre-regexp)
6257         (reftex-section-post-regexp, reftex-section-info-function):
6258         New variable.
6259         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
6260         reftex-section-post-regexp, and reftex-section-info-function in order
6261         to be compatible with Texinfo integration.
6263         * textmodes/reftex-toc.el (reftex-toc-promote-action):
6264         use reftex-section-pre-regexp variable in order to be compatible with
6265         Texinfo integration.
6267 2012-11-25  Chong Yidong  <cyd@gnu.org>
6269         * faces.el: Make face-spec-set more analogous to setq.
6270         (face-spec-set): Change the third arg to specify whether this
6271         function is being called via defface, customize, or a third party.
6272         Set the appropriate symbol properties.  Clear the override spec if
6273         setting via Custom.  Initialize face if necessary.  (Bug#4988)
6274         (face-spec-recalc): Allow theme faces to completely replace the
6275         defface spec, in the same way as custom faces (Bug#8454).
6277         * cus-face.el (custom-declare-face): Move face initialization to
6278         face-spec-set.
6279         (custom-theme-set-faces): Don't initialize the face name here, as
6280         that is now done in face-spec-set.
6282         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
6283         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
6284         Simplify by using the new arg to face-spec-set.
6286         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
6287         reset face-override-spec too, and use custom-declare-face.
6289 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
6291         * term/ns-win.el (ns-initialize-window-system): Move creation of
6292         fontsets here (Bug#11964).
6294 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6296         * ses.el (ses-rename-cell): Correct bug on mode-line update after
6297         cell renaming.
6299 2012-11-24  Chong Yidong  <cyd@gnu.org>
6301         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
6302         obsolete.
6304         * custom.el (custom-theme-set-variables): Use a topological sort
6305         for ordering by custom dependencies (Bug#12952).
6306         (custom--sort-vars, custom--sort-vars-1): New functions.
6308 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6310         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
6311         lexical-binding (bug#12938).
6313 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
6315         * image-mode.el (image-transform-check-size): Use assertions only
6316         for images of type imagemagick.
6318         Otherwise no error, image-transform-fit-to-{width,height} is
6319         silently ignored, as before.  Doc fix.
6321 2012-11-24  Chong Yidong  <cyd@gnu.org>
6323         * faces.el (color-defined-p): Doc fix (Bug#12853).
6325 2012-11-24  Juri Linkov  <juri@jurta.org>
6327         * dired.el (dired-mark): Add optional arg `interactive'.
6328         Check for `use-region-p' if `interactive' is non-nil.
6329         (dired-unmark, dired-flag-file-deletion): Add optional arg
6330         `interactive'.  Call `dired-mark' with the arg `interactive'.
6331         (Bug#10624)
6333         * wdired.el: Revert 2012-10-17 change partly and replace it with
6334         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
6335         (wdired-finish-edit): Add marks for new file names to
6336         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
6337         after `revert-buffer'.
6338         (wdired-do-renames): Remove calls to `dired-remove-file',
6339         `dired-add-file', `dired-add-entry'.  (Bug#11795)
6341 2012-11-24  Alan Mackenzie  <acm@muc.de>
6343         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
6345         Fix bugs in the state cache.  Enhance a debugging mechanism.
6346         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
6347         "brace at column zero" strategy for C++.
6348         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
6349         (c-parse-state-point): New variable.
6350         (c-record-parse-state-state): Record old parse state with
6351         `copy-tree'.  Record previous value of point.
6352         (c-debug-parse-state-double-cons): New debugging function.
6353         (c-debug-parse-state): Call the above new function.
6354         (c-toggle-parse-state-debug): Output a confirmatory message.
6356         * progmodes/cc-mode.el (c-before-change, c-after-change):
6357         Call c-invalidate-state-cache from `c-before-change' instead of
6358         `c-after-change'.
6360 2012-11-23  Chong Yidong  <cyd@gnu.org>
6362         * find-cmd.el (find-constituents): Add executable, ipath,
6363         readable, samefile, writable, daystart, regextype (Bug#12856).
6365 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6367         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
6369 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
6371         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
6372         definition.  This fixes a bootstrap failure.
6373         (calc-gregorian-switch): In menu, put dates before regions.
6374         This is easier to follow, lines up better in the menu, and lets us
6375         coalesce regions that switch at the same time.  Give country
6376         names, not "Vatican", as that's better for non-expert users.
6377         Use names that are stable between the date of switch and now, e.g.,
6378         Bohemia and Moravia (which existed then and now) and not
6379         Czechoslovakia (which didn't exist then and doesn't exist now).
6380         What is now the U.S. mostly did not switch at the same time as
6381         Britain, so omit the U.S.  Correct spelling of "Britain".
6382         Catholic Switzerland was too much of a mess, so omit it.
6384 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
6386         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
6387         after the variable is changed.
6389 2012-11-21  Daniel Colascione  <dancol@dancol.org>
6391         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
6392         in SQL declarations for font-lock.
6393         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
6395 2012-11-21  Glenn Morris  <rgm@gnu.org>
6397         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
6398         (face-italic-p): Add optional argument "inherit".
6400         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
6401         Remove -p suffix from names, for consistency with other set-face-*.
6402         (set-face-inverse-video): Fix interactive spec.
6403         * play/gamegrid.el (gamegrid-make-mono-tty-face):
6404         * textmodes/table.el (table--update-cell-face):
6405         Use set-face-inverse-video rather than now obsolete alias.
6407 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
6409         * simple.el (line-move): Don't call line-move-partial if
6410         scroll-conservatively is in effect.  (Bug#12927)
6412 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6414         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
6415         Fallback on completion-at-point rather than
6416         pcomplete-expand-and-complete, and only if pcomplete actually failed.
6417         (eshell-cmpl-initialize): Setup completion-at-point.
6419         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
6421         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
6423 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
6425         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
6426         are remote, check out-of-band property for both.
6428 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6430         * window.el (switch-to-buffer): Re-add the warning that was lost in the
6431         code rewrite.
6433 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
6435         More minor time fixes.
6436         * calendar/time-date.el: Commentary fix.
6437         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6438         too much other code depends on (0 0) time stamps.
6439         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6440         Add a couple of FIXME comments.
6442         Minor cleanup for times as lists of four integers.
6443         * files.el (dir-locals-directory-cache):
6444         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6445         Doc fixes.
6446         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6447         * ps-bdf.el (bdf-file-newer-than-time):
6448         Process four-integers time stamps, not two.  Doc fixes.
6450 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6452         * uniquify.el (uniquify-managed): Use defvar-local.
6453         (rename-buffer, create-file-buffer): Advise with advice-add.
6454         (uniquify-unload-function): Unadvise accordingly.
6456         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6457         (trace-buffer): Don't purecopy.
6458         (trace-entry-message, trace-exit-message): Add `context' arg.
6459         (trace--timer): New var.
6460         (trace-make-advice): Adjust for use in nadvice.
6461         Add `context' argument.  Delay `display-buffer' via a timer.
6462         (trace-function-internal): Use advice-add.
6463         (trace--read-args): New function.
6464         (trace-function-foreground, trace-function-background): Use it.
6465         (trace-function): Rename to trace-function-foreground and redefine as
6466         an alias to that new name.
6467         (untrace-function, untrace-all): Adjust to the use of nadvice.
6469         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6471         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6473         * subr.el (called-interactively-p-functions): New var.
6474         (internal--called-interactively-p--get-frame): New macro.
6475         (called-interactively-p, interactive-p): Rewrite in Lisp.
6476         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6477         (called-interactively-p-functions): Use it.
6478         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6479         (called-interactively-p-functions): Use it.
6480         * allout.el (allout-called-interactively-p): Don't assume
6481         called-interactively-p is a subr.
6483 2012-11-20  Glenn Morris  <rgm@gnu.org>
6485         * profiler.el (profiler-report-mode-map): Add a menu.
6486         No need to bind `q' because we derive from special-mode.
6487         (profiler-report-find-entry): Handle calls from the menu-bar.
6489 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6491         * emacs-lisp/byte-run.el (defun-declarations-alist):
6492         Allow a compiler-macro to be a lambda expression.
6494         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
6495         eval-when-compile.
6496         (python-syntax-context): Add compiler-macro.
6497         (python-font-lock-keywords): Simplify with De Morgan.
6499         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6501         * files.el (load-file): Require match in minibuffer selection, as was
6502         the case in Emacs-20 before we changed the spec to allow .elc files
6503         (bug#12935).
6505         * json.el: Don't require cl since we don't use it.
6506         * color.el: Don't require cl.
6507         (color-complement): `caddr' -> `nth 2'.
6509         * calendar/time-date.el (time-to-seconds): De-obsolete.
6511 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
6513         * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6514         year numbers.
6515         (math-date-to-julian-dt): Adjust the initial approximation for the
6516         year to deal with the new definition of the DATE.
6518 2012-11-19  Daniel Colascione  <dancol@dancol.org>
6520         * term/w32-win.el (cygwin-convert-path-from-windows):
6521         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6523 2012-11-18  Chong Yidong  <cyd@gnu.org>
6525         * filecache.el (file-cache--read-list): New function.
6526         (file-cache-add-directory-list, file-cache-add-file-list)
6527         (file-cache-delete-file-list, file-cache-delete-directory-list):
6528         Use it to read a list of files or directories (Bug#12846).
6529         (file-cache-add-file, file-cache-add-directory)
6530         (file-cache-delete-file-list, file-cache-delete-file-regexp)
6531         (file-cache-delete-directory): Print an message.
6533 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
6535         * calc/calc-forms.el (math-date-to-dt): Use integer date when
6536         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6538 2012-11-18  Glenn Morris  <rgm@gnu.org>
6540         * image.el (insert-image, insert-sliced-image): Doc fix.
6542 2012-11-18  Chong Yidong  <cyd@gnu.org>
6544         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6545         (Bug#12810).
6547 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
6549         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6550         response when the target file is in a subdirectory (Bug#12757).
6552 2012-11-18  Chong Yidong  <cyd@gnu.org>
6554         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6556 2012-11-18  Glenn Morris  <rgm@gnu.org>
6558         * emacs-lisp/cl-lib.el (face-underline-p):
6559         Use set-face-underline rather than the alias set-face-underline-p.
6561         * window.el (with-temp-buffer-window): Doc fix.
6562         * subr.el (with-output-to-temp-buffer):
6563         Add doc xref to with-temp-buffer-window.
6565 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
6567         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6568         * calc/calc.el (math-format-date-cache): Declare.
6570 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
6572         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6573         It also uses January 1, 1 AD as its day number 1.
6574         * calc/calc-forms.el (math-julian-date-beginning)
6575         (math-julian-date-beginning-int): Implement this.
6577 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
6579         * descr-text.el (quail-find-key):
6580         * dired.el (desktop-file-name):
6581         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6582         * generic-x.el (comint-mode, comint-exec):
6583         * image-dired.el (widget-forward):
6584         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6585         (speedbar-change-expand-button-char)
6586         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6587         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6588         * printing.el (easy-menu-add-item, easy-menu-remove-item)
6589         (widget-field-action, widget-value-set):
6590         * speedbar.el (imenu--make-index-alist):
6591         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6592         (ring-length, ring-insert):
6593         * vcursor.el (compare-windows-skip-whitespace):
6594         * woman.el (dired-get-filename):
6595         Declare functions.
6597         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6599 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
6601         * calc/calc.el (calc-gregorian-switch): New variable.
6603         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6604         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6605         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6606         (math-leap-year-p): Add option to distinguish between Julian
6607         and Gregorian calendars.
6608         (math-day-number): Use `math-day-in-year' to do the computations.
6609         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6610         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6611         to do the computations.
6612         (math-date-to-dt): Use `math-date-to-julian-dt' and
6613         `math-date-to-gregorian-dt' to do the computations.
6614         (calcFunc-weekday, math-format-date-part): Use the new version of
6615         the DATE to determine the weekday.
6616         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6617         when necessary.
6619 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
6621         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6622         Cygwin; otherwise use 'file:'.  (Bug#12914)
6623         (cygwin-convert-path-from-windows): Declare, to avoid
6624         byte-compiler warnings.
6626 2012-11-17  Andreas Politz  <politza@fh-trier.de>
6628         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6629         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6630         prefix and negative numeric prefix args (Bug#12795).
6632 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
6634         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6635         Don't signal an error with a score that is too low to add to the
6636         list of top scores. (Bug#12779)
6638 2012-11-17  Chong Yidong  <cyd@gnu.org>
6640         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6642         * filecache.el (file-cache-add-file): Handle relative file name in
6643         the argument (Bug#12694).
6645 2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
6647         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6649 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6651         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6653         * emacs-lisp/cl-lib.el: Set more meaningful version number.
6655 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
6657         * window.el (enlarge-window, shrink-window): Don't mention return
6658         value in doc-string (Bug#12896).
6659         (window--display-buffer): Don't resize frames - it won't work
6660         with all window managers and defeat pop-up-frame-alist.
6661         (display-buffer-alist): In doc-string explain that CONDITION can
6662         be a function and which arguments are passed to it (Bug#12854).
6663         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
6664         expressions (Bug#12854).
6665         (display-buffer): Pass ACTION argument to
6666         display-buffer-assq-regexp.
6668 2012-11-16  Glenn Morris  <rgm@gnu.org>
6670         * window.el (fit-frame-to-buffer-bottom-margin)
6671         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6673         * faces.el (face-underline-p): Use face-attribute-specified-or.
6675 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
6677         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6679 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6681         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6683 2012-11-16  Glenn Morris  <rgm@gnu.org>
6685         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
6686         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6688         * faces.el (face-underline-p): Doc fix.  Handle :underline being
6689         things other than `t' (a string, a list).
6690         (face-inverse-video-p): Doc fix.
6691         (set-face-underline): Rename it back from set-face-underline-p.
6692         Doc fix.  Allow interactive input of values other than t.
6693         (read-face-attribute): Apply formatting to :underline,
6694         since like :box and :stipple it can take list values.
6696         * term.el (ansi-term): Don't let C-x escape-char binding
6697         clobber the more standard C-c binding.  (Bug#12842)
6699         * subr.el (set-temporary-overlay-map): Doc fix.
6701 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
6703         * window.el (record-window-buffer)
6704         (display-buffer-record-window): When copying the markers to
6705         window-point preserve window-point-insertion-type. (Bug#12588)
6707 2012-11-16  Glenn Morris  <rgm@gnu.org>
6709         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6710         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6711         Use new names for hooks rather than obsolete aliases.
6713 2012-11-15  Daniel Colascione  <dancol@dancol.org>
6715         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6716         prefix instead of "file:" so that when FILE-NAME begins with "//",
6717         as it does when the target file is on a network share, url-handler
6718         isn't confused.
6720 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6722         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6723         a preactivated advice from an old advice.el; they're not compatible!
6725 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
6727         * emacs-lisp/nadvice.el (advice--make-interactive-form):
6728         Fix string-spec case.
6730         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6732 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6734         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6735         (advice--buffer-local-function-sample): New var.
6736         (advice--set-buffer-local, advice--buffer-local): New functions.
6737         (add-function, remove-function): Use them.
6739 2012-11-15  Drew Adams  <drew.adams@oracle.com>
6741         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6743 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6745         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6746         potential binding of print-gensym to t, and prettify (back)quotes in
6747         case they appear in args's default values (bug#12884).
6749 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6751         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6752         (advice-eval-interactive-spec): New function.
6753         (advice--make-interactive-form): Support around advice (bug#12844).
6755 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
6757         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6758         more strict.  Add docstring.
6759         (ruby-expression-expansion-re): Extract from
6760         `ruby-match-expression-expansion'.
6761         (ruby-syntax-propertize-function): After everything else, search
6762         for expansions in string literals, mark their insides as
6763         whitespace syntax and save match data for font-lock.
6764         (ruby-font-lock-keywords): Use the 2nd group from expression
6765         expansion matches.
6766         (ruby-match-expression-expansion): Use the match data saved to the
6767         text property in ruby-syntax-propertize-function.
6769 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6771         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6772         (bug#12879).
6774 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
6776         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6777         start/end keyword a bit harder.  Works with different values of N.
6778         Add more comments.
6779         (ruby-end-of-block): Update accordingly.
6781 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6783         * woman.el (woman-file-name): Don't mess with unread-command-events
6784         (bug#12861).
6786         * emacs-lisp/advice.el: Layer on top of nadvice.el.
6787         Remove out of date self-require hack.
6788         (ad-do-advised-functions): Use simple `dolist'.
6789         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6790         (ad-advice-definition): Redefine as functions.
6791         (ad-advice-classes): Move before first use.
6792         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6793         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6794         (ad--defalias-fset): Remove functions.
6795         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6796         (ad-get-orig-definition): Rewrite.
6797         (ad-make-advised-definition-docstring): Change base docstring.
6798         (ad-real-orig-definition): Rewrite.
6799         (ad-map-arglists): Change name of called function.
6800         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6801         (ad-make-advised-definition): Simplify.
6802         (ad-assemble-advised-definition): Tweak for new calling context.
6803         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6804         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
6805         function and call ad-activate if needed.
6806         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6807         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6808         (ad-compile-function): Compile ad-Advice-*.
6809         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6810         (ad-start-advice, ad-stop-advice): Remove.
6812 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
6814         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6815         period before class method names, not after.  Remove handling of
6816         one impossible case.  Add comments.
6818 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6820         * emacs-lisp/advice.el: Remove support for freezing.
6821         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6822         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6823         Remove support for `freeze'.
6825         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6826         override the default.
6827         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6828         cl--dotimes/dolist.
6829         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6830         `cl' is loaded.
6832         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6833         from add-advice.
6834         (advice--strip-macro): New function.
6835         (advice--defalias-fset): Use them to handle macros.
6836         (advice-add): Use them.
6837         (advice-member-p): Correctly handle macros.
6839 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
6841         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6842         Never font-lock the beginning of singleton class as heredoc.
6844 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6846         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6848 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
6850         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6851         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
6852         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6854 2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
6856         Fix end-of-defun misbehavior.
6857         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6858         python-beginning-of-defun-function.  Handle nested defuns
6859         correctly.
6860         (python-nav-end-of-defun): Rename from
6861         python-end-of-defun-function.  Ensure forward movement.
6862         (python-info-current-defun): Reimplement to work as intended
6863         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
6864         parent defuns as soon as possible.
6866 2012-11-13  Glenn Morris  <rgm@gnu.org>
6868         * progmodes/flymake.el (flymake-error-bitmap)
6869         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6870         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6872 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
6874         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6875         backward, always stop at indentation.  Reverts the change from
6876         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6878 2012-11-13  Glenn Morris  <rgm@gnu.org>
6880         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6881         Add ibuffer-filter-by-derived-mode.
6883         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6884         the same name shadowing each other.
6886         * window.el (with-temp-buffer-window): Doc tweak.
6888         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6890         * help.el (temp-buffer-max-height):
6891         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6892         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6894 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6896         * emacs-lisp/nadvice.el: New package.
6897         * subr.el (special-form-p): New function.
6898         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6899         (elp-all-instrumented-list): Remove var.
6900         (elp-not-profilable): Remove elp-wrapper.
6901         (elp-profilable-p): Use autoloadp and special-form-p.
6902         (elp--advice-name): New const.
6903         (elp-instrument-function): Use advice-add.
6904         (elp--instrumented-p): New predicate.
6905         (elp-restore-function): Use advice-remove.
6906         (elp-restore-all, elp-reset-all): Use mapatoms.
6907         (elp-set-master): Use elp--instrumented-p.
6908         (elp--make-wrapper): Rename from elp-wrapper, return a function
6909         suitable for advice-add.  Use cl-inf.
6910         (elp-results): Use mapatoms+elp--instrumented-p.
6911         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6912         (debug-function-list): Remove var.
6913         (debug): Rename arg, and then let-bind it explicitly inside.
6914         (debugger-setup-buffer): Rename arg.
6915         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6916         (debugger-frame-number): Adjust to new debug-on-entry setup.
6917         (debug--implement-debug-on-entry): Rename from
6918         implement-debug-on-entry, add argument.
6919         (debugger-special-form-p): Remove, use special-form-p instead.
6920         (debug-on-entry): Use advice-add.
6921         (debug--function-list): New function.
6922         (cancel-debug-on-entry): Use it, along with advice-remove.
6923         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6924         (debugger-list-functions): Use debug--function-list instead of
6925         debug-function-list.
6926         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6927         (ad-special-form-p): Remove, use special-form-p instead.
6928         (ad-set-advice-info): Use add-function and remove-function.
6929         (ad--defalias-fset): Adjust accordingly.
6931 2012-11-10  Glenn Morris  <rgm@gnu.org>
6933         * mail/emacsbug.el (report-emacs-bug-tracker-url)
6934         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6935         (report-emacs-bug-create-existing-bugs-buffer)
6936         (report-emacs-bug-parse-query-results)
6937         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
6939         * term.el (term-default-fg-color, term-default-bg-color):
6940         Make obsolete, rather than just saying "deprecated" in the doc.
6942         * term.el (term): Rename from `term-face'.
6943         (term-current-face, ansi-term-color-vector)
6944         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6945         Update all users.
6947 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
6949         * server.el (server-create-window-system-frame): Handle Nextstep
6950         specially (Bug#12780).
6952 2012-11-10  Glenn Morris  <rgm@gnu.org>
6954         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6955         Unautoload, and make obsolete.  (Bug#7449)
6957 2012-11-10  Chong Yidong  <cyd@gnu.org>
6959         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6960         rename from diff-remove-trailing-whitespace (Bug#12831).
6962 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6964         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6965         miscompilation of trace.el.
6967 2012-11-10  Glenn Morris  <rgm@gnu.org>
6969         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6971 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6973         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6974         (bug#12812).
6976 2012-11-10  Chong Yidong  <cyd@gnu.org>
6978         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6979         a defcustom with an appropriate :set function.
6980         (minibuffer-default--in-prompt-regexps): New function.
6982 2012-11-10  Glenn Morris  <rgm@gnu.org>
6984         * emacs-lisp/cl.el (define-setf-expander, defsetf)
6985         (define-modify-macro): Doc fixes.
6987         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6988         (gv-define-simple-setter): Update doc of `fix-return'.
6990 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6992         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6993         twice when `fix-return' is set (bug#12813).
6995         * emacs-lisp/cl.el (defsetf): Pass the third arg to
6996         gv-define-simple-setter (bug#12812).
6998         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6999         (bug#12756).
7001 2012-11-10  Glenn Morris  <rgm@gnu.org>
7003         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
7005         * emacs-lisp/cl-extra.el (cl-prettyexpand):
7006         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
7007         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
7008         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
7010         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
7012 2012-11-10  Leo Liu  <sdl.web@gmail.com>
7014         * ido.el (ido-set-matches-1): Improve flex matching performance by
7015         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
7017 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7019         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
7020         (ad--defalias-fset): New function.
7021         (ad-safe-fset): Remove.
7022         (ad-make-freeze-definition): Use cl-letf*.
7024 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7026         * subr.el (dolist): Don't bind VAR in RESULT.
7028         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
7029         (fset, documentation): Don't save real def since we don't advise.
7030         (ad-do-advised-functions): Remove problematic `result-form'.
7031         (ad-safe-fset): `ad-real-fset' => `fset'.
7032         (ad-read-advised-function): Don't assume that ad-do-advised-functions
7033         uses CL's dolist internally.
7034         (ad-arglist): Remove unused arg `name'.
7035         (ad-docstring, ad-make-advised-docstring):
7036         `ad-real-documentation' => `documentation'.
7037         (warning-suppress-types): Declare.
7038         (ad-set-arguments): Simple CSE.
7039         (ad-recover-normality): Sanity check.
7041         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
7042         (funcall '(lambda ..) ..) into ((lambda ..) ..).
7044 2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7046         * ses.el: symbol to coordinate mapping is made by symbol property
7047         `ses-cell'.  This means that the same mapping is done for all SES
7048         sheets.  That is good enough for cells with standard A1 names, but
7049         not for named cell.  So a hash map is added for the latter.
7050         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
7051         (ses-sym-rowcol): Use hashmap for named cell.
7052         (ses-is-cell-sym-p): New defun.
7053         (ses-decode-cell-symbol): New defun.
7054         (ses-create-cell-variable): Add cell to hashmap when name is not
7055         A1-like.
7056         (ses-rename-cell): Check that cell new name is not already in
7057         spreadsheet with the use of ses-is-cell-sym-p
7058         (ses-rename-cell): Use hash map for named cells, but accept also
7059         renaming back to A1-like.
7061 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7063         * emacs-lisp/advice.el: Use new dynamic docstrings.
7064         (ad-make-advised-definition-docstring, ad-advised-definition-p):
7065         Use dynamic-docstring-function instead of ad-advice-info.
7066         (ad--make-advised-docstring): New function extracted from
7067         ad-make-advised-docstring.
7068         (ad-make-advised-docstring): Use it.
7069         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
7070         from sql-help.
7071         (sql-help): Use it with dynamic-docstring-function.
7073         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
7075 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7077         * files.el (hack-one-local-variable--obsolete): New function.
7078         (hack-one-local-variable): Use it for obsolete settings.
7080         * subr.el (locate-user-emacs-file): If both old and new name exist, use
7081         the new name.
7083         * progmodes/js.el (js--filling-paragraph): New var.
7084         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
7085         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
7086         less sneaky.
7088 2012-11-08  Julien Danjou  <julien@danjou.info>
7090         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
7091         `auto-mode-alist' (Bug#12835).
7093 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7095         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
7096         (perl--prettify-symbols-alist): New const.
7097         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
7098         New functions.
7099         (perl-font-lock-keywords-2): Use them.
7100         (perl-electric-noindent-p): New function.
7101         (perl-mode): Use it to set up electric-indent-mode.
7102         (perl-electric-terminator, perl-indent-command): Mark obsolete.
7103         (perl-mode-map): Remove bindings for them.
7104         (perl-imenu-generic-expression, perl-outline-level):
7105         Match functions&packages in column>0.
7107         * env.el (env--substitute-vars-regexp): New const.
7108         (substitute-env-vars): Use it.  Add `only-defined' arg.
7109         * net/tramp.el (tramp-replace-environment-variables): Use it.
7111         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
7112         Byte-compile *before* eval in eval-and-compile.
7113         (byte-compile-log-warning): Remove redundant inhibit-read-only.
7114         (byte-compile-file-form-autoload): Don't hide actual definition.
7115         (byte-compile-maybe-guarded): Accept `functionp' as well.
7117         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
7119 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
7121         * notifications.el (notifications-get-server-information-method):
7122         New defconst.
7123         (notifications-get-capabilities): Fix docstring.
7124         (notifications-get-server-information): New defun.
7126 2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7128         * textmodes/ispell.el (ispell-region): Standard re-indent for better
7129         readability.
7131         * textmodes/ispell.el: Experimental support for support debugging.
7132         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
7133         buffer for ispell.
7134         (ispell-print-if-debug): New function to print stuff to
7135         `ispell-debug-buffer' if debugging is enabled.
7136         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
7137         show some debugging info.
7138         (ispell-buffer-with-debug): New function that creates a debugging
7139         buffer and calls `ispell-buffer' with debugging enabled.
7141         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
7142         comment in autoconf mode. (Bug#12768)
7144 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
7146         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
7147         frame-first-window, frame-root-window, frame-selected-window,
7148         minibuffer-selected-window, minibuffer-window,
7149         window-absolute-pixel-edges, window-at, window-body-height,
7150         window-body-width, window-display-table, window-combination-limit,
7151         window-frame, window-fringes, window-inside-absolute-pixel-edges,
7152         window-inside-edges, window-inside-pixel-edges, window-left-child,
7153         window-left-column, window-margins, window-next-buffers,
7154         window-next-sibling, window-new-normal, window-new-total,
7155         window-normal-size, window-parameter, window-parameters, window-parent,
7156         window-pixel-edges, window-point, window-prev-buffers,
7157         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
7158         window-start, window-text-height, window-top-child, window-top-line,
7159         window-total-height, window-total-width and window-use-time to the list
7160         of functions without side-effects.
7161         (toplevel): Add window-valid-p to the list of error-free functions
7162         without side-effects.
7164 2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7166         * textmodes/ispell.el (ispell-program-name):
7167         Update spellchecker parameters when customized.
7169 2012-11-04  Glenn Morris  <rgm@gnu.org>
7171         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
7173 2012-11-04  Chong Yidong  <cyd@gnu.org>
7175         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
7176         same-window-* variables.
7178 2012-11-04  Juri Linkov  <juri@jurta.org>
7180         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
7181         (isearch-describe-key, isearch-describe-mode): Use a display
7182         action instead of binding same-window-* variables (Bug#10040).
7184 2012-11-03  Glenn Morris  <rgm@gnu.org>
7186         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
7187         Rename handler properties back from cl-- to cl-.  (Bug#12788)
7189         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
7191 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
7193         * term/pc-win.el: Don't load term/internal from here.
7195         * loadup.el: Load term/internal from here.
7197 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
7199         * progmodes/python.el (inferior-python-mode): Fix hang in
7200         jit-lock (Bug#12645).
7202 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
7204         * window.el (switch-to-visible-buffer)
7205         (switch-to-buffer-preserve-window-point): Fix doc-strings.
7207 2012-11-03  Glenn Morris  <rgm@gnu.org>
7209         * emacs-lisp/cl-lib.el (cl--random-time):
7210         Rename from cl-random-time.  (Bug#12773)
7211         (cl--gensym-counter, cl--random-state): Update callers.
7212         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
7214 2012-11-03  Chong Yidong  <cyd@gnu.org>
7216         * cus-start.el: Make cursor-type customizable (Bug#11633).
7218 2012-11-02  Glenn Morris  <rgm@gnu.org>
7220         * filecache.el: No need to load find-lisp when compiling.
7221         (find-lisp-find-files): Autoload it.
7222         (file-cache-add-directory-recursively): Don't require find-lisp.
7224         * image.el (image-type-from-file-name): Trivial simplification.
7226         * emacs-lisp/bytecomp.el (byte-compile-eval):
7227         Decouple "noruntime" and "cl-functions" warnings.
7229 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
7231         * play/gomoku.el (gomoku-display-statistics): Update mode line
7232         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
7234 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
7236         * window.el (quit-restore-window): If the window has been
7237         created on an existing frame and ended up as the sole window on
7238         that frame, do not delete it (Bug#12764).
7240 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7242         * progmodes/sh-script.el (sh--inside-noncommand-expression):
7243         Rename from sh--inside-arithmetic-expression, handle more cases
7244         (bug#11263).
7246         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
7247         (sh-font-lock-open-heredoc): Use it (bug#12770).
7249 2012-10-30  Glenn Morris  <rgm@gnu.org>
7251         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
7253         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
7255 2012-10-29  Chong Yidong  <cyd@gnu.org>
7257         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
7258         function key is stored in a keyboard macro (Bug#4894).
7260         * thingatpt.el (number-at-point): Apply a thing-at-point property.
7262 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7264         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
7265         header comments".
7266         (diff-unified->context, diff-context->unified)
7267         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
7269         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
7271         * files.el (find-alternate-file): Only ask one question (bug#12487).
7273 2012-10-29  Chong Yidong  <cyd@gnu.org>
7275         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
7276         Suggested by Dan Nicolaescu (Bug#6326).
7278         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
7280         * startup.el (fancy-about-screen): Don't message (Bug#12680).
7282         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
7284         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
7286         * face-remap.el (face-remap-add-relative): Handle the case where a
7287         face-remapping-alist entry is a cons cell (Bug#12762).
7289 2012-10-29  Kevin Ryde  <user42@zip.com.au>
7291         * woman.el (woman-parse-numeric-value): Handle picas correctly
7292         (Bug#12639).
7294 2012-10-29  Glenn Morris  <rgm@gnu.org>
7296         * emacs-lisp/cl.el (defsetf): Doc fix.
7298 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7300         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
7301         syntax to the matching opener, if any (bug#12547).
7302         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
7303         matching open as a "case-(".
7304         (sh-smie-rc-grammar): Add a corresponding rule for it.
7306 2012-10-28  Daniel Hackney  <dan@haxney.org>
7308         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
7309         "PKGNAME-autoloads.el" in case we created it.
7311 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7313         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
7314         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
7315         (completion--twq-all): Disable too-strict assertions.
7317         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
7319 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
7321         * profiler.el (profiler-report-make-entry-part): Fix help-echo
7322         text to match the real keybindings.
7324 2012-10-27  Juri Linkov  <juri@jurta.org>
7326         * wdired.el (wdired-keep-marker-rename): New defcustom.
7327         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
7328         (Bug#11795)
7330         * dired.el (dired-keep-marker-rename): Add reference to
7331         `wdired-keep-marker-rename' in the docstring.
7332         Add default character value ?R to display initially in
7333         Customization UI instead of ?@.
7335 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
7337         * window.el (display-buffer): In doc-string describe
7338         window-height and window-width alist entries.
7340         * time.el (display-time-world): Restore fit-window-to-buffer
7341         behavior.
7343 2012-10-27  Chong Yidong  <cyd@gnu.org>
7345         * subr.el (insert-buffer-substring-as-yank): Doc fix.
7347 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
7349         * minibuffer.el (completion-category-overrides): New completion
7350         category `bookmark' (bug#11131).
7352 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7354         * emacs-lisp/advice.el (ad-assemble-advised-definition):
7355         Silence bogus compiler warnings for ad-do-it.
7357         * bookmark.el (bookmark-completing-read): Set the completion category
7358         to `bookmark' (bug#11131).
7360 2012-10-26  Bastien  <bzg@altern.org>
7361             Stefan Monnier  <monnier@iro.umontreal.ca>
7363         * face-remap.el: Use lexical-binding.
7364         (text-scale-adjust): Improve docstring.  Use itself for the temporary
7365         overlay-map bindings, so as to repeat the "Use..." message each time.
7367 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7369         * emacs-lisp/macroexp.el (macroexp--expand-all):
7370         Obey byte-compile-warning-enabled-p (bug#12486).
7372         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
7373         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
7375 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
7377         * mouse.el (mouse-drag-line): Move last form into preceding when
7378         clause (Bug#12731).
7380         * help.el (resize-temp-buffer-window): Fix doc-string.
7382 2012-10-25  David Engster  <deng@randomsample.de>
7384         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
7385         Remove.  This feature is already integrated in imenu.
7387         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7388         always loaded.  Require `speedbar' unconditionally.
7390 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7392         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
7394         * minibuffer.el (minibuffer-force-complete): Fix thinko.
7396         * net/ldap.el (ldap-search-internal): The official ldif format starts
7397         with a "version: 1" header (bug#12724).
7399         * emacs-lisp/package.el (package-installed-p): Warn if not ready
7400         (bug#12721).
7402 2012-10-25  Glenn Morris  <rgm@gnu.org>
7404         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
7406 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7408         * minibuffer.el (minibuffer-force-complete): Use one more marker
7409         for the temporary-overlay-map command (bug#12619).
7411 2012-10-24  Chong Yidong  <cyd@gnu.org>
7413         * time.el (display-time-world-mode): Derive from special-mode.
7414         (display-time-world): Use display-buffer (Bug#12708).
7415         (display-time-world-mode-map): Variable deleted.
7416         (display-time-world-display): Wrap the final delete-char inside
7417         inhibit-read-only.
7419 2012-10-24  Chong Yidong  <cyd@gnu.org>
7421         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
7422         Doc fix.
7424         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
7426 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7428         * minibuffer.el (completion--all-sorted-completions-location): New var.
7429         (completion--cache-all-sorted-completions)
7430         (completion--flush-all-sorted-completions): Use it.
7431         (completion-in-region, completion-in-region--postch)
7432         (completion-at-point, completion-help-at-point): Use markers in
7433         completion-in-region--data (bug#12619).
7435 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7437         * progmodes/compile.el (compilation-start): Try to handle common
7438         quoting of `cd' argument (bug#12640).
7440         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7441         (bug#12671).
7443 2012-10-23  Glenn Morris  <rgm@gnu.org>
7445         * progmodes/gud.el (gud-menu-map):
7446         Check gdb-active-process is bound.  (Bug#12358)
7448 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7450         * repeat.el (repeat): Set real-this-command (bug#12232).
7452         * htmlfontify.el (hfy-post-html-hook):
7453         * filesets.el (filesets-cache-fill-content-hook):
7454         * arc-mode.el (archive-extract-hook):
7455         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7456         * net/rcirc.el (rcirc-sentinel-functions)
7457         (rcirc-receive-message-functions, rcirc-activity-functions)
7458         (rcirc-print-functions):
7459         * net/dbus.el (dbus-event-error-functions):
7460         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7461         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7462         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7463         * term/sun.el (sun-raw-prefix-hooks):
7464         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7466 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
7468         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7469         Set `tramp-chunksize' to 1.  This improves the performance.
7470         (tramp-smb-wait-for-output): Add timeout to
7471         `tramp-accept-process-output' calls.
7473 2012-10-23  Chong Yidong  <cyd@gnu.org>
7475         * faces.el (font-list-limit): Define as an obsolete variable.
7477         * startup.el (command-line):
7478         * cus-start.el: Don't refer to font-list-limit.
7480         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7482 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7484         * subr.el (internal-temp-output-buffer-show): Rename from
7485         temp-output-buffer-show, since previously compiled files expect this name.
7487 2012-10-23  Glenn Morris  <rgm@gnu.org>
7489         * image.el (image-type-from-file-name): If multiple types match,
7490         return the first one that is supported.  (Bug#9045)
7492 2012-10-22  Glenn Morris  <rgm@gnu.org>
7494         * image.el (imagemagick-enabled-types): Doc fix.
7496 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
7498         * progmodes/which-func.el (which-func-current): The hash-table may have
7499         an explicit nil (bug#12338).
7501 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7503         * electric.el (electric-pair-delete-selection-self-insert-function):
7504         Rename to electric-pair-will-use-region, return a boolean.
7505         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
7507         * delsel.el (delete-selection-helper): Use a function instead of a hook.
7508         (delete-selection-pre-hook): Use use-region-p.
7509         (delete-selection-self-insert-function): Remove.
7510         (self-insert-command): Obey self-insert-uses-region-functions.
7511         (self-insert-iso): Revert to previous setting, since we don't actually
7512         know what that command does.
7513         (delete-selection-self-insert-hooks): Remove.
7515 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
7517         * delsel.el (delete-selection-helper): New function, extracted from
7518         delete-selection-pre-hook.
7519         (delete-selection-pre-hook): Use it.
7520         (delete-selection-self-insert-function): New function.
7521         (delete-selection-self-insert-hooks): New hook.
7522         (self-insert-command, self-insert-iso): Use it.
7523         * electric.el (electric-pair-syntax): New function, extracted from
7524         electric-pair-post-self-insert-function.
7525         (electric-pair-post-self-insert-function): Use it.
7526         (electric-pair-delete-selection-self-insert-function): New function.
7527         (electric-pair-mode): Require delsel and setup
7528         delete-selection-self-insert-hooks (bug#11520).
7530 2012-10-20  Chong Yidong  <cyd@gnu.org>
7532         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7533         no changes to show (Bug#12586).
7535         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7536         list explicitly (Bug#12571).
7538 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
7540         * progmodes/flymake.el (flymake-create-temp-inplace):
7541         Use file-truename.
7543 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
7545         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
7547 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
7549         * calc/calc-units.el (math-extract-units): Properly extract powers
7550         of units.
7552 2012-10-20  Daniel Colascione  <dancol@dancol.org>
7554         * frame.el (make-frame): Set x-display-name as we used to in order
7555         to unbreak creating an X11 frame from an Emacs daemon started
7556         without a display.
7558 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7560         * minibuffer.el (minibuffer-force-complete): Make the next completion use
7561         the same completion-field (bug#12221).
7563 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
7565         * emacs-lisp/debug.el (debug): Record height of debugger window
7566         also when debugger will be back (Bug#8789).
7568 2012-10-18  Chong Yidong  <cyd@gnu.org>
7570         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7571         Convert to defcustom.
7572         (gdb-get-source-file): Don't bind pop-up-windows.
7574         * progmodes/gud.el (gud-display-line): Don't specially re-use
7575         other frames for the gdb-mi case (Bug#12648).
7577 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7579         * emacs-lisp/advice.el: Clean up commentary a bit.
7580         (ad-do-advised-functions, ad-with-originals): Use `declare'.
7581         (byte-code-function-p): Never redefine.
7583         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7585 2012-10-18  Glenn Morris  <rgm@gnu.org>
7587         * dired.el (dired-sort-toggle): Some ls implementations only allow
7588         a single option string.  (Bug#12666)
7590         * minibuffer.el (completion-cycle-threshold): Doc fix.
7592 2012-10-17  Kenichi Handa  <handa@gnu.org>
7594         * international/mule.el (set-keyboard-coding-system):
7595         Recover input meta mode when the new coding system doesn not use 8-bit.
7596         Supply TERMINAL arg to set-input-meta-mode.
7598 2012-10-17  Michael Heerdegen  <michael_heerdegen@web.de>
7600         * wdired.el (wdired-old-marks): New variable.
7601         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7602         (wdired-do-renames): Move point with renamed file and don't lose
7603         mark status (Bug#11795).
7605 2012-10-16  Juri Linkov  <juri@jurta.org>
7607         * replace.el (query-replace-help): Mention multi-buffer replacement
7608         keys in the Help message.  (Bug#12655)
7610 2012-10-15  Chong Yidong  <cyd@gnu.org>
7612         * emacs-lisp/byte-run.el (defsubst): Doc fix.
7614 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
7616         * window.el (display-buffer): Doc fix.
7618         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7619         Adjust the msft regexp to the output of Studio 2010, and move msft
7620         before edg-1.  See the discussion on emacs-devel,
7621         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7622         for the details.
7624 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7626         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7627         (oset): Move uses of object-class-fast macro after its definition.
7629         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7631 2012-10-13  Chong Yidong  <cyd@gnu.org>
7633         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7634         enabled, re-enable it (Bug#11963).
7636 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
7638         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7639         non-nil, restore window configuration (Bug#12623).
7641 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7643         * help-fns.el (describe-variable, describe-function-1):
7644         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7646         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7648 2012-10-12  Glenn Morris  <rgm@gnu.org>
7650         * mail/rmailsum.el (rmail-header-summary):
7651         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
7653 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
7655         * progmodes/python.el (python-mode-map):
7656         Replace subtitute-key-definition with proper command remapping.
7657         (python-nav--up-list): Fix behavior for blocks on the same level.
7659 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7661         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7663         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7664         changes to the format of load-history.
7666         * international/mule-cmds.el (read-char-by-name): Move let-binding of
7667         completion-ignore-case in case that var is buffer-local (bug#12615).
7669 2012-10-11  Kenichi Handa  <handa@gnu.org>
7671         * international/eucjp-ms.el: Re-generated.
7673 2012-10-10  Kenichi Handa  <handa@gnu.org>
7675         * select.el (xselect--encode-string): If a coding is specified for
7676         selection, and that is compatible with COMPOUND_TEXT, use it.
7678 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
7680         * window.el (switch-to-buffer-preserve-window-point): New option.
7681         (switch-to-buffer):
7682         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7684 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7686         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7687         Don't document nil as a useful value (bug#12583).
7689 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
7691         * net/tramp.el (tramp-debug-message):
7692         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7693         (with-tramp-progress-reporter): Rename from
7694         `tramp-with-progress-reporter'.
7695         (with-tramp-file-property, with-tramp-connection-property):
7696         Move from tramp-cache.el, rename from `with-file-property' and
7697         `with-connection-property', respectively.
7699         * net/tramp-cache.el: Remove `with-file-property' and
7700         `with-connection-property'.
7702         * net/tramp.el:
7703         * net/tramp-gvfs.el:
7704         * net/tramp-sh.el:
7705         * net/tramp-smb.el: Adapt callees.
7707         * net/trampver.el: Update release number.
7709 2012-10-09  Glenn Morris  <rgm@gnu.org>
7711         * w32-fns.el (set-message-beep):
7712         * term/w32-win.el (set-message-beep): Update declarations.
7714 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7716         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7717         (mode-line-widen, mode-line-input-method-map)
7718         (mode-line-coding-system-map, mode-line-remote)
7719         (mode-line-unbury-buffer, mode-line-bury-buffer)
7720         (mode-line-next-buffer, mode-line-previous-buffer):
7721         Replace save-selected-window+select-window => with-selected-window.
7723         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7724         * progmodes/cc-vars.el (bq-process): Remove, unused.
7726         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7728 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
7730         Implemented `backward-up-list'-like navigation.
7731         * progmodes/python.el (python-nav-up-list)
7732         (python-nav-backward-up-list): New functions.
7733         (python-mode-map): Define substitute key for backward-up-list to
7734         python-nav-backward-up-list.
7736 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
7738         * progmodes/python.el (python-fill-paragraph): Rename from
7739         python-fill-paragraph-function.  Fixed fill-paragraph for
7740         decorators (Bug#12605).
7742 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
7744         * progmodes/python.el (python-shell-output-filter): Handle extra
7745         carriage return in OSX (Bug#12409).
7747 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
7749         Fix shell handling of unbalanced quotes and parens in output.
7750         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7751         (python-syntax-propertize-function): Use it.
7752         (python-shell-output-syntax-table): New var.
7753         (inferior-python-mode): Prevent unbalanced parens/quotes from
7754         previous output mess with current input context.
7756 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
7758         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7759         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7761 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
7763         * ffap.el (ffap-replace-file-component): Support Tramp file name
7764         syntax, not only ange-ftp's one.
7766 2012-10-08  Glenn Morris  <rgm@gnu.org>
7768         * cus-start.el (message-log-max): Set :version.
7770         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7772 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
7774         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7775         the minibuffer window (Bug#10851).
7777 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
7779         Enhancements on forward-sexp movement.
7780         * progmodes/python.el (python-nav-beginning-of-statement)
7781         (python-nav-end-of-statement): Return point-marker.
7782         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7783         (python-info-current-symbol)
7784         (python-info-statement-starts-block-p): Rename from
7785         python-info-beginning-of-block-p.
7786         (python-info-statement-ends-block-p): Rename from
7787         python-info-end-of-block-p.
7788         (python-info-beginning-of-statement-p)
7789         (python-info-end-of-statement-p)
7790         (python-info-beginning-of-block-p, python-info-end-of-block-p):
7791         New functions.
7793 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7795         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7796         frame-selected-windows.
7798 2012-10-08  Daniel Colascione  <dancol@dancol.org>
7800         * battery.el (battery-status-function): Check for
7801         w32-battery-status itself, not system-time windows-nt.
7803         * frame.el: Require cl-lib.
7804         (display-format-alist): New variable mapping frame types to
7805         functions that initialize them.
7806         (window-system-for-display): New function: interprets
7807         display-format-alist.
7808         (make-frame-on-display): Remove existing display-selection logic
7809         and just forward to make-frame, which will now DTRT.
7810         (make-frame): Restructure to use window-system-for-display to
7811         figure out how to create a frame on a given display.
7812         (display-mouse-p): Look for frame-type w32, not a particular
7813         system-type.
7815         * loadup.el: Load w32 lisp code when we have the w32 feature.
7817         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7818         system-type windows-nt.
7820         * server.el (server-create-window-system-frame): Look for window
7821         type.
7822         (server-proces-filter): Only force a window system when windows-nt
7823         _and_ w32.  Explain why.
7825         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7826         of window systems we configure for the mode.
7828         * startup.el (command-line): Mark window system is initialized
7829         after we've done it.
7831         * common-win.el (x-select-text): Look for w32, not windows-nt.
7833         * ns-win.el: Require cl-lib.  Add ourselves to
7834         display-format-alist.
7835         (ns-initialize-window-system): Assert we're not initialized twice.
7837         * w32-win.el: Enable lexical binding; require cl-lib; add
7838         ourselves to display-format-alist.
7839         (w32-handle-dropped-file): Convert incoming dropped files from
7840         Windows paths to Cygwin ones before passing them on to the rest of
7841         Emacs.
7842         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
7843         (w32-initialize-window-system): Assert we're not initialized twice.
7845         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7846         (x-initialize-window-system): Assert we're not initialized twice.
7848         * w32-common-fns.el: New File.
7849         (w32-version, w32-using-nt, w32-get-clipboard-data)
7850         (w32-set-clipboard-data, x-set-selection, x-get-selection)
7851         (w32-charset-info-alist, x-last-selected, text)
7852         (x-get-selection-value, x-selection-value): Move here.
7854         * w32-fns.el: Require w32-common-fns.
7855         (w32-version, w32-using-nt, w32-get-clipboard-data)
7856         (w32-set-clipboard-data, x-set-selection, x-get-selection)
7857         (w32-charset-info-alist, x-last-selected, text)
7858         (x-get-selection-value, x-selection-value): Move to
7859         w32-common-fns.
7861         * w32-vars.el:
7862         (w32-allow-system-shell, w32-system-shells): Define only in
7863         non-cygwin case.
7865 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7867         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7868         (read-passwd): Remove a few more potential sources of leaks.
7870 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
7872         * progmodes/python.el (inferior-python-mode)
7873         (python-shell-make-comint): Fix initialization of local
7874         variables copied from parent buffer.
7876 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
7878         * term/ns-win.el (ns-read-file-name): Update declaration to match
7879         nsfns.m.
7880         (ns-respond-to-change-font): Change fontsize separately so we are sure
7881         it is set when font is acted upon.
7883 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
7885         Enhancements to indentation.
7886         * progmodes/python.el (python-indent-context): Give priority to
7887         inside-string context.  Make comments indentation markers.
7888         (python-indent-region): Do not mess with strings, unless it's the
7889         enclosing set of quotes.
7891 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7893         * window.el (internal--before-save-selected-window)
7894         (internal--after-save-selected-window): New functions extracted from
7895         save-selected-window.  Make sure we return the `alist' we construct.
7896         (save-selected-window): Use them.
7898         * textmodes/tex-mode.el (tex-recenter-output-buffer):
7899         Use with-selected-window.
7901         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7902         forms that define macros (bug#12593).
7904 2012-10-07  Kenichi Handa  <handa@gnu.org>
7906         * international/mule-conf.el (compound-text-with-extensions):
7907         Add :mime-charset property as x-ctext.
7909 2012-10-07  Stefan Merten  <smerten@oekonux.de>
7911         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7912         (rst-indent-literal-normal, rst-indent-literal-minimized)
7913         (rst-indent-comment): Correct :version tag.
7914         (rst-official-cvs-rev): Correct version string.
7916 2012-10-07  Glenn Morris  <rgm@gnu.org>
7918         * mail/rmailmm.el (rmail-mime-process-multipart):
7919         Do not confuse a multipart message with an epilogue
7920         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
7922 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
7924         Fix shell output retrieval and comint-prompt-regexp init.
7925         * progmodes/python.el (inferior-python-mode):
7926         (python-shell-make-comint): Fix initialization of
7927         comint-prompt-regexp from copied file local variables.
7928         (python-shell-fetched-lines): Remove var.
7929         (python-shell-output-filter-in-progress): Rename from
7930         python-shell-fetch-lines-in-progress.
7931         (python-shell-output-filter-buffer): Rename from
7932         python-shell-fetch-lines-string.
7933         (python-shell-fetch-lines-filter): Delete function.
7934         (python-shell-output-filter): New function.
7935         (python-shell-send-string-no-output): Use them.
7937 2012-10-07  Glenn Morris  <rgm@gnu.org>
7939         * hi-lock.el (hi-lock-process-phrase):
7940         Try to make it less fragile.  (Bug#7161)
7942         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7944 2012-10-06  Glenn Morris  <rgm@gnu.org>
7946         * ehelp.el (electric-help-mode): Use help-mode rather than
7947         non-existent mode `help'.
7948         (electric-help-map): Use button-buffer-map.  (Bug#10917)
7950         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7951         (reftex-create-bibtex-footer): Fix custom types.
7953         * progmodes/sh-script.el (sh-indent-after-continuation):
7954         Add explicit :group.
7956         * textmodes/rst.el (rst-preferred-decorations)
7957         (rst-shift-basic-offset): Clarify obsolescence versions.
7959         * profiler.el (profiler): Add missing group :version tag.
7960         * avoid.el (mouse-avoidance-banish-position):
7961         * proced.el (proced-renice-command):
7962         * calc/calc.el (calc-ensure-consistent-units):
7963         * calendar/icalendar.el (icalendar-import-format-uid):
7964         * net/tramp.el (tramp-save-ad-hoc-proxies):
7965         * progmodes/bug-reference.el (bug-reference-bug-regexp):
7966         * progmodes/flymake.el (flymake-error-bitmap)
7967         (flymake-warning-bitmap, flymake-fringe-indicator-position):
7968         * progmodes/sh-script.el (sh-indent-after-continuation):
7969         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7970         (verilog-before-save-font-hook, verilog-after-save-font-hook):
7971         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7972         (vhdl-array-index-record-field-in-sensitivity-list)
7973         (vhdl-indent-comment-like-next-code-line):
7974         * textmodes/reftex-vars.el (reftex-ref-style-alist)
7975         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7976         (reftex-cite-key-separator, reftex-create-bibtex-header)
7977         (reftex-create-bibtex-footer):
7978         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7979         (rst-indent-literal-normal, rst-indent-literal-minimized)
7980         (rst-indent-comment): Add missing custom :version tags.
7982         * calendar/timeclock.el (timeclock-modeline-display):
7983         Add missing obsolete alias for renamed user option.
7985         * strokes.el (strokes-modeline-string):
7986         * emulation/crisp.el (crisp-mode-modeline-string):
7987         * eshell/esh-mode.el (eshell-status-in-modeline):
7988         Aliases to defcustoms must come before the defcustom.
7990         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7991         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7992         (cal-tex-cursor-week-monday): Doc fixes.
7993         (cal-tex-cursor-week2-summary): Doc fix.
7994         Rename from cal-tex-cursor-week-at-a-glance.
7996         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7997         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
7999         * calendar/calendar.el (calendar-mode-map):
8000         Add cal-tex-cursor-week2-summary.
8002 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8004         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
8006         * subr.el (read-passwd-map): New var.
8007         (read-passwd): Use `read-string' again.
8008         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
8010 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
8012         * register.el (append-to-register, prepend-to-register):
8013         Deactivate mark, as does `copy-to-register' (bug#12389).
8015 2012-10-06  Chong Yidong  <cyd@gnu.org>
8017         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
8019 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
8021         * international/characters.el: Fix simple mistake ((car chars) ->
8022         elt), delete duplicated code.
8024 2012-10-06  Glenn Morris  <rgm@gnu.org>
8026         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
8028 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
8030         * color.el (color-hsl-to-rgb): Fix incorrect results for
8031         small and large hue values.  (Bug#12559)
8033 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
8035         Enhancements to docstring formatting when filling paragraphs.
8036         * progmodes/python.el (python-fill-docstring-style): Rename from
8037         python-fill-string-style.  Added new style.
8038         (python-fill-string): Use new style.  Better checks for
8039         docstrings.
8041 2012-10-05  Glenn Morris  <rgm@gnu.org>
8043         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
8045         * color.el (color-name-to-rgb, color-rgb-to-hex)
8046         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
8047         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
8048         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8049         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
8051         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
8053 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
8055         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
8056         to get the correct size across symlinks.
8058         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
8060 2012-10-04  Juri Linkov  <juri@jurta.org>
8062         * replace.el (query-replace-interactive): Declare obsolete.
8063         (query-replace-read-from): Add the last incremental search string
8064         to the list of default values accessible via M-n.
8065         (map-query-replace-regexp): Use `read-regexp'.
8066         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8067         (map-query-replace-regexp, replace-string, replace-regexp):
8068         Fix docstrings to replace mentions of `query-replace-interactive'
8069         with alternatives.  (Bug#12526)
8071 2012-10-04  Juri Linkov  <juri@jurta.org>
8073         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
8074         (dired-pop-to-buffer): Declare obsolete.
8075         (dired-mark-pop-up): Doc fix.
8077 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
8079         Allow user to set docstring style for fill-paragraph.
8080         * progmodes/python.el
8081         (python-fill-comment-function, python-fill-string-function)
8082         (python-fill-decorator-function, python-fill-paren-function):
8083         Remove :safe for defcustoms.
8084         (python-fill-string-style): New defcustom
8085         (python-fill-paragraph-function): Enhance context detection.
8086         (python-fill-string): Honor python-fill-string-style settings.
8088 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
8090         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
8091         after setting its buffer (Bug#10805).
8093 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
8095         Fix cornercase for string syntax.
8096         * progmodes/python.el (python-syntax-propertize-function):
8097         Simplify and enhance the regexp for unescaped quotes.  Now it also
8098         matches quotes in weird situations like the single quote in
8099         "something\"'".
8100         (python-syntax-stringify): Simplify num-quotes detecting code.
8102 2012-10-03  Glenn Morris  <rgm@gnu.org>
8104         * help-macro.el (three-step-help):
8105         Revert 2012-09-29 change.  (Bug#12567)
8107 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
8109         * menu-bar.el (kill-this-buffer): Don't do anything when
8110         `menu-frame' is not alive or visible (Bug#8184).
8112         * emacs-lisp/debug.el (debug): When quitting the debugger window
8113         restore current buffer (Bug#12502).
8115 2012-10-02  Chong Yidong  <cyd@gnu.org>
8117         * progmodes/hideif.el (hif-lookup, hif-defined):
8118         Handle semantic-c-takeover-hideif.
8120 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
8122         Change sampling interval units from ms to ns.
8123         * profiler.el (profiler-sampling-interval): Change units
8124         from ms to ns, multiplying the default by 1000000 so that
8125         it remains 1 ms.
8126         (profiler-report-cpu-line-format): Give enough room for
8127         the maximum counters on 64-bit hosts.
8128         (profiler-report-render-calltree-1): Call them "CPU samples",
8129         not "Time (ms)", since they are not milliseconds now (and
8130         never really were).
8132 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
8134         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
8135         Fix querying BBDB for entries without a last name (Bug#11580).
8137 2012-10-02  Chong Yidong  <cyd@gnu.org>
8139         * emacs-lisp/eieio.el: Restore Version header.
8141 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8143         * vc/diff-mode.el (diff--auto-refine-data): New var.
8144         (diff-hunk): Use it to delay refinement.
8145         (diff-mode): Remove overlays when we turn off font-lock.
8147         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
8148         (table-initialize-table-fixed-width-mode)
8149         (table-set-table-fixed-width-mode): Remove functions.
8150         (table-command-list): Move initialization into declaration.
8151         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
8152         (table-with-cache-buffer): Use `declare'.
8153         (table-span-cell): Simplify via CSE.
8154         (table-fixed-width-mode): Use define-minor-mode.
8155         (table-call-interactively, table-funcall, table-apply): Remove.
8156         (table-function): New function, to replace them.
8158         * bookmark.el (bookmark-search-pattern): Remove var.
8159         (bookmark-read-search-input): Remove function.
8160         (bookmark-bmenu-search): Reimplement using a minibuffer.
8162         * faces.el (modeline): Remove obsolete face name.
8164         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
8165         and give a non-nil default value.
8166         (add-change-log-entry): Simplify accordingly.
8168 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
8170         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
8171         (vc-git-log-edit-toggle-amend): New function.
8172         (vc-git-log-edit-toggle-signoff): New function.
8173         (vc-git-log-edit-mode): New major mode.
8174         (vc-git-log-edit-mode-map): Keymap for it.
8175         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
8177         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
8178         header names.
8179         (log-edit-toggle-header): New function.
8180         (log-edit-extract-headers): Accept function values in HEADERS alist.
8182 2012-10-01  David Engster  <deng@randomsample.de>
8184         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
8185         from symbol property and change message to be more consistent with
8186         Emacs proper.
8187         (eieio-describe-generic): Add filename for each implementation.
8188         Fix indices for generic and normal methods.
8189         (eieio-method-def, eieio-class-def): New buttons.
8190         (eieio-help-find-method-definition)
8191         (eieio-help-find-class-definition): New functions.
8192         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
8193         class, constructor and method definitions.
8195         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
8196         information in symbol property.
8197         (scoped-class): Remove.
8198         (eieio-slot-name-index, call-next-method): Check if it is bound.
8200 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
8202         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
8203         (eieio-custom-mode): New major mode.
8204         (eieio-customize-object): Use it.
8206 2012-10-01  Eric Ludlam  <zappo@gnu.org>
8208         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
8209         specifying the expected class, and whether subclassing is allowed.
8210         (eieio-persistent-convert-list-to-object):
8211         (eieio-persistent-validate/fix-slot-value)
8212         (eieio-persistent-slot-type-is-class-p): New functions.
8213         (eieio-named::slot-missing): Doc fix.
8215         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
8216         Stop using unused publd variable.
8218         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8219         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
8220         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
8221         (eieio-speedbar-handle-click): Do not specify a class for the
8222         method.  Fixes method invocation order problems with EDE.
8224 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8226         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
8227         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
8229 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
8231         * bookmark.el (bookmark-version-control): Give tags in the
8232         :type choices (Bug#12309), and improve doc string.
8233         (bookmark-write-file): Bind `print-circle' to `t' to allow
8234         circular custom bookmark types.  (Bug#12503)
8236 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
8238         Revert the FOLLOW-SYMLINKS change for file-attributes.
8239         * files.el (remote-file-name-inhibit-cache, after-find-file):
8240         * time.el (display-time-file-nonempty-p): Undo last change.
8242         * profiler.el (profiler-sampling-interval): Change default back to 1.
8243         See Stefan Monnier in
8244         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
8246 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
8248         Shell output catching a la gud-gdb.
8249         * progmodes/python.el (python-shell-fetch-lines-in-progress)
8250         (python-shell-fetch-lines-string, python-shell-fetched-lines):
8251         New Vars.
8252         (python-shell-fetch-lines-filter): New function.
8253         (python-shell-send-string-no-output): Use them.
8255 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
8257         * profiler.el (profiler-sampling-interval): Rename from
8258         profiler-sample-interval.
8259         (profiler-sampling-interval): Default to 10.
8260         (profiler-find-profile): New command (was profiler-find-log).
8261         (profiler-find-profile-other-window): New command.
8262         (profiler-find-profile-other-frame): New command.
8263         (profiler-profile): Introduce API-level data structure.
8265 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
8267         file-attributes has a new optional arg FOLLOW-SYMLINKS.
8268         * files.el (remote-file-name-inhibit-cache):
8269         * time.el (display-time-file-nonempty-p): Use it.
8270         * files.el (after-find-file): Don't chase links before calling
8271         file-exists-p, as file-exists-p already does the right thing.
8273 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
8275         Merge from standalone RefTeX repository.
8277         The following ChangeLog entries are shortened versions of the
8278         original ones with file paths adapted.  A not so strongly edited
8279         version of the original ChangeLog can be found in the commit log.
8281         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
8282         (reftex-arg-cite): Use `reftex-cite-key-separator'.
8283         Correctly handle new value type returned by `reftex-citation'.
8285         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
8286         that entries with whitespace at various places are found.
8287         Doc fix. Include entries that are cross-referenced from cited entries.
8288         Include @String definitions in the resulting bib file.  Add header
8289         and footer defined in `reftex-create-bibtex-header' and
8290         `reftex-create-bibtex-footer'.
8291         (reftex-do-citation): Make it possible again to insert
8292         non-existent entries.  Save match data when asking for optional
8293         arguments. Return all keys, not just the first one.
8294         (reftex-all-used-citation-keys): Fix regexp to correctly extract
8295         all citations in the same line.
8296         (reftex-parse-bibtex-entry): Accept additional optional argument
8297         `raw' and keep quotes or braces if it is non-nil.  Match fields
8298         containing hyphens besides word constituents.
8299         (reftex-get-string-refs): New function.
8300         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
8301         and ask if it should be reread in case it did.
8302         (reftex-pop-to-bibtex-entry)
8303         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
8304         entries with spaces or tabs in front of arguments.
8305         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8306         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
8307         Match entries containing numbers and symbol constituents.
8308         (reftex-do-citation, reftex-figure-out-cite-format):
8309         Use `reftex-cite-key-separator'.
8311         * textmodes/reftex-dcr.el: Move provide statement to end of file.
8312         (reftex-mouse-view-crossref): Explain why point is set.
8314         * textmodes/reftex-global.el: Whitespace changes.
8316         * textmodes/reftex-index.el: Move provide statement to end of
8317         file.
8318         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
8319         (reftex-index-visit-phrases-buffer): Set marker when visiting
8320         buffer.  This allows for returning from the phrases file to the
8321         file one was just editing instead of the file where the last
8322         phrases was added from.
8323         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
8324         punctuation syntax as it usually is not used as string quote in
8325         TeX-related modes and may occur unmatched.  The change also
8326         prevents fontification of quoted content.
8327         (reftex-index-phrases-mode): Use it.
8329         * textmodes/reftex-parse.el (reftex-parse-from-file):
8330         Move backward one char if a `\' was matched after a section macro.
8331         (reftex-parse-from-file): Use beginning of match instead of end as
8332         bound.
8334         * textmodes/reftex-ref.el: Adapt creation of
8335         `reftex-<package>-<macro>' functions to new structure of
8336         `reftex-ref-style-alist'.
8337         (reftex-reference): Use `reftex-ref-style-list' function.
8338         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
8339         reference macro if `reftex-ref-macro-prompt' is non-nil.
8340         (reftex-reference): Pass refstyle to `reftex-format-special'.
8341         Determine reference macro by looking at
8342         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
8343         Use only one special format function.
8344         (reftex-varioref-vref, reftex-fancyref-fref)
8345         (reftex-fancyref-Fref): Remove definitions.  The functions are now
8346         generated from `reftex-ref-style-alist'.
8347         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
8348         Remove.
8349         (reftex-format-special): New function.
8351         * textmodes/reftex-sel.el
8352         (reftex-select-cycle-ref-style-internal): Adapt to new structure
8353         of `reftex-ref-style-alist'. Remove code for testing macro type.
8354         (reftex-select-toggle-varioref)
8355         (reftex-select-toggle-fancyref): Remove.
8356         (reftex-select-cycle-ref-style-internal)
8357         (reftex-select-cycle-ref-style-forward)
8358         (reftex-select-cycle-ref-style-backward): New functions.
8359         (reftex-select-label-map): Use `v' and `V' for general cycling
8360         through reference styles.  Add `p' for switching between number
8361         and page reference types.
8363         * textmodes/reftex-toc.el (reftex-re-enlarge):
8364         Call `enlarge-window' only if there is something to do because in Emacs
8365         the horizontal version throws an error even if the parameter is 0.
8367         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
8368         (reftex-plug-into-AUCTeX): Doc fix.
8369         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
8370         string.  Adapt to new name.
8371         (reftex-ref-style-alist): Change structure so that it is not
8372         possible to use multiple different package names within a style.
8373         Remove the symbols for symbols for macro type distinction.
8374         Add characters for macro selection.
8375         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
8376         (reftex-create-bibtex-footer): New variables.
8377         (reftex-format-ref-function): Mention third argument of special
8378         format function.
8379         (reftex-ref-style-alist, reftex-ref-style-default-list):
8380         New variables.
8381         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
8382         to new implementation.  Mark as obsolete.  Add compatibility code
8383         for honoring the variable values in case they are set.
8384         (reftex-cite-format-builtin, reftex-bibliography-commands):
8385         Add support for ConTeXt.
8386         (reftex-format-ref-function, reftex-format-cite-function):
8387         Fix custom type.
8388         (reftex-cite-key-separator): New variable.
8390         * textmodes/reftex.el (reftex-syntax-table-for-bib)
8391         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
8392         `reftex-syntax-table' because parens have to retain their paren
8393         syntax in order for parsing of BibTeX entries like @book(...) to
8394         work.
8395         (reftex-in-comment): Do not error out if `comment-start-skip' is
8396         not set.  Deal correctly with escaped comment characters.
8397         (reftex-tie-multifile-symbols): Add doc string.
8398         Initialize `reftex-ref-style-list'.
8399         (reftex-untie-multifile-symbols): Add doc string.
8400         (reftex-add-index-macros): Doc fix.
8401         (reftex-ref-style-activate, reftex-ref-style-toggle)
8402         (reftex-ref-style-list): New functions.
8403         (reftex-mode-menu): Use them.  Adapt to new structure of
8404         `reftex-ref-style-alist'.
8405         (reftex-select-with-char): Kill the RefTeX Select buffer when
8406         done.
8407         (reftex-remove-if): New function.
8408         (reftex-erase-all-selection-and-index-buffers)
8409         (reftex-mode-menu): Reference styles are now computed from
8410         `reftex-ref-style-alist'.  Fix typo.
8411         (reftex-report-bug): New function.
8412         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
8413         algorithms with O(n log n).  Introduce optional argument SORT (not
8414         yet used).
8416 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
8418         Enhancements for triple-quote string syntax.
8419         * progmodes/python.el (python-syntax-propertize-function):
8420         Match both quote cases in one regexp.
8421         (python-syntax-stringify): Handle matches properly.
8423 2012-09-30  Juri Linkov  <juri@jurta.org>
8425         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
8426         to nil around the call to `insert' to prevent
8427         directory time modification by lock_file.  (Bug#2295)
8428         * tar-mode.el (tar-summarize-buffer): Idem.
8430 2012-09-30  Juri Linkov  <juri@jurta.org>
8432         * facemenu.el (list-colors-sort): Add option "Luminance".
8433         (list-colors-sort-key): Implement it.
8435         * vc/diff-mode.el (diff-refine-removed):
8436         * vc/ediff-init.el (ediff-fine-diff-A):
8437         * vc/smerge-mode.el (smerge-refined-removed):
8438         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
8440 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
8442         * term/ns-win.el (x-file-dialog): New function.
8444 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
8446         * ido.el (ido-max-directory-size): Default to nil; the current
8447         default is small for POSIX systems, and impractical on Windows 7
8448         now that lstat returns directory sizes for NTFS.
8450 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
8452         In buffer display functions handle window-height/window-width
8453         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
8454         * window.el (window--display-buffer): New argument ALIST.
8455         Obey window-height and window-width alist entries.
8456         (window--try-to-split-window): New argument ALIST.
8457         Bind window-combination-limit to t when the window's size shall be
8458         changed and window-combination-limit equals `window-size'.
8459         (display-buffer-in-atom-window)
8460         (display-buffer-in-major-side-window)
8461         (display-buffer-in-side-window, display-buffer-same-window)
8462         (display-buffer-reuse-window, display-buffer-pop-up-frame)
8463         (display-buffer-pop-up-window, display-buffer-below-selected)
8464         (display-buffer-at-bottom, display-buffer-in-previous-window)
8465         (display-buffer-use-some-window): Adjust all callers of
8466         window--display-buffer and window--try-to-split-window.
8467         (fit-frame-to-buffer): New option.
8468         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8469         is non-nil.
8470         (display-buffer-in-major-side-window): Evaluate window-height /
8471         window-width alist entries.
8473         * help.el (temp-buffer-resize-frames)
8474         (temp-buffer-resize-regexps): Remove options.
8475         (temp-buffer-resize-mode): Adjust doc-string.
8476         (resize-temp-buffer-window): Don't consult
8477         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
8478         temp-buffer-resize-frames.
8480         * dired.el (dired-mark-pop-up):
8481         Call display-buffer-below-selected with a fit-window-to-buffer alist
8482         entry.
8484 2012-09-30  Chong Yidong  <cyd@gnu.org>
8486         * server.el (server-host): Document the security implications.
8487         (server-auth-key): Doc fix.
8489         * startup.el (initial-buffer-choice): Doc fix.
8491         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8493         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8494         restriction change.
8496         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8498         * help-fns.el (help-fns--obsolete): Fix last change.
8500 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8502         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8503         (minor-mode-map-alist): Remove redundant code.
8505         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8506         visited in a buffer.
8507         (cvs-insert-visited-file): New function.
8508         (find-file-hook): Use it.
8510         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8512         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8513         chose face.
8514         (log-edit-empty-buffer-p): Don't require a space after a header.
8516         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8518         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8520         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8521         a proper minor-mode.
8523         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8525 2012-09-29  Glenn Morris  <rgm@gnu.org>
8527         * winner.el (winner-mode): Remove variable (let define-minor-mode
8528         handle it).
8529         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8530         Doc fixes.
8531         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8532         (winner-mode): Use define-minor-mode.
8534         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8535         the full definition in loaddefs, rather than duplicating it.
8537         * help-macro.el (three-step-help): No need to autoload defcustom.
8539         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8540         (inferior-lisp-program, inferior-lisp-load-command)
8541         (inferior-lisp-prompt, inferior-lisp-mode-hook):
8542         No need to autoload defcustoms.
8544         * hippie-exp.el (hippie-expand-try-functions-list)
8545         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8546         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8547         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8548         (hippie-expand-only-buffers): No need to autoload defcustoms.
8549         * progmodes/vhdl-mode.el (vhdl-line-expand):
8550         Explicitly load hippie-exp, so it does not get autoloaded
8551         while hippie-expand-try-functions-list is let-bound.
8553 2012-09-28  Glenn Morris  <rgm@gnu.org>
8555         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8557         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8558         Only "cl.el" counts as cl these days.
8560 2012-09-28  Juri Linkov  <juri@jurta.org>
8562         Display archive errors in the echo area instead of inserting
8563         to the file buffer.
8565         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8566         to STDERR-TEST that can be a regexp matching a successful output.
8567         Create a temporary file and redirect stderr to it.  Search for
8568         STDERR-TEST in the stderr output and display it in the echo area
8569         if no match is found.
8570         (archive-extract-by-file): New function like
8571         `archive-extract-by-stdout' but extracting archives to files
8572         and looking for successful matches in stdout.  Function body is
8573         mostly copied from `archive-rar-extract'.
8574         (archive-rar-extract): Use `archive-extract-by-file'.
8575         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
8577 2012-09-28  Leo Liu  <sdl.web@gmail.com>
8579         * pcomplete.el (pcomplete-show-completions):
8580         Use minibuffer-message to make pcomplete usable in minibuffer.
8582         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8584 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8586         * type-break.el: Use lexical-binding.
8587         (type-break-mode): Use define-minor-mode.
8589         * emacs-lisp/pcase.el (pcase--mark-used): New.
8590         (pcase--u1): Use it (bug#12512).
8592         * custom.el (load-theme): Set buffer-file-name so the load is recorded
8593         in load-history with the right file name.
8595 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
8597         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8598         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8599         (doc-view-get-bounding-box): Make bounding box slicing work for
8600         ODF and DVI documents.
8602 2012-09-28  Glenn Morris  <rgm@gnu.org>
8604         * type-break.el (type-break-mode, type-break-interval)
8605         (type-break-good-rest-interval, type-break-keystroke-threshold):
8606         No need to autoload.
8607         (type-break-good-rest-interval, type-break-keystroke-threshold):
8608         Add :set-after.
8610 2012-09-28  Chong Yidong  <cyd@gnu.org>
8612         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8613         Add :version tag.
8615 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8617         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8619 2012-09-27  Glenn Morris  <rgm@gnu.org>
8621         * faces.el (x-display-name): Declare (for without-x builds).
8623         * linum.el (linum-format): Don't autoload it.  Improve :type.
8625         * progmodes/tcl.el: Don't require outline when compiling.
8626         (outline-regexp, outline-level): Declare.
8627         * textmodes/sgml-mode.el: Don't require outline when compiling.
8628         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8630         * term.el (term-ansi-reset):
8631         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
8633         * vc/vc.el (vc-next-action): Only gripe about committing read-only
8634         files for RCS and SCCS.  (Bug#9781)
8636 2012-09-27  Chong Yidong  <cyd@gnu.org>
8638         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8639         change; value should be t.
8641 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8643         * image-mode.el: Use lexical-binding.
8644         (image-mode-winprops): Use t to stand for the window of
8645         a buffer that's not displayed.
8646         * doc-view.el (doc-view-new-window-function): Handle the new
8647         t in winprops.
8648         (doc-view-enlarge): Make it a real nop if the size is not changed.
8649         (doc-view-display): Handle the case where the buffer is not (yet?)
8650         displayed in any window.
8651         (doc-view-saved-settings): New var.
8652         (doc-view-mode): Use it.
8653         (doc-view-fallback-mode): Set it.
8655         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8656         Set lexical-binding.
8657         (minibuffer-eldef-shorten-default): New var.
8658         (minibuffer-default-in-prompt-regexps): Use it for new default.
8659         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8661 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
8663         * international/uni-bidi.el:
8664         * international/uni-category.el:
8665         * international/uni-name.el:
8666         * international/uni-numeric.el: Regenerate.
8668 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
8669             Stefan Monnier  <monnier@iro.umontreal.ca>
8671         * profiler.el: New file.
8673 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8675         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8676         (testcover-reinstrument): Simplify with CSE.
8678 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
8680         * window.el (temp-buffer-window-setup): Fix typo in docstring.
8682 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
8684         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8685         (verilog-auto-input, verilog-auto-insert-lisp)
8686         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8687         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8688         (verilog-auto-unused, verilog-auto-wire)
8689         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8690         newline.  Reported by Andrew Jones.
8691         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8692         Reported by Brad Dobbie.
8693         (verilog-batch-delete-trailing-whitespace):
8694         Create verilog-batch-delete-trailing-whitespace.
8695         Reported by Brad Dobbie.
8696         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8697         parameters from another module.  Reported by Dan Katz.
8698         (verilog-auto, verilog-auto-assign-modport)
8699         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8700         AUTOINOUTMODPORT for UVM interface module shell generation.
8701         Reported by Brad Dobbie.
8702         (verilog-auto-inst-interfaced-ports): Make default nil, as more
8703         standard behavior.
8704         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8705         Reported by Matt Martin.
8707 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
8709         * window.el (window--resize-child-windows): When resizing child
8710         windows proportionally, process them in reverse order to
8711         preserve the "when splitting a window the new one gets the odd
8712         line" behavior.
8713         (window--resize-root-window-vertically): When resizing the
8714         minibuffer window try to affect only windows at the bottom of the
8715         frame.  (Bug#12419)
8717 2012-09-25  Chong Yidong  <cyd@gnu.org>
8719         * subr.el (declare): Doc fix.
8721         * help-fns.el (help-fns--obsolete): Handle macros properly.
8723 2012-09-25  Chong Yidong  <cyd@gnu.org>
8725         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8726         this function obsolete.
8728         * calendar/cal-x.el (calendar-two-frame-setup)
8729         (calendar-only-one-frame-setup, calendar-one-frame-setup):
8730         * calendar/calendar.el (american-calendar, european-calendar)
8731         (calendar-for-loop):
8732         * comint.el (comint-dynamic-simple-complete)
8733         (comint-dynamic-complete-as-filename, comint-unquote-filename):
8734         * desktop.el (desktop-load-default):
8735         * dired-x.el (dired-omit-here-always)
8736         (dired-hack-local-variables, dired-default-directory):
8737         * emacs-lisp/derived.el (derived-mode-class):
8738         * emacs-lisp/timer.el (timer-set-time-with-usecs):
8739         * emacs-lock.el (toggle-emacs-lock):
8740         * epa.el (epa-display-verify-result):
8741         * epg.el (epg-sign-keys, epg-start-sign-keys)
8742         (epg-passphrase-callback-function):
8743         * eshell/esh-util.el (eshell-for):
8744         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8745         (eshell-add-to-window-buffer-names):
8746         * files.el (locate-file-completion):
8747         * imenu.el (imenu-example--create-c-index)
8748         (imenu-example--create-lisp-index)
8749         (imenu-example--lisp-extract-index-name)
8750         (imenu-example--name-and-position):
8751         * international/mule-cmds.el (princ-list):
8752         * international/mule-diag.el (decode-codepage-char):
8753         * international/mule-util.el (detect-coding-with-priority):
8754         * iswitchb.el (iswitchb-read-buffer):
8755         * mail/mailalias.el (mail-complete):
8756         * mail/sendmail.el (mail-sent-via):
8757         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8758         (mouse-major-mode-menu):
8759         * password-cache.el (password-read-and-add):
8760         * pcomplete.el (pcomplete-parse-comint-arguments):
8761         * progmodes/sh-script.el (sh-maybe-here-document):
8762         * replace.el (query-replace-regexp-eval):
8763         * savehist.el (savehist-load):
8764         * simple.el (choose-completion-delete-max-match):
8765         * term.el (term-dynamic-simple-complete):
8766         * vc/ediff-init.el (ediff-check-version):
8767         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8768         * vc/vc.el (vc-diff-switches-list):
8769         * view.el (view-return-to-alist-update): Likewise.
8771         * subr.el (eval-next-after-load, makehash, insert-string)
8772         (assoc-ignore-representation, assoc-ignore-case): Use declare to
8773         mark obsolete.
8774         (mode-line-inverse-video): Variable deleted.
8776         * international/mule-util.el (string-to-sequence): Remove.
8778         * calendar/calendar.el (calendar-version):
8779         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8780         (icalendar-convert-diary-to-ical):
8781         * cus-edit.el (custom-mode):
8782         * ansi-color.el (ansi-color-unfontify-region):
8783         * international/latin1-disp.el (latin1-char-displayable-p):
8784         * progmodes/cwarn.el (turn-on-cwarn-mode):
8785         * progmodes/which-func.el (which-func-update-1):
8786         Use define-obsolete-function-alias.
8788         * net/newst-backend.el (newsticker-cache-filename):
8789         * net/newst-treeview.el (newsticker-groups-filename):
8790         Fix incorrect obsolescence declaration.
8792         * allout.el (allout-passphrase-hint-string): Likewise.
8793         (allout-init): Use a declare form to mark obsolete.
8795         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8796         this applies to functions.
8798         * iswitchb.el (iswitchb-read-buffer): Move code of
8799         iswitchb-define-mode-map here, and delete that obsolete function.
8801         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8802         font-lock-reference-face.
8804 2012-09-25  Glenn Morris  <rgm@gnu.org>
8806         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8807         Doc fixes.
8809         * eshell/em-term.el (eshell-term-name):
8810         Default to term-term-name.  (Bug#12485)
8812 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
8814         * progmodes/python.el (python-shell-send-buffer): Better handling
8815         of "if __name__ == '__main__':" conditionals when sending the buffer.
8817 2012-09-24  Glenn Morris  <rgm@gnu.org>
8819         * eshell/esh-cmd.el (eshell-find-alias-function):
8820         Tighten up file-name regexp.  (Bug#12499)
8822 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
8824         Enhancements for triple-quote string syntax.
8825         * progmodes/python.el (python-quote-syntax): Remove.
8826         (python-syntax-propertize-function): New value.
8827         (python-syntax-count-quotes, python-syntax-stringify):
8828         New functions.
8830 2012-09-24  Chong Yidong  <cyd@gnu.org>
8832         * mail/supercite.el (sc-version): Remove obsolete function.
8833         (sc-describe): Don't mark as obsolete, since it is bound.
8834         (sc-submit-bug-report): Remove.
8836         * vc/log-edit.el (cvs-changelog-full-paragraphs)
8837         (cvs-commit-buffer-require-final-newline): Remove.
8838         (log-edit-require-final-newline)
8839         (log-edit-changelog-full-paragraphs): Default to t.
8841         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8842         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8843         * vc/vc.el (vc-checkout-carefully): Likewise.
8845         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8846         (emerge-version): Remove.
8848         * progmodes/compile.el (compile-internal): Remove.
8849         (compilation-parse-errors-function): Fix typo.
8851         * international/mule.el (set-char-table-default): Remove.
8852         (set-coding-priority, make-coding-system, generic-char-p)
8853         (charset-list, charset-bytes, charset-id): Use declare to mark
8854         functions as obsolete.
8856         * vc/pcvs-defs.el (cvs-buffer-name-alist)
8857         (cvs-invert-ignore-marks): Remove references to obsolete vars.
8858         * vc/vc-hooks.el (vc-default-registered): Don't use
8859         vc-master-templates.
8861         * font-lock.el (font-lock-reference-face):
8862         Use define-obsolete-variable-alias.
8864         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8865         * calendar/calendar.el (calendar-font-lock-keywords):
8866         * calendar/diary-lib.el (diary-font-lock-keywords)
8867         (diary-fancy-font-lock-keywords):
8868         * textmodes/reftex-sel.el (reftex-insert-docstruct):
8869         * textmodes/reftex-index.el (reftex-insert-index):
8870         * textmodes/reftex-cite.el (reftex-format-bib-entry):
8871         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8872         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8873         * progmodes/prolog.el (prolog-font-lock-keywords):
8874         * progmodes/idlwave.el (idlwave-idl-keywords):
8875         * progmodes/ada-mode.el (ada-font-lock-keywords):
8876         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8878 2012-09-24  Glenn Morris  <rgm@gnu.org>
8880         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8882 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
8884         * progmodes/python.el (python-indent-line): More consistent cursor
8885         movement behavior.
8887 2012-09-23  Stefan Merten  <smerten@oekonux.de>
8889         * textmodes/rst.el: Fix compiler warning.
8891 2012-09-23  Roland Winkler  <winkler@gnu.org>
8893         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8894         Transcribe also LaTeX hyphenation.
8895         (bibtex-reformat): Bug fix. Do not quote twice the elements of
8896         bibtex-reformat-previous-options.
8898 2012-09-23  Roland Winkler  <winkler@gnu.org>
8900         * proced.el (proced-renice-command): New variable.
8901         (proced-marked-processes): New function.
8902         (proced-with-processes-buffer): New macro.
8903         (proced-send-signal): Use them.
8904         (proced-renice): New command bound to r.
8906 2012-09-23  Roland Winkler  <winkler@gnu.org>
8908         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8909         ibuffer-saved-filter-groups has one element, shortcut the call of
8910         completing-read.  (Bug#12331)
8912 2012-09-23  Chong Yidong  <cyd@gnu.org>
8914         * bindings.el (mode-line-toggle-read-only):
8915         * bs.el (bs-toggle-readonly):
8916         * buff-menu.el (Buffer-menu-toggle-read-only):
8917         * dired.el (dired-toggle-read-only):
8918         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8920 2012-09-23  Chong Yidong  <cyd@gnu.org>
8922         * image.el (image-type-available-p): Adapt to init-image-library
8923         argument changes.
8925 2012-09-22  Juri Linkov  <juri@jurta.org>
8927         * dired.el (dired-mode-map): Add [remap read-only-mode] for
8928         `dired-toggle-read-only'.  (Bug#12462)
8930 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
8932         * subr.el (temp-output-buffer-show): New function.
8933         (with-output-to-temp-buffer): Call temp-output-buffer-show
8934         instead of internal-temp-output-buffer-show.
8936 2012-09-22  Chong Yidong  <cyd@gnu.org>
8938         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8939         (Bug#12462).
8941         * repeat.el (repeat): Doc fix (Bug#12348).
8943         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8944         (Bug#10909).
8946         * simple.el (shell-command-on-region): Doc fix.
8947         (read-only-mode): Doc fix.
8949 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
8951         * emacs-lisp/timer.el (run-with-idle-timer)
8952         (timer-activate-when-idle): Warn against reinvoking an idle timer
8953         from within its own timer action.  (Bug#12447)
8955 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
8957         * cus-start.el (window-combination-limit): Add new optional
8958         values.
8959         * window.el (temp-buffer-window-show)
8960         (window--try-to-split-window): Handle new values of
8961         window-combination-limit (Bug#1806).
8962         (split-window): Test window-combination-limit for t instead of
8963         non-nil.
8964         (display-buffer-at-bottom): New buffer display action function.
8965         * help.el (temp-buffer-resize-regexps): New option.
8966         (temp-buffer-resize-mode): Rewrite doc-string.
8967         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8968         Don't resize reused window.  Suggested by Glenn Morris.
8970 2012-09-22  Stefan Merten  <smerten@oekonux.de>
8972         * textmodes/rst.el: Revamp section title faces.
8973         (rst-official-version)
8974         (rst-package-emacs-version-alist): Sync with official version
8975         V1.4.0.
8976         (rst-faces-defaults, rst-set-level-default)
8977         (rst-level-face-max, rst-level-face-base-color)
8978         (rst-level-face-base-light, rst-level-face-format-light)
8979         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8980         (rst-adornment-faces-alist): Match new setup.
8981         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8982         (rst-level-5, rst-level-6): New faces.
8984 2012-09-22  Chong Yidong  <cyd@gnu.org>
8986         * simple.el (undo): Handle indirect buffers (Bug#8207).
8988 2012-09-21  Leo Liu  <sdl.web@gmail.com>
8990         IDO: Disable match re-ordering for buffer switching.
8991         * ido.el (ido-buffer-disable-smart-matches): New variable.
8992         (ido-set-matches-1): Use it.  (Bug#2042)
8994 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
8996         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8997         Fix 2011-05-17 change.  (Bug#12418)
8999 2012-09-21  Leo Liu  <sdl.web@gmail.com>
9001         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
9003 2012-09-21  Glenn Morris  <rgm@gnu.org>
9005         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
9006         Be more robust about locating simple.el.
9008 2012-09-21  Glenn Morris  <rgm@gnu.org>
9010         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
9012 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
9014         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
9016 2012-09-20  Juri Linkov  <juri@jurta.org>
9018         * replace.el (query-replace-read-from): Use `read-regexp' instead
9019         of `read-from-minibuffer' when `regexp-flag' is non-nil.
9020         (occur-read-primary-args): Use `read-regexp' instead of
9021         `read-string'.
9022         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
9023         `read-from-minibuffer'.
9024         * isearch.el (isearch-occur): Use `read-regexp' instead of
9025         `read-string'.
9026         * dired.el (dired-read-regexp): Use `read-regexp' instead of
9027         `read-from-minibuffer'.
9028         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
9029         of `read-string'.  (Bug#7567)
9031         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
9032         and allow accepting a list of strings prepended to a list of
9033         standard default values.  Doc fix.  (Bug#12321)
9035         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
9037         * replace.el (read-regexp): Don't add ": " when PROMPT already
9038         ends with a colon and space.  (Bug#12321)
9040 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
9042         * doc-view.el (doc-view-display): Better fix for the cl-assertion
9043         error.
9045 2012-09-20  Stefan Merten  <smerten@oekonux.de>
9047         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
9048         Fixes feature request bug#11711.
9049         (rst-mode): Create `imenu-create-index-function'.
9050         (rst-get-stripped-line): Delete after refactoring.
9051         (rst-section-tree, rst-section-tree-rec)
9052         (rst-section-tree-point): Refactor and document properly.
9053         (rst-imenu-find-adornments-for-position)
9054         (rst-imenu-convert-cell, rst-imenu-create-index):
9055         New function.
9057 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9059         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
9060         (macroexp--expand-all): Use it.
9061         (macroexp--funcall-and-return): Remove by folding it into its sole
9062         caller (macroexp--warn-and-return).
9063         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
9064         Use macroexp--obsolete-warning.
9066         * calc/calc.el: Fix last change by removing the whole chunk, since it
9067         was only needed back when Calc was not bundled.
9069 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
9071         * emacs-lisp/debug.el (debug): Restore assignment to
9072         debugger-old-buffer removed on 2012-09-08.
9074 2012-09-20  Juri Linkov  <juri@jurta.org>
9076         * dired-aux.el (dired-diff): Remove (require 'diff) since
9077         `diff-latest-backup-file' is now autoloaded.
9079 2012-09-20  Chong Yidong  <cyd@gnu.org>
9081         * vc/diff.el (diff-latest-backup-file): Autoload.
9083 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9085         * calc/calc.el: Remove redundant autoload shape check.
9086         (sel-mode): Don't defvar.
9087         (calc-get-stack-element): Add `sel-mode' arg instead.
9088         (calc-top, calc-top-list): Pass it this additional argument.
9089         * calc/calc-store.el (calc-store-map):
9090         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
9091         (calc-map-equation, calc-outer-product, calc-inner-product):
9092         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
9094         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
9096 2012-09-19  Juri Linkov  <juri@jurta.org>
9098         * dired-aux.el (dired-diff): Add (require 'diff) because
9099         `diff-latest-backup-file' is not autoloaded.
9100         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
9101         of `dired-get-filename' to t to not report error when there is
9102         no default file on the current line.
9104 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9106         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
9107         macroexp--eval-if-compile.
9108         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
9109         (macroexp--expand-all): Use them (bug#12371).
9111         * doc-view.el (doc-view-guess-paper-size)
9112         (doc-view-scale-bounding-box): Fix unbound `caddr'.
9114 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
9116         New feature: set optimal slice from BoundingBox information.
9117         * doc-view.el (doc-view-mode-map): Add keybinding.
9118         (doc-view-menu): Add menu entry.
9119         (doc-view-set-slice): Adapt docstring.
9120         (doc-view-get-bounding-box, doc-view-guess-paper-size)
9121         (doc-view-scale-bounding-box)
9122         (doc-view-set-slice-from-bounding-box): New functions.
9123         (doc-view-paper-sizes): New defvar.
9125 2012-09-19  Glenn Morris  <rgm@gnu.org>
9127         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
9128         (byte-compile-log-warning): Autoload.  (Bug#12371)
9130         * calendar/calendar.el (calendar-american-month-header)
9131         (calendar-european-month-header, calendar-iso-month-header)
9132         (calendar-month-header): New options.
9133         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
9134         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
9136 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
9138         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
9140 2012-09-18  Juri Linkov  <juri@jurta.org>
9142         * dired-aux.el (dired-diff): Restore original functionality of
9143         getting the default value, but keep new feature of using the
9144         latest existing backup file (`diff-latest-backup-file').
9146 2012-09-18  Juri Linkov  <juri@jurta.org>
9148         * dired.el (dired-mark): If the region is active in Transient Mark
9149         mode, mark all files in the active region.  Doc fix.
9150         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
9151         Doc fix.  (Bug#10624)
9153 2012-09-18  Juri Linkov  <juri@jurta.org>
9155         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
9156         attributes for M-n are pulled from the file at point.
9157         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
9158         Suggested by Drew Adams.  (Bug#10624)
9160 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
9162         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
9163         whitespace after "end".
9164         (ruby-do-end-to-brace): Collapse block to one line if it fits
9165         within fill-column.
9167 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
9169         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
9170         value.
9171         (debug): Don't remove debugger window when debugger is expected
9172         to be back.
9174 2012-09-18  Chong Yidong  <cyd@gnu.org>
9176         * custom.el (defface): Doc fix.
9178         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
9180 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
9182         * progmodes/compile.el (compilation-start): Use compilation-always-kill
9183         to initialize query-on-exit; then test that instead (bug#12288).
9185 2012-09-17  Stefan Merten  <smerten@oekonux.de>
9187         * textmodes/rst.el: Add support for `testcover'.
9188         (rst-defcustom-testcover, rst-testcover-add-compose)
9189         (rst-testcover-add-1value): New functions.
9190         (rst-portable-mark-active-p): Replace by `use-region-p'.
9191         (rst-update-section, rst-classify-adornment)
9192         (rst-find-title-line): Mark `1value' forms.
9193         (rst-classify-adornment): Remove superfluous form.
9194         (rst-update-section, rst-get-adornments-around)
9195         (rst-adornment-complete-p, rst-get-next-adornment)
9196         (rst-adjust, rst-promote-region)
9197         (rst-display-adornments-hierarchy, rst-straighten-adornments)
9198         (rst-find-pfx-in-region, rst-section-tree-rec)
9199         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
9200         (rst-toc-node, rst-toc, rst-forward-section)
9201         (rst-iterate-leftmost-paragraphs)
9202         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
9203         (rst-bullet-list-region)
9204         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
9205         (rst-compile-find-conf, rst-compile)
9206         (rst-repeat-last-character): Fix style.
9208 2012-09-17  Chong Yidong  <cyd@gnu.org>
9210         * comint.el (comint--complete-file-name-data): Don't add a space
9211         if the status is `sole'; that adds a gratuitous space in the
9212         completion-cycling case (Bug#12092).
9214         * pcomplete.el (pcomplete-completions-at-point): Likewise.
9216 2012-09-17  Richard Stallman  <rms@gnu.org>
9218         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
9219         only in the mime-shown mode, not in raw mode.
9220         (rmail-mime): Toggle off mime by displaying the message without
9221         mime processing.  (Bug#12305)
9223         * mail/rmail.el (rmail-retry-failure):
9224         Turn off mime processing first.  (Bug#12037)
9226         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
9228 2012-09-17  Chong Yidong  <cyd@gnu.org>
9230         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
9231         (shell-dynamic-complete-functions): Convert to defcustom.
9232         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
9234         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
9235         * comint.el (comint-prompt-read-only):
9236         * custom.el (defcustom):
9237         * hi-lock.el (hi-lock-mode):
9238         * ibuffer.el (ibuffer-formats):
9239         * ielm.el (ielm-prompt-read-only):
9240         * novice.el (disable-command):
9241         * saveplace.el (toggle-save-place):
9242         * speedbar.el (speedbar-supported-extension-expressions):
9243         * startup.el (auto-save-list-file-prefix, init-file-user)
9244         (after-init-hook, inhibit-startup-echo-area-message):
9245         * strokes.el (strokes-help):
9246         * time-stamp.el (time-stamp):
9247         * calendar/calendar.el (calendar, diary-file):
9248         * calendar/diary-lib.el (diary-mail-entries, diary)
9249         (diary-list-entries-hook):
9250         * calendar/holidays.el (holidays, calendar-holidays):
9251         * calendar/lunar.el (lunar-phases):
9252         * calendar/solar.el (sunrise-sunset):
9253         * emulation/edt.el (edt-load-keys):
9254         * emulation/viper.el (viper-mode):
9255         * eshell/em-alias.el (eshell-command-aliases-list):
9256         * eshell/esh-util.el (eshell-convert-numeric-arguments):
9257         * international/ogonek.el (ogonek-information):
9258         * net/tramp-cmds.el (tramp-bug):
9259         * net/quickurl.el (quickurl-reread-hook-postfix):
9260         * play/decipher.el (decipher-font-lock-keywords):
9261         * progmodes/cc-styles.el (c-set-style):
9262         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
9263         * progmodes/inf-lisp.el (inferior-lisp-prompt):
9264         * progmodes/octave-mod.el (octave-mode):
9265         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
9266         * progmodes/verilog-mode.el (verilog-read-defines):
9267         * textmodes/two-column.el (2C-mode): Likewise.
9269 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
9271         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
9272         that holds many addresses.
9274 2012-09-16  Chong Yidong  <cyd@gnu.org>
9276         * align.el (align-areas): Call the indication function with
9277         positions instead of markers for arguments (Bug#12343).
9279         * files.el (parse-colon-path): Use split-string (Bug#12351).
9281         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9282         (display-buffer-function): Mark as obsolete.
9284         * progmodes/compile.el (compilation-parse-errors): Accept list
9285         values similar to font-lock-keywords (Bug#12136).
9286         Suggested by Oleksandr Manzyuk.
9287         (compilation-error-regexp-alist): Doc fix.
9289 2012-09-15  Glenn Morris  <rgm@gnu.org>
9291         * version.el (emacs-bzr-version-bzr): New function.
9292         (emacs-bzr-get-version): Add optional EXTERNAL argument.
9294         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
9295         checkouts, check the parent dirstate matches the branch.
9296         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
9297         empty string.
9299         * version.el (emacs-bzr-version): Doc fix.
9300         (emacs-bzr-version-dirstate): New function.
9301         (emacs-bzr-get-version): For lightweight checkouts, if the parent
9302         is local try and check that it matches the branch.  If not, just
9303         use dirstate information.  (Bug#12441)
9305 2012-09-14  Juri Linkov  <juri@jurta.org>
9307         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
9308         (Bug#12399)
9310 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9312         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
9314         * emacs-lisp/edebug.el: Miscellaneous cleanup.
9315         Remove obsolete byte-compiler hack that tried to silence some warnings.
9316         (edebug-submit-bug-report): Remove.
9317         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
9318         Remove aliases, use the un-prefixed name instead.
9319         (edebug-pop-to-buffer): Consider other frames.
9320         (edebug-original-read):: Make it more obvious that it's always defined.
9321         (edebug--make-form-data-entry, edebug--form-data-name)
9322         (edebug--form-data-begin, edebug--form-data-end): Rename from the
9323         single-dashed name, and implement with cl-defstruct.
9324         (edebug-set-form-data-entry): Use the standard accessors.
9325         (edebug-make-top-form-data-entry): Use push.
9326         (edebug-no-match): Drop useless `funcall'.
9327         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
9328         to functions.
9329         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
9330         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
9331         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
9332         (easy-menu-define, with-custom-print): Remove redundant specs.
9333         (edebug-outside-overriding-local-map)
9334         (edebug-outside-overriding-terminal-local-map): Remove, unused.
9335         (edebug--display): Bind unread-command-events directly to nil rather
9336         than binding it to unread-command-events and later setting it to nil.
9337         (edebug--display): Kill edebug-eval-buffer here...
9338         (edebug--recursive-edit): ...rather than here.
9339         Bind standard-output and standard-input.
9340         (edebug-eval): Check cl-macroexpand-all is fboundp.
9341         (edebug-temp-display-freq-count): Fix last change.
9343         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
9344         * subr.el (noreturn, 1value): Add `debug' spec.
9345         * emacs-lisp/advice.el: Require cl-lib.
9346         (ad-copy-tree): Remove, use copy-tree instead.
9347         (ad-dolist): Remove use dolist or cl-dolist instead.
9348         (ad-do-return): Remove, use cl-return instead.
9349         (defadvice): Add `debug' spec.
9351 2012-09-13  Juri Linkov  <juri@jurta.org>
9353         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
9354         (Bug#12399)
9356 2012-09-13  Glenn Morris  <rgm@gnu.org>
9358         * calc/calc.el (math-compose-expr):
9359         * calc/calc-ext.el (math-compose-expr):
9360         * progmodes/cc-defs.el (cl-macroexpand-all):
9361         * progmodes/cc-langs.el (delete-duplicates, mapcan)
9362         (cl-macroexpand-all): Update declarations.
9364         * vc/vc.el: No need to require ediff.
9365         (ediff-load-version-control): Declare.
9366         (ediff-vc-internal): Fix declaration.
9367         (vc-version-ediff): Require ediff.
9369 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
9371         Use a more backwards-compatible timer format (Bug#12430).
9372         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
9373         being right after USECS, as that better supports old code that
9374         inadvisedly looked directly at the timer vector.
9376 2012-09-13  Kenichi Handa  <handa@gnu.org>
9378         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9379         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
9380         `coding-priority' property of these language environment.
9382 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
9384         Fix glitches caused by addition of psec to timers (Bug#12430).
9385         * image.el (image-animate-timer):
9386         * time.el (display-time-world-timer):
9387         Use timer--function and timer--args rather than raw access to
9388         timer vector.
9390 2012-09-13  Glenn Morris  <rgm@gnu.org>
9392         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
9393         If not compiling a file, try using load-file-name.
9395 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9397         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
9398         Fix last change.
9399         (edebug-update-eval-list): Use `push'.
9401         * emacs-lisp/edebug.el: Use lexical-binding.
9402         Remove the "edebug-" prefix from non-dynamically-scoped variables.
9403         Mark unused args with underscore.
9404         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
9405         (edebug-form-data): Use defvar-local.
9406         (edebug-make-before-and-after-form, edebug-make-after-form):
9407         Use backquote.
9408         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
9409         Not dynamically scoped any more.
9410         (edebug--enter-trace): Add arguments `function' and `args'.
9411         Rename from edebug-enter-trace.
9412         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
9413         (edebug--update-coverage): Add `after-index' and `value' args.
9414         Rename from edebug-update-coverage.
9415         (edebug-slow-after): Call it accordingly.
9416         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
9417         edebug-recursive-edit.
9418         (edebug--display): Call it accordingly.  Add args `value',
9419         `offset-index', and `arg-mode'.  Rename from edebug-display.
9420         (edebug-debugger, edebug): Call it accordingly.
9421         (edebug-eval-display-list): Use dolist.
9423 2012-09-12  Juri Linkov  <juri@jurta.org>
9425         * info.el (Info-search): Don't check for isearch-mode and
9426         isearch-regexp before let-binding search-spaces-regexp to
9427         Info-search-whitespace-regexp.
9428         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
9429         search-whitespace-regexp if isearch-lax-whitespace or
9430         isearch-regexp-lax-whitespace is non-nil.
9431         (Info-mode): Don't set local variable search-whitespace-regexp.
9432         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9434 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9436         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9437         (debugger-env-macro): Remove support for unread-command-char.
9439         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9440         the temporary map re-appearing on emulation-mode-map-alists.
9442         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9443         since 22.1.
9445         * ehelp.el (with-electric-help): Accept functions in
9446         electric-help-form-to-execute.
9447         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9448         And replace unread-command-char -> unread-command-events.
9450 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
9452         Sync with Tramp 2.2.6.
9454         * net/tramp.el (tramp-accept-process-output): Don't use
9455         JUST-THIS-ONE in the XEmacs case.
9457         * net/trampver.el: Update release number.
9459 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
9461         * emacs-lisp/debug.el (debugger-previous-window-height):
9462         New variable.
9463         (debug): When debugger-jumping-flag is non-nil try to restore
9464         height of debugger window.  (Bug#8789)
9466 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9468         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9469         overriding-local-map and pre/post-command-hook here.
9470         (edebug-recursive-edit): Do it here instead (bug#12345).
9471         (edebug-outside-unread-command-char): Remove all uses of
9472         unread-command-char.
9474         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9475         inhibit-debugger is bound instead.
9477 2012-09-11  Bastien Guerry  <bzg@gnu.org>
9479         * subr.el (set-temporary-overlay-map): Add a docstring.
9480         (Bug#12346)
9482 2012-09-11  Bastien Guerry  <bzg@gnu.org>
9484         * minibuffer.el (completion-table-subvert): Fix docstring.
9485         (Bug#12347)
9487 2012-09-11  Bastien Guerry  <bzg@gnu.org>
9489         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
9491 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
9493         * progmodes/sql.el: Version 3.1
9494         (sql-db2-escape-newlines): New variable.
9495         (sql-escape-newlines-filter): Use it.
9497 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
9499         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9501 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
9503         * vc/diff-mode.el (diff-mode-menu):
9504         Bind diff-remove-trailing-whitespace.
9506 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9508         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9509         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9510         (emacs-lisp-byte-code-mode): New functions.
9511         (eval-sexp-add-defvars): Don't skip defvars in column >0.
9512         (eval-defun-2): Remove bogus interactive spec.
9513         (lisp-indent-line): Remove redundant whole-exp code, now done in
9514         indent-according-to-mode.
9515         (save-match-data): Remove redundant indent data.
9517         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9518         Use `declare'.
9520 2012-09-09  Juri Linkov  <juri@jurta.org>
9522         * replace.el (replace-regexp-lax-whitespace): New defcustom.
9523         (replace-lax-whitespace, query-replace-regexp)
9524         (query-replace-regexp-eval, replace-regexp): Doc fix.
9525         (perform-replace, replace-highlight): Let-bind
9526         isearch-lax-whitespace to replace-lax-whitespace and
9527         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9529         * isearch.el (isearch-query-replace): Let-bind
9530         replace-lax-whitespace to isearch-lax-whitespace and
9531         replace-regexp-lax-whitespace to
9532         isearch-regexp-lax-whitespace.  (Bug#10885)
9534 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9536         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9538 2012-09-09  Alan Mackenzie  <acm@muc.de>
9540         * progmodes/cc-engine.el (c-state-cache-init):
9541         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9542         (c-record-parse-state-state):
9543         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9545 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
9547         * register.el (register-separator): Rename from
9548         separator-register.  All uses changed.  Doc fix.
9549         (register): Fix version.
9551 2012-09-09  Chong Yidong  <cyd@gnu.org>
9553         * replace.el (query-replace-map): Bind four new symbols for
9554         requesting window scrolling.
9556         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9557         query-replace-map (Bug#8948).
9559         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9561         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9562         since they are now in query-replace-map.
9564         * window.el (scroll-other-window-down): Make the arg optional.
9566 2012-09-09  Chong Yidong  <cyd@gnu.org>
9568         * files.el (hack-local-variables-confirm): Use quit-window to kill
9569         the *Local Variables* buffer.
9571 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
9573         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9574         not just expect to be at its beginning.  Adjust callees.
9575         Succeed when do-end block has no space before the pipe character.
9576         (ruby-brace-to-do-end): When the original block is one-liner,
9577         convert to multiline.  Reindent the result.
9579 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
9581         * register.el (register): New group.
9582         (separator-register): New user option.
9583         (increment-register): Route it to `append-to-register', if
9584         register contains text.  Implication is that `C-x r +' can now be
9585         used for appending to a text register (bug#12217).
9586         (append-to-register, prepend-to-register): Add separator based on
9587         `separator-register'.
9589 2012-09-08  Alan Mackenzie  <acm@muc.de>
9591         AWK Mode: make auto-newline work when there's "==" in the pattern.
9592         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9593         correctly.
9594         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9595         Test more rigorously for "=" token.
9597 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
9599         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9600         Only fail when reached LIMIT.
9602 2012-09-08  Chong Yidong  <cyd@gnu.org>
9604         * dired.el (dired-mode-map): Don't bind M-=.
9606         * dired-aux.el (dired-diff): Use backup file as default.
9608 2012-09-08  Drew Adams  <drew.adams@oracle.com>
9610         * subr.el (add-to-history): Fix delete usage (Bug#12314).
9612 2012-09-08  Chong Yidong  <cyd@gnu.org>
9614         * subr.el (syntax-after, syntax-class): Doc fix.
9616 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
9618         * window.el (display-buffer-in-previous-window): New buffer
9619         display action function.
9621         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9622         (debugger-previous-window): New variable.
9623         (debug): Rewrite using display-buffer-in-previous-window,
9624         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
9626 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9628         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
9630 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
9632         * progmodes/python.el (python-shell-send-string):
9633         When default-directory is remote, create temp file on remote
9634         filesystem.
9635         (python-shell-send-file): When file is remote, pass local view of
9636         file paths to remote Python interpreter.  (Bug#12340)
9638 2012-09-07  Chong Yidong  <cyd@gnu.org>
9640         * window.el (switch-to-buffer): Doc fix (Bug#12181).
9642         * files.el (after-find-file): Don't fail on a read-only buffer if
9643         require-final-newline is `visit' or `visit-save' (Bug#11156).
9645         * subr.el (read-char-choice): Allow quitting via ESC ESC.
9647         * userlock.el (ask-user-about-supersession-threat):
9648         Use read-char-choice (Bug#12093).
9650 2012-09-07  Chong Yidong  <cyd@gnu.org>
9652         * subr.el (buffer-narrowed-p): New function.
9654         * ses.el (ses-widen):
9655         * simple.el (count-words--buffer-message):
9656         * net/browse-url.el (browse-url-of-buffer): Use it.
9658         * simple.el (count-words-region): Don't signal an error if there
9659         is a non-nil prefix arg and the mark is not set.
9661         * help.el (describe-key-briefly): Allow the message to be seen
9662         when invoked from the minibuffer (Bug#7014).
9664 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
9666         * progmodes/ruby-mode.el (ruby-end-of-defun)
9667         (ruby-beginning-of-defun): Simplify, allow indentation before
9668         block beginning and end keywords.
9669         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9670         (ruby-end-of-defun): Expect that the point is at the beginning of
9671         the defun.
9673 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9675         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9676         (bug#12367).
9677         (cl--make-usage-args): Strip _ from argument names.
9679 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9681         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9682         obsolete alias speedbar-key-map.
9683         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9684         (vhdl-index-menu-init): Don't use obsolete variable
9685         font-lock-maximum-size.
9687 2012-09-06  Chong Yidong  <cyd@gnu.org>
9689         * frame.el (window-system-version): Mark as obsolete.
9691         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9692         of obsolete variable speedbar-key-map.
9694 2012-09-06  Juri Linkov  <juri@jurta.org>
9696         * replace.el (replace-lax-whitespace): New defcustom.
9697         (query-replace, query-replace-regexp, query-replace-regexp-eval)
9698         (replace-string, replace-regexp): Mention it in docstrings.
9699         (perform-replace, replace-highlight): Let-bind
9700         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9701         to the values of replace-lax-whitespace and regexp-flag.
9702         Don't let-bind search-whitespace-regexp.  (Bug#10885)
9704         * isearch.el (isearch-query-replace): Let-bind
9705         replace-lax-whitespace instead of let-binding
9706         replace-search-function and replace-re-search-function.
9707         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9708         and isearch-regexp-lax-whitespace to lazy-highlight variables.
9709         (isearch-toggle-symbol): Set isearch-regexp to nil
9710         in isearch-word mode (like in isearch-toggle-word).
9712 2012-09-06  Juri Linkov  <juri@jurta.org>
9714         * replace.el (replace-search-function)
9715         (replace-re-search-function): Set default values to nil.
9716         (perform-replace): Let-bind isearch-related variables based on
9717         replace-related values, call `isearch-search-fun' and let-bind
9718         the result to `search-function'.  Remove code that sets
9719         `search-function' and `search-string' separately for
9720         `delimited-flag'.
9721         (replace-highlight): Add new argument `delimited-flag' and
9722         rename other arguments to the names used in `perform-replace'.
9723         Let-bind `isearch-word' to the argument `delimited-flag'.
9724         (Bug#10885, bug#10887)
9726 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
9728         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9729         ruby-beginning-of-indent, simplify, allow all keywords to have
9730         indentation before them.
9731         (ruby-beginning-of-indent): Adjust for above.  Search until the
9732         found point is not inside a string or comment.
9733         (ruby-font-lock-keywords): Allow symbols to start with "@"
9734         character, give them higher priority than variables.
9735         (ruby-syntax-propertize-function)
9736         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9737         matchers.  Expression expansions are not comments when inside a
9738         string, and there comment syntax status is irrelevant.
9739         (ruby-match-expression-expansion): New function.  Check that
9740         expression expansion is inside a string, and it's not escaped.
9741         (ruby-font-lock-keywords): Use it.
9743 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
9745         * help.el (temp-buffer-max-height): New default value.
9746         (temp-buffer-resize-frames): New option.
9747         (resize-temp-buffer-window): Optionally resize frame.
9749         * window.el (fit-frame-to-buffer-bottom-margin): New option.
9750         (fit-frame-to-buffer): New function.
9752 2012-09-05  Glenn Morris  <rgm@gnu.org>
9754         * emulation/cua-rect.el (cua--init-rectangles):
9755         * textmodes/picture.el (picture-mode-map):
9756         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9757         like forward-char and backward-char.  (Bug#12317)
9759 2012-09-05  Leo Liu  <sdl.web@gmail.com>
9761         * progmodes/flymake.el (flymake-warning-re): New variable.
9762         (flymake-parse-line): Use it.
9764 2012-09-05  Glenn Morris  <rgm@gnu.org>
9766         * calendar/holidays.el (holiday-christian-holidays):
9767         Rename an entry.  (Bug#12289)
9769 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9771         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9772         (bug#12222).
9774 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9776         * loadup.el: Load macroexp.  Remove hack.
9777         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9778         (macroexp--expand-all): Use it to get better warnings.
9779         (macroexp--backtrace, macroexp--trim-backtrace-frame)
9780         (internal-macroexpand-for-load): New functions.
9781         (macroexp--pending-eager-loads): New var.
9782         (emacs-startup-hook): New hack to replace one in loadup.el.
9783         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9784         (cl--compiler-macro-cXXr): Move to top, before they can be used.
9785         (cl-psetf): Simplify.
9786         (cl-defstruct): Add indent rule.
9788 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
9790         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9791         over `user-mail-address' for the SMTP MAIL FROM envelope.
9792         (smtpmail-via-smtp): Ditto.
9794 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
9796         * progmodes/ruby-mode.el: Clean up keybindings.
9797         (ruby-mode-map): Don't bind ruby-electric-brace,
9798         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9799         backward-kill-word, reindent-then-newline-and-indent.
9800         (ruby-mark-defun): Remove.
9801         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
9802         (ruby-mode): Set local beginning-of-defun-function and
9803         end-of-defun-function values.
9805 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
9807         * window.el (temp-buffer-window-setup-hook)
9808         (temp-buffer-window-show-hook): New hooks.
9809         (temp-buffer-window-setup, temp-buffer-window-show)
9810         (with-temp-buffer-window): New functions.
9811         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9812         (special-display-popup-frame): Make sure the window used shows BUFFER.
9814         * help.el (temp-buffer-resize-mode): Fix doc-string.
9815         (resize-temp-buffer-window): New optional argument WINDOW.
9817         * files.el (recover-file, save-buffers-kill-emacs):
9818         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9820 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
9822         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9823         remote definition of `default-directory', ensure we can connect.
9825 2012-09-02  Juri Linkov  <juri@jurta.org>
9827         Toggle whitespace matching mode with M-s SPC.
9828         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9830         * isearch.el (search-whitespace-regexp): Doc fix.
9831         Remove cons cell customization.
9832         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9833         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9834         New variables.
9835         (isearch-forward, isearch-forward-regexp): Doc fix.
9836         (isearch-toggle-lax-whitespace): New command.
9837         (search-forward-lax-whitespace, search-backward-lax-whitespace)
9838         (re-search-forward-lax-whitespace)
9839         (re-search-backward-lax-whitespace): New functions.
9840         (isearch-whitespace-regexp): Remove function.
9841         (isearch-query-replace): Let-bind replace-search-function and
9842         replace-re-search-function.
9843         (isearch-occur): Let-bind search-spaces-regexp according to the
9844         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9845         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9846         condition for C-q SPC.
9847         (isearch-search-fun-default): Use new functions mentioned above.
9848         (isearch-search-forward, isearch-search-backward): Remove functions.
9849         (isearch-search): Don't let-bind search-spaces-regexp.
9850         (isearch-lazy-highlight-space-regexp): Remove variable.
9851         (isearch-lazy-highlight-lax-whitespace)
9852         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9853         (isearch-lazy-highlight-new-loop): Use them.
9854         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9856 2012-09-02  Chong Yidong  <cyd@gnu.org>
9858         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9860 2012-09-02  Glenn Morris  <rgm@gnu.org>
9862         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
9864 2012-09-01  Glenn Morris  <rgm@gnu.org>
9866         * term.el: Tidy up menu definitions.
9867         (term-mode-map): Use easymenu for In/Out, Complete menus.
9868         (term-pager-break-map): Initialize in the defvar.
9869         (term-terminal-menu, term-signals-menu): Define with easymenu.
9870         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
9871         (term-pager-menu): New, extracted from term-process-pager.
9872         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9873         (term-update-mode-line): Propertize line/char and page items.
9874         (term-process-pager): Move keymap initialization elsewhere.
9876 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
9878         * window.el (switch-to-prev-buffer): Handle additional values of
9879         BURY-OR-KILL argument.  Don't switch in minibuffer window.
9880         (switch-to-next-buffer): Don't switch in minibuffer window.
9881         (quit-restore-window): New function based on quit-window.
9882         Handle additional values of former KILL argument.
9883         (quit-window): Call quit-restore-window with appropriate
9884         interpretation of KILL argument.
9885         (display-buffer-below-selected): New buffer display action
9886         function.
9888 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9890         * minibuffer.el (completion-at-point-functions): Complete docstring
9891         (bug#12254).
9893 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
9895         Better seed support for (random).
9896         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9897         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9898         * play/mpuz.el, play/tetris.el, play/zone.el:
9899         * calc/calc-comb.el (math-init-random-base):
9900         * play/blackbox.el (bb-init-board):
9901         * play/life.el (life):
9902         * server.el (server-use-tcp):
9903         * type-break.el (type-break):
9904         Remove unnecessary call to (random t).
9905         * net/sasl.el (sasl-unique-id-function):
9906         Change (random t) to (random), now that the latter is more random.
9907         * play/life.el (life-initialized): Remove no-longer-needed var.
9909 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
9911         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9912         Consider frame's buffer predicate when choosing the buffer.
9913         (Bug#12081)
9915 2012-08-30  Richard Stallman  <rms@gnu.org>
9917         * simple.el (special-mode-map): Delete binding for `z'.
9919 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
9921         * progmodes/compile.el (compilation-always-kill): Doc fix.
9923 2012-08-30  Chong Yidong  <cyd@gnu.org>
9925         * window.el (display-buffer-reuse-frames): Make the obsolescence
9926         message more informative.
9928 2012-08-30  Glenn Morris  <rgm@gnu.org>
9930         * paren.el (show-paren-delay):
9931         Add a :set function.  Doc fix.  (Bug#12297)
9933 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
9935         * progmodes/compile.el (compilation-always-kill): New var.
9936         (compilation-start): Use it.
9938 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9940         * simple.el (read-only-mode): Move from files.el for bootstrapping.
9941         * files.el (read-only-mode): Move to simple.el.
9943         * files.el (read-only-mode): New minor mode.
9944         (toggle-read-only): Use it and mark obsolete.
9945         (find-file--read-only):
9946         * vc/vc.el (vc-next-action, vc-checkout):
9947         * vc/vc-cvs.el (vc-cvs-checkout):
9948         * obsolete/vc-mcvs.el (vc-mcvs-update):
9949         * ffap.el (ffap--toggle-read-only): Update callers.
9951 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
9953         * eshell/esh-ext.el (eshell-external-command): Do not examine
9954         remote shell scripts.
9955         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9957         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9958         "/usr/local/sbin".
9960 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9962         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9964 2012-08-28  Leo Liu  <sdl.web@gmail.com>
9966         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9967         completion-at-point.  (Bug#12220)
9969         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9971         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9973 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9975         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9976         be buffer-local; add delete-trailing-whitespace (bug#12259).
9978 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
9980         * progmodes/hideif.el (hif-compress-define-list):
9981         Fix typo.  (Bug#11951)
9983 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
9985         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9986         buffer local setting.
9988         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9989         rcirc-encode-coding-system.
9991 2012-08-28  Leo Liu  <sdl.web@gmail.com>
9993         * net/rcirc.el (rcirc-split-message): New function.
9994         (rcirc-send-message): Use it.  (Bug#12051)
9996 2012-08-28  Juri Linkov  <juri@jurta.org>
9998         * info.el (Info-fontify-node): Hide empty lines at the end of
9999         the node.  (Bug#12272)
10001 2012-08-27  Drew Adams  <drew.adams@oracle.com>
10003         * dired.el (dired-pop-to-buffer): Make window start at beginning
10004         of buffer (Bug#12281).
10006 2012-08-26  Chong Yidong  <cyd@gnu.org>
10008         * window.el (special-display-regexps, special-display-frame-alist)
10009         (special-display-buffer-names, special-display-function)
10010         (display-buffer-reuse-frames): Mark as obsolete.
10012         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
10014         * help.el (help-print-return-message): Don't treat
10015         display-buffer-reuse-frames specially.
10017 2012-08-26  Chong Yidong  <cyd@gnu.org>
10019         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
10020         New variable, replacing gdb-frame-parameters.
10021         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
10022         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
10023         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
10024         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
10025         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
10026         the functions directly with gdb-display-buffer-other-frame-action.
10027         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
10028         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
10029         (gdb-display-stack-buffer, gdb-display-locals-buffer)
10030         (gdb-display-registers-buffer): Define directly.
10031         (def-gdb-display-buffer): Macro deleted.
10032         (gdb-display-buffer): Remove second and third args, callers don't
10033         use them.  Defer to the default display-buffer behavior, apart
10034         from making windows dedicated.
10035         (gdb-setup-windows): Don't call display-buffer unnecessarily.
10037         * progmodes/gud.el (gud-display-line): Just use display-buffer.
10039         * window.el (display-buffer-pop-up-frame): Handle a
10040         pop-up-frame-parameters alist entry.
10041         (display-buffer): Document it.
10043 2012-08-26  Chong Yidong  <cyd@gnu.org>
10045         * isearch.el (search-whitespace-regexp): Make string and nil
10046         values apply to both ordinary and regexp search.  Allow a cons
10047         cell value to distinguish between the two.
10048         (isearch-whitespace-regexp, isearch-search-forward)
10049         (isearch-search-backward): New functions.
10050         (isearch-occur, isearch-search-fun-default, isearch-search)
10051         (isearch-lazy-highlight-new-loop): Use them.
10052         (isearch-forward, isearch-forward-regexp): Doc fix.
10054 2012-08-26  Chong Yidong  <cyd@gnu.org>
10056         * faces.el (help-argument-name): Always inherit from italic
10057         (Bug#12213).
10059 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
10061         * window.el (window--even-window-heights): Even heights when
10062         WINDOW and the selected window form a vertical combination.
10063         (display-buffer-use-some-window): Provide that window used gets
10064         sized back by quit-window.  (Bug#11880) and (Bug#12091)
10066 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
10068         Fix file time stamp problem with bzr and CVS (Bug#12001).
10069         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
10070         in the file's time stamp, since the version control system loses
10071         that information.
10073 2012-08-22  Juri Linkov  <juri@jurta.org>
10075         * info.el (Info-fontify-node): Hide the suffix of the
10076         Info file name in the header line.  (Bug#12187)
10078 2012-08-22  Glenn Morris  <rgm@gnu.org>
10080         * calendar/cal-tex.el (cal-tex-weekly-common):
10081         Restore leading blank page.
10083 2012-08-22  Le Wang  <l26wang@gmail.com>
10085         * misc.el (forward-to-word, backward-to-word): Activate or extend
10086         the region under `shift-select-mode'.  (Bug#12231)
10088 2012-08-22  Bastien Guerry  <bzg@gnu.org>
10090         * progmodes/executable.el (executable-prefix): Set to "#!" instead
10091         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
10092         gives details on why the space is never needed.
10094 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
10096         * window.el (walk-window-tree, window-with-parameter):
10097         New optional argument MINIBUF to control whether these functions
10098         should run on the minibuffer window.
10099         (window-at-side-list): Don't operate on minibuffer window.
10100         (window-in-direction): Simplify and rewrite doc-string.
10101         (window--size-ignore): Rename to window--size-ignore-p.
10102         Update callers.
10103         (display-buffer-in-atom-window, window--major-non-side-window)
10104         (window--major-side-window, display-buffer-in-major-side-window)
10105         (delete-side-window, display-buffer-in-side-window):
10106         New functions.
10107         (window--side-check, window-deletable-p, delete-window)
10108         (delete-other-windows, split-window): Handle side windows and
10109         atomic windows appropriately.
10110         (window--display-buffer): Call display-buffer-record-window also
10111         when the window buffer did not change.
10113 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
10115         * help-fns.el (help-fns--key-bindings):
10116         Abbreviate non-symbol remap targets.  (Bug#12174)
10118 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
10120         * dired.el (dired-mark-remembered): Don't clobber point.
10121         (Bug#11795)
10123 2012-08-22  Glenn Morris  <rgm@gnu.org>
10125         * progmodes/bug-reference.el (bug-reference): New custom group.
10126         (bug-reference-bug-regexp): Make it a defcustom.
10128 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
10130         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
10131         (js-paren-indent-offset, js-square-indent-offset)
10132         (js-curly-indent-offset): Add :safe (Bug#12257).
10134 2012-08-22  Edward O'Connor  <hober0@gmail.com>
10136         * json.el (json-key-format): Add error properties.
10137         (json-encode-key): New function.
10138         (json-encode-hash-table, json-encode-alist, json-encode-plist):
10139         Use json-encode-key.
10141 2012-08-22  Glenn Morris  <rgm@gnu.org>
10143         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
10144         (cal-tex-leftday, cal-tex-rightday): Remove functions.
10145         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
10146         Update for above change.
10148 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
10150         * cus-face.el (custom-face-attributes): Fix customize type for the
10151         :underline attribute.  (Bug#11805)
10153 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
10155         * window.el (window-point-1, set-window-point-1): Remove.
10156         (window-in-direction, record-window-buffer)
10157         (set-window-buffer-start-and-point, split-window-below)
10158         (window--state-get-1, display-buffer-record-window):
10159         Replace calls to window-point-1 and set-window-point-1 by calls to
10160         window-point and set-window-point respectively.
10162 2012-08-21  Glenn Morris  <rgm@gnu.org>
10164         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
10165         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
10166         Use it.
10168         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
10169         (cal-tex-shortday): New function.
10170         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
10171         (cal-tex-cursor-filofax-daily): Use the above.
10173         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
10174         New functions.
10175         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10176         (cal-tex-cursor-filofax-week): Use them.
10178         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
10179         New constants.
10180         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
10181         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
10183         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
10184         (cal-tex-end-document): Don't rely on buffer name.
10186         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
10187         Use cal-tex-vspace.
10188         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
10189         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
10190         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
10191         Use cal-tex-arg.
10193         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
10194         (cal-tex-cursor-week, cal-tex-cursor-week2)
10195         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
10196         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10197         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
10198         (cal-tex-insert-preamble, cal-tex-b-document)
10199         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
10200         Improve cal-tex-cmd usage.
10202         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
10203         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
10204         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
10205         (cal-tex-weekly-paper): New function.
10206         (cal-tex-cursor-week, cal-tex-cursor-week2)
10207         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
10208         (cal-tex-cursor-day): Use it.
10210         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
10211         (cal-tex-cursor-filofax-week): Remove leading blank page.
10213         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10214         Add autoload cookie.  For now at least, don't use color, since
10215         no other cal-tex function does.
10217         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
10218         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
10219         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
10221 2012-08-21  Juri Linkov  <juri@jurta.org>
10223         * info.el (Info-file-attributes): New variable.
10224         (info-insert-file-contents): Add file attributes to
10225         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
10226         `Info-toc-nodes' when previous modtime of the Info file is less
10227         than new modtime.
10228         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
10229         of info.el.  (Bug#12230)
10231 2012-08-20  Glenn Morris  <rgm@gnu.org>
10233         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
10234         * calendar/holidays.el (calendar-holiday-list):
10235         Report errors with display-warning rather than beep'n'sleep.
10237 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
10239         * net/tramp.el (tramp-accept-process-output): Accept only output
10240         from PROC.  Otherwise, process filters and sentinels might be
10241         confused.  (Bug#12145)
10243 2012-08-20  Chong Yidong  <cyd@gnu.org>
10245         * descr-text.el (describe-text-properties-1): Use overlays-in to
10246         report on empty overlays (Bug#3322).
10248 2012-08-20  Glenn Morris  <rgm@gnu.org>
10250         * mail/rmailout.el (rmail-output-read-file-name):
10251         Trap and report errors in rmail-output-file-alist elements.
10253         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
10254         since most non-font-lock faces are not also variables).
10256 2012-08-20  Edward Reingold  <reingold@iit.edu>
10258         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
10259         New function.  (Bug12160)
10261 2012-08-19  Glenn Morris  <rgm@gnu.org>
10263         * mail/rmailout.el (rmail-output-read-file-name):
10264         Fix previous change (when the alist is nil or does not match).
10266 2012-08-19  Chong Yidong  <cyd@gnu.org>
10268         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
10269         (Bug#12228).
10271 2012-08-18  Chong Yidong  <cyd@gnu.org>
10273         * simple.el (yank-handled-properties): New defcustom.
10274         (yank-excluded-properties): Add font-lock-face and category.
10275         (yank): Doc fix.
10277         * subr.el (remove-yank-excluded-properties):
10278         Obey yank-handled-properties.  The special handling of font-lock-face
10279         and category is now done this way, instead of being hard-coded.
10280         (insert-for-yank-1): Remove font-lock-face handling.
10281         (yank-handle-font-lock-face-property)
10282         (yank-handle-category-property): New function.
10284 2012-08-17  Glenn Morris  <rgm@gnu.org>
10286         * mail/rmailout.el (rmail-output-read-file-name):
10287         Check rmail-output-file-alist against the full message body
10288         in the correct rmail buffer.  (Bug#12214)
10290 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
10292         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
10293         Eliminate superfluous prompt.  (Bug#12203)
10295 2012-08-17  Chong Yidong  <cyd@gnu.org>
10297         * mouse.el (mouse-appearance-menu): If x-select-font returns a
10298         font spec, set the font directly (Bug#3228).
10300 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
10302         * window.el (delete-window): Fix last fix.
10304 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
10306         * window.el (window-valid-p): Move to window.c.
10307         (window-child, window-child-count, window-last-child)
10308         (window-normalize-window, window-combined-p)
10309         (window-combinations, window-atom-root, window-min-size)
10310         (window-sizable, window-sizable-p, window-size-fixed-p)
10311         (window-min-delta, window-max-delta, window--resizable)
10312         (window--resizable-p, window-resizable, window-total-size)
10313         (window-full-height-p, window-full-width-p, window-body-size)
10314         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
10315         (minimize-window, window-deletable-p, delete-window)
10316         (delete-other-windows, set-window-buffer-start-and-point)
10317         (next-buffer, previous-buffer, split-window, balance-windows-2)
10318         (set-window-text-height, window-buffer-height)
10319         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
10320         (truncated-partial-width-window-p): Minor code adjustments.
10321         In doc-strings state whether the argument window has to denote a
10322         live, valid or any window.
10324 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
10326         * progmodes/subword.el (subword-forward-function)
10327         (subword-backward-function, subword-forward-regexp)
10328         (subword-backward-regexp): New variables.
10329         (subword-forward, subword-forward-internal, subword-backward-internal):
10330         Use new variables, eg so that different "word" definitions
10331         can be easily used.  (Bug#11411)
10333 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10335         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
10336         for composite selectors.
10337         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
10338         operation just because we can't find a previous revision.
10340 2012-08-15  Chong Yidong  <cyd@gnu.org>
10342         * frame.el (set-frame-font): Accept font objects.
10344 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10346         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
10348 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
10350         * man.el (Man-overstrike-face, Man-underline-face)
10351         (Man-reverse-face): Remove variables.
10352         (Man-overstrike, Man-underline, Man-reverse): New faces.
10353         (Man-fontify-manpage): Use them instead of the variables.
10354         (Man-cleanup-manpage): Comment change.
10355         (Man-ansi-color-map): New variable.
10356         (Man-fontify-manpage): Use it.
10357         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
10359         Implement ANSI SGR parameters 22-27 (bug#12146).
10360         * ansi-color.el (ansi-colors): Doc fix.
10361         (ansi-color-context, ansi-color-context-region): Doc fix.
10362         (ansi-color--find-face): New function.
10363         (ansi-color-apply, ansi-color-apply-on-region): Use it.
10364         Rename the local variable `face' to `codes' since it is now a list of
10365         ansi codes.  Doc fix.
10366         (ansi-color-get-face): Remove.
10367         (ansi-color-parse-sequence): New function, derived from
10368         ansi-color-get-face.
10369         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
10370         codes 22-27.
10372 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10374         * subr.el (read-passwd): Allow use from a minibuffer.
10376 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
10378         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
10379         inside comments and strings as identifiers.
10381         * progmodes/gud.el (gud-tooltip-print-command): Quote the
10382         expression to evaluate.  This allows to evaluate expressions with
10383         embedded whitespace.
10384         (gud-tooltip-tips): Add a blank before the newline in the
10385         message-box text, for the benefit of message-box emulation on
10386         MS-Windows.
10388         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
10389         messages from GDB, pop them up in a tooltip to give feedback to
10390         user.
10391         (gdb-tooltip-print-1): Quote the expression to evaluate.
10392         This allows to evaluate expressions with embedded whitespace.
10393         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
10394         if the TTY name is nil or empty (which happens when communicating
10395         with the inferior via pipes, e.g. on MS-Windows).
10396         (gdb-internals): If GDB sends a "&\n" empty debugging message,
10397         don't send that to the GUD buffer.
10399 2012-08-14  Glenn Morris  <rgm@gnu.org>
10401         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
10402         Optimize away setq-default with no args, as for setq.  (Bug#12195)
10404 2012-08-14  Chong Yidong  <cyd@gnu.org>
10406         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
10408         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
10409         (Bug#12085).
10411 2012-08-14  Glenn Morris  <rgm@gnu.org>
10413         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
10415 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
10417         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
10418         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10419         Use cached shell name.
10421 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
10423         * progmodes/python.el (python-shell-send-string):
10424         (python-shell-send-setup-code): Do not use `format' with `message'.
10426 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
10428         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
10429         (ruby-percent-literal-beg-re): New constant.
10430         (ruby-syntax-general-delimiters-goto-beg): Rename to
10431         `ruby-syntax-enclosing-percent-literal', improve literal type check.
10432         (ruby-syntax-propertize-general-delimiters): Rename to
10433         `ruby-syntax-propertize-percent-literal', it's a shorter and more
10434         popular term.  Adjust comments everywhere.
10435         (ruby-syntax-propertize-percent-literal): Only propertize when not
10436         inside a simple string or comment.  When the literal is unclosed,
10437         leave the text after it unpropertized.
10438         (ruby-syntax-methods-before-regexp): New constant.
10439         (ruby-syntax-propertize-function): Use it to recognize regexps.
10440         Don't look at the text after regexp, just use the whitelist.
10442 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
10444         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10445         non-nil always load the compiled file if it exists.  (Bug#12197)
10447 2012-08-14  Chong Yidong  <cyd@gnu.org>
10449         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10450         (hi-lock-set-pattern): When deciding whether to use font lock or
10451         overlays, look at font-lock-mode instead of font-lock-fontified
10452         (Bug#12168).
10453         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10454         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10456 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
10458         * subr.el (internal--after-with-selected-window): Fix typo
10459         (Bug#12193).
10461 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
10463         Use `completion-table-dynamic' for completion functions.
10464         * progmodes/python.el
10465         (python-shell-completion--do-completion-at-point)
10466         (python-shell-completion--get-completions):
10467         Remove functions.
10468         (python-shell-completion-complete-at-point): New function.
10469         (python-completion-complete-at-point): Use it.
10471 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
10473         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10474         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10476 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10478         * subr.el (function-get): Refine `autoload' arg so it can also
10479         autoload functions for gv.el (bug#12191).
10480         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10481         autoloads macros.
10483         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10484         Prefer pcase-let over destructuring-bind.
10485         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10486         Also, remove whitespace as we go, rather than after accumulating the
10487         various places.
10489         * subr.el (internal--before-with-selected-window)
10490         (internal--after-with-selected-window): Fix typo seleted->selected.
10491         (with-selected-window): Adjust callers.
10492         Reported by Dmitry Gutov <dgutov@yandex.ru>.
10494 2012-08-13  Bastien Guerry  <bzg@gnu.org>
10496         * window.el (special-display-popup-frame): Minor docstring
10497         enhancement.  (Bug#12172)
10499 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
10501         * tar-mode.el (tar-header-data-end): Only ignore size for files of
10502         type 1-6.
10503         (tar-header-block-summarize, tar-get-descriptor): Handle pax
10504         extended headers.
10506         * files.el (hack-local-variables-filter): Remove useless eval.
10508 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
10510         * subr.el (with-selected-window): Fix last change.
10512 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10514         * subr.el (internal--before-with-seleted-window)
10515         (internal--after-with-seleted-window): New functions.
10516         (with-selected-window): Use them, to replace dependency on
10517         tty-top-frame.
10519 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
10521         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10522         binding for `newline'.
10523         (ruby-move-to-block): When moving backward, stop at block opening,
10524         not indentation.
10525         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10526         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10527         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10528         `ruby-toggle-block'.
10530 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10532         * ibuffer.el (ibuffer-do-toggle-read-only):
10533         * dired.el (dired-toggle-read-only):
10534         * buff-menu.el (Buffer-menu-toggle-read-only):
10535         * bindings.el (mode-line-toggle-read-only):
10536         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10538 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
10540         * descr-text.el (describe-char): Put the overlays over the
10541         "displayed as" character.
10543 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
10545         * calc/calc-units.el (math-default-units-table): Give an
10546         initial value.
10547         (math-put-default-units): Add options to put composite units and
10548         unit systems in the default units table.
10549         (calc-convert-units): Send composite units to
10550         `math-put-default-units' when appropriate.
10552 2012-08-11  Glenn Morris  <rgm@gnu.org>
10554         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10556         * tutorial.el (help-with-tutorial):
10557         * emacs-lisp/copyright.el (copyright-update-directory):
10558         * emacs-lisp/autoload.el (autoload-find-generated-file)
10559         (autoload-find-file): Disable local eval: (for insurance).
10561         * files.el (hack-local-variables-filter): If an eval: form is not
10562         known to be safe, and enable-local-variables is :safe, then ignore
10563         the form totally, as is done for non-eval forms.  (Bug#12155)
10564         This is CVE-2012-3479.
10566 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10568         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10569         (rx-form): Simplify.
10571 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
10573         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10574         ?, _, and : are symbol constituents, ! is not (but kinda should be).
10575         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10576         (ruby-syntax-propertize-function): Adjust for changes in
10577         `ruby-syntax-propertize-heredoc'.
10579 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
10581         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10582         binding (use `M-;' instead).
10583         (ruby-singleton-class-p): New function.
10584         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10586 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10588         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10590 2012-08-10  Chong Yidong  <cyd@gnu.org>
10592         * progmodes/python.el (python-shell-get-process-name): Don't mess
10593         with same-window-buffer-names.
10595         * eshell/eshell.el (eshell-add-to-window-buffer-names)
10596         (eshell-remove-from-window-buffer-names): Make obsolete.
10597         (eshell-buffer-name, eshell-unload-hook): Don't use them.
10598         (eshell): Just use pop-to-buffer-same-window instead.
10600 2012-08-10  Chong Yidong  <cyd@gnu.org>
10602         * bindings.el: Bind M-= back to count-words-region.
10604         * simple.el (count-words-region): Accept a prefix arg for acting
10605         on the entire buffer.
10606         (count-words--buffer-message): New helper function.
10608 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10610         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10611         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10612         (event-start, event-end): Use posn-at-point to return a more
10613         informative posn.
10614         (posnp): New function.
10615         * mouse.el (popup-menu-normalize-position): Use it.
10617 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
10619         * mouse.el (popup-menu-normalize-position): New function.
10620         (popup-menu): Use `popup-menu-normalize-position' to normalize
10621         the form for POSITION argument.
10623         * term/x-win.el (x-menu-bar-open):
10624         Use the value returend from (posn-at-point) as position
10625         passed to `popup-menu'.
10627 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
10629         * calc/calccomp.el (math-compose-expr): Add extra argument
10630         indicating that parentheses should be put around products in
10631         denominators.  Give multiplication precedence over division during
10632         composition.
10634 2012-08-09  Chong Yidong  <cyd@gnu.org>
10636         * man.el (Man-switches, Man-sed-command, Man-awk-command)
10637         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10638         (Man-untabify-command, manual-program): Convert to defcustom
10639         (Bug#10429).
10641         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10643         * descr-text.el (describe-char): Don't insert extra newlines
10644         (Bug#10127).
10646         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10647         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10649         * align.el (align-region): Delete temporary markers (Bug#10047).
10650         Plus some code cleanups.
10652 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
10654         * progmodes/python.el (python-pdbtrack-tracked-buffer)
10655         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10656         (python-shell-internal-last-output): Use make-local-variable
10657         instead of make-variable-buffer-local.
10659 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
10661         * progmodes/python.el: Enhancements to forward-sexp.
10662         (python-nav-forward-sexp): Rename from
10663         python-nav-forward-sexp-function.
10664         (python-nav--forward-sexp, python-nav--backward-sexp):
10665         New functions.
10667 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
10669         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10670         modes and simplification modes.
10672 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10674         * delsel.el (delete-selection-pre-hook): Don't propagate the
10675         file-supersession signals (bug#12161).
10677 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10679         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10680         (cl-map-extents): Add compatibility aliases (bug#12135).
10682 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
10684         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10685         tests by `ignore-error'.
10686         (tramp-find-shell): Open also a new shell, when cache is already
10687         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
10689 2012-08-08  Juri Linkov  <juri@jurta.org>
10691         * bookmark.el: Add `defaults' property to the bookmark record.
10692         (bookmark-current-buffer): Doc fix.
10693         (bookmark-make-record): Add `defaults' property with default values
10694         to the bookmark record.
10695         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10696         with `bookmark-insert-current-bookmark'.
10697         (bookmark-set): Get `defaults' property from the bookmark record
10698         and use it in `read-from-minibuffer'.
10699         (bookmark-insert-current-bookmark): Remove function.
10701         * info.el (Info-bookmark-make-record): Add `defaults' property
10702         with values of canonical Info node name, the current Info file
10703         name and the current Info node name.  (Bug#12107)
10705 2012-08-08  Juri Linkov  <juri@jurta.org>
10707         * files.el (basic-save-buffer): Use `buffer-name' as the default
10708         of `read-file-name' when buffer is not visiting a file (bug#12128).
10710 2012-08-08  Juri Linkov  <juri@jurta.org>
10712         * info.el (Info-isearch-search): Doc fix.
10713         (Info-search): Change search-failed message from "initial node" to
10714         "end of node" (bug#12078).
10715         (Info-isearch-search): Change `isearch-string-state' to
10716         `isearch--state-string'.
10718 2012-08-08  Glenn Morris  <rgm@gnu.org>
10720         * language/persian.el: Remove file.
10721         * language/misc-lang.el: Move unique part of persian.el here.
10722         * loadup.el: Remove language/persian.
10724 2012-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
10726         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10728 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
10730         * progmodes/python.el: Fix defsubst warning.
10731         (python-syntax-context) Rename from python-info-ppss-context.
10732         (python-syntax-context-type): Rename from
10733         python-info-ppss-context-type.
10734         (python-syntax-comment-or-string-p): Rename from
10735         python-info-ppss-comment-or-string-p.
10737 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
10739         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10741 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
10743         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10744         a defcustom that is quoted with backquote.
10746         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10747         Fix handling of interactive spec when the body uses return.
10748         (math-do-arg-check, math-define-function-body): Use backquote forms.
10749         * calc/calc-ext.el (math-defcache): Likewise.
10750         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10751         * allout.el (allout-new-exposure): Likewise.
10752         * calc/calcalg2.el (math-tracing-integral): Likewise.
10753         * info.el (Info-last-menu-item): Likewise.
10754         * emulation/vip.el (vip-loop): Likewise.
10755         * textmodes/artist.el (artist-funcall): Likewise.
10756         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10757         Construct menu-item directly.
10759         * progmodes/autoconf.el (font-lock-syntactic-keywords):
10760         Don't declare.
10762 2012-08-07  Chong Yidong  <cyd@gnu.org>
10764         * simple.el (deactivate-mark): Preserve text properties when
10765         saving the primary selection (Bug#8384).
10767 2012-08-07  Kevin Ryde  <user42@zip.com.au>
10769         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10770         (woman-parse-numeric-value): On a bad .IP line, issue a warning
10771         and continue processing (Bug#12110).
10773 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10775         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10776         syntax-propertize-function (bug#10095).
10778 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10780         * help-fns.el (help-fns--key-bindings, help-fns--signature)
10781         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10782         describe-function-1.
10783         (describe-function-1): Use them.  Move compiler macro after sig.
10784         (help-fns--compiler-macro): Use function-get.  Assume we're already in
10785         standard-output.  Adjust layout to new call order.
10787         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10788         re-binding a symbol that has a symbol-macro (bug#12119).
10790 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
10792         * language/persian.el: New file.  (Bug#11812)
10793         * loadup.el: Add language/persian.el.
10795 2012-08-06  Chong Yidong  <cyd@gnu.org>
10797         * window.el (window--maybe-raise-frame): New function.
10798         (window--display-buffer): Split off from here.
10799         (display-buffer-reuse-window, display-buffer-pop-up-frame)
10800         (display-buffer-pop-up-window, display-buffer-use-some-window):
10801         Obey an inhibit-switch-frame action alist entry.
10802         (display-buffer): Update doc.
10804         * replace.el (occur-after-change-function): Avoid losing focus by
10805         using the inhibit-switch-frame display parameter (Bug#12139).
10807 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
10809         Make internal shell process buffer names start with space.
10810         * progmodes/python.el (python-shell-make-comint): Add optional
10811         argument INTERNAL.
10812         (run-python-internal): Use it.
10813         (python-shell-internal-get-or-create-process): Check for new
10814         internal buffer names.
10816 2012-08-06  Glenn Morris  <rgm@gnu.org>
10818         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10819         Do less getting and setting of environment variables.
10821 2012-08-05  Chong Yidong  <cyd@gnu.org>
10823         * proced.el (proced): Add substitution string to docstring to
10824         trigger autoloading of the proced library on C-h f (Bug#1768).
10826         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10827         Don't show defvars which have no second argument (Bug#8638).
10829         * imenu.el (imenu-generic-expression): Move documentation here
10830         from imenu--generic-function.
10831         (imenu--generic-function): Refer to imenu-generic-expression.
10833 2012-08-05  Vegard Ã˜ye  <vegard_oye@hotmail.com>  (tiny change)
10835         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10836         indentation declaration.
10837         (viper-loop): Add indentation declaration (Bug#7025).
10839 2012-08-05  Chong Yidong  <cyd@gnu.org>
10841         * help-fns.el (describe-variable): Add hyperlink for
10842         directory-local variables files.  Improve buffer-local and
10843         permanent-local reporting; suggested by MON KEY (Bug#6644).
10845         * help-mode.el (help-dir-local-var-def): New button type.
10847         * files.el (kill-buffer-hook): Provide a defvar.
10849 2012-08-05  Glenn Morris  <rgm@gnu.org>
10851         * eshell/esh-ext.el (eshell/addpath):
10852         Also update eshell-path-env.  (Bug#12013)
10854 2012-08-05  Chong Yidong  <cyd@gnu.org>
10856         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10858         * fringe.el (fringe-styles): Add docstring.
10859         (fringe--check-mode): New function.
10860         (set-fringe-mode, set-fringe-style): Use it.
10861         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10863         * files.el (set-auto-mode): Fix invalid setq call.
10865 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10867         * isearch.el: Misc simplification; use defstruct.
10868         (isearch-mode-map): Dense maps now work like sparse ones.
10869         (isearch--state): New defstruct.
10870         (isearch-string-state, isearch-message-state, isearch-point-state)
10871         (isearch-success-state, isearch-forward-state)
10872         (isearch-other-end-state, isearch-word-state, isearch-error-state)
10873         (isearch-wrapped-state, isearch-barrier-state)
10874         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10875         replaced by defstruct's accessors.
10876         (isearch--set-state): Rename from isearch-top-state and change
10877         calling convention.
10878         (isearch-push-state): Use new isearch--get-state.
10879         (isearch-toggle-word): Disable regexp when enabling word.
10880         (isearch-message-prefix): Remove unused arg _c-q-hack.
10881         (isearch-message-suffix): Remove unused arg _ellipsis.
10883 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
10885         * simple.el (list-processes--refresh): For a server use :host or
10886         :local as the address.
10887         (list-processes): Doc fix.
10889 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
10891         * lisp/mpc.el: Support password in host argument.
10892         (mpc--proc-connect): Parse and use new password element.
10893         Set mpc-proc variable instead of returning process.
10894         (mpc-proc): Adjust accordingly.
10896 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
10898         * whitespace.el (whitespace-display-mappings): Use Unicode
10899         codepoints, instead of emacs-mule codepoints.  See
10900         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10901         for the details.
10903         * files.el (file-truename): Don't skip symlink-chasing part on
10904         windows-nt.  Incorporate the resolution of 8+3 short aliases on
10905         Windows into the loop that recursively chases symlinks.
10906         Compare directory and its parent case-insensitively on MS-Windows and
10907         MS-DOS.
10909 2012-08-03  Chong Yidong  <cyd@gnu.org>
10911         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10913         * sort.el (sort-regexp-fields): Doc fix.
10915 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
10917         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10918         labels regex position point at the expected place.
10920 2012-08-03  MON KEY  <monkey@sandpframing.com>
10922         * net/imap.el (imap-interactive-login, imap-authenticate)
10923         (imap-mailbox-lsub, imap-mailbox-list)
10924         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10925         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10926         (imap-parse-response): Doc fix.
10928 2012-08-03  João Távora  <joaotavora@gmail.com>
10930         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10931         if sexp scanning does not move point (Bug#5734).
10933 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
10935         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10936         Add listings, minted, and ctable packages.
10937         (reftex-label-alist-builtin): Move listings, minted, and ctable
10938         entries before LaTeX.
10939         (reftex-label-alist): Docfix.
10941 2012-08-02  Bastien Guerry  <bzg@gnu.org>
10943         * replace.el (occur): Fix docstring (bug#12122).
10945 2012-08-02  Glenn Morris  <rgm@gnu.org>
10947         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10949 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
10951         Obsolete alias inactivate-current-input-method-function (Bug#10150).
10952         * international/mule-cmds.el: Create
10953         inactivate-current-input-method-function as an obsolete alias for
10954         deactivate-current-input-method-function.  See Katsumi Yamaoka in
10955         <http://bugs.gnu.org/10150#46>.
10957 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
10959         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10960         of nested `if's.
10962 2012-08-01  Glenn Morris  <rgm@gnu.org>
10964         * progmodes/autoconf.el (autoconf-definition-regexp):
10965         Add AH_TEMPLATE, adjust submatch numbering.
10966         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10967         (autoconf-current-defun-function): Update for above change.
10968         (autoconf-current-defun-function): First skip to end of current word.
10970 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
10972         * calendar/cal-html.el (cal-html-insert-agenda-days):
10973         Fix typo.  (Bug#12018)
10975 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
10977         Shell processes: enhancements to startup and CEDET compatibility.
10978         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10979         (python-shell-make-comint): accept-process-output at startup.
10980         (run-python-internal): Set inferior-python-mode-hook to nil.
10981         (python-shell-internal-get-or-create-process): call sit-for.
10982         (python-preoutput-result): Add obsolete alias.
10983         (python-shell-internal-send-string): Use it.
10984         (python-shell-send-setup-code): Remove call to
10985         accept-process-output.
10987 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
10989         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10990         (Bug#12108)
10992 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
10994         * calc-mode.el (calc-basic-simplification-mode): Rename from
10995         `calc-limited-simplification-mode'.
10996         (calc-alg-simplification-mode): New function.
10997         (calc-set-simplify-mode): Adjust message.
10999         * calc.el (calc-set-mode-line): Adjust mode line display for
11000         basic simplification mode.
11002         * calc-help.el (calc-m-prefix-help): Update help message.
11004         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
11005         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
11007 2012-07-31  Bastien Guerry  <bzg@gnu.org>
11009         * man.el (man): Fix comment.  (bug#12101)
11011 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
11013         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
11014         Don't return a non-nil value when no suitable buffer was found.
11016 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
11018         * progmodes/python.el (run-python-internal): Disable font lock for
11019         internal shells.
11021 2012-07-30  Stefan Merten  <smerten@oekonux.de>
11023         * textmodes/rst.el: Silence `checkdoc-ispell'.
11024         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11025         (rst-official-version, rst-official-cvs-rev)
11026         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
11027         (rst-mode-map): New key binding.
11029 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
11031         Update .PHONY listings in makefiles.
11032         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
11033         autoloads, update-subdirs, updates, bzr-update, update-authors,
11034         compile-onefile, compile-calc, backup-compiled-files,
11035         compile-after-backup, compile-one-process, mh-autoloads,
11036         bootstrap-clean, distclean, maintainer-clean.
11038 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
11040         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
11041         (calc-set-mode-line): Don't display "AlgSimp ".
11043         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
11044         (calc-lim-simplify-mode): New function.
11045         (calc-set-simplify-mode): Default to 'alg.
11046         (calc-default-simplify-mode): Make algebraic simplifications
11047         the default.
11049         * calc/calc-ext.el (calc-init-extensions): Remove binding for
11050         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
11052         * calc/calc-help.el (calc-m-prefix-help): Change messages to
11053         indicate new simplification modes.
11055         * calc/README: Mention new default simplification mode.
11057         * calc/calc.el (math-normalize-error): New variable.
11058         (math-normalize): Set `math-normalize-error' to t
11059         when there's an error.
11061         * calc/calc-alg.el (math-simplify): Don't simplify when
11062         `math-normalize' returns an error.
11064 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
11066         * international/mule-cmds.el (set-locale-environment): Revert last
11067         change, since display-graphic-p returns nil when this function is
11068         called during startup.  Instead...
11070         * term/w32console.el (terminal-init-w32console): ...setup the
11071         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
11073 2012-07-29  Juri Linkov  <juri@jurta.org>
11075         * simple.el (goto-line): Don't display default line number in the
11076         prompt because it should be displayed by `read-number' (bug#9952).
11077         Add the current line number to the defaults of `goto-line' to
11078         allow its easier modification by users with `M-n' (bug#9201).
11080         * subr.el (read-number): Support multiple default values like in
11081         other minibuffer reading functions.  Replace `read' with
11082         `string-to-number' for consistency with `number-to-string'.
11084 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
11086         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
11087         * emulation/viper-init.el (viper-deactivate-input-method-action):
11088         Rename from viper-inactivate-input-method-action.
11089         (viper-deactivate-input-method):
11090         Rename from viper-inactivate-input-method.
11091         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
11092         * international/mule-cmds.el (deactivate-input-method):
11093         Rename from inactivate-input-method.
11094         Also run input-method-deactivate-hook.
11095         (deactivate-current-input-method-function):
11096         Rename from inactivate-current-input-method-function.
11097         (input-method-deactivate-hook): New hook.
11098         (input-method-inactivate-hook): Mark obsolete.
11099         (inactivate-input-method): Mark obsolete.
11101         * international/quail.el (quail-activate):
11102         Also run quail-deactivate-hook.
11103         (quail-deactivate): Rename from quail-inactivate.
11104         * international/robin.el (robin-activate):
11105         Also run robin-deactivate-hook.
11106         (robin-deactivate): Rename from robin-inactivate.
11108 2012-07-29  Chong Yidong  <cyd@gnu.org>
11110         * simple.el (indicate-copied-region): New function.
11111         (kill-ring-save): Split off from here.
11113         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
11114         (kill-rectangle): Set deactivate-mark to t on read-only error.
11116         * register.el (copy-to-register, copy-rectangle-to-register):
11117         Deactivate the mark, and use indicate-copied-region (Bug#10056).
11118         (append-to-register, prepend-to-register): Call indicate-copied-region.
11120 2012-07-29  Juri Linkov  <juri@jurta.org>
11122         * simple.el (async-shell-command-buffer): New defcustom.
11123         (shell-command): Use it.  (Bug#4719)
11125 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
11127         * international/mule-cmds.el (set-locale-environment): In a
11128         console session on MS-Windows, set up keyboard and terminal
11129         encoding from the OEM codepage, not the ANSI codepage.
11130         (Bug#12055)
11132 2012-07-28  Chong Yidong  <cyd@gnu.org>
11134         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
11135         gdb-get-location.
11137 2012-07-28  Leo Liu  <sdl.web@gmail.com>
11139         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
11140         the alist (bug#12029).
11142 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
11144         * makefile.w32-in (custom-deps, finder-data, updates, compile)
11145         (compile-always, compile-first)
11146         ($(lisp)/calendar/cal-loaddefs.el)
11147         ($(lisp)/calendar/diary-loaddefs.el)
11148         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11149         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
11150         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
11151         instead of on update-subdirs.
11152         (bootstrap-clean): Delete $(lisp)/subdirs.el.
11154 2012-07-28  Chong Yidong  <cyd@gnu.org>
11156         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
11157         directory if vc-deduce-backend returns nil (Bug#7350).
11159         * simple.el (delete-trailing-lines): New option.
11160         (delete-trailing-whitespace): Obey it (Bug#11879).
11162 2012-07-28  David Engster  <deng@randomsample.de>
11164         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
11165         Explanation of new 'symbol-qnames feature in doc-strings.
11166         (xml-maybe-do-ns): Return expanded names as plain symbols if
11167         'symbol-qnames was provided in XML-NS argument (Bug#11916).
11168         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
11170 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
11172         Consistent completion in inferior python with emacs -nw.
11173         * progmodes/python.el (inferior-python-mode): replace "<tab>"
11174         binding in inferior-python-mode-map with "\t".
11175         (python-shell-completion-complete-at-point)
11176         (python-completion-complete-at-point): Remove interactive spec.
11178 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
11180         * calc/calccomp.el (math-compose-expr): Undo previous change.
11182 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
11184         * progmodes/python.el (python-mode-map): Add keybinding for
11185         run-python.
11186         (python-shell-make-comint): Fix pop-to-buffer call.
11187         (run-python): Autoload.  New arg SHOW.
11188         (python-shell-get-or-create-process): Do not pop python process
11189         buffer.
11191 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
11193         * notifications.el (notifications-on-action-signal)
11194         (notifications-on-closed-signal): Use also the bus address for the map.
11195         (notifications-notify, notifications-close-notification)
11196         (notifications-get-capabilities): Add optional argument BUS.
11198 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
11200         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
11201         Add support for the lstlisting and minted environments, and for the
11202         ctable macro.
11203         * textmodes/reftex.el (reftex-compile-variables): Also recognize
11204         labels written in keyvals syntax.
11206 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
11208         * calc/calccomp.el (math-compose-expr): Use parentheses when
11209         there is a product in the denominator of a fraction.
11211 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
11213         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
11214         ($(lisp)/calendar/diary-loaddefs.el)
11215         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11216         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
11217         Fixes failures in parallel bootstrap because subdirs.el is being
11218         rewritten while the autoload files are built at the same time,
11219         which needs to load subdirs.el.
11221 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
11223         * mouse.el (popup-menu): Fix doc-string and re-indent code.
11224         (mouse-drag-line): Don't exit tracking when a switch-frame or
11225         switch-window event occurs (Bug#12006).
11227 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11229         * mouse.el (popup-menu): Fix last change.
11231 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11233         Autoload from Lisp with more care.  Follow aliases when looking for
11234         function properties.
11235         * subr.el (autoloadp): New function.
11236         (symbol-file): Use it.
11237         (function-get): New function.
11238         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
11239         autoload-do-load.
11240         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
11241         (lisp-indent-function):
11242         * emacs-lisp/gv.el (gv-get):
11243         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
11244         * emacs-lisp/byte-opt.el (byte-optimize-form):
11245         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11246         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
11247         Use function-get.
11248         * emacs-lisp/cl.el: Don't propagate function properties any more.
11250         * speedbar.el (speedbar-add-localized-speedbar-support):
11251         * emacs-lisp/disass.el (disassemble-internal):
11252         * desktop.el (desktop-load-file):
11253         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
11254         (describe-function-1):
11255         * emacs-lisp/find-func.el (find-function-noselect):
11256         * emacs-lisp/elp.el (elp-instrument-function):
11257         * emacs-lisp/advice.el (ad-has-proper-definition):
11258         * apropos.el (apropos-safe-documentation, apropos-macrop):
11259         * emacs-lisp/debug.el (debug-on-entry):
11260         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
11261         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
11262         * calc/calc.el (name): Use autoloadp & autoload-do-load.
11264 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
11266         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
11267         function, not an obsolete variable (Bug#12046).
11269 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
11271         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
11273 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
11275         * emacs-lisp/pp.el (pp-display-expression): Select old selected
11276         window only if it is still live (Bug#12034).
11278 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
11280         * subr.el (redirect-frame-focus): Add advertised calling
11281         convention (Bug#12030).
11283 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
11285         Prefer typical American spelling for "acknowledgment".
11286         * vc/add-log.el (change-log-acknowledgment): Rename from
11287         change-log-acknowledgement, with an alias for the old name.
11289 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
11291         * calc-alg.el (math-simplify-divide): Don't cross multiply
11292         in an equation when the lhs is a variable.
11294 2012-07-24  Julien Danjou  <julien@danjou.info>
11296         * net/netrc.el (netrc-find-service-number, netrc-store-data):
11297         Remove, unused.
11299 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
11301         * startup.el (command-line): Don't display an empty user name in
11302         the error message about non-existent home directory, when
11303         init-file-user was set to an empty string.  See
11304         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
11305         for the details and context.
11307 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11309         * ses.el (ses-cell-formula-aset): New macro.
11310         (ses-cell-references-aset): New macro.
11311         (ses-cell-p): New function.
11312         (ses-rename-cell): Do no longer rely on complex operations like
11313         ses-cell-set-formula or ses-set-cell to change the cell and handle
11314         the undo at the same time, but rather use lower level new macros
11315         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
11316         the undo directly.  Refresh the mode line.
11318 2012-07-21  Leo Liu  <sdl.web@gmail.com>
11320         * progmodes/cc-cmds.el (c-defun-name):
11321         Use match-string-no-properties instead for consistency.
11323 2012-07-20  Leo Liu  <sdl.web@gmail.com>
11325         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
11326         (Bug#7879)
11328         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
11330 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11332         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
11333         * progmodes/bug-reference.el, misearch.el: Provide themselves
11334         (bug#11915).
11336         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
11337         of narrowed buffer (bug#11966).
11339 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11341         * ses.el (ses-rename-cell): Set new name also in reference list of
11342         cells of which the renamed cell depends.
11344 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
11346         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
11347         to check whether menu-bar is shown or not.  If not shown,
11348         show the menu-bar as a popup menu instead of using tmm.
11349         * mouse.el (popup-menu): Accept `point' as `position' argument.
11351 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
11353         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
11354         up inside string symbol literal (bug#11923).
11356 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
11358         * startup.el (fancy-startup-text): Read the whole tutorial, not
11359         just its first 256 bytes.  Prevents gibberish in display of the
11360         tutorial title.
11362 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
11364         Drop idle buffer compaction due to an absence of the
11365         proved efficiency.
11366         * compact.el: Remove.
11368 2012-07-19  Sam Steingold  <sds@gnu.org>
11370         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
11371         vc-bzr-pull & vc-bzr-merge-branch.
11372         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
11373         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
11374         for consistency with compilation-error-regexp-alist.
11375         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
11376         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
11377         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
11378         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
11380 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11382         * emacs-lisp/chart.el: Use lexical-binding.
11383         (chart-emacs-storage): Don't hardcode the list of entries.
11385 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
11387         Next round of tweaks caused by Fgarbage_collect changes.
11388         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
11390 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
11392         Compact buffers when idle.
11393         * compact.el: New file.
11395 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11397         * subr.el (eventp): Presume that if it looks vaguely like an event,
11398         it's an event (bug#10190).
11400 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
11402         Enhancements to ppss related code (thanks Stefan).
11403         * progmodes/python.el (python-indent-context)
11404         (python-indent-calculate-indentation, python-indent-dedent-line)
11405         (python-indent-electric-colon, python-nav-forward-block)
11406         (python-mode-abbrev-table)
11407         (python-info-assignment-continuation-line-p): Simplify checks
11408         for ppss context.
11409         (python-info-continuation-line-p): Cleanup.
11410         (python-info-ppss-context): Do not catch 'quote.
11411         (python-info-ppss-context-type)
11412         (python-info-ppss-comment-or-string-p): Simplify.
11414 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
11416         * progmodes/python.el: Enhancements to eldoc support.
11417         (python-info-current-symbol): New function.
11418         (python-eldoc-at-point): Use python-info-current-symbol.
11419         (python-info-current-defun): Fix cornercase on first defun scan.
11420         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
11421         and signal error when no inferior python process is available.
11423 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
11425         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
11426         assume it's always t.
11427         (vc-git-registered): Remove caching, the function is only called
11428         once.
11429         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
11431 2012-07-18  Chong Yidong  <cyd@gnu.org>
11433         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11435         * simple.el (count-words): Report on narrowing (Bug#9959).
11437         * bindings.el: Bind M-= to count-words.
11439         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11441 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
11443         * progmodes/sh-script.el (sh-imenu-generic-expression):
11444         Capture a function with `function' keyword and without parentheses
11445         like "function FOO" (bug#11856).
11447 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
11449         * window.el (split-window-sensibly): Make WINDOW argument
11450         optional.
11452 2012-07-18  Chong Yidong  <cyd@gnu.org>
11454         * subr.el (keyboard-translate): Doc fix (Bug#7261).
11456         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11457         and make C-x 8 RET exit isearch (Bug#11439).
11459         * international/iso-transl.el: Move isearch-mode-map key
11460         definitions to isearch.el.
11462 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11464         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11465         (eieio-defclass): Use gv-define-setter when possible.
11467 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
11469         Reflect recent changes in Fgarbage_collect.
11470         * emacs-lisp/chart.el (chart-emacs-storage): Change to
11471         reflect new format of data returned by Fgarbage_collect.
11473 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
11475         New utility functions + python-info-ppss-context fix (Bug#11910).
11476         * progmodes/python.el (python-info-beginning-of-block-statement-p)
11477         (python-info-ppss-comment-or-string-p): New functions.
11478         (python-info-ppss-context): Small fix for string check.
11480 2012-07-17  Juri Linkov  <juri@jurta.org>
11482         * dired-aux.el (dired-do-async-shell-command): Doc fix.
11483         (dired-do-async-shell-command): Don't add `*' at the end of the
11484         command (Bug#11815).
11485         (dired-do-shell-command): Doc fix.
11486         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11487         Join the individual commands using either "&" or ";" as the
11488         separator depending on the values of these trailing characters.
11489         At the end re-add the trailing "&".  (Bug#10598)
11491         * simple.el (async-shell-command): Sync the interactive spec with
11492         `shell-command'.  Doc fix.
11493         (shell-command): Doc fix.
11495 2012-07-17  Juri Linkov  <juri@jurta.org>
11497         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
11499 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
11501         Final renames and doc fixes for movement commands (bug#11899).
11502         * progmodes/python.el (python-nav-beginning-of-statement):
11503         Rename from python-nav-statement-start.
11504         (python-nav-end-of-statement): Rename from
11505         python-nav-statement-end.
11506         (python-nav-beginning-of-block): Rename from
11507         python-nav-block-start.
11508         (python-nav-end-of-block): Rename from python-nav-block-end.
11510 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
11512         * progmodes/python.el (python-shell-send-string-no-output):
11513         Allow accept-process-output to quit, keeping shell process ready for
11514         future interactions (Bug#11868).
11516 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11518         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11520         * emacs-lisp/elint.el (elint-find-args-in-code):
11521         Use help-function-arglist, so as to handle lexical byte-code.
11523         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11524         change (bug#11826).
11526 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11528         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11529         Avoid spuriously marking the buffer as modified because of c-is-sws.
11531         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11532         as not-a-comment (bug#11946).
11534         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11535         for uninterned vars.
11537         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11538         Use read-event since we don't really want to read chars but bytes.
11540         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11541         $$..$$ but also $..$ using regexps (bug#11953).
11542         Use tex-verbatim for \url and \path.
11543         (tex-font-lock-keywords): Define as defconst like the others.
11544         (tex-common-initialization): Don't use font-lock-syntax-table any more.
11546 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
11548         * international/mule-cmds.el (ucs-insert): Make it an obsolete
11549         alias for insert-char.
11551 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
11553         * progmodes/python.el: Simplified imenu implementation.
11554         (python-nav-jump-to-defun): Remove command.
11555         (python-mode-map): Use `imenu' instead.
11556         (python-nav-list-defun-positions-cache)
11557         (python-imenu-include-defun-type, python-imenu-make-tree)
11558         (python-imenu-subtree-root-label, python-imenu-index-alist):
11559         Remove vars.
11560         (python-nav-list-defun-positions, python-nav-read-defun)
11561         (python-imenu-tree-assoc, python-imenu-make-element-tree)
11562         (python-imenu-make-tree, python-imenu-create-index):
11563         Remove functions.
11564         (python-mode): Update to interact with imenu by setting
11565         `imenu-extract-index-name-function' only.
11567 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
11569         * progmodes/python.el: Enhancements to navigation commands.
11570         (python-nav-backward-sentence)
11571         (python-nav-forward-sentence): Remove.
11572         (python-nav-backward-statement, python-nav-forward-statement)
11573         (python-nav-statement-start, python-nav-statement-end)
11574         (python-nav-backward-block, python-nav-forward-block)
11575         (python-nav-block-start, python-nav-block-end)
11576         (python-nav-forward-sexp-function)
11577         (python-info-current-line-comment-p)
11578         (python-info-current-line-empty-p): New functions.
11579         (python-indent-context): Use `python-nav-statement-start'.
11581 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
11583         * eshell/em-ls.el (eshell/ls): Use `apply'.
11585         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11586         multi-hops, instead of Tramp internals.
11588         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11590         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11591         when F1 and F2 are located on different hosts.
11593 2012-07-14  Chong Yidong  <cyd@gnu.org>
11595         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11596         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11597         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11598         (xterm-mouse--read-event-sequence-1000)
11599         (xterm-mouse--read-event-sequence-1006): New functions.  For old
11600         mouse protocol, handle M-mouse-X events correctly.
11601         (xterm-mouse-event): New arg specifying mouse protocol.
11602         (turn-on-xterm-mouse-tracking-on-terminal)
11603         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11604         sequence to toggle extended coordinates on newer XTerms.
11605         This appears to be harmless on terminals which do not support this.
11607 2012-07-14  Leo Liu  <sdl.web@gmail.com>
11609         Add fringe bitmap indicators for flymake.  (Bug#11253)
11610         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11611         (flymake-make-overlay): New arg BITMAP.
11612         (flymake-error-bitmap, flymake-warning-bitmap)
11613         (flymake-fringe-indicator-position): New user variables.
11615         * fringe.el: New bitmap exclamation-mark.
11617 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
11619         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11620         also (Bug#7879).
11622 2012-07-14  Chong Yidong  <cyd@gnu.org>
11624         * electric.el (electric-pair-post-self-insert-function): Fix pair
11625         insertion in empty-region case (Bug#11520).
11627 2012-07-14  Chong Yidong  <cyd@gnu.org>
11629         * bindings.el: Consolidate ctl-x-r-map bindings.
11630         Bind copy-rectangle-as-kill to C-x r w.
11632         * rect.el, register.el: Move bindings to bindings.el.
11634 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
11636         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11638 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11640         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
11642 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
11644         * bindings.el (top): Use `mapc' instead of `mapcar'.
11646         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11648 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
11650         * progmodes/sql.el (sql-comint): Suppress the check for program on
11651         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
11652         (Bug#11908)
11654 2012-07-13  Chong Yidong  <cyd@gnu.org>
11656         * bindings.el: Assign a non-nil permanent-local property to
11657         per-buffer variables which lack a default value (Bug#11930).
11659         * help-fns.el (describe-variable): In the "automatically becomes
11660         local" notice, take note of permanent-local variables.
11662 2012-07-13  Chong Yidong  <cyd@gnu.org>
11664         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
11665         to allow printing the message when called from Lisp.
11667         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11668         Remove toggle-read-only.
11670         * bs.el (bs-toggle-readonly):
11671         * buff-menu.el (Buffer-menu-toggle-read-only):
11672         Remove with-no-warnings around toggle-read-only.
11674         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11675         Remove with-no-warnings around toggle-read-only.
11676         (ffap-read-only, ffap-read-only-other-window)
11677         (ffap-read-only-other-frame): Callers changed.
11679         * help-mode.el: Don't require view package.
11680         (help-mode-finish): Set buffer-read-only instead of calling
11681         toggle-read-only.
11683         * bindings.el (mode-line-toggle-read-only):
11684         * dired.el (dired-toggle-read-only):
11685         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11686         with non-nil second arg.
11688         * emacs-lisp/eieio-custom.el (eieio-customize-object):
11689         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11690         directly.
11692 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
11694         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11695         not incf.
11697 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11699         More CL cleanups and reduction of use of cl.el.
11700         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11701         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11702         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11703         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11704         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11705         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11706         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11707         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11708         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11709         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11710         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11711         * eshell/em-cmpl.el, eshell/em-banner.el:
11712         * calendar/parse-time.el: Use cl-lib.
11713         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11714         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11715         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11716         * term/ns-win.el, term.el, shell.el, ps-samp.el:
11717         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11718         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11719         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11720         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11721         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11722         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11723         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11724         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11725         `lambda' rather than with `quote'.
11726         (eshell-do-opt): Adjust accordingly.
11727         (eshell-process-option): Simplify.
11728         * eshell/esh-var.el:
11729         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11730         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11731         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11732         to `pcase--dontcare'.
11733         * emacs-lisp/cl.el (labels): Mark obsolete.
11734         (cl--letf, letf): Move to cl-lib.
11735         (cl--letf*, letf*): Remove.
11736         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11737         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11738         (cl-progv): Rewrite.
11739         (cl--letf, cl-letf): Move from cl.el.
11740         (cl-letf*): New macro.
11741         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11743 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
11745         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11747 2012-07-11  Chong Yidong  <cyd@gnu.org>
11749         * vc/log-edit.el (log-edit-vc-backend): New variable.
11750         (log-edit): Doc fix.
11752         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
11753         argument of log-edit to set up all local variables.
11754         (vc-start-logentry): New optional arg specifying VC backend.
11756         * vc/vc.el (vc-checkin): Use it.
11757         (vc-deduce-fileset): Handle Log Edit buffers.
11758         (vc-diff): Make first argument optional too.
11760         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11762 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
11764         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11765         command, just in case.  The function is not needed anymore.
11766         (eshell-external-command): Do not call `eshell-remote-command'.
11768 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11770         Reduce use of (require 'cl).
11771         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11772         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11773         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11774         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11775         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11776         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11777         * battery.el, avoid.el, abbrev.el: Use cl-lib.
11778         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11779         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11780         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11781         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11782         * calculator.el, autorevert.el, apropos.el: Don't require CL.
11783         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11784         (byte-compile-unfold-bcf, byte-compile-check-variable):
11785         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11786         (byte-compile-nilconstp):
11787         * emacs-lisp/autoload.el (make-autoload): Use pcase.
11788         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11790         * emacs-lisp/gv.el (cond): Make it a valid place.
11791         (if): Simplify slightly.
11793         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11794         (pcase--self-quoting-p): New function.
11795         (pcase--u1): Use it.
11797 2012-07-10  Glenn Morris  <rgm@gnu.org>
11799         * emacs-lisp/authors.el (authors-fixed-entries):
11800         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11802 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
11804         Rename configure.in to configure.ac (Bug#11603).
11805         * emacs-lisp/authors.el (authors-canonical-file-name):
11806         * progmodes/autoconf.el (autoconf-mode):
11807         Prefer configure.ac to configure.in.
11809 2012-07-08  Chong Yidong  <cyd@gnu.org>
11811         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11812         Implement the mouse-1-click-follows-link handling properly.
11814         * info.el (Info-link-keymap): Use follow-link mechanism for
11815         header-line links (Bug#374).
11817         * simple.el (deactivate-mark): Do not set the primary selection
11818         if another program has acquired it (Bug#11772).
11820 2012-07-07  Kevin Ryde  <user42@zip.com.au>
11822         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11823         (woman-decode-region): Replace escaped-escapes without destroying
11824         bold or underline (Bug#11552).
11825         (woman2-process-escapes): Handle nofill regions (Bug#11591).
11827 2012-07-07  Chong Yidong  <cyd@gnu.org>
11829         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11830         (interprogram-cut-function, interprogram-paste-function):
11831         Mention that we typically mean the clipboard.
11833 2012-07-06  Glenn Morris  <rgm@gnu.org>
11835         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
11837         * files.el (toggle-read-only): Restrict message to interactive use.
11839 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
11841         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11843         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11845 2012-07-06  Glenn Morris  <rgm@gnu.org>
11847         * Makefile.in (compile-one-process): Rename from "recompile".
11849         * Makefile.in (bzr-update): "compile" is the same as "recompile
11850         autoloads", but parallelizable, so use that instead.
11852 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
11854         * window.el (quit-window): Always restore window height when
11855         it's saved in quit-restore parameter (Bug#11810).
11857 2012-07-06  Glenn Morris  <rgm@gnu.org>
11859         * simple.el (kill-whole-line): Doc tweak.
11861 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
11863         * files.el (file-relative-name): Compare file names
11864         case-insensitively if on MS-Windows or MS-DOS, or if
11865         read-file-name-completion-ignore-case is non-nil.  Don't use
11866         case-fold-search for this purpose.  (Bug#11827)
11868 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
11870         * calendar/cal-dst.el (calendar-current-time-zone):
11871         Return calendar-current-time-zone-cache if non-nil.
11873 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
11874 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11876         * calendar/cal-dst.el (calendar-current-time-zone):
11877         Return calendar-current-time-zone-cache if non-nil.
11879 2012-07-06  Glenn Morris  <rgm@gnu.org>
11881         * Makefile.in (cvs-update): Remove old alias.
11883 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
11885         Sync with Tramp 2.2.6-pre.
11887         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11888         compatible declaration.
11890         * net/tramp-cmds.el (tramp-append-tramp-buffers):
11891         Protect `list-load-path-shadows' call.
11893         * net/tramp-compat.el (top): Require packages, which aren't
11894         autoloaded anymore for XEmacs.  Protect call of
11895         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11896         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
11897         it hurts at least for SXEmacs.
11898         (tramp-compat-temporary-file-directory): In XEmacs, there is no
11899         standard-value for `temporary-file-directory'.
11901         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11902         Redirect stderr to /dev/null.
11903         (tramp-sh-handle-write-region): uid and gid can be floats.
11904         Reported by Russell Sim <russell.sim@gmail.com>.
11905         (tramp-sh-handle-vc-registered): Hide errors.
11906         (tramp-vc-file-name-handler): Use dummy results for `process-file'
11907         and `start-file-process'.
11908         (tramp-maybe-open-connection): Check also whether `non-essential'
11909         is bound.
11911 2012-07-04  Chong Yidong  <cyd@gnu.org>
11913         * xml.el (xml--parse-buffer): Use xml-syntax-table.
11914         (xml-parse-tag): Likewise, and avoid changing entity tables.
11915         (xml-syntax-table): Define from scratch, making sure not to give
11916         x2000 and other Unicode spaces whitespace syntax, since those are
11917         not spaces in XML.
11918         (xml-parse-fragment): Delete unused function.
11919         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11920         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11921         (xml-entity-ref, xml-pe-reference-re)
11922         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11923         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11924         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11925         (xml-entity-value-re): Use syntax references in regexps where
11926         possible; no need to define inside a let-binding.
11927         (xml-parse-dtd): Use xml-pe-reference-re.
11928         (xml-entity-or-char-ref-re): New defconst.
11929         (xml-parse-string, xml-substitute-special): Use it.
11931 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11933         * files.el (locate-dominating-file): Allow `name' to be a predicate.
11934         (find-file--read-only): New function.
11935         (find-file-read-only, find-file-read-only-other-window)
11936         (find-file-read-only-other-frame): Use it.
11937         (insert-file-contents-literally): Don't `fset'.
11938         (get-free-disk-space): Use locate-dominating-file.
11940         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11941         function is already compiled.
11943         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
11945 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
11947         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11948         files on the same host.
11950 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
11952         * help-fns.el (describe-function-1): Only call
11953         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
11955 2012-07-03  Chong Yidong  <cyd@gnu.org>
11957         * xml.el: Protect parser against XML bombs.
11958         (xml-entity-expansion-limit): New variable.
11959         (xml-parse-string, xml-substitute-special): Use it.
11960         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11962 2012-07-03  Glenn Morris  <rgm@gnu.org>
11964         * progmodes/bug-reference.el (bug-reference-bug-regexp):
11965         Allow linking to specific messages in debbugs reports (eg 123#5).
11967 2012-07-02  Chong Yidong  <cyd@gnu.org>
11969         * xml.el: Fix entity and character reference expansion, allowing
11970         them to expand into markup as per XML spec.
11971         (xml-default-ns): New variable.
11972         (xml-entity-alist): Use XML spec definitions for lt and amp.
11973         (xml-parse-region): Make first two arguments optional.
11974         Discard text properties.
11975         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11976         All callers changed.
11977         (xml-parse-tag): Call xml-parse-tag-1.  For backward
11978         compatibility, this function should not modify buffer contents.
11979         (xml-parse-tag-1): Fix opening-tag regexp.
11980         (xml-parse-string): Rewrite, handling entity and character
11981         references properly.
11982         (xml--entity-replacement-text): Signal an error if a parameter
11983         entity is undefined.
11985 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11987         * comint.el (comint-output-filter): Filter out repeated prompts.
11989         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11990         and file-name-absolute-p.
11991         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11992         internal calls.
11994 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
11996         Spelling fixes.
11997         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11998         Rename from byte-compile--refiy-function.  All uses changed.
12000 2012-07-01  Chong Yidong  <cyd@gnu.org>
12002         * xml.el (xml--parse-buffer): New function.  Move most of
12003         xml-parse-region here.
12004         (xml-parse-region): Copy region into a temporary buffer, since
12005         parameter entity substitution requires changing buffer contents.
12006         Use xml--parse-buffer.
12007         (xml-parse-file): Use xml--parse-buffer.
12008         (xml-parse-dtd): Make parameter entity substitution work right.
12009         Use proper regexps for ELEMENT declarations (Bug#7172).
12011 2012-06-30  Glenn Morris  <rgm@gnu.org>
12013         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
12015         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
12016         Remove outdated and unnecessary dbus declarations.
12018 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
12020         * emacs-lisp/timer.el (timer-until): Subtract results of
12021         float-time, instead of taking float-time of the result of
12022         time-subtract, since float-time signals an error for negative time
12023         arguments.
12025 2012-06-30  Chong Yidong  <cyd@gnu.org>
12027         * xml.el (xml-*-re): Convert defvars into defconsts, and
12028         eval-and-compile them so eval-and-compile works on derivatives.
12029         (xml--entity-replacement-text): Use eval-and-comple.
12031 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
12033         * vc/vc-git.el (vc-git-registered): Use cache property
12034         `git-registered'.
12035         (vc-git-mode-line-string): Call `vc-working-revision' instead of
12036         `vc-git-working-revision' in order to benefit from the cache.
12037         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
12039 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
12041         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
12042         removed (likely outside Emacs).  (Bug#11757)
12044 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12046         * emacs-lisp/cl-lib.el: Require macroexp.
12048 2012-06-30  Chong Yidong  <cyd@gnu.org>
12050         * xml.el: Implement XML parameter entities.
12051         (xml-parameter-entity-alist): New variable.
12052         (xml-parse-region, xml-parse-fragment): Preserve previous values
12053         of xml-entity-alist and xml-parameter-entity-alist, so that
12054         repeated calls on different documents do not change them.
12055         (xml-parse-tag): Fix doctype regexp.
12056         (xml--entity-replacement-text): New function.
12057         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
12058         properly requires url retrieval which is unimplemented.
12059         (xml-escape-string): Doc fix.
12061 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12063         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
12065 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
12067         * fringe.el (fringe-mode): Doc fix.
12069 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
12071         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
12072         is non-nil.
12073         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
12074         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
12076 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
12078         * calendar/cal-dst.el (calendar-current-time-zone):
12079         Return calendar-current-time-zone-cache if non-nil.
12081 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
12083         * progmodes/which-func.el (which-func-format):
12084         Add mouse-face.  (Bug#11698)
12086 2012-06-29  Leo Liu  <sdl.web@gmail.com>
12088         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
12090 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12092         * minibuffer.el (minibuffer-confirm-exit-commands):
12093         Add completion-at-point (bug#11725).
12095 2012-06-29  Glenn Morris  <rgm@gnu.org>
12097         * progmodes/f90.el (f90-font-lock-keywords-2):
12098         Add some preprocessor elements.  (Bug#10499)
12100 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12102         * progmodes/cperl-mode.el (cperl-update-syntaxification):
12103         Use syntax-propertize (bug#11739).
12105 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
12107         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
12109 2012-06-28  Julien Danjou  <julien@danjou.info>
12111         * term.el (term-handle-colors-array): Use a set of new faces to
12112         color the terminal.  Also uses :inverse-video property.
12113         (term-default-fg-color): Set to nil by default, deprecate in favor
12114         of `term-face'.
12115         (term-default-bg-color): Set to nil by default, deprecate in favor
12116         of `term-face'.
12117         (term-current-face): Use `term-face' by default.
12118         (term-bold-attribute): Variable deleted.
12120 2012-06-28  Glenn Morris  <rgm@gnu.org>
12122         * simple.el (completion-list-mode-finish):
12123         Don't use toggle-read-only.  (Since completion-list-mode has
12124         a special mode-class, it wasn't doing anything extra anyway.)
12126 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12128         Make inlining of other-mode interpreted functions work (bug#11799).
12129         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
12130         (byte-compile): Use it to fix compilation of lexical-binding closures.
12131         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
12132         function, if needed.
12134 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12136         * help-mode.el (help-make-xrefs): Don't just withstand
12137         cyclic-variable-indirection but any error in documentation-property.
12139         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
12140         memory use.
12141         * bindings.el (bindings--define-key): New function.
12142         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
12143         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
12144         * bindings.el: Use it to purecopy define-key bindings.
12146         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
12148         * emacs-lisp/cl.el (flet): Mark obsolete.
12149         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
12150         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
12151         * progmodes/js.el (js-c-fill-paragraph):
12152         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
12153         (ebrowse-switch-member-buffer-to-derived-class):
12154         * play/5x5.el (5x5-solver): Use cl-flet.
12156         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
12157         (cl--symbol-function): New macro.
12158         (cl--letf, cl--letf*): Use it.
12160         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
12161         Strip "toggle-" if any.
12163 2012-06-27  Glenn Morris  <rgm@gnu.org>
12165         * info.el (Info-default-directory-list): Move here from paths.el.
12166         * paths.el: Remove file, which is now empty.
12167         * loadup.el: No longer load "paths".
12169         * custom.el (custom-initialize-delay): Doc fix.
12171         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12172         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
12173         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
12174         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
12175         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
12176         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
12177         * eshell/eshell.el (eshell-defgroup): Remove alias.
12179 2012-06-27  Chong Yidong  <cyd@gnu.org>
12181         * help.el (help-enable-auto-load): New variable.
12183         * help-fns.el (help-fns--autoloaded-p): New function.
12184         (describe-function-1): Refer to a function as "autoloaded" if it
12185         was autoloaded at any time in the past.  Perform autoloading if
12186         help-enable-auto-load is non-nil.
12188 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
12190         * makefile.w32-in (compile, compile-always): Depend on
12191         update-subdirs, not on subdirs.el.  Otherwise, several different
12192         sub-targets of 'bootstrap' running in parallel could
12193         simultaneously write to subdirs.el, producing a garbled file.
12195 2012-06-26  Sam Steingold  <sds@gnu.org>
12197         * files.el (file-name-base): New convenience function.
12198         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
12199         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
12200         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
12201         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
12202         * textmodes/ispell.el, textmodes/reftex-ref.el:
12203         * textmodes/tex-mode.el: Use it.
12204         Did not touch cedet and org because they are maintained elsewhere.
12206 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
12208         * calendar/calendar.el (calendar-exit): Don't try to delete or
12209         iconify last frame.  See:
12210         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
12212 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
12214         * server.el (server-process-filter): Remember dir in the
12215         process's `server-client-directory' properties.
12217 2012-06-24  Chong Yidong  <cyd@gnu.org>
12219         * xml.el (xml-parse-tag): Correctly handle comment embedded in
12220         non-tag text.
12222 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
12224         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
12226 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12228         * help-fns.el (describe-variable): Don't croak when doc is not found.
12229         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
12230         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
12231         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
12232         * emacs-lisp/smie.el (smie-next-sexp): CSE.
12233         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
12234         ((lambda ..) ..).
12235         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
12237 2012-06-23  Chong Yidong  <cyd@gnu.org>
12239         * info.el (Info-mouse-follow-link): Accept symbol values of
12240         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
12241         (Info-fontify-node): Use Info-link-keymap for all navigation
12242         buttons, with link-args property to perform the desired action.
12243         (Info-link-keymap): Doc fix.
12244         (Info-next-link-keymap, Info-prev-link-keymap)
12245         (Info-up-link-keymap): Delete now-unused keymaps.
12247 2012-06-23  Chong Yidong  <cyd@gnu.org>
12249         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
12251         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
12252         system abbrevs.
12254         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
12256 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12258         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
12259         (bug#11719).
12261         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
12262         the requote function doesn't work properly (bug#11714).
12264 2012-06-23  Glenn Morris  <rgm@gnu.org>
12266         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
12268 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12270         Further GV/CL cleanups.
12271         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
12272         gv-expander.
12273         (gv--defun-declaration): New function.
12274         (defun-declarations-alist): Use it.
12275         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
12276         (gv-place): Autoload.
12277         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
12278         original definition of dotimes and dolist.
12279         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
12280         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
12281         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
12282         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12283         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
12284         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
12285         to the function's definition.
12286         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
12287         * window.el:
12288         * files.el:
12289         * faces.el:
12290         * env.el: Don't use CL.
12292 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
12294         Support higher-resolution time stamps (Bug#9000).
12296         * calendar/time-date.el (with-decoded-time-value): New arg
12297         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
12298         (encode-time-value): New optional arg PICO.  New type 3.
12299         (time-to-seconds) [!float-time]: Support the new picoseconds
12300         component if it's used.
12301         (seconds-to-time, time-subtract, time-add):
12302         Support ps-resolution time stamps as well.
12304         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
12305         (timerp): Timer vectors now have length 9, not 8.
12306         (timer--time): Support new-style (4-part) time stamps.
12307         (timer-next-integral-multiple-of-time): Time stamps now have
12308         picosecond resolution, so take a bit more care about rounding.
12309         (timer-relative-time, timer-inc-time): New optional arg psecs.
12310         (timer-set-time-with-usecs): Set psecs to 0.
12311         (timer--activate): Check psecs component, too.
12313         * proced.el (proced-time-lessp): Support ps-resolution stamps.
12315 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12317         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
12318         Move the non-essential binding to the post/pre-command-hook where it is
12319         more obviously correct.
12321         * subr.el (read-passwd): Don't use a history at all.
12322         * savehist.el (savehist-save): Remove password saved accidentally
12323         because of the above bug.
12325 2012-06-22  Bastien Guerry  <bzg@gnu.org>
12327         * files.el (toggle-read-only): Display a message telling whether
12328         the buffer is read-only or not (bug#11726).
12330 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12332         * emacs-lisp/gv.el: New file.
12333         * subr.el (push, pop): Extend to generalized variables.
12334         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
12335         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
12336         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
12337         gv-define-simple-setter, and gv-define-expander.
12338         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
12339         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
12340         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
12341         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
12342         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
12343         gv-letplace.
12344         (cl-defstruct): Don't define setf-method any more.
12345         * emacs-lisp/cl.el (flet): Don't autoload.
12346         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
12347         (define-setf-expander, defsetf, define-modify-macro)
12348         (cl-struct-setf-expander): Move from cl-lib.el.
12349         * emacs-lisp/syntax.el:
12350         * emacs-lisp/ewoc.el:
12351         * emacs-lisp/smie.el:
12352         * emacs-lisp/cconv.el:
12353         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
12354         (timer--time): Use gv-define-simple-setter.
12355         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
12356         to avoid coding-system problems in subr.el.  Adjust all users.
12357         (macroexp--maxsize, macroexp-small-p): New functions.
12358         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
12359         * scroll-bar.el (scroll-bar-mode):
12360         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
12361         (normal-erase-is-backspace-mode): Don't use the `eq' place.
12362         * winner.el (winner-configuration, winner-make-point-alist)
12363         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
12364         * files.el (locate-file-completion-table): Avoid list*.
12366 2012-06-22  Chong Yidong  <cyd@gnu.org>
12368         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
12369         (dired-create-files): Doc fix (Bug#11329).
12370         (dired-do-copy): Doc fix (Bug#11334).
12371         (dired-mark-read-string): Doc fix (Bug#11553).
12373         * dired.el (dired-recursive-copies, dired-recursive-deletes):
12374         Doc fix (Bug#11326).
12375         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
12376         (dired-dwim-target): Doc fix.
12378         * wdired.el (wdired-mode): Doc fix.
12380 2012-06-22  Glenn Morris  <rgm@gnu.org>
12382         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
12383         (pcmpl-rpm-cache-stamp-file): New constant.
12384         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
12385         (pcmpl-rpm-packages): Optionally cache list of packages.
12387         * pcmpl-rpm.el (pcmpl-rpm): New group.
12388         (pcmpl-rpm-query-options): New option.
12389         (pcmpl-rpm-packages): No need to inline it.
12390         Use pcmpl-rpm-query-options.
12392         * calendar/calendar.el (calendar-in-read-only-buffer):
12393         Avoid some needless mode changes.
12395 2012-06-21  Chong Yidong  <cyd@gnu.org>
12397         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
12398         (desktop-path): Remove . from the default value (Bug#10977).
12399         (desktop-read): Use user-emacs-directory if desktop-path is nil.
12401 2012-06-20  Chong Yidong  <cyd@gnu.org>
12403         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
12405 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
12407         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
12408         (bug#11201).
12410 2012-06-20  Chong Yidong  <cyd@gnu.org>
12412         * term.el (term-window-width): Handle the case of a missing right
12413         fringe (Bug#8837).
12414         (term-check-size): Use window-text-height (Bug#5445).
12415         (term-mode): Use define-derived-mode.  Minor cleanups.
12416         Set font-lock-defaults (Bug#7692).
12417         (term-move-columns, term-insert-char, term-emulate-terminal)
12418         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
12420 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
12422         * net/ange-ftp.el (ange-ftp-get-passwd):
12423         Bind `enable-recursive-minibuffers'.
12424         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
12426 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
12428         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
12430 2012-06-19  Glenn Morris  <rgm@gnu.org>
12432         * progmodes/python.el (python-mode): Derive from prog-mode.
12434 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
12436         * emulation/edt.el (edt-default-menu-bar-update-buffers)
12437         (edt-user-menu-bar-update-buffers): New functions.
12438         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12440 2012-06-19  Chong Yidong  <cyd@gnu.org>
12442         * subr.el (with-selected-window): Preserve the selected window's
12443         terminal's top-frame (Bug#4702).
12445         * window.el (save-selected-window): Likewise.
12447 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12449         * progmodes/python.el (python-rx-constituents): Move backquote.
12450         (python-skeleton-define, python-define-auxiliary-skeleton):
12451         Use `declare'.
12453 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
12455         * minibuffer.el (read-file-name-default): Revert the patch from
12456         2012-06-17.
12458 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12460         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12461         (pcase--u1, pcase--q1): Don't use apply-partially.
12463 2012-06-18  Glenn Morris  <rgm@gnu.org>
12465         * progmodes/python.el (python-proc, python-buffer)
12466         (python-send-receive, python-send-string): Fix obsolete versions.
12468 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
12470         * window.el (special-display-p): Completely remove stringp
12471         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12473 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
12475         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12477         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12479         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12480         * net/tramp-sh.el (tramp-maybe-open-connection):
12481         Throw if `non-essential' is non-nil.
12483 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
12485         * window.el (special-display-p): Signal an error if BUFFER-NAME
12486         is not a string (Bug#11713).
12488 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
12490         * progmodes/python.el (python-info-beginning-of-backslash):
12491         Rename from python-info-beginning-of-backlash, as a spelling fix.
12493 2012-06-17  Chong Yidong  <cyd@gnu.org>
12495         * term.el (term-emulate-terminal): If term-check-size is called,
12496         move point to the process mark without resetting point (Bug#4635).
12498 2012-06-17  Glenn Morris  <rgm@gnu.org>
12500         * international/mule-cmds.el (mule-menu-keymap)
12501         (set-language-environment, set-locale-environment): Doc tweaks.
12503 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
12505         * cus-face.el (custom-face-attributes): Add wave-style underline
12506         attribute.
12507         * faces.el (set-face-attribute): Update docstring to describe
12508         wave-style underline attribute.
12510 2012-06-16  Chong Yidong  <cyd@gnu.org>
12512         * term/xterm.el (terminal-init-xterm): Discard input before
12513         querying background mode (Bug#10959).
12515 2012-06-16  Stefan Merten  <smerten@oekonux.de>
12517         * textmodes/rst.el: Added and corrected some comments.
12518         (rst-re-alist-def): Improve symbol syntax.
12519         (rst-mode-syntax-table): Correct syntax entries.
12520         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12521         (rst-official-version, rst-official-cvs-rev): Update version
12522         information.
12524 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
12526         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12527         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12529 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
12531         * progmodes/python.el: New python.el merge.
12532         (python-guess-indent): Obsolete var.
12533         (python-indent-guess-indent-offset): New defcustom.
12534         (python-indent): Obsolete var.
12535         (python-indent-offset): New defcustom.
12536         (python-python-command, python-jython-command): Delete var.
12537         (python-shell-interpreter): New defcustom.
12538         (python-pdbtrack-do-tracking-p): Delete var.
12539         (python-pdbtrack-activate): New defcustom.
12540         (python-use-skeletons): Obsolete var.
12541         (python-skeleton-autoinsert): New defcustom.
12542         (inferior-python-filter-regexp, python-continuation-offset)
12543         (python-honour-comment-indentation, python-indent-string-contents)
12544         (python-jython-packages, python-mode-hook)
12545         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12546         (python-shell-prompt-alist)
12547         (python-source-modes): Delete defcustoms.
12548         (python-check-buffer-name, python-eldoc-setup-code)
12549         (python-eldoc-string-code, python-ffap-setup-code)
12550         (python-ffap-string-code, python-fill-comment-function)
12551         (python-fill-decorator-function, python-fill-paren-function)
12552         (python-fill-string-function, python-imenu-include-defun-type)
12553         (python-imenu-make-tree, python-imenu-subtree-root-label)
12554         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12555         (python-shell-compilation-regexp-alist)
12556         (python-shell-completion-module-string-code)
12557         (python-shell-completion-pdb-string-code)
12558         (python-shell-completion-setup-code)
12559         (python-shell-completion-string-code)
12560         (python-shell-enable-font-lock, python-shell-exec-path)
12561         (python-shell-extra-pythonpaths)
12562         (python-shell-internal-buffer-name, python-shell-interpreter-args)
12563         (python-shell-process-environment)
12564         (python-shell-prompt-block-regexp)
12565         (python-shell-prompt-output-regexp)
12566         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12567         (python-shell-send-setup-max-wait, python-shell-setup-codes)
12568         (python-shell-virtualenv-path): New defcustoms.
12569         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12570         (inferior-python-mode-syntax-table, python--prompt-regexp)
12571         (python-buffer, python-command python-python-command)
12572         (python-default-template, python-imports, python-indent-index)
12573         (python-indent-list, python-indent-list-length)
12574         (python-mode-running, python-pdbtrack-is-tracking-p)
12575         (python-preoutput-continuation, python-preoutput-leftover)
12576         (python-preoutput-result, python-preoutput-skip-next-prompt)
12577         (python-prev-dir/file, python-recursing)
12578         (python-saved-check-command, python-version-checked)
12579         (python-which-func-length-limit)
12580         (view-return-to-alist): Delete vars.
12581         (python-check-custom-command, python-dotty-syntax-table)
12582         (python-imenu-index-alist, python-indent-current-level)
12583         (python-indent-dedenters, python-indent-levels)
12584         (python-nav-beginning-of-defun-regexp)
12585         (python-nav-list-defun-positions-cache)
12586         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12587         (python-shell-internal-buffer)
12588         (python-skeleton-available): New vars.
12589         (def-python-skeleton): Delete macro.
12590         (python-skeleton-define): New macro.
12591         (python-define-auxiliary-skeleton, python-rx): New macros.
12592         (python-insert-class): Delete command.
12593         (python-skeleton-class): New command.
12594         (python-insert-def): Delete command.
12595         (python-skeleton-def): New command.
12596         (python-insert-for): Delete command.
12597         (python-skeleton-for): New command.
12598         (python-insert-if): Delete command.
12599         (python-skeleton-if): New command.
12600         (python-insert-try/except, python-insert-try/finally): Delete commands.
12601         (python-skeleton-try): New command.
12602         (python-insert-while): Delete command.
12603         (python-skeleton-while): New command.
12604         (python-backspace): Delete command.
12605         (python-indent-dedent-line-backspace): New command.
12606         (python-electric-colon): Delete command.
12607         (python-indent-electric-colon): New command.
12608         (python-guess-indent): Delete command.
12609         (python-indent-guess-indent-offset): New command.
12610         (python-shift-left): Delete command.
12611         (python-indent-shift-left): New command.
12612         (python-shift-right): Delete command.
12613         (python-indent-shift-right): New command.
12614         (python-find-function): Delete command.
12615         (python-nav-jump-to-defun): New command.
12616         (python-next-statement): Delete command.
12617         (python-nav-forward-sentence): New command.
12618         (python-previous-statement): Delete command.
12619         (python-nav-backward-sentence): New command.
12620         (python-fill-paragraph): Delete command.
12621         (python-fill-paragraph-function): New command.
12622         (python-send-buffer): Delete command.
12623         (python-shell-send-buffer): New command.
12624         (python-send-defun): Delete command.
12625         (python-shell-send-defun): New command.
12626         (python-send-region, python-send-region-and-go): Delete commands.
12627         (python-shell-send-region)
12628         (python-shell-switch-to-shell): New commands.
12629         (python-send-string): Delete command.
12630         (python-shell-send-string): New command.
12631         (python-switch-to-python): Delete command.
12632         (python-shell-switch-to-shell): New command.
12633         (python-describe-symbol): Delete command.
12634         (python-eldoc-at-point): New command.
12635         (python--set-prompt-regexp, python-args-to-list)
12636         (python-after-info-look, python-check-version)
12637         (python-check-comint-prompt, python-find-imports)
12638         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12639         (python-unload-function, python-expand-template)
12640         (python-maybe-jython, python-preoutput-filter)
12641         (python-pdbtrack-get-source-buffer)
12642         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12643         (python-pdbtrack-toggle-stack-tracking)
12644         (python-pdbtrack-track-stack-file, python-initial-text)
12645         (python-first-word, python-comment-line-p, python-send-command)
12646         (python-setup-brm, python-sentinel, python-set-proc)
12647         (python-skip-out, python-input-filter, python-outdent-p)
12648         (python-outline-level, python-backslash-continuation-line-p)
12649         (python-end-of-block, python-end-of-statement, python-mark-block)
12650         (python-beginning-of-block, python-beginning-of-statement)
12651         (python-blank-line-p, python-beginning-of-string)
12652         (python-open-block-statement-p): Delete functions.
12653         (python-indent-line, python-indent-line-1): Delete functions.
12654         (python-indent-line): New function.
12655         (python-indentation-levels): Delete function.
12656         (python-indent-calculate-levels): New function.
12657         (python-proc): Delete function.
12658         (python-shell-get-process): New function.
12659         (python-send-receive): Delete function.
12660         (python-shell-send-string-no-output): New function.
12661         (python-module-path): Delete function.
12662         (python-ffap-module-path): New function.
12663         (python-completion-at-point)
12664         (python-symbol-completions): Delete functions.
12665         (python-completion-complete-at-point): New function.
12666         (python-load-file): Delete function.
12667         (python-shell-send-file): New function.
12668         (python-calculate-indentation): Delete function.
12669         (python-indent-calculate-indentation): New function.
12670         (python-skip-comments/blanks): Delete function.
12671         (python-util-forward-comment): New function.
12672         (python-continuation-line-p): Delete function.
12673         (python-info-continuation-line-p): New function.
12674         (python-which-func, python-current-defun): Delete function.
12675         (python-info-current-defun): New function.
12676         (python-beginning-of-defun): Delete function.
12677         (python-nav-beginning-of-defun): New function.
12678         (python-close-block-statement-p)
12679         (python-block-end-p): Delete function.
12680         (python-info-closing-block): New function.
12681         (python-comint-output-filter-function)
12682         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12683         (python-fill-comment, python-fill-decorator, python-fill-paren)
12684         (python-fill-string, python-imenu-make-element-tree)
12685         (python-imenu-make-tree, python-imenu-tree-assoc)
12686         (python-indent-context, python-indent-dedent-line)
12687         (python-indent-line-function)
12688         (python-indent-post-self-insert-function)
12689         (python-indent-toggle-levels)
12690         (python-info-assignment-continuation-line-p)
12691         (python-info-beginning-of-backlash)
12692         (python-info-block-continuation-line-p)
12693         (python-info-closing-block-message)
12694         (python-info-line-ends-backslash-p)
12695         (python-info-looking-at-beginning-of-defun)
12696         (python-info-ppss-context, python-info-ppss-context-type)
12697         (python-nav-list-defun-positions, python-nav-read-defun)
12698         (python-nav-sentence-end, python-nav-sentence-start)
12699         (python-pdbtrack-comint-output-filter-function)
12700         (python-pdbtrack-set-tracked-buffer)
12701         (python-shell-calculate-exec-path)
12702         (python-shell-calculate-process-environment)
12703         (python-shell-completion--do-completion-at-point)
12704         (python-shell-completion--get-completions)
12705         (python-shell-completion-complete-at-point)
12706         (python-shell-completion-complete-or-indent)
12707         (python-shell-get-or-create-process)
12708         (python-shell-get-process-name)
12709         (python-shell-internal-get-or-create-process)
12710         (python-shell-internal-get-process-name)
12711         (python-shell-internal-send-string, python-shell-make-comint)
12712         (python-shell-parse-command, python-shell-send-setup-code)
12713         (python-skeleton-add-menu-items)
12714         (python-util-clone-local-variables, python-util-position)
12715         (run-python-internal, python-indentation-levels)
12716         (python-nav-beginning-of-defun)
12717         (python-completion-complete-at-point): New functions.
12718         (run-python): Change arguments.  New API requirements.
12720 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12722         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12723         (bug#11649).
12725         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12726         (macroexp--expand-all): Use it.
12728         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12729         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12730         Use `cl-function' instead.
12732 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
12734         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12735         Suggested by Stefan Monnier while discussing bug#11657.
12737 2012-06-14  Sam Steingold  <sds@gnu.org>
12739         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12741 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
12743         * play/doctor.el (doctor-doc): Remove parameter and use
12744         doctor-sent instead of sent.
12745         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
12747 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12749         * files.el: Require cl-lib.
12750         (file-name-non-special): Replace case -> cl-case.
12752         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12754         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12755         mapping from #' to function*.
12757 2012-06-13  Chong Yidong  <cyd@gnu.org>
12759         * mouse.el (mouse-drag-track): Do not set the mark if the user
12760         releases the mouse without selecting anything (Bug#11588).
12762 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12764         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12765         as well (bug#11646).
12767         * loadup.el: Count byte-code functions as well.
12769         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12770         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12772         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12773         (bug#11649).  Add cl-defun and cl-defmacro.
12775 2012-06-13  Drew Adams  <drew.adams@oracle.com>
12777         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12778         Fix last change.
12780 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
12782         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12783         Otherwise, it blocks in batch mode.
12785 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
12787         * help-mode.el (bookmark-make-record-default): Declare.
12789 2012-06-13  Chong Yidong  <cyd@gnu.org>
12791         * emacs-lisp/package.el (list-packages): Compute a list of
12792         packages that are newly-available since the last list-packages
12793         invocation.
12794         (package-menu--new-package-list): New var.
12795         (package-menu--generate, package-menu--print-info)
12796         (package-menu--status-predicate, package-menu-mark-install):
12797         Handle new status label "new".
12799 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12801         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12802         conversion to backquotes.
12804 2012-06-12  Chong Yidong  <cyd@gnu.org>
12806         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12807         Rename from gud-inhibit-global-bindings.
12809         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12811         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12812         hook from nxml-glyph-set-hook.
12814         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12815         declaration.
12817         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12819         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12820         Convert to defcustom.
12822 2012-06-12  Drew Adams  <drew.adams@oracle.com>
12824         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12825         New functions.
12826         (help-mode): Use them.
12828 2012-06-11  Glenn Morris  <rgm@gnu.org>
12830         * progmodes/fortran.el (fortran-font-lock-keywords-3):
12831         Use preprocessor face for directives.
12832         (fortran-directive-re): Doc fix.
12834 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12836         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12837         conversion to backquotes (bug#11652).
12839         Fix compiler-expansion of CL's cXXr functions (bug#11673).
12840         * emacs-lisp/cl-lib.el (cl--defalias): New function.
12841         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12842         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12843         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12844         (cl-ninth, cl-tenth): Mark them as inlinable.
12845         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12846         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12847         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12848         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12849         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12850         (cl-list*, cl-adjoin): Don't put an autoload manually.
12851         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12852         (cl--compiler-macro-list*): Add autoload cookie.
12853         (cl--compiler-macro-cXXr): New function.
12855         * help-fns.el (help-fns--compiler-macro): New function extracted from
12856         describe-function-1; follow aliases and use `compiler-macro' property.
12857         (describe-function-1): Use it.
12859 2012-06-11  Chong Yidong  <cyd@gnu.org>
12861         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12862         is uninstalled, if imagemagick is installed.
12864 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12866         * emacs-lisp/cl-lib.el: Use lexical-binding.
12867         (cl-map-extents, cl-maclisp-member): Remove.
12868         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12869         (cl--set-substring, cl--block-wrapper, cl--block-throw)
12870         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12871         * emacs-lisp/cl-extra.el: Use lexical-binding.
12872         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12873         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12874         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12875         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12876         * emacs-lisp/cl-seq.el: Use lexical-binding.
12877         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12878         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12879         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12880         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12881         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12882         CL's internals.
12884 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
12886         Sync with Tramp 2.2.6-pre.
12888         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12889         `print-length' and `print-level' to nil, in order to avoid
12890         truncation.  Reported by Christopher Schmidt
12891         <christopher@ristopher.com>.
12893         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12895         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12896         New defmacro.
12897         (tramp-compat-copy-directory): Add optional argument
12898         COPY-CONTENTS.  It is not handled yet.
12900         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12901         (tramp-ftp-file-name-p): Simplify.
12903         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12904         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12905         connection vector.
12907         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12908         (tramp-methods): Do not use `tramp-password-end-of-line'.
12909         (tramp-completion-function-alist-putty): Handle UNIX case.
12910         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12911         (tramp-do-file-attributes-with-stat)
12912         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12913         gid as real numbers.  They could run out of integer range on cygwin.
12914         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12915         (tramp-sh-handle-expand-file-name): Handle hops.
12916         (tramp-open-connection-setup-interactive-shell):
12917         Use `tramp-cleanup'.  Move check for busyboxes ...
12918         (tramp-find-shell): ... here.  Simplify implementation.
12919         Set "remote-shell" property also for alternative shells.
12920         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12921         If failing, a regular file would be written otherwise.
12922         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12923         (tramp-find-inline-encoding): Cache the coding commands in the
12924         process cache.  Apply test command on the remote side, if defined.
12925         (tramp-find-inline-compress): Cache the compress commands in the
12926         process cache.
12927         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12928         when requested.  Handle hops.
12929         (tramp-current-connection): New defvar.
12930         (tramp-maybe-open-connection): Use `tramp-cleanup'.
12931         Throw `suppress', if there was a failed connection shortly before.
12932         Handle user interrupt.  (Bug#10187)
12933         (tramp-get-inline-compress, tramp-get-inline-coding):
12934         Read connection properties from the process cache.
12936         * net/tramp-smb.el (tramp-smb-server-version)
12937         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12938         New defconsts.
12939         (tramp-smb-prompt): Extend for powershell prompt.
12940         (tramp-smb-file-name-handler-alist): Add handlers for
12941         `process-file', `shell-command' and `start-file-process'.
12942         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12943         (tramp-smb-winexe-shell-command-switch): New defcustoms.
12944         (tramp-smb-file-name-p): Simplify.
12945         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12946         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12947         (tramp-smb-shell-quote-argument): New defuns.
12948         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12949         Implement using "tar".  By this, time-stamps are preserved.
12950         (tramp-smb-handle-copy-file): Handle also the case of directories.
12951         (tramp-smb-do-file-attributes-with-stat)
12952         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12953         Use `tramp-get-connection-buffer').
12954         (tramp-smb-handle-rename-file): Use "rename", when source and
12955         target are on the same share.
12956         (tramp-smb-maybe-open-connection): Handle wrong passwords.
12957         Use `tramp-smb-server-version'.
12958         (tramp-smb-wait-for-output): Remove prompt.
12960         * net/tramp.el (top): Require 'cl.
12961         (tramp-methods, tramp-rsh-end-of-line):
12962         Remove `tramp-password-end-of-line' from docstring.
12963         (tramp-save-ad-hoc-proxies): New defcustom.
12964         (tramp-completion-function-alist): Adapt docstring.
12965         (tramp-default-password-end-of-line): Remove defcustom.
12966         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
12967         (tramp-user-regexp, tramp-file-name-regexp-unified)
12968         (tramp-file-name-regexp-url): Extend regexp by hop separator.
12969         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12970         (tramp-remote-file-name-spec-regexp): New defconst.
12971         (tramp-file-name-structure): Extend structure for hops.
12972         (tramp-get-method-parameter): Move up.
12973         (tramp-file-name-p, tramp-dissect-file-name)
12974         (with-parsed-tramp-file-name): Handle hops.
12975         (tramp-file-name-hop): New defun.
12976         (tramp-make-tramp-file-name): New optional arg HOP.
12977         (tramp-message-show-progress-reporter-message): New defvar.
12978         (tramp-with-progress-reporter): Use it.  We cannot use
12979         `tramp-message-show-message' here, because this suppresses also
12980         error buffers.
12981         (tramp-error-with-buffer): Suppress buffer view, if
12982         `tramp-message-show-message' is nil.
12983         Use `tramp-get-connection-buffer'.
12984         (tramp-cleanup): New defun.
12985         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12986         (tramp-file-name-handler): If `debug-on-error' is set, propagate
12987         an error unchanged.
12988         (tramp-completion-handle-file-name-all-completions): Handle hops.
12989         Fix an error when called from ido.
12990         (tramp-completion-dissect-file-name): Use better local variable
12991         name.  Add hop to the vector.
12992         (tramp-handle-insert-file-contents): Use progress-reporter for the
12993         whole scenario.
12994         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12995         to `t'.
12996         (tramp-check-for-regexp): Simplify search.
12997         (tramp-enter-password): Remove it.  Move implementation ...
12998         (tramp-action-password): ... here.
12999         (tramp-mode-string-to-int, tramp-local-host-p)
13000         (tramp-make-tramp-temp-file, tramp-read-passwd)
13001         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
13002         Set tramp-autoload cookie.
13004         * net/trampver.el: Update release number.
13006 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13007             Michael Albinus  <michael.albinus@gmx.de>
13009         * net/tramp.el (tramp-set-completion-function): Fix docstring.
13010         (tramp-parse-group, tramp-parse-file)
13011         (tramp-parse-shostkeys-sknownhosts): New defuns.
13012         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
13013         (tramp-parse-shosts-group, tramp-parse-sconfig)
13014         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
13015         (tramp-parse-sknownhosts, tramp-parse-hosts)
13016         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
13017         Use them.
13018         (tramp-parse-passwd-group, tramp-parse-netrc-group)
13019         (tramp-parse-putty-group): Don't narrow.
13020         (tramp-parse-putty): Make a loop.
13021         (tramp-file-name-handler): Catch the `suppress' signal.
13023 2012-06-11  Chong Yidong  <cyd@gnu.org>
13025         * image.el (imagemagick-register-types): Put the ImageMagick entry
13026         at the end of image-type-file-name-regexps.
13028 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
13030         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
13031         (pcase, pcase-let*, pcase-dolist): Use them.
13033 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13035         * emacs-lisp/pcase.el (pcase--let*): New function.
13036         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
13037         (pcase--expand): Use macroexp-let².
13039 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13041         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
13042         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
13043         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
13044         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
13045         * emacs-lisp/derived.el: Use pcase instead of `cl'.
13046         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
13048 2012-06-10  Glenn Morris  <rgm@gnu.org>
13050         * mail/rmail.el (rmail-yank-current-message): Leave point at
13051         correct position.  (Bug#11660)
13053 2012-06-10  Chong Yidong  <cyd@gnu.org>
13055         * allout-widgets.el: Fix code header.
13057 2012-06-10  Chong Yidong  <cyd@gnu.org>
13059         * cus-edit.el (customize-changed-options-previous-release):
13060         Bump to 24.1.
13062 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
13064         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
13066 2012-06-09  Chong Yidong  <cyd@gnu.org>
13068         * ebuff-menu.el (electric-buffer-list): Preserve header line.
13070 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
13072         * window.el (special-display-popup-frame): Don't use
13073         window--display-buffer (Bug#11651).
13075 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
13077         Fix parallel builds: make sure loaddefs.el is not being written
13078         while Lisp files are compiled.
13079         (compile): Don't depend on 'mh-autoloads'.
13080         (compile-CMD, compile-SH): Depend on 'autoloads'.
13081         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
13083         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
13085 2012-06-09  Chong Yidong  <cyd@gnu.org>
13087         * face-remap.el (face-remap-add-relative, face-remap-set-base)
13088         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
13089         Doc fixes (Bug#11225).
13091 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13093         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
13094         a function if there's a clear indication that it has a compiler-macro.
13095         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
13096         (macro-declarations-alist): Add arglist to declaration functions.
13097         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
13098         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
13099         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
13100         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
13101         Also add autoload to find the compiler macro.
13102         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
13103         (cl--compiler-macro-member, cl--compiler-macro-assoc)
13104         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
13105         (cl--compiler-macro-get): New functions, replacing calls to
13106         cl-define-compiler-macro.
13107         (cl-typep) [compiler-macro]: Use macroexp-let².
13109 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
13111         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
13112         string properly, fixes Bug#11473.
13114 2012-06-08  Chong Yidong  <cyd@gnu.org>
13116         * faces.el (set-face-attribute): Doc fix.
13117         (modify-face): Don't use :bold and :italic.
13118         (error, warning, success): Tweak definitions.
13120         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
13121         (custom-modified, custom-set, custom-changed, custom-themed)
13122         (custom-saved, custom-button, custom-button-mouse)
13123         (custom-button-pressed, custom-state, custom-comment-tag)
13124         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
13125         (custom-group-subtitle): Use new-style face specs.
13126         (custom-invalid-face, custom-rogue-face, custom-modified-face)
13127         (custom-set-face, custom-changed-face, custom-saved-face)
13128         (custom-button-face, custom-button-pressed-face)
13129         (custom-documentation-face, custom-state-face)
13130         (custom-comment-face, custom-comment-tag-face)
13131         (custom-variable-tag-face, custom-variable-button-face)
13132         (custom-face-tag-face, custom-group-tag-face-1)
13133         (custom-group-tag-face): Remove obsolete face alias.
13135         * epa.el (epa-validity-high, epa-validity-medium)
13136         (epa-validity-low, epa-mark, epa-field-name, epa-string)
13137         (epa-field-name, epa-field-body):
13138         * font-lock.el (font-lock-comment-face, font-lock-string-face)
13139         (font-lock-keyword-face, font-lock-builtin-face)
13140         (font-lock-function-name-face, font-lock-variable-name-face)
13141         (font-lock-type-face, font-lock-constant-face):
13142         * ido.el (ido-first-match, ido-only-match, ido-subdir)
13143         (ido-virtual, ido-indicator, ido-incomplete-regexp):
13144         * speedbar.el (speedbar-button-face, speedbar-file-face)
13145         (speedbar-directory-face, speedbar-tag-face)
13146         (speedbar-selected-face, speedbar-highlight-face)
13147         (speedbar-separator-face):
13148         * whitespace.el (whitespace-newline, whitespace-space)
13149         (whitespace-hspace, whitespace-tab, whitespace-trailing)
13150         (whitespace-line, whitespace-space-before-tab)
13151         (whitespace-space-after-tab, whitespace-indentation)
13152         (whitespace-empty):
13153         * emulation/cua-base.el (cua-global-mark):
13154         * eshell/em-prompt.el (eshell-prompt):
13155         * net/newst-plainview.el (newsticker-new-item-face)
13156         (newsticker-old-item-face, newsticker-immortal-item-face)
13157         (newsticker-obsolete-item-face, newsticker-date-face)
13158         (newsticker-statistics-face, newsticker-default-face):
13159         * net/newst-reader.el (newsticker-feed-face)
13160         (newsticker-extra-face, newsticker-enclosure-face):
13161         * net/newst-treeview.el (newsticker-treeview-face)
13162         (newsticker-treeview-new-face, newsticker-treeview-old-face)
13163         (newsticker-treeview-immortal-face)
13164         (newsticker-treeview-obsolete-face)
13165         (newsticker-treeview-selection-face):
13166         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
13167         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
13168         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
13169         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
13170         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
13171         (nxml-outline-active-indicator, nxml-outline-ellipsis):
13172         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
13173         (mpuz-text):
13174         * progmodes/vera-mode.el (vera-font-lock-number)
13175         (vera-font-lock-function, vera-font-lock-interface):
13176         * textmodes/table.el (table-cell): Use new-style face specs, and
13177         don't use the old :bold and :italic attributes.
13179         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
13180         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
13181         (ebrowse-member-class, ebrowse-progress): Likewise.
13182         (ebrowse-tree-mark-face, ebrowse-root-class-face)
13183         (ebrowse-file-name-face, ebrowse-default-face)
13184         (ebrowse-member-attribute-face, ebrowse-member-class-face)
13185         (ebrowse-progress-face): Remove obsolete faces.
13187         * progmodes/flymake.el (flymake-errline, flymake-warnline):
13188         Inherit from error and warning faces respectively.
13190         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
13191         Likewise.
13192         (flyspell-incorrect-face, flyspell-duplicate-face):
13193         Remove obsolete aliases.
13195 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
13197         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13198         Avoid infloop.
13200 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13202         * startup.el (argv, argi): Make lexically scoped.
13203         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
13204         * emacs-lisp/cl-macs.el: Use lexical-binding.
13205         Rename cl-bind-* to cl--bind-*.
13206         * files.el: Don't require `cl' since it doesn't use it.
13207         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
13209 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
13211         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
13212         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
13213         instead of calling external sort utility.
13214         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
13216 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
13218         * descr-text.el (describe-char): Mention how to insert the
13219         character, if the current input method doesn't support it.
13220         See the discussion in this thread for the details:
13221         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
13223 2012-06-08  Sam Steingold  <sds@gnu.org>
13225         * bindings.el (global-map): Bind XF86Forward to next-buffer and
13226         XF86Back to previous-buffer.
13227         (minibuffer-local-map): Bind them to next-history-element and
13228         previous-history-element respectively.
13229         * help-mode.el (help-mode-map): Bind them to help-go-forward and
13230         help-go-back respectively.
13231         * info.el (Info-mode-map): Bind them to Info-history-forward and
13232         Info-history-back respectively.
13233         These are the keys next to Up on the ThinkPad keyboard.
13235 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13237         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
13238         * emacs-lisp/cl-macs.el: Provide itself.
13239         (cl--labels-convert-cache): New var.
13240         (cl--labels-convert): New function.
13241         (cl-flet, cl-labels): New implementation with new semantics, relying on
13242         lexical-binding.
13243         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
13244         (cl-closure-vars, cl--function-convert-cache)
13245         (cl--function-convert): Move from cl-macs.el.
13246         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
13247         rename by removing the "cl-" prefix.
13248         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
13250 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13252         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
13253         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
13254         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
13255         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
13256         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
13257         (cl-hash-table-count): Add old compatibility aliases.
13259         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
13260         Use macroexpand-all-environment instead.
13261         (cl--old-macroexpand): New var.
13262         (cl--sm-macroexpand): New function.
13263         (cl-symbol-macrolet): Use it during macro expansion.
13264         (cl--function-convert-cache): New var.
13265         (cl--function-convert): New function, extracted from
13266         cl-macroexpand-all.
13267         (cl-lexical-let): Use it.
13269         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
13270         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
13271         (cl-member): Remove old alias.
13273         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
13274         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
13275         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
13276         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
13277         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
13278         (cl-macroexpand-cmacs): Remove var.
13279         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
13280         Use macroexpand-all instead.
13282 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13284         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
13285         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
13286         (macroexp-copyable-p): New functions and macros.
13287         * emacs-lisp/edebug.el (edebug-unwrap):
13288         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
13289         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
13290         (pcase--let*): Remove.
13291         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
13292         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
13293         macroexp-const-p instead.
13294         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
13296         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
13297         instead of "cl-" for internal definitions.  Use macroexp-const-p.
13298         (cl-old-bc-file-form): Remove var.
13299         (cl-const-exprs-p): Remove fun.
13300         (cl-labels, cl-macrolet): Use backquote.
13301         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
13302         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
13303         (cl-define-setf-expander): Rename from cl-define-setf-method.
13304         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
13306         * international/mule-cmds.el: Don't require CL.
13307         (view-hello-file): Don't use `letf'.
13309 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13311         * tmm.el (tmm-prompt): Use string-prefix-p.
13312         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
13313         (tmm-add-prompt): Use minibuffer-completion-help.
13314         (tmm-delete-map): Remove.
13316         * subr.el (kbd): Make it its own function.
13318 2012-06-07  Stefan Merten  <smerten@oekonux.de>
13320         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
13321         Silence compiler warnings.  Fix versions.
13322         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
13323         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
13324         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
13325         (rst-package-emacs-version-alist): Correct Emacs version to
13326         represent major merge with upstream.
13327         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
13329 2012-06-06  Glenn Morris  <rgm@gnu.org>
13331         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
13332         Only print environment variables if set.
13334 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13336         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
13337         (macroexp--cons): Rename from maybe-cons.
13338         (macroexp--accumulate): Rename from macroexp-accumulate.
13339         (macroexp--all-forms): Rename from macroexpand-all-forms.
13340         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
13341         (macroexp--expand-all): Rename from macroexpand-all-1.
13343 2012-06-06  Sam Steingold  <sds@gnu.org>
13345         * calendar/calendar.el (calendar-in-read-only-buffer):
13346         Call `special-mode' to enable the standard read-only keybindings.
13348 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13350         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
13351         with "loading" messages (bug#11635).
13353 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
13355         * files.el (enable-remote-dir-locals): New option.
13356         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
13358         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
13359         Ensure, that the temp directory is local.
13361         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
13362         `temporary-file-directory'.
13364         * progmodes/python.el (python-send-region): Ensure, that the
13365         temporary file is created also in the remote case.
13367 2012-06-06  Glenn Morris  <rgm@gnu.org>
13369         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
13370         (vc-rcs-update-changelog): Use it.
13372         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
13374         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
13375         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
13376         (vc-sccs-diff): Replace use of the external vcdiff script.
13378 2012-06-05  Glenn Morris  <rgm@gnu.org>
13380         * ledit.el: Move to obsolete/.
13382 2012-06-05  Sam Steingold  <sds@gnu.org>
13384         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
13385         patch (Bug#11140).
13387 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13389         * emacs-lisp/cust-print.el: Move to obsolete.
13391         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
13392         compiler-macro expansion.
13394         Add native compiler-macro support.
13395         * emacs-lisp/macroexp.el (macroexpand-all-1):
13396         Support compiler-macros directly.  Properly follow aliases and apply
13397         the compiler macros more thoroughly.
13398         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
13399         macroexpand now properly follows aliases.
13400         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
13401         (cl-compiler-macroexpand): Use new prop.
13402         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
13404         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
13406 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
13408         * window.el (get-lru-window, get-mru-window, get-largest-window):
13409         New argument NOT-SELECTED to avoid picking the selected window.
13410         (window--display-buffer-1, window--display-buffer-2): Replace by
13411         new function window--display-buffer
13412         (display-buffer-same-window, display-buffer-reuse-window)
13413         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13414         Use window--display-buffer.
13415         (display-buffer-use-some-window): Remove temporary dedication
13416         hack by calling get-lru-window and get-largest-window with
13417         NOT-SELECTED argument non-nil.  Call window--display-buffer.
13419 2012-06-05  Glenn Morris  <rgm@gnu.org>
13421         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
13422         Replace external vcdiff script.
13424 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13426         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
13428 2012-06-04  Chong Yidong  <cyd@gnu.org>
13430         * image.el (imagemagick-types-inhibit): Revert last change.
13431         Add INFO and M.
13432         (imagemagick-enabled-types): Remove CIN and EPS*.
13434 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13436         * emacs-lisp/cl-lib.el: Rename from cl.el.
13437         * emacs-lisp/cl.el: New compatibility file.
13438         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13439         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13440         to obey the "cl-" prefix.
13441         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13443 2012-06-03  Glenn Morris  <rgm@gnu.org>
13445         * emacs-lisp/authors.el (authors-aliases): Addition.
13447         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13448         Fix :version.
13450 2012-06-03  Stefan Merten  <smerten@oekonux.de>
13452         * textmodes/rst.el: Add comments.
13453         (rst-transition, rst-adornment): New faces.
13454         (rst-adornment-faces-alist): Make default safe to reevaluate.
13455         Fixes
13456         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13457         Improve customization tags.
13458         (rst-define-level-faces): Clarify meaning.
13460 2012-06-03  Chong Yidong  <cyd@gnu.org>
13462         * progmodes/compile.el (compilation-mode-line-fail)
13463         (compilation-mode-line-run, compilation-mode-line-exit):
13464         New faces.
13465         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13467 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
13469         * progmodes/which-func.el (which-func-update-ediff-windows):
13470         New function.  Use it in ediff-select-hook (Bug#11478).
13472 2012-06-03  Chong Yidong  <cyd@gnu.org>
13474         * bindings.el: Remove explicit help text from format-mode-line.
13475         It is now supplied by mode-line-default-help-echo.
13476         (mode-line-front-space, mode-line-end-spaces)
13477         (mode-line-misc-info): New variables.
13478         (mode-line-modes, mode-line-position): Move the default value to
13479         the variable definition.
13480         (mode-line-default-help-echo): New defcustom.
13481         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13482         (mode-line-modified-help-echo): New functions.
13483         (mode-line-mule-info, mode-line-modified): Use them.
13484         (mode-line-eol-desc, propertized-buffer-identification):
13485         Consistency fixes for help text.
13486         (mode-line-coding-system-map): Allow using mouse-3 to invoke
13487         set-buffer-file-coding-system (Bug#289).
13488         (mode-line-mule-info-help-echo): Update help text.
13490 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13492         * simple.el (execute-extended-command): Set real-this-command
13493         (bug#11506).
13495 2012-06-02  Chong Yidong  <cyd@gnu.org>
13497         Remove incorrect uses of "modeline" in comments, docstrings, and
13498         function/variable names (Bug#10329).
13500         * cus-edit.el (mode-line):
13501         * dframe.el (dframe-mouse-hscroll):
13502         * emacs-lisp/re-builder.el:
13503         * emacs-lisp/easy-mmode.el (define-minor-mode):
13504         * frame.el (set-frame-name):
13505         * help.el (lookup-minor-mode-from-indicator):
13506         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13507         * progmodes/cc-cmds.el (c-toggle-auto-newline)
13508         (c-toggle-hungry-state):
13509         * progmodes/antlr-mode.el (antlr-language-alist):
13510         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13511         * progmodes/vhdl-mode.el (vhdl-mode):
13512         * progmodes/which-func.el (which-func, which-func-cleanup-function):
13513         * term/ns-win.el (ns-face-at-pos):
13514         * term/sup-mouse.el (sup-mouse-report):
13515         * textmodes/flyspell.el (flyspell-mode-line-string):
13516         * textmodes/ispell.el (ispell-highlight-face):
13517         * textmodes/reftex-global.el:
13518         * vc/vc-arch.el (vc-arch-mode-line-string):
13519         * vc/vc-cvs.el (vc-cvs-mode-line-string):
13520         * vc/vc-git.el (vc-git-mode-line-string):
13521         * vc/vc-hooks.el (vc-display-status)
13522         (vc-default-mode-line-string):
13523         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13525         * ansi-color.el (ansi-color-faces-vector): Change default faces.
13527         * dired.el (dired-sort-set-mode-line): Rename from
13528         dired-sort-set-modeline.  All callers changed.
13530         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13531         eshell-status-in-modeline.
13533         * foldout.el (foldout-mode-line-string): Rename from
13534         foldout-modeline-string.  All callers changed.
13535         (foldout-update-mode-line): Rename from foldout-update-modeline.
13537         * subr.el (redraw-modeline): Make into obsolete alias.
13539         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13540         timeclock-modeline-display.  Make old name an alias.
13541         (timeclock-update-mode-line): Likewise.  All callers changed.
13542         (timeclock-mode-line-display): No need to check before using
13543         add-hook.
13544         (timeclock-relative, timeclock-day-over-hook)
13545         (timeclock-use-elapsed, timeclock-mode-string)
13546         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13548         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13549         crisp-mode-modeline-string.
13551         * play/solitaire.el (solitaire-build-mode-line): Rename from
13552         solitaire-build-modeline.  All callers changed.
13554         * play/zone.el (zone-hiding-mode-line): Rename from
13555         zone-hiding-modeline.  All callers changed.
13556         (zone): Remove unusued `modeline-hidden-level' property.
13558         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13559         xscheme-modeline-initialize.  All callers changed.
13561         * strokes.el (strokes-lighter): Rename from
13562         strokes-modeline-string.
13564         * textmodes/sgml-mode.el (html-face-tag-alist)
13565         (html-tag-face-alist): Use mode-line face instead of obsolete
13566         alias modeline.
13568 2012-06-02  Stefan Merten  <smerten@oekonux.de>
13570         * textmodes/rst.el: Always require `cl'.
13571         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13573 2012-06-02  Chong Yidong  <cyd@gnu.org>
13575         * image.el (imagemagick-enabled-types): Rename from
13576         imagemagick-types-enable.  Add many more types.
13577         (imagemagick-types-inhibit): Change default to nil.
13578         (imagemagick-filter-types): Caller changed.
13580 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13582         * emacs-lisp/cl-macs.el: Use backquotes.
13583         (cl-transform-function-property): Use eval-and-compile rather than
13584         abusing `require'.
13585         (defstruct): Use declare-function instead of with-no-warnings.
13587         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13588         (byte-compile-output-docform): Re-add the print-circle bindings.
13589         (byte-compile-fix-header): Use #$ just because it's shorter.
13590         (byte-compile-output-file-form): Remove defun/defmacro.
13592 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
13594         * simple.el (choose-completion): Remove now obsolete binding for
13595         owindow.
13597 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
13599         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13600         in order to avoid "Stack overflow in regexp matcher".
13602 2012-05-31  Glenn Morris  <rgm@gnu.org>
13604         * image.el: For clarity, call imagemagick-register-types at
13605         top-level, rather than relying on a custom :initialize.
13606         (imagemagick-types-enable): New option.  (Bug#11557)
13607         (imagemagick-filter-types): New function.  (Bug#7406)
13608         (imagemagick-register-types): Use imagemagick-filter-types.
13609         If disabling support, remove elements altogether rather
13610         than using an impossible regexp.
13611         (imagemagick-types-inhibit): Give it the default init function.
13613 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13615         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13616         Handle arbitrary file name lengths (Bug#11585).
13618 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
13620         * desktop.el (desktop-read): Clear previous and next buffers for
13621         all windows and bury *Messages* buffer (bug#11556).
13623 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13625         Add `declare' for `defun'.  Align `defmacro's with it.
13626         * emacs-lisp/easy-mmode.el (define-minor-mode)
13627         (define-globalized-minor-mode): Don't autoload the var definitions.
13628         * emacs-lisp/byte-run.el: Use lexical-binding.
13629         (defun-declarations-alist, macro-declarations-alist): New vars.
13630         (defmacro, defun): Use them.
13631         (make-obsolete, define-obsolete-function-alias)
13632         (make-obsolete-variable, define-obsolete-variable-alias):
13633         Use `declare'.
13634         (macro-declaration-function): Mark obsolete.
13635         * emacs-lisp/autoload.el: Use lexical-binding.
13636         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
13638 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13640         * textmodes/ispell.el (ispell-with-no-warnings):
13641         Define as a macro.
13642         (ispell-kill-ispell, ispell-change-dictionary):
13643         Use `called-interactively-p' for Emacs instead of obsolete
13644         `interactive-p'.
13646 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13648         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13649         (macro-declaration-function): Move var from C code.
13650         (macro-declaration-function): Define function with defalias.
13651         * emacs-lisp/macroexp.el (macroexpand-all-1):
13652         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13653         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13654         defun/defmacro any more.
13655         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13656         Provide fallback for unknown arglist.
13657         (byte-compile-arglist-warn): Change calling convention.
13658         (byte-compile-output-file-form): Move print-vars binding.
13659         (byte-compile-output-docform): Simplify accordingly.
13660         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13661         (byte-compile-defmacro-declaration): Remove.
13662         (byte-compile-file-form-defmumble): Generalize to defalias.
13663         (byte-compile-output-as-comment): Return byte-positions.
13664         Simplify callers accordingly.
13665         (byte-compile-lambda): Use `assert'.
13666         (byte-compile-defun, byte-compile-defmacro): Remove.
13667         (byte-compile-file-form-defalias):
13668         Use byte-compile-file-form-defmumble.
13669         (byte-compile-defalias-warn): Remove.
13671 2012-05-29  Stefan Merten  <smerten@oekonux.de>
13673         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13674         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
13676         (rst-mode-abbrev-table): Merge definition.
13677         (rst-mode): Make sure `font-lock-defaults' is buffer local.
13678         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13680 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
13682         * calendar/icalendar.el
13683         (icalendar-export-region): Export UID properly.
13685 2012-05-29  Leo Liu  <sdl.web@gmail.com>
13686         * calendar/icalendar.el (icalendar-import-format):
13687         Add `icalendar-import-format-uid' (Bug#11525).
13688         (icalendar-import-format-uid): New.
13689         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13690         Export UID.
13692 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13694         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13695         different alternative patterns.
13696         (pcase-codegen): Be more careful to preserve identity.
13697         (pcase--u1): Don't forget to mark vars as used.
13699         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13700         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13701         (byte-compile-from-buffer): ...rather than here.
13703         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13704         functions from byte-compile-function-environment.
13706 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
13708         * window.el (window-deletable-p): Avoid deleting the root window
13709         of a frame with an active minibuffer.
13711 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
13713         * simple.el (choose-completion): Use quit-window (Bug#11567).
13715 2012-05-29  Chong Yidong  <cyd@gnu.org>
13717         * whitespace.el (whitespace-cleanup): Fix usage of
13718         whitespace-empty-at-bob-regexp (Bug#11492).
13720 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13722         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13723         revert (Bug#11488).
13725 2012-05-29  Juri Linkov  <juri@jurta.org>
13727         * isearch.el (isearch-mode-map): Bind `M-s _' to
13728         `isearch-toggle-symbol'.  Bind `M-s c' to
13729         `isearch-toggle-case-fold'.
13730         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13731         (isearch-forward): Add `M-s _' to the docstring.
13732         (isearch-forward-symbol, isearch-toggle-case-fold)
13733         (isearch-symbol-regexp): New functions.  (Bug#11381)
13735 2012-05-29  Juri Linkov  <juri@jurta.org>
13737         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
13738         (isearch-occur, isearch-search-and-update): If `isearch-word' is
13739         a function, call it to get the regexp.
13740         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13741         property `isearch-message-prefix' instead of the string "word ".
13742         (isearch-search-fun-default): For the case of `isearch-word',
13743         return a lambda that calls re-search-forward/re-search-backward
13744         with a regexp returned by `word-search-regexp' or by the function
13745         in `isearch-word'.
13747 2012-05-29  Juri Linkov  <juri@jurta.org>
13749         * isearch.el (isearch-search-fun-default): New function.
13750         (isearch-search-fun): Move default part to the new function
13751         `isearch-search-fun-default'.
13752         (isearch-search-fun-function): Set the default value to
13753         `isearch-search-fun-default'.  (Bug#11381)
13755         * comint.el (comint-history-isearch-end):
13756         Use `isearch-search-fun-default'.
13757         (comint-history-isearch-search): Use `isearch-search-fun-default'
13758         and remove spacial case for `isearch-word'.
13759         (comint-history-isearch-wrap): Remove spacial case for
13760         `isearch-word'.
13762         * hexl.el (hexl-isearch-search-function):
13763         Use `isearch-search-fun-default'.
13765         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13766         Use `word-search-regexp' for `isearch-word'.
13768         * misearch.el (multi-isearch-search-fun):
13769         Use `isearch-search-fun-default'.
13771         * simple.el (minibuffer-history-isearch-search):
13772         Use `isearch-search-fun-default' and remove spacial case for
13773         `isearch-word'.
13774         (minibuffer-history-isearch-wrap): Remove spacial case for
13775         `isearch-word'.
13777         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13778         Remove spacial case for `isearch-word'.
13779         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13781 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13783         Decrease XEmacs incompatibilities.
13784         * textmodes/flyspell.el (flyspell-check-pre-word-p):
13785         Use `string-match'.
13786         (flyspell-delete-region-overlays): Use alternative definition for
13787         XEmacs.
13788         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13789         (flyspell-word): Use `process-kill-without-query' if XEmacs.
13790         (flyspell-mode-on): Use `interactive-p' if XEmacs.
13791         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13792         `define-obsolete-face-alias' under XEmacs, but old method.
13794         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13795         `with-no-warnings' definition or Emacs alias.
13796         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13797         (ispell-word): Do not use `region-p' if XEmacs.
13799 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
13801         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13802         Check for `ispell-dictionary-base-alist' instead of full
13803         `ispell-dictionary-alist'.
13804         (ispell-init-process): Show spellchecker when starting new Ispell
13805         process.
13807 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13809         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13810         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13812 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
13814         * version.el (motif-version-string, gtk-version-string)
13815         (ns-version-string): Declare.
13817 2012-05-27  Juri Linkov  <juri@jurta.org>
13819         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13820         after the `eval-defun-1' specialcaseing
13821         like in `edebug-eval-defun' (bug#10181).
13823         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13824         like in `eval-defun-1'.
13826 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
13828         * mail/sendmail.el (mail-yank-region):
13829         Recognize rmail-yank-current-message in addition to insert-buffer.
13830         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13831         a *mail* buffer created through rmail-start-mail with sendmail as
13832         mail-user-agent.
13834 2012-05-27  Chong Yidong  <cyd@gnu.org>
13836         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13837         Default to 256 (Bug#11267).
13839         * help.el (describe-mode): Doc fix.
13841 2012-05-26  Glenn Morris  <rgm@gnu.org>
13843         * w32-fns.el (w32-init-info): Remove.
13844         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13846         * info.el (info-initialize): For self-contained NS builds, put the
13847         included info/ directory at the front.  (Bug#2791)
13849         * paths.el (Info-default-directory-list): Make it a defcustom,
13850         mainly so that we can use custom-initialize-delay.
13852 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13854         * subr.el (buffer-has-markers-at): Mark obsolete.
13856         * subr.el (lambda): Use declare.
13858         * emacs-lisp/lisp-mode.el (lambda):
13859         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13861 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13863         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
13865 2012-05-26  Glenn Morris  <rgm@gnu.org>
13867         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13869 2012-05-25  Glenn Morris  <rgm@gnu.org>
13871         * paths.el: Remove no-byte-compile.
13872         * loadup.el: No need to load paths.el uncompiled.
13874         * image.el (imagemagick-types-inhibit): Doc fix.
13876         * version.el: Remove no-byte-compile and associated formatting.
13877         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
13878         is ancient code from when there was an "inc-vers.el".
13880 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13882         * progmodes/gdb-mi.el: Minor style changes.
13883         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13884         Turn into minor modes.
13885         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13886         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13887         (gdb-shell): Remove unneeded let-binding.
13888         (gdb-get-many-fields): Eliminate O(n²) behavior.
13890 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
13892         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13893         platforms that don't link in fontset.c.
13895 2012-05-25  Juri Linkov  <juri@jurta.org>
13897         Use the same diff color scheme as in modern VCSes (bug#10181).
13899         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13900         to avoid confusion with `diff-added' that now uses green colors.
13901         (diff-removed): Use shades of red.
13902         (diff-added): Use shades of green.
13903         (diff-changed): Leave just the yellow color.
13904         (diff-use-changed-face): New variable.
13905         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13906         how to highlight context diff changes.
13907         (diff-refine-change): Use shades of yellow.
13908         (diff-refine-removed): New face that uses shades of red.
13909         (diff-refine-added): New face that uses shades of green.
13910         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13911         `diff-refine-removed' in the call to `smerge-refine-subst'
13912         depending on the value of `diff-use-changed-face'.
13914         * vc/smerge-mode.el (smerge-mine): Use shades of red.
13915         (smerge-other): Use shades of green.
13916         (smerge-base): Use shades of yellow.
13917         (smerge-refined-change): Empty face.
13918         (smerge-refined-removed): New face that uses shades of red.
13919         (smerge-refined-added): New face that uses shades of green.
13920         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
13921         args `props-r' and `props-a', and use them.  Doc fix.
13922         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13923         on its value use different faces `smerge-refined-change',
13924         `smerge-refined-removed', `smerge-refined-added' in the call to
13925         `smerge-refine-subst'.
13927         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13928         Add face condition `min-colors 88' with shades of red.
13929         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13930         `min-colors 88' with shades of green.
13931         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13932         `min-colors 88' with shades of yellow.
13934 2012-05-24  Glenn Morris  <rgm@gnu.org>
13936         * paths.el (prune-directory-list, remote-shell-program): Move to...
13937         * files.el (prune-directory-list, remote-shell-program): ...here.
13938         For the latter, delay initialization, prefer ssh, just search PATH.
13940         * paths.el (term-file-prefix): Move to faces.el (the only user).
13941         * faces.el (term-file-prefix): Move here, make it a defcustom.
13943         * paths.el (news-directory, news-path, news-inews-program):
13944         Move to gnus/nnspool.el.
13946         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13948         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13949         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13950         Make the latter a defcustom, with a delayed initialization.
13952         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13953         These were deleted from Gnus itself late 2010.
13955 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
13957         * progmodes/which-func.el (which-func-ff-hook):
13958         Check against user-error, not error.
13960         * emacs-lisp/edebug.el (top): Do not load or set up loading of
13961         cl-specs.el, which no longer exists.
13963 2012-05-22  Glenn Morris  <rgm@gnu.org>
13965         * info.el (info-emacs-bug): New command.
13966         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13967         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13969 2012-05-21  Glenn Morris  <rgm@gnu.org>
13971         * makefile.w32-in (update-subdirs-SH):
13972         * Makefile.in (update-subdirs): Update for moved update-subdirs.
13974 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13976         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13978         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13979         Simplify Maven regexp, and make sure the file can't start with a space
13980         (bug#11517).
13982 2012-05-21  Glenn Morris  <rgm@gnu.org>
13984         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13985         Scrap superfluous subshells.
13987 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13989         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13990         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13992 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
13994         * calc/calc.el (calc-ensure-consistent-units): New variable.
13996         * calc/calc-units.el (math-consistent-units-p)
13997         (math-check-unit-consistency): New functions.
13998         (calc-quick-units, calc-convert-units):
13999         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
14000         is non-nil.
14001         (calc-extract-units): Fix typo.
14003 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14005         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
14007         * textmodes/flyspell.el: Commenting style, plus code simplifications.
14008         (flyspell-default-deplacement-commands): Don't spell check after
14009         repeated window/frame switches (e.g. triggered by mouse-movement).
14010         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
14011         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
14012         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
14013         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
14014         Remove unused vars.
14015         (flyspell-get-casechars, flyspell-get-not-casechars):
14016         Simplify; Don't bother removing a ] just to add it back.
14017         * textmodes/ispell.el (ispell-program-name): Use executable-find.
14019 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
14021         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
14022         New functions.
14023         (math-function-table): Add support for more C functions.
14025 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
14027         * textmodes/flyspell.el (flyspell-check-pre-word-p)
14028         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14029         Protect delay handling for otherchars against empty otherchars.
14031 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14033         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
14034         their respective macro declarations.
14035         * skeleton.el (define-skeleton):
14036         * progmodes/compile.el (define-compilation-mode):
14037         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
14038         (define-ibuffer-filter):
14039         * emacs-lisp/generic.el (define-generic-mode):
14040         * emacs-lisp/easy-mmode.el (define-minor-mode)
14041         (define-globalized-minor-mode):
14042         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
14043         * emacs-lisp/byte-run.el (defsubst):
14044         * custom.el (deftheme): Add doc-string metadata.
14046 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14048         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
14050 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14052         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
14054         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
14055         * emacs-lisp/cl-macs.el: Idem.
14056         * emacs-lisp/cl-specs.el: Remove.
14058 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14060         Minor renaming of internal CL functions and variables.
14061         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
14062         (cl--position): Rename from cl-position.
14063         (cl--delete-duplicates): Rename from cl-delete-duplicates.
14064         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
14065         (cl--random-state): Rename from *random-state*.
14067 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14069         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
14070         parens around the arg list (bug#11499).
14072 2012-05-17  Juri Linkov  <juri@jurta.org>
14074         * isearch.el (word-search-regexp, word-search-backward)
14075         (word-search-forward, word-search-backward-lax)
14076         (word-search-forward-lax): Move functions from search.c
14077         (bug#10145, bug#11381).
14079 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
14081         * textmodes/flyspell.el (flyspell-check-pre-word-p)
14082         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
14083         Delay for otherchars as for normal word components.
14085 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14087         * minibuffer.el (completion--sifn-requote): Fix last change.
14088         (minibuffer-local-must-match-filename-map):
14089         Move define-obsolete-variable-alias before its var.
14091 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14093         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
14095         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
14096         behavior.
14097         (completion--string-equal-p): New function.
14098         (completion--twq-all): Use it to get better assertion failure data.
14100         Only handle ".." and '..' quoting in shell-mode (bug#11466).
14101         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
14102         (shell--requote-argument): New functions.
14103         (shell-completion-vars): Use them.
14104         (shell--parse-pcomplete-arguments): Rename from
14105         shell-parse-pcomplete-arguments.
14106         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
14107         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
14108         Obey comint-file-name-quote-list.
14110         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
14111         (smie-indent-keyword): Use it.
14113 2012-05-14  Stefan Merten  <smerten@oekonux.de>
14115         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
14117 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14119         * net/rlogin.el (rlogin-mode-map): Fix last change.
14121 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
14123         * mail/smtpmail.el (smtpmail-send-command): Send the command and
14124         the following \r\n using a single `process-send-string', since the
14125         Lotus SMTP server refuses to accept any commands if they are sent
14126         with two `process-send-string's (Bug#11444).
14128 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14130         * shell.el (shell-parse-pcomplete-arguments):
14131         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
14133 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
14135         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
14136         (image-transform-scale, image-transform-right-angle-fudge): New vars.
14137         (image-transform-width, image-transform-fit-width): New functions.
14138         (image-transform-properties): Use them.
14139         (image-transform-check-size): New function.
14140         (image-toggle-display-image): Use it (for testing).
14141         (image-transform-set-rotation): Reduce angle mod 360.
14142         Delete obsolete comment.
14144 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
14146         * image-mode.el: Fix scaling (bug#11399).
14147         (image-transform-resize): Doc fix.
14148         (image-transform-properties): Default scale is 1 and height should
14149         be an integer.
14151 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
14153         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
14154         than hard-coding `car', to fix misbehavior when moving forward.
14156 2012-05-13  Chong Yidong  <cyd@gnu.org>
14158         * emacs-lisp/tabulated-list.el (tabulated-list-format)
14159         (tabulated-list-entries, tabulated-list-padding)
14160         (tabulated-list-sort-key): Make permanent-local.
14162         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
14163         (electric-buffer-list): Put electric buffer menu
14164         command descriptions in this docstring, instead of the docstring
14165         of electric-buffer-menu-mode.  Code cleanups.
14166         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
14167         Electric-buffer-menu-mode.
14168         (electric-buffer-update-highlight): Minor code cleanup.
14170 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
14172         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
14173         (Bug#11447)
14175 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14177         Move define-obsolete-variable-alias before the var's definition.
14178         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
14179         * tooltip.el (tooltip-hook):
14180         * textmodes/reftex-toc.el (reftex-toc-map):
14181         * textmodes/reftex-sel.el (reftex-select-label-map)
14182         (reftex-select-bib-map):
14183         * textmodes/reftex-index.el (reftex-index-map)
14184         (reftex-index-phrases-map):
14185         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
14186         * progmodes/meta-mode.el (meta-mode-map):
14187         * novice.el (disabled-command-hook):
14188         * loadhist.el (unload-hook-features-list):
14189         * frame.el (blink-cursor):
14190         * files.el (find-file-not-found-hooks, write-file-hooks)
14191         (write-contents-hooks):
14192         * emulation/tpu-edt.el (GOLD-map):
14193         * emacs-lock.el (emacs-lock-from-exiting):
14194         * emacs-lisp/generic.el (generic-font-lock-defaults):
14195         * emacs-lisp/chart.el (chart-map):
14196         * dos-fns.el (register-name-alist):
14197         * dired-x.el (dired-omit-files-p):
14198         * desktop.el (desktop-enable):
14199         * cus-edit.el (custom-mode-hook):
14200         * buff-menu.el (buffer-menu-mode-hook):
14201         * bookmark.el (bookmark-read-annotation-text-func)
14202         (bookmark-exit-hooks):
14203         * allout.el (allout-mode-deactivate-hook)
14204         (allout-exposure-change-hook, allout-structure-added-hook)
14205         (allout-structure-deleted-hook, allout-structure-shifted-hook):
14206         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
14207         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
14208         comes before the corresponding variable's definition.
14210 2012-05-12  Chong Yidong  <cyd@gnu.org>
14212         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
14213         (Buffer-menu-mouse-select): Restore function (Bug#11459).
14214         (Buffer-menu-mode-map): Bind it.
14215         (Buffer-menu--pretty-name): Add a mouse-face property.
14217 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14219         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
14220         (prolog-upper-case-string, prolog-lower-case-string)
14221         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
14222         (prolog-use-smie, prolog-smie-grammar): New vars.
14223         (prolog-smie-forward-token, prolog-smie-backward-token)
14224         (prolog-smie-rules): New funs.
14225         (prolog-comment-indent): Remove.
14226         (prolog-mode-variables): Use default comment indentation instead.
14227         Setup SMIE.
14228         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
14229         (prolog-mode): Don't call them any more.
14230         (prolog-electric-colon, prolog-electric-dash)
14231         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
14233         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
14235         * minibuffer.el (completion--twq-all): Again, allow case differences.
14237         * term.el: Move keymap initialization code to be more idiomatic.
14238         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
14239         (term-terminal-menu): Move initialization into declaration.
14240         (term-escape-char): Let the user set it in her .emacs.
14242         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
14243         Provide SMIE-based indentation (not enabled by default yet).
14244         (sh-mode-map): Don't bind electric keys.
14245         Use electric-pair-mode instead of skeleton-pair.
14246         (sh-assignment-regexp): Fit within 80 columns.
14247         (sh-indent-supported): Specify actual shell name instead of boolean.
14248         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
14249         (sh-maybe-here-document): Use it.  Make obsolete.
14250         (sh-electric-here-document-mode) New minor mode.
14251         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
14252         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
14253         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
14254         (sh-smie-rc-grammar, sh-use-smie): New vars.
14255         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
14256         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
14257         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
14258         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
14259         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
14260         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
14261         (sh-set-shell): Use smie-setup if requested.
14263         * term.el (term-set-escape-char): Properly set term-escape-char.
14264         See http://stackoverflow.com/questions/10524656.
14266 2012-05-10  Chong Yidong  <cyd@gnu.org>
14268         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
14269         Use url-generic-parse-url, and handle host names and Windows
14270         filenames properly.
14271         (ffap-url-unwrap-remote): Use url-generic-parse-url.
14272         (ffap-url-unwrap-remote): Accept list values, specifying a list of
14273         URL schemes to work on.
14274         (ffap--toggle-read-only): New function.
14275         (ffap-read-only, ffap-read-only-other-window)
14276         (ffap-read-only-other-frame): Use it.
14277         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
14278         necessary for ffap-url-unwrap-remote.
14280 2012-05-10  Dave Abrahams  <dave@boostpro.com>
14282         * cus-start.el (create-lockfiles): Add it.
14284 2012-05-09  Chong Yidong  <cyd@gnu.org>
14286         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
14287         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
14289 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14291         * shell.el (shell-completion-vars): Fix last change (bug#11348).
14293 2012-05-09  Chong Yidong  <cyd@gnu.org>
14295         * ansi-color.el (ansi-color-process-output): Check for validity of
14296         comint-last-output-start before using it.  This avoids a bad
14297         interaction with gdb-mi's input/output buffer.
14299 2012-05-09  Glenn Morris  <rgm@gnu.org>
14301         * files.el (dir-locals-read-from-file):
14302         Mention dir-locals in any error message.
14304 2012-05-09  Chong Yidong  <cyd@gnu.org>
14306         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
14307         package (Bug#11410).
14309         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
14310         variables into description.
14312 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14314         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
14315         shell-delimiter-argument-list (bug#11348).
14316         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
14318 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
14320         * textmodes/rst.el: Silence byte-compiler warnings.
14321         (rst-re-alist, rst-reset-section-caches): Move around.
14322         (rst-re): Use `characterp', not `char-valid-p'.
14323         (font-lock-beg, font-lock-end): Declare.
14325         * progmodes/idlw-shell.el (specs): Remove reference to deleted
14326         variable `idlwave-shell-activate-alt-keybindings' and simplify.
14328         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
14330 2012-05-08  Glenn Morris  <rgm@gnu.org>
14332         * files.el (auto-mode-alist): Treat ".make" like ".mk".
14334 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14336         * vc/log-edit.el: Add GNU coding standards highlighting.
14337         (log-edit-font-lock-gnu-style)
14338         (log-edit-font-lock-gnu-keywords): New vars.
14339         (log-edit-font-lock-keywords): New fun.
14340         (log-edit-mode): Don't fold case in font-lock.
14341         (log-edit-font-lock-keywords): Do not assume case-folding.
14343         * imenu.el: Misc cleanup.  Make docstrings out of comments.
14344         Use lexical-binding.
14345         (imenu--index-alist, imenu--last-menubar-index-alist)
14346         (imenu-menubar-modified-tick): Use defvar-local.
14347         (imenu--split-menu): Remove unused var.
14348         (imenu--cleanup-seen): Declare as global.
14349         (imenu--cleanup): Use dolist.
14351         * subr.el (defvar-local): Add debug spec and doc-string position.
14353 2012-05-08  Glenn Morris  <rgm@gnu.org>
14355         * language/burmese.el, language/cham.el, language/czech.el:
14356         * language/english.el, language/georgian.el, language/greek.el:
14357         * language/japanese.el, language/khmer.el, language/korean.el:
14358         * language/lao.el, language/misc-lang.el, language/romanian.el:
14359         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
14360         * language/thai.el, language/utf-8-lang.el:
14361         Remove no-byte-compile setting.
14363         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
14365 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14367         * progmodes/make-mode.el (makefile-browse):
14368         Remove unnecessary interactive.  (Bug#11324)
14370 2012-05-07  Glenn Morris  <rgm@gnu.org>
14372         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
14374         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
14376 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14378         * loadup.el: Preload newcomment.el.
14379         * newcomment.el: Move autoload-only code to toplevel.
14381         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
14382         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14383         Handle new :right-align column property.
14384         (tabulated-list-print-col): Idem, plus use `display' text-property to
14385         try and preserve alignment for variable pitch fonts.
14387 2012-05-07  Chong Yidong  <cyd@gnu.org>
14389         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
14390         (tabulated-list-use-header-line): New var.
14391         (tabulated-list-init-header): Use it.
14392         (tabulated-list-print-fake-header): New function.
14393         (tabulated-list-print): Use it.
14394         (tabulated-list-sort-button-map): Add non-header-line commands.
14395         (tabulated-list-init-header): Add column name property to basic
14396         labels as well.
14397         (tabulated-list-col-sort): Handle non-header-line button case.
14398         (tabulated-list--sort-by-column-name): Fix a corner case.
14400         * buff-menu.el (list-buffers--refresh):
14401         Handle Buffer-menu-use-header-line.
14403 2012-05-06  Chong Yidong  <cyd@gnu.org>
14405         * buff-menu.el: Convert to Tabulated List mode.
14406         (Buffer-menu-buffer+size-width): Make obsolete.
14407         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
14408         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
14409         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
14410         documentation into docstring of buffer-menu.
14411         (Buffer-menu-toggle-files-only): Add an informative message.
14412         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
14413         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
14414         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
14415         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
14416         (Buffer-menu-execute, Buffer-menu-select)
14417         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
14418         (Buffer-menu-bury): Use Tabulated List machinery.
14419         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
14420         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
14421         Delete.
14422         (list-buffers--refresh): New function.
14423         (list-buffers-noselect): Use it.
14424         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
14425         (Buffer-menu--pretty-file-name): New helper functions.
14427         * loadup.el: Preload tabulated-list.
14429         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
14430         tabulated-list-sort-column.
14431         (tabulated-list-init-header): Add the initial aligning space even
14432         if tabulated-list-padding is zero.
14434 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
14436         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14437         whose cdr is not a cons cell correctly (bug#11038).
14439 2012-05-06  Chong Yidong  <cyd@gnu.org>
14441         * emacs-lisp/tabulated-list.el (tabulated-list-format):
14442         Accept additional plist in column descriptors.
14443         (tabulated-list-init-header): Obey it.
14444         (tabulated-list-get-entry): New function.
14445         (tabulated-list-put-tag): Use it.  Use string-width instead of
14446         length.
14447         (tabulated-list--column-number): New function.
14448         (tabulated-list-print): Use it.
14449         (tabulated-list-print-col): New function.
14450         Set `tabulated-list-column-name' property on each column's text.
14451         (tabulated-list-print-entry): Use it.
14452         (tabulated-list-delete-entry, tabulated-list-set-col):
14453         New functions.
14454         (tabulated-list-sort-column): New command (Bug#11337).
14456         * buff-menu.el (list-buffers): Move C-x C-b binding from
14457         buff-menu.el to bindings.el.
14459         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14460         :advertised-binding feature.
14462 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
14464         * progmodes/compile.el (compilation-internal-error-properties):
14465         Calculate start position correctly when end-col is set but
14466         end-line is not (Bug#11382).
14468 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
14470         * man.el (Man-unindent): Use text-property-default-nonsticky to
14471         prevent untabify from inheriting face properties (Bug#11408).
14473 2012-05-05  Stefan Merten  <smerten@oekonux.de>
14475         * textmodes/rst.el: Major merge with upstream development up to
14476         Docutils SVN r7399 / rst.el V1.2.1.
14478         Clarify maintainership and authors.
14480         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14481         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14482         (rst-official-version, rst-official-cvs-rev, rst-version)
14483         (rst-package-emacs-version-alist): New functions and variables
14484         for version information.
14486         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14487         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14488         (rst-mode-syntax-table, rst-mode): New and corrected functions
14489         and variables representing reStructuredText features.
14491         (rst-re): New function for reStructuredText regexes.  Use in
14492         many places.
14494         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14495         (rst-mode-map): Rebind keys.
14497         (rst-mode-lazy, rst-font-lock-keywords)
14498         (rst-font-lock-extend-region)
14499         (rst-font-lock-extend-region-internal)
14500         (rst-font-lock-extend-region-extend)
14501         (rst-font-lock-find-unindented-line-limit)
14502         (rst-font-lock-find-unindented-line-match)
14503         (rst-adornment-level, rst-font-lock-adornment-level)
14504         (rst-font-lock-adornment-match)
14505         (rst-font-lock-handle-adornment-pre-match-form)
14506         (rst-font-lock-handle-adornment-matcher): Major revision of
14507         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
14509         (rst-preferred-adornments, rst-adjust-hook)
14510         (rst-new-adornment-down, rst-preferred-bullets)
14511         (rst-preferred-bullets, rst-indent, rst-indent-width)
14512         (rst-indent-field, rst-indent-literal-normal)
14513         (rst-indent-literal-minimized, rst-indent-comment): Change,
14514         extend and improve customization.
14516         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14517         (rst-normalize-cursor-position, rst-get-decoration)
14518         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14519         (rst-rstrip, rst-toc-insert-find-delete-contents)
14520         (rst-shift-fill-region, rst-compute-bullet-tabs)
14521         (rst-debug-print-tabs, rst-debug-mark-found)
14522         (rst-shift-region-guts, rst-shift-region-right)
14523         (rst-shift-region-left, rst-use-char-classes)
14524         (rst-font-lock-keywords-function)
14525         (rst-font-lock-indentation-point)
14526         (rst-font-lock-find-unindented-line-begin)
14527         (rst-font-lock-find-unindented-line-end)
14528         (rst-font-lock-find-unindented-line)
14529         (rst-font-lock-adornment-point, rst-font-lock-level)
14530         (rst-adornment-level-alist): Remove functions and variables.
14532         (rst-compare-adornments, rst-get-adornment-match)
14533         (rst-suggest-new-adornment, rst-get-adornments-around)
14534         (rst-adornment-complete-p, rst-get-next-adornment)
14535         (rst-adjust-adornment, rst-display-adornments-hierarchy)
14536         (rst-straighten-adornments): Standardize function names to
14537         use "adornment" instead of "decoration".  Correct callers.
14538         Similar standardizing in many places.
14540         (rst-update-section, rst-adjust, rst-promote-region)
14541         (rst-enumerate-region, rst-bullet-list-region)
14542         (rst-repeat-last-character): Correct use of `interactive'.
14544         (rst-classify-adornment, rst-find-all-adornments)
14545         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14546         (rst-find-leftmost-column, rst-repeat-last-character):
14547         Refactor functions.
14549         (rst-find-title-line, rst-reset-section-caches)
14550         (rst-get-adornments-around, rst-adjust-adornment-work)
14551         (rst-arabic-to-roman, rst-roman-to-arabic)
14552         (rst-insert-list-pos, rst-insert-list-new-item)
14553         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14554         New functions.
14556         (rst-all-sections, rst-section-hierarchy)
14557         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14558         New variables.
14560         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14561         configuration instead of only buffer.  Change where necessary.
14563         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14564         (rst-shift-region, rst-adaptive-fill): New functions for
14565         indentation and filling.
14567         (rst-comment-line-break, rst-comment-indent)
14568         (rst-comment-insert-comment, rst-comment-region)
14569         (rst-uncomment-region): New functions for handling comments.
14571         (rst-compile): Quote shell arguments.
14573         (rst-compile-pdf-preview, rst-compile-slides-preview):
14574         Delete temporary files after use.
14576 2012-05-05  Glenn Morris  <rgm@gnu.org>
14578         * calendar/cal-html.el: Optionally include holidays in the output.
14579         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14580         (cal-html-holidays): New option.
14581         (cal-html-css-default): Add holiday entry.
14582         (holiday-in-range): Autoload it.
14583         (cal-html-htmlify-entry): Add optional class argument.
14584         (cal-html-htmlify-list): Add optional holidays argument.
14585         (cal-html-insert-agenda-days): Include holidays in the output.
14586         (cal-html-one-month): Maybe include holidays.
14588         * calendar/holidays.el (holiday-in-range):
14589         Move here from cal-tex-list-holidays.
14590         * calendar/cal-tex.el (cal-tex-list-holidays):
14591         Make it an obsolete alias for holiday-in-range.  Update all callers.
14593 2012-05-05  Chong Yidong  <cyd@gnu.org>
14595         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14596         Nextstep.
14598 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
14600         * files.el (file-auto-mode-skip): New var.
14601         (set-auto-mode-1): Use it.
14603 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14605         * repeat.el: Use lexical-binding.
14606         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14607         (repeat-undo-count): Remove.
14608         (repeat):
14609         * progmodes/octave-mod.el (octave-abbrev-start):
14610         * progmodes/f90.el (f90-abbrev-start):
14611         * face-remap.el (text-scale-adjust):
14612         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14614         * emacs-lisp/pcase.el (pcase--let*): New function.
14615         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14616         a bit more.
14617         (pcase--split-pred): Be more clever about ruling out overlap between
14618         a predicate and some constant pattern.
14619         (pcase--q1): Use `null' instead of (eq foo nil).
14621         * subr.el (setq-local, defvar-local): New macros.
14622         (kbd): Redefine as an alias.
14623         (with-selected-window): Leave unrelated frames alone.
14624         (set-temporary-overlay-map): New function.
14626 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14628         * subr.el (user-error): New function.
14629         * window.el (switch-to-buffer):
14630         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14631         (smerge-match-conflict):
14632         * simple.el (previous-matching-history-element)
14633         (next-matching-history-element, goto-history-element, undo-more)
14634         (undo-start):
14635         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14636         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14637         (next-file, tags-loop-scan, list-tags, complete-tag):
14638         * progmodes/compile.el (compilation-loop):
14639         * mouse.el (mouse-minibuffer-check):
14640         * man.el (Man-bgproc-sentinel, Man-goto-page):
14641         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14642         (Info-history-forward, Info-follow-reference, Info-menu)
14643         (Info-extract-menu-item, Info-extract-menu-counting)
14644         (Info-forward-node, Info-backward-node, Info-next-menu-item)
14645         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14646         (Info-next-reference, Info-prev-reference, Info-index)
14647         (Info-index-next, Info-follow-nearest-node)
14648         (Info-copy-current-node-name):
14649         * imenu.el (imenu--make-index-alist)
14650         (imenu-default-create-index-function, imenu-add-to-menubar):
14651         * files.el (basic-save-buffer, recover-file):
14652         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14653         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14654         (checkdoc-message-text, checkdoc-defun):
14655         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14656         * cus-edit.el (customize-changed-options, customize-rogue)
14657         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14658         (custom-variable-mark-to-reset-standard)
14659         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14660         (custom-file):
14661         * completion.el (check-completion-length):
14662         * comint.el (comint-search-arg)
14663         (comint-previous-matching-input-string-position)
14664         (comint-previous-matching-input)
14665         (comint-replace-by-expanded-history-before-point, comint-send-input)
14666         (comint-copy-old-input, comint-backward-matching-input)
14667         (comint-goto-process-mark, comint-set-process-mark):
14668         * calendar/calendar.el (calendar-cursor-to-date): Use it.
14669         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14671 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14673         * dabbrev.el (dabbrev--ignore-case-p): New function.
14674         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14675         Use it.
14677         * files.el (automount-dir-prefix): Mark as obsolete.
14679 2012-05-04  Glenn Morris  <rgm@gnu.org>
14681         * patcomp.el, play/bruce.el: Move to obsolete/.
14683 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
14685         Fix minor Y10k bugs.
14686         * arc-mode.el (archive-unixdate):
14687         * autoinsert.el (auto-insert-alist):
14688         * calc/calc-forms.el (math-this-year):
14689         * emacs-lisp/copyright.el (copyright-current-year)
14690         (copyright-update-year, copyright):
14691         * tar-mode.el (tar-clip-time-string):
14692         * time.el (display-time-update):
14693         Don't assume years have 4 digits.
14695 2012-05-04  Chong Yidong  <cyd@gnu.org>
14697         * dos-w32.el (file-name-buffer-file-type-alist)
14698         (direct-print-region-use-command-dot-com):
14699         * ffap.el (ffap-menu-regexp):
14700         * find-file.el (ff-special-constructs):
14701         * follow.el (follow-debug):
14702         * forms.el (forms--debug):
14703         * iswitchb.el (iswitchb-all-frames):
14704         * ido.el (ido-all-frames):
14705         * emacs-lisp/timer.el (timer-max-repeats):
14706         * mail/feedmail.el (feedmail-mail-send-hook)
14707         (feedmail-mail-send-hook-queued):
14708         * mail/footnote.el (footnote-signature-separator):
14709         * mail/mailabbrev.el (mail-alias-separator-string)
14710         (mail-abbrev-mode-regexp):
14711         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14712         * progmodes/idlwave.el (idlwave-libinfo-file)
14713         (idlwave-default-completion-case-is-down)
14714         (idlwave-library-routines): Convert defvars to defcustoms.
14716         * mail/rmail.el (rmail-decode-mime-charset):
14717         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14718         (idlwave-shell-fix-inserted-breaks)
14719         (idlwave-shell-activate-alt-keybindings)
14720         (idlwave-shell-use-breakpoint-glyph):
14721         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14723 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14725         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14727 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
14729         * progmodes/verilog-mode.el (font-lock-keywords):
14730         Fix mis-highligting auto.  Reported by Craig Barner.
14731         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14732         defines from global name space.  Reported by Dan Dever.
14733         (verilog-auto-reset, verilog-auto-reset-widths)
14734         (verilog-auto-tieoff): Support using unbased numbers for
14735         AUTORESET and AUTOTIEOFF.
14736         (verilog-submit-bug-report): Update variable list.
14737         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14738         parenthesis from not matching.  Reported by Michael Rytting.
14739         (verilog-auto-template-lint): Fix hash error when linting modules
14740         with no used templates.
14741         (verilog-warn, verilog-warn-error)
14742         (verilog-warn-fatal): When non-interactive report multiple
14743         warnings before exiting.  Suggested by Brad Dobbie.
14744         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14745         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14746         to report unused template errors.  Reported by Brad Dobbie.
14747         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14748         nets, bug438.  Reported by Vns Blore.
14749         (verilog-auto-inout-module, verilog-auto-reg)
14750         (verilog-read-decls, verilog-read-sub-decls-sig)
14751         (verilog-signals-edit-wire-reg, verilog-signals-with):
14752         Fix passing of Verilog data types in ANSI input/output ports
14753         such as "output logic" into the AUTOs.  Special case "wire" and
14754         "reg" for backwards compatibility presuming Verilog 2001.
14755         (verilog-auto-ascii-enum): Add "auto enum" as alias.
14756         (verilog-preprocess): Fix replication of preprocess output.
14757         Reported by Brad Dobbie.
14758         (verilog-auto-inst-interfaced-ports):
14759         Create verilog-auto-inst-interfaced-ports, bug429.
14760         Reported by Julian Gorfajn.
14761         (verilog-after-save-font-hook)
14762         (verilog-before-save-font-hook): New variable.
14763         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14764         (verilog-save-font-mods): Wrap disabling fontification, reported
14765         by David Rogoff.
14766         (verilog-do-indent, verilog-pretty-declarations-auto)
14767         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14768         Reported by Pierre-David Pfister.
14769         (verilog-set-auto-endcomments): Fix endtask auto comments outside
14770         of class declarations, bug292.  Reported by Kevin Heilman.
14771         (verilog-read-decls): Fix 'parameter type' not appearing in
14772         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
14773         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14774         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
14775         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14776         Reported by David Kravitz.
14778 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
14780         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14781         assignment with tests in ifs and for loops.
14782         (verilog-extended-complete-re, verilog-complete-reg): Change so
14783         that DPI inport functions don't look like fuction declarations.
14784         (verilog-pretty-expr): Don't line up assignment
14785         operations to the test and increment in if and for loops
14786         (verilog-extended-complete-re, verilog-complete-reg): Change so
14787         that DPI inport functions don't look like fuction declarations.
14789 2012-05-03  Kenichi Handa  <handa@m17n.org>
14791         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14792         decoding, and show a warning message without signaling an error
14793         (Bug#11282).
14795 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14797         * emacs-lisp/bytecomp.el
14798         (byte-compile-file-form-custom-declare-variable): Compile all elements,
14799         since cconv.el might have introduced :fun-body, internal-make-closure,
14800         and friends for bytecomp to handle (bug#11391).
14801         * custom.el (defcustom): Avoid ((λ ..) ..).
14803 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14805         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14807 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
14809         * notifications.el (dbus-debug):
14810         * term/linux.el (gpm-mouse-enable):
14811         * term/screen.el (xterm-register-default-colors): Declare.
14813 2012-05-02  Chong Yidong  <cyd@gnu.org>
14815         * cus-start.el (gc-cons-percentage, exec-suffixes)
14816         (dos-display-scancodes, dos-hyper-key, dos-super-key)
14817         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14818         (make-cursor-line-fully-visible, void-text-area-pointer)
14819         (font-list-limit): Add customization data.
14821         * allout.el (allout-exposure-change-functions)
14822         (allout-structure-added-functions)
14823         (allout-structure-deleted-functions)
14824         (allout-structure-shifted-functions): Rename abnormal hooks from
14825         *-hook, and convert to defcustoms.
14826         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14827         Convert to defcustoms.
14828         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14830         * allout-widgets.el: Hook callers changed.
14832 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
14834         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14835         the yanked message in preference to the default value of
14836         buffer-file-coding-system.
14838 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
14840         * window.el (display-buffer--action-function-custom-type):
14841         Fix entry.
14843 2012-05-02  Alan Mackenzie  <acm@muc.de>
14845         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14847 2012-05-01  Glenn Morris  <rgm@gnu.org>
14849         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14851         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
14853         * cus-edit.el (custom-variable-documentation): Simplify with format.
14855 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14856             Stefan Monnier  <monnier@iro.umontreal.ca>
14858         * simple.el (suggest-key-bindings, execute-extended-command):
14859         Move from keyboard.c.
14861 2012-05-01  Chong Yidong  <cyd@gnu.org>
14863         * follow.el: Eliminate advice.
14864         (set-process-filter, process-filter, sit-for): Advice deleted.
14865         (follow-mode-off-hook): Obsolete hook removed.
14866         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14867         Vars deleted.
14868         (follow-auto): Use a :set function.
14869         (follow-mode): Rewritten.  Don't advise process filters.
14870         (follow-switch-to-current-buffer-all, follow-scroll-up)
14871         (follow-scroll-down): Assume follow-mode is bound.
14872         (follow-comint-scroll-to-bottom)
14873         (follow-align-compilation-windows): New functions.
14874         (follow--window-sorter): New function.
14875         (follow-all-followers): Use it to explicitly sort windows by their
14876         positions; don't make assumptions about next-window order.
14877         (follow-windows-start-end, follow-delete-other-windows-and-split)
14878         (follow-calc-win-start): Doc fix.
14879         (follow-windows-aligned-p, follow-select-if-visible): Don't call
14880         vertical-motion unnecessarily.
14881         (follow-adjust-window): New function.
14882         (follow-post-command-hook): Use it.
14883         (follow-call-set-process-filter, follow-call-process-filter)
14884         (follow-intercept-process-output, follow-tidy-process-filter-alist)
14885         (follow-stop-intercept-process-output, follow-generic-filter):
14886         Functions deleted.
14887         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14888         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14889         New functions, replacing advice on scroll-bar-* commands.
14890         (follow-mwheel-scroll): New function (Bug#4112).
14892         * comint.el (comint-adjust-point): New function.
14893         (comint-postoutput-scroll-to-bottom): Use it.
14894         Call follow-comint-scroll-to-bottom for Follow mode buffers.
14896 2012-05-01  Glenn Morris  <rgm@gnu.org>
14898         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14899         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14900         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14901         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14902         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14903         Remove no-byte-compile setting.
14905 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14907         * minibuffer.el (completion-table-with-quoting): Fix compatibility
14908         all-completions code to not return a number in the last cdr.
14910 2012-04-30  Leo Liu  <sdl.web@gmail.com>
14912         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14913         read-only error.
14915 2012-04-29  Chong Yidong  <cyd@gnu.org>
14917         * follow.el (follow-calc-win-end): Rewrite to handle partial
14918         screen lines correctly (Bug#8390).
14919         (follow-avoid-tail-recenter): Minor cleanup.
14921 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14923         Avoid the obsolete `assoc' package.
14924         * speedbar.el (speedbar-refresh): Avoid adelete.
14925         (speedbar-file-lists): Simplify and avoid aput.
14926         * man.el (Man--sections, Man--refpages): New vars, replacing
14927         Man-sections-alist and Man-refpages-alist.
14928         (Man-build-section-alist, Man-build-references-alist):
14929         Use them; avoid aput.
14930         (Man--last-section, Man--last-refpage): New vars.
14931         (Man-follow-manual-reference): Use them.
14932         Use the `default' arg of completing-read.
14933         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
14935 2012-04-27  Chong Yidong  <cyd@gnu.org>
14937         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14939         * startup.el (x-apply-session-resources): New function.
14941         * term/ns-win.el (ns-initialize-window-system):
14942         * term/w32-win.el (w32-initialize-window-system):
14943         * term/x-win.el (x-initialize-window-system): Use it to properly
14944         set menu-bar-mode and other vars from X resources, even if the
14945         initial frame is not a window-system frame (Bug#2299).
14947         * subr.el (read-key): Avoid running filter function when setting
14948         up temporary tool bar entries (Bug#9922).
14950 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
14952         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14953         (Bug#11344)
14955 2012-04-27  Chong Yidong  <cyd@gnu.org>
14957         * select.el (xselect--encode-string): New function, split from
14958         xselect-convert-to-string.
14959         (xselect-convert-to-string): Use it.
14960         (xselect-convert-to-filename, xselect-convert-to-os)
14961         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14962         returned strings are properly encoded (Bug#11315).
14964 2012-04-27  Chong Yidong  <cyd@gnu.org>
14966         * simple.el (delete-active-region): Move to killing custom group.
14968 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
14970         * progmodes/which-func.el (which-func-current): Quote %
14971         characters for mode-line processing.
14973 2012-04-27  Chong Yidong  <cyd@gnu.org>
14975         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14976         reaching eob (Bug#11286).
14978 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
14980         * progmodes/gdb-mi.el (gdb-control-level): New variable.
14981         (gdb): Make it buffer-local and init to zero.
14982         (gdb-control-commands-regexp): New variable.
14983         (gdb-send): Don't wrap in "-interpreter-exec console" if
14984         gdb-control-level is positive.  Increment gdb-control-level
14985         whenever the command matches gdb-control-commands-regexp, and
14986         decrement it each time the command is "end".  (Bug#11279)
14988 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
14990         * window.el (adjust-window-trailing-edge, enlarge-window)
14991         (shrink-window, window-resize):
14992         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14993         windows (Bug#11276).
14995 2012-04-27  Chong Yidong  <cyd@gnu.org>
14997         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14998         fix "missing prefix" warning.  All callers changed.
15000 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15002         * emacs-lisp/assoc.el: Move to obsolete/.
15004 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15006         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
15008         * term/ns-win.el (ns-define-service):
15009         * progmodes/pascal.el (pascal-goto-defun):
15010         * progmodes/js.el (js--read-tab):
15011         * progmodes/etags.el (tags-lazy-completion-table):
15012         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
15013         * emacs-lisp/ewoc.el (ewoc--wrap):
15014         * emacs-lisp/assoc.el (aput, adelete, amake):
15015         * doc-view.el (doc-view-convert-current-doc):
15016         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
15018 2012-04-26  Chong Yidong  <cyd@gnu.org>
15020         * image.el (image-type-from-buffer): Only return supported image
15021         type (Bug#9045).
15023         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
15024         value, for symmetry with diff-end-of-hunk.
15025         (diff-split-hunk, diff-find-source-location)
15026         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
15027         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
15028         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
15029         compute the relevant hunk or file properly (Bug#6005).
15030         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
15032 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15034         * vc/vc-mtn.el:
15035         * vc/vc-hg.el:
15036         * vc/vc-git.el:
15037         * vc/vc-dir.el:
15038         * vc/vc-cvs.el:
15039         * vc/vc-bzr.el:
15040         * vc/vc-arch.el:
15041         * vc/vc.el: Replace lexical-let by lexical-binding.
15042         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
15043         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
15044         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
15046 2012-04-26  Chong Yidong  <cyd@gnu.org>
15048         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
15049         (diff-mode-shared-map): Bind it to / and [remap undo].
15051         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
15052         (ediff-window-setup-function): Use it as the default, to set up
15053         windows based on whether the current frame is graphical (Bug#2138).
15054         (ediff-choose-window-setup-function-automatically): Make obsolete.
15056         * vc/ediff-init.el: Always define ediff-pixel-width/height.
15058 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15060         * ffap.el: Remove old code for obsolete package.
15061         (ffap-complete-as-file-p): Remove.
15063         Use completion-table-with-quoting for comint and pcomplete.
15064         * comint.el (comint--unquote&requote-argument)
15065         (comint--unquote-argument, comint--requote-argument): New functions.
15066         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
15067         (comint-quote-filename): Use regexp-opt-charset.
15068         (comint--common-suffix, comint--common-quoted-suffix)
15069         (comint--table-subvert): Remove.
15070         (comint-unquote-function, comint-requote-function): New vars.
15071         (comint--complete-file-name-data): Use them with
15072         completion-table-with-quoting.
15073         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
15074         * pcomplete.el (pcomplete-arg-quote-list)
15075         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
15076         (pcomplete-unquote-argument-function): Default to non-nil.
15077         (pcomplete-unquote-argument): Simplify.
15078         (pcomplete--common-quoted-suffix): Remove.
15079         (pcomplete-requote-argument-function): New var.
15080         (pcomplete--common-suffix): New function.
15081         (pcomplete-completions-at-point): Use completion-table-with-quoting
15082         and completion-table-subvert.
15084         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
15085         (minibuffer--double-dollars): Preserve properties.
15086         (completion--sifn-requote): New function.
15087         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
15089         * minibuffer.el: Add support for completion of quoted/escaped data.
15090         (completion-table-with-quoting, completion-table-subvert): New funs.
15091         (completion--twq-try, completion--twq-all): New functions.
15092         (completion--nth-completion): New function.
15093         (completion-try-completion, completion-all-completions): Use it.
15095 2012-04-25  Leo Liu  <sdl.web@gmail.com>
15097         * progmodes/python.el (python-pdbtrack-get-source-buffer):
15098         Use compilation-message if available to find real filename.
15100 2012-04-25  Chong Yidong  <cyd@gnu.org>
15102         * vc/diff-mode.el (diff-setup-whitespace): New function.
15103         (diff-mode): Use it.
15105         * vc/diff.el (diff-sentinel):
15106         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
15107         Whitespace mode variables based on diff style (Bug#8612).
15109 2012-04-25  Leo Liu  <sdl.web@gmail.com>
15111         * progmodes/python.el (python-send-region): Add suffix .py to the
15112         temp file.
15114         * files.el (auto-mode-alist): Use javascript-mode instead.
15116 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
15118         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
15120         * net/soap-client.el (soap-resolve-references-for-sequence-type)
15121         (soap-resolve-references-for-array-type): Hack to prevent self
15122         references, see Bug#9.
15123         (soap-parse-envelope): Report the contents of the 'detail' node
15124         when receiving a fault reply.
15125         (soap-parse-envelope): Report the contents of the entire 'detail' node.
15127         * net/soap-inspect.el (soap-sample-value-for-simple-type)
15128         (soap-inspect-simple-type): New function.
15130         * net/soap-client.el (soap-simple-type): New struct.
15131         (soap-default-xsd-types, soap-default-soapenc-types)
15132         (soap-decode-basic-type, soap-encode-basic-type):
15133         support unsignedInt and double basic types.
15134         (soap-resolve-references-for-simple-type)
15135         (soap-parse-simple-type, soap-encode-simple-type): New function.
15136         (soap-parse-schema): Parse xsd:simpleType declarations.
15138         * net/soap-client.el (soap-default-xsd-types)
15139         (soap-default-soapenc-types): Add integer, byte and anyURI types.
15140         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
15141         the local name of "soapenc:Array".
15142         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
15143         decoding integer, byte and anyURI xsd types.
15145 2012-04-25  Chong Yidong  <cyd@gnu.org>
15147         * cus-edit.el (custom-buffer-create-internal): Update header text.
15149 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
15151         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
15152         settings on 'system-type', not on 'window-system'.  On MS-Windows,
15153         set interactive-mode on in GDB.
15155 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15157         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
15158         (ruby-syntax-propertize-regexp): Remove.
15159         (ruby-syntax-propertize-function): Split regexp into chunks.
15160         Match following code directly.
15162 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
15164         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
15165         (ruby-syntax-propertize-regexp): New function.
15166         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
15167         by a special keyword.
15169         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
15170         (ruby-syntax-general-delimiters-goto-beg)
15171         (ruby-syntax-propertize-general-delimiters): New functions.
15172         (ruby-syntax-propertize-function): Use them to handle GDL.
15173         (ruby-font-lock-keywords): Move old handling of GDL...
15174         (ruby-font-lock-syntactic-keywords): .. to here.
15175         (ruby-calculate-indent): Adjust indentation for GDL.
15177 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
15179         * notifications.el (top): Remove unneeded declarations.
15180         (notifications-specification-version): Change to "1.2".
15181         (notifications-interface, notifications-notify-method)
15182         (notifications-close-notification-method): Fix docstring.
15183         (notifications-get-capabilities-method): New defconst.
15184         (notifications-notify): Add :action-items, :resident and
15185         :transient hints.  Change "image_data" to "image-data" and
15186         "image_path" to "image-path".
15187         (notifications-get-capabilities): New defun.
15189 2012-04-24  Leo Liu  <sdl.web@gmail.com>
15191         * progmodes/python.el: Move hideshow setup to the end.
15193 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
15195         * window.el (handle-select-window): Clear echo area since this is
15196         no more done by read_char (Bug#11304).
15198 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15200         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
15201         and `/ M' to filter-derived-mode.
15202         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
15203         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
15204         (ibuffer-mark-by-mode): Use default rather than initial-input.
15205         (ibuffer-filter-by-derived-mode): Autoload and require-match.
15207 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
15209         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
15210         (ibuffer-filter-by-derived-mode): New filter.
15211         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
15213 2012-04-23  Andreas Politz  <politza@fh-trier.de>
15215         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
15217 2012-04-23  Chong Yidong  <cyd@gnu.org>
15219         * cus-edit.el (customize-apropos, customize-apropos-options):
15220         Disable matching of non-option variables (Bug#11176).
15221         (customize-option, customize-option-other-window)
15222         (customize-changed-options): Doc fix.
15223         (customize-apropos-options, customize-apropos-faces)
15224         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
15226         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
15227         Fix word list splitting (Bug#11132).
15228         (apropos-symbol, apropos-keybinding, apropos-label)
15229         (apropos-property, apropos-function-button)
15230         (apropos-variable-button, apropos-misc-button): New faces.
15231         (apropos-symbol-face, apropos-keybinding-face)
15232         (apropos-label-face, apropos-property-face, apropos-match-face):
15233         Variables removed (Bug#8396).
15234         (apropos-library-button, apropos-format-plist, apropos-print)
15235         (apropos-print-doc, apropos-describe-plist): Callers changed.
15237 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
15239         * net/xesam.el (xesam-mode-map): Use let-bound map in
15240         initialization.  (Bug#11292)
15242 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15244         Preserve ispell session localwords when switching back to
15245         original buffer.
15247         * textmodes/ispell.el (ispell-buffer-session-localwords):
15248         New buffer-local variable to hold buffer session localwords.
15249         (ispell-kill-ispell): Add option 'clear to delete session
15250         localwords.
15251         (ispell-command-loop, ispell-change-dictionary)
15252         (ispell-buffer-local-words): Preserve session localwords when
15253         needed.
15255         * textmodes/flyspell.el (flyspell-process-localwords)
15256         (flyspell-do-correct): Preserve session localwords when needed.
15258 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15260         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
15261         using obsolete `translation-table-for-input'.
15262         (ispell-word, ispell-process-line, ispell-complete-word):
15263         Use plain `insert' instead of removed `ispell-insert-word'.
15265 2012-04-22  Chong Yidong  <cyd@gnu.org>
15267         * cus-edit.el (custom-variable-menu)
15268         (custom-variable-reset-saved, custom-face-menu)
15269         (custom-face-reset-saved): If there is no saved value, make the
15270         "reset-saved" operation bring back the default (Bug#9509).
15271         (custom-face-state): Properly detect themed faces.
15273         * faces.el (face-spec-set): Stop supporting deprecated form of
15274         third arg.
15276 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
15278         Move functions from C to Lisp.  Make non-blocking method calls
15279         the default.  Implement further D-Bus standard interfaces.
15281         * net/dbus.el (dbus-message-internal): Declare function.
15282         Remove unneeded function declarations.
15283         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
15284         (dbus-message-type-method-return, dbus-message-type-error)
15285         (dbus-message-type-signal): Declare variables.  Remove local
15286         definitions.
15287         (dbus-interface-dbus, dbus-interface-peer)
15288         (dbus-interface-introspectable, dbus-interface-properties)
15289         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
15290         Adapt docstring.
15291         (dbus-interface-objectmanager): New defconst.
15292         (dbus-call-method, dbus-call-method-asynchronously)
15293         (dbus-send-signal, dbus-method-return-internal)
15294         (dbus-method-error-internal, dbus-register-service)
15295         (dbus-register-signal, dbus-register-method): New defuns, moved
15296         from dbusbind.c
15297         (dbus-call-method-handler, dbus-setenv)
15298         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
15299         New defuns.
15300         (dbus-call-method-non-blocking): Make it an obsolete function.
15301         (dbus-unregister-object, dbus-unregister-service)
15302         (dbus-handle-event, dbus-register-property)
15303         (dbus-property-handler): Obey the new structure of
15304         `bus-registered-objects'.
15305         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
15306         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15307         Use `dbus-call-method'.
15309 2012-04-22  Chong Yidong  <cyd@gnu.org>
15311         * cus-edit.el (custom-commands, custom-reset-menu)
15312         (Custom-reset-standard): Tweak labels.
15313         (custom-reset-button-menu): Change default to t.
15314         (custom-buffer-create-internal): For the custom-reset-button-menu
15315         case, put the revert button first.
15316         (custom-group-subtitle): New face.
15317         (custom-group-value-create): Align docstring to a specific column.
15319         * wid-edit.el (widget-documentation-link-add): Don't handle
15320         indentation in this function.
15321         (widget-documentation-string-indent-to): New function.
15322         (widget-documentation-string-value-create): Use it.
15324         * autorevert.el (auto-revert):
15325         * epg-config.el (epg):
15326         * ibuffer.el (ibuffer):
15327         * mpc.el (mpc):
15328         * ses.el (ses):
15329         * eshell/eshell.el (eshell):
15330         * net/ange-ftp.el (ange-ftp):
15331         * progmodes/ebnf2ps.el (postscript):
15332         * progmodes/flymake.el (flymake):
15333         * progmodes/prolog.el (prolog):
15334         * progmodes/verilog-mode.el (verilog-mode):
15335         * progmodes/which-func.el (which-func):
15336         * term/xterm.el (xterm):
15337         * textmodes/picture.el (picture):
15338         * textmodes/tildify.el (tildify):
15339         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
15340         customization buffers.
15342 2012-04-22  Alan Mackenzie  <acm@muc.de>
15344         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
15345         Adding a ) can hide the resulting (..) from searches.  Fix it.
15346         Bound the backward search to the position of the existing (.
15348 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
15350         * progmodes/verilog-mode.el (verilog-mode): Check whether
15351         which-func-modes is t before adding verilog-mode.
15352         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
15354 2012-04-21  Leo Liu  <sdl.web@gmail.com>
15356         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
15358 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
15360         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
15361         filling of the last column of a table (Bug#5635).
15362         (woman-find-next-control-line): New arg, specifying an additional
15363         regexp component for the control line.
15364         (woman2-roff-buffer): Use it.
15365         (woman-break-table): New function.
15366         (woman2-TS): Use it.
15368 2012-04-21  Chong Yidong  <cyd@gnu.org>
15370         * woman.el (woman-set-buffer-display-table, woman-decode-region)
15371         (woman-horizontal-escapes, woman-negative-vertical-space)
15372         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
15373         (WoMan-warn-ignored): Use ?\s instead of ?\ .
15375 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15377         * minibuffer.el (completion-file-name-table): Complete user names.
15379 2012-04-20  Leo Liu  <sdl.web@gmail.com>
15381         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
15382         and pcase-let*.
15384 2012-04-20  Chong Yidong  <cyd@gnu.org>
15386         * server.el (server-execute): Respect initial-buffer-choice if it
15387         is a string and there are no files to open (Bug#2825).
15388         (server-create-window-system-frame, server-create-tty-frame):
15389         Don't switch buffers here.
15390         (server-process-filter): Only try to open a window system frame if
15391         compiled with graphical support (Bug#8314).
15393 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
15395         * battery.el (battery-echo-area-format): Display remaining time
15396         for sysfs backend too (Bug#11269).
15397         (battery-linux-sysfs): Fix conditional for the charge.
15399 2012-04-20  Chong Yidong  <cyd@gnu.org>
15401         * progmodes/gdb-mi.el (gdb): Revert previous change.
15402         (gdb-inferior-io--init-proc): New function.
15403         (gdb-init-1): Use it.
15404         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
15405         responsible for allocating a new pty and hooking it to gdb when
15406         the old pty gets an EIO due to process exit.
15407         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
15408         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
15409         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
15411 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
15413         * window.el (window-min-size, window-sizable, window-min-delta)
15414         (window-max-delta, window--resizable, window-resizable)
15415         (window-total-size, window-full-height-p, window-full-width-p)
15416         (window-in-direction, window--resize-mini-window, window-resize)
15417         (window--resize-child-windows-normal)
15418         (window--resize-child-windows, window--resize-siblings)
15419         (window--resize-this-window, adjust-window-trailing-edge)
15420         (enlarge-window, shrink-window): Doc fixes.
15422 2012-04-20  Chong Yidong  <cyd@gnu.org>
15424         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
15425         New function to call delete-process on the gdb-inferior buffer's pty.
15426         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
15427         pty process (Bug#11273).
15428         (gdb-update): New arg to suppress talking to the gdb process.
15429         (gdb-done-or-error): Use it.
15430         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15431         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15432         sentinel not being called.
15434         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15436         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15438 2012-04-20  Glenn Morris  <rgm@gnu.org>
15440         * net/network-stream.el (open-network-stream): Doc fix.
15442 2012-04-20  Chong Yidong  <cyd@gnu.org>
15444         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15446 2012-04-20  Alan Mackenzie  <acm@muc.de>
15448         Ensure searching for keywords is case sensitive.
15450         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15451         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15452         (c-defun-name, c-mark-function, c-cpp-define-name)
15453         (c-comment-indent, c-scan-conditionals, c-indent-defun)
15454         (c-context-line-break): Bind case-fold-search to nil.
15456         * progmodes/cc-mode.el (c-font-lock-fontify-region):
15457         Bind case-fold-search to nil.
15459 2012-04-20  Chong Yidong  <cyd@gnu.org>
15461         * mail/sendmail.el (mail-bury): Call return action with the right
15462         Rmail buffer (Bug#11242).
15464         * server.el (server-process-filter): Handle corner case where both
15465         tty and nowait options are present (Bug#11102).
15467 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
15469         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15470         (top level): Put into the executable the ident-style '$Id:' tag on
15471         windows-nt as well.
15473 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15475         * electric.el (electric-indent-post-self-insert-function): Check that
15476         electric-indent-mode is enabled in current buffer.
15478 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
15480         * imenu.el (imenu-progress-message): Restore; it is "used" in
15481         erc/erc-imenu.el and net/snmp-mode.el.
15483 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
15485         * avoid.el (mouse-avoidance-mode): Mark unused arg.
15486         (mouse-avoidance-nudge-mouse): Remove unused binding.
15488         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15490         * descr-text.el (describe-char):
15491         * progmodes/python.el (python-describe-symbol):
15492         Don't call `toggle-read-only', set `buffer-read-only'.
15494         * imenu.el (imenu-default-goto-function): Mark unused args.
15495         (imenu-progress-message): Remove obsolete macro; all callers changed.
15497         * subr.el (keymap-canonicalize): Remove unused binding.
15498         (read-passwd): Mark unused arg.
15500         * tutorial.el (tutorial--display-changes): Remove unused binding.
15501         (tutorial--save-tutorial-to): Remove unused variable.
15503         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15504         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15505         (package-generate-autoloads, package-menu--generate)
15506         (package-menu--find-upgrades): Remove unused bindings.
15508         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15509         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
15510         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15511         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15512         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15513         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15514         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15515         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15516         (cua-delete-char-rectangle): Mark unused args.
15517         (cua-align-rectangle): Remove unused binding.
15519         * mail/rmail.el (compilation--message->loc)
15520         (epa--find-coding-system-for-mime-charset): Declare.
15522         * net/dbus.el (dbus-register-service): Declare.
15523         (dbus-name-owner-changed-handler): Remove unused binding.
15525         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15526         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15527         (nxml-scan-backward-within): Mark unused arg.
15528         (nxml-dynamic-markup-word): Remove unused binding.
15530         * mouse.el (mouse-menu-major-mode-map):
15531         * emacs-lisp/authors.el (authors-scan-change-log)
15532         (authors-add-to-author-list):
15533         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15534         * emacs-lisp/smie.el (smie-auto-fill):
15535         * mail/sendmail.el (mail-bury):
15536         * mail/unrmail.el (unrmail):
15537         * net/tls.el (open-tls-stream):
15538         * textmodes/picture.el (picture-mouse-set-point):
15539         Remove unused bindings.
15541 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
15543         * net/tramp.el (tramp-action-password): Let-bind
15544         `enable-recursive-minibuffers' to t.
15546 2012-04-18  Sam Steingold  <sds@gnu.org>
15548         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15549         instead of 'string to accommodate values like [f11].
15550         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15551         * progmodes/gdb-mi.el: Likewise.
15553 2012-04-18  Leo Liu  <sdl.web@gmail.com>
15555         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15556         current buffer.
15557         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15558         LOCAL is nil.
15560 2012-04-18  Chong Yidong  <cyd@gnu.org>
15562         * simple.el (line-move): Use forward-line if in batch mode
15563         (Bug#11053).
15565 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
15567         * files.el (after-find-file): Do not try to add a final newline if
15568         the buffer is read-only (Bug#11156).
15570 2012-04-17  Richard Stallman  <rms@gnu.org>
15572         * mail/rmail.el (rmail-start-mail):
15573         Pass (rmail-mail-return...) for the return-action.
15574         Pass (rmail-yank-current-message...) for the yank-action.
15575         (rmail-yank-current-message): New function.
15576         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15577         (rmail-reply): Likewise.
15578         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15580         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15581         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
15582         buffer, not newbuf.
15584 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
15586         * server.el (server-ensure-safe-dir): Simplify.
15588 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15590         * emacs-lisp/smie.el: Provide smarter auto-filling.
15591         (smie-auto-fill): New function.
15592         (smie-setup): Use it.
15594         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15596 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
15598         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15599         (comment-indent): Use it.
15601 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15603         * ses.el: The overall change is to add cell renaming, that is
15604         setting fancy names for cell symbols other than name matching
15605         "\\`[A-Z]+[0-9]+\\'" regexp .
15606         (ses-localvars): Add ses--renamed-cell-symb-list.
15607         (ses-create-cell-variable): New defun.
15608         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15609         (ses-relocate-formula): Relocate formulas only for cells the
15610         symbols of which are not renamed, i.e. symbols whose names do not
15611         match regexp "\\`[A-Z]+[0-9]+\\'".
15612         (ses-relocate-all): Relocate values only for cells the symbols of
15613         which are not renamed.
15614         (ses-load): Create cells variables as the (ses-cell ...) are read,
15615         in order to check row col consistency with cell symbol name only
15616         for cells that are not renamed.
15617         (ses-replace-name-in-formula): New defun.
15618         (ses-rename-cell): New defun.
15620 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
15622         * progmodes/perl-mode.el (perl-indent-parens-as-block):
15623         New option (bug#11118).
15624         (perl-calculate-indent): Respect it.
15626 2012-04-17  Glenn Morris  <rgm@gnu.org>
15628         * dired-aux.el (dired-mark-read-string): Doc fix.
15630 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
15632         * dired-aux.el (dired-mark-read-string): Offer optional completion.
15633         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
15635 2012-04-17  Glenn Morris  <rgm@gnu.org>
15637         * mouse.el (mouse-drag-track):
15638         * speedbar.el (speedbar-frame-mode):
15639         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15641 2012-04-16  Leo Liu  <sdl.web@gmail.com>
15643         * progmodes/python.el: Trivial cleanup.
15645 2012-04-16  Glenn Morris  <rgm@gnu.org>
15647         * vc/vc.el (vc-string-prefix-p):
15648         * vc/pcvs-util.el (cvs-string-prefix-p):
15649         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15650         * mpc.el (mpc-string-prefix-p):
15651         Make all of these into obsolete aliases for string-prefix-p.
15652         Update callers.
15653         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15655         * textmodes/two-column.el: Move custom options to the start.
15656         (frame-width): Remove compat definition.
15657         (2C-associate-buffer, 2C-dissociate):
15658         Use with-current-buffer rather than save-excursion.
15659         (2C-dissociate): Force a mode-line update.
15660         (2C-autoscroll): Use ignore-errors.
15662         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15663         Autoload trivia.
15665         * emacs-lisp/cl-extra.el (*random-state*):
15666         Remove unnecessary declaration.
15668         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15670         * play/cookie1.el (cookie-snarf):
15671         Give an explicit error if input file cannot be read.
15673         * play/yow.el (yow-file): Use expand-file-name rather than concat.
15675         * progmodes/perl-mode.el (c-macro-expand):
15676         Remove unnecessary autoload (it is in loaddefs.el).
15678         * textmodes/picture.el (picture-desired-column)
15679         (picture-update-desired-column): Convert comments to doc-strings.
15680         (picture-substitute): Remove function.
15681         (picture-mode-map): Initialize in the defvar.
15683         * woman.el: Remove eval-after-load for tar-mode.
15684         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15685         (woman-tar-extract-file): Autoload it.
15687         * frame.el (automatic-hscrolling): Make this alias obsolete.
15689 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15691         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15692         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15693         (ispell-dictionary-base-alist): Revert to original XEmacs
15694         friendly version for default.  [:alpha:] will be added in
15695         `ispell-set-spellchecker-params' if needed.
15697 2012-04-16  Chong Yidong  <cyd@gnu.org>
15699         * image.el (imagemagick--file-regexp): New variable.
15700         (imagemagick-register-types): Use it.
15701         (imagemagick-types-inhibit): Add :set function.  Allow new value
15702         of t to inhibit all types.
15704         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15705         so we can preload it.
15707         * loadup.el (fboundp): Preload regexp-opt, needed by
15708         imagemagick-register-types.
15710 2012-04-15  Chong Yidong  <cyd@gnu.org>
15712         * frame.el (scrolling): Remove nearly unused customization group.
15714         * scroll-all.el (scroll-all-mode): Move to windows group.
15716 2012-04-15  Chong Yidong  <cyd@gnu.org>
15718         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15720 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15722         Avoid the use of ((lambda ...) ...) in lexical-binding code.
15723         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15725 2012-04-15  Glenn Morris  <rgm@gnu.org>
15727         * simple.el (process-file-side-effects): Doc fix.
15729 2012-04-15  Glenn Morris  <rgm@gnu.org>
15731         * international/mule-cmds.el (set-language-environment): Doc fix.
15733 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
15735         * server.el (server-auth-key, server-generate-key): Doc fixes.
15736         (server-get-auth-key): Doc fix.  Use `string-match-p'.
15737         (server-start): Reflow docstring.
15739 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
15741         * server.el (server-generate-key): `called-interactively-p'
15742         requires a parameter.
15744 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
15746         * server.el (server-auth-key): New variable.
15747         (server-generate-key, server-get-auth-key): New function.
15748         (server-start): Use the new variable and functions to allow
15749         setting a permanent server key (bug#9423).
15751 2012-04-14  Leo Liu  <sdl.web@gmail.com>
15753         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15755 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
15757         Spelling fixes.
15758         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15759         Emacs uses American spelling.
15761 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
15763         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15764         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
15765         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15766         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
15768 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15770         * progmodes/which-func.el (which-func-modes): Change default.
15772 2012-04-14  Kim F. Storm  <storm@cua.dk>
15774         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15775         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15777 2012-04-14  Chong Yidong  <cyd@gnu.org>
15779         * custom.el (custom-theme-set-variables): Doc fix.
15781 2012-04-14  Glenn Morris  <rgm@gnu.org>
15783         * international/mule.el (set-auto-coding-for-load): Doc fix.
15785 2012-04-14  Alan Mackenzie  <acm@muc.de>
15787         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15788         imenu work again for Objective C Mode.  Correct the *-index values,
15789         these having been disturbed by a previous change in 2011-08.
15791         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15792         Correct two search limits.
15794 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15796         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15798 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
15800         * international/characters.el: Fix sorting.
15802 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
15804         * international/characters.el: Add more missing Latin case pairs.
15806 2012-04-14  Glenn Morris  <rgm@gnu.org>
15808         * files.el (dir-locals-set-class-variables): Doc fix.
15810 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
15812         * international/characters.el: Add set-case-syntax-pair call for
15813         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15814         counterpart.  (Bug#11209)
15816         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
15818 2012-04-14  Glenn Morris  <rgm@gnu.org>
15820         * calendar/holidays.el (calendar-check-holidays): Doc fix.
15822 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
15824         * textmodes/ispell.el (ispell-dictionary-base-alist):
15825         Add data for Hebrew.
15827 2012-04-14  Chong Yidong  <cyd@gnu.org>
15829         * net/rcirc.el (rcirc-cmd-quit):
15830         Revert 2012-03-18 change (Bug#11192).
15832 2012-04-14  Glenn Morris  <rgm@gnu.org>
15834         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15836 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
15838         * minibuffer.el (completion-in-region-mode-map):
15839         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
15841 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
15843         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15845 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
15847         * minibuffer.el (minibuffer-local-filename-syntax): New variable
15848         to allow `C-M-f' and `C-M-b' to move to the nearest path
15849         separator (bug#9511).
15851 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
15853         * avoid.el: Require cl when compiling.  And also move the
15854         `provide' to the end.
15856 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15858         * avoid.el (mouse-avoidance-banish-position): New variable.
15859         (mouse-avoidance-banish-destination): Use it (bug#10165).
15861 2012-04-13  Leo Liu  <sdl.web@gmail.com>
15863         * progmodes/which-func.el (which-func-modes): Add objc-mode.
15865 2012-04-13  Ken Brown  <kbrown@cornell.edu>
15867         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15868         this is no longer needed now that cygstart understands file:// URLs.
15869         (browse-url-filename-alist): For the same reason, don't modify
15870         file:// URLs on Cygwin.
15872 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15874         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15875         the region on shift if the binding is already shifted (bug#11221).
15877 2012-04-12  Glenn Morris  <rgm@gnu.org>
15879         * mail/mailpost.el: Move to obsolete/.
15881 2012-04-12  Drew Adams  <drew.adams@oracle.com>
15883         * imenu.el (imenu--generic-function): Ignore invisible definitions
15884         (bug#10123).
15886 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
15888         * hexl.el (hexl-bits): New variable.
15889         (hexl-options): Mention the variable in the doc string.
15890         (hexl-rulerise, hexl-line-displen): New functions.
15891         (hexl-mode): Mention the new variable.
15892         (hexl-mode, hexl-current-address, hexl-current-address):
15893         Use the displen.
15894         (hexl-ascii-start-column): New function.
15895         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15896         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15898 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
15900         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15901         '("-i" ENCODING), in 2 separate command-line arguments, to specify
15902         the encoding, as expected by hunspell.
15904 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15906         * battery.el (battery--linux-sysfs-regexp): New const.
15907         (battery-status-function): Use it.  Remove yeeloong special case.
15908         (battery-yeeloong-sysfs): Remove.
15909         (battery-echo-area-format): Remove yeeloong special case.
15911 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15913         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15914         Reported by Noah Friedman.
15916         * subr.el (read-passwd): Use read-string.
15918 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15920         * vcursor.el (vcursor-move): Increase the priority of the overlay
15921         (bug#9663).
15923 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
15925         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15926         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15928 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
15930         * textmodes/artist.el (artist-mode): Convert artist-mode to use
15931         define-minor-mode (bug#10760).
15933 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
15935         * progmodes/grep.el (rgrep): Tweak the find command line so
15936         that directories matching `grep-find-ignored-files' won't be
15937         pruned (bug#10351).
15939 2012-04-11  Chong Yidong  <cyd@gnu.org>
15941         * startup.el (command-line): Remove support for long-obsolete
15942         variable font-lock-face-attributes.
15944 2012-04-11  Glenn Morris  <rgm@gnu.org>
15946         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15948 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15950         * window.el (window--state-get-1): Obey window-point-insertion-type.
15952 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
15954         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15955         to previous function when point is on the first character of a
15956         function.  Take care of that in `narrow-to-defun' (bug#6157).
15958 2012-04-11  Glenn Morris  <rgm@gnu.org>
15960         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15961         not just file-errors.
15963         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15964         (vc-bzr-sha1): Use internal sha1.
15966 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15968         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15970 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
15972         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15973         that start in the middle of the line (bug#10496).
15975 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
15977         * battery.el (battery-linux-proc-acpi): Only one battery is
15978         discharged at a time, but that seems to confuse battery.el when
15979         computing `rate-type' for the battery not being discharged
15980         (bug#10332).
15982 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15984         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15986         * international/quail.el: Use dolist and simplify.
15987         (quail-define-package, quail-update-keyboard-layout)
15988         (quail-define-rules): Use dolist.
15989         (quail-insert-kbd-layout, quail-get-translation): CSE.
15991         * tmm.el: Use dolist, remove left over hook.
15992         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15993         Use dolist.
15994         (calendar-load-hook): Don't mess with it.
15996         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15997         Use derived-mode-p.  Run the diff asynchronously.
15999 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16001         * obsolete/mouse-sel.el: Add an Obsolete-since header.
16003 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
16005         * misc.el: Display absolute path of loaded DLLs (bug#10424).
16006         (list-dynamic-libraries--loaded): New function.
16007         (list-dynamic-libraries--refresh): Use it.
16009 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
16011         * progmodes/python.el (python-fill-paragraph):
16012         Make python-fill-region in a multiline string work when font-lock is
16013         disabled (bug#7018).
16015 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
16017         * language/european.el (cp775): Add oem/legacy (en)coding on
16018         DOS/MS Windows for the Baltic languages.  There are still plenty
16019         of texts written in this encoding/codepage (bug#6519).
16021 2012-04-10  Glenn Morris  <rgm@gnu.org>
16023         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
16024         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
16026 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
16028         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
16029         next-line "n" and previous-line "p" in order to make recentf more
16030         consistent with ibuffer, dired or org-mode (bug#9387).
16032 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16034         * image.el (put-image): Return the overlay created instead of the
16035         optional input string (bug#7834).  Note that this may break code
16036         that is (for some reason or other) depending on `put-image'
16037         returning the string.
16039         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
16041         * simple.el (zap-to-char): Allow zapping using input methods
16042         (bug#1580).
16044         * textmodes/fill.el (fill-region): Leave point and mark where they
16045         were before filling (bug#5399).
16047 2012-04-09  Glenn Morris  <rgm@gnu.org>
16049         * version.el (emacs-bzr-get-version):
16050         Handle lightweight checkouts of local branches.
16052 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
16054         * international/characters.el: Recover lost case pairs.  (Bug#11209)
16056 2012-04-09  Chong Yidong  <cyd@gnu.org>
16058         * custom.el (custom-variable-p): Return nil for non-symbol
16059         arguments instead of signaling an error.
16060         (user-variable-p): Obsolete alias for custom-variable-p.
16062         * apropos.el (apropos-variable):
16063         * files-x.el (read-file-local-variable):
16064         * simple.el (set-variable):
16065         * woman.el (woman-mini-help):
16066         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
16068 2012-04-09  Glenn Morris  <rgm@gnu.org>
16070         * startup.el (normal-top-level): Don't look for leim-list.el
16071         in places where it will not be found.  (Bug#910)
16073         * international/mule-cmds.el (set-default-coding-systems):
16074         * files.el (normal-mode):
16075         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
16076         This function was removed with ucs-tables.el in 2008.
16078 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
16080         * textmodes/ispell.el (ispell-check-version): For hunspell, set
16081         ispell-encoding8-command to "-i", without a trailing space.
16082         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
16083         separate command-line arguments, to specify the encoding, since
16084         that's how hunspell expects it.
16086 2012-04-08  Glenn Morris  <rgm@gnu.org>
16088         * loadup.el: Load bindings before cus-start.
16089         This reduces somewhat the number of "rogue" settings in emacs -Q.
16091 2012-04-07  Glenn Morris  <rgm@gnu.org>
16093         * version.el (emacs-bzr-get-version): New function.
16094         (emacs-bzr-version): New variable.
16095         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
16096         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
16098 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
16100         * international/uni-bidi.el, international/uni-category.el:
16101         * international/uni-combining.el, international/uni-decimal.el:
16102         * international/uni-decomposition.el, international/uni-digit.el:
16103         * international/uni-lowercase.el, international/uni-mirrored.el:
16104         * international/uni-name.el, international/uni-numeric.el:
16105         * international/uni-titlecase.el, international/uni-uppercase.el:
16106         Update for Unicode 6.1.
16108 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
16110         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
16112 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16114         * window.el (shrink-window): Mention the `window-min-height'
16115         variable in the doc string.
16117 2012-04-05  Bastien Guerry  <bzg@altern.org>
16119         * color.el (color-lighten-name): Fix typo.
16121 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16123         * server.el (server--on-display-p): New function.
16124         (server--on-display-p): Use it.
16126 2012-04-04  Gábor Vida  <vidagabor@gmail.com>  (tiny change)
16128         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
16129         (bug#11145).
16131 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16133         * comint.el (comint--common-quoted-suffix): Check string boundary
16134         before comparing (bug#11158).
16135         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
16137 2012-04-04  Chong Yidong  <cyd@gnu.org>
16139         * minibuffer.el (completion-extra-properties): Doc fix.
16141         * subr.el (delayed-warnings-hook): Doc fix.
16143 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
16145         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
16146         selection (Bug#11159).
16147         (epa-insert-keys): Inform that the default public key will be
16148         exported if no key is selected.
16150 2012-04-04  Richard Stallman  <rms@gnu.org>
16152         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
16154 2012-04-03  Chong Yidong  <cyd@gnu.org>
16156         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
16157         mail-insert-file, not its obsolete alias mail-attach-file.
16159 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
16161         * notifications.el (notifications-notify): Fix docstring.
16163 2012-04-02  Glenn Morris  <rgm@gnu.org>
16165         * emacs-lisp/authors.el (authors-aliases): Another addition.
16167 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
16169         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
16170         `tramp-compat-call-process' instead of `tramp-local-call-process'.
16171         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
16173 2012-04-01  Chong Yidong  <cyd@gnu.org>
16175         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
16176         Handle root directory properly.
16177         (copy-directory): Caller changed.
16179         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16180         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
16182 2012-03-31  Glenn Morris  <rgm@gnu.org>
16184         * term/xterm.el (xterm-extra-capabilities): Doc fix.
16186         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
16188         * calendar/calendar.el (calendar-window-list)
16189         (calendar-hide-window): Restore.  (Bug#11140)
16190         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
16192         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
16194 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16196         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
16197         Check if file is a symlink (Bug#10489).
16199         * files.el (copy-directory): Likewise.
16201 2012-03-30  Chong Yidong  <cyd@gnu.org>
16203         * image.el (imagemagick-types-inhibit)
16204         (imagemagick-register-types): Doc fix.
16206 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16208         * textmodes/ispell.el (ispell-get-extended-character-mode):
16209         Disable extended-char-mode for hunspell.  hunspell does not support it
16210         and treats ~word as ordinary words in pipe mode.
16212 2012-03-30  Glenn Morris  <rgm@gnu.org>
16214         * tutorial.el (help-with-tutorial): Ensure local variables don't
16215         happen to make the buffer read-only.  (Bug#11127)
16217 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16219         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
16220         (perl-calculate-indent): Return `noindent' in strings.
16222 2012-03-28  Sam Steingold  <sds@gnu.org>
16224         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
16225         instead of the broken adhockery which does not prevent calendar
16226         buffers from being displayed at random after exit.
16227         (calendar-window-list, calendar-hide-window): Remove the broken
16228         adhockery.
16230 2012-03-28  Glenn Morris  <rgm@gnu.org>
16232         * replace.el (query-replace-map): Doc fix.
16234 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
16236         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
16237         contents.  (Bug#11109)
16239 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16241         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
16242         (bug#11077).
16243         (avl-tree--check, avl-tree--check-node): New funs.
16245 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
16247         * window.el (switch-to-visible-buffer): New option.
16248         (switch-to-prev-buffer, switch-to-next-buffer):
16249         Observe switch-to-visible-buffer.  Make sure that checking for a window
16250         showing a buffer already is done on the same frame.
16252 2012-03-27  Glenn Morris  <rgm@gnu.org>
16254         * startup.el (mail-host-address): Doc fix.
16256 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16258         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
16259         than 197 variables.
16261 2012-03-26  Ami Fischman  <ami@fischman.org>
16263         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
16265 2012-03-26  Glenn Morris  <rgm@gnu.org>
16267         * files.el (save-buffers-kill-emacs): Doc fix.
16269         * startup.el (normal-top-level, command-line, command-line-1):
16270         Give them doc strings.
16272 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
16274         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
16275         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
16277 2012-03-25  Chong Yidong  <cyd@gnu.org>
16279         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
16280         theme if it was previously enabled before (Bug#11031).
16282         * cus-theme.el (custom-theme-write-faces): Retrieve current face
16283         spec with custom-face-get-current-spec if its :shown-value is not
16284         determined yet (Bug#9337).
16285         (customize-create-theme, custom-theme-revert): Doc fixes.
16287         * button.el (button-at): Minor addition to docstring.
16289 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
16291         * vc/vc.el (vc-merge): Fix a prompt.
16293 2012-03-24  Chong Yidong  <cyd@gnu.org>
16295         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
16296         point (Bug#9623).
16298         * button.el (button-at): Minor addition to docstring.
16300 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16302         * newcomment.el (comment-choose-indent): No space after BOL.
16304 2012-03-22  Sam Steingold  <sds@gnu.org>
16306         * window.el (switch-to-prev-buffer): Revert last patch because the
16307         bug turned out to be an advertised feature (Elisp manual 28.14).
16309 2012-03-22  Glenn Morris  <rgm@gnu.org>
16311         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
16312         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
16314 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16316         * net/network-stream.el (network-stream-open-starttls): Make error
16317         message under Windows be less misleading.
16319 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
16321         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
16322         understands (bug#9942).
16324 2012-03-22  Chong Yidong  <cyd@gnu.org>
16326         * simple.el (end-of-visible-line): Handle return value of
16327         next-single-property-change properly (Bug#9371).
16329 2012-03-22  Kenichi Handa  <handa@m17n.org>
16331         * international/quail.el (quail-insert-kbd-layout): Fix previous
16332         change.  To avoid unwanted bidi reordering, use
16333         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
16335 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
16337         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
16338         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
16339         (ruby-beginning-of-indent): Be more careful with the difference
16340         between word-boundary and symbol boundary.
16341         (ruby-mode-syntax-table): Make : a symbol constituent.
16343 2012-03-21  Andreas Politz  <politza@fh-trier.de>
16345         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
16347 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16349         * progmodes/etags.el (tags-completion-at-point-function):
16350         Improve last fix.
16352         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
16354 2012-03-21  Sam Steingold  <sds@gnu.org>
16356         * progmodes/etags.el (tags-completion-at-point-function):
16357         Avoid the error when point is inside the pattern.
16359 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
16361         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
16362         line (Bug#10855).
16364 2012-03-21  Drew Adams  <drew.adams@oracle.com>
16366         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
16368 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
16370         * ido.el (ido-set-current-directory, ido-read-internal)
16371         (ido-choose-completion-string, ido-completion-help): Handle nil
16372         value of ido-completion-buffer (Bug#11008).
16374 2012-03-21  Sam Steingold  <sds@gnu.org>
16376         * window.el (switch-to-prev-buffer): Do not switch to a visible
16377         window previous buffer, just like with the frame previous buffers.
16379 2012-03-21  Chong Yidong  <cyd@gnu.org>
16381         * faces.el (make-face, make-empty-face, copy-face):
16382         * face-remap.el (face-remap-add-relative, face-remap-set-base):
16383         Doc fixes.
16385 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16387         * wid-edit.el (widget-complete-field): Remove (bug#11051).
16388         (widget-complete): Remove broken use of it.
16390 2012-03-20  Chong Yidong  <cyd@gnu.org>
16392         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16393         Use string-width and truncate-string-width to handle arbitrary
16394         characters.
16396 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
16398         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
16399         to draw rectangles, not squares.  (Regression introduced by revno
16400         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
16402 2012-03-18  Chong Yidong  <cyd@gnu.org>
16404         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
16405         it is not yet defined (for temacs).
16407 2012-03-18  Leo Liu  <sdl.web@gmail.com>
16409         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
16410         prefix.
16412 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
16414         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
16415         (ispell-choices-win-default-height, ispell-silently-savep)
16416         (ispell-dictionary-alist, ispell-encoding8-command)
16417         (ispell-check-version, ispell-aspell-find-dictionary)
16418         (ispell-valid-dictionary-list, ispell-words-keyword)
16419         (ispell-get-word, ispell-internal-change-dictionary)
16420         (ispell-region, ispell-skip-region-list)
16421         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
16422         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
16423         (ispell-message-text-end, ispell-message)
16424         (ispell-buffer-local-parsing): Doc fix.
16426 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
16428         * htmlfontify.el: Add support for code block fontification for ODT
16429         export (Bug #9914).
16430         (hfy-optimisations): Define new option
16431         `body-text-only'
16432         (hfy-fontify-buffer): Honor above setting.
16433         (hfy-begin-span, hfy-end-span): New routines factored out form
16434         `hfy-fontify-buffer'.
16435         (hfy-begin-span-handler, hfy-end-span-handler): New variables
16436         that permit insertion of custom tags.
16437         (hfy-fontify-buffer): Use above handlers.
16438         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16439         (hfy-face-to-css): Re-defined to be a variable.
16440         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
16441         over multiple runs.  This is made possible by having the caller let
16442         bind a special variable `hfy-user-sheet-assoc'.
16443         (htmlfontify-string): New defun.
16444         (hfy-compile-face-map): Make sure that the last char in the
16445         buffer is correctly fontified.
16446         (hfy-face-resolve-face): Whitespace only change.
16448 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
16450         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16451         message more clear.
16453 2012-03-16  Leo Liu  <sdl.web@gmail.com>
16455         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16457 2012-03-16  Alan Mackenzie  <acm@muc.de>
16459         Further optimize the handling of large macros.
16461         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16462         limit to a call of `c-literal-limits'.
16463         (c-determine-+ve-limit): New function.
16464         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16465         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16466         In CASE 5B, restrict a search limit to 500.
16467         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16469         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16470         Restrict macro bounds to +-500 from after-change's BEG END.
16472 2012-03-16  Leo Liu  <sdl.web@gmail.com>
16474         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16476 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
16478         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16479         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
16481 2012-03-16  Glenn Morris  <rgm@gnu.org>
16483         * view.el (view-buffer, view-buffer-other-window)
16484         (view-buffer-other-frame): Doc fixes re special mode-class.
16486         * subr.el (eval-after-load): If named feature is provided not from
16487         a file, run after-load forms.  (Bug#10946)
16489         * calendar/calendar.el (calendar-insert-at-column):
16490         Handle non-unit-width characters a bit better.  (Bug#10978)
16492 2012-03-15  Chong Yidong  <cyd@gnu.org>
16494         * emacs-lisp/ring.el (ring-extend): New function.
16495         (ring-insert+extend): Extend the ring correctly (Bug#11019).
16497         * comint.el (comint-read-input-ring)
16498         (comint-add-to-input-history): Grow comint-input-ring lazily.
16500 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16502         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16503         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16505         * imenu.el: Fix multiple inheritance breakage (bug#9199).
16506         (imenu-add-to-menubar): Don't add a redundant index.
16507         (imenu-update-menubar): Handle a dynamically composed keymap.
16509 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
16511         * mail/sendmail.el (mail-encode-header):
16512         Bind rfc2047-encode-encoded-words to nil.
16514 2012-03-13  Glenn Morris  <rgm@gnu.org>
16516         * calendar/calendar.el (calendar-string-spread):
16517         Handle non-unit-width characters a bit better.  (Bug#10978)
16519 2012-03-13  Leo Liu  <sdl.web@gmail.com>
16521         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16522         directory and file as argument (Bug#10822).
16524 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
16526         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16527         For dynamically generated code, follow $PC.
16528         (gdb-disassembly-handler-custom): Handle no function name case.
16530 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
16532         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16533         * emulation/ws-mode.el (ws-query-replace):
16534         * sort.el (sort-regexp-fields):
16535         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
16537 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16539         * dabbrev.el: Fix cycle completion order (bug#10963).
16540         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16541         (dabbrev-completion): Don't use an obarray; provide
16542         a cycle-sort-function.
16544 2012-03-12  Leo Liu  <sdl.web@gmail.com>
16546         * simple.el (kill-new): Use equal-including-properties for comparison.
16547         (kill-do-not-save-duplicates): Doc fix.
16549 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16551         * dabbrev.el: Fix cycle completion (bug#10963).
16552         Use lexical binding and wrap to 80 columns.
16553         (dabbrev-completion): Delay computing the list of completions.
16555 2012-03-12  Kenichi Handa  <handa@m17n.org>
16557         * international/quail.el (quail-insert-kbd-layout): Surround each
16558         row by LRO and PDF instead of inserting many LRMs.  Pad the left
16559         and right of each non-spacing marks.  Insert invisible space
16560         between lower and upper characters to prevent composition.
16562 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16564         * minibuffer.el (minibuffer-complete): Don't get confused when the
16565         function is run twice via different commands (bug#10958).
16566         (complete-with-action): Fix docstring.
16568 2012-03-12  Chong Yidong  <cyd@gnu.org>
16570         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16571         (nxml-completion-at-point-function): New function.
16572         (nxml-mode): Use it.
16573         (nxml-bind-meta-tab-to-complete-flag): Default to t.
16575         * emacs-lisp/package.el (package-unpack, package-unpack-single):
16576         Load generated autoloads file before byte compiling (Bug#10970).
16577         (package--make-autoloads-and-compile): New helper fun.
16579 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
16581         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16583 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
16585         * autorevert.el (auto-revert-handler): Ensure, that
16586         file-readable-p is applied only for local files or in
16587         auto-revert-tail-mode.
16589 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
16591         * server.el (server-eval-at): Handle non-tcp connections.
16592         Decode result string.
16594         * server.el (server-msg-size): New constant.
16595         (server-reply-print): New function.
16596         (server-eval-and-print): Use it.
16597         (server-eval-at): Use server-quote-arg and server-unquote-arg.
16598         Handle -print-nonl.
16600 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
16602         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16603         (Bug#10987).
16605 2012-03-11  Chong Yidong  <cyd@gnu.org>
16607         * simple.el (goto-line): Doc fix (Bug#9938).
16609         * subr.el (save-window-excursion): Doc fix (Bug#9979).
16611         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16612         when finished (Bug#10963).
16614 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
16616         * window.el (split-window-below): Fix bug in case where
16617         split-window-keep-point is nil (Bug#10971).
16619 2012-03-11  Juri Linkov  <juri@jurta.org>
16621         * replace.el (replace-highlight): Set isearch-word to nil
16622         unconditionally.  (Bug#10887)
16624 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
16626         * net/mairix.el (mairix-replace-invalid-chars): Rename from
16627         mairix-replace-illegal-chars; all callers changed.  Don't remove
16628         ^, ~, and = characters: they are meaningful in mairix search specs.
16629         (mairix-widget-create-query): Add usage information about mairix
16630         search forms: negating words, searching for substrings, etc.
16632 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
16634         * international/fontset.el (font-encoding-alist): Add an entry for
16635         ksx1001 (Bug#5667).
16637 2012-03-10  Richard Stallman  <rms@gnu.org>
16639         * mail/sendmail.el (mail-encode-header):
16640         Set rfc2047-encode-encoded-words.
16642         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16644         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16645         view buffer means not swapped.
16646         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16647         (rmail-write-region-annotate): Error if real text has disappeared.
16649         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16651 2012-03-10  Chong Yidong  <cyd@gnu.org>
16653         * emulation/cua-rect.el (cua--init-rectangles):
16654         * emulation/cua-base.el (cua--init-keymaps):
16655         Add delete-forward-char to remappings (Bug#9666).
16657 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
16659         * speedbar.el (speedbar-unhighlight-one-tag-line):
16660         Avoid unhighlighting due to frame switching (Bug#10275).
16662 2012-03-10  Chong Yidong  <cyd@gnu.org>
16664         * minibuffer.el (completion-in-region, completion-help-at-point):
16665         Give the completion field overlay a high priority (Bug#6830).
16667         * dired.el (dired-goto-file): Recognize absolute file name
16668         listings (Bug#7126).
16669         (dired-goto-file-1): New helper function.
16670         (dired-toggle-read-only): Inhibit warnings.
16672 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
16674         * net/dbus.el (dbus-property-handler): Return empty array if
16675         there are no properties.
16677 2012-03-09  Leo Liu  <sdl.web@gmail.com>
16679         * savehist.el (savehist-printable): Stricter check for string
16680         value (Bug#10937).
16682 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
16684         * mail/smtpmail.el (smtpmail-send-it):
16685         Bind coding-system-for-write to *-unix, so that FCC files are kept in
16686         valid mbox format.
16688 2012-03-09  Glenn Morris  <rgm@gnu.org>
16690         * files.el (dir-locals-find-file):
16691         Don't check result is regular, readable.
16692         (dir-locals-read-from-file): Demote errors.
16694 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
16696         * international/quail.el (quail-insert-kbd-layout):
16697         Insert invisible LRM characters before each character in a keyboard
16698         layout cell, to prevent their reordering by bidi display engine.
16699         For details, see the discussion in
16700         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16702 2012-03-08  Alan Mackenzie  <acm@muc.de>
16704         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16705         the starting position; make it extend the marked region when
16706         invoked repeatedly - all under appropriate circumstances.
16707         Fixes bugs #5525, #10906.
16709 2012-03-08  Glenn Morris  <rgm@gnu.org>
16711         * files.el (locate-dominating-file, dir-locals-find-file):
16712         Undo 2012-03-06 change.
16714 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
16716         * international/quail.el (quail-help):
16717         Force bidi-paragraph-direction be left-to-right.  See discussion in
16718         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16719         for the reason.
16721 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
16723         Avoid superfluous registering of signals.  (Bug#10807)
16725         * notifications.el (notifications-on-action-object)
16726         (notifications-on-close-object): New defvars.
16727         (notifications-on-action-signal, notifications-on-closed-signal):
16728         Unregister the signal if not needed any longer.
16729         (notifications-notify): Register `notifications-action-signal' or
16730         `notifications-closed-signal', if :on-action or :on-close has been
16731         passed as argument.
16733 2012-03-07  Chong Yidong  <cyd@gnu.org>
16735         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16736         non-X platforms.
16738 2012-03-06  Glenn Morris  <rgm@gnu.org>
16740         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16741         (x-disown-selection-internal, x-get-selection-internal):
16742         Doc fix (add arglist signatures).  (Bug#10783)
16744 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
16746         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16747         Handle breakpoints with no "type".
16749 2012-03-06  Glenn Morris  <rgm@gnu.org>
16751         * files.el (locate-dominating-file): Add optional predicate argument.
16752         (dir-locals-find-file): Make use of above change.
16754 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
16756         * info.el (Info-insert-dir): Also try "dir.gz".
16758 2012-03-06  Glenn Morris  <rgm@gnu.org>
16760         * files.el (dir-locals-find-file):
16761         Ignore non-readable or non-regular files.  (Bug#10928)
16763         * files.el (locate-dominating-file): Doc fix.
16765 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
16767         * calendar/calendar.el (calendar-set-mode-line):
16768         `getenv' returns a string.  (Bug#10951)
16770 2012-03-05  Leo Liu  <sdl.web@gmail.com>
16772         * simple.el (backward-delete-char-untabify): Constrain point to
16773         field (Bug#10939).
16775         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16777 2012-03-05  Chong Yidong  <cyd@gnu.org>
16779         * simple.el (count-words): If called from Lisp, return the word
16780         count, for symmetry with `count-lines'.  Arglist changed.
16781         (count-words--message): Args changed.  Consolidate counting code
16782         from count-words and count-words-region.
16783         (count-words-region): Caller changed.
16784         (count-lines-region): Make it an obsolete alias.
16786 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
16788         * saveplace.el (save-place-to-alist)
16789         (save-place-ignore-files-regexp): Allow value nil to disable this
16790         feature.
16792 2012-03-04  Chong Yidong  <cyd@gnu.org>
16794         * faces.el (face-spec-reset-face): For the default face, reset the
16795         attributes to default values (Bug#10748).
16797 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16799         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16800         previous patch: Check `message-send-mail-function', and not the
16801         default function (bug#10897).
16803 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
16805         * notifications.el (notifications-on-action-signal)
16806         (notifications-on-closed-signal): Check for unique service name of
16807         incoming event.  Fix error in removing entry.
16808         (top): Register for signals with wildcard service name.
16809         (notifications-notify): Use daemon unique service name for map entries.
16811 2012-03-04  Chong Yidong  <cyd@gnu.org>
16813         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16815 2012-03-04  Glenn Morris  <rgm@gnu.org>
16817         * abbrev.el (copy-abbrev-table, abbrev-table-p)
16818         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16819         (expand-abbrev, define-abbrev-table): Doc fixes.
16821 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16823         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16824         `message-default-send-mail-function' and not `send-mail-function'
16825         when doing the prompting for `sendmail-query-once' before sending
16826         in Message buffers (bug#10897).
16828         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16829         This is inconsistent with all the other stream functions, which leave
16830         the setting up to the higher levels (if so wanted) (bug#10931).
16832 2012-03-02  Alan Mackenzie  <acm@muc.de>
16834         Depessimize the handling of very large macros.
16836         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16837         (c-macro-cache-syntactic): New variables to implement a one
16838         element macro cache.
16839         (c-invalidate-macro-cache): New function.
16840         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16841         Adapt to use the new cache.
16842         (c-state-safe-place): Use better the cache of safe positions.
16843         (c-state-semi-nonlit-pos-cache)
16844         (c-state-semi-nonlit-pos-cache-limit):
16845         New variables for...
16846         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
16847         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16848         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16849         Use c-state-semi-safe-place.
16851         * progmodes/cc-langs.el (c-get-state-before-change-functions):
16852         Add c-invalidate-macro-cache to the C, C++, Obj entries.
16854 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
16856         * jka-compr.el (jka-compr-call-process):
16857         Apply `file-accessible-directory-p' only when the default directory is
16858         not remote.
16860 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
16862         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
16863         access of FILE2, if FILE1 does not exist.
16865         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16866         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16868         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16869         Add "PAGER=" to `process-environment'.
16871 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
16873         * progmodes/sql.el: Bug fix
16874         (sql-get-login-ext): Save login values in globals.
16875         (sql-get-login): Use new version of `sql-get-login-ext'.
16876         (sql-interactive-mode): Set global `sql-connection' to nil.
16877         (sql-connect): Set global values for connection.
16878         (sql-product-interactive): Save global values as buffer local.
16880 2012-02-29  Leo Liu  <sdl.web@gmail.com>
16882         * abbrev.el (define-abbrevs): Reset sys to nil.
16884 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
16886         * files.el (file-equal-p): Rename from `files-equal-p'.
16887         Return nil when one or both files don't exist.
16888         (file-subdir-of-p): Now only top directory must exists,
16889         return nil if it doesn't.
16890         (copy-directory): No need to test with `file-subdir-of-p' after
16891         creating dir.
16892         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16893         to `file-equal-p'.
16895 2012-02-28  Glenn Morris  <rgm@gnu.org>
16897         * shell.el (shell-mode):
16898         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16899         * play/landmark.el (landmark-font-lock-face-O):
16900         * play/handwrite.el (handwrite):
16901         * play/gomoku.el (gomoku-O):
16902         * net/browse-url.el (browse-url-browser-display):
16903         * international/mule.el (define-charset):
16904         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16905         * filesets.el (filesets-find-file-delay):
16906         * eshell/em-xtra.el (eshell-xtra):
16907         * eshell/em-unix.el (eshell-grep):
16908         * emulation/viper.el (viper-mode):
16909         * emacs-lisp/regexp-opt.el (regexp-opt-group):
16910         * emacs-lisp/easymenu.el (easy-menu-define):
16911         * calendar/timeclock.el (timeclock-use-display-time):
16912         * bs.el (bs-mode):
16913         * bookmark.el (bookmark-save-flag):
16914         Doc fix (standardize possessive apostrophe usage).
16916 2012-02-27  Chong Yidong  <cyd@gnu.org>
16918         * emulation/viper-cmd.el (viper-intercept-ESC-key):
16919         Fix key-binding lookup for ESC key (Bug#9146).
16921         * font-lock.el (font-lock-specified-p): Rename from
16922         font-lock-spec-present.  Callers changed.
16924 2012-02-27  Daniel Hackney  <dan@haxney.org>
16926         * emacs-lisp/package.el (package-compute-transaction):
16927         Handle holding a package version to t in package-load-list.
16929 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
16931         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16932         (tramp-get-inode, tramp-get-device): Use cached values.
16934 2012-02-26  Alan Mackenzie  <acm@muc.de>
16936         Check there is a font-lock specification before doing initial
16937         fontification.
16939         * font-core.el (font-lock-mode): Move the conditional from
16940         :after-hook to font-lock-initial-fontify.
16941         (font-lock-default-function): Move the check for a specification
16942         to font-lock-spec-present.
16944         * font-lock.el (font-lock-initial-fontify): Call ...
16945         (font-lock-spec-present): New function.
16947 2012-02-26  Jim Blandy  <jimb@red-bean.com>
16949         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16950         (gdb-send): Apply it to the operand of the '-interpreter-exec
16951         console' command, so that we can pass arguments with (say) quotes
16952         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
16954 2012-02-26  Chong Yidong  <cyd@gnu.org>
16956         * help-fns.el (describe-function-1): Clarify description of
16957         remapping (Bug#10844).
16959         * files.el (files-equal-p): Doc fix.
16960         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
16961         and quit the loop once a mismatch is found.
16963 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
16965         * bs.el (bs--show-with-configuration): Don't throw an error
16966         if the window cannot be split; otherwise, subsequent calls to
16967         bs-show fail, restoring a stale window config.  (Bug#10882)
16969 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
16971         * term/ns-win.el (global-map): Bind ns-drag-file to
16972         ns-find-file (Bug#5855, Bug#10050).
16974 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
16976         * calendar/parse-time.el (parse-time-string): Allow extractor to
16977         return nil.
16979 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
16981         * net/tramp.el (tramp-file-name-for-operation):
16982         Add `files-equal-p' and `file-subdir-of-p'.
16984         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16985         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16986         Add COPY-CONTENTS argument.
16988 2012-02-25  Chong Yidong  <cyd@gnu.org>
16990         Add custom groups for VC backends, for consistency with vc-bzr.
16992         * vc/vc-arch.el (vc-arch):
16993         * vc/vc-cvs.el (vc-cvs):
16994         * vc/vc-git.el (vc-git):
16995         * vc/vc-hg.el (vc-hg):
16996         * vc/vc-mtn.el (vc-mtn):
16997         * vc/vc-rcs.el (vc-rcs):
16998         * vc/vc-sccs.el (vc-sccs):
16999         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
17000         All relevant defcustoms reassigned.
17002 2012-02-25  Chong Yidong  <cyd@gnu.org>
17004         * newcomment.el (comment-styles): Add autoload (Bug#10868).
17006         * term/x-win.el (x-initialize-window-system): Reduce default for
17007         x-selection-timeout to 5 seconds (Bug#8869).
17009 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
17011         * files.el (files-equal-p, file-subdir-of-p): New functions.
17012         (copy-directory): Error when trying to copy a directory on itself.
17013         Add missing copy-contents arg to tramp handler.
17014         * dired-aux.el (dired-copy-file-recursive): Same.
17015         (dired-create-files): Modify destination when source is equal to
17016         dest when copying files.
17017         Return also when dest is a subdir of source.  (Bug#10489)
17019 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
17021         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
17022         (Bug#10874)
17024 2012-02-23  Alan Mackenzie  <acm@muc.de>
17026         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
17027         parameter "after-hook:" to allow the expansion to run code after
17028         the execution of the mode hooks.
17030         * font-lock.el (font-lock-initial-fontify): New function extracted
17031         from font-lock-mode-internal.
17033         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
17034         :after-hook.
17036 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17038         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
17039         (completion--cache-all-sorted-completions): New function.
17040         (completion-all-sorted-completions): Use it.
17041         (completion--do-completion, minibuffer-force-complete):
17042         Use it to re-instate the flush hook.
17044         * icomplete.el (icomplete-completions): Replace last fix with a better
17045         one (bug#10850).
17047 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
17049         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
17050         when it might call us back infinitely (bug#10797).
17052 2012-02-23  Glenn Morris  <rgm@gnu.org>
17054         * minibuffer.el (completion-category-overrides): Doc fix.
17056 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17058         * minibuffer.el (completion-table-with-context): Fix inf-loop.
17059         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
17061 2012-02-23  Glenn Morris  <rgm@gnu.org>
17063         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
17064         (authors-obsolete-files-regexps, authors-ignored-files)
17065         (authors-ambiguous-files, authors-renamed-files-alist):
17066         Add more entries.
17068 2012-02-23  Juri Linkov  <juri@jurta.org>
17070         * isearch.el (isearch-occur): Sync interactive spec with occur's
17071         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
17073         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
17075 2012-02-22  Juri Linkov  <juri@jurta.org>
17077         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
17078         (ucs-insert): Doc fix.  Check for hex digits in the string.
17079         Don't display `nil' in the error message.  (Bug#10857)
17081 2012-02-22  Alan Mackenzie  <acm@muc.de>
17083         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
17085 2012-02-22  Glenn Morris  <rgm@gnu.org>
17087         * ffap.el (ffap-c-path):
17088         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
17090 2012-02-22  Chong Yidong  <cyd@gnu.org>
17092         * custom.el (load-theme): Doc fix.
17094 2012-02-22  Glenn Morris  <rgm@gnu.org>
17096         * dired-x.el (dired-guess-shell-alist-default):
17097         Remove escape sequences from nroff output.  (Bug#172)
17099 2012-02-21  Glenn Morris  <rgm@gnu.org>
17101         * vc/emerge.el (emerge-defvar-local):
17102         Set `permanent-local' property rather than unused `preserved'.
17104         * textmodes/picture.el (picture-delete-char): New alias.
17105         (picture-mode-map): Use it.  (Bug#10860)
17106         (picture-mode): Doc fix.
17108 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
17110         * newcomment.el (uncomment-region-default): Remove unused binding.
17112 2012-02-21  Glenn Morris  <rgm@gnu.org>
17114         * textmodes/picture.el (picture-motion, picture-motion-reverse)
17115         (picture-self-insert, picture-tab-chars): Doc fix.
17116         (picture-mode-map): Fix C-a, C-e.
17118 2012-02-20  Glenn Morris  <rgm@gnu.org>
17120         * emacs-lisp/authors.el (authors-aliases): Add another entry.
17122 2012-02-20  Leo Liu  <sdl.web@gmail.com>
17124         * icomplete.el (icomplete-completions): Check FROM arg before
17125         passing to substring (Bug#10850).
17127 2012-02-19  Chong Yidong  <cyd@gnu.org>
17129         * comint.el: Require ansi-color.
17130         (comint-output-filter-functions): Add ansi-color-process-output.
17132         * ansi-color.el: Don't set comint-output-filter-functions; it is
17133         now in the initial value defined in comint.el.
17134         (ansi-color-apply-face-function): New variable.
17135         (ansi-color-apply-on-region): Use it.
17136         (ansi-color-apply-overlay-face): New function.
17138         * shell.el (shell): No need to require ansi-color.
17139         (shell-mode): Use ansi-color-apply-face-function to highlight
17140         color escapes using font-lock-face property (Bug#10835).
17142 2012-02-19  Chong Yidong  <cyd@gnu.org>
17144         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
17145         mode-line formats (Bug#10839).
17147 2012-02-18  Glenn Morris  <rgm@gnu.org>
17149         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
17151         * mail/undigest.el (unforward-rmail-message): Doc fix.
17153         * saveplace.el (save-place-ignore-files-regexp): Add :version.
17155 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
17157         * international/characters.el (script-list): Sync with the latest
17158         Unicode Character Database.
17160 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
17162         * international/titdic-cnv.el: Remove duplicate coding tag.
17163         * language/cham.el: Likewise.
17164         * language/tai-viet.el: Likewise.
17166 2012-02-18  Glenn Morris  <rgm@gnu.org>
17168         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
17169         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
17170         (calendar-bahai-all-holidays-flag, calendar-other-dates):
17171         * calendar/diary-lib.el (diary-abbreviated-year-flag):
17172         * calendar/holidays.el (holiday-bahai-holidays)
17173         (calendar-holidays, list-holidays):
17174         Use utf-8 Bahá'í in doc-strings, menus, etc.
17176 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
17178         * saveplace.el (save-place-ignore-files-regexp): New variable
17179         allowing for excluding files from saving their location of point.
17180         The default value matches the temporary commit message editing
17181         files from Git, SVN, Bazaar, and Mercurial.
17182         (save-place-to-alist): Use it.
17184 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
17185             Stefan Monnier  <monnier@iro.umontreal.ca>
17187         * newcomment.el (uncomment-region-default): Don't leave extra space
17188         when an arg is provided (bug#8150).
17190 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
17192         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
17194 2012-02-17  Glenn Morris  <rgm@gnu.org>
17196         * net/socks.el: Require network-stream.  (Bug#10599)
17198 2012-02-17  Kenichi Handa  <handa@m17n.org>
17200         * international/charprop.el:
17201         * international/uni-name.el:
17202         * international/uni-old-name.el:
17203         * international/uni-comment.el: Regenerate.
17205 2012-02-16  Glenn Morris  <rgm@gnu.org>
17207         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
17208         Interactively in calendar buffer, give an error if not on a date.
17210 2012-02-15  Glenn Morris  <rgm@gnu.org>
17212         * shell.el (shell-delimiter-argument-list):
17213         Revert 2011-02-17 change.  (Bug#8027)
17215 2012-02-15  Chong Yidong  <cyd@gnu.org>
17217         * minibuffer.el (completion-at-point-functions): Doc fix.
17219         * custom.el (defcustom): Doc fix; note use of defvar.
17221 2012-02-15  Glenn Morris  <rgm@gnu.org>
17223         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
17224         Doc fixes.
17226 2012-02-14  Glenn Morris  <rgm@gnu.org>
17228         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
17230 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
17232         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
17233         way the ports list is computed.
17234         (smtpmail-query-smtp-server): Prompt the user for a port number if
17235         we can't connect to any of the standard ports (bug#10810).
17237 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
17239         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
17241 2012-02-13  Glenn Morris  <rgm@gnu.org>
17243         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
17245 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
17247         * net/gnutls.el (gnutls-trustfiles): New variable.
17248         (gnutls-negotiate): Use it.
17250 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
17252         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
17253         does its stuff if Gnus is running.
17255 2012-02-13  Alan Mackenzie  <acm@muc.de>
17257         Fix a loop in c-set-fl-decl-start.
17259         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
17260         c-backward-syntactic-ws actually moves backwards.
17262 2012-02-13  Leo Liu  <sdl.web@gmail.com>
17264         * net/rcirc.el (rcirc-markup-attributes): Move point to the
17265         beginning so that all \C-o chars are removed.
17267 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
17269         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
17271 2012-02-12  Alan Mackenzie  <acm@muc.de>
17273         Fix infinite loop with long macros.
17274         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
17276 2012-02-12  Chong Yidong  <cyd@gnu.org>
17278         * window.el (display-buffer): Doc fix (Bug#10785).
17280 2012-02-12  Glenn Morris  <rgm@gnu.org>
17282         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17283         (x-disown-selection-internal, x-get-selection-internal):
17284         Sync docs with the xselect.c versions.
17286         * allout-widgets.el: Add missing license notice.
17288 2012-02-11  Glenn Morris  <rgm@gnu.org>
17290         * select.el (x-get-selection-internal, x-own-selection-internal)
17291         (x-disown-selection-internal):
17292         * x-dnd.el (x-get-selection-internal): Update declarations.
17294         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
17296         * window.el (window-sides-slots):
17297         * tool-bar.el (tool-bar-position):
17298         * term/xterm.el (xterm-extra-capabilities):
17299         * ses.el (ses-self-reference-early-detection):
17300         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
17301         (verilog-auto-wire-type)
17302         (verilog-auto-delete-trailing-whitespace)
17303         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
17304         (verilog-auto-tieoff-declaration):
17305         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
17306         (sql-oracle-statement-starters, sql-oracle-scan-on):
17307         * progmodes/prolog.el (prolog-align-comments-flag)
17308         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
17309         (prolog-left-indent-regexp, prolog-paren-indent-p)
17310         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
17311         (prolog-types, prolog-mode-specificators)
17312         (prolog-determinism-specificators, prolog-directives)
17313         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
17314         (prolog-electric-dot-flag)
17315         (prolog-electric-dot-full-predicate-template)
17316         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
17317         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
17318         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
17319         (prolog-program-switches, prolog-prompt-regexp)
17320         (prolog-debug-on-string, prolog-debug-off-string)
17321         (prolog-trace-on-string, prolog-trace-off-string)
17322         (prolog-zip-on-string, prolog-zip-off-string)
17323         (prolog-use-standard-consult-compile-method-flag)
17324         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
17325         (prolog-imenu-max-lines, prolog-info-predicate-index)
17326         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
17327         (prolog-char-quote-workaround):
17328         * progmodes/cc-vars.el (c-defun-tactic):
17329         * net/tramp.el (tramp-encoding-command-interactive)
17330         (tramp-local-end-of-line):
17331         * net/soap-client.el (soap-client):
17332         * net/netrc.el (netrc-file):
17333         * net/gnutls.el (gnutls):
17334         * minibuffer.el (completion-category-overrides)
17335         (completion-cycle-threshold)
17336         (completion-pcm-complete-word-inserts-delimiters):
17337         * man.el (Man-name-local-regexp):
17338         * mail/feedmail.el (feedmail-display-full-frame):
17339         * international/characters.el (glyphless-char-display-control):
17340         * eshell/em-ls.el (eshell-ls-date-format):
17341         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
17342         (lisp-lambda-list-keyword-parameter-indentation)
17343         (lisp-lambda-list-keyword-parameter-alignment):
17344         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
17345         * dired-x.el (dired-omit-verbose):
17346         * cus-theme.el (custom-theme-allow-multiple-selections):
17347         * calc/calc.el (calc-highlight-selections-with-faces)
17348         (calc-lu-field-reference, calc-lu-power-reference)
17349         (calc-note-threshold):
17350         * battery.el (battery-mode-line-limit):
17351         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
17352         (archive-7z-update):
17353         * allout.el (allout-prefixed-keybindings)
17354         (allout-unprefixed-keybindings)
17355         (allout-inhibit-auto-fill-on-headline)
17356         (allout-flattened-numbering-abbreviation):
17357         * allout-widgets.el (allout-widgets-auto-activation)
17358         (allout-widgets-icons-dark-subdir)
17359         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
17360         (allout-widgets-theme-dark-background)
17361         (allout-widgets-theme-light-background)
17362         (allout-widgets-item-image-properties-emacs)
17363         (allout-widgets-item-image-properties-xemacs)
17364         (allout-widgets-run-unit-tests-on-load)
17365         (allout-widgets-time-decoration-activity)
17366         (allout-widgets-hook-error-post-time)
17367         (allout-widgets-track-decoration):
17368         Add missing :version tags to new defcustoms and defgroups.
17370         * progmodes/sql.el (sql-ansi-statement-starters)
17371         (sql-oracle-statement-starters): Add custom type.
17373         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
17374         (prolog-system-version): Give it a type.
17376 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
17378         * term/pc-win.el (x-select-text, x-selection-owner-p)
17379         (x-own-selection-internal, x-disown-selection-internal)
17380         (x-get-selection-internal): Sync doc strings and argument lists
17381         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
17383 2012-02-11  Leo Liu  <sdl.web@gmail.com>
17385         * progmodes/python.el (python-end-of-statement): Fix infinite
17386         loop.  (Bug#10788)
17388 2012-02-10  Glenn Morris  <rgm@gnu.org>
17390         * international/mule-cmds.el (unify-8859-on-encoding-mode)
17391         (unify-8859-on-decoding-mode): Properly mark as obsolete.
17393 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
17395         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
17396         about SMTP before checking the From header.
17398         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
17399         into own function for reuse by emacsbug.el.
17401 2012-02-10  Leo Liu  <sdl.web@gmail.com>
17403         * subr.el (condition-case-unless-debug): Rename from
17404         condition-case-no-debug.  All callers changed.
17405         (with-demoted-errors): Fix caller.
17407         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
17408         * nxml/rng-valid.el (rng-do-some-validation):
17409         * emacs-lisp/package.el (package-refresh-contents)
17410         (package-menu-execute):
17411         * desktop.el (desktop-create-buffer):
17412         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
17414 2012-02-10  Glenn Morris  <rgm@gnu.org>
17416         * textmodes/bibtex.el:
17417         Add missing :version tags for new/changed defcustoms.
17419         * files.el (remote-file-name-inhibit-cache): Doc fixes.
17421 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
17423         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
17424         (smtpmail-via-smtp): Use it, or fall back on the From address.
17425         (smtpmail-send-it): Ditto.
17427 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17429         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
17430         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
17431         (byte-compile-tmp-var): New const.
17432         (byte-compile-defvar): Use it to minimize .elc size.
17433         Just use `defvar' rather than simulate it (bug#10761).
17435 2012-02-09  Glenn Morris  <rgm@gnu.org>
17437         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
17439         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17440         Add :version tags.
17442         * progmodes/compile.el (compilation-error-screen-columns)
17443         (compilation-first-column, compilation-filter-start): Doc fixes.
17445         * vc/log-view.el (log-view-toggle-entry-display):
17446         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17448         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17449         (report-emacs-bug-can-use-xdg-email):
17450         (report-emacs-bug-insert-to-mailer): Doc fixes.
17451         (report-emacs-bug): Message fix.
17453         * net/browse-url.el (browse-url-can-use-xdg-open)
17454         (browse-url-xdg-open): Doc fixes.
17456         * electric.el (electric-indent-mode, electric-pair-mode)
17457         (electric-layout-rules, electric-layout-mode): Doc fixes.
17458         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17460 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
17462         * server.el (server-unselect-display): Don't inadvertently kill
17463         the current buffer.  (Bug#10729)
17465 2012-02-08  Glenn Morris  <rgm@gnu.org>
17467         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17468         (sql-list-table): Doc fixes.
17470         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17471         Comment out (does nothing).
17473         * completion.el (dynamic-completion-mode):
17474         * dirtrack.el (dirtrack-debug-mode):
17475         * electric.el (electric-layout-mode):
17476         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17477         * face-remap.el (text-scale-mode, buffer-face-mode):
17478         * iimage.el (iimage-mode):
17479         * image-mode.el (image-transform-mode):
17480         * minibuffer.el (completion-in-region-mode):
17481         * scroll-lock.el (scroll-lock-mode):
17482         * simple.el (next-error-follow-minor-mode):
17483         * tar-mode.el (tar-subfile-mode):
17484         * tooltip.el (tooltip-mode):
17485         * vcursor.el (vcursor-use-vcursor-map):
17486         * wid-browse.el (widget-minor-mode):
17487         * emulation/tpu-edt.el (tpu-edt-mode):
17488         * emulation/tpu-extras.el (tpu-cursor-free-mode):
17489         * international/iso-ascii.el (iso-ascii-mode):
17490         * language/thai-util.el (thai-word-mode):
17491         * mail/supercite.el (sc-minor-mode):
17492         * net/goto-addr.el (goto-address-mode):
17493         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17494         * progmodes/cwarn.el (cwarn-mode):
17495         * progmodes/flymake.el (flymake-mode):
17496         * progmodes/glasses.el (glasses-mode):
17497         * progmodes/hideshow.el (hs-minor-mode):
17498         * progmodes/pascal.el (pascal-outline-mode):
17499         * textmodes/enriched.el (enriched-mode):
17500         * vc/smerge-mode.el (smerge-mode):
17501         Doc fixes (minor mode argument).
17503 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
17505         * ls-lisp.el (ls-lisp-sanitize): New function.
17506         (ls-lisp-insert-directory): Use it to fix or remove any elements
17507         in file-alist with missing attributes.  (Bug#4673)
17509 2012-02-07  Alan Mackenzie  <acm@muc.de>
17511         Fix spurious recognition of c-in-knr-argdecl.
17513         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17514         putative K&R region.
17516 2012-02-07  Alan Mackenzie  <acm@muc.de>
17518         * progmodes/cc-engine.el (c-forward-objc-directive):
17519         Prevent looping in "#pragma mark @implementation".
17521 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
17523         * notifications.el (notifications-on-closed-signal): Make `reason'
17524         optional.  (Bug#10744)
17526 2012-02-07  Glenn Morris  <rgm@gnu.org>
17528         * emacs-lisp/easy-mmode.el (define-minor-mode):
17529         Doc fixes for the macro and the mode it defines.
17531         * image.el (imagemagick-types-inhibit): Doc fix.
17533         * cus-start.el (imagemagick-render-type): Add it.
17535 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
17537         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17538         Set the default at load time, too, so that `font-lock-fontify-buffer'
17539         can be called without setting up the entire mode first.  This fixes
17540         a bug in `mm-inline-text' with C MIME parts.
17542 2012-02-06  Chong Yidong  <cyd@gnu.org>
17544         * simple.el (list-processes--refresh): Delete exited processes
17545         (Bug#8094).
17547         * comint.el (comint-next-prompt): next-single-char-property-change
17548         and prev-single-char-property-change never return nil (Bug#8657).
17550         * custom.el (defcustom): Doc fix (Bug#9711).
17552 2012-02-05  Chong Yidong  <cyd@gnu.org>
17554         * cus-edit.el (custom-variable-reset-backup): Quote the value
17555         before storing it in the customized-value property (Bug#6712).
17556         (custom-display): Add a customization type tag.
17557         (custom-buffer-create-internal): Improve tooltip message.
17559         * wid-edit.el (widget-field-value-get): New optional arg to
17560         suppress trailing whitespace truncation.
17561         (character): Use it (Bug#2689).
17563 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
17565         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17566         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17568 2012-02-05  Chong Yidong  <cyd@gnu.org>
17570         * cus-edit.el (custom-variable-value-create): For mismatched
17571         types, show the current value (Bug#7600).
17573         * custom.el (defcustom): Doc fix.
17575 2012-02-05  Glenn Morris  <rgm@gnu.org>
17577         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17579 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
17581         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17582         (pp-buffer): Use `ignore-errors', `looking-at-p'.
17583         (pp-last-sexp): Use `looking-at-p'.
17585 2012-02-04  Glenn Morris  <rgm@gnu.org>
17587         * files.el (revert-buffer):
17588         Doc fix (mention revert-buffer-in-progress-p).
17590         * emacs-lisp/ert-x.el (ert-simulate-command):
17591         Check deferred-action-list (which is obsolete) is bound.
17593         * subr.el (with-wrapper-hook): Doc fixes.
17595         * simple.el (filter-buffer-substring-functions)
17596         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17598 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
17600         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17601         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
17603 2012-02-04  Leo Liu  <sdl.web@gmail.com>
17605         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17607 2012-02-04  Glenn Morris  <rgm@gnu.org>
17609         * image.el (image-extension-data): Add obsolete alias.
17611         * isearch.el (isearch-update): Doc fix.
17613         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17615         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17617 2012-02-03  Glenn Morris  <rgm@gnu.org>
17619         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
17620         (image-animate-timeout): Doc fix.
17622         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17624 2012-02-02  Glenn Morris  <rgm@gnu.org>
17626         * server.el (server-auth-dir): Doc fix.
17627         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
17629         * subr.el (run-mode-hooks): Doc fix.
17631 2012-02-02  Juri Linkov  <juri@jurta.org>
17633         * image-mode.el (image-toggle-display-image): Remove tautological
17634         `major-mode' from the `derived-mode-p' test.
17636 2012-02-02  Kenichi Handa  <handa@m17n.org>
17638         * composite.el (compose-region): Cancel previous change.
17640 2012-02-02  Kenichi Handa  <handa@m17n.org>
17642         * composite.el (compose-region, compose-string): Signal error for
17643         a null string component (Bug#6988).
17645 2012-02-01  Chong Yidong  <cyd@gnu.org>
17647         * view.el (view-buffer-other-window, view-buffer-other-frame):
17648         Handle special modes like view-buffer (Bug#10650).
17649         (view-buffer): Simplify.
17651         * frame.el (set-frame-font): Tweak meaning of third argument.
17653         * dynamic-setting.el (font-setting-change-default-font):
17654         Use set-frame-font (Bug#9982).
17656 2012-02-01  Glenn Morris  <rgm@gnu.org>
17658         * progmodes/compile.el (compilation-internal-error-properties):
17659         Respect compilation-first-column in the "*compilation*" buffer.
17661         * emacs-lisp/easy-mmode.el (define-minor-mode):
17662         Relax :variable's test for a named function.
17664 2012-01-31  Alan Mackenzie  <acm@muc.de>
17666         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17667         off by one error.
17669 2012-01-31  Chong Yidong  <cyd@gnu.org>
17671         * frame.el (set-frame-font): New arg ALL-FRAMES.
17673         * menu-bar.el (menu-set-font): Use set-frame-font.
17675         * faces.el (face-spec-reset-face): Don't apply unspecified
17676         attribute values to the default face.
17678 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
17680         * progmodes/cwarn.el (cwarn): Remove dead link.
17681         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17682         Remove * from defcustom docstrings.
17683         (turn-on-cwarn-mode): Make obsolete.
17684         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17685         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17687 2012-01-31  Glenn Morris  <rgm@gnu.org>
17689         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17690         Fix :variable handling of mode a symbol not equal to modefun.
17691         Allow named functions to be used as the cdr of :variable.
17693 2012-01-30  Glenn Morris  <rgm@gnu.org>
17695         * emacs-lisp/authors.el (authors-fixed-entries):
17696         Remove reference to deleted file rnewspost.el.
17698 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
17700         * window.el (window-with-parameter): Remove unused variable `windows'.
17701         (window--side-check): Remove unused variable `code'.
17702         (window--resize-siblings): Remove unused variable `first'.
17703         (adjust-window-trailing-edge): Remove unused variable `failed'.
17704         (window-deletable-p, window--delete): Remove unused variable `buffer'.
17705         Use `let', not `let*'.
17706         (balance-windows-2): Remove unused variable `found'.
17707         (window--state-put-2): Remove unused variable `splits'.
17708         (window-state-put): Remove unused variable `selected'.
17709         (same-window-p): Use `string-match-p'.
17710         (display-buffer-assq-regexp): Remove unused variable `value'.
17711         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17712         Mark argument ALIST as ignored.
17713         (pop-to-buffer): Remove unused variable `old-window'.
17715 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
17717         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17718         and .lzma compressed files.
17720 2012-01-29  Chong Yidong  <cyd@gnu.org>
17722         * frame.el (window-system-default-frame-alist): Doc fix.
17724         * dynamic-setting.el (font-setting-change-default-font): Don't
17725         change the default face if SET-FONT argument is non-nil (Bug#9982).
17727 2012-01-29  Samuel Bronson  <naesten@gmail.com>
17729         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17731 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
17733         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17734         breakpoints in files outside current directory (Bug#6098).
17736 2012-01-29  Chong Yidong  <cyd@gnu.org>
17738         * progmodes/python.el: Require ansi-color at top-level.
17740         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17741         Define and use in Emacs Lisp mode (Bug#9360).
17742         (lisp-mode-abbrev-table): Add doc.
17743         (lisp-mode-variables): Don't set local-abbrev-table.
17744         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17746 2012-01-28  Roland Winkler  <winkler@gnu.org>
17748         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17750 2012-01-28  Roland Winkler  <winkler@gnu.org>
17752         * textmodes/bibtex.el (bibtex-entry-alist): New function.
17753         (bibtex-set-dialect): Use it.  Either set global values of
17754         dialect-dependent variables or bind these variables buffer-locally
17755         (Bug#10254).
17756         (bibtex-mode): Call bibtex-set-dialect via
17757         hack-local-variables-hook.
17758         (bibtex-dialect): Update docstring.
17759         Add safe-local-variable predicate.
17760         (bibtex-entry-alist, bibtex-field-alist): Initialize via
17761         bibtex-set-dialect.
17762         (bibtex-mode-map): Define menu for each dialect.
17763         (bibtex-entry): Fix docstring.
17765 2012-01-28  Chong Yidong  <cyd@gnu.org>
17767         * eshell/esh-arg.el (eshell-quote-argument): New function.
17769         * eshell/esh-ext.el (eshell-invoke-batch-file):
17770         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17771         first arg to eshell-parse-command (Bug#10523).
17773 2012-01-28  Drew Adams  <drew.adams@oracle.com>
17775         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17776         `default-directory' is non-nil.
17778 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
17780         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17781         line that displays system-configuration-options.  (Bug#9924)
17783 2012-01-28  Drew Adams  <drew.adams@oracle.com>
17785         * descr-text.el (describe-char): Show information about POS, in
17786         addition to information about the character at POS.  Improve and
17787         update the doc string.  Change "code point" to "code point in
17788         charset", to avoid confusion with the character's Unicode code
17789         point shown above that.  (Bug#10129)
17791 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
17793         * descr-text.el (describe-char): Show the raw character, not only
17794         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
17795         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17796         for the reasons.
17798 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
17800         * emacs-lisp/package.el (package-install):
17801         Run package-refresh-contents if there is no archive yet (Bug#9798).
17803 2012-01-28  Chong Yidong  <cyd@gnu.org>
17805         * emacs-lisp/package.el (package-maybe-load-descriptor):
17806         New function, split from package-maybe-load-descriptor.
17807         (package-maybe-load-descriptor): Use it.
17808         (package-download-transaction): Fully load required packages
17809         inside the loop, so that `require' calls work (Bug#10593).
17810         (package-install): No need to call package-initialize now.
17812 2012-01-28  Chong Yidong  <cyd@gnu.org>
17814         * simple.el (deactivate-mark): Doc fix (Bug#8614).
17816         * tooltip.el (tooltip-mode): Doc fix.
17817         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17819         * frame.el (set-cursor-color): Doc fix (Bug#352).
17821         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17822         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17824         * cus-edit.el (custom-buffer-create-internal): Fix search button
17825         action (Bug#10542).
17826         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17828 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
17830         * dired.el (dired-mark-files-regexp):
17831         Include any subdirectory components.  (Bug#10445)
17833 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
17835         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17836         Handle [host]:port syntax.  (Bug#10533)
17838 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
17840         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17842 2012-01-26  Glenn Morris  <rgm@gnu.org>
17844         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17845         * term.el (term-raw-escape-map): Use Control-X-prefix.
17846         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
17848 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
17850         * window.el (window-state-get, window--state-get-1): Don't deal
17851         with fixed-sizeness of windows.  Simplify code.
17853 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
17855         * window.el (window--state-get-1, window--state-put-2):
17856         Don't save and restore the mark.
17858 2012-01-25  Chong Yidong  <cyd@gnu.org>
17860         * custom.el (custom-variable-p): Doc fix.
17862 2012-01-25  Glenn Morris  <rgm@gnu.org>
17864         * dired.el (dired-goto-file): Handle some of the more common
17865         characters that `ls -b' escapes.  (Bug#10596)
17867         * progmodes/compile.el (compilation-next-error-function):
17868         Respect compilation-first-column in the "*compilation*" buffer.
17869         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
17871         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
17873 2012-01-24  Glenn Morris  <rgm@gnu.org>
17875         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
17877 2012-01-24  Julien Danjou  <julien@danjou.info>
17879         * color.el (color-rgb-to-hsl): Fix value computing.
17880         (color-hue-to-rgb): New function.
17881         (color-hsl-to-rgb): New function.
17882         (color-clamp, color-saturate-hsl, color-saturate-name)
17883         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17884         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17886 2012-01-24  Glenn Morris  <rgm@gnu.org>
17888         * vc/vc-rcs.el (vc-rcs-create-tag):
17889         * vc/vc-sccs.el (vc-sccs-create-tag):
17890         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
17892 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
17894         * eshell/esh-util.el (eshell-read-hosts-file):
17895         Skip comment lines.  (Bug#10549)
17897         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
17899 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
17901         * subr.el (display-delayed-warnings): Doc fix.
17902         (collapse-delayed-warnings): New function to collapse identical
17903         adjacent warnings.
17904         (delayed-warnings-hook): Add it.
17906 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
17908         * net/tramp.el (tramp-action-login): Set connection property "login-as".
17910         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17911         (tramp-default-user-alist): Don't add "pscp".
17912         (tramp-do-copy-or-rename-file-out-of-band): Use connection
17913         property "login-as", if set.  (Bug#10530)
17915 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
17917         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17918         "plink1" and "psftp".  (Bug#10530)
17920 2012-01-21  Kenichi Handa  <handa@m17n.org>
17922         * international/mule-cmds.el (prefer-coding-system): Show a
17923         warning message if the default value of file-name-coding-system
17924         was not changed.
17926 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
17928         * windmove.el (windmove-reference-loc):
17929         Fix windmove-reference-loc miscalculation.
17931 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
17933         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17934         default unit.
17936 2012-01-21  Glenn Morris  <rgm@gnu.org>
17938         * international/mule.el (auto-coding-alist): Add .tbz.
17940         * files.el (local-enable-local-variables): Doc fix.
17941         (inhibit-local-variables-regexps): Rename from
17942         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
17943         Doc fix.  Add some extensions from auto-coding-alist.
17944         (inhibit-local-variables-suffixes):
17945         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
17946         (inhibit-local-variables-p):
17947         New function, extracted from set-auto-mode-1.
17948         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
17949         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
17950         (hack-local-variables): Doc fix.  Make the mode-only case
17951         respect enable-local-variables and friends.
17952         Respect inhibit-local-variables-regexps for file-locals, but
17953         not for directory-locals.
17954         (set-visited-file-name):
17955         Take account of inhibit-local-variables-regexps.
17956         Whether it applies may change as the file name is changed.
17957         * jka-cmpr-hook.el (jka-compr-install):
17958         * jka-compr.el (jka-compr-uninstall):
17959         Update for inhibit-first-line-modes-suffixes name change.
17961 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
17963         * help-macro.el (make-help-screen): Temporarily restore original
17964         binding for minor-mode-map-alist (Bug#10454).
17966 2012-01-19  Julien Danjou  <julien@danjou.info>
17968         * color.el (color-name-to-rgb): Use the white color to find the max
17969         color component value and return correctly computed values.
17970         (color-name-to-rgb): Add missing float conversion for max value.
17972 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
17974         * window.el (window--state-get-1, window-state-get): Do not use
17975         special state value for window-persistent-parameters.
17976         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
17977         (window--state-put-2): Reset all window parameters to nil before
17978         assigning values of persistent parameters.
17980 2012-01-18  Alan Mackenzie  <acm@muc.de>
17982         Eliminate sluggishness and hangs in fontification of "semicolon
17983         deserts".
17985         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17986         Change value 10000 -> 3000.
17987         (c-state-safe-place): Reformulate so it doesn't stack up an
17988         infinite number of wrong entries in c-state-nonlit-pos-cache.
17989         (c-determine-limit-get-base, c-determine-limit): New functions to
17990         determine backward search limits disregarding literals.
17991         (c-find-decl-spots): Amend commenting.
17992         (c-cheap-inside-bracelist-p): New function which detects "={".
17994         * progmodes/cc-fonts.el
17995         (c-make-font-lock-BO-decl-search-function): Give a limit to a
17996         backward search.
17997         (c-font-lock-declarations): Fix an occurrence of point being
17998         undefined.  Check additionally for point being in a bracelist or
17999         near a macro invocation without a semicolon so as to avoid a
18000         fruitless time consuming search for a declarator.  Give a more
18001         precise search limit for declarators using the new
18002         c-determine-limit.
18004 2012-01-18  Glenn Morris  <rgm@gnu.org>
18006         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
18007         (set-auto-mode): Doc fixes.
18009 2012-01-17  Glenn Morris  <rgm@gnu.org>
18011         * isearch.el (search-nonincremental-instead): Fix doc typo.
18013         * dired.el (dired-insert-directory): Handle newlines in directory name.
18014         (dired-build-subdir-alist): Unescape newlines in directory name.
18016 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
18018         * net/tramp.el (tramp-local-end-of-line): New defcustom.
18019         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
18020         (tramp-action-terminal): Use it.  (Bug#10530)
18022 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18024         * minibuffer.el (completion--replace): Strip properties (bug#10062).
18026 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
18028         * window.el (window-state-ignored-parameters): Remove variable.
18029         (window--state-get-1): Rename argument MARKERS to IGNORE.
18030         Handle persistent window parameters.  Make copy of clone-of
18031         parameter only if requested.  (Bug#10348)
18032         (window--state-put-2): Install a window parameter only if it has
18033         a non-nil value or an existing parameter shall be overwritten.
18035 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
18037         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
18039 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
18041         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
18042         don't pass the (nil) value of `upnode' to string-match.
18044 2012-01-14  Chong Yidong  <cyd@gnu.org>
18046         * startup.el (command-line): Fix X resource class for cursorColor.
18047         Fix values recognized by the cursorBlink resource.
18049 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
18051         * epg.el (epg--make-temp-file): Avoid permission race condition
18052         when running on old Emacs versions (bug#10403).
18054 2012-01-14  Glenn Morris  <rgm@gnu.org>
18056         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
18058 2012-01-13  Alan Mackenzie  <acm@muc.de>
18060         Fix filling for when filladapt mode is enabled.
18062         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
18063         c-mask-paragraph, pass in `fill-paragraph' rather than
18064         `fill-region-as-paragraph'.  (This is a reversion of a previous
18065         change.)
18066         * progmodes/cc-mode.el (c-basic-common-init):
18067         Make fill-paragraph-handle-comment buffer local and set it to nil.
18069 2012-01-13  Glenn Morris  <rgm@gnu.org>
18071         * dired.el (dired-switches-escape-p): New function.
18072         (dired-insert-directory): Use dired-switches-escape-p.
18073         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
18075         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
18077 2012-01-12  Glenn Morris  <rgm@gnu.org>
18079         * mail/sendmail.el (mail-mode): Update paragraph-separate for
18080         changes in adaptive-fill-regexp.  (Bug#10276)
18082 2012-01-11  Alan Mackenzie  <acm@muc.de>
18084         Fix Emacs bug #10463 - put `widen's around the critical spots.
18086         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
18087         widen around each invocation of c-state-pp-to-literal.  Remove an
18088         unused let variable.
18090 2012-01-11  Glenn Morris  <rgm@gnu.org>
18092         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
18093         Doc fix.
18095 2012-01-10  Chong Yidong  <cyd@gnu.org>
18097         * net/network-stream.el (network-stream-open-starttls):
18098         Avoid emitting a confusing error message when the server gives a bad
18099         response to the capability command.
18101 2012-01-10  Glenn Morris  <rgm@gnu.org>
18103         * mail/unrmail.el (unrmail): Tweak previous change.
18105 2012-01-09  Chong Yidong  <cyd@gnu.org>
18107         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
18109 2012-01-08  Alan Mackenzie  <acm@muc.de>
18111         Optimize font locking in long enum definitions.
18113         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
18114         arm to a cond form to handle enums.
18115         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
18116         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
18118 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18120         * files.el (move-file-to-trash): Preserve default file modes on error.
18121         (Bug#10401)
18123 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18125         * faces.el (set-face-attribute): Clarify the meaning of the nil
18126         frame (bug#10294).
18128         * subr.el (with-selected-frame): Mention that the selected frame
18129         is restored (bug#9980).
18131         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
18132         (bug#9759).
18134         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
18135         (password-read): Don't autoload unused function.
18137 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
18139         * progmodes/which-func.el (which-func-mode): Turn into a
18140         non-interactive function and mark as obsolete (bug#10428).
18142 2012-01-06  Chong Yidong  <cyd@gnu.org>
18144         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
18145         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
18146         functions, along with 1 and -1.
18148 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
18150         * time.el (display-time-load-average)
18151         (display-time-default-load-average): Doc fixes.  See the thread
18152         starting at
18153         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
18154         for the details.
18156 2012-01-06  Glenn Morris  <rgm@gnu.org>
18158         * mail/unrmail.el (unrmail): Give an explicit error if the input file
18159         has no messages.  (Bug#10377)
18161         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
18162         than Info-edit.  (Bug#10385)
18164         * time.el (display-time-load-average, display-time-next-load-average):
18165         Doc fixes.
18167         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
18168         local setting of buffer-read-only to the input buffer.  (Bug#10419)
18170         * calendar/calendar.el (calendar-mode):
18171         Locally set scroll-margin to 0.  (Bug#10379)
18173 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
18175         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
18177 2012-01-05  Glenn Morris  <rgm@gnu.org>
18179         * eshell/em-unix.el (diff-no-select): Autoload it.
18180         (eshell/diff): Use diff-no-select.  (Bug#10420)
18182 2012-01-05  Chong Yidong  <cyd@gnu.org>
18184         * shell.el (shell-dynamic-complete-functions): Revert last change.
18185         (shell-command-completion-function): New function.
18186         (shell-completion-vars): Use it to implement
18187         shell-completion-execonly (Bug#10417).
18189         * custom.el (enable-theme): Don't set custom-safe-themes.
18191         * cus-theme.el (custom-theme-merge-theme):
18192         Ignore custom-enabled-themes and custom-safe-themes.
18194 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
18196         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
18197         first prompt in `sql-interacive-mode'.
18198         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
18199         keywords.
18200         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
18201         (sql-product-interactive): Bug fix: Set `sql-buffer' in
18202         context of original buffer.  Invoke `sql-login-hook'.
18204 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
18206         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
18207         letters in cite-prefix.
18209 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18211         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
18213 2012-01-03  Chong Yidong  <cyd@gnu.org>
18215         * shell.el (shell-dynamic-complete-functions):
18216         Put pcomplete-completions-at-point, so as to try
18217         comint-filename-completion first (Bug#10417).
18219 2012-01-02  Richard Stallman  <rms@gnu.org>
18221         * battery.el (battery-status-function):
18222         Detect when to use battery-yeeloong-sysfs.
18223         (battery-echo-area-format): Add string for Yeeloong.
18224         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
18225         (battery-yeeloong-sysfs): New function.
18227 2012-01-02  Chong Yidong  <cyd@gnu.org>
18229         * dirtrack.el (dirtrack-list): Eliminate unused third element.
18230         (dirtrack): Merge code for handling relative filenames in prompt
18231         from shell-dir-cookie-watcher.
18232         (dirtrack-debug-message): New arg to avoid excess format calls.
18234         * shell.el (shell-dir-cookie-re): Variable deleted.
18235         (shell-dir-cookie-watcher): Function deleted.
18236         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
18237         with dirtrack-mode.
18239 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
18241         * term/w32-win.el (dynamic-library-alist) <gnutls>:
18242         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
18243         libgnutls-26.dll.
18245 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
18247         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
18249 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
18251         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
18252         headers of non-MIME messages, when rmail-enable-mime is non-nil.
18254 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
18256         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
18257         also for alternative shells.
18258         (tramp-open-connection-setup-interactive-shell): Check, whether
18259         the shell is a busybox.
18260         (tramp-send-command): Don't suppress multiple prompts for
18261         busyboxes, it hurts.
18263 2011-12-28  Chong Yidong  <cyd@gnu.org>
18265         * progmodes/gdb-mi.el (gdb-get-source-file-list)
18266         (gdb-get-source-file): Move mode line update to
18267         gdb-get-source-file (Bug#10087).
18269 2011-12-25  Chong Yidong  <cyd@gnu.org>
18271         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
18272         gud-gdb-marker-filter without taking it as an argument.
18273         (gud-gdb-run-command-fetch-lines): Caller changed.
18274         (gud-gdb-completion-function): New variable.
18275         (gud-gdb-completion-at-point): Use it.
18276         (gud-gdb-completions-1): Split from gud-gdb-completions.
18278         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
18279         function as separate arguments.
18280         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
18281         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
18282         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
18283         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
18284         (gdb-stopped, def-gdb-auto-update-trigger)
18285         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
18286         (gdb-get-changed-registers, gdb-get-main-selected-frame):
18287         Callers changed.
18288         (gud-gdbmi-completions): New function.
18289         (gdb): Use it for generating the completion table.
18291 2011-12-24  Alan Mackenzie  <acm@muc.de>
18293         Introduce a mechanism to widen the region used in context font
18294         locking.  Use this to protect declarations from losing their contexts.
18296         * progmodes/cc-langs.el (c-before-font-lock-functions):
18297         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
18298         (c-before-context-fontification-functions): New defvar, a list of
18299         functions to be run just before context (etc.) font locking.
18301         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
18302         New, functionality extracted from
18303         c-neutralize-syntax-in-and-mark-CPP.
18304         (c-in-after-change-fontification): New variable.
18305         (c-after-change): Set c-in-after-change-fontification.
18306         (c-set-fl-decl-start): Rejig its interface, so it can be called
18307         from both after-change and context fontifying.
18308         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
18309         New functions.
18310         (c-standard-font-lock-fontify-region-function): New variable.
18311         (c-font-lock-fontify-region): New function.
18313 2011-12-24  Juri Linkov  <juri@jurta.org>
18315         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
18316         (Bug#10348)
18318 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
18320         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
18321         existence of source file.  (Bug#10325)
18323 2011-12-23  Alan Mackenzie  <acm@muc.de>
18325         Fix unstable fontification inside templates.
18327         * progmodes/cc-langs.el (c-before-font-lock-functions):
18328         Newly created from the singular version.  The (c c++ objc) entry now
18329         additionally has c-set-fl-decl-start.  The other languages (apart
18330         from AWK) have that as a single entry.
18332         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18333         The functionality for "local" declarations has been extracted to
18334         c-set-fl-decl-start.
18336         * progmodes/cc-mode.el (c-common-init, c-after-change):
18337         Changes due to pluralisation of c-before-font-lock-functions.
18338         (c-set-fl-decl-start): New function, extracted from
18339         c-font-lock-enclosing-decls and enhanced.
18341 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
18343         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
18345 2011-12-22  Juri Linkov  <juri@jurta.org>
18347         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
18349 2011-12-22  Chong Yidong  <cyd@gnu.org>
18351         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
18353 2011-12-21  Drew Adams  <drew.adams@oracle.com>
18355         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
18357 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
18359         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
18361 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
18363         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
18364         highlighting and support.  Fix up comments for capitalization.
18365         (cfengine-mode-debug): New var.
18366         (cfengine3-mode): Change the modeline indicator to "CFE3".
18367         (cfengine3-font-lock-keywords): Improve defun highlighting.
18368         (cfengine2-actions): Rename from `cfengine-actions'.
18369         (cfengine2-font-lock-keywords): Rename from
18370         `cfengine-font-lock-keywords'.
18371         (cfengine2-imenu-expression): Rename from
18372         `cfengine-imenu-expression'.
18373         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
18374         (cfengine2-beginning-of-defun): Rename from
18375         `cfengine-beginning-of-defun'.
18376         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
18377         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
18378         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
18379         modeline indicator to "CFE2".
18380         (cfengine-mode): Defalias to `cfengine-auto-mode'.
18381         (cfengine-mode-abbrevs): Mark obsolete.
18383 2011-12-21  Chong Yidong  <cyd@gnu.org>
18385         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
18386         filename argument.
18388 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
18390         * window.el (window-normalize-buffer-to-display): Remove.
18391         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
18393 2011-12-19  Chong Yidong  <cyd@gnu.org>
18395         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
18396         Don't signal an error in a predicate function; return non-nil.
18397         (vc-dir-mark-file): Move the error here.
18398         (vc-dir-mark-unmark): If acting on the region, keep going if one
18399         of the entries cannot be marked/unmarked.
18400         (vc-dir-mark-all-files): If current entry is a directory, mark
18401         only child files, as documented.
18403 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
18405         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
18406         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
18407         addition.
18409 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
18411         * term/ns-win.el (ns-get-selection-internal)
18412         (ns-store-selection-internal): Declare.
18413         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
18414         Declare as obsolete.
18415         (ns-get-pasteboard, ns-paste-secondary):
18416         Use ns-get-selection-internal.
18417         (ns-set-pasteboard, ns-copy-including-secondary):
18418         Use ns-store-selection-internal.
18420 2011-12-17  Chong Yidong  <cyd@gnu.org>
18422         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
18423         (vc-deduce-fileset): Doc fix.
18425 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
18427         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
18429 2011-12-13  Sam Steingold  <sds@gnu.org>
18431         * man.el (Man-getpage-in-background): When running under a
18432         window-system, ignore $MANWIDTH and $COLUMNS.
18434 2011-12-15  Kenichi Handa  <handa@m17n.org>
18436         * language/ethio-util.el: Change coding tag to utf-8-emacs.
18437         (setup-ethiopic-environment-internal): Comment out key-binding for
18438         ethio-toggle-punctuation.
18440 2011-12-13  Alan Mackenzie  <acm@muc.de>
18442         Add the switch statement to AWK Mode.
18444         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18445         "default" to the keywords regexp.
18447         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18448         expression as the rest.
18449         (c-nonlabel-token-key): Allow string literals for AWK.
18450         Refactor for the other modes.
18452         Large brace-block initialisation makes CC Mode slow: Fix.
18453         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18454         routines.  Limit backward searching in c-font-lock-enclosing.decl.
18456         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18457         pp-state and literal type in addition to the limits.
18458         (c-state-safe-place): New defun, extracted from c-state-literal-at.
18459         (c-state-literal-at): Use the above new defun.
18460         (c-slow-in-literal, c-fast-in-literal): Remove.
18461         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18463         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18464         being in a literal.  Add a limit for backward searching.
18466         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18467         c-slow-in-literal.
18469 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18471         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18473 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
18475         * window.el (delete-other-windows): Use correct frame in call to
18476         window-with-parameter.
18478 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
18480         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18481         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18482         (makefile-gmake-statements, makefile-makepp-statements):
18483         Use it and add new makepp keywords.
18484         (makefile-makepp-font-lock-keywords): Add new patterns.
18485         (makefile-match-function-end): Match new [...] and [[...]].
18487 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
18489         * ses.el (ses-call-printer-return, ses-cell-property-get)
18490         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18491         (ses-create-cell-variable, ses-reset-header-string)
18492         (ses-cell-set-formula, ses-repair-cell-reference-all)
18493         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18494         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18495         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18496         (ses-aset-with-undo, ses-load, ses-truncate-cell)
18497         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18498         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18499         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18500         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18501         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18502         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18503         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18504         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18506 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
18508         * ses.el: The overall change is to add cell renaming, that is
18509         setting fancy names for cell symbols other than name matching
18510         "\\`[A-Z]+[0-9]+\\'" regexp .
18511         (ses-create-cell-variable): New defun.
18512         (ses-relocate-formula): Relocate formulas only for cells the
18513         symbols of which are not renamed, i.e. symbols whose names do not
18514         match regexp "\\`[A-Z]+[0-9]+\\'".
18515         (ses-relocate-all): Relocate values only for cells the symbols of
18516         which are not renamed.
18517         (ses-load): Create cells variables as the (ses-cell ...) are read,
18518         in order to check row col consistency with cell symbol name only
18519         for cells that are not renamed.
18520         (ses-replace-name-in-formula): New defun.
18521         (ses-rename-cell): New defun.
18523 2011-12-11  Chong Yidong  <cyd@gnu.org>
18525         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18526         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18528 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
18530         * window.el (other-window): Fix docstring.
18532 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
18534         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18535         `from' or `to' address before taking its substring.
18536         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18537         encoded name is chopped in the middle of the encoded string, and
18538         thus displayed encoded.
18540 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
18542         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18544 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
18546         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
18547         to use texinfo-update-node and commands that call it if the
18548         Texinfo file uses @node lines without next/prev/up pointers.
18549         Correct outdated description about texinfo-master-menu.
18550         (texinfo-all-menus-update, texinfo-master-menu)
18551         (texinfo-update-node, texinfo-every-node-update)
18552         (texinfo-multiple-files-update): Doc fix.  Warn against updating
18553         all the @node lines.
18554         (texinfo-master-menu): Only call texinfo-update-node if the prefix
18555         argument is numeric.  Explain better in the doc string what the
18556         function really does.
18557         (texinfo-insert-master-menu-list): Improve the error message
18558         displayed if there's no menu in the Top node.
18559         (Bug#2975)  See also this thread:
18560         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18562 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
18564         * speedbar.el (speedbar-supported-extension-expressions):
18565         Add .adb and .ads, commonly used for Ada source code (bug#10256).
18567 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
18569         * printing.el (pr-mode-alist):
18570         * simple.el (filter-buffer-substring-functions)
18571         (completion-list-insert-choice-function):
18572         * window.el (window-with-parameter, window-atom-root)
18573         (window-sides-slots, window-size-fixed, window-min-delta)
18574         (window-max-delta, window--resize-mini-window)
18575         (window--resize-child-windows-normal, window-tree)
18576         (delete-other-windows, quit-window, split-window)
18577         (display-buffer-record-window, special-display-buffer-names)
18578         (special-display-regexps, special-display-popup-frame)
18579         (same-window-p, split-window-sensibly)
18580         (display-buffer-overriding-action, display-buffer-alist)
18581         (display-buffer-base-action, display-buffer, switch-to-buffer)
18582         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18583         (fit-window-to-buffer, recenter-positions)
18584         (mouse-autoselect-window-state, mouse-autoselect-window-select):
18585         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18586         and remove unneeded backslashes in docstrings.
18588 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18590         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18592         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18593         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18594         end in ".mk".
18595         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18596         when reading the makefile (bug#10116).
18598 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18600         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18601         (bug#10116).
18603 2011-12-06  Glenn Morris  <rgm@gnu.org>
18605         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18607 2011-12-06  Chong Yidong  <cyd@gnu.org>
18609         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18611 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
18613         * textmodes/table.el (table-shorten-cell): Fix typo.
18615 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
18617         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18619 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
18621         * descr-text.el (describe-char): Fix display of strong
18622         right-to-left characters and directional embeddings and overrides.
18624         * simple.el (what-cursor-position): Fix display of codepoints of
18625         strong right-to-left characters.
18627 2011-12-05  Chong Yidong  <cyd@gnu.org>
18629         * faces.el (read-color): Doc fix.
18631 2011-12-05  Glenn Morris  <rgm@gnu.org>
18633         * align.el (align--set-marker): Add doc-string.
18634         Don't try to move something that is not a marker.  (Bug#10216)
18636 2011-12-04  Glenn Morris  <rgm@gnu.org>
18638         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18639         overly zealous deletion of trailing whitespace.
18641 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
18643         * server.el (server-delete-client): On Windows, do not try to delete
18644         the only terminal.
18645         (server-process-filter): On Windows, treat requests for a tty frame as
18646         if they were for a GUI frame if the running server is in GUI mode.
18648 2011-12-03  Glenn Morris  <rgm@gnu.org>
18650         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
18652 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18654         * electric.el: Streamline electric-indent's hook.
18655         (electric-indent-chars): Revert to simple list.
18656         (electric-indent-functions): New var.
18657         (electric-indent-post-self-insert-function): Use it.
18659         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18660         there's no inferior buffer (bug#10196).
18661         (prolog-consult-compile): Don't use toggle-read-only.
18663 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
18665         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18666         interrupt.  (Bug#10187)
18668 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18670         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18671         (bug#9160).
18673         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18674         (bug#10191).
18676 2011-12-02  Juri Linkov  <juri@jurta.org>
18678         * info.el (Info-search): Display "end of manual" when Isearch
18679         reaches the end of single-file Info manual.  (Bug#9918)
18681 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
18683         * isearch.el (isearch-message-prefix): Run the input method part
18684         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
18686 2011-12-02  Juri Linkov  <juri@jurta.org>
18688         * isearch.el (isearch-occur): Use `word-search-regexp' for
18689         `isearch-word'.
18690         (isearch-search-and-update): Add condition for `isearch-word' and
18691         call `word-search-regexp'.  (Bug#10145)
18693 2011-12-01  Glenn Morris  <rgm@gnu.org>
18695         * eshell/em-hist.el (eshell-hist-initialize):
18696         Handle eshell-history-size nil and HISTSIZE set or unset.
18697         (eshell-history-file-name, eshell-history-size): Fix custom type.
18699 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18701         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18703 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
18705         * progmodes/verilog-mode.el (verilog-pretty-expr):
18706         Rework verilog-pretty-expr to handle new assignment operators in system
18707         verilog, such as += *= and the like.
18708         (verilog-assignment-operator-re): Regular expression to find the
18709         assigment operator in a verilog assignment.
18710         (verilog-assignment-operation-re): Regular expression to find an
18711         assignment statement for pretty-expr.
18712         (verilog-in-attribute-p): Query returns true if point is in an
18713         attribute context; used to skip these for expression line up from
18714         pretty-expr.
18715         (verilog-in-parameter-p): Query returns true if point is in an
18716         parameter definition context; used to skip these for expression
18717         line up from pretty-expr.
18718         (verilog-in-parenthesis-p): Query returns true if point is in a
18719         parenthetical expression, specifically ( ) but not [ ] or { };
18720         used by pretty-expr.
18721         (verilog-just-one-space): If there is no space, don't add one.
18722         (verilog-get-lineup-indent-2): Specifically skip just attribute
18723         contexts for expression lineup, rather than skipping all
18724         parenthetical expressions.
18725         (verilog-calculate-indent): Fix comment, and fix indent.
18726         (verilog-do-indent): Indent declarations in lists (suggested by
18727         Joachim Lechner).
18728         (verilog-mode-abbrev-table): Populate abbrev mode with the various
18729         skeleton items.
18730         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18731         by Alain Mellan).
18733 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
18735         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18736         parameters with embedded comments.  Reported by Ray Stevens.
18737         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18738         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18739         Reported by Tim Holt.
18740         (verilog-auto): Fix AUTOing a upper module then AUTOing module
18741         instantiated by upper module causing wrong expansion until AUTOed a
18742         second time.  Reported by K C Buckenmaier.
18743         (verilog-diff-auto): Fix showing .* as a difference when
18744         `verilog-auto-star-save' off.  Reported by Dan Dever.
18745         (verilog-auto-reset, verilog-read-always-signals)
18746         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18747         temporary signals in reset list if
18748         verilog-auto-reset-blocking-in-non is nil, and match assignment
18749         style to each signal's assignment type, bug381.
18750         Reported by Thomas Esposito.
18751         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18752         (verilog-uvm-statement-re): Support UVM indentation and
18753         highlighting, with old OVM keywords only.
18754         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18755         Support AUTOTIEOFF creating non-wire data types.
18756         Suggested by Jonathan Greenlaw.
18757         (verilog-auto-insert-lisp, verilog-delete-to-paren)
18758         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18759         (verilog-inject-sense, verilog-read-inst-pins)
18760         (verilog-read-sub-decls, verilog-read-sub-decls-line):
18761         Fix mismatching parenthesis inside commented out code when deleting
18762         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
18763         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18764         non-numeric vector width.  Reported by Alex Reed.
18765         (verilog-auto-ascii-enum): Add "onehot" option to work around not
18766         detecting signals with parameter widths.  Reported by Alex Reed.
18767         (verilog-auto-delete-trailing-whitespace):
18768         With `verilog-auto-delete-trailing-whitespace' remove trailing
18769         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
18770         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18771         Fix verilog-scan-cache corruption when running user AUTO expansion
18772         hooks that call indentation routines.
18773         (verilog-simplify-range-expression): Fix typo ignoring lower case
18774         identifiers.
18775         (verilog-delete-auto): Fix delete-autos to also remove user created
18776         automatics, as long as they start with AUTO.
18777         (verilog-batch-diff-auto, verilog-diff-auto)
18778         (verilog-diff-function): Add `verilog-diff-auto' and bind to
18779         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
18780         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18781         (verilog-in-paren-quick, verilog-re-search-backward-quick)
18782         (verilog-re-search-forward-quick, verilog-syntax-ppss):
18783         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18784         is disabled and its cache will get corrupt, causing AUTOS not to
18785         expand.  Instead use only -quick functions.
18786         (verilog-scan-region): Fix scanning over escaped quotes.
18787         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18788         (verilog-re-search-backward-quick)
18789         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18790         related functions now ignore strings, to fix misparsing of strings
18791         with magic comments embedded in them.
18792         (verilog-read-auto-template):
18793         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18794         Reported by Brad Dobbie.
18795         (verilog-read-auto-template):
18796         Fix 'verilog-auto-inst-template-numbers' with comments.
18797         Reported by Brad Dobbie.
18798         (verilog-auto-inst, verilog-auto-inst-param)
18799         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18800         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
18801         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18802         debugging templates without merge conflicts, bug357.
18803         Reported by Brad Dobbie.
18804         (verilog-read-auto-template):
18805         Fix verilog-auto-inst-template-numbers with multiple templates.
18806         Reported by Brad Dobbie.
18807         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18808         abbrevs so user won't be asked to save.
18809         (verilog-read-auto-lisp-present): Fix to start at beginning of
18810         buffer in case called outside of verilog-auto.
18811         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18812         to "X-2".  Reported by Matthew Myers.
18813         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18814         all inputs from module templates.  Reported by Leith Johnson.
18815         (verilog-module-inside-filename-p): Fix locating programs as with
18816         modules.
18817         (verilog-auto-inst-port): Fix vl-width expressions when using
18818         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
18819         (verilog-decls-get-regs, verilog-decls-get-signals,
18820         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18821         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18822         verilog-read-decls): Combine reg and wire structures into one var
18823         structure to represent SystemVerilog concepts.
18824         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18825         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18826         (verilog-auto-wire-type, verilog-insert-definition):
18827         Add verilog-auto-wire-type and AUTOLOGIC to support using
18828         SystemVerilog "logic" keyword instead of "wire"/"reg".
18829         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18830         to declares outputs that also have assignments (presumably in an
18831         ifdef or generate if so there's not a driver conflict).
18832         Reported by Matthew Myers.
18833         (verilog-auto-declare-nettype, verilog-insert-definition):
18834         Add verilog-auto-declare-nettype to fix declarations using
18835         `default_nettype none.  Reported by Julian Gorfajn.
18836         (verilog-read-always-signals-recurse, verilog-read-decls)
18837         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18838         malformed end statement, bug325.  Reported by Joshua Wise and
18839         Andrew Drake.
18840         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18841         (verilog-inst-comment-re): Fix not deleting Interfaced comment
18842         when expanding .* in interfaces, bug320.
18843         Reported by Pierre-David Pfister.
18844         (verilog-read-module-name): Fix import statements between module
18845         name and open parenthesis, bug317.
18846         Reported by Pierre-David Pfister.
18847         (verilog-simplify-range-expression): Fix simplification of
18848         multiplications inside AUTOWIRE connections, bug303.
18849         (verilog-auto-inst-port): Support parameter expansion in
18850         multidimensional arrays.
18851         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18852         after "assert property".  Reported by Julian Gorfajn.
18853         (verilog-simplify-range-expression): Fix "couldn't merge" errors
18854         with multiplication, bug303.
18855         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18856         Reported by Jan Frode Lonnum.
18858 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
18860         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18861         (hfy-shell-file-name, hfy-shell):
18862         * international/fontset.el (x-decompose-font-name): Fix typos.
18864 2011-11-29  Ken Brown  <kbrown@cornell.edu>
18866         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18867         (gdb-version): Remove defvar.
18868         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18869         (gdb-gud-context-command, gdb-non-stop-handler)
18870         (gdb-current-context-command, gdb-stopped): Use it.
18871         (gdb-init-1): Enable pretty printing here.
18872         (gdb-non-stop-handler): Don't enable pretty-printing here.
18873         Check to see if the target supports non-stop mode; if not, turn off
18874         non-stop mode.  Use the following.
18875         (gdb-check-target-async): New defun.
18876         (gud-watch, gdb-stopped): Fix whitespace.
18877         (gdb-get-source-file): Don't try to display the source file if
18878         `gdb-main-file' is nil.
18880 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18882         * align.el: Try to generate fewer markers (bug#10047).
18883         (align--set-marker): New macro.
18884         (align-region): Use it.
18886 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18888         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18890 2011-11-29  Chong Yidong  <cyd@gnu.org>
18892         * indent.el (indent-for-tab-command, indent-according-to-mode):
18893         Doc fix.
18894         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
18896 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
18898         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18899         aware of remote file names.  (Bug#10124)
18901 2011-11-29  Chong Yidong  <cyd@gnu.org>
18903         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18905 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18907         * files.el (find-file): Don't use force-same-window (bug#10144).
18908         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18909         use pop-to-buffer if the selected window can't be used.
18910         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18912 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
18914         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18915         special-mode-map.
18917 2011-11-28  Chong Yidong  <cyd@gnu.org>
18919         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18921 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
18923         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18924           gdb-get-source-file-list on gdb-create-source-file-list.
18926 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
18928         * whitespace.el (whitespace-newline): Use a different foreground
18929         color for 16-color light-background displays.
18931 2011-11-24  Chong Yidong  <cyd@gnu.org>
18933         * window.el (display-buffer--special-action): Doc fix.
18935 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
18937         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18938         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18939         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18940         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18941         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18942         (avl-tree-stack-first):
18943         * emacs-lisp/cconv.el (cconv--analyse-use):
18944         * net/gnutls.el (gnutls-negotiate): Fix typos.
18946 2011-11-24  Glenn Morris  <rgm@gnu.org>
18948         * lpr.el (lpr-windows-system, lpr-lp-system):
18949         * mail/binhex.el (binhex-begin-line):
18950         * progmodes/grep.el (grep-history, grep-find-history):
18951         * textmodes/flyspell.el:
18952         * vc/pcvs-defs.el (cvs-global-menu):
18953         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18954         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18955         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18957         * net/tls.el: Fix case of "GnuTLS".
18959         * paths.el (rmail-file-name): Format doc-string for make-docfile.
18961         * version.el (emacs-build-system): Give it a doc-string.
18963 2011-11-24  Juri Linkov  <juri@jurta.org>
18965         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18967 2011-11-24  Glenn Morris  <rgm@gnu.org>
18969         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18970         if called on a non-mime message just toggle the headers.  (Bug#8006)
18972 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
18974         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18975         (allout-lead-with-comment-string, allout-structure-deleted-hook)
18976         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18977         (allout-rebullet-heading, allout-open-sibtopic)
18978         (allout-toggle-current-subtree-encryption)
18979         (allout-toggle-subtree-encryption, allout-encrypt-string)
18980         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18981         (allout-distinctive-bullets-string, allout-auto-activation):
18982         * window.el (window-normalize-buffer-to-display):
18983         * progmodes/verilog-mode.el (verilog-batch-indent):
18984         * textmodes/bibtex.el (bibtex-field-braces-opt)
18985         (bibtex-field-strings-opt):
18986         * vc/cvs-status.el (cvs-tree-merge):
18987         Fix typos.
18989 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
18991         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18992         `non-essential' to t, in order to avoid remote connections.
18994 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
18996         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18997         On MS-DOS and MS-Windows, compare with loaddefs.el
18998         case-insensitively.
19000 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
19002         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
19004 2011-11-23  Glenn Morris  <rgm@gnu.org>
19006         * paths.el (rmail-file-name): Reformat the doc-string so that it
19007         is picked up.
19009         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
19010         (rmail-auto-file): Ignore case in the "special" field names,
19011         as mail-fetch-field does for all others.
19013         * mail/rmail.el (rmail-forward):
19014         * mail/rmailkwd.el (rmail-set-label):
19015         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
19016         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
19018         * mail/rmail.el (rmail-current-message): Doc fix.
19020         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
19022 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19024         * server.el (server-eval-and-print): Allow C-g (bug#6585).
19026 2011-11-22  Glenn Morris  <rgm@gnu.org>
19028         * mail/rmailmm.el (test-rmail-mime-handler)
19029         (test-rmail-mime-bulk-handler)
19030         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
19032 2011-11-21  Juri Linkov  <juri@jurta.org>
19034         * calc/calc.el (calc-read-key-sequence):
19035         Let-bind `input-method-function' to nil.  (Bug#10018)
19037 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19039         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
19040         Tell the caller that the next line needs recomputation, even
19041         though it doesn't start a sexp (bug#10094).
19043 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19045         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
19047 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19049         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19050         Use force-same-window.
19052 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
19054         * descr-text.el (describe-char-unicode-data):
19055         * json.el (json-string-escape):
19056         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
19057         (Footnote-unicode, Footnote-style-p):
19058         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
19060 2011-11-20  Chong Yidong  <cyd@gnu.org>
19062         * window.el (replace-buffer-in-windows): Restore interactive spec.
19064 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19066         * electric.el (electric-indent-mode): Fix last change (too optimistic).
19068         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
19069         (byte-compile-global-not-obsolete-vars): New var.
19070         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
19071         Use it.
19072         (byte-compile-warn-obsolete): Align text with the one in *Help*.
19074 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
19076         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
19077         * progmodes/pascal.el (electric-pascal-equal):
19078         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
19079         * xml.el (xml-substitute-special): Fix typos.
19081 2011-11-20  Glenn Morris  <rgm@gnu.org>
19083         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
19084         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
19085         Doc fixes.
19086         (rmail-decode-mime-charset): Mark as obsolete.
19088         * mail/rmailsum.el (rmail-message-regexp-p-1):
19089         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
19090         Before using mime functions, check they are set.  (Bug#10077)
19092 2011-11-19  Juri Linkov  <juri@jurta.org>
19094         * info.el (Info-finder-find-node): Use `package--builtins' instead
19095         of `package-alist'.  Use node names formed by the pattern "Keyword "
19096         and the keyword name.
19098 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
19100         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
19102 2011-11-19  Juri Linkov  <juri@jurta.org>
19104         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
19105         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
19106         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
19107         `old-history', `old-history-forward'.  Add let-binding
19108         `window-selected'.  Remove calls to `kill-buffer',
19109         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
19110         before calling `Info-find-node', so `Info-find-node-2' will reread
19111         the Info file.  Restore window positions only when `window-selected'
19112         is non-nil.
19114 2011-11-19  Juri Linkov  <juri@jurta.org>
19116         * isearch.el (isearch-lazy-highlight-new-loop):
19117         Remove condition `(not isearch-error)'.  (Bug#9918)
19119         * misearch.el (multi-isearch-search-fun): Add condition
19120         `(not bound)' to ignore lazy-highlighting search.
19121         Add the search-failed message "end of multi" when the end of
19122         multi-sequence is reached.  Uncapitalize the search-failed
19123         message "Repeat for next buffer".
19125         * info.el (Info-search): Add the search-failed message
19126         "end of the manual" when the end of the manual is reached
19127         in Isearch mode.
19129 2011-11-19  Juri Linkov  <juri@jurta.org>
19131         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
19132         Use non-destructive `remove' instead of `delete' because
19133         `Info-history-list' stored to `Info-isearch-initial-history-list' in
19134         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
19136 2011-11-19  Juri Linkov  <juri@jurta.org>
19138         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
19139         to nil instead of binding `search-ring' and `regexp-search-ring'.
19140         (Bug#9185)
19142 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
19144         * simple.el (line-move): Force movement by logical lines for any
19145         hscrolled window, not only when auto-hscroll-mode is on.
19146         (line-move-visual): Update doc string to that effect.  (Bug#10076)
19148 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
19150         * language/european.el (macintosh): Define as alias for mac-roman.
19152 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
19154         * mail/rmailmm.el (rmail-mime-display-header)
19155         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
19156         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
19157         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
19158         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
19159         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
19160         of a raw aref.
19161         (rmail-mime-entity-segment): To get past the tagline, move forward
19162         2 more lines, to account for the 2 empty lines that precede and
19163         follow the line with the buttons.
19164         (rmail-mime-update-tagline): Move one more line, to get past the
19165         empty line that follows the buttons in the tagline.  (Bug#9520)
19167 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
19169         * window.el (window-max-delta-1, window-min-delta-1)
19170         (window-min-size-1, window-state-get-1, window-state-put-1)
19171         (window-state-put-2): Use "window--" prefix.
19173 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19175         * emacs-lisp/smie.el: Improve warnings and conflict detection.
19176         (smie-warning-count): New var.
19177         (smie-set-prec2tab): Use it.
19178         (smie-bnf->prec2): Improve warnings.  Add docstring.
19179         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
19180         (smie-bnf--set-class): New function.
19181         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
19182         corner case.
19184         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
19185         (compilation-error-properties, compilation-move-to-column):
19186         Handle compilation-first-column while in the target buffer.
19188         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
19189         Don't hardcode point-min==1.
19191         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
19192         (eshell-rewrite-for-command): Remove workaround.
19193         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
19194         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
19195         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
19197         * files-x.el (modify-file-local-variable): Obey commenting conventions.
19199 2011-11-17  Glenn Morris  <rgm@gnu.org>
19201         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
19202         Ignore buffer-local generated-autoload-file if it is the same
19203         as the global value.  (Bug#10049)
19205 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
19207         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
19208         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
19209         (reftex-toc-previous-heading, reftex-toc-max-level)
19210         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
19211         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
19212         (reftex-toc-do-promote, reftex-toc-promote-prepare)
19213         (reftex-toc-promote-action, reftex-toc-extract-section-number)
19214         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
19215         (reftex-toc-rename-label, reftex-toc-visit-location)
19216         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
19217         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
19218         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
19219         leaving "*toc*" only for references to the buffer.
19221 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
19223         * window.el (window-resize, delete-window, split-window):
19224         Replace window-splits by window-combination-resize.
19225         * cus-start.el (window-splits): Replace by window-combination-resize.
19227 2011-11-17  Glenn Morris  <rgm@gnu.org>
19229         * progmodes/sh-script.el (sh-font-lock-keywords-var):
19230         Make bash entry derive from sh entry, not shell entry.
19232 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
19234         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
19235         local file name.
19237 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
19239         * menu-bar.el (menu-bar-file-menu):
19240         * printing.el (pr-ps-utility):
19241         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
19242         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
19243         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
19244         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
19245         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
19246         (icalendar--convert-cyclic-to-ical)
19247         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
19248         (icalendar--convert-ical-to-diary)
19249         (icalendar--convert-recurring-to-diary)
19250         (icalendar--convert-non-recurring-all-day-to-diary)
19251         (icalendar-import-format-sample):
19252         * progmodes/idlw-shell.el (idlwave-shell-mode):
19253         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
19254         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
19255         (vhdl-ps-print-init): Fix typos.
19257 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
19259         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
19260         FSF and collapse date sequence, obscure author/maintainer email address
19261         better, remove extra version line, track relocation of author's webpage.
19263         * progmodes/python.el (python-pdbtrack-input-prompt)
19264         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
19265         regular python pdb prompts.  Adjustments shamelessly taken exactly as
19266         suggested in EmacsWiki page (tiny change):
19267         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
19269 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
19271         * expand.el (expand-pos, expand-index, expand-point):
19272         Remove redundant info from docstring.
19273         (expand-add-abbrevs): Doc fix.
19274         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
19275         (expand-sample-perl-mode-expand-list): Fix typos.
19277         * net/dbus.el (dbus-event-member-name):
19278         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
19279         * term/pc-win.el (msdos-create-frame-with-faces):
19280         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
19282 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
19284         * window.el (split-window, window-state-get-1)
19285         (window-state-put-1, window-state-put-2): Rename occurrences of
19286         window-nest to window-combination-limit.
19287         * cus-start.el (window-nest): Rename to window-combination-limit.
19289 2011-11-16  Chong Yidong  <cyd@gnu.org>
19291         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
19292         regexp (Bug#10033).
19294 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19296         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
19297         `completing-read' will remove *Completions* and will preserve
19298         current-buffer for us.
19299         (tmm-add-prompt): Users of *Completions* will always (re)set its
19300         major mode.
19301         (tmm-old-comp-map): Remove.
19303 2011-11-16  Glenn Morris  <rgm@gnu.org>
19305         * mail/rmailedit.el: Require rmailmm when compiling.
19306         (rmail-old-mime-state): New declaration.
19307         (rmail-edit-current-message): If editing a mime message,
19308         edit the "raw" message from the mbox buffer.
19309         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
19311 2011-11-15  Glenn Morris  <rgm@gnu.org>
19313         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
19314         which wasn't being used.  Add optional arg to force given state.
19315         (rmail-mime): Add optional arg to force given state.
19317 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
19319         * allout.el (allout-encryption-plaintext-sanitization-regexps):
19320         * frame.el (display-mm-dimensions-alist):
19321         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
19322         (outline-move-subtree-down):
19323         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
19324         (newsticker--treeview-do-get-node):
19325         * net/quickurl.el (quickurl-list-buffer-name):
19326         * progmodes/dcl-mode.el (dcl-mode):
19327         * progmodes/gdb-mi.el (gdb-mapcar*):
19328         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
19330 2011-11-15  Glenn Morris  <rgm@gnu.org>
19332         * mail/rmail.el (rmail-file-coding-system): It's only ever used
19333         in a boolean sense, so just make it a boolean, and fix the doc.
19334         (rmail-show-mime-function, rmail-mime-feature)
19335         (rmail-require-mime-maybe): Doc fixes.
19336         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
19338         * mail/rmailmm.el (rmail-show-mime): Doc fix.
19340 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
19342         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
19343         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
19344         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
19345         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
19347 2011-11-15  Glenn Morris  <rgm@gnu.org>
19349         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
19350         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
19351         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
19352         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
19353         (rmail-mime, rmail-show-mime): Doc fixes.
19355         * term/ns-win.el (mode-line-frame-identification):
19356         Leave it alone.  (Bug#10051)
19358         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
19360         * mail/rmailout.el (rmail-output-to-rmail-buffer):
19361         Handle empty buffers.  (Bug#9978)
19363 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
19365         * international/mule.el (define-charset):
19366         * mail/rmailmm.el (rmail-mime-find-header-encoding):
19367         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
19368         * progmodes/verilog-mode.el (verilog-backward-token):
19369         * textmodes/ispell.el (lookup-words):
19370         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
19372 2011-11-14  Glenn Morris  <rgm@gnu.org>
19374         * progmodes/executable.el
19375         (executable-make-buffer-file-executable-if-script-p):
19376         Handle file-modes returning nil.
19378         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
19379         message - not necessary, and causes problems.  (Bug#9831)
19381         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
19383         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
19385         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
19386         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
19387         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
19389 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
19391         * window.el (window-resize, delete-window): Use window-splits
19392         variable instead of function.
19393         (window-state-get-1, window-state-put-2, window-state-put):
19394         Don't deal with windows' splits status.
19396 2011-11-12  Glenn Morris  <rgm@gnu.org>
19398         * apropos.el (apropos-do-all, apropos-library, apropos-value)
19399         (apropos-documentation): Doc fixes.
19401 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
19403         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
19404         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
19406 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19408         * electric.el (electric-indent-post-self-insert-function): Make it
19409         possible for a char to only indent in some circumstances.
19410         (electric-indent-mode): Simplify.
19412 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
19414         * window.el (windows-with-parameter): Remove unused function.
19415         (windows-at-side): Rename to window-at-side-list.
19416         (window-check, window-atom-check, window-atom-check-1)
19417         (window-side-check, window-size-ignore, window-size-fixed-1)
19418         (window-in-direction-2): Prefix with "window--".
19419         (window-tree-1): Rename to window--subtree, fix doc-string.
19421 2011-11-11  Glenn Morris  <rgm@gnu.org>
19423         * subr.el (eval-after-load): If FILE is already loaded,
19424         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
19426 2011-11-10  Glenn Morris  <rgm@gnu.org>
19428         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
19429         Call svn via vc-svn-command rather than vc-do-command.
19430         (vc-svn-command): Add --non-interactive.  (Bug#9993)
19431         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19433         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19434         Add toggle-read-only.  (Bug#7292)
19435         * files.el (toggle-read-only): Mention that it should only
19436         be used interactively.  (Bug#10006)
19438 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19440         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19441         Adjust regexp for OCaml warnings.
19443         * electric.el (electric-pair-post-self-insert-function): Let user
19444         turn it off buffer-locally (bug#9932).
19446         * progmodes/python.el (python-beginning-of-statement):
19447         Rewrite (bug#2703).
19449         * progmodes/compile.el: Better handle TABs (bug#9749).
19450         (compilation-internal-error-properties)
19451         (compilation-next-error-function): Obey the target buffer's
19452         compilation-error-screen-columns.
19454 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
19456         * progmodes/meta-mode.el: Remove obsolete comments.
19457         (meta-right-comment-regexp, meta-ignore-comment-regexp):
19458         Fix typos in docstrings.
19460 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
19462         * window.el (window-size-fixed-p): Rewrite doc-string.
19463         (window-resizable-p): Rename to window--resizable-p.  Update callers.
19464         (window--resizable): New function.  Make all callers of
19465         window-resizable call window--resizable instead.
19466         (window-resizable): Rewrite in terms of window--resizable.
19468 2011-11-08  Glenn Morris  <rgm@gnu.org>
19470         * progmodes/delphi.el (delphi-mode-syntax-table):
19471         Let define-derived-mode define a proper syntax table.  (Bug#9994)
19473 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19475         * window.el: Stay away from defsubst.
19476         (window-list-no-nils): Remove.
19477         (window-state-get-1, window-state-get): Use backquote instead.
19479 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
19481         * emacs-lisp/find-func.el (find-function-read):
19482         Fix incorrect use of default argument in `completing-read'.
19484 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
19486         * window.el (display-buffer-function, special-display-function):
19487         Mention display-buffer-record-window but do not mention
19488         help-setup parameter in doc-strings.
19489         (window-min-delta): Fix doc-string typo.
19491 2011-11-08  Chong Yidong  <cyd@gnu.org>
19493         * window.el (window-total-height, window-total-width): Doc fix.
19494         (window-body-size): Move from C.
19495         (window-body-height, window-body-width): Move to C.
19497 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19499         * window.el: Make special-display like display-buffer-alist (bug#9532).
19500         (display-buffer--special-action): New function, morphed
19501         from display-buffer--special.
19502         (display-buffer): Use it to handle special-display-buffers at higher
19503         priority (just after display-buffer-alist).
19504         (display-buffer-fallback-action, display-buffer--other-frame-action)
19505         (pop-to-buffer-same-window): Remove display-buffer--special.
19507 2011-11-07  Glenn Morris  <rgm@gnu.org>
19509         * calendar/cal-menu.el (cal-menu-set-date-title):
19510         Do nothing if not in a calendar.  (Bug#9976)
19512 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19514         * files.el (find-file): Always use selected-window.
19516 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
19518         * window.el (window-combinations): Make WINDOW argument
19519         mandatory.  Rewrite doc-string.
19520         (walk-window-subtree, window-atom-check, window-min-delta)
19521         (window-max-delta, window--resize-this-window)
19522         (window--resize-root-window-vertically, window-tree)
19523         (balance-windows, window-state-put): Rewrite doc-strings as to
19524         not mention the term "subwindow".
19525         (window--resize-subwindows-skip-p): Rename to
19526         window--resize-child-windows-skip-p.
19527         (window--resize-subwindows-normal): Rename to
19528         window--resize-child-windows-normal.
19529         (window--resize-subwindows): Rename to
19530         window--resize-child-windows.
19531         (window-or-subwindow-p): Rename to window--in-subtree-p.
19533 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
19535         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19536         Ensure that mbox format messages end in two newlines (Bug#9974).
19538 2011-11-06  Chong Yidong  <cyd@gnu.org>
19540         * window.el (window-combination-p): Function deleted; its
19541         side-effect is not used in any existing code.
19542         (window-combinations, window-combined-p): Call window-*-child
19543         directly.
19545 2011-11-05  Chong Yidong  <cyd@gnu.org>
19547         * window.el (window-valid-p): Rename from window-any-p.
19548         (window-size-ignore, window-state-get): Callers changed.
19549         (window-normalize-window): Rename from window-normalize-any-window.
19550         New arg LIVE-ONLY, replacing window-normalize-live-window.
19551         (window-normalize-live-window): Delete.
19552         (window-combination-p, window-combined-p, window-combinations)
19553         (walk-window-subtree, window-atom-root, window-min-size)
19554         (window-sizable, window-sizable-p, window-size-fixed-p)
19555         (window-min-delta, window-max-delta, window-resizable)
19556         (window-resizable-p, window-full-height-p, window-full-width-p)
19557         (window-current-scroll-bars, window-point-1, set-window-point-1)
19558         (window-at-side-p, window-in-direction, window-resize)
19559         (adjust-window-trailing-edge, maximize-window, minimize-window)
19560         (window-deletable-p, delete-window, delete-other-windows)
19561         (record-window-buffer, unrecord-window-buffer)
19562         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19563         (quit-window, split-window, window-state-put)
19564         (set-window-text-height, fit-window-to-buffer)
19565         (shrink-window-if-larger-than-buffer): Callers changed.
19567 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
19569         * mail/rmail.el (rmail-simplified-subject): Decode subject with
19570         rfc2047-decode-string.
19571         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19572         warnings.
19574         * window.el (window-body-height, window-body-width): Mention in
19575         the doc string that the return values are in frame's canonical
19576         units.  (Bug#9949)
19578 2011-11-03  Alan Mackenzie  <acm@muc.de>
19580         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19581         change in cc-engine.el.
19583 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19585         * window.el (switch-to-buffer): Use `force-same-window' interactively.
19587 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
19589         * window.el (quit-window): Call unrecord-window-buffer after
19590         showing another buffer in the window.  (Bug#9937)
19591         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19593 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
19595         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19596         Accept status with more than 9 shelves.  (Bug#9935)
19597         Reported by Colin D Bennett <colin@gibibit.com>.
19599 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
19601         * help.el (with-help-window): Don't reference
19602         temp-buffer-show-specifiers in doc-string.
19604 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
19606         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19607         menu-item.
19609 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
19611         * whitespace.el: New version 13.2.2.
19612         (whitespace-newline-mode): Disable properly.  Reported by Sarah
19613         <EmacsWiki>.
19615 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
19617         * net/newst-treeview.el: Remove "Time-stamp".
19618         (newsticker--group-manage-orphan-feeds): Do not call
19619         newsticker--treeview-tree-update.
19620         (newsticker-treeview-update, newsticker-treeview):
19621         Call newsticker--treeview-tree-update if necessary.
19623 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
19625         * window.el (window-iso-combination-p, window-iso-combined-p)
19626         (window-iso-combinations): Remove "iso-" infix.
19627         Suggested by Chong Yidong.
19628         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19629         (window-max-delta-1, window-resize, window--resize-siblings)
19630         (window--resize-this-window, adjust-window-trailing-edge)
19631         (split-window, balance-windows-1)
19632         (shrink-window-if-larger-than-buffer):
19633         * calendar/calendar.el (calendar-generate-window):
19634         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19636 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19638         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19639         in place (bug#9907).
19640         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19641         (eshell-rewrite-if-command, eshell-rewrite-for-command)
19642         (eshell-structure-basic-command, eshell-rewrite-while-command)
19643         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19644         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19645         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19646         (eshell-do-pipelines-synchronously, eshell-eval-command):
19647         Use backquotes and prefer setq to set.
19648         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19649         (eshell-macrop): Use functionp.
19650         (eshell-do-eval): Handle multiple expressions in `while' body.
19652 2011-10-30  Chong Yidong  <cyd@gnu.org>
19654         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19655         instead of set-mark (Bug#9810).
19657 2011-10-30  Chong Yidong  <cyd@gnu.org>
19659         * window.el (split-window-below, split-window-right): Rename from
19660         split-window-above-each-other and split-window-side-by-side
19661         respectively.  All callers changed.
19662         (split-window-sensibly, split-window-sensibly): Use them.
19663         (split-window-keep-point): Doc fix.
19665         * isearch.el: Add isearch-scroll property to split-window-below
19666         and split-window-right.
19668         * follow.el (follow-mode):
19669         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19670         * progmodes/ada-xref.el (ada-gdb-application):
19671         * emulation/vip.el (vip-buffer-in-two-windows):
19672         * image-dired.el (image-dired-dired-with-window-configuration):
19673         * dired-x.el (dired-do-find-marked-files):
19674         * dired.el (dired-pop-to-buffer):
19675         * bs.el (bs--show-with-configuration):
19676         * vc/emerge.el (emerge-setup-windows):
19677         * textmodes/two-column.el (2C-two-columns):
19678         * textmodes/reftex-toc.el (reftex-toc):
19679         * progmodes/gdb-mi.el (gdb-setup-windows):
19680         * progmodes/fortran.el (fortran-window-create):
19681         * net/newst-treeview.el (newsticker--treeview-window-init):
19682         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19683         * emulation/tpu-edt.el (tpu-gold-map):
19684         * emulation/crisp.el (crisp-mode-map):
19685         * calendar/calendar.el (calendar-basic-setup): Callers changed.
19687 2011-10-29  Chong Yidong  <cyd@gnu.org>
19689         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19691         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19693         * textmodes/flyspell.el (flyspell-word): Fix char offset for
19694         forged Ispell output (Bug#7904).
19696         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19698 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19700         * doc-view.el: Avoid ugly errors about not finding nil.
19701         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19702         (doc-view-dvipdf-program, doc-view-unoconv-program)
19703         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19704         Avoid nil or absolute file name as default value.
19705         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19707 2011-10-28  Alan Mackenzie  <acm@muc.de>
19709         * progmodes/cc-defs.el (c-version): -> 5.32.2.
19711 2011-10-28  Alan Mackenzie  <acm@muc.de>
19713         Amend the handling of c-beginning/end-of-defun in nested declaration
19714         scopes.
19716         * progmodes/cc-vars.el (c-defun-tactic): Move here from
19717         cc-langs.el.  Change it to a defcustom.
19719         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19720         cc-vars.el.
19722         * progmodes/cc-engine.el (c-beginning-of-statement-1):
19723         Prevent "class foo : bar" being spuriously recognized as a label.
19725         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19726         Add parameter `inclusive' (to include enclosing braces in the region).
19727         (c-widen-to-enclosing-decl-scope): New function.
19728         (c-while-widening-to-decl-block): New macro.
19729         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19730         outward for defun boundaries, and correspondingly change symbol
19731         `respect-enclosure' to `go-outward'.
19732         (c-declaration-limits): Change algorithm to report only the "innermost"
19733         defun's boundaries.
19735 2011-10-28  Deniz Dogan  <deniz@dogan.se>
19737         * net/rcirc.el (rcirc-mode): Use hard newlines.
19739 2011-10-28  Alan Mackenzie  <acm@muc.de>
19741         Amend to indent and fontify macros "which include their own semicolon"
19742         correctly, using the "virtual semicolon" mechanism.
19744         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19746         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19747         Recode to scan one line at a time rather than having \n and \r
19748         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19749         (c-forward-label): Amend for virtual semicolons.
19750         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19752         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19753         of the new C macros.
19755         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19756         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19757         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19758         (c-opt-cpp-macro-define): Make into a full language variable.
19759         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19760         AWK Mode (including \n, \r) removed, no longer needed.
19762         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19763         Invoke c-make-macro-with-semi-re.
19765         * progmodes/cc-vars.el (c-macro-with-semi-re):
19766         (c-macro-names-with-semicolon): New variables.
19767         (c-make-macro-with-semi-re): New function.
19769 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19771         * vc/log-edit.el: Fill empty field rather than adding new one.
19772         (log-edit-add-field): New function.
19773         (log-edit-insert-changelog): Use it.
19775 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
19777         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19779 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19781         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19782         (gdb--check-interpreter): New function.
19783         (gdb): Use it.
19785 2011-10-27  Glenn Morris  <rgm@gnu.org>
19787         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19788         (least-positive-float, least-negative-float)
19789         (least-positive-normalized-float, least-negative-normalized-float)
19790         (float-epsilon, float-negative-epsilon):
19791         Remove unnecessary declarations.
19793         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19794         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19795         (least-positive-float, least-negative-float)
19796         (least-positive-normalized-float, least-negative-normalized-float)
19797         (float-epsilon, float-negative-epsilon): Add doc-strings,
19798         based on those in cl.texi.
19800         * files.el (set-visited-file-name): If the major-mode changed,
19801         reload the local variables.  (Bug#9796)
19803 2011-10-27  Chong Yidong  <cyd@gnu.org>
19805         * subr.el (change-major-mode-after-body-hook): New hook.
19806         (run-mode-hooks): Run it.
19808         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19809         Use change-major-mode-before-body-hook.
19811         * simple.el (fundamental-mode):
19812         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19813         change introducing fundamental-mode-hook.
19815 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
19817         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19819 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
19821         * ido.el (ido-file-name-all-completions-1): Do not require
19822         tramp.el explicitly.  (Bug#7583)
19824 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19826         * progmodes/octave-mod.el:
19827         * progmodes/octave-inf.el: Update maintainer.
19829 2011-10-26  Chong Yidong  <cyd@gnu.org>
19831         * subr.el (with-wrapper-hook): Rewrite doc.
19833 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
19835         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19836         filenames "/method:foo:".  (Bug#9793)
19838 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
19840         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19841         (bug#9865).
19843 2011-10-24  Glenn Morris  <rgm@gnu.org>
19845         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
19847 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
19849         * notifications.el: Add the requirement of a running D-Bus session
19850         bus to the Commentary.
19852 2011-10-24  Juri Linkov  <juri@jurta.org>
19854         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19855         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19856         (Bug#9364)
19858 2011-10-24  Juri Linkov  <juri@jurta.org>
19860         * info.el (Info-following-node-name-re): Add newline to the list
19861         of allowed characters for leading space.  (Bug#9824)
19863 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19865         * progmodes/octave-inf.el (inferior-octave-mode-map):
19866         Fix C-c C-h binding.
19867         * progmodes/octave-mod.el (octave-help): Remove.
19869 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
19871         Sync with Tramp 2.2.3.
19873         * net/tramp-cache.el (top): Pacify byte-compiler using
19874         `init-file-user' and `site-run-file'.
19876         * net/trampver.el: Update release number.
19878 2011-10-23  Chong Yidong  <cyd@gnu.org>
19880         * files.el (toggle-read-only): Remove obsolete comment about
19881         version control.
19883         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19884         for toggle-read-only.  Note that this hasn't called vc-next-action
19885         since 2008-05-02, though it wasn't documented at the time.
19887         * vc/ediff-init.el (ediff-toggle-read-only-function):
19888         Use toggle-read-only.
19890 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
19892         Fix bug #9560, sporadic wrong indentation; improve instrumentation
19893         of c-parse-state.
19895         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19896         correct faulty logical expression.
19897         (c-parse-state-state, c-record-parse-state-state):
19898         (c-replay-parse-state-state): New defvar/defuns.
19899         (c-debug-parse-state): Use new functions.
19901 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
19903         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19904         last fix.  Use window-in-direction correctly.
19906 2011-10-21  Chong Yidong  <cyd@gnu.org>
19908         * progmodes/idlwave.el (idlwave-mode):
19909         * progmodes/vera-mode.el (vera-mode): No need to set
19910         require-final-newline; that's done in prog-mode.
19911         Suggested by Stefan Monnier.
19913 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
19915         * mouse.el (mouse-drag-window-above)
19916         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19917         (mouse-drag-mode-line-1, mouse-drag-header-line)
19918         (mouse-drag-vertical-line-rightward-window): Remove.
19919         (mouse-drag-line): New function.
19920         (mouse-drag-mode-line, mouse-drag-header-line)
19921         (mouse-drag-vertical-line): Call mouse-drag-line.
19922         * window.el (window-at-side-p, windows-at-side): New functions.
19924 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
19926         * tar-mode.el (tar-grind-file-mode):
19927         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
19929 2011-10-21  Chong Yidong  <cyd@gnu.org>
19931         * progmodes/idlwave.el (idlwave-mode):
19932         * progmodes/vera-mode.el (vera-mode):
19933         Use mode-require-final-newline.
19935 2011-10-20  Glenn Morris  <rgm@gnu.org>
19937         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
19939 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
19941         * emulation/cua-base.el (cua-set-mark): Fix case of string.
19943 2011-10-20  Chong Yidong  <cyd@gnu.org>
19945         * emulation/cua-base.el (cua-mode):
19946         * mail/footnote.el (footnote-mode):
19947         * mail/mailabbrev.el (mail-abbrevs-mode):
19948         * net/xesam.el (xesam-minor-mode):
19949         * progmodes/bug-reference.el (bug-reference-mode):
19950         * progmodes/cap-words.el (capitalized-words-mode):
19951         * progmodes/compile.el (compilation-minor-mode)
19952         (compilation-shell-minor-mode):
19953         * progmodes/gud.el (gud-tooltip-mode):
19954         * progmodes/hideif.el (hide-ifdef-mode):
19955         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19956         * progmodes/subword.el (subword-mode):
19957         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19958         * progmodes/which-func.el (which-function-mode):
19959         * term/tvi970.el (tvi970-set-keypad-mode):
19960         * term/vt100.el (vt100-wide-mode):
19961         * textmodes/flyspell.el (flyspell-mode):
19962         * textmodes/ispell.el (ispell-minor-mode):
19963         * textmodes/nroff-mode.el (nroff-electric-mode):
19964         * textmodes/paragraphs.el (use-hard-newlines):
19965         * textmodes/refill.el (refill-mode):
19966         * textmodes/reftex.el (reftex-mode):
19967         * textmodes/rst.el (rst-minor-mode):
19968         * textmodes/sgml-mode.el (html-autoview-mode)
19969         (sgml-electric-tag-pair-mode):
19970         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19971         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19972         * emulation/crisp.el (crisp-mode):
19973         * emacs-lisp/eldoc.el (eldoc-mode):
19974         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19975         minor mode behavior.
19977 2011-10-19  Juri Linkov  <juri@jurta.org>
19979         * descr-text.el (describe-char): Add #x2010 and #x2011 to
19980         the list of hard-coded chars with escape-glyph face.
19982 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19984         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19986 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
19988         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19989         running process.
19991 2011-10-19  Glenn Morris  <rgm@gnu.org>
19993         * vc/vc-bzr.el (vc-bzr-after-dir-status):
19994         Ignore ignored files.  (Bug#9726)
19996 2011-10-19  Chong Yidong  <cyd@gnu.org>
19998         Doc fix for minor modes, stating that an omitted argument enables
19999         the mode unconditionally when called from Lisp.
20001         * abbrev.el (abbrev-mode):
20002         * allout.el (allout-mode):
20003         * autoinsert.el (auto-insert-mode):
20004         * autoarg.el (autoarg-mode, autoarg-kp-mode):
20005         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
20006         (global-auto-revert-mode):
20007         * battery.el (display-battery-mode):
20008         * composite.el (global-auto-composition-mode)
20009         (auto-composition-mode):
20010         * delsel.el (delete-selection-mode):
20011         * desktop.el (desktop-save-mode):
20012         * dired-x.el (dired-omit-mode):
20013         * dirtrack.el (dirtrack-mode):
20014         * doc-view.el (doc-view-minor-mode):
20015         * double.el (double-mode):
20016         * electric.el (electric-indent-mode, electric-pair-mode):
20017         * emacs-lock.el (emacs-lock-mode):
20018         * epa-hook.el (auto-encryption-mode):
20019         * follow.el (follow-mode):
20020         * font-core.el (font-lock-mode):
20021         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
20022         * help.el (temp-buffer-resize-mode):
20023         * hilit-chg.el (highlight-changes-mode)
20024         (highlight-changes-visible-mode):
20025         * hi-lock.el (hi-lock-mode):
20026         * hl-line.el (hl-line-mode, global-hl-line-mode):
20027         * icomplete.el (icomplete-mode):
20028         * ido.el (ido-everywhere):
20029         * image-file.el (auto-image-file-mode):
20030         * image-mode.el (image-minor-mode):
20031         * iswitchb.el (iswitchb-mode):
20032         * jka-cmpr-hook.el (auto-compression-mode):
20033         * linum.el (linum-mode):
20034         * longlines.el (longlines-mode):
20035         * master.el (master-mode):
20036         * mb-depth.el (minibuffer-depth-indicate-mode):
20037         * menu-bar.el (menu-bar-mode):
20038         * minibuf-eldef.el (minibuffer-electric-default-mode):
20039         * mouse-sel.el (mouse-sel-mode):
20040         * msb.el (msb-mode):
20041         * mwheel.el (mouse-wheel-mode):
20042         * outline.el (outline-minor-mode):
20043         * paren.el (show-paren-mode):
20044         * recentf.el (recentf-mode):
20045         * reveal.el (reveal-mode, global-reveal-mode):
20046         * rfn-eshadow.el (file-name-shadow-mode):
20047         * ruler-mode.el (ruler-mode):
20048         * savehist.el (savehist-mode):
20049         * scroll-all.el (scroll-all-mode):
20050         * scroll-bar.el (scroll-bar-mode):
20051         * server.el (server-mode):
20052         * shell.el (shell-dirtrack-mode):
20053         * simple.el (auto-fill-mode, transient-mark-mode)
20054         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
20055         (line-number-mode, column-number-mode, size-indication-mode)
20056         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
20057         * strokes.el (strokes-mode):
20058         * time.el (display-time-mode):
20059         * t-mouse.el (gpm-mouse-mode):
20060         * tool-bar.el (tool-bar-mode):
20061         * tooltip.el (tooltip-mode):
20062         * type-break.el (type-break-mode-line-message-mode)
20063         (type-break-query-mode):
20064         * view.el (view-mode):
20065         * whitespace.el (whitespace-mode, whitespace-newline-mode)
20066         (global-whitespace-mode, global-whitespace-newline-mode):
20067         * xt-mouse.el (xterm-mouse-mode): Doc fix.
20069         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
20070         Fix autogenerated docstring.
20072 2011-10-19  Juri Linkov  <juri@jurta.org>
20074         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
20075         by checking environment variables "DESKTOP_SESSION" and
20076         "XDG_CURRENT_DESKTOP".  (Bug#9779)
20078 2011-10-19  Juri Linkov  <juri@jurta.org>
20080         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
20081         (browse-url-chromium-program, browse-url-chromium-arguments):
20082         New defcustoms.
20083         (browse-url-default-browser): Check for `browse-url-chromium' and
20084         call `browse-url-chromium-program'.
20085         (browse-url-chromium): New command.  (Bug#9779)
20087 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
20089         * facemenu.el (list-colors-duplicates): On Windows, detect more
20090         duplicates by assuming that only colors matching "^System" are
20091         special "system colors".  (Bug#9722)
20093 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20095         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
20096         to distinguish the author from the committer.
20098 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
20100         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
20102 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
20104         * international/mule.el (sgml-html-meta-auto-coding-function):
20105         Add support for detecting encoding in HTML5 specified only as
20106         <meta charset="UTF-8">.  Implementation just makes http-equiv and
20107         content-type parts from HTML4 encoding string optional.  (Bug#9716)
20109 2011-10-18  Glenn Morris  <rgm@gnu.org>
20111         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
20113 2011-10-18  Chong Yidong  <cyd@gnu.org>
20115         * faces.el (cursor): Doc fix.
20117 2011-10-17  Chong Yidong  <cyd@gnu.org>
20119         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
20121 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
20123         * dirtrack.el (dirtrack): Support shell buffers with path
20124         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
20126 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
20128         * json.el: Bump version to 1.3 and note change in History.
20129         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
20131 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20133         * comint.el (comint-insert-input, comint-send-input)
20134         (comint-get-old-input-default, comint-backward-matching-input)
20135         (comint-next-prompt): Use nil instead of `input' for field property of
20136         past user input (bug#114).
20138         * minibuffer.el (completion--replace): Inherit surrounding properties
20139         (bug#114).
20140         (minibuffer-complete-and-exit): Use it.
20142         * comint.el (comint--table-subvert): Quote the all-completions output
20143         (bug#9160).
20145 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
20147         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
20149         * menu-bar.el (menu-bar-file-menu): Add entry for making new
20150         window on right of selected.  (Bug#9350) Reword other window
20151         entries and separate them from frame entries.
20153 2011-10-15  Glenn Morris  <rgm@gnu.org>
20155         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
20156         Doc fixes.
20158 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
20160         * net/network-stream.el (network-stream-open-starttls):
20161         Improve detection of failure due to lack of TLS support.
20163         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
20164         putting the input text in front and in bold.
20166 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20168         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
20170         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
20171         empty buffer.
20173         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
20174         unread-command-events rather than pushing yet-another event.
20176 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
20178         * mail/sendmail.el (sendmail-query-once): Improve the wording of
20179         the explanation of the possible choices.  Make the options passed
20180         to completing-read shorter.
20182 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
20184         * textmodes/flyspell.el (flyspell-large-region): Make sure
20185         extended character mode is used if defined (Bug#1339).
20187 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
20189         * simple.el (what-cursor-position): Fix the display of the
20190         character info for LRE, LRO, RLE, and RLO characters by appending
20191         an invisible PDF.
20193 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20195         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
20196         even in case of error; add debug spec; simplify data flow.
20197         (with-timeout-handler): Remove.
20199 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
20201         Fix Bug#6019, Bug#9315.
20203         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
20204         complete `buffer-file-name', the local file name part could look
20205         remotely (for example on VMS).
20207         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
20208         `tramp-run-real-handler'.
20209         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
20210         already quoted by '"'.
20212         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
20213         Let `file-name-handler-alist' be nil, the local file name part
20214         could look remotely (for example on VMS).
20216 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20218         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
20219         from here...
20220         (flyspell-post-command-hook): ...to here.
20222 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20224         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
20225         if not needed.
20226         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
20227         using completion.  Protect against "slow" callers.
20228         Remove the "message hack".
20230 2011-10-11  Juri Linkov  <juri@jurta.org>
20232         * isearch.el (isearch-lazy-highlight-word): New variable.
20233         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
20234         Use it.  (Bug#9727)
20236 2011-10-11  Glenn Morris  <rgm@gnu.org>
20238         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
20239         like f90-previous-statement does.
20241 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
20243         * eshell/eshell.el (eshell-command): History should be saved
20244         only in interactive use, to avoid error.
20246 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
20248         * minibuffer.el (completion-file-name-table): Fix last change,
20249         i.e. ignore normal errors but not the other ones.
20251 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
20253         * window.el (special-display-buffer-names)
20254         (special-display-regexps): Remove some remnants of earlier
20255         changes from doc-strings.
20256         (quit-windows-on): New function.
20258         * vc/vc.el (vc-revert, vc-rollback):
20259         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
20260         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
20261         (Bug#6183) (Bug#7074) (Bug#7447)
20263 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
20265         * window.el (frame-auto-hide-function): Add version tag.
20266         (Bug#9699)
20268 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
20270         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
20271         condition.
20273 2011-10-09  Leo Liu  <sdl.web@gmail.com>
20275         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
20276         (Bug#9701)
20278 2011-10-08  Glenn Morris  <rgm@gnu.org>
20280         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
20281         before the first code statement zero indent.  (Bug#9690)
20283 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
20285         * simple.el (count-words-region): Always count in the region.
20286         Report the number of lines and characters too.
20287         (count-words): New command, which counts in the buffer if the
20288         region is inactive, as count-words-region used to.
20289         (count-words--message): New function.  Handle plurals.
20290         (count-lines-region): Make it an alias for count-words-region.
20292         * bindings.el (esc-map): Replace count-lines-region with
20293         count-words-region.
20295 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
20297         * window.el (window--delete): Delete dedicated frame
20298         unconditionally when argument KILL is non-nil.  (Bug#9699)
20299         (switch-to-buffer): Fix doc-string typo.
20301 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
20303         * eshell/eshell.el (eshell-command): Avoid using hooks.
20305 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
20307         * bindings.el ([M-left],[M-right]): Bind to left-word and
20308         right-word respectively.
20310 2011-10-07  Glenn Morris  <rgm@gnu.org>
20312         * cus-start.el (debug-on-quit): Fix custom type.
20314 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20316         * subr.el (define-key-after): Clarify that the function is not
20317         useful for non-menu keymaps.
20319         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
20321 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
20323         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
20324         in current minibuffer (Fix bug with recursive minibuffers).
20326 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
20328         * progmodes/gdb-mi.el (gdb): Doc fix.
20330 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
20332         * window.el (frame-auto-hide-function): New option replacing
20333         frame-auto-delete.  Suggested by Stefan Monnier.
20334         (window--delete): Call frame-auto-hide-function instead of
20335         investigating frame-auto-delete.
20336         (window-point-1, set-window-point-1): New functions.
20337         (window-in-direction, record-window-buffer, window-state-get-1)
20338         (display-buffer-record-window): Use window-point-1 instead of
20339         window-point.
20340         (set-window-buffer-start-and-point): Use set-window-point-1.
20342 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20344         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
20346 2011-10-05  Glenn Morris  <rgm@gnu.org>
20348         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
20349         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
20351 2011-10-05  Leo Liu  <sdl.web@gmail.com>
20353         * subr.el (read-char-choice): Fix argument to buffer-live-p which
20354         works with buffer object.
20356 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20358         * mpc.el (mpc-tool-bar-map): Add labels.
20360 2011-10-04  Glenn Morris  <rgm@gnu.org>
20362         * calendar/holidays.el (calendar-check-holidays): Doc fix.
20364 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
20366         * window.el (window--delete): New function.
20367         (frame-auto-delete): Resuscitate option.
20368         (bury-buffer, replace-buffer-in-windows)
20369         (quit-window): Rewrite using window--delete.
20370         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20371         Pass display-buffer-mark-dedicated to window--display-buffer-2
20372         (Bug#9639).
20374 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20376         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
20377         returns a list (bug#9554).  Add remote file name completion.
20378         * comint.el (comint--table-subvert): Curry and get quote&unquote
20379         functions as arguments.
20380         (comint--complete-file-name-data): Adjust call accordingly.
20381         * pcomplete.el (pcomplete--table-subvert): Remove.
20382         (pcomplete-completions-at-point): Use comint--table-subvert instead.
20384         * minibuffer.el (completion-table-case-fold): Use currying.
20385         (completion--styles-type, completion--cycling-threshold-type):
20386         New constants.
20387         (completion-styles, completion-category-overrides)
20388         (completion-cycle-threshold): Use them.
20389         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
20390         completion-table-case-fold.
20392 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
20394         * minibuffer.el (completion-category-overrides): Fix type of styles
20395         and add more user friendly tags (bug#9660).
20397 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20399         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
20400         (mule-input-method-string): New widget.
20401         (default-input-method, language-info-custom-alist): Use it.
20403 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20405         * pcomplete.el: Require comint.
20406         (pcomplete--common-suffix): Remove.
20407         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
20408         (pcomplete--table-subvert): Sync with comint--table-subvert.
20409         (pcomplete--entries): Use comint-completion-file-name-table.
20410         * comint.el (comint-unquote-filename): Simplify.
20411         (comint-completion-file-name-table): New function (bug#9616).
20412         (comint--complete-file-name-data): Use it.
20414         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
20415         (pcmpl-gnu-tar-buffer): Remove.
20416         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
20417         around.  Make sure pcomplete-suffix-list is only changed temporarily.
20418         Don't look inside the tar's file if it's too large.
20420 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
20422         * cus-edit.el (custom-mode-map):
20423         * epa.el (epa-key-list-mode-map):
20424         * man.el (Man-mode-map):
20425         * startup.el (splash-screen-keymap):
20426         * simple.el (special-mode-map): Use scroll-up-command and
20427         scroll-down-command.
20429         * progmodes/idlw-help.el (idlwave-help-mode-map):
20430         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20431         * net/newst-plainview.el (newsticker-mode-map):
20432         * emulation/ws-mode.el (wordstar-mode-map):
20433         * emulation/vi.el (vi-com-map):
20434         * calc/calc-graph.el (calc-graph-show-dumb):
20435         * term/sun.el (terminal-init-sun):
20436         * term/ns-win.el (global-map):
20437         * progmodes/grep.el (grep-mode-map):
20438         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20439         * mail/rmail.el (rmail-mode-map):
20440         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20442         * custom.el (custom-safe-themes, load-theme): Treat value of t for
20443         custom-safe-themes as special.
20445 2011-10-01  Julien Danjou  <julien@danjou.info>
20447         * notifications.el (notifications-notify): Fix docstring.
20449 2011-10-01  Per Starbäck  <per@starback.se>
20451         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
20453 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
20455         * startup.el (command-line-1): Fix last fix by inserting
20456         initial-scratch-message into *scratch* before displaying it.
20457         (Bug#9605) and (Bug#9636)
20459 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
20461         * simple.el (line-move): If auto-hscroll-mode is disabled and the
20462         window is hscrolled, move by logical lines.  (Bug#9607)
20463         (line-move-visual): Update the doc string to the above effect.
20465 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
20467         * window.el (display-buffer-record-window): When WINDOW is the
20468         selected window use `point' instead of `window-point'.  (Bug#9626)
20470         * startup.el (command-line-1): Use insert-before-markers when
20471         inserting initial-scratch-message.  (Bug#9605)
20473         * help.el (help-window): Remove variable.
20475 2011-09-29  Glenn Morris  <rgm@gnu.org>
20477         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20479 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
20481         * descr-text.el (describe-char-categories): Accept category
20482         descriptions more than one line long.
20484 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20486         * simple.el (delete-trailing-whitespace): Fix last change.
20488         * progmodes/perl-mode.el (perl-syntax-propertize-function):
20489         Don't confuse "y => 3" as the beginning of a `y' operation.
20491         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20492         object has more than 4 slots (bug#9613).
20494 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
20496         * subr.el (with-output-to-temp-buffer):
20497         * net/quickurl.el (quickurl, quickurl-browse-url):
20498         Fix typos in docstrings.
20500 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
20502         * minibuffer.el (completion-styles)
20503         (completion-category-overrides): Cross reference each other in doc
20504         strings.
20506 2011-09-27  Glenn Morris  <rgm@gnu.org>
20508         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20509         to split-string.  (Bug#9606)
20511 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20513         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20514         (bug#9615).
20516 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
20518         * emacs-lisp/package.el (list-packages): Fix echo area message.
20520 2011-09-27  Leo Liu  <sdl.web@gmail.com>
20522         * ido.el (ido-read-internal): Accept cons cell HIST arg.
20524 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
20526         * net/dbus.el (dbus-unregister-object): Don't release services for
20527         registered signals.  (Bug#9581)
20529 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
20531         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20532         function that picks between cfengine 2 and 3 support
20533         automatically.  Update docs accordingly.
20535 2011-09-22  Kenichi Handa  <handa@m17n.org>
20537         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20538         ZERO.
20539         (indian-itrans-v5-table-for-tamil): New variable.
20540         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20542 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
20544         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20545         that's true if the current command involved collapsing of text.
20546         It's reset to false at the beginning of the next command.
20547         (allout-post-command-business): Move the cursor to the beginning
20548         of entry if the cursor is hidden and collapsing activity just
20549         happened.
20551 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
20553         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20554         tracking (Bug#9541).
20556 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
20558         * net/newst-reader.el (newsticker-html-renderer)
20559         (newsticker-show-news): Automatically load html rendering package
20560         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
20561         because w3m-fill-column is let-bound" and the error "Symbol's value
20562         as variable is void: w3m-fill-column".
20564 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
20566         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20567         Release services only if they are defined.  (Bug#9581)
20569 2011-09-23  Richard Stallman  <rms@gnu.org>
20571         * textmodes/paragraphs.el (forward-sentence): For backwards case,
20572         distinguish start of paragraph from start of its text.
20574         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20576         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20577         (rmail-generate-viewer-buffer): Put that hook on view buffer.
20578         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20580 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
20582         * international/mule-diag.el (mule-diag): Insert a newline after
20583         each fontset description.
20585 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20587         * simple.el (delete-trailing-whitespace):
20588         Document last change; simplify.
20590 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
20592         * simple.el (delete-trailing-whitespace): Also delete
20593         extra newlines at the end of the buffer.
20595         * textmodes/picture.el: Make motion commands obey shift-select-mode.
20596         (picture-newline): Use forward-line so as to ignore fields.
20598 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20600         * subr.el (with-wrapper-hook): Fix edebug spec.
20602 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20604         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20605         (bug#4538).
20607 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
20609         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20610         Fix nasty bug using wrong cached values.
20612 2011-09-23  Alan Mackenzie  <acm@muc.de>
20614         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20616 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
20618         * window.el (pop-to-buffer): Ensure right window is selected if we
20619         chose another frame.
20621 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
20623         * simple.el (what-cursor-position): Use get-char-property-change
20624         and next-single-char-property-change, to be able to show display
20625         properties that come from overlays as well as text properties.
20627 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
20629         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20631         * cmuscheme.el (run-scheme, switch-to-scheme):
20632         * cus-edit.el (customize-group, custom-buffer-create)
20633         (customize-browse):
20634         * info.el (info):
20635         * shell.el (shell):
20636         * mail/sendmail.el (mail):
20637         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20639 2011-09-22  Richard Stallman  <rms@gnu.org>
20641         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20642         move back only to line beg, don't move back over blank lines.
20644 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
20646         * files.el (copy-directory): Set directory attributes only in case
20647         they could be retrieved from the source directory.  (Bug#9565)
20649 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
20651         * progmodes/hideshow.el (hs-looking-at-block-start-p)
20652         (hs-find-block-beginning, hs-hide-level-recursive):
20653         Ignore strings as well as comments.  (Bug#9502)
20655 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
20657         * progmodes/sql.el (sql-comint-postgres):
20658         Convert port number to a string.  (Bug#9566)
20660 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
20662         * window.el (quit-window): Undedicate window when switching to
20663         previous buffer.  Reported by Thierry Volpiatto
20664         <thierry.volpiatto@gmail.com>.
20665         (special-display-popup-frame): When popping up a new frame reset
20666         its previous buffers to nil.  Simplify code.
20668 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
20670         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20671         and process filter, as done also in `shell-command'.
20673 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
20675         * window.el (set-window-buffer-start-and-point):
20676         Call set-window-start with NOFORCE argument t.
20677         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20678         (quit-window): Reword doc-string.  Handle new format of
20679         quit-restore parameter.  Don't delete window if it has a
20680         previous buffer we can show instead of the present one.
20681         (display-buffer-record-window): Rewrite using a new format for
20682         the quit-restore window parameter
20683         (special-display-popup-frame, display-buffer-same-window)
20684         (display-buffer-reuse-window, display-buffer-pop-up-frame)
20685         (display-buffer-pop-up-window, display-buffer-use-some-window):
20686         Adapt symbol passed to display-buffer-record-window.
20687         * help.el (help-window-setup): Handle new format of quit-restore
20688         parameter.
20690 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20692         * faces.el (face-list): Fix docstring (bug#9564).
20694         * window.el (display-buffer--action-function-custom-type):
20695         Don't include internal functions in the Custom interface.
20697 2011-09-20  Juri Linkov  <juri@jurta.org>
20699         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20700         (Info-forward-node, Info-backward-node, Info-next-preorder)
20701         (Info-last-preorder): Use it.  (Bug#9528)
20703 2011-09-20  Juri Linkov  <juri@jurta.org>
20705         * info.el (Info-last-preorder): Visit last menu item only when
20706         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20708 2011-09-20  Julien Danjou  <julien@danjou.info>
20710         * password-cache.el (password-cache-remove): Remove entries even if the
20711         value is nil, so that password with a nil value (negative caching) is
20712         possible to invalidate.
20714 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
20716         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20717         all whitespace around breakpoint.  (Bug#9553)
20718         (f90-find-breakpoint): Only break at whitespace inside a comment.
20720 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20722         * minibuffer.el (completion-file-name-table): Keep track of errors.
20723         (completion-table-with-predicate): Handle the case where pred1 is nil.
20724         * pcomplete.el (pcomplete-completions-at-point): Simplify.
20726 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20728         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20729         (debugger-return-value): Signal an error if the debugging context does
20730         not await any return value.
20732         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20733         * image-mode.el (image-toggle-display-text)
20734         (image-toggle-display-image): Stay away from evil `intangible'.
20736 2011-09-19  Leo Liu  <sdl.web@gmail.com>
20738         * replace.el (occur-revert-arguments): Make it permanent-local.
20739         (occur-mode): Don't call font-lock-defontify.
20741 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
20743         * net/ldap.el (ldap-search-internal): Don't push empty search
20744         result (Bug#9508).
20746 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20748         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20750 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
20752         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20753         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20755 2011-09-18  Juri Linkov  <juri@jurta.org>
20757         * buff-menu.el (Buffer-menu-mode-map):
20758         * dired.el (dired-mode-map):
20759         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20760         (lisp-interaction-mode-map):
20761         * emacs-lisp/package.el (package-menu-mode-map):
20762         * epa.el (epa-key-list-mode-map):
20763         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20764         (menu-bar-options-menu):
20765         * outline.el (outline-mode-menu-bar-map):
20766         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20767         * vc/vc-dir.el (vc-dir-menu-map):
20768         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20769         Capitalize non-function content words in menu item strings.
20771         * dired.el (dired-mode-map): Add menu item for
20772         `image-dired-dired-toggle-marked-thumbs'.
20774 2011-09-18  Juri Linkov  <juri@jurta.org>
20776         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20777         to `isearch-case-fold-search' and restore its original value
20778         after the `isearch-mode' call.
20780 2011-09-18  Juri Linkov  <juri@jurta.org>
20782         * progmodes/grep.el (grep-process-setup): Don't check code for 1
20783         because `zgrep' returns 1 for successful matches (bug#9226).
20785 2011-09-18  Juri Linkov  <juri@jurta.org>
20787         * info.el (Info-extract-menu-node-name): Check the second match
20788         for empty string (second test-case of bug#9528).
20789         (Info-last-preorder): Let-bind `Info-history' to nil to not add
20790         intermediate nodes to the history (first test-case of bug#9528).
20792 2011-09-18  Juri Linkov  <juri@jurta.org>
20794         * info.el (Info-mode-syntax-table): New variable.
20795         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20797 2011-09-18  Juri Linkov  <juri@jurta.org>
20799         * info.el (Info-file-supports-index-cookies):
20800         Increment line-beginning-position's arg from 3 to 4 because makeinfo
20801         outputs one more line for long file names (bug#4142).
20803 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
20805         * newcomment.el (comment-normalize-vars): If prompting for
20806         comment-start, set comment-start-skip too (Bug#8424).
20808 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
20810         * icomplete.el: Fix previous fix of Bug#5849.
20811         (icomplete-mode): Don't set completion-show-inline-help.
20812         (icomplete-minibuffer-setup): Set completion-show-inline-help
20813         locally during icompletion.
20815 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
20817         * woman.el (woman2-process-escapes): Don't delete unrecognized
20818         escapes (Bug#7843).
20820         * files.el (inhibit-first-line-modes-regexps): Add image files.
20821         (hack-local-variables-prop-line): Return nil for malformed
20822         prop-lines (Bug#9044).
20824 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
20826         * net/tramp.el (top): Don't require 'shell.
20827         (tramp-methods): Fix docstring.
20828         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20829         Return complete remote file name.  Handle "smb" case.
20830         Use `tramp-tmpdir', if defined for the respective method.
20831         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20833         * net/tramp-compat.el (top): Require 'shell.
20835         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20836         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20837         `tramp-current-host'.
20838         (tramp-get-remote-tmpdir): Remove.
20840         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20841         `tramp-tmpdir' entries.
20842         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20843         (tramp-smb-handle-file-attributes): Ignore errors.
20844         (tramp-smb-wait-for-output): Check also for process end.
20846 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20848         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20849         when sending QUIT (bug#9312).
20851 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
20853         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20854         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20855         occur-mode-display-occurrence.
20856         (occur-edit-mode): Add usage message.
20857         (occur-cease-edit): New command.
20858         (occur-after-change-function): Use text properties to find the
20859         position of the prefix text.
20860         (occur-engine): Set stickiness of prefix text properties.
20862 2011-09-17  Glenn Morris  <rgm@gnu.org>
20864         * progmodes/etags.el (complete-tag):
20865         Fix call to completion-in-region.  (Bug#9526)
20867 2011-09-17  Juri Linkov  <juri@jurta.org>
20869         * textmodes/ispell.el (ispell-word): Add to the error message
20870         the word, ispell program name and current dictionary (bug#9121).
20871         (ispell-tex-arg-end): Capitalize "error" in the error message.
20873 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
20875         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20876         check.  (Bug#4251)
20878 2011-09-17  Juri Linkov  <juri@jurta.org>
20880         * window.el (window-safe-min-height, window-safe-min-width):
20881         Fix typos (followup to bug#9522).
20883 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
20885         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20887 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
20889         * simple.el (line-move): If goal-column is set, move by logical
20890         lines, not by display lines.  (Bug#971)
20891         (next-line, previous-line, goal-column, line-move-visual): Doc fix
20892         to reflect the above change.
20894 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20896         * image.el (imagemagick-register-types): Use regexp-opt.
20898 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
20900         * window.el (display-buffer-base-action): Rename from
20901         display-buffer-default-action.  Make default value empty.
20902         (display-buffer-overriding-action): Convert to defvar.
20903         (display-buffer-fallback-action): New var.
20905 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
20907         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20908         declaration.
20909         (package--add-to-archive-contents): If there is a duplicate entry
20910         with an older version, remove it.
20911         (package-menu-mark-delete, package-menu-mark-install)
20912         (package-menu-mark-unmark): Make unused args optional.
20913         (package-menu-mark-obsolete-for-deletion):
20914         Use package-menu-get-status instead of a regexp search.
20915         (package-menu-get-status): Use tabulated-list-entry.
20916         (package-menu-mark-upgrades): New command.
20917         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
20918         (package-menu-execute): Do installation before deletion.
20919         (package-menu-refresh, package-menu-execute): Use derived-mode-p
20920         instead of checking major-mode.
20921         (package-menu--find-upgrades): New function.
20923 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20925         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20926         passwords in the log buffer.
20927         (smtpmail-process-filter): Update the process marker so that the
20928         "broken by peer" status message is inserted in the right place.
20930 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20932         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20933         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20934         bibtex-completion-at-point-function.
20935         (bibtex-completion-at-point-function): Use them.
20937         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20939         * mpc.el (mpc-constraints-tag-lookup): New function.
20940         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20941         also to browser "album|playlist".
20943 2011-09-14  Juri Linkov  <juri@jurta.org>
20945         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
20946         (isearch-edit-string): Use length of `isearch-string' when
20947         `isearch-fail-pos' returns nil.
20948         (isearch-message): Remove duplicate code and call
20949         `isearch-fail-pos' with arg `t'.
20951 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
20953         * replace.el (occur-mode-goto-occurrence): Don't force using other
20954         window (Bug#9499).
20956         * dired-aux.el (dired-do-chmod): Don't provide initial input.
20958 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
20960         * window.el (display-buffer-window): Remove.
20961         (display-buffer-record-window): Use help-setup window parameter
20962         instead of variable display-buffer-window.
20963         (display-buffer-function, special-display-buffer-names)
20964         (special-display-function): Mention help-setup parameter instead
20965         of display-buffer-window in doc-string.
20966         * help.el (help-window-setup): New argument help-window.
20967         Use help-window-setup parameter instead of display-buffer-window.
20968         Reword some messages.
20969         (with-help-window): Pass window used for displaying the buffer
20970         to help-window-setup.  Don't set display-buffer-window.
20972 2011-09-13  Glenn Morris  <rgm@gnu.org>
20974         * emacs-lisp/debug.el (debugger-make-xrefs):
20975         Preserve point.  (Bug#9462)
20977 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
20979         * window.el (window-deletable-p): Use next-frame.
20981 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
20983         * window.el (window-auto-delete): Remove.
20984         (window-deletable-p): Remove argument FORCE.  Don't deal with
20985         dedication and previous buffers.
20986         (switch-to-prev-buffer): Don't delete window.
20987         (delete-windows-on): Delete a window's frame if and only if the
20988         window is dedicated.
20989         (replace-buffer-in-windows): Delete buffer's window or frame if
20990         and only if window is dedicated.
20991         (quit-window): Handle quit-restore as before last change.
20992         (bury-buffer): Delete window only if window-deletable-p returns t.
20994 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
20996         * window.el (window-deletable-p): Never delete the last frame on a
20997         given terminal.
20999 2011-09-13  Glenn Morris  <rgm@gnu.org>
21001         * help.el (describe-key-briefly): Copy previous standard-output change.
21003 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
21005         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
21007 2011-09-13  Glenn Morris  <rgm@gnu.org>
21009         * emacs-lisp/lisp-mode.el (lisp-indent-function):
21010         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
21012 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
21014         * dired-aux.el (dired-mark-read-string): Don't return default
21015         value on empty input (Bug#9361).
21016         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
21017         Omit initial minibuffer contents.
21018         (dired-do-chmod): Signal an error on empty input.
21019         (dired-mark-read-string): Don't return default on empty input.
21021         * files.el (file-modes-symbolic-to-number): Doc fix.
21023 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21025         * international/mule-cmds.el (ucs-completions): Remove.
21026         (read-char-by-name): Use complete-with-action instead; add metadata.
21028 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
21030         * window.el (display-buffer--action-function-custom-type)
21031         (display-buffer--action-custom-type): New vars.
21032         (display-buffer-alist, display-buffer-default-action)
21033         (display-buffer-overriding-action): Add defcustom types.
21035         * frame.el (delete-other-frames): Doc fix (Bug#276).
21037 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21039         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
21041 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
21043         Change modes that used same-window-* vars to use switch-to-buffer.
21045         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
21046         Use switch-to-buffer.
21048         * cus-edit.el (customize-group, custom-buffer-create)
21049         (customize-browse, custom-buffer-create-other-window):
21050         Use switch-to-buffer or switch-to-buffer-other-window.
21052         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
21053         (Info-prev, Info-up, Info-speedbar-goto-node)
21054         (info-display-manual): Use switch-to-buffer.
21055         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
21057         * mail/sendmail.el (mail): Use switch-to-buffer.
21058         (mail-recover): Use switch-to-buffer-other-window.
21060         * cmuscheme.el (run-scheme, switch-to-scheme):
21061         * ielm.el (ielm):
21062         * shell.el (shell):
21063         * net/rlogin.el (rlogin):
21064         * net/telnet.el (telnet, rsh):
21065         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
21067 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
21069         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
21071 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21073         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
21074         so don't mention it (bug#9301).
21075         (dired-sort-toggle-or-edit): Clarify string further.
21077         * faces.el (face-spec-set-match-display): Make `(type graphic)'
21078         match `x', `w32' and `ns', like the manual says (bug#9029).
21080         * subr.el (eval-after-load): Doc string clarification (bug#9125).
21081         (process-kill-buffer-query-function): Mention the buffer name in
21082         the query.
21084         * image-mode.el (image-next-line): The line parameter is mandatory
21085         (bug#9258).
21087         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
21088         which can be useful (bug#9301).
21090         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
21092         * subr.el (match-string): Mention that the current buffer should
21093         be the same as the search was done in (bug#9282).
21095         * facemenu.el: Disable the remove-* commands if the mark isn't
21096         active (bug#9162).
21098 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
21100         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
21101         of display-buffer.
21102         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
21104         * replace.el (occur-mode-goto-occurrence)
21105         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
21106         and display-buffer.
21108         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
21109         display-buffer.
21111         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
21112         special-display and same-window variables.
21113         (mail-other-window): Use switch-to-buffer-other-window.
21114         (mail-other-frame): USe switch-to-buffer-other-frame.
21116         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
21117         Use display-buffer-other-frame.
21118         (gdb-display-gdb-buffer): Use pop-to-buffer.
21120         * progmodes/gud.el (gud-goto-info): Use info-other-window.
21122         * progmodes/python.el: Don't set same-window-buffer-names.
21124         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
21126         * window.el (display-buffer-alist): Add *Python*.
21128 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
21130         * window.el (display-buffer-alist): Add entry for buffers
21131         previously handled same-window-*.
21132         (display-buffer-alist, display-buffer-default-action)
21133         (display-buffer-overriding-action): Mark as risky.
21134         (display-buffer-alist): Document action function changes.
21135         (display-buffer--same-window-action)
21136         (display-buffer--other-frame-action): New variables.
21137         (switch-to-buffer, display-buffer-other-frame): Use them.
21138         (display-buffer): Rename reuse-frame entry to reusable-frames.
21139         (display-buffer-reuse-selected-window): Function deleted.
21140         (display-buffer-reuse-window): Handle reusable-frames alist entry.
21141         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
21142         (display-buffer-special): New function.
21143         (display-buffer--maybe-pop-up-frame-or-window): Rename from
21144         display-buffer-reuse-or-pop-window.  Split off special-display
21145         part into display-buffer-special.
21146         (display-buffer-use-some-window): Don't perform any special
21147         pop-up-frames handling.
21148         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
21149         (display-buffer--maybe-same-window): Rename from
21150         display-buffer-maybe-same-window.
21152         * info.el: Don't set same-window-regexps.
21153         (info-setup): New function.
21154         (info-other-window, info): Call it.
21156         * cus-edit.el: Don't set same-window-regexps.
21157         (customize-group): New argument.
21158         (customize-group-other-window): Use it.
21159         (customize-face, customize-face-other-window): Likewise.
21160         (custom-buffer-create-other-window): Use pop-to-buffer directly.
21162         * net/rlogin.el:
21163         * net/telnet.el:
21164         * progmodes/gud.el: Don't set same-window-regexps.
21166         * cmuscheme.el:
21167         * ielm.el:
21168         * shell.el:
21169         * mail/sendmail.el:
21170         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
21172 2011-09-10  Juri Linkov  <juri@jurta.org>
21174         * isearch.el (isearch-edit-string): Remove obsolete mention of
21175         `C-w' (`isearch-yank-word-or-char') from docstring.
21176         (isearch-query-replace): Fix typo in docstring (bug#9466).
21178 2011-09-10  Juri Linkov  <juri@jurta.org>
21180         * paren.el (show-paren-function): Don't show escaped parens.
21181         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
21183 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
21185         * mail/sendmail.el (mml-to-mime, mml-attach-file)
21186         (mm-default-file-encoding): Remove autoload forms, they are
21187         replaced with autoload cookies in mml.el and mm-encode.el.
21188         (mail-add-attachment): New command.
21189         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
21190         (mail-mode): Mention mail-insert-file and mail-add-attachment in
21191         the doc string.
21192         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
21194 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
21196         * simple.el (count-words-region): Use buffer if there's no region
21197         (bug#9429).
21199 2011-09-09  Juri Linkov  <juri@jurta.org>
21201         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
21202         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
21203         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
21205 2011-09-09  Alan Mackenzie  <acm@muc.de>
21207         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
21208         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
21210 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
21212         Fix for Savannah bug#9392.
21213         * simple.el (mail-encode-mml): New defvar.
21215         * mail/rmail.el (mail-encode-mml): Add a defvar.
21216         (rmail-enable-mime-composing): Default to t.
21217         (rmail-forward): Use MIME method of forwarding only if both
21218         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
21219         Set mail-encode-mml non-nil if the MIME method was used.
21221         * mail/sendmail.el (mml-to-mime): Add autoload form.
21222         (mail-encode-mml): Add a defvar.
21223         (mail-mode): Make mail-encode-mml buffer-local and initialize it
21224         to nil.
21225         (mail-send): If mail-encode-mml is non-nil, run the outgoing
21226         message through mml-to-mime, and reset mail-encode-mml to nil.
21228 2011-09-09  Glenn Morris  <rgm@gnu.org>
21230         * woman.el (woman-if-body): When processing an .el block,
21231         do not delete the next .el block as well.  (Bug#9447)
21232         (woman-special-characters): Add oq, cq, and hy characters.
21234 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
21236         * window.el (window-deletable-p): Make sure window is live before
21237         invoking window-prev-buffers.
21239 2011-09-08  Leo Liu  <sdl.web@gmail.com>
21241         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
21243 2011-09-08  Juri Linkov  <juri@jurta.org>
21245         * progmodes/compile.el (compilation-environment): Make it
21246         a defcustom (bug#8340).
21248 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
21250         * window.el (frame-auto-delete): Rename to window-auto-delete.
21251         Make it control auto-deletion of windows and/or frames.
21252         (window-deletable-p): New argument FORCE.  Rewrite conditions
21253         for deleting window/frame.  (Bug#9419)
21254         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
21255         Rewrite handling of case when window/frame can be deleted.
21256         (delete-windows-on): Call window-deletable-p with new FORCE
21257         argument t.  (Bug#9456)
21259 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
21261         * help-mode.el (help-mode): Restore autoload.
21263 2011-09-07  Juri Linkov  <juri@jurta.org>
21265         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
21266         `compilation-environment'.  Set buffer-local
21267         `compilation-environment' to `thisenv' later after (funcall mode).
21268         (Bug#8340)
21270         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
21271         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
21272         instead of replacing its value.  (Bug#8340)
21274 2011-09-07  Juri Linkov  <juri@jurta.org>
21276         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
21277         based on text properties put by `grep-filter' instead of matching
21278         escape sequences.
21279         (grep-mode): Set buffer-local `compilation-error-screen-columns'
21280         to the value of `grep-error-screen-columns' (bug#9438).
21282 2011-09-07  Juri Linkov  <juri@jurta.org>
21284         * simple.el (next-error-highlight, next-error-highlight-no-select):
21285         Doc fix (bug#9432).
21287 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
21289         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21290         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
21292 2011-09-07  Leo Liu  <sdl.web@gmail.com>
21294         * net/rcirc.el (rcirc-mode): Conditionally initialize
21295         rcirc-input-ring.
21297 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
21299         * emacs-lisp/find-func.el (find-function-C-source): Only set
21300         find-function-C-source-directory after checking that we found a source
21301         file there (bug#9440).
21303 2011-09-06  Alan Mackenzie  <acm@muc.de>
21305         * isearch.el (isearch-other-meta-char): Wherever a key list is
21306         unread, "unread" the prefix arg, too.  This fixes bug #8901.
21308 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
21310         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
21312 2011-09-05  Juri Linkov  <juri@jurta.org>
21314         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
21316 2011-09-05  Juri Linkov  <juri@jurta.org>
21318         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
21319         keeping point where processing of grep matches begins, and
21320         continue to delete remaining escape sequences from the same point.
21321         (grep-filter): Make leading zero optional in "0?1;31m" because
21322         git-grep emits "\033[1;31m" escape sequences unlike expected
21323         "\033[01;31m" as GNU Grep does (bug#9408).
21324         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
21326 2011-09-05  Juri Linkov  <juri@jurta.org>
21328         * subr.el (y-or-n-p): Capitalize "yes".
21330 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
21332         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
21333         `tramp-cache-unload-hook' where appropriate.
21334         (tramp-methods): Rename `tramp-remote-sh' to
21335         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
21336         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
21338         * net/tramp-sh.el (top): Don't require 'shell.
21339         (tramp-methods): Add `tramp-remote-shell' and
21340         `tramp-remote-shell-args' entries.
21341         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
21342         (tramp-sh-handle-shell-command): Remove.
21343         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21344         Use `tramp-remote-shell'.
21346 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
21348         * mail/sendmail.el (sendmail-query-once-function): Delete.
21349         (sendmail-query-once): Save directly to send-mail-function.
21350         Update message-send-mail-function too.
21352         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
21354 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
21356         * progmodes/python.el (python-mode-map): Use correct function to
21357         start python interpreter from menu-bar (as reported by Geert
21358         Kloosterman).
21359         (inferior-python-mode-map): Fix typo.
21360         (python-shell-map): Remove.
21362 2011-09-03  Deniz Dogan  <deniz@dogan.se>
21364         * net/rcirc.el (rcirc-print): Simplify code for
21365         rcirc-scroll-show-maximum-output.  There is no need to walk
21366         through all windows to find the right one.
21368 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
21370         * help.el (help-return-method): Doc fix.
21372 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
21374         * window.el (window-deletable-p): Don't return a non-nil value
21375         when there's a buffer that was shown in the window before.
21376         (Bug#9419)
21377         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
21378         Set window's previous buffers to nil.
21380 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
21382         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
21383         newline before and after the tag line, so it doesn't interfere
21384         with determining the paragraph direction of bidirectional text.
21386 2011-09-03  Leo Liu  <sdl.web@gmail.com>
21388         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
21390 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
21392         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
21393         (pop-to-buffer): Change interactive spec.  Pass second argument
21394         directly to display-buffer.
21395         (display-buffer): Fix interactive spec.  Use functionp to
21396         distinguish between a function and a list of functions.
21398         * abbrev.el (edit-abbrevs):
21399         * arc-mode.el (archive-extract):
21400         * autoinsert.el (auto-insert):
21401         * bookmark.el (bookmark-bmenu-list):
21402         * files.el (find-file):
21403         * view.el (view-buffer):
21404         * progmodes/compile.el (compilation-goto-locus):
21405         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
21407 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
21409         * window.el (display-buffer-alist): Doc fix.
21410         (display-buffer): Add docstring.  Don't treat
21411         display-buffer-default specially.
21412         (display-buffer-reuse-selected-window)
21413         (display-buffer-same-window, display-buffer-maybe-same-window)
21414         (display-buffer-reuse-window, display-buffer-pop-up-frame)
21415         (display-buffer-pop-up-window)
21416         (display-buffer-reuse-or-pop-window)
21417         (display-buffer-use-some-window): New functions.
21418         (display-buffer-default-action): Use them.
21419         (display-buffer-default): Delete.
21420         (pop-to-buffer-1): Fix choice of actions.
21422 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
21424         * minibuffer.el (completion--insert-strings): Don't get confused by
21425         completion entries that end with an LF char.
21427 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
21429         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
21431 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
21433         * window.el (display-buffer): Restore interactive spec.
21434         (display-buffer-same-window, display-buffer-other-window):
21435         New functions.
21436         (pop-to-buffer-1): New function.  Use the above.
21437         (pop-to-buffer, pop-to-buffer-same-window): Use it.
21438         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21440         * view.el (view-buffer-other-window, view-buffer-other-frame):
21441         Just use pop-to-buffer.
21443 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
21445         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
21447 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
21449         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
21451 2011-08-31  Richard Stallman  <rms@gnu.org>
21453         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21454         of the separation of rmail-view-buffer from rmail-buffer.
21455         If you say no to "replace original", the decrypt is in the
21456         view buffer.  If you say yes, the decrypt goes into the
21457         rmail buffer also.
21459 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
21461         * window.el (display-buffer-window): Rewrite doc-string.
21462         (display-buffer-record-window): New function.
21463         (display-buffer-macro-specifiers)
21464         (display-buffer-even-window-sizes, display-buffer-set-height)
21465         (display-buffer-set-width, display-buffer-in-window)
21466         (display-buffer-reuse-window, display-buffer-split-specifiers)
21467         (display-buffer-side-specifiers, display-buffer-split-window-1)
21468         (display-buffer-split-window, display-buffer-split-atom-window)
21469         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21470         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21471         (display-buffer-other-window-means-other-frame)
21472         (display-buffer-normalize-special)
21473         (display-buffer-normalize-default)
21474         (display-buffer-normalize-argument)
21475         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21476         (display-buffer-normalize-specifiers, display-buffer-frame)
21477         (display-buffer-same-window, display-buffer-same-frame)
21478         (display-buffer-other-window)
21479         (display-buffer-same-frame-other-window)
21480         (display-buffer-other-frame, pop-to-buffer-same-window)
21481         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21482         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21483         (switch-to-buffer-same-frame)
21484         (switch-to-buffer-other-window-same-frame)
21485         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21486         (display-buffer-alist-set-1, display-buffer-alist-set-2)
21487         (display-buffer-alist-set): Remove.
21488         (display-buffer-function, special-display-buffer-names)
21489         (special-display-regexps, special-display-function):
21490         In doc-string refer to display-buffer-window and quit-restore
21491         parameter.
21492         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21493         (special-display-frame-alist, special-display-popup-frame)
21494         (same-window-buffer-names, same-window-regexps, same-window-p)
21495         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21496         (split-window-preferred-function, split-height-threshold)
21497         (split-width-threshold, window-splittable-p)
21498         (split-window-sensibly, window--try-to-split-window)
21499         (window--frame-usable-p, even-window-heights)
21500         (window--even-window-heights, window--display-buffer-1)
21501         (window--display-buffer-2, display-buffer-other-frame):
21502         Restore old Emacs 23 code, order and doc-strings where applicable.
21503         (display-buffer-default, display-buffer-assq-regexp): New functions.
21504         (display-buffer-alist): Rewrite doc-string.
21505         (display-buffer-default-action)
21506         (display-buffer-overriding-action): New variables.
21507         (display-buffer, switch-to-buffer): Rewrite.
21508         (pop-to-buffer): Restore Emacs 23 behavior but use
21509         window-normalize-buffer-to-display.
21510         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21511         Restore Emacs 23 behavior but use
21512         window-normalize-buffer-to-switch-to.
21513         (pop-to-buffer-same-window): Rewrite.
21514         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21515         Rewrite using Emacs 23 options.
21517 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
21519         * net/tramp.el (tramp-root-regexp): Remove.
21520         (tramp-completion-file-name-regexp-unified)
21521         (tramp-completion-file-name-regexp-separate)
21522         (tramp-completion-file-name-regexp-url): Don't use leading volume
21523         letter on w32 systems.  (Bug#5303, Bug#9311)
21524         (tramp-drop-volume-letter): Simplify definition.
21525         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21527 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21529         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21530         (bug#9356).
21532 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
21534         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21536 2011-08-29  Juri Linkov  <juri@jurta.org>
21538         * isearch.el (isearch-done): Don't display message "Mark saved"
21539         when arg `edit' is non-nil to prevent its flicker in the echo area.
21541 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
21543         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21544         obsolete packages for deletion.
21546 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
21548         * help-mode.el (help-mode-map): Add special-mode-map to parent.
21549         (help-mode): Derive help-mode from special-mode.  Don't invoke
21550         view-mode from help-mode.
21551         (help-xref-override-view-map): Remove.
21552         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21553         view-mode is not used anymore.
21555 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
21557         * server.el (server-port): Doc fix.
21559         * cus-theme.el (custom-theme-choose-mode): Inherit from
21560         special-mode (Bug#9124).
21561         (custom-theme-choose-mode-map): Add special-mode to parent.
21563 2011-08-28  Alan Mackenzie  <acm@muc.de>
21565         * progmodes/cc-fonts.el
21566         (c-make-font-lock-BO-decl-search-function): New function.
21567         (c-basic-matchers-after - "Fontify the clauses after various
21568         keywords"): Extract the three keyword lists for the 3 erroneous
21569         constructs from the list of four, and use the new function above
21570         in place of an old one.
21572 2011-08-28  Deniz Dogan  <deniz@dogan.se>
21574         * net/rcirc.el (rcirc-insert-prev-input)
21575         (rcirc-insert-next-input): Remove unused argument.
21577 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
21579         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21581 2011-08-27  Alan Mackenzie  <acm@muc.de>
21583         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21584         handle function pointer parameters properly.
21586 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
21588         * window.el (display-buffer-reuse-window): Fix case where
21589         selected window was reused with non-nil OTHER-WINDOW argument.
21590         (Bug#9381)
21592 2011-08-27  Deniz Dogan  <deniz@dogan.se>
21594         * net/rcirc.el (rcirc-check-auth-status): Adding support for
21595         oftc's NickServ messages.
21597 2011-08-27  Glenn Morris  <rgm@gnu.org>
21599         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
21601 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
21603         * emacs-lisp/package.el (package-install): Call package-initialize
21604         if called interactively.
21606 2011-08-26  Leo Liu  <sdl.web@gmail.com>
21608         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
21610 2011-08-25  Juri Linkov  <juri@jurta.org>
21612         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21613         `search-whitespace-regexp' (bug#9364).
21615 2011-08-25  Juri Linkov  <juri@jurta.org>
21617         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21618         `regexp-search-ring' to their global values to protect from
21619         updating by `read-from-minibuffer' (bug#9185).
21621 2011-08-25  Juri Linkov  <juri@jurta.org>
21623         * textmodes/ispell.el (ispell-command-loop): Add newline
21624         at the end of the "Use option `i'..." line.
21626 2011-08-25  Juri Linkov  <juri@jurta.org>
21628         * battery.el (display-battery-mode): If `battery-status-function'
21629         or `battery-mode-line-format' is nil, display the message and set
21630         `display-battery-mode' to nil (bug#9363).
21632 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
21634         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21635         bidi-string-mark-left-to-right; they are unnecessary now.
21637 2011-08-25  Deniz Dogan  <deniz@dogan.se>
21639         * net/quickurl.el: Documentation typo fixes.
21641 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
21643         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21645 2011-08-25  Glenn Morris  <rgm@gnu.org>
21647         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21649         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21650         (smtpmail-via-smtp): Handle nil response from smtp.
21652 2011-08-24  Juri Linkov  <juri@jurta.org>
21654         * proced.el (proced-marked): Inherit from `error' instead of
21655         `font-lock-warning-face'.
21657         * ibuffer.el (ibuffer-marked-face): Change default face from
21658         `font-lock-warning-face' to `warning'.
21659         (ibuffer-deletion-face): Change default face from
21660         `font-lock-type-face' to `error'.
21662         * battery.el (battery-update): Use the face `error' instead of
21663         `font-lock-warning-face' (bug#6117).
21665 2011-08-24  Juri Linkov  <juri@jurta.org>
21667         * faces.el (success): Change face color from "Green3" to
21668         "ForestGreen" on light background (bug#9353).
21670 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
21672         * window.el (quit-window): Rename from quit-restore-window.
21673         Use same arglist as old quit-window.
21674         (frame-auto-delete): Doc fix.
21676         * view.el (view-mode-exit): Use quit-window.
21678 2011-08-24  Juri Linkov  <juri@jurta.org>
21680         * isearch.el (isearch-ring-adjust1): Start visiting previous
21681         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21682         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21683         for empty search string (when the last search string is reused
21684         automatically) to adjust the isearch ring to the last element and
21685         prepare the correct index for further M-p commands (bug#9185).
21687 2011-08-24  Kenichi Handa  <handa@m17n.org>
21689         * international/ucs-normalize.el: If decomposition property of
21690         CHAR is the default one (i.e. a list of CHAR itself), treat it as
21691         nil.
21692         (nfd, nfkd): Likewise.
21694 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21696         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21697         from process filters aren't reliably transmitted to the surrounding
21698         accept-process-output.
21699         (mpc-proc-check): New function.
21700         (mpc-proc-sync): Use it (bug#8293)
21702 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21704         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21705         Add compatibility functions (bug#9313).
21707 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
21709         * cus-start.el (all): Add entry for bidi-paragraph-direction.
21711         * international/uni-bidi.el: Regenerate.
21713 2011-08-23  Kenichi Handa  <handa@m17n.org>
21715         * international/charprop.el:
21716         * international/uni-bidi.el:
21717         * international/uni-category.el:
21718         * international/uni-combining.el:
21719         * international/uni-comment.el:
21720         * international/uni-decimal.el:
21721         * international/uni-decomposition.el:
21722         * international/uni-digit.el:
21723         * international/uni-lowercase.el:
21724         * international/uni-mirrored.el:
21725         * international/uni-name.el:
21726         * international/uni-numeric.el:
21727         * international/uni-old-name.el:
21728         * international/uni-titlecase.el:
21729         * international/uni-uppercase.el: Regenerate.
21731 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
21733         * help.el (help-window-setup): Fix message displayed when other
21734         window is reused.  (Bug#9341)
21736 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
21738         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21739         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21741         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21742         Mark obsolete.
21743         * shell.el (shell-parse-pcomplete-arguments): New function.
21744         (shell-completion-vars): Use it instead (bug#9160).
21746 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
21748         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21749         strings and comments (bug#9333).
21751         * emacs-lisp/debug.el (debug-arglist): New function.
21752         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
21753         (debug-on-entry-1): Handle interpreted closures (bug#9120).
21755 2011-08-22  Juri Linkov  <juri@jurta.org>
21757         * progmodes/compile.el (compilation-mode-font-lock-keywords):
21758         Revert regexp that highlights output switches to its old
21759         pre-2010-10-28 value and remove one `?' from it (bug#9319).
21761         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21762         to check for empty output (bug#9226).
21764 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
21766         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21767         symbol-constituent as the default, as that stops font-lock from
21768         working properly (Bug#8843).
21770 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21772         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21773         `coding-system-for-*' around the process open call to avoid
21774         auth-source side effects.
21775         (smtpmail-try-auth-methods): Expand the secret password.
21776         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21777         probe hangs.
21779 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
21781         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21783         * emacs-lisp/find-func.el (find-function-noselect): New arg
21784         lisp-only.
21786         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21787         signal an error for built-in functions (Bug#6664).
21789 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21791         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21792         (smtpmail-try-auth-methods): Use it.
21794 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
21796         * font-lock.el (font-lock-fontify-region)
21797         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21798         (font-lock-default-unfontify-buffer)
21799         (font-lock-default-fontify-region)
21800         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21802         * progmodes/compile.el (compilation-error-properties):
21803         Fix confusion between file struct and message struct (Bug#9319).
21804         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21805         `ant' regexp.
21807         * net/browse-url.el (browse-url-firefox): Don't call
21808         browse-url-firefox-sentinel unless using -remote (Bug#9328).
21810 2011-08-20  Glenn Morris  <rgm@gnu.org>
21812         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21814         * tutorial.el (tutorial--default-keys): Update some default bindings.
21816         * files.el (hack-local-variables): Fully ignore case for "mode:".
21818 2011-08-20  Alan Mackenzie  <acm@muc.de>
21820         Resolve invalid use of a regexp in regexp-opt.
21822         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21823         detection for a java annotation.
21825         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21826         detection for a java annotation.
21828         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21829         handling for java.
21830         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21832 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
21834         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21835         (Bug#9274).
21837 2011-08-20  Alan Mackenzie  <acm@muc.de>
21839         Fontify CPP expressions correctly when starting in the middle of
21840         such a construct.  Mainly for when jit-lock etc. starts a chunk
21841         here.
21843         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21844         variable.
21845         (c-make-font-lock-search-form): New function, extracted from
21846         c-make-font-lock-search-function.
21847         (c-make-font-lock-search-function): Use the above function.
21848         (c-make-font-lock-context-search-function): New function.
21849         (c-cpp-matchers): Enhance the preprocessor expression case with
21850         the above function
21851         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21852         which takes an expression.
21854         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21856 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
21858         * window.el (display-buffer-reuse-window)
21859         (display-buffer-pop-up-window): Don't reuse or split a side
21860         window.
21862 2011-08-19  Glenn Morris  <rgm@gnu.org>
21864         * files.el (hack-local-variables-prop-line, hack-local-variables):
21865         Downcase "Mode:".  (Bug#9331)
21867 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
21869         * international/characters.el: Add L and R categories.
21871         * subr.el (bidi-string-mark-left-to-right): Rename from
21872         string-mark-left-to-right.  Use category search.
21874         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21876 2011-08-18  Juri Linkov  <juri@jurta.org>
21878         * faces.el (error, warning, success): New faces with definitions
21879         copied from old default values of `font-lock-warning-face',
21880         `compilation-warning', `compilation-info' (bug#6117).
21882         * font-lock.el (font-lock-warning-face): Inherit from `error'.
21884         * progmodes/compile.el (compilation-error): Inherit from `error'.
21885         (compilation-warning): Inherit from `warning'.
21886         (compilation-info): Inherit from `success'.
21888         * dired.el (dired-marked): Inherit from `warning'.
21889         (dired-flagged): Inherit from `error'.
21891 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21893         * mail/smtpmail.el (auth-source): Require to avoid problems with
21894         binding variables (bug#9298).  Also clean up some unused
21895         autoloads.
21897         * net/network-stream.el (network-stream-open-starttls):
21898         Support using starttls.el without using gnutls-cli.
21900 2011-08-17  Juri Linkov  <juri@jurta.org>
21902         * progmodes/grep.el (rgrep): Handle the case when
21903         `grep-find-command' is a cons cell (bug#9278).
21905 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
21907         * window.el (display-buffer-pop-up-frame): Run frame creation
21908         function with BUFFER current (as special-display-popup-frame
21909         does).  Reported by Drew Adams.
21911 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
21913         * epa-mail.el: Simplify GnuPG group expansion using
21914         epg-expand-group.
21915         (epa-mail-group-alist, epa-mail-group-modtime)
21916         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21917         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21918         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21919         Remove.
21921 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
21923         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21925 2011-08-16  Alan Mackenzie  <acm@muc.de>
21927         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21928         Correct, to avoid the inside of macros.
21930 2011-08-16  Richard Stallman  <rms@gnu.org>
21932         * epa-mail.el: Handle GnuPG group definitions.
21933         (epa-mail-group-alist, epa-mail-group-modtime)
21934         (epa-mail-gnupg-conf-file): New variables.
21935         (epa-mail-parse-groups, epa-mail-sync-groups)
21936         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21937         (epa-mail-expand-recipients): New functions.
21938         (epa-mail-encrypt): Call epa-mail-expand-recipients.
21940         * mail/rmail.el (rmail-epa-decrypt): New command.
21942         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21943         Don't bind buffer-read-only, just inhibit-read-only.
21944         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21945         (epa-decrypt-armor-in-region): Make error message clearer.
21947 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21949         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21950         and "a2b" to "ab" for `prefix'.
21952 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
21954         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21955         filter groups.
21956         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
21957         Fourquet (Bug#8804).
21959 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
21961         * startup.el (argi): Declare as global variable (bug#9275).
21963 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
21965         * subr.el (string-mark-left-to-right): Search the entire string
21966         for RTL script, not just the terminating character.  Doc fix.
21968 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21970         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21971         New function.
21972         (js--regexp-literal, js-syntax-propertize-function): Remove.
21973         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21974         (js-mode-map): Don't rebind electric keys.
21975         (js-insert-and-indent): Remove.
21976         (js-mode): Setup electric-layout and electric-indent instead.
21978         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21980 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
21982         * epa.el (epa-progress-callback-function): Fix the logic of
21983         displaying progress.
21984         * epa-file.el (epa-file-insert-file-contents): Make progress
21985         display more user-friendly.
21986         (epa-file-write-region): Ditto.
21988 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
21990         * subr.el (string-mark-left-to-right): New function.
21992         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21993         Use string-mark-left-to-right.
21994         (list-buffers-noselect): Caller changed.
21996         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21997         Use string-mark-left-to-right.
21998         (tabulated-list-print): Recenter after moving point.
22000 2011-08-10  Juri Linkov  <juri@jurta.org>
22002         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
22003         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
22004         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
22006 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
22008         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
22009         (Bug#7554).
22011 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22013         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
22014         character.  (Bug#6594)
22016 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
22018         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
22019         (image-dired--with-db-file): New macro.
22020         (image-dired-write-tags, image-dired-remove-tag)
22021         (image-dired-create-gallery-lists, image-dired-write-comments)
22022         (image-dired-get-comment, image-dired-mark-tagged-files)
22023         (image-dired-list-tags, image-dired-gallery-generate): Use it.
22024         (image-dired-gallery-generate): Use insert-file-contents.
22026         * time.el (display-time-world-list, display-time-world-display):
22027         * time-stamp.el (time-stamp-string):
22028         * vc/add-log.el (add-change-log-entry): Use setenv instead of
22029         set-time-zone-rule (Bug#7337).
22031 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
22033         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
22034         (epg-error-to-string, epg-errors-to-string): New function.
22035         (epg-wait-for-completion): Reverse errors list.
22036         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
22037         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
22038         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
22039         (epg-sign-keys, epg-generate-key-from-file)
22040         (epg-generate-key-from-string): Format errors by using
22041         epg-errors-to-string (bug#9255).
22042         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
22044 2011-08-07  Juri Linkov  <juri@jurta.org>
22046         * faces.el (list-faces-display): Remove extra angle bracket
22047         from `help-mode-map'.
22049         * info.el (Info-history-toc-nodes): Doc fix.
22051         * longlines.el (longlines-mode): Doc fix.
22053 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22055         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
22056         of statements and in a few more cases (bug#9183).
22058         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
22059         New functions.
22060         (cl-transform-lambda): Use them (bug#9239).
22062 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
22064         * window.el (display-buffer-same-window)
22065         (display-buffer-same-frame, display-buffer-other-window)
22066         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22067         (pop-to-buffer-other-window)
22068         (pop-to-buffer-same-frame-other-window)
22069         (pop-to-buffer-other-frame): Make them defuns.
22070         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
22072 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
22074         * subr.el (make-composed-keymap): Move from C.  Change calling
22075         convention, and improve docstring to bring attention to a subtle point.
22076         * minibuffer.el (completing-read-default): Adjust accordingly.
22078 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
22080         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
22081         (tramp-open-shell): Use `tramp-shell-quote-argument'.
22083         * net/trampver.el: Update release number.
22085 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
22087         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
22088         "in" (bug#9190).
22090 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22092         * mail/sendmail.el (sendmail-query-once): Restore the current
22093         buffer after querying (bug#9074).
22095         * dired.el (dired-flagged): Use different faces for marked and
22096         flagged files (bug#6117).
22098         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
22099         (bug#4433).
22101         * ido.el (ido-mode): Switch off the message if called
22102         non-interactively.
22104         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
22105         before 587, since it appears that that's more likely to work for
22106         more people.
22108         * cus-edit.el (custom-file): When running under emacs -q, always
22109         refuse to save the customizations, even if the .emacs file doesn't
22110         exist.
22112         * info.el: Remove the `Info-beginning-of-buffer' function
22113         (bug#8325).
22115         * net/network-stream.el (network-stream-open-starttls):
22116         Use `starttls-available-p' to see whether starttls.el can be used.
22118 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
22120         * window.el (display-buffer-in-window): Don't set dedicated status
22121         of window here (Bug#9215).
22122         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
22123         (display-buffer-pop-up-side-window)
22124         (display-buffer-in-side-window): Set dedicated status of window here.
22126 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
22128         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
22129         before binding generated-autoload-file.
22131 2011-08-01  Deniz Dogan  <deniz@dogan.se>
22133         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
22135 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
22137         Sync with Tramp 2.2.2.
22139         * net/trampver.el: Update release number.
22141 2011-07-30  Juri Linkov  <juri@jurta.org>
22143         * dired-aux.el (dired-touch-initial): Remove function.
22144         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
22145         current time, and `default' to the last modification time of the
22146         current marked file (bug#6887).
22148 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
22150         * simple.el (goto-line): Use string-to-number to provide a
22151         numeric argument to read-number (bug#9163).
22153 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
22155         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
22156         connection process, it could be nil.
22158 2011-07-27  Leo Liu  <sdl.web@gmail.com>
22160         Simplify url handling in rcirc-mode.
22162         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
22163         (rcirc-browse-url-at-mouse): Remove.
22164         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
22166 2011-07-26  Alan Mackenzie  <acm@muc.de>
22168         Fontify bitfield declarations properly.
22170         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
22171         (c-symbol-chars): Now exported as a lang variable.
22172         (c-not-primitive-type-keywords): New lang variable.
22174         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
22175         QT keyword "more" to prevent "more slots: ...." being spuriously
22176         parsed as a bitfield declaration.
22178         * progmodes/cc-engine.el (c-beginning-of-statement-1):
22179         Refactor and enhance to handle bitfield declarations.
22180         (c-punctuation-in): New function.
22181         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
22182         declarations properly.
22184 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
22186         * calendar/icalendar.el (icalendar--all-events): Take care of
22187         multiple vcalendars in a single file.
22188         (icalendar--convert-float-to-ical): Checkdoc fixes.
22190 2011-07-25  Deniz Dogan  <deniz@dogan.se>
22192         * image.el (insert-image): Clarifying docstring.
22194 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
22196         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
22197         `tramp-send-command-and-check' if there is no error.
22198         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
22200 2011-07-22  Alan Mackenzie  <acm@muc.de>
22202         Prevent cc-langs.elc being loaded at run time.
22204         * progmodes/cc-mode.el: Remove two autoload forms which loaded
22205         cc-langs.
22207         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
22208         "(require 'cc-langs)".  Quote a form so it will evaluate at
22209         (cc-mode's) compilation time.
22211 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
22213         * net/tramp.el (tramp-file-name-handler): Avoid recursive
22214         loading.  (Bug#9114)
22216 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
22218         * window.el (display-buffer-pop-up-window)
22219         (display-buffer-pop-up-side-window)
22220         (display-buffer-in-side-window): Call display-buffer-set-height
22221         and display-buffer-set-width after setting the new window's
22222         buffer so `fit-window-to-buffer' and friends work on the right buffer.
22224 2011-07-20  Sam Steingold  <sds@gnu.org>
22226         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
22227         (etags-tags-included-tables): Call `convert-standard-filename' on
22228         the file names contained in TAGS so that windows Emacs can handle
22229         TAGS files created by cygwin ctags.
22231 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22233         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
22234         which apparently didn't work.
22236 2011-07-19  Roland Winkler  <winkler@gnu.org>
22238         * proced.el (proced-send-signal): For *Marked Processes* buffer
22239         put point at beginning of buffer.
22241 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
22243         * proced.el (proced-format): Make header lines align with the text
22244         (bug#1779).
22246 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22248         * view.el (view-buffer): Allow running in `special' modes if we're
22249         visiting a file (bug#8615).
22251 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
22253         * window.el (display-buffer-alist-of-strings-p)
22254         (display-buffer-alist-set-1, display-buffer-alist-set-2):
22255         New functions.
22256         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
22257         more accurately.
22259 2011-07-18  Alan Mackenzie  <acm@muc.de>
22261         Fontify declarators properly when, e.g., a jit-lock chunk begins
22262         inside a declaration.
22264         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
22266         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
22267         New function.
22268         (c-complex-decl-matchers): Insert reference to
22269         c-font-lock-enclosing-decls.
22271         * progmodes/cc-engine.el (c-backward-single-comment):
22272         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
22273         to nil around calls to (forward-comment -1).
22275 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22277         * image.el (put-image): Doc typo fix.
22279         * progmodes/etags.el (tags-search): Doc typo fix.
22281         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
22282         password if we get errors 550 to 554.
22284 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22286         * net/gnutls.el (gnutls-log-level): Remove.
22288         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
22289         indentation character (bug#6380).
22291         * files.el (buffer-offer-save): Made permanently local (bug#6241).
22293         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
22294         to clarify what the problem is (bug#4291).
22296         * simple.el (current-kill): Clarify what
22297         `interprogram-paste-function' does (bug#7500).
22298         (auto-fill-mode): Document `auto-fill-function' in relation to
22299         `auto-fill-mode' (bug#2470).
22301 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
22303         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
22304         method if slot is read-only (bug#9035).
22306 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
22308         * frame.el (select-frame-set-input-focus): New argument NORECORD.
22309         * window.el (pop-to-buffer): Select window used even if it was
22310         selected before, see discussion of (Bug#8615), (Bug#6954).
22311         Pass argument NORECORD on to select-frame-set-input-focus.
22313 2011-07-15  Glenn Morris  <rgm@gnu.org>
22315         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
22316         Respect help-form.
22318 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
22320         * net/gnutls.el (gnutls-min-prime-bits): New variable.
22321         (gnutls-negotiate): Use it.
22323 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22325         * net/gnutls.el (gnutls-negotiate):
22326         Upcase `gnutls-algorithm-priority'.
22328 2011-07-15  Glenn Morris  <rgm@gnu.org>
22330         * jka-compr.el (jka-compr-verbose): Move from here...
22331         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
22332         Add missing :version tag.
22333         * info.el: No need to require jka-compr when compiling.
22335 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22337         * net/gnutls.el (gnutls-algorithm-priority): New variable.
22338         (gnutls-negotiate): Use it.
22340         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
22342         * info.el (Info-beginning-of-buffer): New command.
22343         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
22344         announcing `b' as the key (bug#8325).
22345         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
22347         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
22349         * international/mule-cmds.el
22350         (describe-specified-language-support): Make the error message
22351         clearer (bug#8905).
22353         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
22355         * isearch.el (isearch-barrier): Add a doc string, since it's
22356         mentioned in a function doc string (bug#8678).
22358 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
22360         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
22361         buffer argument (Bug#9083) and self-identifying label argument.
22363 2011-07-15  Glenn Morris  <rgm@gnu.org>
22365         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
22367 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22369         * man.el (Man-fontify-manpage): Fix message when formatting the
22370         man page (bug#7929).
22372 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
22374         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
22375         argument LRM; if non-nil, append an invisible LRM character to the
22376         buffer name.
22377         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
22378         last argument non-nil, when formatting buffer names.
22379         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
22380         paragraph direction.
22382 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22384         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
22385         the man page name (bug#7929).
22387         * image.el (put-image): Mention the `put-image' overlay property
22388         (bug#7834).
22390         * scroll-bar.el (set-scroll-bar-mode): Mention that
22391         `scroll-bar-mode' lists the values (bug#7772).
22393         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
22394         command (bug#7729).
22396         * rect.el (apply-on-rectangle): Return the point after the last
22397         operation.
22398         (string-rectangle): Go to the point after the last operation
22399         (bug#7522).
22401         * printing.el (pr-toggle-region): Clarify the documentation
22402         slightly (bug#7493).
22404         * time.el (display-time-update):
22405         Allow `display-time-mail-function' to return nil (bug#7158).
22406         Fix suggested by Detlev Zundel.
22408         * vc/diff.el (diff): Clarify the order the file names are read
22409         (bug#7111).
22411         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
22412         the doc string (bug#7015).
22414         * font-lock.el (font-lock-maximum-decoration): Mention what
22415         numeric levels mean (bug#6935).
22417         * startup.el (initial-buffer-choice): Don't mention the `none'
22418         selection, which is against policy.
22420 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
22422         * window.el (display-buffer-normalize-special):
22423         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
22425 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
22427         * subr.el (version<, version<=, version=): Mention "-CVS" and
22428         "-12345" alpha version numbers.
22430 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
22432         * bindings.el: Add advertised binding for set-mark-command
22433         (Bug#5772).
22435 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
22437         * bindings.el (mode-line-other-buffer):
22438         * bookmark.el (bookmark-bmenu-2-window):
22439         * bs.el (bs-cycle-next, bs-cycle-previous):
22440         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22441         switch-to-buffer.
22443         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22444         Delete.
22446 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
22448         * follow.el (follow-debug-message, follow-redisplay):
22449         * jka-cmpr-hook.el (with-auto-compression-mode):
22450         Fix typos in docstrings.
22452 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22454         * subr.el (with-silent-modifications): Clarify somewhat what the
22455         macro inhibits (bug#6525).
22457         * simple.el (eval-expression): Note what it does if called
22458         interactively (bug#6495).
22460 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
22462         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22463         Use pop-to-buffer buffer-or-name if it is nil.
22465         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22466         Remove switch-to-buffer.
22468 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22470         * files.el (make-directory): Clarify that an error will be raised
22471         if there's an error (bug#6397).
22473         * startup.el (initial-buffer-choice): Add `none' as a choice
22474         (bug#6234).
22476         * subr.el (add-hook): Clarify section about buffer-local hooks
22477         (bug#6218).
22479         * dired.el (dired-flagged): Clarify doc string (bug#6117).
22481 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
22483         * tabify.el (untabify): Preserve the current column so that point
22484         doesn't move (bug#6032).
22486 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22488         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22489         Rewrite to avoid awkward possessive "s" (bug#5986).
22491 2011-07-13  Glenn Morris  <rgm@gnu.org>
22493         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
22494         (dired-insert-directory): Give a message the first time
22495         if ls is found not to support --dired.
22497 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22499         * simple.el (toggle-truncate-lines): Clarify what is toggled
22500         (bug#5580).  Text by Drew Adams.
22502 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
22504         * simple.el (blink-matching-open): Make the error message from the
22505         last change less verbose.
22507 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
22509         * font-lock.el (font-lock-comment-face): Use the high contrast
22510         "yellow" color for font-lock-comment-face on low color terminals
22511         using a dark background color (bug#4221).
22513 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22515         * dired.el (dired-insert-set-properties): Make the doc string
22516         reflect what it does now (bug#5325).
22518         * simple.el (blink-matching-open): Say that we were unable to find
22519         the match within the limit, if we're limited (bug#5122).
22521         * international/mule-cmds.el (prefer-coding-system): Add an
22522         example (bug#4869).
22524         * progmodes/etags.el (tags-search): Document `file-list-form'
22525         (bug#4731).
22527 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
22529         * net/browse-url.el (browse-url-default-browser)
22530         (browse-url-browser-function): Make the default browser choice a
22531         bit more logical (bug#4300).  Also clean up the doc string.
22533 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
22535         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22536         binary endings (bug#4440).
22538 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22540         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22541         which can be pretty annoying (bug#8971).
22543         * jka-compr.el (jka-compr-verbose): New variable, and use
22544         throughout (bug#8971).
22546         * info.el (Info-find-file): Fall back on the installation
22547         directory if we can't find the info node anywhere else.
22549 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
22551         * vc/vc.el (vc-revert-file):
22552         Don't set file time-stamp in the past.  (Bug#5181)
22554 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22556         * files.el (after-find-file): Give a better error message when
22557         trying to find a symlink that points to a file that doesn't exist
22558         (bug#4398).
22560         * progmodes/cc-vars.el: Remove (probably) misleading comment
22561         (bug#4396).
22563 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
22565         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22567 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
22569         * mouse-sel.el: Hack restoring functionality, while keeping
22570         compatibility with 2010-07-03 changes to mouse selection.
22571         (mouse-sel-primary-overlay): New var.
22572         (mouse-sel-selection-alist): Use it.
22573         (mouse-sel-mode): Doc fix; remove points that are default features
22574         of mouse.el.
22576 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
22578         * progmodes/compile.el (compilation-error-regexp-alist-alist):
22579         Fix previous fix (bug#2490).
22581 2011-07-12  Roland Winkler  <winkler@gnu.org>
22583         * textmodes/bibtex.el (bibtex-initialize):
22584         Use pop-to-buffer-same-window.
22585         (bibtex-search-entries): Fix interactive call.
22587 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22589         * progmodes/compile.el (compilation-error-regexp-alist-alist):
22590         Fontise bytecomp Error lines more correctly (bug#2490).
22591         Fix suggested by Johan BockgÃ¥rd.
22593         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22595         * dired-x.el (dired-guess-default): Use `delete-dups'.
22597 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
22599         * dired.el (dired-mark-prompt):
22600         * dired-aux.el (dired-read-shell-command): Doc fix.
22602 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22604         * mail/sendmail.el (sendmail-query-once):
22605         Use `customize-save-variable' unconditionally, now that it works under
22606         emacs -Q.
22608         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22610         * cus-edit.el (custom-file): Take an optional no-error variable.
22611         (customize-save-variable): Set the variable, and give a warning if
22612         running under "emacs -q".
22614 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
22616         * loadhist.el (unload-feature-special-hooks):
22617         Add `auto-coding-functions', `fill-nobreak-predicate' and
22618         `find-directory-functions' (bug#5327).
22620 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22622         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22624         * cus-edit.el (custom-guess-name-alist): -alist variables should
22625         use the `alist' type (bug#3120).  Suggested by Drew Adams.
22627         * printing.el: Add documentation to all the `pr-toggle-' commands.
22629 2011-07-11  Leo Liu  <sdl.web@gmail.com>
22631         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22632         backends where it makes sense (bug#2623).
22634 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22636         * dired-x.el (dired-guess-default): Remove duplicate shell command
22637         entries (bug#2028).
22638         (dired-guess-default): Fix grammar in doc string (bug#2028).
22639         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22641         * subr.el (remove-duplicates): New conveniency function.
22643 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22645         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22646         (bug#1526).
22648 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
22650         * window.el (display-buffer-normalize-default): Don't invert
22651         meaning of even-window-heights.  Reported by Eli Zaretskii
22652         <eliz@gnu.org>.
22654 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
22656         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22658 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
22660         * window.el (display-buffer): Fix arguments to
22661         display-buffer-reuse-window in last change.
22663         * faces.el (link): Use a less saturated blue on light backgrounds.
22665         * startup.el (fancy-startup-text, fancy-about-text)
22666         (fancy-startup-tail): Use font-lock faces, for background safety.
22668 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
22670         * emulation/viper-cmd.el (viper-change-state-to-vi):
22671         Limit triggering of abbrev expansion (Bug#9038).
22673 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
22675         * window.el (display-buffer-default-specifiers): Remove.
22676         (display-buffer-macro-specifiers): Remove default specifiers.
22677         (display-buffer-alist): Default to nil.
22678         (display-buffer-reuse-window): New optional argument other-window.
22679         (display-buffer-pop-up-window): Allow splitting internal
22680         windows.  Check whether a live window was created.
22681         (display-buffer-other-window-means-other-frame)
22682         (display-buffer-normalize-arguments): Rename to
22683         display-buffer-normalize-argument and rewrite.  Set the
22684         other-window specifier.
22685         (display-buffer-normalize-special): New function.
22686         (display-buffer-normalize-options): Rename to
22687         display-buffer-normalize-default and rewrite.
22688         (display-buffer-normalize-options-inhibit): Remove.
22689         (display-buffer-normalize-specifiers): Rewrite.
22690         (display-buffer): Process other-window specifier and call
22691         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
22692         more faithfully.
22693         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22694         (display-buffer-alist-set): Don't handle 'unset default values.
22695         (display-buffer-in-window, display-buffer-alist-set):
22696         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
22697         <tassilo@member.fsf.org>.
22699 2011-07-09  Leo Liu  <sdl.web@gmail.com>
22701         * register.el (insert-register): Restore accidental change on
22702         2011-06-26.  (Bug#9028)
22704 2011-07-09  Glenn Morris  <rgm@gnu.org>
22706         * subr.el (remq): Handle the empty list.  (Bug#9024)
22708 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
22710         * mail/sendmail.el (send-mail-function): No longer delay custom
22711         initialization.
22712         * custom.el (custom-initialize-delay): Doc fix.
22714 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
22716         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22718 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
22720         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22721         human-friendly prompt.
22723 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
22725         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22726         provided by a particular plugin.
22728 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22730         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22731         save customizations (with "emacs -Q"), just set the variable
22732         instead of erroring out.
22734         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22736 2011-07-08  Juri Linkov  <juri@jurta.org>
22738         * arc-mode.el (archive-zip-expunge, archive-zip-update)
22739         (archive-zip-update-case): Use 7z if found by `executable-find'.
22740         The order of searching the available programs is the same as in
22741         `archive-zip-extract' (bug#8968).
22743 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
22745         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22746         (menu-bar-options-menu): Tweak descriptions.
22748 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22750         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22751         menu items into verb phrases (bug#1421).  Also refill to fit under
22752         80 columns.
22754 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
22756         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22757         (Info-read-node-name): Doc fix (Bug#1084).
22759         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22760         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22761         (end-of-sexp, beginning-of-sexp)
22762         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22763         (forward-symbol, forward-same-syntax, word-at-point)
22764         (sentence-at-point): Doc fix (Bug#1144).
22766 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22768         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22769         should cover it (bug#1281).
22771         * cus-edit.el (custom-show): Mark as obsolete.
22773         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22774         negotiation fails, then possibly try again with a non-encrypted
22775         connection (bug#9017).
22777         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22778         be used.
22780 2011-07-07  Richard Stallman  <rms@gnu.org>
22782         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22783         property, and handle its changed format.
22784         Look for the correct line number.
22785         Use file's line contents (but not past first =) to find
22786         correct line in message.
22788 2011-07-07  Kenichi Handa  <handa@m17n.org>
22790         * international/characters.el (build-unicode-category-table):
22791         Delete it.
22792         (unicode-category-table): Set it by unicode-property-table-internal.
22794         * international/mule-cmds.el (char-code-property-alist): Move to
22795         to src/chartab.c.
22796         (get-char-code-property): Call unicode-property-table-internal to
22797         load a file.  Call get-unicode-property-internal where necessary.
22798         (put-char-code-property): Call unicode-property-table-internal to
22799         load a file.  Call put-unicode-property-internal where necessary.
22800         put-unicode-property-internal where necessary.
22801         (char-code-property-description):
22802         Call unicode-property-table-internal to load a file.
22804         * international/charprop.el:
22805         * international/uni-bidi.el:
22806         * international/uni-category.el:
22807         * international/uni-combining.el:
22808         * international/uni-comment.el:
22809         * international/uni-decimal.el:
22810         * international/uni-decomposition.el:
22811         * international/uni-digit.el:
22812         * international/uni-lowercase.el:
22813         * international/uni-mirrored.el:
22814         * international/uni-name.el:
22815         * international/uni-numeric.el:
22816         * international/uni-old-name.el:
22817         * international/uni-titlecase.el:
22818         * international/uni-uppercase.el: Regenerate.
22820         * loadup.el: Load international/charprop.el before
22821         international/characters.
22823 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
22825         * window.el (next-buffer, previous-buffer): Signal an error if
22826         called from a minibuffer window.
22828         * bindings.el: Revert 2011-07-04 change.
22830 2011-07-06  Richard Stallman  <rms@gnu.org>
22832         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22833         (rmail-mime-insert-bulk, rmail-mime-insert-text):
22834         Treat markers like ints.
22835         (rmail-mime-entity): Doc fix.
22837 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22839         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22840         defcustom again for backwards compatibility.
22842         * simple.el (shell-command-on-region): Fill.
22844         * dired-aux.el (dired-kill-line): Add a doc string.
22846         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22847         to "\\sw\\|\\s_" (bug#358).
22849         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22850         (dired-unmark-backward): Ditto.
22851         (dired-flag-backup-files): Ditto.
22853         * dired-x.el (dired-mark-sexp): Ditto.
22855 2011-07-06  Richard Stallman  <rms@gnu.org>
22857         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22858         (rmail-mime-entity): New arg TRUNCATED.
22859         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22860         New functions.
22861         (rmail-mime-save): Warn if entity is truncated.
22862         (rmail-mime-toggle-hidden): Likewise, for showing.
22863         (rmail-mime-process-multipart): Record when an entity is truncated.
22865         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22866         if ENTITY is a string.
22868 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22870         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22871         of faces when `M-C-x'-ing their definitions (bug#8378).
22872         Also clean up the code slightly.
22874         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22875         because that makes the colors go away.
22877         * mail/sendmail.el (send-mail-function): Change the default to
22878         `sendmail-query-once'.
22879         (sendmail-query-once): Add an autoload cookie.
22881         * net/network-stream.el (network-stream-open-starttls): Try using
22882         a plain connection even if the server offered STARTTLS, and we
22883         kinda wanted to use it, if Emacs doesn't have any STARTTLS
22884         capability.  This should make smtpmail.el work in slightly more
22885         configurations.
22887 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
22889         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22890         New defun.
22891         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22893 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
22895         * progmodes/sql.el: Version 3.0
22896         (sql-product-alist): Add product :completion-object,
22897         :completion-column, and :statement attributes.
22898         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22899         (sql-mode-syntax-table): Mark all punctuation.
22900         (sql-font-lock-keywords-builder): Temporarily remove fallback on
22901         ansi keywords.
22902         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22903         (sql-mode-oracle-font-lock-keywords): Improve.
22904         (sql-oracle-show-reserved-words): New function for development.
22905         (sql-product-font-lock): Simplify for source code buffers.
22906         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22907         New functions.
22908         (sql-highlight-product): Set product specific syntax table.
22909         (sql-mode-map): Add statement movement functions.
22910         (sql-ansi-statement-starters, sql-oracle-statement-starters):
22911         New variable.
22912         (sql-statement-regexp, sql-beginning-of-statement)
22913         (sql-end-of-statement, sql-signum): New functions.
22914         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22915         (sql-show-sqli-buffer): Bug fix.
22916         (sql-interactive-mode): Store connection data as buffer local.
22917         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
22918         with sql-interactive-mode.
22919         (sql-save-connection): Save buffer local settings.
22920         (sql-connection-menu-filter): Change menu entry name.
22921         (sql-product-interactive): Bug fix.
22922         (sql-preoutput-hold): New variable.
22923         (sql-interactive-remove-continuation-prompt): Bug fixes.
22924         (sql-debug-redirect): New variable.
22925         (sql-str-literal): New function.
22926         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22927         Redesign.
22928         (sql-oracle-save-settings, sql-oracle-restore-settings)
22929         (sql-oracle-list-all, sql-oracle-list-table): New functions.
22930         (sql-completion-object, sql-completion-column)
22931         (sql-completion-sqlbuf): New variables.
22932         (sql-build-completions-1, sql-build-completions)
22933         (sql-try-completion): New functions.
22934         (sql-read-table-name): Use them.
22935         (sql-contains-names): New buffer local variable.
22936         (sql-list-all, sql-list-table): Use it.
22937         (sql-oracle-completion-types): New variable.
22938         (sql-oracle-completion-object, sql-sqlite-completion-object)
22939         (sql-postgres-completion-object): New functions.
22941 2011-07-06  Glenn Morris  <rgm@gnu.org>
22943         * window.el (pop-to-buffer): Doc fix.
22945 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
22947         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22949 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
22951         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22953         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22955 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
22957         * button.el (button): Inherit from link face.  Suggested by Dan
22958         Nicolaescu.
22960 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22962         * progmodes/gdb-mi.el: Fit in 80 columns.
22963         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22964         switch-to-buffer.
22966         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22967         if imenu is simply not configured (bug#8941).
22969 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
22971         * allout.el (allout-post-undo-hook): New allout outline-change
22972         event hook to signal undo activity.
22973         (allout-post-command-business): Run allout-post-undo-hook if an
22974         undo just occurred.
22975         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22976         * allout-widgets.el (allout-widgets-after-undo-function):
22977         Ensure the integrity of the current item's decoration after it has been
22978         in the vicinity of an undo.
22979         (allout-widgets-mode): Include allout-widgets-after-undo-function
22980         on the new allout-post-undo-hook.
22982 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
22984         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22985         Let define-derived-mode define it.
22986         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22987         cycles of abbrev-table inheritance (bug#8998).
22989 2011-07-05  Roland Winkler  <winkler@gnu.org>
22991         * textmodes/bibtex.el: Add support for biblatex.
22992         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22993         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22994         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22995         (bibtex-entry-alist, bibtex-field-alist): New variables.
22996         (bibtex-entry-field-alist): Obsolete alias for
22997         bibtex-BibTeX-entry-alist.
22998         (bibtex-entry-alist, bibtex-field-alist): New widgets.
22999         (bibtex-set-dialect): New command.
23000         (bibtex-entry-type, bibtex-entry-head)
23001         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
23002         Bind via bibtex-set-dialect.
23003         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
23004         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
23005         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
23006         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
23007         Define via bibtex-set-dialect.
23008         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
23009         Obey bibtex-no-opt-remove-re.
23010         (bibtex-vec-push, bibtex-vec-incr): New functions.
23011         (bibtex-format-entry, bibtex-field-list)
23012         (bibtex-print-help-message, bibtex-validate)
23013         (bibtex-search-entries): Use new format of bibtex-entry-alist.
23015 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
23017         * progmodes/compile.el (compilation-goto-locus):
23018         * net/tramp-cmds.el (tramp-append-tramp-buffers):
23019         * bs.el (bs-cycle-next, bs-cycle-previous):
23020         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
23021         * bindings.el (mode-line-other-buffer):
23022         * autoinsert.el (auto-insert):
23023         * arc-mode.el (archive-extract):
23024         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
23026 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
23028         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
23029         Fix check of `emacs-lock-unlockable-modes'.
23030         Coerce true values of `emacs-lock--try-unlocking' to t.
23032 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
23034         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
23035         * emacs-lock.el: New file.
23037 2011-07-05  Julien Danjou  <julien@danjou.info>
23039         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
23040         than `boundp' to check if face is set.
23042 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
23044         * register.el (registerv-make):
23045         * window.el (window-min-height): Fix typos in docstrings.
23047 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
23049         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
23050         Update doc string.
23052 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
23054         * server.el (server-execute): Catch quit and call
23055         `server-return-error' to pass the error back to emacsclient and
23056         close the connection (bug#8942).
23058 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
23060         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
23061         insecure exception for current topic.  Also note that auto-saves
23062         are handled differently.
23064         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
23065         State variables for tracking auto-save inhibition situation.
23067         (allout-write-contents-hook-handler): Rename from
23068         'allout-write-file-hook-handler', and describe how it depends on
23069         write-contents-functions sensitivity to non-nil value to prevent
23070         file write.
23072         (allout-auto-save-hook-handler): Remove.  auto-save does not check
23073         this in individual buffers, only in the starting buffer, so this
23074         is not the right way for us to inhibit auto-save in a buffer
23075         according to its condition.
23077         (allout-mode): Use new allout-write-contents-hook-handler, and
23078         only with write-contents-functions.  Remove auto-save provisions -
23079         they're implemented elsewhere.
23081         (allout-before-change-handler): If undo is in progress, note that
23082         for attention of allout-post-command-business.
23084         (allout-post-command-business): If the command we're following was
23085         an undo, check for change in the status of encrypted items and
23086         adjust auto-save inhibitions accordingly.
23088         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
23089         according to whether there are or aren't any plain-text topics
23090         pending encryption.
23092         (allout-inhibit-auto-save-info-for-decryption):
23093         Adjust buffer-saved-size and some allout state to inhibit auto-saves
23094         if there are plain-text topics pending encryption.
23096         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
23097         buffer-saved-size and some allout state to not inhibit auto-saves
23098         if there are no longer any plain-text topics pending encryption.
23100         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
23101         No longer provide for exemption of the current topic.
23103 2011-07-04  Juri Linkov  <juri@jurta.org>
23105         Add 7z operations to delete and save changed members (bug#8968).
23106         * arc-mode.el (archive-7z-expunge, archive-7z-update):
23107         New defcustoms.
23108         (archive-7z-write-file-member): New function.
23109         (archive-7z-summarize): Fix the number of dashes in the
23110         listing output.
23112 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
23114         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
23115         (bug#8958).
23117 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
23119         * bindings.el: Ignore next-buffer and previous-buffer in
23120         minibuffer-local-map.
23122         * font-lock.el (font-lock-builtin-face): Change light background
23123         color to dark slate blue (Bug#6693).
23125 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
23127         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
23129 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
23131         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
23132         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
23133         Add switch-to-buffer.
23135 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23137         * isearch.el (isearch-search-fun-function): Clarify further the
23138         meaning of the function returned.
23140 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
23142         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
23144         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
23145         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
23146         Use it.
23147         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
23148         `tramp-default-remote-path' does not exist.
23149         (tramp-send-command-and-read): New optional argument NOERROR.
23150         (tramp-open-connection-setup-interactive-shell)
23151         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
23152         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
23153         (tramp-process-sentinel): Flush also process' connection property.
23154         (tramp-sh-handle-start-file-process): Do not set process
23155         sentinel.  It is done now ...
23156         (tramp-maybe-open-connection): ... here.  (Bug#8929)
23158 2011-07-04  MON KEY  <monkey@sandpframing.com>
23160         * play/animate.el (animate-string): Doc fixes and allow changing
23161         the buffer name (bug#5417).
23163 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23165         * play/animate.el (animation-buffer-name): Rename from *animate*.
23167 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
23169         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
23170         This is simpler and helps future-proof the code.
23171         (timer-until): Use time-subtract and float-time.
23172         (timer--time-less-p): Use time-less-p.
23174 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
23176         * type-break.el (timep): Use the value of `float-time' to avoid a
23177         byte-compiler warning.
23179         * server.el (server-eval-and-print): Return any result, even nil.
23181 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
23183         * type-break.el: Accept time formats that the builtins accept.
23184         (timep, type-break-time-difference): Accept any format that
23185         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
23186         This is simpler and helps future-proof the code.
23187         (type-break-time-difference): Round rather than ignoring
23188         subseconds components.
23190 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23192         * info.el (Info-apropos-matches): Make non-interactive, since it
23193         doesn't seem to do anything useful as a command (bug#8829).
23195 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
23197         * frame.el (frame-background-mode, frame-set-background-mode):
23198         Move from faces.el.
23199         (frame-default-terminal-background): New function.
23201         * custom.el (custom-push-theme): Don't record faces in `changed'
23202         theme; this doesn't work correctly for per-frame face settings.
23203         (disable-theme): Use face-set-after-frame-default to reset faces.
23204         (custom--frame-color-default): New function.
23206 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23208         * dired.el (dired-flagging-regexp): Remove unused variable
23209         (bug#8769).
23211 2011-03-29  Kevin Ryde  <user42@zip.com.au>
23213         * progmodes/compile.el (compilation-error-regexp-alist-alist):
23214         `perl-Test2' extend to match possible "fail #N" rep count
23215         (bug#8377).
23217 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23219         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
23220         `smtpmail-via-smtp' now returns the error instead of nil.
23222         * isearch.el (isearch-search-fun-function): Clarify the doc string
23223         (bug#8101).
23225 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
23227         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
23228         unnecessary spaces (bug#8987).
23230 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23232         * net/network-stream.el (open-network-stream): Use the
23233         :end-of-capability command thoughout.
23235 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
23237         * net/network-stream.el (open-network-stream): Add the
23238         :end-of-capability command parameter, used by pop3.el.
23240 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23242         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
23244         * fringe.el (fringe-query-style): Remove redundant text " (type ?
23245         for list)" (bug#6475).
23247         * files.el (file-expand-wildcards): Ignore non-readable
23248         sub-directories while trying to find matches instead of signaling
23249         an error (bug#6297).
23251         * man.el (Man-reference-regexp): Allow matching possible
23252         word-wrapped references (bug#6289).
23254         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
23255         for consistency with the other vc buffers (bug#6197).
23256         (vc-checkin): Ditto.
23258         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
23260         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
23262 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23264         * custom.el (defcustom): Clarify that :set is only used in the
23265         Customize user interface (bug#6089).
23267         * progmodes/flymake.el (flymake-mode): If the buffer isn't
23268         associated with a file, refuse to run instead of erroring out
23269         (bug#6084).
23271         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
23272         the doc string, since it appears that using `fill-column' always
23273         controls the width (bug#7845).
23275         * simple.el (shell-command-on-region): Say where the error output
23276         went if `shell-command-default-error-buffer' is set (bug#6857).
23278 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
23280         * allout.el (allout-yank-processing): Adjust cursor position for
23281         backwards-deleted space.
23283         (allout-rebullet-heading): Register changes with
23284         allout-exposure-changed-hook, so the modified topic is properly
23285         decorated.
23287 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23289         * minibuffer.el (completion-in-region): Document PREDICATE
23290         (bug#7136).
23292         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
23293         of keyword/argument pairs (bug#6904).
23295         * replace.el (multi-occur):
23296         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
23298 2011-07-02  Drew Adams  <drew.adams@oracle.com>
23300         * dired.el (dired-mark-if): Make the message about whether it's
23301         marking or unmarking clearer (bug#8523).
23303 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23305         * disp-table.el (display-table-print-array): New function.
23306         (describe-display-table): Use it to print the vectors more pretty
23307         (Bug#8859).
23309 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
23311         * window.el (window-state-get-1): Don't assign clone numbers.
23312         Add clone-of item to list of window parameters.
23313         (window-state-put-2): Don't process clone numbers.
23314         (display-buffer-alist): Fix doc-string.
23316 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
23318         * subr.el (remq): Don't allocate if it's not needed.
23319         (keymap--menu-item-binding, keymap--menu-item-with-binding)
23320         (keymap--merge-bindings): New functions.
23321         (keymap-canonicalize): Use them to refine the canonicalization.
23322         * minibuffer.el (minibuffer-local-completion-map)
23323         (minibuffer-local-must-match-map): Move initialization from C.
23324         (minibuffer-local-filename-completion-map): Move initialization from C;
23325         don't inherit from anything here.
23326         (minibuffer-local-filename-must-match-map): Make obsolete.
23327         (completing-read-default): Use make-composed-keymap to combine
23328         minibuffer-local-filename-completion-map with either
23329         minibuffer-local-must-match-map or
23330         minibuffer-local-filename-completion-map.
23332 2011-07-01  Glenn Morris  <rgm@gnu.org>
23334         * type-break.el (type-break-time-sum): Use dolist.
23336         * textmodes/flyspell.el (flyspell-word-search-backward):
23337         Replace CL function.
23339 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23341         * mouse.el (mouse--strip-first-event): New function.
23342         (function-key-map): Use it to map fringe clicks to normal clicks
23343         by default.
23345         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
23346         (vc-bzr-revision-completion-table): Add support for annotate and date.
23348         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
23349         inherit from parent.
23351 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23353         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
23354         (dired-show-file-type): Doc fixup (bug#8818).
23356         * dired.el (dired-mode): Fix up the doc string as suggested by
23357         Drew Adams (bug#8817).
23359         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
23360         cookie, since the manual says that it should be possible to add
23361         this function to `find-file-hook' (bug#8709).
23363 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
23365         * progmodes/cfengine.el: Moved all cfengine3.el functionality
23366         here.  Noted Ted Zlatanov as the maintainer.
23367         (cfengine-common-settings, cfengine-common-syntax): New functions
23368         to set up common things between `cfengine-mode' and
23369         `cfengine3-mode'.
23370         (cfengine3-mode): New mode.
23371         (cfengine3-defuns cfengine3-defuns-regex
23372         (cfengine3-class-selector-regex cfengine3-category-regex)
23373         (cfengine3-vartypes cfengine3-font-lock-keywords)
23374         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
23375         (cfengine3-indent-line): Add from cfengine3.el.
23377 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
23379         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
23381         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
23383 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
23385         * window.el (same-window-buffer-names, same-window-regexps)
23386         (same-window-p, special-display-frame-alist)
23387         (special-display-popup-frame, special-display-function)
23388         (special-display-buffer-names, special-display-regexps)
23389         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
23390         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23391         (split-window-preferred-function, split-height-threshold)
23392         (split-width-threshold, even-window-heights)
23393         (display-buffer-mark-dedicated, window-splittable-p)
23394         (split-window-sensibly, window-safely-shrinkable-p):
23395         Un-obsolete.
23396         (display-buffer): Don't spread args with function specifier
23397         because special-display-popup-frame won't like it.
23399 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
23401         Time-stamp simplifications and fixes.
23402         These improve accuracy slightly, and future-proof the code
23403         against some potential changes to current-time format.
23405         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
23406         by using time-since and float-time.
23408         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
23409         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
23410         + NNN microseconds".
23412         * type-break.el (type-break-time-sum): Rewrite using time-add.
23414         * play/hanoi.el (hanoi-current-time-float): Remove.
23415         All uses replaced by float-time.
23417         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
23418         This yields a more-accurate answer.
23419         (rng-time-to-float): Remove; no longer needed.
23421         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
23423         * calendar/timeclock.el (timeclock-seconds-to-time):
23424         Defalias to seconds-to-time, since they're the same thing.
23426         * emacs-lisp/elp.el (elp-elapsed-time):
23427         * emacs-lisp/benchmark.el (benchmark-elapse):
23428         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
23430 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23432         * window.el (bury-buffer): Don't iconify the only frame.
23433         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23434         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
23436 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
23438         * eshell/em-smart.el (eshell-smart-display-navigate-list):
23439         Add mouse-yank-primary.
23441 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
23443         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23445 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23447         * emacs-lisp/find-func.el (find-library--load-name): New fun.
23448         (find-library-name): Use it to find relative load names when provided
23449         absolute file name (bug#8803).
23451 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23453         * textmodes/flyspell.el (flyspell-word): Consider words that
23454         differ only in case as potential doublons (bug#5687).
23456         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23457         Remove two rather uninteresting debugging-like messages to make
23458         debbugs.el more silent.
23460         * comint.el (comint-password-prompt-regexp): Accept "Response" as
23461         a password-like phrase.
23463 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
23465         * progmodes/cc-guess.el: New file.
23467         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23469         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23470         derived from `c-basic-common-init'.
23472         * progmodes/cc-mode.el (top-level): Require cc-guess.
23473         (c-basic-common-init): Use `cc-choose-style-for-mode'.
23475 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
23477         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23479 2011-06-30  Alan Mackenzie  <acm@muc.de>
23481         * progmodes/cc-engine.el (c-guess-continued-construct):
23482         Correct the handling of template-args-cont, particularly for when font
23483         lock is disabled.  Name this case as "CASE G".
23485 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
23487         * allout.el (allout-yank-processing): Fix injection of extra space
23488         between bullet and non-whitespace character in first topic when
23489         pasting, ensuring that the actual spacing in the pasted topic
23490         following the bullet char is preserved.  This extra space was
23491         causing pasted encrypted topics to get a decrypted status even
23492         when the content was actually still encrypted.  Now the decryption
23493         status from before the paste is preserved.
23495         (allout-flag-region): Set all allout overlays so they evaporate
23496         when reduced to zero length (evanescent), to prevent overlay
23497         leakage.
23499 2011-06-30  Glenn Morris  <rgm@gnu.org>
23501         * w32-fns.el (w32-charset-info-alist): Declare.
23503         * find-dired.el (find-grep-options): Simplify.
23505         * term/ns-win.el (ns-set-resource): Declare.
23507         * ses.el (row, col): Declare dynamic variables honestly.
23509         * textmodes/reftex-parse.el (index-tags): Declare.
23511 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
23513         * cus-edit.el (customize-push-and-save): New function.
23515         * files.el (hack-local-variables-confirm): Use it.
23517         * custom.el (load-theme): New arg NO-CONFIRM.
23518         Use customize-push-and-save (Bug#8720).
23519         (custom-enabled-themes): Doc fix.
23521         * cus-theme.el (customize-create-theme)
23522         (custom-theme-merge-theme): Callers to load-theme changed.
23524 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23526         * thingatpt.el (thing-at-point-short-url-regexp): Require that
23527         short URLs have at least one dot in them (bug #7614).
23529         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23530         nil, because using a pty is apparently too slow (bug #895).
23532 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23534         * mail/sendmail.el (sendmail-query-once): New function.
23535         (sendmail-query-once-function): New variable.
23537 2011-06-29  Glenn Morris  <rgm@gnu.org>
23539         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23541         * ses.el (top-level): Require cl when compiling.
23542         (ses-set-localvars): Fix error statement.
23543         Call it at compile time to silence a storm of warnings.
23545 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
23547         * window.el (normalize-live-buffer): Rename to
23548         window-normalize-buffer.
23549         (normalize-live-frame): Rename to window-normalize-frame.
23550         (normalize-any-window): Rename to window-normalize-any-window.
23551         (normalize-live-window): Rename to window-normalize-live-window.
23552         (make-window-atom): Rename to window-make-atom.
23553         (window-resize-reset): Rename to window--resize-reset.
23554         (window-resize-reset-1): Rename to window--resize-reset-1.
23555         (resize-mini-window): Rename to window--resize-mini-window.
23556         (resize-subwindows-skip-p): Rename to
23557         window--resize-subwindows-skip-p.
23558         (resize-subwindows-normal): Rename to
23559         window--resize-subwindows-normal.
23560         (resize-subwindows): Rename to window--resize-subwindows.
23561         (resize-other-windows): Rename to window--resize-siblings.
23562         (resize-this-window): Rename to window--resize-this-window.
23563         (resize-root-window): Rename to window--resize-root-window.
23564         (resize-root-window-vertically): Rename to
23565         window--resize-root-window-vertically.
23566         (normalize-buffer-to-display): Rename to
23567         window-normalize-buffer-to-display.
23568         (normalize-buffer-to-switch-to): Rename to
23569         window-normalize-buffer-to-switch-to.
23570         Correspondingly update all callers of the functions listed
23571         above.
23572         (display-buffer-alist, display-buffer-normalize-arguments)
23573         (display-buffer-normalize-options, display-buffer)
23574         (display-buffer-alist-set): Use "function" instead of
23575         "fun-with-args".
23577 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
23579         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23580         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
23581         debbugs.gnu.org.  Mention acknowledgment email.
23583 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23585         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23586         buffer multibyteness, since it shouldn't matter.
23588 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
23590         * window.el (display-buffer-in-side-window): Handle dedicated
23591         windows as in display-buffer-reuse-window.
23592         (display-buffer-normalize-alist): Use value of override
23593         specifier.
23594         (display-buffer-normalize-specifiers): Use value of
23595         other-window-means-other-frame specifier.
23596         (display-buffer-alist): Rewrite some texts in widgets.
23597         (display-buffer): Spread arguments when calling function
23598         specified by fun-with-args.
23600 2011-06-28  Deniz Dogan  <deniz@dogan.se>
23602         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23603         Unnest `let'.
23605         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23606         selectors (Bug#5732).
23607         (css-proprietary-nmstart-re): Use `regexp-opt'.
23609 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
23611         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23612         (eshell-ls-date-format): New defcustom.
23613         (eshell-ls-file): Use it.
23615 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
23617         * help-fns.el (describe-variable): Fix message for terminal-local vars.
23619 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
23621         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23622         (ange-ftp-make-tmp-name): New arg.
23623         (ange-ftp-file-local-copy): Use it.
23625 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
23627         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23628         no-conversion (Bug#8870).
23630 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
23632         * window.el (window-right, window-left, window-child)
23633         (window-child-count, window-last-child)
23634         (window-iso-combination-p, walk-window-tree-1)
23635         (window-atom-check-1, window-tree-1, delete-window)
23636         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23637         new naming conventions - window-vchild, window-hchild,
23638         window-next and window-prev are now called window-top-child,
23639         window-left-child, window-next-sibling and window-prev-sibling
23640         respectively.
23641         (resize-window-reset): Rename to window-resize-reset.
23642         (resize-window-reset-1): Rename to window-resize-reset-1.
23643         (resize-window): Rename to window-resize.
23644         (window-min-height, window-min-width)
23645         (resize-mini-window, resize-this-window, resize-root-window)
23646         (resize-root-window-vertically, adjust-window-trailing-edge)
23647         (enlarge-window, shrink-window, maximize-window)
23648         (minimize-window, delete-window, quit-restore-window)
23649         (split-window, balance-windows, balance-windows-area-adjust)
23650         (balance-windows-area, window-state-put-2)
23651         (display-buffer-even-window-sizes, display-buffer-set-height)
23652         (display-buffer-set-width, set-window-text-height)
23653         (fit-window-to-buffer): Rename all "resize-window" prefixed
23654         calls to use the "window-resize" prefix convention.
23655         (display-buffer-alist): Fix symbol for label specifier.
23656         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23657         corresponding specifier.
23658         Reported by Juanma Barranquero <lekktu@gmail.com>.
23660 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
23662         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23663         convention.
23664         (ses-call-printer): Does not pass an empty string to formatter when the
23665         cell is empty to keep from barking printer Calc math-format-value.
23667 2011-06-27  Richard Stallman  <rms@gnu.org>
23669         * battery.el (battery-mode-line-limit): New variable.
23670         (battery-update): Handle it.
23672         * mail/rmailmm.el (rmail-mime-process-multipart):
23673         Handle truncated messages.
23675 2011-06-27  Glenn Morris  <rgm@gnu.org>
23677         * progmodes/flymake.el (flymake-err-line-patterns):
23678         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
23680 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
23682         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23683         (ses--clean-!, ses--clean-_): New functions.
23684         (ses-range): Add configurability of readout order, and conversion
23685         to Calc vector.
23687         * ses.el (ses-repair-cell-reference-all): New function.
23688         (ses-cell-symbol): Set macro as safe, so that it can be used in
23689         formulas.
23691         * ses.el: Update cycle detection algorithm.
23692         (ses-localvars): Add ses--Dijkstra-attempt-nb and
23693         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23694         (ses-set-localvars): New function.
23695         (ses-make-cell): Add property-list as a cell element.
23696         (ses-cell-property-get-fun, ses-cell-property-get)
23697         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23698         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23699         New functions.
23700         (ses-cell-property-set, ses-cell-property-pop)
23701         (ses-cell-property-get-handle): New macro.
23702         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23703         New aliases, used for code readability.
23704         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23705         cycle detection.
23706         (ses-self-reference-early-detection): New defcustom.
23707         (ses-formula-references): Robustify against self-referring cells.
23708         (ses-mode): Use ses-set-localvars.
23709         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23710         before lauching the update processing.
23711         (ses-initialize-Dijkstra-attempt): New function.
23712         (ses-recalculate-cell): Update for cycle detection based on
23713         Dijkstra algorithm.
23715         * ses.el: Fix commenting and indenting convention.
23717 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
23719         * bs.el (bs-cycle-next): Complete last change.
23721 2011-06-27  Drew Adams  <drew.adams@oracle.com>
23723         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23725 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23727         * net/network-stream.el (network-stream-open-starttls):
23728         Don't re-get capabilities unless we've reestablished connection.
23729         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23731         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23732         to binary to possibly avoid line encoding issues on Windows (among
23733         other things).
23735 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23737         * net/network-stream.el (open-network-stream): Return an :error
23738         saying what the problem was, if possible.
23740         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23741         server.
23743         * net/network-stream.el (network-stream-open-starttls): If we
23744         wanted to use STARTTLS, and the server offered it, but we weren't
23745         able to because we had no STARTTLS support, then close the connection.
23746         (open-network-stream): Return an :error element, if present.
23748 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
23750         * hl-line.el (hl-line-sticky-flag): Doc fix.
23751         (global-hl-line-sticky-flag): New option (Bug#8323).
23752         (global-hl-line-highlight): Obey it.
23754         * vc/vc.el (vc-revert-show-diff): Default to t.
23756 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
23758         * allout-widgets.el (allout-widgets-post-command-business):
23759         Stop decorating intermediate isearch matches.  They're not being
23760         undecorated when an isearch is continued past, and isearch
23761         automatically collapses them.  This leads to "widget leaks", where
23762         decorated items accumulate in collapsed areas.  Lines with lots of
23763         hidden widgets can slow down cursor travel, substantially.
23764         Too much complicated machinery would be needed to ensure undecoration,
23765         so we're doing without this nicety.
23767         (allout-widgets-tally-string): Don't try to do a hash-table-count
23768         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
23769         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23770         *Messages* when allout-widgets-maintain-tally is t.
23772 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
23774         * window.el (display-buffer-normalize-argument): Rename to
23775         display-buffer-normalize-arguments.  Handle special meaning of
23776         LABEL argument.  Respect special-display-function when popping up
23777         a new frame.  Fix code searching for a window showing the buffer
23778         on another frame.
23779         (display-buffer-normalize-specifiers):
23780         Call display-buffer-normalize-arguments.
23781         (display-buffer-in-window): Don't undedicate the window if its
23782         buffer remains the same.
23783         Reported by Drew Adams <drew.adams@oracle.com>.
23784         (display-buffer-alist): Add choice for same-window macro
23785         specfier.
23786         (display-buffer): Mention special meaning of LABEL argument in
23787         doc-string.  Fix quoting.  Don't pop up a new frame even as
23788         fallback.
23790 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
23792         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23793         avoid deleting the current window in some cases (bug#8911).
23795 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
23797         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23798         (Bug#8934)
23800 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23802         * net/network-stream.el (network-stream-open-starttls):
23803         Use built-in TLS support if `gnutls-available-p' is true.
23804         (network-stream-open-tls): Ditto.
23806 2011-06-26  Leo Liu  <sdl.web@gmail.com>
23808         * register.el (registerv): New struct.
23809         (registerv-make): New function.
23810         (jump-to-register, describe-register-1, insert-register):
23811         Support the jump-func, print-func and insert-func slot of a registerv
23812         struct.  (Bug#8415)
23814 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
23816         * vc/vc.el (vc-revert-show-diff): New defcustom.
23817         (vc-diff-internal): New arg specifying diff buffer.
23818         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
23819         reuse an existing *vc-diff* buffer (Bug#8927).
23821         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23823 2011-06-26  Glenn Morris  <rgm@gnu.org>
23825         * progmodes/f90.el (f90-critical-indent): New option.
23826         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23827         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23828         (f90-mode): Doc fix.
23829         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23830         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23831         (f90-beginning-of-block, f90-next-block, f90-indent-region)
23832         (f90-match-end): Handle block, critical.
23834 2011-06-25  Glenn Morris  <rgm@gnu.org>
23836         * calendar/diary-lib.el (diary-included-files): Doc fix.
23837         (diary-include-files): New function, extracted from
23838         diary-include-other-diary-files and diary-mark-included-diary-files.
23839         (diary-include-other-diary-files, diary-mark-included-diary-files):
23840         Just call diary-include-files.
23841         (diary-mark-entries): Reset diary-included-files on first call.
23843         * calendar/diary-lib.el (diary-mark-entries)
23844         (diary-mark-included-diary-files):
23845         Visit included diary-files in temp buffers.
23847         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23848         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23849         (f90-start-block-re, f90-imenu-generic-expression)
23850         (f90-looking-at-program-block-start, f90-no-block-limit):
23851         Add support for submodules.
23853         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23854         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23856 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
23858         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23859         buffer-file-type before setting its value, to avoid disastrous
23860         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
23862 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
23864         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23866         * ses.el (ses-unload-function):
23867         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23869         * proced.el (proced-unload-function):
23870         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23872 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
23874         * server.el (server-create-window-system-frame): Add parameters arg.
23875         (server-process-filter): Doc fix.  Handle frame-parameters.
23877 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
23879         Fix bug#8730, bug#8781.
23881         * loadhist.el (unload--set-major-mode): New function.
23882         (unload-feature): Use it.
23884         * progmodes/python.el (python-after-info-look): Add autoload cookie.
23885         (python-unload-function): New function.
23887 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
23889         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23891 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
23893         * net/browse-url.el (browse-url-firefox-program): Add icecat to
23894         the candidates list.
23896 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
23898         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23900 2011-06-23  Richard Stallman  <rms@gnu.org>
23902         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23903         (rmail-variables): Set next-error-move-function.
23904         (rmail-what-message): Take argument POS.
23905         (rmail-next-error-move): New function.
23907 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
23909         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23910         messages for adjacent non-terminals.
23912 2011-06-23  Richard Stallman  <rms@gnu.org>
23914         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23915         (rmail-show-message-1): Preserve buffer modified flag.
23916         (rmail-start-mail): Don't specify use of rmail-mail-return;
23917         that's done by mail-bury now.
23918         (rmail-mail-return): Handle arg NEWBUF.
23920 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
23922         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23923         SIZE is a number.
23925 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
23927         * window.el (get-lru-window, get-mru-window)
23928         (get-largest-window): Never return a minibuffer window.
23929         (display-buffer-pop-up-window): Fix a bug that could lead to
23930         reusing the minibuffer window.
23931         (display-buffer): Pass original specifier argument to
23932         display-buffer-function instead of the normalized one.
23933         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23935 2011-06-22  Leo Liu  <sdl.web@gmail.com>
23937         * minibuffer.el (completing-read-function)
23938         (completing-read-default): Move from minibuf.c.
23940 2011-06-22  Richard Stallman  <rms@gnu.org>
23942         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23943         to Rmail even if not started by a special Rmail command.
23945         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23946         Copy the buffer currently showing just one message.
23948 2011-06-22  Roland Winkler  <winkler@gnu.org>
23950         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23951         (bibtex-clean-entry): First delete the old key so that a
23952         customized algorithm for generating the new key does not get
23953         confused by the old key.
23954         (bibtex-url): Obey regexp of first step.
23955         (bibtex-search-entries): Do not use add-to-list with local
23956         list-var.
23958 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23960         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23961         stored a user name, then query for the password first, instead of
23962         waiting for SMTP to give an error message and the trying again.
23964 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
23966         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23967         BUFFER in call-process.
23969 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23971         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23972         QUIT twice.
23973         (smtpmail-try-auth-methods): Require user name and password from
23974         auth-source.
23976 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
23978         * window.el (display-buffer-default-specifiers)
23979         (display-buffer-alist): Remove entries for pop-up-frame-alist.
23980         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23981         (split-window): Normalize SIDE argument (Bug#8916).
23983         * frame.el (pop-up-frame-alist, pop-up-frame-function)
23984         (special-display-frame-alist, special-display-popup-frame):
23985         Remove duplicate declarations.  These are now in window.el.
23987 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23989         * mail/smtpmail.el (smtpmail-via-smtp):
23990         Set :use-starttls-if-possible so that we always use STARTTLS if the
23991         server supports it.  SMTP servers that support STARTTLS commonly
23992         require it.
23994         * net/network-stream.el (network-stream-open-starttls): Support
23995         upgrading to STARTTLS always, even if we don't have built-in support.
23996         (open-network-stream): Add the :always-query-capabilities keyword.
23998         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23999         upgrades with `open-network-stream', and rely solely on
24000         auth-source for all credentials.  Big changes throughout the file,
24001         but in particular:
24002         (smtpmail-auth-credentials): Remove.
24003         (smtpmail-starttls-credentials): Remove.
24004         (smtpmail-via-smtp): Check for servers saying they want AUTH after
24005         MAIL FROM, too.
24007         * net/network-stream.el (network-stream-open-starttls):
24008         Provide support for client certificates both for external and built-in
24009         STARTTLS.
24010         (auth-source): Require.
24011         (open-network-stream): Document the :client-certificate keyword.
24012         (network-stream-certificate): Change cert-cert to cert and
24013         cert-key to key.
24015 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
24017         * net/tramp-cache.el (top): Don't load the persistency file when
24018         "emacs -Q" has been called.
24020 2011-06-21  Tim Harper  <timcharper@gmail.com>
24022         * term/ns-win.el (ns-initialize-window-system):
24023         Set application-specific `ApplePressAndHoldEnabled' system
24024         resource to NO as it is not yet supported by the NS port.
24026 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
24028         * misc.el (list-dynamic-libraries--refresh): Compute header here...
24029         (list-dynamic-libraries): ...not here.
24031 2011-06-21  Leo Liu  <sdl.web@gmail.com>
24033         * subr.el (sha1): Implement sha1 using secure-hash.
24035 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
24037         * window.el (display-buffer-alist): In default value do not
24038         enforce searching a window on any but the selected frame.
24039         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
24040         (display-buffer-select-window): Remove function.
24041         (display-buffer-in-window): When a window on another frame gets
24042         reused, do not select it any more but just raise its frame if
24043         necessary (Bug#8851) and (Bug#8856).
24044         (display-buffer-normalize-options): Handle pop-up-frames related
24045         options more faithfully.
24046         (pop-to-buffer): Don't rely on `display-buffer' selecting the
24047         window if it is on another frame.
24048         (display-buffer-alist, display-buffer-default-specifiers):
24049         Don't make new frame unsplittable by default.
24050         (display-buffer-normalize-argument): Fix doc-string typo and use
24051         'same-frame-other-window instead of 'other-window when associating
24052         with display-buffer-macro-specifiers.
24054 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
24056         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
24057         New functions.
24058         (5x5-mode-map, 5x5-mode-menu): Bind them.
24059         (5x5-draw-grid): Tweak the solver's rendering.
24061 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
24063         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
24064         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
24066 2011-06-21  Drew Adams  <drew.adams@oracle.com>
24068         * menu-bar.el: Use function variable instead of switch-to-buffer.
24069         (menu-bar-select-buffer-function): New variable.
24070         (menu-bar-update-buffers): Use it (bug#8876).
24072 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
24074         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
24075         variable's status.
24077 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
24079         * x-dnd.el (x-dnd-version-from-flags)
24080         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
24081         and long as number (Bug#8899).
24082         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
24084 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
24086         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
24087         (completion-try-completion, completion-all-completions): Compute the
24088         metadata argument if it's missing; make it optional (bug#8795).
24090         * wid-edit.el: Use lex-bind and move towards completion-at-point.
24091         (widget-complete): Use new :completion-function property.
24092         (widget-completions-at-point): New function.
24093         (default): Use :completion-function instead of :complete.
24094         (widget-default-completions): Rename from widget-default-complete;
24095         Rewrite.
24096         (widget-string-complete, widget-file-complete, widget-color-complete):
24097         Remove functions.
24098         (file, symbol, function, variable, coding-system, color):
24099         * international/mule-cmds.el (default-input-method, charset)
24100         (language-info-custom-alist):
24101         * cus-edit.el (face): Use new property :completions.
24103         * progmodes/pascal.el (pascal-completions-at-point): New function.
24104         (pascal-mode): Use it.
24105         (pascal-mode-map): Use completion-at-point.
24106         (pascal-toggle-completions): Make obsolete.
24107         (pascal-complete-word, pascal-show-completions):
24108         * progmodes/octave-mod.el (octave-complete-symbol):
24109         Redefine as obsolete alias.
24110         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
24111         Signal absence of completion info for old Octave,
24112         (inferior-octave-complete): Redefine as obsolete alias.
24113         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
24114         (meta-completions-at-point): Rename from meta-complete-symbol and
24115         adapt it for use on completion-at-point-functions.
24116         (meta-common-mode): Use it.
24117         (meta-looking-at-backward, meta-match-buffer): Remove.
24118         (meta-complete-symbol): Redefine as obsolete alias.
24119         (meta-common-mode-map): Use completion-at-point.
24120         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
24121         (makefile-mode-map): Use completion-at-point.
24122         (makefile-completions-at-point): Rename from makefile-complete and
24123         adapt it for use on completion-at-point-functions.
24124         (makefile-mode): Use it.
24125         (makefile-complete): Redefine as obsolete alias.
24127 2011-06-20  Deniz Dogan  <deniz@dogan.se>
24129         * net/rcirc.el: Delete trailing whitespaces once and for all.
24131 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
24133         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
24135 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
24137         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
24139         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
24141 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
24143         * window.el (display-buffer-other-window-means-other-frame):
24144         Call display-buffer-normalize-alist.
24145         (display-buffer-normalize-specifiers-1): Rename to
24146         display-buffer-normalize-argument.  New argument other-frame.
24147         Rewrite.
24148         (display-buffer-normalize-specifiers-2): Rename to
24149         display-buffer-normalize-options.
24150         (display-buffer-normalize-alist-1): New function.
24151         (display-buffer-normalize-specifiers-3): Rename to
24152         display-buffer-normalize-alist.
24153         Call display-buffer-normalize-alist-1.
24154         (display-buffer-normalize-options-inhibit): New variable.
24155         (display-buffer-normalize-specifiers): Rewrite calling
24156         display-buffer-normalize-alist,
24157         display-buffer-normalize-argument, and
24158         display-buffer-normalize-options.  Don't call the latter if
24159         display-buffer-normalize-options-inhibit is non-nil.
24160         (frame-auto-delete): New option.
24161         (window-deletable-p): Use frame-auto-delete.
24162         (window-list-no-nils, window-state-ignored-parameters)
24163         (window-state-get-1, window-state-get, window-state-put-list)
24164         (window-state-put-1, window-state-put-2, window-state-put):
24165         New functions.
24166         (display-buffer-normalize-options): Move special-display-p group
24167         after pop-up-frame group (Bug#8851) and (Bug#8856).
24169 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
24171         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
24172         groups (Bug#8776).
24173         (rx-submatch-n): New function.
24174         (rx): Document it.
24176         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
24177         (Bug#8768).
24179         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
24181         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
24183         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
24184         anytime existing face settings are present (Bug#8889).
24186         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
24187         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
24188         Remove unused argument.
24190 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
24192         * window.el (display-buffer-default-specifiers):
24193         Remove pop-up-frame.  Add pop-up-window-min-height,
24194         pop-up-window-min-width, and another reuse-window specifier
24195         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
24196         (display-buffer-normalize-specifiers-2):
24197         Handle split-height-threshold and split-width-threshold also when
24198         pop-up-windows is unset.  Add a reuse-window specifier for the
24199         case popping up a new window fails.
24200         (special-display-popup-frame): Remove double quoting.
24201         (display-buffer-normalize-specifiers-1): Fix thinko.
24203 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
24205         * shell.el (shell-completion-vars): Set pcomplete-termination-string
24206         according to comint-completion-addsuffix.
24208         * pcomplete.el: Convert to lexical binding and fix bug#8819.
24209         (pcomplete-suffix-list): Mark as obsolete.
24210         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
24211         pcomplete-seen in the closure.
24212         (pcomplete-comint-setup): Setup completion-at-point as well.
24213         (pcomplete--entries): New function.
24214         (pcomplete--env-regexp): New var.
24215         (pcomplete-entries): Rewrite to work with partial-completion and
24216         without relying on pcomplete-suffix-list.
24217         (pcomplete-pare-list): Remove, unused.
24219 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
24221         * window.el (display-buffer-alist): Set pop-up-window-min-height
24222         and pop-up-window-min-width in default value.  Reported by
24223         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
24224         other-window-means-other-frame.
24225         (display-buffer-macro-specifiers): Comment out entry for
24226         other-window specifier.
24227         (display-buffer-other-window-means-other-frame): New function.
24228         (display-buffer-normalize-specifiers-1): New arguments
24229         buffer-name and label.  Treat other-window case specially.
24230         (display-buffer-normalize-specifiers-2): Treat other-window case
24231         specially.
24232         (display-buffer-normalize-specifiers-3): New function.
24233         (display-buffer-normalize-specifiers):
24234         Call display-buffer-normalize-specifiers-3.
24236 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
24238         * window.el (same-window-p): Fix two typos introduced when
24239         adding with-no-warnings.
24240         (display-buffer-normalize-specifiers-1): Don't check
24241         pop-up-frames for 'unset initialization.
24242         (display-buffer-normalize-specifiers-2): Major rewrite using
24243         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
24244         (pop-up-frames, display-buffer-reuse-frames)
24245         (display-buffer-mark-dedicated): Don't initialize to 'unset.
24246         Suggested by David Engster <deng@randomsample.de>.
24247         (even-window-heights): Initialize to 'unset.
24248         (display-buffer-alist-set): Handle new 'unset initializations.
24249         (display-buffer-macro-specifiers): Don't pop up a new frame in the
24250         other window case.
24252 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
24254         * window.el (display-buffer-normalize-specifiers-1):
24255         Respect current value of pop-up-frames for most reasonable values of
24256         second argument of display-buffer (Bug#8865).
24257         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
24258         (switch-to-buffer-other-window-same-frame)
24259         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
24260         Adams (Bug#8875).
24261         (display-buffer): Don't check noninteractive when calling
24262         display-buffer-pop-up-frame.
24263         (display-buffer-pop-up-frame): Never pop up a frame in
24264         noninteractive mode (Bug#8857).
24265         (enlarge-window, shrink-window): Don't report an error when the
24266         window can't be resized as requested (Bug#8862).
24268 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24270         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
24272         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
24274         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
24276 2011-06-15  Alan Mackenzie  <acm@muc.de>
24278         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
24279         for declarators, disable knr checking to speed up for normal files.
24280         2: Refactor, replacing a sequence of nested if forms by a cond form.
24282 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24284         * net/network-stream.el (open-network-stream): Add the keyword
24285         :always-query-capabilities for the case where you want to force a
24286         `plain' network connection, but the protocol still requires the
24287         capabilitiy command (i.e., SMTP and EHLO).
24289         * subr.el (process-live-p): Rename from `process-alive-p' for
24290         consistency with other `-live-p' functions.
24292 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
24294         * window.el (same-window-buffer-names, same-window-regexps)
24295         (special-display-frame-alist, special-display-popup-frame)
24296         (special-display-function, special-display-buffer-names)
24297         (special-display-regexps, pop-up-frame-alist)
24298         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
24299         (pop-up-windows, split-window-preferred-function)
24300         (split-height-threshold, split-width-threshold, even-window-heights)
24301         (display-buffer-mark-dedicated): Don't encourage the use of
24302         display-buffer-alist from Elisp code.
24304 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
24306         * progmodes/python.el (python-mode): Derive from prog-mode.
24307         * progmodes/ps-mode.el (ps-mode):
24308         * progmodes/mixal-mode.el (mixal-mode):
24309         * progmodes/cfengine.el (cfengine-mode):
24310         * progmodes/ld-script.el (ld-script-mode): Likewise.
24312 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
24314         * window.el (display-buffer-alist): Trim default value to avoid
24315         popping up a new frame (Bug#8857) or reusing an arbitrary window
24316         on another frame.
24317         (display-buffer): Do not fall back on popping up a new frame in
24318         batch mode (Bug#8857).
24320 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
24322         * cus-theme.el (describe-theme-1): Use custom-theme-p.
24323         (custom-theme-summary): New function.
24324         (customize-themes): Use it.
24326 2011-06-13  Glenn Morris  <rgm@gnu.org>
24328         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
24330 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
24332         * help.el (help-window): Remove variable.
24333         (help-window-point-marker, temp-buffer-max-height)
24334         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
24335         (help-print-return-message): Don't set help-window.
24336         (resize-temp-buffer-window): Rewrite cod eand doc-string.
24337         (help-window-setup-finish): Remove.
24338         (help-window-display-message, help-window-setup)
24339         (with-help-window): Major rewrite based on new
24340         display-buffer-window variable.
24342         * help-mode.el (help-mode-finish): Remove help-window related
24343         code.
24345         * view.el (view-exits-all-viewing-windows): Remove reference to
24346         view-return-to-alist in doc-string.
24347         (view-return-to-alist): Make obsolete.
24348         (view-buffer): Call pop-to-buffer-same-window and remove
24349         undo-window code.
24350         (view-buffer-other-window): Call pop-to-buffer-other-window and
24351         simplify code.  Ignore second argument.
24352         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
24353         simplify code.  Ignore second argument.
24354         (view-return-to-alist-update): Make obsolete.
24355         (view-mode-enter): Rename second argument to QUIT-RESTORE.
24356         Rewrite using quit-restore window parameters.
24357         (view-mode-exit): Rename second argument to EXIT-ONLY.
24358         Rewrite using quit-restore-window.
24359         (View-exit, View-exit-and-edit, View-leave, View-quit)
24360         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
24361         appropriate arguments.
24362         (view-end-message): Use quit-restore window parameter.
24364         * window.el (display-buffer-function): Rewrite doc-string.
24365         (display-buffer-window, display-buffer-alist): New variables.
24366         (display-buffer-split-specifiers)
24367         (display-buffer-side-specifiers)
24368         (display-buffer-macro-specifiers): New constants.
24369         (display-buffer-even-window-sizes, display-buffer-set-height)
24370         (display-buffer-set-width, display-buffer-select-window)
24371         (display-buffer-in-window, display-buffer-reuse-window)
24372         (display-buffer-split-window-1, display-buffer-split-window)
24373         (display-buffer-split-atom-window, display-buffer-pop-up-window)
24374         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
24375         (display-buffer-in-side-window, normalize-buffer-to-display)
24376         (display-buffer-normalize-specifiers-1)
24377         (display-buffer-normalize-specifiers-2)
24378         (display-buffer-normalize-specifiers, display-buffer-frame):
24379         New functions.
24380         (display-buffer): Major rewrite.
24381         (display-buffer-other-window, display-buffer-other-frame)
24382         (pop-to-buffer, switch-to-buffer-other-window)
24383         (switch-to-buffer-other-frame): Rewrite.
24384         (display-buffer-same-window, display-buffer-same-frame)
24385         (display-buffer-same-frame-other-window)
24386         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
24387         (pop-to-buffer-other-window)
24388         (pop-to-buffer-same-frame-other-window)
24389         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
24390         (switch-to-buffer-other-window-same-frame): New functions.
24391         (same-window-p, special-display-p): Rewrite disabling warnings.
24392         Make obsolete.
24393         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
24394         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
24395         Make obsolete
24396         (same-window-buffer-names, same-window-regexps)
24397         (special-display-frame-alist, special-display-popup-frame)
24398         (special-display-function, special-display-buffer-names)
24399         (special-display-regexps, pop-up-frame-alist)
24400         (pop-up-frame-function, split-window-preferred-function)
24401         (split-height-threshold, split-width-threshold)
24402         (even-window-heights): Make obsolete.
24404 2011-06-12  Glenn Morris  <rgm@gnu.org>
24406         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
24407         Misc simplifications.
24409 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
24411         * window.el (window-safely-shrinkable-p): Restore function which
24412         was inadvertently removed in change from 2011-06-11.  Declare as
24413         obsolete.
24415         * calendar/calendar.el (calendar-generate-window):
24416         Use window-iso-combined-p instead of combination of one-window-p and
24417         window-safely-shrinkable-p.
24419 2011-06-12  Glenn Morris  <rgm@gnu.org>
24421         * progmodes/fortran.el (fortran-mode-syntax-table):
24422         * progmodes/f90.el (f90-mode-syntax-table):
24423         Set % to punctuation.  (Bug#8820)
24424         (f90-find-tag-default): Remove, no longer needed.
24426 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
24428         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
24430 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
24432         * image.el (image-animated-p): Return animation delay in seconds.
24433         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24434         (image-animate-timeout): Remove DELAY argument.  Don't assume
24435         every subimage has the same delay; get it from image-animated-p.
24436         (image-animate): Caller changed.
24438 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
24440         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24441         to ignored backtrace functions.
24443 2011-06-11  Glenn Morris  <rgm@gnu.org>
24445         * calendar/appt.el (appt-disp-window-function): Doc fix.
24446         (appt-check): Handle overlapping appointments.  (Bug#8337)
24448 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
24450         * window.el (window-tree-1, window-tree): New functions, moving
24451         the latter to window.el.
24452         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24453         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24454         (bw-refresh-edges): Remove.
24455         (balance-windows-1, balance-windows-2): New functions.
24456         (balance-windows): Rewrite in terms of window tree functions,
24457         balance-windows-1 and balance-windows-2.
24458         (bw-adjust-window): Remove.
24459         (balance-windows-area-adjust): New function with functionality of
24460         bw-adjust-window but using resize-window.
24461         (set-window-text-height): Rewrite doc-string.
24462         Use normalize-live-window and resize-window.
24463         (enlarge-window-horizontally, shrink-window-horizontally):
24464         Rename argument to DELTA.
24465         (window-buffer-height): New function.
24466         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24467         Rewrite using new window resize routines.
24468         (kill-buffer-and-window, mouse-autoselect-window-select):
24469         Use ignore-errors instead of condition-case.
24470         (quit-window): Call delete-frame instead of delete-windows-on
24471         for the only buffer on frame.
24473 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
24475         * loadup.el (top-level): Load window before files for the sake
24476         of replace-buffer-in-windows.
24478         * files.el (read-buffer-to-switch)
24479         (switch-to-buffer-other-window)
24480         (switch-to-buffer-other-frame, display-buffer-other-frame):
24481         Move to window.el.
24483         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24484         (previous-buffer): Move to window.el.
24486         * bindings.el (unbury-buffer): Move to window.el.
24488         * window.el (delete-other-windows-vertically): Move after
24489         definition of delete-other-windows.
24490         (other-window, delete-windows-on, replace-buffer-in-windows):
24491         Move here from window.c.
24492         (record-window-buffer, unrecord-window-buffer)
24493         (set-window-buffer-start-and-point, switch-to-prev-buffer)
24494         (switch-to-next-buffer): New functions.
24495         (get-next-valid-buffer, last-buffer, next-buffer): Move here
24496         from simple.el.  Call switch-to-next-buffer.
24497         (previous-buffer): Move here from simple.el.
24498         Call switch-to-prev-buffer.
24499         (bury-buffer): Move here from buffer.c.  Switch to previous
24500         buffer when window cannot be deleted.
24501         (unbury-buffer): Move here from bindings.el.
24502         (ctl-x-map): Move binding for other-window from window.c to
24503         here.
24504         (read-buffer-to-switch, switch-to-buffer-other-window)
24505         (switch-to-buffer-other-frame): Move here from files.el.
24506         (normalize-buffer-to-switch-to): New functions.
24507         (switch-to-buffer): Move here from buffer.c.
24508         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24510 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
24512         * window.el (window-min-height, window-min-width): Move here
24513         from window.c.  Add defcustoms and rewrite doc-strings.
24514         (resize-mini-window, resize-window): New functions.
24515         (adjust-window-trailing-edge, enlarge-window, shrink-window):
24516         Move here from window.c.
24517         (maximize-window, minimize-window): New functions.
24518         (delete-window, delete-other-windows, split-window): Move here
24519         from window.c.
24520         (window-split-min-size): New function.
24521         (split-window-keep-point): Mention split-window-above-each-other
24522         instead of split-window-vertically.
24523         (split-window-above-each-other, split-window-vertically):
24524         Rename split-window-vertically to split-window-above-each-other
24525         and provide defalias for old definition.
24526         (split-window-side-by-side, split-window-horizontally):
24527         Rename split-window-horizontally to split-window-side-by-side
24528         and provide defalias for the old definition.
24529         (ctl-x-map): Move bindings for delete-window,
24530         delete-other-windows and enlarge-window here from window.c.
24531         Replace bindings for split-window-vertically and
24532         split-window-horizontally by bindings for
24533         split-window-above-each-other and split-window-side-by-side.
24535         * cus-start.el (all): Remove entries for window-min-height and
24536         window-min-width.  Add entries for window-splits and
24537         window-nest.
24539 2011-06-09  Glenn Morris  <rgm@gnu.org>
24541         * calendar/appt.el (appt-mode-line): New function.
24542         (appt-check, appt-disp-window): Use it.
24544         * files.el (hack-one-local-variable-eval-safep):
24545         Allow minor-modes with explicit +/-1 arguments.
24547 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
24549         * term/xterm.el (xterm): Add defgroup.
24550         (xterm-extra-capabilities): Add defcustom to supply known xterm
24551         capabilities, skip querying them, or query them (default).
24552         (terminal-init-xterm): Use it.
24553         (terminal-init-xterm-modify-other-keys): New function to set up
24554         modifyOtherKeys support to simplify `terminal-init-xterm'.
24556 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
24558         * window.el (resize-window-reset, resize-window-reset-1)
24559         (resize-subwindows-skip-p, resize-subwindows-normal)
24560         (resize-subwindows, resize-other-windows, resize-this-window)
24561         (resize-root-window, resize-root-window-vertically)
24562         (window-deletable-p, window-or-subwindow-p)
24563         (frame-root-window-p): New functions.
24565 2011-06-09  Glenn Morris  <rgm@gnu.org>
24567         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24568         (ange-ftp-get-files): Use it.
24570 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
24572         * mail/sendmail.el (mail-recover-1, mail-recover):
24573         * files.el (recover-file, recover-session):
24574         Handle dired-listing-switches not being just a single short option.
24576 2011-06-09  Glenn Morris  <rgm@gnu.org>
24578         * calendar/appt.el (appt-display-message, appt-disp-window):
24579         Handle lists of appointments.
24581 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
24583         * window.el (one-window-p): Move down in code.
24584         Rewrite doc-string.
24585         (window-current-scroll-bars): Rewrite doc-string.
24586         Normalize live window argument.
24587         (walk-windows, get-window-with-predicate, count-windows):
24588         Rewrite doc-string.  Use window-list-1.
24589         (window-in-direction-2, window-in-direction, get-mru-window):
24590         New functions.
24592 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
24594         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24595         Doc fix (Bug#8713).
24597 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
24599         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24601 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
24603         * loadhist.el (unload-feature-special-hooks):
24604         Add `comint-output-filter-functions'.
24606 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
24608         * calendar/appt.el (appt-check): Move some initializations into the let.
24610 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
24612         * window.el (window-height): Defalias to window-total-height.
24613         (window-width): Defalias to window-body-width.
24615 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
24617         * image-mode.el (image-toggle-animation): New command.
24618         (image-mode-map): Bind it to RET.
24619         (image-mode): Update message.
24620         (image-toggle-display-image): Avoid a spurious cache flush.
24621         (image-transform-rotation): Doc fix.
24622         (image-transform-properties): Return quickly in the normal case.
24623         (image-animate-loop): Rename from image-animate-max-time.
24625         * image.el (image-animate-max-time): Move to image-mode.el.
24626         (create-animated-image): Remove unnecessary function.
24627         (image-animate): Rename from image-animate-start.  New arg.
24628         (image-animate-stop): Remove; just use image-animate-timer.
24629         (image-animate-timer): Use car-safe.
24630         (image-animate-timeout): Rename argument.
24632 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
24634         * window.el (get-lru-window, get-largest-window): Move here from
24635         window.c.  Rename first argument to ALL-FRAMES.
24636         Rephrase doc-strings.
24637         (get-buffer-window-list): Rewrite using window-list-1.
24638         Rephrase doc-string.
24639         (window-safe-min-height, window-safe-min-width): New constants.
24640         (window-size-ignore, window-min-size, window-min-size-1)
24641         (window-sizable, window-sizable-p, window-size-fixed-1)
24642         (window-size-fixed-p, window-min-delta-1, window-min-delta)
24643         (window-max-delta-1, window-max-delta, window-resizable)
24644         (window-resizable-p, window-total-height, window-total-width)
24645         (window-body-width): New functions.
24646         (window-full-height-p, window-full-width-p): Rewrite using
24647         window-total-size.
24648         (window-body-height): Rewrite using window-body-size.
24650 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
24652         * window.el (window-right, window-left, window-child)
24653         (window-child-count, window-last-child, window-any-p)
24654         (normalize-live-buffer, normalize-live-frame)
24655         (normalize-any-window, normalize-live-window)
24656         (window-iso-combination-p, window-iso-combined-p)
24657         (window-iso-combinations)
24658         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24659         (windows-with-parameter, window-with-parameter)
24660         (window-atom-root, make-window-atom, window-atom-check-1)
24661         (window-atom-check, window-side-check, window-check):
24662         New functions.
24663         (ignore-window-parameters, window-sides, window-sides-vertical)
24664         (window-sides-slots): New variables.
24665         (window-size-fixed): Move down in code.  Minor doc-string fix.
24667 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
24669         * comint.el (comint-dynamic-complete-as-filename)
24670         (comint-dynamic-complete-filename): Correctly call
24671         completion-in-region.
24673 2011-06-05  Deniz Dogan  <deniz@dogan.se>
24675         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24676         in last change.
24678 2011-06-05  Deniz Dogan  <deniz@dogan.se>
24680         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24681         (rcirc): Use it to prompt for encryption.
24683 2011-06-05  Roland Winkler  <winkler@gnu.org>
24685         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24686         (bibtex-search-entries): New command bound to C-c C-a.
24687         (bibtex-display-entries): New function.
24689 2011-06-05  Roland Winkler  <winkler@gnu.org>
24691         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24692         (bibtex-insert-kill): After yanking insert newline if necessary.
24693         (bibtex-initialize): Call bibtex-string-files-init only once.
24694         (bibtex-mode): Do not call easy-menu-add.
24695         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24696         (bibtex-yank): Set arg properly if nil.
24698 2011-06-05  Roland Winkler  <winkler@gnu.org>
24700         * textmodes/bibtex.el (bibtex-search-entry-globally):
24701         New variable.
24702         (bibtex-search-entry): Use it.
24704 2011-06-05  Roland Winkler  <winkler@gnu.org>
24706         * textmodes/bibtex.el (bibtex-entry-format): New option
24707         sort-fields.
24708         (bibtex-format-entry, bibtex-reformat): Honor this option.
24709         (bibtex-parse-entry): Return fields in proper order.
24711 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
24713         * doc-view.el (doc-view-remove-if): Move computation of result out
24714         of `dolist' to silence misleading lexical-binding warning.
24716 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
24718         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24719         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24721 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
24723         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24724         "SunOS 5.10".
24726 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
24728         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24729         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24730         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24731         (tramp-parse-putty):
24732         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24733         (tramp-completion-function-alist-ssh)
24734         (tramp-completion-function-alist-telnet)
24735         (tramp-completion-function-alist-su)
24736         (tramp-completion-function-alist-putty): Set `tramp-autoload'
24737         cookie.
24739         * net/tramp-ftp.el:
24740         * net/tramp-sh.el:
24741         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24742         load "tramp.el" `tramp-set-completion-function'.
24744 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
24746         * shell.el: Require and use pcomplete.
24747         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24748         (shell-completion-vars): Set pcomplete-default-completion-function.
24750 2011-06-04  Deniz Dogan  <deniz@dogan.se>
24752         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24753         `memq' (Bug#8799).
24755 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
24757         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24759 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
24761         * bs.el (bs--mark-unmark, bs--nth-wrapper):
24762         * mpc.el (mpc-select-extend, mpc-songpointer-context):
24763         * vc/log-view.el (log-view-beginning-of-defun):
24764         * vc/smerge-mode.el (smerge-apply-resolution-patch)
24765         (smerge-refine-forward, smerge-refine-chopup-region):
24766         Silence warning for unused `dotimes' counter variables.
24768 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
24770         * net/tramp.el (tramp-with-progress-reporter): Rename from
24771         with-progress-reporter.  Use `declare'.
24772         * net/tramp-smb.el:
24773         * net/tramp-sh.el:
24774         * net/tramp-gvfs.el: Update all uses.
24776 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
24778         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24779         buffer isn't killed before making it current.
24781 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
24783         Silence various byte-compiler warnings.
24784         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24785         `access-type' and new obsolescence format.
24786         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24787         new format.
24788         (byte-compile-check-variable): New `access-type' argument.
24789         Only warn if the access-type is obsolete.
24790         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24791         (byte-compile-variable-set): Adjust callers.
24792         * help-fns.el (describe-variable): Adjust to new obsolescence format.
24793         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24794         setting it as obsolete.
24795         * simple.el (minibuffer-completing-symbol):
24796         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24797         access as obsolete.
24798         * minibuffer.el (minibuffer-completing-file-name): Don't make it
24799         obsolete yet.
24800         * international/quail.el (quail-mouse-choose-completion): Remove unused
24801         code referring to obsolete var.
24802         (quail-choose-completion-string): Remove.
24803         * server.el (server-clients-with, server-kill-buffer-query-function)
24804         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24805         * proced.el (proced-send-signal):
24806         * emacs-lisp/lisp.el (lisp-complete-symbol):
24807         Replace completion-annotate-function with completion-extra-properties.
24809 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
24811         * simple.el (goto-line): Use read-number.
24812         (overriding-map-is-bound): Remove.
24813         (saved-overriding-map): Change default.
24814         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24815         Take the map as argument.
24816         (universal-argument, negative-argument, digit-argument): Use it.
24817         (restore-overriding-map): Adjust.
24818         (do-auto-fill): Use fill-forward-paragraph.
24819         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24821         * minibuffer.el (minibuffer-inactive-mode-map): New var.
24822         (minibuffer-inactive-mode): New major mode.
24823         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24824         the *Messages* buffer" hack.
24825         (mouse-popup-menubar): Don't burp if the event is a normal key.
24827         Miscellaneous tweaks.
24828         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24829         lexical scoping as in subr.el's dolist and dotimes.
24830         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24831         Silence compiler warning.
24832         * thingatpt.el (forward-whitespace): Trivial coding style fix.
24833         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24834         * international/ccl.el (ccl-compile): Trivial simplification.
24835         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24836         * emacs-lisp/testcover.el (testcover-end): Remove spurious
24837         `printflag' argument.
24838         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24839         Purecopy the whole obsolescence data.
24841 2011-06-01  Leo Liu  <sdl.web@gmail.com>
24843         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24844         improve doc-string as suggested by Marco Pessotto
24845         <melmothx@gmail.com>.
24846         (rcirc-print): Fix last change.
24848 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
24850         * minibuffer.el (complete-with-action): Return nil for the metadata and
24851         boundaries of non-functional tables.
24852         (completion-table-dynamic): Return nil for the metadata.
24853         (completion-table-with-terminator): Add default case, using
24854         complete-with-action.
24855         (completion--metadata): New function.
24856         (completion-all-sorted-completions, minibuffer-completion-help): Use it
24857         to try and avoid pathological performance problems.
24858         (completion--embedded-envvar-table): Return `category' metadata.
24860 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24862         * subr.el (process-alive-p): New tiny convenience function.
24864 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
24866         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24867         content but also its previous major mode.
24869 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
24871         * emacs-lisp/debug.el (debug): Restore the previous content of the
24872         *Backtrace* buffer when we exit with C-M-c.
24874 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
24876         * minibuffer.el: Add metadata method to completion tables.
24877         (completion-category-overrides): New defcustom.
24878         (completion-metadata, completion--field-metadata)
24879         (completion-metadata-get, completion--styles)
24880         (completion--cycle-threshold): New functions.
24881         (completion-try-completion, completion-all-completions):
24882         Add `metadata' argument to choose completion-styles.
24883         (completion--do-completion): Use metadata to choose cycling.
24884         (completion-all-sorted-completions): Use metadata for sorting.
24885         Remove :completion-cycle-penalty which is not needed any more.
24886         (completion--try-word-completion): Add `metadata' argument.
24887         (minibuffer-completion-help): Check metadata for annotation function
24888         and sorting.
24889         (completion-file-name-table): Return `category' metadata.
24890         (minibuffer-completing-file-name): Make obsolete.
24891         * simple.el (minibuffer-completing-symbol): Make obsolete.
24892         * icomplete.el (icomplete-completions): Pass new `metadata' param to
24893         completion-try-completion.
24895 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
24897         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24899 2011-05-30  Leo Liu  <sdl.web@gmail.com>
24901         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24902         (rcirc-print): Decode all incoming messages (bug#8744).
24903         (rcirc-decode-coding-system): Allow value nil for automatic coding
24904         system detection.
24906 2011-06-01  Glenn Morris  <rgm@gnu.org>
24908         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24910 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
24912         * image.el (image-animate-max-time): Allow nil and t values.
24913         Default to nil.
24914         (create-animated-image): Doc fix.
24915         (image-animate-start): Remove second arg; just use
24916         image-animate-max-time.
24917         (image-animate-timeout): Doc fix.  Args changed.
24919         * image-mode.el (image-toggle-display-image): Ensure that the
24920         image spec passed to the animate timer is the same object as in
24921         the buffer's display property (Bug#6981).
24922         (image-transform-properties): Doc fix.
24924         * image.el (image-animate-max-time): Default to nil.
24926 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
24928         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24929         entire buffer list (Bug#8184).
24931 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
24933         * image.el (imagemagick-types-inhibit)
24934         (imagemagick-register-types): Doc fix.
24936 2011-05-29  Deniz Dogan  <deniz@dogan.se>
24938         * net/rcirc.el (rcirc): Use the user's stored encryption method by
24939         default.
24941 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
24943         * select.el: Don't perform clipboard-manager saving in hooks;
24944         leave the hooks empty.
24946 2011-05-28  Leo Liu  <sdl.web@gmail.com>
24948         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24949         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
24950         (occur-edit-mode): New major mode (Bug#8463).
24951         (occur-after-change-function): New function.
24952         (occur-engine): Give Occur tags a read-only property.
24954 2011-05-28  Kevin Ryde  <user42@zip.com.au>
24956         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24958 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
24960         * bindings.el (help-echo): Make the initial non-indicator dash
24961         empty on graphical terminals (Bug#7295).
24963         * files.el (auto-mode-alist): Move config rule after the
24964         in-stripping one (Bug#8547).
24966         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24968         * startup.el (normal-splash-screen): Remove gratuitous mode-line
24969         setting (Bug#8740).
24971 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
24973         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24974         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24975         (Bug#8539).
24977 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
24979         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24981 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
24983         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24984         (hs-hide-block-at-point, hs-find-block-beginning)
24985         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24986         (Bug#8279).
24988 2011-05-28  Glenn Morris  <rgm@gnu.org>
24990         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
24992 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
24994         * help-fns.el (describe-function-1): If the function is a derived
24995         major mode, print the parent mode.
24997         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24998         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
25000 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
25002         * minibuffer.el (completion--capf-wrapper): Check applicability before
25003         returning non-nil for non-exclusive completion data.
25004         * progmodes/etags.el (tags-completion-at-point-function):
25005         * info-look.el (info-lookup-completions-at-point): Mark as
25006         non-exclusive.
25007         (info-complete): Adjust accordingly.
25009         * info-look.el: Convert to lexical-binding and completion-at-point.
25010         (info-lookup-completions-at-point): New function.
25011         (info-complete): Use it and completion-in-region.
25013 2011-05-28  Drew Adams  <drew.adams@oracle.com>
25015         * isearch.el: Let M-e start with point at the first mismatched char.
25016         (isearch-fail-pos): New function.
25017         (isearch-edit-string): Use it.
25019 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
25021         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25023 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
25025         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
25026         traversal functions for avl-trees.
25027         (avl-tree--stack): New struct.
25028         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
25029         (avl-tree-enter): Add optional `updatefun' arg.
25030         (avl-tree--do-enter): Add optional `updatefun' arg.
25031         Change return value.
25032         (avl-tree-delete): Add optional `test' and `nilflag' args.
25033         (avl-tree--do-delete): Add `test' and `nilflag' args.
25034         Change return value.
25035         (avl-tree-member): Add optional `nilflag'
25036         (avl-tree-member-p): New function.
25037         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
25038         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
25039         (avl-tree-stack-empty-p): New functions.
25041         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
25042         avl-tree--del-balance1 and make it work both ways.
25043         (avl-tree--del-balance2): Remove.
25044         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
25045         make it work both ways.
25046         (avl-tree--enter-balance2): Remove.
25047         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
25048         New macros.
25049         (avl-tree--mapc, avl-tree-map): Add direction argument.
25051 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
25053         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
25055 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
25057         * select.el: Support clipboard managers with built-in function
25058         x-clipboard-manager-save, via delete-frame-functions and
25059         kill-emacs-hook.
25060         (xselect-convert-to-targets): Add MULTIPLE target to list.
25061         (xselect-convert-to-save-targets): New function.
25063 2011-05-27  Kenichi Handa  <handa@m17n.org>
25065         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
25066         let-binding rfc2047-encode-encoded-words to nil.
25068 2011-05-27  Glenn Morris  <rgm@gnu.org>
25070         * mail/emacsbug.el: Don't require url-util.
25072         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
25074         * files.el (set-auto-mode):
25075         Also respect mode: entries at the end of the file.  (Bug#8586)
25077 2011-05-26  Glenn Morris  <rgm@gnu.org>
25079         * files.el (hack-local-variables-prop-line, hack-local-variables):
25080         Downcase mode names, as seems to be traditional.
25081         (hack-local-variables, hack-local-variables-apply): Doc fixes.
25083         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
25084         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
25086 2011-05-25  Julien Danjou  <julien@danjou.info>
25088         * textmodes/rst.el (rst-define-level-faces): Do not define face
25089         symbol if it is already defined.
25091 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
25093         * play/5x5.el (5x5-new-game, 5x5-randomize):
25094         Reset 5x5-solver-output to nil when a new grid is cast.
25095         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
25096         these debugging traces, as defmacro breaks the compiled code.
25098 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
25100         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
25102 2011-05-24  Leo Liu  <sdl.web@gmail.com>
25104         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
25105         (vc-bzr-sha1): Adapt.
25107         * sha1.el: Remove.  Function `sha1' is now builtin.
25109         * bindings.el: Provide sha1 feature.
25111 2011-05-24  Kenichi Handa  <handa@m17n.org>
25113         * mail/sendmail.el: Require `rfc2047'.
25114         (mail-insert-from-field): Do not perform RFC2047 encoding.
25115         (mail-encode-header): New function.
25116         (sendmail-send-it): Set buffer-file-coding-system of the work
25117         buffer to the return value of select-message-coding-system.
25118         Call mail-encode-header.
25120         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
25122 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
25124         * mail/supercite.el (sc-default-cite-frame):
25125         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
25127 2011-05-24  Glenn Morris  <rgm@gnu.org>
25129         * progmodes/python.el (brm-menu): Declare.
25131         * emulation/viper.el (viper-set-hooks): Declare.
25133         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
25134         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
25135         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
25136         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
25137         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
25138         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
25140 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
25142         Add an :exit-function for completion-at-point.
25144         * minibuffer.el (completion--done): New fun.
25145         (completion--do-completion): Use it.  New arg `expect-exact'.
25146         (minibuffer-complete, minibuffer-complete-word): Don't output message,
25147         since completion--do-completion does it for us now.
25148         (minibuffer-force-complete): Use completion--done and
25149         completion--replace.  Handle sole-completion case with more care.
25150         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
25151         (completion-extra-properties): New var.
25152         (completion-annotate-function): Make obsolete.
25153         (minibuffer-completion-help): Adjust accordingly.
25154         Use completion-list-insert-choice-function.
25155         (completion-at-point, completion-help-at-point):
25156         Bind completion-extra-properties.
25157         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
25158         * simple.el (completion-list-insert-choice-function): New var.
25159         (completion-setup-function): Preserve it.
25160         (choose-completion): Pay attention to it, shuffle the code a bit.
25161         (choose-completion-string): New arg `insert-function'.
25163         * textmodes/bibtex.el: Convert to lexical binding.
25164         (bibtex-mode-map): Use completion-at-point.
25165         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
25166         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
25167         (bibtex-complete): Define as obsolete alias.
25168         (bibtex-complete-internal): Remove.
25169         (bibtex-format-entry): Remove unused sub-group in regexp.
25170         * shell.el (shell--command-completion-data)
25171         (shell-environment-variable-completion):
25172         * pcomplete.el (pcomplete-completions-at-point):
25173         * comint.el (comint--complete-file-name-data): Use :exit-function
25174         instead of completion-table-with-terminator so it also works for
25175         choose-completion.
25177 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
25179         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
25181         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
25182         (bug#8710).
25184         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
25186 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
25188         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
25189         customization variable and implement: If non-nil, auto-fill will
25190         be inhibited while on topic's header line.
25192 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
25194         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
25195         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
25196         always have a solution in grid size = 5 cases.
25197         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
25198         (5x5-solver-output, 5x5-log-buffer): New vars.
25199         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
25200         Make these variables buffer local to achieve 5x5 multi-session-ness.
25201         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
25202         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
25203         (5x5-solve-suggest): New funs.
25204         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
25205         randomize a grid so that we ensure that there is always a solution.
25206         (5x5-make-random-grid): Allow other movement than flipping.
25208 2011-05-23  Kevin Ryde  <user42@zip.com.au>
25210         * emacs-lisp/advice.el (ad-read-advised-function):
25211         Use `function-called-at-point' as the default, if it has
25212         advice and passes PREDICATE.
25214 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
25216         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
25217         byte-compile-lambda if it's actually a lambda.
25219         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
25220         Fix function quoting.  Use backquote better.
25222 2011-05-22  Yuanle Song  <sylecn@gmail.com>
25224         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
25225         matching (Bug#8516).
25227 2011-05-22  Jari Aalto  <jari.aalto@cante.net>
25229         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
25230         different face (Bug#8178).
25232 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
25234         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
25235         defface (Bug#8144).
25237 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
25239         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
25240         funcall as well (bug#8712).  Warn when performing those conversions.
25241         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
25243         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
25245 2011-05-22  Glenn Morris  <rgm@gnu.org>
25247         * files.el (hack-local-variables-prop-line): Small simplifications.
25248         (hack-local-variables, hack-local-variables-prop-line):
25249         If MODE-ONLY, return the mode, rather than just `t'.
25251 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
25253         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
25255 2011-05-21  Glenn Morris  <rgm@gnu.org>
25257         * files.el (hack-local-variables-prop-line, hack-local-variables):
25258         If only interested in the mode, don't bother doing the other stuff.
25260         * image-mode.el (image-after-revert-hook):
25261         Redraw all frames on which the image is visible.  (Bug#8567)
25263         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
25265         * wid-edit.el (widget-checklist-match-inline):
25266         Fix 2011-04-19 change.  (Bug#8649)
25268 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
25270         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
25271         Also allow singlespace after single-letter capitals followed by a dot.
25273         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
25274         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
25276 2011-05-20  Nix  <nix@esperi.org.uk>
25278         * files.el (basic-save-buffer-2):
25279         Fix handling of break-hardlink-on-save with non-existent files.
25281 2011-05-19  Deniz Dogan  <deniz@dogan.se>
25283         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
25284         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
25286 2011-05-19  Glenn Morris  <rgm@gnu.org>
25288         * progmodes/f90.el (f90-type-def-re):
25289         Handle "type, bind(c)".  (Bug#8691)
25291         * emacs-lisp/autoload.el (batch-update-autoloads):
25292         Set autoload-excludes by parsing loadup.el rather than Makefiles.
25294 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
25296         * net/tramp.el (tramp-process-actions): Set "first-password-request"
25297         property for the correct connection in case of multihops.
25299 2011-05-18  Glenn Morris  <rgm@gnu.org>
25301         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
25302         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
25304         Rationalize calendar handling of day and month abbrev-arrays.
25305         * calendar/calendar.el (calendar-customized-p): New function.
25306         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
25307         (calendar-day-name-array, calendar-month-name-array): Doc fix.
25308         Add :set function.
25309         (calendar-abbrev-length, calendar-day-abbrev-array)
25310         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
25311         (calendar-day-abbrev-array, calendar-month-abbrev-array):
25312         Elements may no longer be nil.
25313         (calendar-day-name, calendar-month-name):
25314         Update for changed nature of abbrev arrays.
25315         * calendar/diary-lib.el (diary-name-pattern):
25316         Update for changed nature of abbrev arrays.
25317         (diary-mark-entries-1): Update calendar-make-alist calls.
25318         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
25319         * calendar/cal-html.el (cal-html-day-abbrev-array):
25320         Simply inherit from calendar-day-abbrev-array.
25322 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
25324         * progmodes/grep.el (grep-mode): Disable default
25325         compilation-directory-matcher setting (bug#8684).
25327 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
25329         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
25330         instead of "head" and "tail".  There were problems with SunOS 5.9,
25331         and it performs better.
25333 2011-05-17  Glenn Morris  <rgm@gnu.org>
25335         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
25337         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
25338         Replace obsolete function.
25340         * shell.el (pcomplete-parse-arguments-function): Declare.
25342         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
25343         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
25344         (appt-check): Doc fixes.
25345         (appt-disp-window-function, appt-delete-window-function):
25346         Remove needless special case in custom :type.
25347         (appt-display-count): Default to 0, not nil.
25348         (appt-check): Reset appt-display-count to 0, not nil.
25350 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
25352         * progmodes/python.el (python-font-lock-keywords):
25353         Add the Python 3.X keyword "nonlocal" (bug#8639).
25355 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
25357         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
25359 2011-05-16  Kevin Ryde  <user42@zip.com.au>
25361         * info-look.el (makefile-automake-mode): New setups, looking in
25362         automake manual, then makefile-mode.
25363         (makefile-mode): Remove automake manual, have it just in
25364         makefile-automake-mode since there's various things different or
25365         not relevant to plain make.
25366         (makefile-mode): Remove "other-modes" non-existent automake-mode,
25367         believe a hypothetical automake-mode would go to makefile-mode,
25368         not the other way around.
25370 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
25372         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
25373         hunk-end tags (Bug#8672).
25375         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
25376         vc-annotate-show-diff-revision-at-line (Bug#8671).
25378 2011-05-14  Glenn Morris  <rgm@gnu.org>
25380         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
25381         in the middle of an existing one with multiple authors.  (Bug#8645)
25382         (change-log-font-lock-keywords): Also handle multiple author lines
25383         with leading tabs.  (Bug#8644)
25385         * calendar/appt.el (appt-check): Rename some local variables.
25386         Some simplification/reordering.
25388         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
25389         (feedmail-sendmail-f-doesnt-sell-me-out)
25390         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25391         (feedmail-debug-sit-for, feedmail-queue-express-hook)
25392         (feedmail-queue-runner-message-sender): Set :version.
25393         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
25394         (bbdb-dwim-net-address, vm-mail): Declare.
25395         (feedmail-binmail-gnulinuxish-template):
25396         Rename from feedmail-binmail-linuxish-template.
25397         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
25398         Use insert-buffer-substring.
25400 2011-05-14  Bill Carpenter  <bill@carpenter.org>
25402         * mail/feedmail.el (feedmail-patch-level): Increase.
25403         (feedmail-debug): New custom group.
25404         (feedmail-confirm-outgoing-timeout)
25405         (feedmail-sendmail-f-doesnt-sell-me-out)
25406         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
25407         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
25408         (feedmail-sender-line, feedmail-from-line)
25409         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
25410         (feedmail-spray-this-address)
25411         (feedmail-spray-address-fiddle-plex-list)
25412         (feedmail-queue-use-send-time-for-date)
25413         (feedmail-queue-use-send-time-for-message-id)
25414         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
25415         (feedmail-buffer-eating-function):
25416         Doc fixes.
25417         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
25418         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
25419         (feedmail-message-action-scroll-down): New functions.
25420         (feedmail-queue-directory, feedmail-queue-draft-directory):
25421         Use expand-file-name.
25422         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
25423         Remove C-v help entry.
25424         (feedmail-queue-buffer-file-name): New variable.
25425         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
25426         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
25427         (feedmail-message-action-send-strong, feedmail-message-action-edit)
25428         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
25429         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
25430         (feedmail-message-action-toggle-spray)
25431         (feedmail-run-the-queue-no-prompts)
25432         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25433         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25434         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25435         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25436         (feedmail-envelope-deducer, feedmail-fiddle-from)
25437         (feedmail-fiddle-sender, feedmail-default-date-generator)
25438         (feedmail-fiddle-date, feedmail-fiddle-message-id)
25439         (feedmail-fiddle-spray-address)
25440         (feedmail-fiddle-list-of-spray-fiddle-plexes)
25441         (feedmail-fiddle-list-of-fiddle-plexes)
25442         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25443         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25444         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25445         Change default.  Doc fix.
25446         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25447         (feedmail-binmail-linuxish-template): New constant.
25448         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
25449         Respect feedmail-sendmail-f-doesnt-sell-me-out.
25450         (feedmail-send-it): Add debug call.
25451         Use feedmail-queue-buffer-file-name, and
25452         feedmail-send-it-immediately-wrapper.
25453         (feedmail-message-action-send): Add debug call.
25454         Use feedmail-send-it-immediately-wrapper.
25455         (feedmail-queue-express-to-queue): Add debug call.
25456         Run feedmail-queue-express-hook.
25457         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
25458         (feedmail-message-action-help-blat):
25459         Rename from feedmail-queue-send-edit-prompt-help-first.
25460         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
25461         Check line-endings.  Handle errors better.
25462         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25463         Doc fix.  Add debug call.
25464         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
25465         Use feedmail-queue-send-edit-prompt-inner.
25466         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25467         (feedmail-queue-send-edit-prompt-inner): New function, extracted
25468         from feedmail-queue-send-edit-prompt.
25469         (feedmail-queue-send-edit-prompt-help)
25470         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25471         (feedmail-tidy-up-slug): Add debug call.
25472         Respect feedmail-queue-slug-suspect-regexp.
25473         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25474         (feedmail-dump-message-to-queue): Add debug call.
25475         Expand queue-directory.
25476         (feedmail-dump-message-to-queue): Change message slightly.
25477         Use feedmail-say-chatter.
25478         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
25479         (feedmail-send-it-immediately-wrapper): New function.
25480         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
25481         Insert empty string rather than newline.  Handle full-frame case.
25482         Use catch/throw.  Use feedmail-say-chatter.
25483         (feedmail-fiddle-from): Try mail-host-address.
25484         (feedmail-default-message-id-generator): Doc fix.
25485         Bind system-time-locale.  Handle missing end.
25486         (feedmail-fiddle-x-mailer): Add debug call.
25487         Handle feedmail-x-mailer-line being nil.
25488         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25489         Add debug call.  Use buffer-substring-no-properties.
25490         (feedmail-say-debug, feedmail-say-chatter): New functions.
25491         (feedmail-find-eoh): Give an explicit error.
25493 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
25495         * net/newst-treeview.el (newsticker-treeview-face): Change default
25496         family from helvetica to sans.
25497         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25498         etc/images/newsticker.
25500         * net/newst-reader.el (newsticker-feed-face): Change default
25501         family from helvetica to sans.
25503         * net/newst-plainview.el (newsticker-new-item-face)
25504         (newsticker-old-item-face, newsticker-immortal-item-face)
25505         (newsticker-obsolete-item-face, newsticker-date-face)
25506         (newsticker-statistics-face): Change default family from
25507         helvetica to sans.
25508         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25509         etc/images/newsticker.
25511         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25512         (newsticker--process-auto-mark-filter-match): Tell user about
25513         auto-marking.
25515 2011-05-13  Didier Verna  <didier@xemacs.org>
25517         Common Lisp indentation improvements on defmethod and lambda-lists.
25518         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25519         TODO entries.
25520         (lisp-lambda-list-keyword-parameter-indentation)
25521         (lisp-lambda-list-keyword-parameter-alignment)
25522         (lisp-lambda-list-keyword-alignment): New customizable user options.
25523         (lisp-indent-defun-method): Improve docstring.
25524         (extended-loop-p): Fix comment.
25525         (lisp-indent-lambda-list-keywords-regexp): New variable.
25526         (lisp-indent-lambda-list): New function.
25527         (lisp-indent-259): Use it.
25528         (lisp-indent-defmethod): Support for more than one
25529         method qualifier and properly indent methods lambda-lists.
25530         (defgeneric): Provide a missing common-lisp-indent-function property.
25532 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
25534         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25535         bounds for the empty string (bug#8667).
25537 2011-05-13  Glenn Morris  <rgm@gnu.org>
25539         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25541         * mail/sendmail.el (sendmail-program): Try executable-find first.
25542         (sendmail-send-it): `sendmail-program' cannot be unbound.
25544         * calendar/appt.el (appt-make-list): Simplify.
25545         (appt-time-msg-list): Doc fix.
25546         (appt-check): Change mode-line message at the time of the appointment.
25548 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25550         * progmodes/ld-script.el (ld-script-keywords)
25551         (ld-script-builtins): Update keywords list.
25553 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
25555         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25557         * shell.el (shell-completion-vars): New function.
25558         (shell-mode):
25559         * simple.el (read-shell-command): Use it.
25560         (blink-matching-open): No need for " [...]" in minibuffer-message.
25562 2011-05-12  Glenn Morris  <rgm@gnu.org>
25564         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25565         (appt-check): Simplify.
25567 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
25569         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25570         literal "/dev/null".
25572 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
25574         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25575         Fix typo.
25577 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
25579         * progmodes/which-func.el (which-function):
25580         Use add-log-current-defun instead of add-log-current-defun-function,
25581         which might not be defined (Bug#8260).
25583 2011-05-12  Glenn Morris  <rgm@gnu.org>
25585         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25586         Let byte-compile-initial-macro-environment always take precedence.
25588 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
25590         * net/rcirc.el: Add support for SSL/TLS connections.
25591         (rcirc-server-alist): New field `encryption'.
25592         (rcirc): Check `encryption' settings.
25593         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
25594         Merge make-local-variable into `set'.
25595         (rcirc--connection-open-p): New function.
25596         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25597         the process is not a network process (e.g. running gnutls-cli).
25598         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25599         Make rcirc-(en|de)code-coding-system local here.
25600         (rcirc-mode): Merge make-local-variable into `set'.
25601         (rcirc-parent-buffer): Make permanent buffer-local.
25602         (rcirc-multiline-minor-mode): Don't do it here.
25603         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25604         there's no server buffer.
25606 2011-05-11  Glenn Morris  <rgm@gnu.org>
25608         * newcomment.el (comment-kill): Prefix "unused" local.
25610         * term/w32console.el (get-screen-color): Declare.
25612         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25613         Handle symbol elements of byte-compile-initial-macro-environment.
25615 2011-05-10  Leo Liu  <sdl.web@gmail.com>
25617         * bookmark.el (bookmark-bmenu-mode-map):
25618         Bind bookmark-bmenu-search to `/'.
25620         * mail/footnote.el: Convert to utf-8 encoding.
25621         (footnote-unicode-string, footnote-unicode-regexp): New variable.
25622         (Footnote-unicode): New function.
25623         (footnote-style-alist): Add unicode style to the list.
25624         (footnote-style): Doc fix.
25626 2011-05-10  Jim Meyering  <meyering@redhat.com>
25628         Fix doubled-word typos.
25629         * international/quail.el (quail-insert-kbd-layout): and and -> and
25630         * kermit.el: and and -> and
25631         * net/ldap.el (ldap-search-internal): to to -> to
25632         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25633         * progmodes/js.el (js-mode): and and -> and
25634         * textmodes/artist.el (artist-move-to-xy): at at -> at
25635         (artist-draw-region-trim-line-endings): if if -> if
25636         And Safetyc -> Safety.
25637         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25639 2011-05-10  Glenn Morris  <rgm@gnu.org>
25640             Stefan Monnier  <monnier@iro.umontreal.ca>
25642         * files.el (hack-one-local-variable-eval-safep):
25643         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
25645 2011-05-10  Glenn Morris  <rgm@gnu.org>
25647         * calendar/diary-lib.el (diary-list-entries-hook)
25648         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25649         (diary-nongregorian-marking-hook, diary-list-entries)
25650         (diary-include-other-diary-files, diary-mark-entries)
25651         (diary-mark-included-diary-files): Doc fixes.
25653 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
25655         * misc.el: Require tabulated-list.el during compilation.
25657 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
25659         * progmodes/compile.el (compilation-start):
25660         Run compilation-filter-hook for the async case too.
25661         (compilation-filter-hook): Doc fix.
25663 2011-05-09  Deniz Dogan  <deniz@dogan.se>
25665         * wdired.el: Remove outdated installation comment.  Fix usage
25666         comment.
25668 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
25670         * misc.el: Implement new command `list-dynamic-libraries'.
25671         (list-dynamic-libraries--loaded-only-p): New variable.
25672         (list-dynamic-libraries--refresh): New function.
25673         (list-dynamic-libraries): New command.
25675 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
25677         * progmodes/compile.el (compilation-error-regexp-alist-alist):
25678         Fix the ant regexp to handle end-line and end-column info from jikes.
25679         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
25680         higher priority to avoid clobbering by gnu.
25682 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
25684         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25685         if the face has existing theme settings (Bug#8454).
25687 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
25689         * progmodes/perl-mode.el (perl-imenu-generic-expression):
25690         Only match variables declared via `my' or `our' (Bug#8261).
25692         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25693         special file names `.' and `..' (Bug#8259).
25695 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
25697         * progmodes/grep.el (grep-mode-font-lock-keywords):
25698         Remove buffer-changing entries.
25699         (grep-filter): New function.
25700         (grep-mode): Add it to compilation-filter-hook.
25702         * progmodes/compile.el (compilation-filter-hook)
25703         (compilation-filter-start): New defvars.
25704         (compilation-filter): Call compilation-filter-hook prior to
25705         updating the process mark.
25707 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
25709         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25711 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
25713         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25714         mailclient-send-it even if window-system is nil.  (Bug#8595)
25716         * term/w32console.el (terminal-init-w32console):
25717         Call get-screen-color and use its output to set the frame
25718         background-mode.  (Bug#8597)
25720 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
25722         Make bytecomp.el understand that defmethod defines funs (bug#8631).
25723         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25724         New functions.
25725         (defgeneric, eieio--defmethod): Use them.
25726         (eieio-defgeneric): Remove.
25727         (defmethod): Call defgeneric in a way visible to the byte-compiler.
25729 2011-05-07  Glenn Morris  <rgm@gnu.org>
25731         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25732         Use let rather than let*.
25733         (timeclock-find-discrep): Remove unused local.
25735         * calendar/diary-lib.el (diary-comment-start): Doc fix.
25737         * calendar/appt.el (appt-time-msg-list): Doc fix.
25739 2011-05-06  Noah Friedman  <friedman@splode.com>
25741         * apropos.el (apropos-print-doc): Only use
25742         emacs-lisp-docstring-fill-column when it is bound to an integer,
25743         per that variable's documentation.
25745 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
25747         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25748         and warnings are not silently discarded (e.g. use -d instead of -P).
25750 2011-05-06  Glenn Morris  <rgm@gnu.org>
25752         * calendar/appt.el (appt-message-warning-time): Doc fix.
25753         (appt-warning-time-regexp): New option.
25754         (appt-make-list): Respect appt-message-warning-time.
25756         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25757         New options.
25758         (diary-add-to-list): Strip comments from the displayed string.
25759         (diary-mode): Set comment-start and comment-end.
25761         * vc/diff-mode.el (smerge-refine-subst): Declare.
25762         (diff-refine-hunk): Don't require smerge-mode when compiling.
25764 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
25766         * simple.el (list-processes): Return nil as the docstring says.
25768 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
25770         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25771         to "".
25772         (ange-ftp-write-region, ange-ftp-insert-file-contents)
25773         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25774         determining of binary transfer.  (Bug#7383)
25776 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
25778         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25779         Fix port computation bug.  (Bug#8618)
25781 2011-05-05  Glenn Morris  <rgm@gnu.org>
25783         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25785         * simple.el (shell-dynamic-complete-functions)
25786         (comint-dynamic-complete-functions): Declare.
25788         * net/network-stream.el (gnutls-negotiate):
25789         * simple.el (tabulated-list-print): Fix declarations.
25791         * progmodes/gud.el (syntax-symbol, syntax-point):
25792         Remove unnecessary and incorrect declarations.
25794         * emacs-lisp/check-declare.el (check-declare-scan):
25795         Handle byte-compile-initial-macro-environment in bytecomp.el.
25797 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25799         Fix earlier half-done eieio-defmethod change (bug#8338).
25800         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25801         Streamline and change calling convention.
25802         (defmethod): Adjust accordingly and simplify.
25803         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25804         new eieio--defmethod.
25805         (slot-boundp): Minor CSE simplification.
25807 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
25809         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25810         (glasses-make-readable): Use glasses-separate-capital-groups.
25812 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
25814         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25815         (warning-series): Doc fix.
25816         (display-warning): Don't try to create the buffer if we just found it.
25818 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
25820         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25821         (autoload-find-generated-file): New function.
25822         (generate-file-autoloads): Bind generated-autoload-file to
25823         buffer-file-name.
25824         (update-file-autoloads, update-directory-autoloads):
25825         Use autoload-find-generated-file.  If called interactively, prompt for
25826         output file (Bug#7989).
25827         (batch-update-autoloads): Doc fix.
25829 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
25831         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25833 2011-05-04  Glenn Morris  <rgm@gnu.org>
25835         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25836         function, so it follows changes in calendar-date-style.
25837         (diary-fancy-date-matcher): New function.
25838         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25839         (diary-fancy-font-lock-fontify-region-function):
25840         Use diary-fancy-date-pattern as a function.
25842         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25843         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
25845 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
25847         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25848         instead of positional arguments.  Allow :keylist and :crlfiles
25849         arguments.
25850         (open-gnutls-stream): Call it.
25852         * net/network-stream.el (network-stream-open-starttls): Adjust to
25853         call `gnutls-negotiate' with :process and :hostname arguments.
25855 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
25857         * minibuffer.el (completion--message): New function.
25858         (completion--do-completion, minibuffer-complete)
25859         (minibuffer-force-complete, minibuffer-complete-word): Use it.
25860         (completion--do-completion): Don't ignore completion-auto-help when in
25861         icomplete-mode.
25863         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25864         internal encoding (e.g. tibetan zero is not whitespace).
25865         (global-whitespace-mode): Prefer save-current-buffer.
25866         (whitespace-trailing-regexp): Remove useless save-match-data.
25867         (whitespace-empty-at-bob-regexp): Minor simplification.
25869 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
25871         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25873 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
25875         * textmodes/ispell.el (ispell-add-per-file-word-list):
25876         Use `concat' to create string for insertion.
25878 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
25880         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25881         Avoid open-line which runs post-self-insert-hook.
25882         (bibtex-fill-entry): Remove unused `end' var.
25884 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
25886         * textmodes/ispell.el (ispell-add-per-file-word-list):
25887         Protect against `nil' value of `comment-start' (Bug#8579).
25889 2011-05-03  Leo Liu  <sdl.web@gmail.com>
25891         * isearch.el (isearch-yank-pop): New command.
25892         (isearch-mode-map): Bind it to `M-y'.
25893         (isearch-forward): Mention it.
25895 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
25897         * simple.el (minibuffer-complete-shell-command): Remove.
25898         (minibuffer-local-shell-command-map): Use completion-at-point.
25899         (read-shell-command): Setup completion vars here instead.
25900         (read-expression-map): Bind TAB to symbol completion.
25902         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25903         error directly rather via storing it into `results'.
25905 2011-05-02  Leo Liu  <sdl.web@gmail.com>
25907         * vc/diff.el: Fix description.
25909 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
25911         * server.el (server-eval-at): New function.
25913 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
25915         * net/network-stream.el (open-network-stream): Take a :nowait
25916         parameter and pass it on to `make-network-process'.
25917         (network-stream-open-plain): Ditto.
25919 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
25921         * faces.el (face-spec-set-match-display): Don't match toolkit
25922         options on terminal frames.
25924 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
25926         * progmodes/pascal.el: Use lexical binding.
25927         (pascal-mode-map): Remove author preferences.
25929         * pcomplete.el (pcomplete-std-complete): Don't abuse
25930         completion-at-point.
25932 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
25934         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25935         removing code that has been dead since 1991 or so.
25937         * startup.el (command-line): When warning about "_emacs", use a
25938         delayed warning to allow the user to filter it out.
25940 2011-04-28  Deniz Dogan  <deniz@dogan.se>
25942         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25943         user has not joined.
25945 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
25947         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25948         aren't any completions at point.
25950 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
25952         * subr.el (display-delayed-warnings): New function.
25953         (delayed-warnings-hook): New variable.
25955 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
25957         * minibuffer.el (completion-at-point, completion-help-at-point):
25958         Don't presume that a given completion-at-point-function will always
25959         use the same calling convention.
25961         * pcomplete.el (pcomplete-completions-at-point):
25962         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
25963         pcomplete-seen is non-nil.
25964         (pcomplete-comint-setup): Also recognize the new comint/shell
25965         completion functions.
25966         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25967         pcomplete-seen is non-nil.
25969 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
25971         * calendar/icalendar.el (diary-lib): Add require statement.
25972         (icalendar--create-uid): Read out a uid from a text-property on
25973         the first character in the entry.  This allows for code to add its
25974         own uid to the entry.
25975         (icalendar--convert-float-to-ical): Add export of
25976         `diary-float'-entries save for those with the optional DAY
25977         argument.
25979 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
25981         * subr.el (shell-quote-argument): Use alternate escaping strategy
25982         when we spot a variable reference in a string.
25984 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
25986         * cus-start.el (all): Define customization for debug-on-event.
25988 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
25990         * subr.el (shell-quote-argument): Escape correctly under Windows.
25992 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
25994         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25996 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
25998         * net/tramp.el (tramp-process-actions): Add POS argument.
25999         Delete region between POS and (pos).
26001         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26002         Use `nil' position in `tramp-process-actions' call.
26003         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
26005         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
26006         position in `tramp-process-actions' call.
26008         * net/trampver.el: Update release number.
26010 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
26012         * custom.el (defcustom): Obey lexical-binding.
26014         Fix octave-inf completion problems reported by Alexander Klimov.
26015         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
26016         Inherit from octave-mode-syntax-table.
26017         (inferior-octave-mode): Set info-lookup-mode.
26018         (inferior-octave-completion-at-point): New function.
26019         (inferior-octave-complete): Use it and completion-in-region.
26020         (inferior-octave-dynamic-complete-functions): Use it as well, and use
26021         comint-filename-completion.
26022         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
26023         symbol elements which shouldn't be word elements.
26024         (octave-font-lock-keywords, octave-beginning-of-defun)
26025         (octave-function-header-regexp): Adjust regexps accordingly.
26026         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
26028 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
26030         * net/gnutls.el (gnutls-errorp): Declare before first use.
26032 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
26034         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
26035         verify-error, and verify-hostname-error parameters.  Check whether
26036         default trustfile exists before going to use it.  Add missing
26037         argument to gnutls-message-maybe call.  Return value.
26038         Reported by Claudio Bley <claudio.bley@gmail.com>.
26039         (open-gnutls-stream): Add usage example.
26041         * net/network-stream.el (network-stream-open-starttls): Give host
26042         parameter to `gnutls-negotiate'.
26043         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
26044         * subr.el (shell-quote-argument): Escape correctly under Windows.
26046 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
26048         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
26049         Use correct match group (bug#8438).
26051 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
26053         * emacs-lisp/package.el (package-built-in-p): Fix typo.
26054         (package-menu--generate): New arg specifying packages to show.
26055         (package-menu-refresh, package-menu-execute, list-packages):
26056         Callers changed.
26057         (package-show-package-list): New function, replacing deleted
26058         package--list-packages (renamed because it is non-internal).
26060         * finder.el (finder-list-matches): Use package-show-package-list
26061         instead of deleted package--list-packages.
26063         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
26064         Based on a previous implementation by Juanma Barranquero (Bug#8366).
26065         (vc-annotate-mode-map): Bind it to RET.
26067 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
26069         * progmodes/etags.el (next-file): Don't use set-buffer to change
26070         buffers (Bug#8478).
26072 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
26074         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
26076         * apropos.el (apropos-label-face): Avoid variable-pitch face.
26077         (apropos-accumulator): Doc fix.
26078         (apropos-function, apropos-macro, apropos-command)
26079         (apropos-variable, apropos-face, apropos-group, apropos-widget)
26080         (apropos-plist): Add face property.
26081         (apropos-symbols-internal): Fix indentation.
26082         (apropos-print): Simplify help, and recognize apropos-multi-type.
26083         (apropos-print-doc): Use button-type-get to extract the button's
26084         face property.  Fill docstring (Bug#8352).
26086 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
26088         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
26090         * play/mpuz.el (mpuz-silent): Doc fix.
26091         (mpuz-mode-map): Use mapc.
26092         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
26093         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
26094         Fix typos in docstrings.
26096         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
26097         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
26099         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
26101 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
26103         * minibuffer.el (completion--do-completion): Avoid the "Next char
26104         not unique" prompt if icomplete-mode is enabled (Bug#5849).
26106         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
26107         mouse-2 into unread-command-events, it is interpreted correctly.
26109         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
26110         (image-toggle-display): Doc fix.
26112 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
26114         * textmodes/page.el (what-page): Use line-number-at-pos to
26115         calculate line number (Bug#6825).
26117 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
26119         * eshell/esh-mode.el (find-tag-interactive): Declare function.
26120         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
26121         Pass argument NO-DEFAULT to `find-tag-interactive'.
26123 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
26125         Lexical-binding cleanup.
26127         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
26128         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
26129         * progmodes/ada-prj.el (ada-prj-initialize-values)
26130         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
26131         (ada-prj-show-value):
26132         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
26133         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
26134         (antlr-invalidate-context-cache, antlr-options-menu-filter)
26135         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
26136         * progmodes/bug-reference.el (bug-reference-push-button):
26137         * progmodes/fortran.el (fortran-line-length):
26138         * progmodes/glasses.el (glasses-change):
26139         * progmodes/octave-mod.el (octave-fill-paragraph):
26140         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
26141         (python-pdbtrack-grub-for-buffer, python-sentinel):
26142         * progmodes/sql.el (sql-save-connection):
26143         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
26144         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
26145         Mark unused parameters.
26147         * progmodes/compile.el (compilation--flush-directory-cache)
26148         (compilation--flush-parse, compile-internal): Mark unused parameters.
26149         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
26150         (compilation-next-error-function): Remove unused variable `timestamp'.
26152         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
26153         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
26155         * progmodes/dcl-mode.el (dcl-end-of-command):
26156         Remove unused variable `start'.
26157         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
26158         (dcl-option-value-basic, dcl-option-value-offset)
26159         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
26160         Mark unused parameters.
26161         (dcl-save-local-variable): Remove unused variable `val'.
26162         (mode): Declare.
26164         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
26165         Mark unused parameters.
26166         (delphi-ignore-changes): Move before first use.
26167         (delphi-charset-token-at): Remove unused variable `start'.
26168         (delphi-else-start): Remove unused variable `if-count'.
26169         (delphi-comment-block-start, delphi-comment-block-end):
26170         Remove unused variable `kind'.
26171         (delphi-indent-line): Remove unused variable `new-point'.
26173         * progmodes/ebrowse.el (ebrowse-files-list)
26174         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
26175         Mark unused parameters.  Don't quote `lambda'.
26176         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
26177         Don't quote `lambda'.
26178         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
26179         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
26180         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
26181         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
26182         Use `ignore-errors'.
26183         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
26184         (ebrowse-view/find-file-and-search-pattern)
26185         (ebrowse-view/find-member-declaration/definition):
26186         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
26187         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
26188         Rename parameter PREFIX-ARG to PREFIX.
26189         (ebrowse-tags-read-name): Remove unused variables `start' and
26190         `member-info'.
26191         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
26192         to `tags-file'.
26194         * progmodes/etags.el (local-find-tag-hook): Declare.
26195         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
26196         Mark unused parameters.
26198         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
26199         (executable-interpret): Mark unused parameter.
26201         * progmodes/flymake.el (flymake-process-sentinel)
26202         (flymake-after-change-function)
26203         (flymake-create-temp-with-folder-structure)
26204         (flymake-get-include-dirs-dot): Mark unused parameters.
26205         (flymake-safe-delete-directory): Remove unused variable `err'.
26207         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
26208         (speedbar-timer-fn, speedbar-line-text)
26209         (speedbar-change-expand-button-char, speedbar-delete-subblock)
26210         (speedbar-center-buffer-smartly): Declare functions.
26211         (gdb-find-watch-expression): Remove unused variable `array'.
26212         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
26213         (gdb-starting): Mark unused parameters.
26214         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
26215         (gdb-table-string): Remove unused variable `res'.
26216         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
26217         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
26218         (gdb-display-buffer): Remove unused variable `cur-size'.
26220         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
26221         allow lexical-binding compilation.
26222         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
26223         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
26224         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
26225         Mark unused parameters.
26226         (gud-gdb-marker-filter): Remove unused variable `match'.
26227         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
26228         lambda expressions and funcall them, instead of using `fset'.
26230         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
26231         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
26233         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
26234         variable `header-beg'; use `let'.
26236         * progmodes/icon.el (indent-icon-exp): Remove unused variables
26237         `restart', `last-sexp' and `at-do'.
26239         * progmodes/js.el (js--debug): Mark unused parameter.
26240         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
26241         (js--splice-into-items): Remove unused variable `item'.
26242         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
26244         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
26245         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
26246         (makefile-complete): Remove unused variable `try'.
26247         (makefile-fill-paragraph, makefile-match-function-end):
26248         Mark unused parameters.
26250         * progmodes/octave-inf.el (inferior-octave-complete):
26251         Remove unused variable `proc'.
26252         (inferior-octave-output-digest): Mark unused parameter.
26254         * progmodes/perl-mode.el (perl-calculate-indent):
26255         Remove unused variable `err'.
26257         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
26258         (prolog-indent-line): Mark unused parameters.
26259         (prolog-indent-line): Remove unused variable `beg'.
26261         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
26262         (reporter-dont-compact-list): Declare.
26264         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
26265         Remove unused variable `char'.
26266         (sh-debug): Mark unused parameter.
26267         (sh-get-indent-info): Remove unused variable `start'.
26268         (sh-calculate-indent): Remove unused variable `var'.
26270         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
26271         (simula-electric-keyword): Remove unused variable `null'.
26272         (simula-search-backward, simula-search-forward): Remove unused
26273         variables `begin' and `end'.
26275         * progmodes/vera-mode.el (vera-guess-basic-syntax):
26276         Remove unused variable `pos'.
26277         (vera-electric-tab, vera-comment-uncomment-region):
26278         Mark unused parameters.
26279         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
26281 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
26283         * emacs-lisp/package.el (package--builtins, package-alist)
26284         (package-load-descriptor, package-built-in-p, package-activate)
26285         (define-package, package-installed-p)
26286         (package-compute-transaction, package-buffer-info)
26287         (package--push): Doc fix.  Distinguish more clearly between
26288         version strings and version lists.
26290 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
26292         Lexical-binding cleanup.
26294         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
26295         (5x5-make-mutate-best):
26296         * play/fortune.el (fortune-in-buffer):
26297         * play/gomoku.el (gomoku-init-display):
26298         * play/solitaire.el (solitaire, solitaire-do-check):
26299         * play/tetris.el (tetris-default-update-speed-function):
26300         Mark unused parameters.
26302         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
26303         (bubbles--shift): Remove unused variable `char-org'.
26304         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
26305         (bubbles--show-images): Remove unused variable `char'.
26307         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
26308         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
26309         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
26310         (decipher-analyze-buffer): Use ?\s.
26311         (decipher-make-checkpoint): Remove unused variable `mapping'.
26313         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
26315         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
26316         Remove unused variable `result'; use `let'.
26318         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
26319         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
26320         (gametree-children-shown-p, gametree-compute-reduced-score):
26321         Use `ignore-errors'.
26323         * play/handwrite.el (ps-lpr-switches): Declare.
26324         (handwrite): Remove unused variables `pmin' and `lastp'.
26326         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
26328         * play/landmark.el (landmark-init-display)
26329         (landmark-update-naught-weights): Mark unused parameters.
26330         (landmark-y): Remove unused variable `noise'.  Simplify.
26331         (landmark-human-plays): Remove unused variable `score'.
26333         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
26334         (mpuz-try-proposal): Remove unused variable `game'.
26336         * play/zone.el (life-patterns): Declare.
26338 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
26340         * vc/vc.el (ediff-vc-internal): Declare function.
26342 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
26344         * shell.el: Use lexical-binding and std completion UI.
26345         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
26346         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
26347         comint-preoutput-filter-functions rather than on
26348         comint-output-filter-functions.
26349         (shell-command-completion, shell--command-completion-data)
26350         (shell-filename-completion, shell-environment-variable-completion)
26351         (shell-c-a-p-replace-by-expanded-directory): New functions.
26352         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
26353         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
26354         (shell-dynamic-complete-environment-variable): Use them.
26355         (shell-dynamic-complete-as-environment-variable)
26356         (shell-dynamic-complete-as-command): Remove.
26357         (shell-match-partial-variable): Match past point.
26358         * comint.el: Clean up use of completion-at-point-functions.
26359         (comint-completion-at-point): New function.
26360         (comint-mode): Use it completion-at-point-functions.
26361         (comint-dynamic-complete): Make it obsolete.
26362         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
26363         (comint-c-a-p-replace-by-expanded-history): New function.
26364         (comint-dynamic-complete-functions)
26365         (comint-replace-by-expanded-history): Use it.
26366         * minibuffer.el (completion-table-with-terminator): Allow dynamic
26367         termination strings.  Try harder to avoid second try-completion.
26368         (completion-in-region-mode-map): Disable bindings that don't work yet.
26370         * comint.el: Use lexical-binding.  Require CL.
26371         (comint-dynamic-complete-functions): Use comint-filename-completion.
26372         (comint-completion-addsuffix): Tweak custom type.
26373         (comint-filename-completion, comint--common-suffix)
26374         (comint--common-quoted-suffix, comint--table-subvert)
26375         (comint--complete-file-name-data): New functions.
26376         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
26377         (comint-dynamic-list-filename-completions): Use them.
26378         (comint-dynamic-simple-complete): Make obsolete.
26380         * minibuffer.el (completion-in-region-mode):
26381         Keep completion-in-region-mode--predicate global.
26382         (completion-in-region--postch):
26383         Assume completion-in-region-mode--predicate is not null.
26385         * progmodes/flymake.el (flymake-start-syntax-check-process):
26386         Obey `dir'.  Simplify.
26388         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
26389         we're in VC after all.
26391 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
26393         * vc/vc.el (vc-diff-build-argument-list-internal)
26394         (vc-version-ediff, vc-ediff): New commands.
26395         (vc-version-diff): Use vc-diff-build-argument-list-internal.
26397 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
26399         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
26400         add sanity check.
26402         * obsolete/erc-hecomplete.el: Make obsolete.
26403         * obsolete/: Standardize obsolescence info in the header.
26405 2011-04-20  Glenn Morris  <rgm@gnu.org>
26407         * calendar/solar.el (solar-horizontal-coordinates):
26408         Use the longitude argument rather than `calendar-longitude'.
26409         (solar-date-next-longitude): Remove unused locals.
26411 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
26413         * whitespace.el: New version 13.2.1.
26415 2011-04-20  felix  <EmacsWiki>  (tiny change)
26417         * whitespace.el (global-whitespace-mode): Keep highlight when
26418         switching between major modes on a file.
26420 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
26422         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
26423         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
26424         multi-line comments as well.
26426 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
26428         Lexical-binding cleanup.
26430         * arc-mode.el (archive-mode-revert):
26431         * cmuscheme.el (scheme-interactively-start-process):
26432         * custom.el (custom-initialize-delay):
26433         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26434         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26435         * emacs-lock.el (emacs-lock-clear-sentinel):
26436         * ezimage.el (defezimage):
26437         * follow.el (follow-avoid-tail-recenter):
26438         * fringe.el (set-fringe-mode-1):
26439         * generic-x.el (bat-generic-mode-compile):
26440         * help-mode.el (help-info-variable, help-do-xref)
26441         (help-mode-revert-buffer):
26442         * help.el (view-emacs-todo):
26443         * iswitchb.el (iswitchb-completion-help):
26444         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26445         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26446         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26447         * locate.el (locate-update):
26448         * longlines.el (longlines-encode-region)
26449         (longlines-after-change-function):
26450         * outline.el (outline-isearch-open-invisible):
26451         * ps-def.el (declare-function, charset-dimension, char-width)
26452         (encode-char):
26453         * ps-mule.el (ps-mule-plot-string):
26454         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26455         (recentf-edit-list-select, recentf-edit-list-validate)
26456         (recentf-open-files-action):
26457         * rect.el (delete-whitespace-rectangle-line)
26458         (rectangle-number-line-callback):
26459         * register.el (window-configuration-to-register)
26460         (frame-configuration-to-register):
26461         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26462         * select.el (xselect-convert-to-string, xselect-convert-to-length)
26463         (xselect-convert-to-targets, xselect-convert-to-delete)
26464         (xselect-convert-to-filename, xselect-convert-to-charpos)
26465         (xselect-convert-to-lineno, xselect-convert-to-colno)
26466         (xselect-convert-to-os, xselect-convert-to-host)
26467         (xselect-convert-to-user, xselect-convert-to-class)
26468         (xselect-convert-to-name, xselect-convert-to-integer)
26469         (xselect-convert-to-atom, xselect-convert-to-identity):
26470         * subr.el (declare, ignore, process-kill-without-query)
26471         (text-clone-maintain):
26472         * terminal.el (te-get-char, te-tic-sentinel):
26473         * tool-bar.el (tool-bar-make-keymap):
26474         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26475         * type-break.el (type-break-mode, type-break-noninteractive-query):
26476         * view.el (View-back-to-mark):
26477         * wid-browse.el (widget-browse-action, widget-browse-widget)
26478         (widget-browse-widgets, widget-browse-sexp):
26479         * widget.el (define-widget-keywords):
26480         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26481         Mark unused parameters.
26483         * align.el (align-adjust-col-for-rule): Mark unused parameter.
26484         (align-areas): Remove unused variable `look'.
26485         (align-region): Remove unused variables `real-end' and `pos-list'.
26487         * apropos.el (apropos-score-doc): Remove unused variable `i'.
26489         * bindings.el (mode-line-modified, mode-line-remote):
26490         Mark unused parameters.
26491         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26493         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26494         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26496         * comint.el (comint-history-isearch-pop-state)
26497         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26498         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26499         (comint-substitute-in-file-name): Doc fix.
26501         * completion.el (cmpl-statistics-block): Mark unused parameter.
26502         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26503         (save-completions-to-file, load-completions-from-file):
26504         Remove unused local variable `e'.
26506         * composite.el (compose-chars): Remove unused variable `len'.
26507         (lgstring-insert-glyph): Remove unused variable `g'.
26508         (compose-glyph-string): Remove unused variables `ascent',
26509         `descent', `lbearing' and `rbearing'.
26510         (compose-glyph-string-relative): Remove unused variables
26511         `lbearing', `rbearing' and `wadjust'.
26512         (compose-gstring-for-graphic): Remove unused variables `header',
26513         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
26514         (compose-gstring-for-terminal): Remove unused variables `header'
26515         and `nchars'.  Use `let', not `let*'.
26517         * cus-edit.el (Custom-set, Custom-save, custom-reset)
26518         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26519         (Custom-buffer-done, custom-buffer-create-internal)
26520         (custom-browse-visibility-action, custom-browse-group-tag-action)
26521         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26522         (widget-magic-mouse-down-action, custom-toggle-parent)
26523         (custom-add-parent-links, custom-toggle-hide-variable)
26524         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26525         (custom-toggle-hide-face, face, hook, custom-group-link-action)
26526         (custom-face-menu-create, custom-variable-menu-create, get)
26527         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26528         (custom-reset-standard-save-and-update): Remove unused variable `value'.
26529         (customize-apropos): Remove unused variable `tests'.
26530         (custom-group-value-create): Remove unused variable `hidden-p'.
26531         (sort-fold-case): Declare.
26533         * cus-theme.el (custom-reset-standard-faces-list)
26534         (custom-reset-standard-variables-list): Declare.
26535         (customize-create-theme, custom-theme-revert, custom-theme-write)
26536         (custom-theme-choose-mode, customize-themes, custom-theme-save):
26537         Mark unused parameters.
26539         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26541         * delim-col.el (delimit-columns-max): Move defvar before first use.
26543         * descr-text.el (describe-char-categories): Don't quote `lambda'.
26544         (describe-char): Don't quote `lambda'.  Mark unused parameter.
26546         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26547         (auto-insert): Declare.
26548         (desktop-restore-file-buffer): Rename desktop-* parameters;
26549         mark unused ones.
26550         (desktop-create-buffer): Rename desktop-* parameters and bind them.
26551         (desktop-buffer): Rename desktop-* parameters.
26553         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26554         (dframe-reposition-frame-xemacs, dframe-help-echo)
26555         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26556         Mark unused parameters.
26558         * dired-aux.el (backup-extract-version-start, overwrite-query)
26559         (overwrite-backup-query, rename-regexp-query)
26560         (rename-non-directory-query): Declare.
26561         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26562         (dired-add-entry): Remove unused variable `orig-file-name'.
26563         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26564         Use parameter PRESERVE-TIME instead of accessing dynamic variable
26565         `dired-copy-preserve-time' directly.
26566         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26567         (dired-insert-subdir-newpos): Rename unused variable `pos'.
26569         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26570         (dired-virtual-revert, dired-make-relative-symlink):
26571         Mark unused parameters.
26572         (manual-program): Declare.
26573         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26574         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26575         wrapped in `with-no-warnings' to avoid replacing one warning by another.
26577         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26579         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26581         * echistory.el (electric-history-in-progress, Helper-return-blurb):
26582         Declare.
26584         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26586         * electric.el (Electric-command-loop): Rename parameter
26587         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26589         * expand.el (expand-in-literal): Remove unused variable `here'.
26591         * facemenu.el (facemenu-add-new-color):
26592         Remove unused variable `docstring'.
26594         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26595         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26596         (face-attr-construct): Mark unused parameter.  Doc fix.
26597         (read-color): Remove unused variable `hex-string'.
26599         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26600         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26601         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26602         (display-buffer-other-frame): Remove unused variable `old-window'.
26603         (kill-buffer-hook): Declare.
26604         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26605         Mark unused parameters.
26606         (after-find-file): Pass 1 to `auto-save-mode', not t.
26608         * files-x.el (auto-insert): Declare.
26609         (modify-file-local-variable-prop-line): Remove unused variable `val'.
26611         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26612         variable `buf'.  Mark unused parameter.
26613         (find-lisp-insert-directory): Mark unused parameter.
26615         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26616         (format-encode-region): Remove unused variables `cur-buf' and `result'.
26617         (format-common-tail): Remove, unused.
26618         (format-deannotate-region): Remove unused variable `loc'.
26619         (format-annotate-region): Remove unused variable `p'.
26620         (format-annotate-single-property-change): Remove unused variables
26621         `default' and `tail'.
26623         * forms.el (read-file-filter): Declare.
26624         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26626         * frame.el (frame-creation-function-alist): Mark unused parameter.
26627         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26629         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26630         Remove unused parameters.
26631         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26632         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26634         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26635         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26636         (hfy-prepare-tag-map): Mark unused parameters.
26637         (htmlfontify-buffer): Use `called-interactively-p'.
26639         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26640         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26641         (ibuffer-do-occur): Mark unused parameters.
26642         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26643         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26645         * ibuffer.el: Don't quote `lambda'.
26646         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26647         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26648         Mark unused parameters.
26650         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26651         (ido-completing-read): Mark unused parameters.
26652         (ido-copy-current-word): Mark unused parameters;
26653         remove unused variable `name'.
26654         (ido-sort-merged-list): Remove unused parameter `dirs'.
26656         * ielm.el (ielm-input-sender): Mark unused parameter.
26657         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26658         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26659         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26660         `ielm-string' as a dynamic variable accessible from the IELM prompt.
26661         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
26663         * image-dired.el (image-dired-display-thumbs): Remove unused
26664         variables `curr-file' and `count'.
26665         (image-dired-remove-tag): Remove unused variable `start'.
26666         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26667         variable `curr-file'
26668         (image-dired-rotate-original): Remove unused variable `temp-file'.
26669         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26670         Remove unused variable `file'.
26671         (image-dired-gallery-generate): Remove unused variable `curr'.
26672         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26674         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26676         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26678         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26680         * isearch.el (minibuffer-history-symbol): Declare.
26681         (isearch-edit-string): Remove unused variable `err'.
26682         (isearch-message-prefix, isearch-message-suffix):
26683         Mark unused parameters.
26685         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26687         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26689         * makesum.el (double-column): Remove unused variable `cnt'.
26691         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26692         (ido-ignore-item-temp-list): Declare.
26694         * mouse-drag.el (mouse-drag-throw): Remove unused variables
26695         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26696         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26697         (mouse-drag-drag): Remove unused variables `mouse-delta' and
26698         `mouse-col-delta'.
26700         * mouse-sel.el (mouse-extend-internal):
26701         Remove unused variable `orig-window-frame'.
26703         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26704         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26705         Move declarations before first use.
26706         (pcomplete-opt): Mark unused parameters; doc fix.
26708         * proced.el (proced-revert): Mark unused parameter.
26709         (proced-send-signal): Remove unused variable `err'.
26711         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26712         Rename parameter PREFIX-ARG to ARG.
26713         (ps-basic-plot-string, ps-basic-plot-whitespace):
26714         Mark unused parameters.
26716         * replace.el (replace-count): Define.
26717         (occur-revert-function): Mark unused parameters.
26718         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26719         (isearch-case-fold-search, isearch-string): Declare.
26720         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26721         bind `case-fold-search'.  Remove unused variables `beg' and `end',
26722         and simplify.
26723         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26724         COUNT and bind `replace-count'.
26725         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26726         to COUNT.
26728         * savehist.el (print-readably, print-string-length): Declare.
26730         * shadowfile.el (shadow-expand-cluster-in-file-name):
26731         Remove unused variable `cluster'.
26732         (shadow-copy-file): Remove unused variable `i'.
26733         (shadow-noquery, shadow-clusters, shadow-site-cluster)
26734         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26735         (shadow-define-literal-group, shadow-define-regexp-group)
26736         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26738         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26739         (shell): Use `called-interactively-p'.
26740         (shell-directory-tracker): Remove unused variable `chdir-failure'.
26742         * simple.el (compilation-context-lines, comint-file-name-quote-list)
26743         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26744         (delete-backward-char): Remove unused variable `ocol'.
26745         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26746         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26747         (event-apply-hyper-modifier, event-apply-shift-modifier)
26748         (event-apply-control-modifier, event-apply-meta-modifier):
26749         Mark unused parameters.
26750         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26751         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26753         * speedbar.el (speedbar-ignored-directory-expressions)
26754         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26755         (speedbar-find-file, speedbar-dir-follow)
26756         (speedbar-directory-buttons-follow, speedbar-tag-find)
26757         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26758         (speedbar-buffers-line-directory, speedbar-buffer-click):
26759         Mark unused parameters.
26760         (speedbar-tag-file): Remove unused variable `mode'.
26761         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26763         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26765         * talk.el (talk): Remove unused variable `display'.
26767         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26768         (tar-write-region-annotate): Mark unused parameter.
26770         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26771         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26772         Declare them, wrapped in `with-no-warnings' to avoid replacing one
26773         warning by another.
26775         * time-stamp.el (time-stamp-string-preprocess):
26776         Remove unused variable `require-padding'.
26778         * tree-widget.el (widget-glyph-enable): Declare.
26779         (tree-widget-action): Mark unused parameter.
26781         * w32-fns.el (x-get-selection): Mark unused parameter.
26782         (autoload-make-program, generated-autoload-file): Declare.
26784         * wdired.el (wdired-revert): Mark unused parameters.
26785         (wdired-xcase-word): Remove unused variable `err'.
26787         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26788         (whitespace-help-scroll): Remove unused variable `data-help'.
26790         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26791         (widget-image-insert, widget-after-change, default)
26792         (widget-default-format-handler, widget-default-notify)
26793         (widget-default-prompt-value, widget-info-link-action)
26794         (widget-url-link-action, widget-function-link-action)
26795         (widget-variable-link-action, widget-file-link-action)
26796         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26797         (widget-field-prompt-internal, widget-field-action, widget-field-match)
26798         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26799         (widget-insert-button-action, widget-delete-button-action, visibility)
26800         (widget-documentation-link-action, widget-documentation-string-action)
26801         (widget-const-prompt-value, widget-regexp-match, symbol)
26802         (widget-coding-system-prompt-value)
26803         (widget-key-sequence-value-to-external, sexp)
26804         (widget-sexp-value-to-internal, character, vector, cons)
26805         (widget-choice-prompt-value, widget-boolean-prompt-value)
26806         (widget-color--choose-action): Mark unused parameters.
26807         (widget-item-match-inline, widget-choice-match-inline)
26808         (widget-checklist-match, widget-checklist-match-inline)
26809         (widget-group-match): Rename parameter VALUES to VALS.
26810         (widget-field-value-set): Remove unused variable `size'.
26811         (widget-color-action): Remove unused variables `value' and `start'.
26813         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26814         variable `dir'.  Doc fix.
26815         (windmove-find-other-window): Don't pass it.
26817         * window.el (count-windows): Mark unused parameter.
26818         (bw-adjust-window): Remove unused variable `err'.
26820         * woman.el (woman-file-name): Remove unused variable `default'.
26821         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26822         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26823         (global-font-lock-mode): Declare.
26824         (woman-decode-region): Mark unused parameter.
26825         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26827         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26828         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26829         (x-dnd-handle-moz-url): Remove unused variable `title'.
26830         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26832         * xml.el (xml-parse-tag, xml-parse-attlist):
26833         Remove unused variable `pos'.
26835 2011-04-19  Glenn Morris  <rgm@gnu.org>
26837         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26838         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26839         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26840         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26841         * calendar/cal-html.el (cal-html-insert-minical):
26842         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26843         (calendar-mark-date-pattern):
26844         Prefix "unused" locals.
26846         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26847         optional argument `style'.
26849         * calendar/appt.el (appt-make-list):
26850         * calendar/cal-china.el (calendar-chinese-date-string):
26851         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26852         (diary-hebrew-yahrzeit):
26853         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26854         * calendar/calendar.el (calendar-generate-window):
26855         * calendar/time-date.el (time-to-days):
26856         Remove unused local variables.
26858 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
26860         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26861         glyphless-char-display table.
26862         (tabulated-list-glyphless-char-display): New var.
26864 2011-04-18  Sam Steingold  <sds@gnu.org>
26866         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26867         to acknowledgments.
26869 2011-04-17  Glenn Morris  <rgm@gnu.org>
26871         * calendar/diary-lib.el (diary-sexp-entry):
26872         * calendar/holidays.el (holiday-sexp):
26873         Set debug-on-error rather than the removed stack-trace-on-error.
26875 2011-04-16  Glenn Morris  <rgm@gnu.org>
26877         * progmodes/f90.el: Use lexical-binding.
26878         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26880 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
26882         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26883         (mail-mode): Setup mailalias completion here instead.
26884         * mail/mailalias.el: Use lexical-binding.
26885         (pattern, mailalias-done): Declare dynamic.
26886         (mail-completion-at-point-function): New function, from mail-complete.
26887         (mail-complete): Use it.
26888         (mail-completion-expand): New function.
26889         (mail-get-names): Use it.
26890         (mail-directory, mail-directory-process, mail-directory-stream):
26891         Don't use `pattern' for lexically bound arg.
26893         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26895         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26896         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26897         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26899         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26900         (byte-save-window-excursion, byte-temp-output-buffer-setup)
26901         (byte-interactive-p): Define them again, for use when inlining
26902         old code.
26904 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
26906         * loadup.el: Use `string-to-number', not `string-to-int'.
26908 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
26910         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26911         gud-gdb-complete-command.
26912         (gud-gdb-completions): New function, from gud-gdb-complete-command.
26913         (gud-gdb-completion-at-point): New function.
26914         (gud-gdb-completions): Remove.
26916 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
26918         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26919         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
26920         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26921         whether `executable-find' is bound.
26923         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26925 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
26927         * minibuffer.el (completion-in-region-mode-predicate)
26928         (completion-in-region-mode--predicate): New vars.
26929         (completion-in-region, completion-in-region--postch)
26930         (completion-in-region-mode): Use them.
26931         (completion--capf-wrapper): Also return the hook function.
26932         (completion-at-point, completion-help-at-point):
26933         Adjust and provide a predicate.
26935         Preserve arg names for advice of subr and lexical functions (bug#8457).
26936         * help-fns.el (help-function-arglist): Consolidate the subr and
26937         new-byte-code cases.  Add argument `preserve-names' to extract names
26938         from the docstring when needed.
26939         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26940         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26941         (ad-arglist): Use help-function-arglist's new arg.
26942         (ad-definition-type): Use cond.
26944 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
26946         * autorevert.el (auto-revert-handler):
26947         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26948         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26949         Don't quote lambda.
26951         * image-mode.el (image-transform-set-scale):
26952         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26954 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
26956         * net/network-stream.el (network-stream-open-starttls): Only do
26957         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26958         Upgrades via gnutls-cli are too slow to be done opportunistically.
26960 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
26962         * dframe.el (dframe-current-frame): Remove spurious quote.
26964 2011-04-12  Glenn Morris  <rgm@gnu.org>
26966         * calendar/cal-tex.el (cal-tex-end-document):
26967         Try to automatically use latin1 input if needed.
26969         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26970         Don't try to cons a mark onto an empty element.
26972 2011-04-11  Leo Liu  <sdl.web@gmail.com>
26974         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26975         buffers.
26976         (ido-kill-buffer-at-head): Support killing virtual buffers.
26978 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
26980         * minibuffer.el (completion-show-inline-help): New var.
26981         (completion--do-completion, minibuffer-complete)
26982         (minibuffer-force-complete, minibuffer-complete-word):
26983         Inhibit minibuffer messages if completion-show-inline-help is nil.
26985         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26986         to avoid interference from inline help (Bug#5849).
26988 2011-04-10  Leo Liu  <sdl.web@gmail.com>
26990         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26991         Fix typo.
26993 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
26995         * image-mode.el (image-toggle-display-image): Signal an error if
26996         not in Image mode.
26997         (image-transform-mode, image-transform-resize)
26998         (image-transform-set-rotation): Doc fix.
26999         (image-transform-set-resize): Delete.
27000         (image-transform-set-scale, image-transform-fit-to-height)
27001         (image-transform-fit-to-width): Handle image-toggle-display-image
27002         and image-transform-resize directly.
27004 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
27006         * doc-view.el (doc-view-fit-width-to-window)
27007         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
27008         New functions for fitting the shown image to the Emacs window size.
27009         (doc-view-mode-map): Add bindings for the new functions.
27011 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
27013         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
27014         Fix typo in docstring.
27016 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
27018         * files.el (file-size-human-readable): Produce one digit after
27019         decimal, like "ls -lh" does.
27021         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
27022         the file size representation.
27024         * simple.el (list-processes): If async subprocesses are not
27025         available, error out with a clear error message.
27027 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
27029         * help.el (help-form-show): New function, to be called from C.
27030         Put help-form output in a buffer named differently than *Help*.
27032 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
27034         * files.el (file-size-human-readable): New function.
27036         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
27037         computing the representation inline.  Don't require `cl'.
27039 2011-04-08  Glenn Morris  <rgm@gnu.org>
27041         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27043         * net/browse-url.el (browse-url-firefox):
27044         Test system-type, not system-configuration.
27046         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
27047         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
27048         Use log-edit-empty-buffer-p.  (Bug#7598)
27050         * net/rlogin.el (rlogin-process-connection-type): Simplify.
27051         (rlogin-mode-map): Initialize in the defvar.
27052         (rlogin): Use ignore-errors.
27054         * replace.el (occur-mode-map): Some fixes for menu items.
27056 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
27058         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
27060 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
27062         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
27063         issuing unused warnings.
27065         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
27066         macro directly.
27068         * simple.el: Lisp reimplement of list-processes.  Based on an
27069         earlier reimplementation by Leo Liu, but using tabulated-list.el.
27070         (process-menu-mode): New major mode.
27071         (list-processes--refresh, list-processes):
27072         (process-menu-visit-buffer): New functions.
27074         * files.el (save-buffers-kill-emacs): Don't assume any return
27075         value of list-processes, which is undocumented anyway.
27077 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
27079         * emacs-lisp/tabulated-list.el: New file.
27081         * emacs-lisp/package.el: Use Tabulated List mode.
27082         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
27083         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
27084         table format using Tabulated List mode variables.
27085         (package--push): New macro, replacing package-list-maybe-add.
27086         (package-menu--generate): Use package--push.  Renamed from
27087         package--generate-package-list.
27088         (package-menu-refresh, list-packages): Use it.
27089         (package-menu--print-info): Rename from package-print-package.
27090         Return insertion data instead of inserting it directly.
27091         (package-menu-describe-package, package-menu-execute):
27092         Use tabulated-list-get-id.
27093         (package-menu-mark-delete, package-menu-mark-install)
27094         (package-menu-mark-unmark, package-menu-backup-unmark)
27095         (package-menu-mark-obsolete-for-deletion):
27096         Use tabulated-list-put-tag.
27097         (package--list-packages, package-menu-revert)
27098         (package-menu-get-package, package-menu-get-version)
27099         (package-menu-sort-by-column): Functions deleted.
27100         (package-menu-package-list, package-menu-sort-key): Vars deleted.
27101         (package-menu--status-predicate, package-menu--version-predicate)
27102         (package-menu--name-predicate)
27103         (package-menu--description-predicate): Handle arguments in the
27104         Tabulated List format.
27105         (package-list-packages-no-fetch): Call list-packages.
27107 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
27109         * files.el (after-find-file-from-revert-buffer): Remove variable.
27110         (after-find-file): Don't bind it.
27111         (revert-buffer-in-progress-p): New variable.
27112         (revert-buffer): Bind it.
27113         Pass nil for `after-find-file-from-revert-buffer'.
27115         * saveplace.el (save-place-find-file-hook): Use new variable
27116         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
27118 2011-04-06  Glenn Morris  <rgm@gnu.org>
27120         * Makefile.in (AUTOGEN_VCS): New variable.
27121         (autoloads): Use $AUTOGEN_VCS.
27123         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
27124         * calendar/calendar.el (calendar-mode-map):
27125         Check for toolkit scroll bars.  (Bug#8305)
27127 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
27129         * minibuffer.el (completion-in-region--postch)
27130         (completion-in-region-mode): Remove unnecessary messages.
27132 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
27134         * font-lock.el (font-lock-refresh-defaults):
27135         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
27136         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
27138         * info.el (Info-directory-list, Info-read-node-name-2)
27139         (Info-split-parameter-string): Doc fixes.
27140         (Info-virtual-nodes): Reflow docstring.
27141         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
27142         (Info-apropos-toc-nodes, info-finder, Info-get-token)
27143         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
27144         Fix typos in docstrings.
27145         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
27146         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
27147         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
27148         (Info-restore-desktop-buffer): Mark unused parameters.
27149         (Info-directory-find-file, Info-directory-find-node)
27150         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
27151         (Info-virtual-index-find-node, Info-apropos-find-file)
27152         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
27153         Mark unused parameters; fix typos in docstrings.
27154         (Info-virtual-index): Remove unused local variable `nodename'.
27156 2011-04-05  Deniz Dogan  <deniz@dogan.se>
27158         * net/rcirc.el: Update my e-mail address.
27159         (rcirc-mode-map): Remove M-o binding.
27161 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
27163         * startup.el (command-line): Save the cursor's theme-face
27164         directly, instead of using face-override-spec.
27166         * custom.el (load-theme): Minor optimization in assigning faces.
27168 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
27170         * help-fns.el (describe-variable): Complete all variables having
27171         documentation, including keywords.
27172         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
27174 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
27176         Convert to lexical-binding.
27178         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
27179         (bs--get-marked-string, bs--get-modified-string)
27180         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
27181         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27182         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
27184         * ehelp.el (electric-help-execute-extended)
27185         (electric-help-ctrl-x-prefix):
27186         * hexl.el (hexl-revert-buffer-function):
27187         * linum.el (linum-after-change, linum-after-scroll):
27188         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
27190         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
27192 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
27194         * epa-dired.el:
27195         * epa-mail.el:
27196         * epa-hook.el:
27197         * epa-file.el:
27198         * epa.el:
27199         * epg.el: Use lexical binding.
27201 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
27203         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
27205         * textmodes/flyspell.el (flyspell-word): Recognize default
27206         dictionary case for flyspell-mark-duplications-exceptions.
27207         Use regexp matching for languages.
27208         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
27209         default dictionary (Bug#7926).
27211 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
27213         * emacs-lisp/package.el (package--with-work-buffer):
27214         Recognize https URLs.
27216         * net/network-stream.el: Move from gnus/proto-stream.el.
27217         Change prefix to network-stream throughout.
27218         (open-protocol-stream): Merge into open-network-stream, leaving
27219         open-protocol-stream as an alias.  Handle nil BUFFER args.
27221         * subr.el (open-network-stream): Move to net/network-stream.el.
27223 2011-04-02  Glenn Morris  <rgm@gnu.org>
27225         * find-dired.el (find-exec-terminator): New option.
27226         (find-ls-option): Test for -ls support.
27227         (find-ls-subdir-switches): Test for -b in find-ls-option.
27228         (find-dired, find-grep-dired): Doc fixes.
27229         (find-dired): Use find-exec-terminator.
27231         * find-dired.el (find-ls-option, find-ls-subdir-switches)
27232         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
27233         (find-name-arg): Remove purecopy.
27235         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
27236         (grep-compute-defaults): Check for `-exec COMMAND +' support.
27237         Set grep-find-use-xargs, grep-find-command, and grep-find-template
27238         accordingly.  Don't add the null-device if not needed.
27240         * files.el (save-some-buffers): Doc fix.
27242 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
27244         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
27246 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
27248         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
27249         Use `dolist' rather than `mapcar'.
27251 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
27253         Add lexical binding.
27255         * subr.el (apply-partially): Use new closures rather than CL.
27256         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
27257         (dolist, dotimes): Use slightly different expansion for lexical code.
27258         (functionp): Move to C.
27259         (letrec): New macro.
27260         (with-wrapper-hook): Use it and apply-partially instead of CL.
27261         (eval-after-load): Preserve lexical-binding.
27262         (save-window-excursion, with-output-to-temp-buffer): Turn them
27263         into macros.
27265         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
27267         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
27268         than the arglist.
27269         (help-add-fundoc-usage): Don't add `Not documented'.
27270         (help-function-arglist): Handle closures, subroutines, and new
27271         byte-code-functions.
27272         (help-make-usage): Remove leading underscores.
27273         (describe-function-1): Handle closures.
27274         (describe-variable): Use special-variable-p for completion.
27276         * files.el (lexical-binding): Declare safe.
27278         * emacs-lisp/pcase.el: Don't use destructuring-bind.
27279         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
27280         (pcase): Add `let' pattern.
27281         Change memoization so it actually works.
27282         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
27283         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
27284         <let>: New case.
27286         * emacs-lisp/macroexp.el: Use lexical binding.
27287         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
27288         Don't convert ' to #' without checking that it's indeed quoting
27289         a lambda.
27291         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
27292         Use eval-sexp-add-defvars.
27293         (eval-sexp-add-defvars): New fun.
27295         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
27297         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
27298         Don't autoload.
27299         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
27300         than the internal `byte-compile-lambda'.
27301         (defmethod): Don't hide code under quotes.
27302         (eieio-defmethod): New `code' argument.
27304         * emacs-lisp/eieio-comp.el: Remove.
27306         * emacs-lisp/edebug.el (edebug-eval-defun)
27307         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
27308         (edebug-toggle): Avoid `eval'.
27310         * emacs-lisp/disass.el (disassemble-internal): Handle new
27311         `closure' objects.
27312         (disassemble-1): Handle new byte codes.
27314         * emacs-lisp/cl.el (pushnew): Silence warning.
27316         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
27317         (cl-byte-compile-throw): Remove.
27318         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
27320         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
27321         closures.
27323         * emacs-lisp/cconv.el: New file.
27325         * emacs-lisp/bytecomp.el: Use lexical binding instead of
27326         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
27327         (byte-compile-initial-macro-environment):
27328         Handle declare-function here.
27329         (byte-compile--lexical-environment): New var.
27330         (byte-stack-ref, byte-stack-set, byte-discardN)
27331         (byte-discardN-preserve-tos): New lap codes.
27332         (byte-interactive-p): Don't use any more.
27333         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
27334         New macros.
27335         (byte-compile-lapcode): Use them and handle new lap codes.
27336         (byte-compile-obsolete): Remove.
27337         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
27338         (byte-compile-arglist-warn): Check late def of inlinable funs.
27339         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
27340         since they should have been expanded by now.
27341         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
27342         (byte-compile-from-buffer): Remove unused second arg.
27343         (byte-compile-preprocess): New function.
27344         (byte-compile-toplevel-file-form): New function to distinguish
27345         file-form calls from outside from file-form calls from hunk-handlers.
27346         (byte-compile-file-form): Simplify.
27347         (byte-compile-file-form-defsubst): Remove.
27348         (byte-compile-file-form-defmumble): Simplify now that
27349         byte-compile-lambda always returns a byte-code-function.
27350         (byte-compile): Preprocess.
27351         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
27352         Remove, not used any more.
27353         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
27354         (byte-compile-make-args-desc): New funs.
27355         (byte-compile-lambda): Handle lexical functions.  Always return
27356         a byte-code-function.
27357         (byte-compile-reserved-constants): New var, to make up room for
27358         closed-over variables.
27359         (byte-compile-constants-vector): Obey it.
27360         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
27361         (byte-compile-macroexpand-declare-function): New function.
27362         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
27363         byte-code-functions.
27364         (byte-compile-form): Check obsolescence here.
27365         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
27366         (byte-compile-variable-ref): Remove.
27367         (byte-compile-dynamic-variable-op): New fun.
27368         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
27369         (byte-compile-variable-set): New funs.
27370         (byte-compile-discard): Add 2 args.
27371         (byte-compile-stack-ref, byte-compile-stack-set)
27372         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
27373         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
27374         macroexpand-all instead.
27375         (byte-compile-quote-form): Remove.
27376         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
27377         (byte-compile-bind, byte-compile-unbind): New funs.
27378         (byte-compile-let): Handle let* and lexical binding.
27379         (byte-compile-let*): Remove.
27380         (byte-compile-catch, byte-compile-unwind-protect)
27381         (byte-compile-track-mouse, byte-compile-condition-case):
27382         Handle a new :fun-body form, used for lexical scoping.
27383         (byte-compile-save-window-excursion)
27384         (byte-compile-with-output-to-temp-buffer): Remove.
27385         (byte-compile-defun): Simplify.
27386         (byte-compile-stack-adjustment): New fun.
27387         (byte-compile-out): Use it.
27388         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
27390         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
27391         handler any more.
27393         * emacs-lisp/byte-opt.el: Use lexical binding.
27394         (byte-inline-lapcode): Remove (to bytecomp).
27395         (byte-compile-inline-expand): Pay attention to inlining to/from
27396         lexically bound code.
27397         (byte-compile-unfold-lambda): Don't handle byte-code-functions
27398         any more.
27399         (byte-optimize-form-code-walker): Don't handle save-window-excursion
27400         any more and don't call compiler-macros.
27401         (byte-compile-splice-in-already-compiled-code): Remove.
27402         (byte-code): Don't inline any more.
27403         (disassemble-offset): Receive `bytes' as argument rather than via
27404         dynamic scoping.
27405         (byte-compile-tag-number): Declare before first use.
27406         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
27407         `return' even if make-spliceable.
27408         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
27409         obsolete interactive-p.
27410         (byte-optimize-lapcode): Optimize new lap-codes.
27411         Don't trip up on new form of `byte-constant' lap code.
27413         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
27415         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
27417         * custom.el (custom-initialize-default, custom-declare-variable):
27418         Use `defvar'.
27420         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
27421         New variables.
27422         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
27423         (COMPILE_FIRST): Add macroexp and cconv.
27424         * makefile.w32-in: Mirror changes in Makefile.in.
27426         * vc/cvs-status.el:
27427         * vc/diff-mode.el:
27428         * vc/log-edit.el:
27429         * vc/log-view.el:
27430         * vc/smerge-mode.el:
27431         * textmodes/bibtex-style.el:
27432         * textmodes/css-mode.el:
27433         * startup.el:
27434         * uniquify.el:
27435         * minibuffer.el:
27436         * newcomment.el:
27437         * reveal.el:
27438         * server.el:
27439         * mpc.el:
27440         * emacs-lisp/smie.el:
27441         * doc-view.el:
27442         * dired.el:
27443         * abbrev.el: Use lexical binding.
27445 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
27447         * info.el (info-display-manual): New function.
27449 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
27451         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27453 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
27455         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27456         an entry for that server in rcirc-authinfo.  (Bug#8385)
27458 2011-03-31  Glenn Morris  <rgm@gnu.org>
27460         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27462         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27464 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
27466         * progmodes/python.el (python-default-interpreter)
27467         (python-python-command-args, python-jython-command-args)
27468         (python-which-shell, python-which-args, python-which-bufname)
27469         (python-file-queue, python-comint-output-filter-function)
27470         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27471         variables and functions.
27473 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
27475         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27476         (completion-in-region-mode): New minor mode.
27477         (completion-in-region): Use it.
27478         (completion-in-region--data, completion-in-region-mode-map): New vars.
27479         (completion-in-region--postch): New function.
27480         (completion--capf-misbehave-funs, completion--capf-safe-funs):
27481         New vars.
27482         (completion--capf-wrapper): New function.
27483         (completion-at-point): Use it to track well-behavedness of
27484         hook functions.
27485         (completion-help-at-point): New command.
27487 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
27489         * vc/add-log.el (add-change-log-entry): Don't use whitespace
27490         syntax class to search for whitespace on a single line
27491         (Message-ID: <4D938140.4030905@redhat.com>).
27493 2011-03-30  Leo Liu  <sdl.web@gmail.com>
27495         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27496         New commands.
27497         (edit-abbrevs-map): Bind them here.
27498         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
27500 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
27502         * allout.el (allout-hide-by-annotation, allout-flag-region):
27503         Reduce possibility of overlay leakage by making them volatile.
27505         * allout-widgets.el (allout-widgets-tally): Define as nil so the
27506         hash is not shared between buffers.  Mode initialization is
27507         responsible for giving it a useful starting value.
27508         (allout-item-span): Reduce possibility of overlay leakage by
27509         making them volatile.
27510         (allout-widgets-count-buttons-in-region): Add diagnostic function
27511         for tracking down button overlay leaks.
27513 2011-03-29  Leo Liu  <sdl.web@gmail.com>
27515         * ido.el (ido-read-internal): Use the default history var
27516         minibuffer-history if no HISTORY is specified.
27518 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
27520         * net/imap.el (imap-shell-open, imap-process-connection-type):
27521         Use imap-process-connection-type for 'shell' streams as well as
27522         Kerberos, SSL, other subprocesses.
27524 2011-03-28  Leo Liu  <sdl.web@gmail.com>
27526         * abbrev.el (abbrev-table-empty-p): New function.
27527         (prepare-abbrev-list-buffer): Place empty abbrev tables after
27528         nonempty ones.  (Bug#5937)
27530 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
27532         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27534 2011-03-27  Leo Liu  <sdl.web@gmail.com>
27536         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27537         for foreground and background colors.
27538         (ansi-color-make-color-map): Adapt.
27540 2011-03-25  Leo Liu  <sdl.web@gmail.com>
27542         * midnight.el (midnight-time-float): Remove.  Note it calculates
27543         the microsecond component incorrectly and seconds-to-time does the
27544         same job.
27545         Remove redundant (require 'timer).
27547         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27548         (ido-completions): Remove unused arguments.  (Bug#8329)
27550 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
27552         * minibuffer.el (completion--flush-all-sorted-completions):
27553         Remove itself from hook.
27554         (completion-at-point): Let the functions perform the completion
27555         immediately and return nil or t.
27556         * comint.el (comint-dynamic-complete-functions): Now identical to
27557         completion-at-point-functions.
27558         (comint-dynamic-list-input-ring): Remove unused var `index'.
27559         (comint--match-partial-filename, comint--unquote&expand-filename):
27560         New funs, split from comint-match-partial-filename.
27561         (comint-dynamic-complete): Use completion-at-point.
27562         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27564 2011-03-24  Drew Adams  <drew.adams@oracle.com>
27566         * thingatpt.el: Support `defun'.
27568 2011-03-23  Leo Liu  <sdl.web@gmail.com>
27570         * abbrevlist.el: Move to obsolete/abbrevlist.el.
27572         * help-mode.el (help-mode-finish): Tweak regexp.
27574 2011-03-23  Glenn Morris  <rgm@gnu.org>
27576         * eshell/esh-opt.el (eshell-eval-using-options):
27577         Do not bind unused local variable `eshell-option-stub'.
27579         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27581 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
27583         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27584         keymap variable in `with-no-warnings' to avoid a warning when the
27585         keymap has been already `defconst'ed.
27587 2011-03-22  Leo Liu  <sdl.web@gmail.com>
27589         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27590         encode all chars in abbrevs; otherwise use emacs-mule or
27591         utf-8-emacs.  (Bug#8308)
27593 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
27595         * simple.el (backward-delete-char-untabify):
27596         Avoid warning about using `delete-backward-char'.
27598         * image.el (image-type-file-name-regexps): Make it variable.
27599         `imagemagick-register-types' modifies it, and the user may want
27600         to add new extensions for known image types.
27601         (imagemagick-register-types): Throw error if not using ImageMagick.
27603 2011-03-22  Leo Liu  <sdl.web@gmail.com>
27605         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27606         located before rcirc-prompt-end-marker.
27607         (rcirc-complete): Error if point is not after rcirc prompt.
27608         Handle the case when table is nil.
27609         (rcirc-user-authenticated): Define to fix compiler warning.
27611 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
27613         * custom.el (custom--inhibit-theme-enable): Make it affect only
27614         custom-theme-set-variables and custom-theme-set-faces.
27615         (provide-theme): Ignore custom--inhibit-theme-enable.
27616         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27617         (custom-enabling-themes): Delete variable.
27618         (enable-theme): Accept only loaded themes as arguments.
27619         Ignore the special custom-enabled-themes variable.
27620         (custom-enabled-themes): Forbid themes from setting this.
27621         Eliminate use of custom-enabling-themes.
27622         (custom-push-theme): Quote "changed" custom var entry.
27624 2011-03-21  Leo Liu  <sdl.web@gmail.com>
27626         * ido.el (ido-read-internal): Add ido-selected to history instead
27627         of user input.
27629 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
27631         * subr.el (deferred-action-list, deferred-action-function):
27632         Mark obsolete.
27634 2011-03-21  Leo Liu  <sdl.web@gmail.com>
27636         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27637         change on 2011-02-13 (bug#8309).
27639         * minibuffer.el (read-file-name-function): Change default value.
27640         (read-file-name--defaults): Rename from read-file-name-defaults.
27641         (read-file-name-default): Rename from read-file-name.
27642         (read-file-name): Call read-file-name-function.
27644 2011-03-21  Glenn Morris  <rgm@gnu.org>
27646         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27647         Doc fixes.
27649 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
27651         * cus-theme.el: Add missing provide statement.
27652         (customize-create-theme): Extract theme value correctly.
27653         (custom-theme-visit-theme): Autoload.
27654         (customize-create-theme): Prompt before inserting default faces.
27656 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
27658         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27659         units and musical notes.
27661 2011-03-20  Leo Liu  <sdl.web@gmail.com>
27663         * ido.el (ido-read-internal): Use completing-read-default.
27664         (ido-completing-read): Fix compatibility with completing-read.
27666 2011-03-20  Christian Ohler  <ohler@gnu.org>
27668         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27669         (ert-delete-all-tests): Use `called-interactively-p' rather than
27670         `interactive-p'.
27671         (ert--make-xrefs-region): Respect END.
27673 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
27675         * dired-aux.el (dired-create-directory): Signal an error if the
27676         directory already exists (Bug#8246).
27678         * facemenu.el (list-colors-display): Call list-faces-display
27679         inside with-help-window.
27680         (list-colors-print): Use display property to align the final
27681         column, instead of checking window-width.
27683 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
27685         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27686         windows-nt systems.
27687         (emerge-protect-metachars): Quote correctly for ms-dos and
27688         windows-nt systems.
27690 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
27692         * info.el (info-initialize): Replace all uses of `:' with
27693         path-separator for compatibility with non-Unix systems.
27694         Cache quoting of path-separator.  (Bug#8258)
27696 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
27698         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27699         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27700         (mouse-avoidance-mode): Fix typos in docstrings.
27702 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
27704         * startup.el (package-subdirectory-regexp): Move from package.el.
27705         Omit \\` and \\', and let callers add them.
27707         * emacs-lisp/package.el (package-strip-version)
27708         (package-load-all-descriptors): Add \\` and \\' to
27709         package-subdirectory-regexp before using it.
27710         (package-untar-buffer): New arg DIR; ensure that file untars only
27711         into this expected directory.  Remove superfluous delete-region.
27712         (package-unpack): Caller changed.
27713         (package-tar-file-info): Use package-subdirectory-regexp.
27715 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
27717         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27718         diff-mode-shared-map (bug#8284).
27719         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27721 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
27723         * calendar/time-date.el (format-seconds): Use assoc instead of
27724         assoc-string, since assoc-string doesn't exist in XEmacs.
27726 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
27728         * custom.el (custom-known-themes): Reflow docstring.
27729         (custom-theme-load-path): Fix typo in docstring.
27730         (load-theme): Fix typo in error message.
27731         (custom-available-themes, custom-variable-theme-value):
27732         Use `let', not `let*'.
27734 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
27736         * calc/README: Mention inclusion of musical notes.
27738         * calc/calc-units.el (calc-lu-quant): Rename from
27739         `calc-logunits-quantity'.
27740         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27741         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27742         (calc-db): Rename from `calc-dblevel'.
27743         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27744         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27745         (calc-np): Rename from `calc-nplevel'.
27746         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27747         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27748         (calc-lu-plus): Rename from `calc-logunits-add'.
27749         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27750         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27751         (calc-lu-minus): Rename from `calc-logunits-sub'.
27752         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27753         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27754         (calc-lu-times): Rename from `calc-logunits-mul'.
27755         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27756         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27757         (calc-lu-divide): Rename from `calc-logunits-div'.
27758         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27759         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27761         * calc/calc-ext.el (calc-init-extensions): Update the names of the
27762         functions being autoloaded.
27764         * calc/calc.el (calc-lu-power-reference): Rename from
27765         `calc-logunits-power-reference'.
27766         (calc-lu-field-reference): Rename from
27767         `calc-logunits-field-reference'.
27769         * calc/calc-help.el (calc-l-prefix-help):
27770         Mention musical note functions.
27772 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
27774         * minibuffer.el (completion-all-sorted-completions):
27775         Use :completion-cycle-penalty text property if present.
27777 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
27779         * allout.el (allout-yank-processing): Adjust for new rebulleting
27780         regime so bullet being yanked is used without prompting the user
27781         for a choice.
27783 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
27785         * startup.el (command-line): Warn the user that _emacs is deprecated.
27787 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
27789         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27790         (delphi-verbose, delphi-comment-face, delphi-string-face)
27791         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27792         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27793         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27794         (delphi-new-comment-line, delphi-font-lock-defaults)
27795         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27796         Fix typos in docstrings.
27798 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
27800         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27801         Invert the roles of character and string values for INSTEAD, so a
27802         string is used for the more common case of a defaulting prompt.
27804 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
27806         * progmodes/ruby-mode.el (ruby-backward-sexp):
27807         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27808         * play/gamegrid.el (gamegrid-make-face):
27809         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27810         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27811         * notifications.el (notifications-notify):
27812         * net/xesam.el (xesam-search-engines):
27813         * net/quickurl.el (quickurl-list-insert):
27814         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27816 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
27818         * startup.el (command-line): Update package subdirectory regexp.
27820 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
27822         * allout.el (allout-abbreviate-flattened-numbering)
27823         (allout-mode-deactivate-hook): Fix up obsolescence "date".
27825         * subr.el (read-char-choice): Only show the cursor after the prompt,
27826         not after the answer.
27828 2011-03-15  Kevin Ryde  <user42@zip.com.au>
27830         * help-fns.el (variable-at-point): Skip leading quotes, if any
27831         (bug#8253).
27833 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
27835         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27836         warning message.
27838 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
27840         * shell.el (shell): When called interactively, offer to change the
27841         shell file name on remote hosts.
27843 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
27845         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27846         integration for LDAP parameters.  The host, base, user or binddn,
27847         and secret tokens can be specified in a netrc file, for instance.
27848         This is optional because an `auth-source' parameter must be
27849         specified in the search attributes.
27851 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
27853         * help.el (describe-mode): Link to the mode's definition (bug#8185).
27855 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
27857         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27858         into declaration.  Remove redundant and harmful binding.
27860 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
27862         * files.el (file-ownership-preserved-p): Pass `integer' as an
27863         explicit 2nd argument to `file-attributes'.  If the file's owner
27864         is the Administrators group on Windows, and the current user is
27865         Administrator, consider that a match.
27867         * server.el (server-ensure-safe-dir): Consider server directory
27868         safe on MS-Windows if its owner is the Administrators group while
27869         the current Emacs user is Administrator.  Use `=' to compare
27870         numerical UIDs, since they could be integers or floats.
27872 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
27874         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27876 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
27878         Sync with Tramp 2.2.1.
27880         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27882         * net/trampver.el: Update release number.
27884 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
27886         * progmodes/compile.el (compilation--previous-directory): Fix up
27887         various nil/dead-marker mismatches (bug#8014).
27888         (compilation-directory-properties, compilation-error-properties):
27889         Don't call it at a position past the one we're about to change.
27891         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27892         Disable obsolescence warnings in the file that declares it.
27894 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
27896         * allout-widgets.el (allout-widgets-tally):
27897         Initialize allout-widgets-tally as a hash table rather than nil to
27898         prevent mode-line redisplay warnings.  Also, clarify the module
27899         description and fix a comment typo.
27901 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
27903         * help-fns.el (describe-variable): Don't complete keywords.
27904         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27906 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
27908         * emacs-lisp/package.el (package-version-join): Impose a standard
27909         string representation for pre/alpha/beta version lists.
27910         (package-unpack-single): Standardize the directory name by passing
27911         it through package-version-join.
27912         (package-strip-rcs-id): Accept any version string that does not
27913         signal an error in version-to-list.
27915 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
27917         * simple.el (delete-trailing-whitespace): Return nil for the
27918         benefit of `write-file-functions'.
27920 2011-03-10  Glenn Morris  <rgm@gnu.org>
27922         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27924         * vc/vc-git.el (vc-git-program): New option.
27925         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27926         (vc-git--call): Use it.
27928         * eshell/esh-util.el (eshell-condition-case): Doc fix.
27930         * cus-edit.el (Custom-newline): If no button at point, look
27931         for a subgroup button at start-of-line.  (Bug#2298)
27933         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27935 2011-03-10  Julien Danjou  <julien@danjou.info>
27937         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27938         `cursor-type' is nil.
27940 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
27942         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27944 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
27946         * allout.el: Change so yank of distinctive-bullet items
27947         preserves the existing header prefix, rebulleting it if necessary,
27948         rather than replacing it.  This is necessary for proper operation
27949         of cooperative addons like allout-widgets.
27950         (allout-make-topic-prefix, allout-rebullet-heading):
27951         Change SOLICIT arg to INSTEAD, and interpret additionally a string
27952         value as alternate bullet to be used, instead of prompting the user
27953         for a bullet character.
27955 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
27957         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27958         Do not use `tramp-file-name-port', because this returns also
27959         `tramp-default-port'.
27961 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
27963         * net/rcirc.el (rcirc-handler-001): Remove useless
27964         with-rcirc-process-buffer.
27965         (rcirc-check-auth-status): Swap arguments to string-match.
27967 2011-03-09  Glenn Morris  <rgm@gnu.org>
27969         * shell.el (shell-mode):
27970         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
27972         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27973         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
27975 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
27977         * emacs-lisp/package.el (package-refresh-contents)
27978         (package-menu-execute): Use condition-case-no-debug.
27980 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
27982         * simple.el (shell-command-to-string): Use `process-file'.
27984         * emacs-lisp/package.el (package-tar-file-info): Handle also
27985         remote files.
27987         * emacs-lisp/package-x.el (package-upload-buffer-internal):
27988         Use `equal' for upload base check.
27990 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
27992         * textmodes/texinfo.el (texinfo-environments):
27993         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
27995 2011-03-08  Glenn Morris  <rgm@gnu.org>
27997         * cus-start.el (cursor-in-non-selected-windows):
27998         Fix :set quoting oddness.  (Bug#8192)
28000         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
28001         in some setf expressions.  (Bug#2159)
28003 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
28005         * custom.el (custom-available-themes): Return themes in
28006         alphabetical order.
28008 See ChangeLog.15 for earlier changes.
28010 ;; Local Variables:
28011 ;; coding: utf-8
28012 ;; End:
28014   Copyright (C) 2011-2013 Free Software Foundation, Inc.
28016   This file is part of GNU Emacs.
28018   GNU Emacs is free software: you can redistribute it and/or modify
28019   it under the terms of the GNU General Public License as published by
28020   the Free Software Foundation, either version 3 of the License, or
28021   (at your option) any later version.
28023   GNU Emacs is distributed in the hope that it will be useful,
28024   but WITHOUT ANY WARRANTY; without even the implied warranty of
28025   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28026   GNU General Public License for more details.
28028   You should have received a copy of the GNU General Public License
28029   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.