lisp/image-dired.el (image-dired-cmd-read-exif-data-options): Fix typo.
[emacs.git] / lisp / ChangeLog
blob6787f216c1836c22946ef605f8cc5fdbca57e074
1 2011-03-04  Drew Adams  <drew.adams@oracle.com>
3         * image-dired.el (image-dired-cmd-read-exif-data-options):
4         Fix typo in docstring (bug#8156).
6 2011-03-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8         * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
10 2011-03-03  Christian Ohler  <ohler@gnu.org>
12         * emacs-lisp/ert.el (ert--explain-equal): New function.
13         (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
14         All callers changed.
15         (ert--explain-equal-including-properties): Renamed from
16         `ert--explain-not-equal-including-properties'.  All callers
17         changed.
19 2011-03-03  Christian Ohler  <ohler@gnu.org>
21         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
22         (ert-char-for-test-result, ert-string-for-test-result)
23         (ert-run-tests-batch, ert--print-test-for-ewoc):
24         Handle `ert-test-quit'.
26 2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
28         * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
29         Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
31 2011-03-03  Glenn Morris  <rgm@gnu.org>
33         * files.el (file-truename): Doc fix.  (Bug#2341)
35 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
37         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e. (Bug#7349)
39 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
41         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
42         programs output backslashes.  (Bug#7663)
44 2011-03-03  Glenn Morris  <rgm@gnu.org>
46         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
47         (mail-mode): Remove mail-sent-via from the doc.
48         (mail-sent-via): Make it obsolete.  (Bug#1776)
50         * progmodes/grep.el (grep-highlight-matches): Doc fix.
51         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
53         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
54         with no parents.  (Bug#8025)
56 2011-03-02  Teodor Zlatanov  <tzz@lifelogs.com>
58         * password-cache.el (password-in-cache-p): Add autoload.
60 2011-03-02  Glenn Morris  <rgm@gnu.org>
62         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
63         * dired-x.el (Man-support-local-filenames): Autoload it.
64         (dired-guess-shell-alist-default): Also handle Red Hat's man.
66         * dired-x.el (dired-default-directory-alist, dired-default-directory):
67         Mark as obsolete.
68         (dired-smart-shell-command): Just call dired-current-directory.
70         * dired-x.el (dired-jump-other-window): Add autoload.
71         (dired-default-directory-alist, dired-default-directory): Doc fixes.
72         (dired-default-directory-alist): Mark as risky.
74         * dired-x.el (dired-omit-here-always): Make it obsolete.
76 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
78         * textmodes/artist.el (artist-curr-go): Default to pen-line.
79         (artist-select-op-pen-line): New function.
80         (artist-menu-map): New variable.
81         (artist-mode-map): Add a menu to the menu-bar.
83 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
85         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
86         when evaluating.
88         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
89         New function.
90         (math-logunits-add, math-logunits-mul, math-logunits-divide):
91         (math-logunits-quant, math-logunits-level):
92         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
93         functions.
94         (math-logunits-level): Extract units from ratio.
96 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
98         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
100 2011-03-01  Glenn Morris  <rgm@gnu.org>
102         * calendar/cal-hebrew.el (calendar-hebrew-birthday, diary-hebrew-date):
103         Rename and rework functions added in previous change.
105 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
107         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
108         (diary-hebrew-birthday): New functions.
110 2011-03-01  Glenn Morris  <rgm@gnu.org>
112         * dired.el (dired-safe-switches-p): Beef it up.
113         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
115 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
117         * dired.el (dired-safe-switches-p): New function.
119 2011-03-01  Glenn Morris  <rgm@gnu.org>
121         * files.el (dir-locals-collect-variables):
122         Add the ability to exclude subdirectories.  (Bug#8100)
124         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
126 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
128         * ido.el (ido-everywhere): Doc fix.
129         (ido-mode): Doc fix.
131 2011-02-28  Glenn Morris  <rgm@gnu.org>
133         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
135 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
137         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
138         shadows.
140 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
142         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
144 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
146         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
147         Fix typos in docstrings.
149 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
151         * dired-aux.el (dired-update-file-line):
152         Fix 2010-11-09 change.  (Bug#8131)
154 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
156         * international/mule-cmds.el (set-default-coding-systems): Use the
157         -unix variant of encoding in default-keyboard-coding-system.
158         (Bug#8122)
160 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
162         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
164 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
166         * term/screen.el: New file (Bug#2650).
168 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
170         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
171         (pcase-mutually-exclusive-predicates): New var.
172         (pcase--split-consp, pcase--split-pred): Use it.
173         (pcase--split-equal, pcase--split-member): When splitting against
174         a pure predicate, run it to know the outcome.
175         (pcase--u1): Mark vars that are actually used.
176         (pcase--q1): Avoid introducing unused vars.
178 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
180         * calc/calc-ext.el (calc-init-extensions):
181         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
183         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
184         symbolic mode.
186         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
187         argument is a variable.
189 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
191         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
192         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
193         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
195 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
197         * password-cache.el (password-in-cache-p): Convenience function to
198         check if a key is in the cache, even if the value is nil.
200 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
202         * emacs-lisp/package-x.el (package--archive-contents-from-url)
203         (package--archive-contents-from-file): New functions.
204         (package-update-news-on-upload): New var.
205         (package-upload-buffer-internal): Extract archive-contents from
206         package-archive-upload-base if it is not found at archive-url.
207         Obey package-update-news-on-upload.
208         (package-upload-buffer, package-upload-file): Doc fix.
210 2011-02-24  Glenn Morris  <rgm@gnu.org>
212         * files-x.el (modify-dir-local-variable): Handle dir-locals from
213         the cache, and from non-file sources.
215         * help-fns.el (describe-variable): Return consistent results when a
216         dir-local from a file came from the cache or did not.  (Bug#8095)
217         If a dir-local has no associated file, say it came from a "directory".
219         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
220         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
222         * files.el (dir-locals-find-file): Doc fix.
223         Fix the check for cache elements that have no associated file,
224         and the mtime check for those that do.  (Bug#8095)
226         * dired-x.el (dired-hack-local-variables):
227         Handle interrupts during hacking local variables.  (Bug#5216)
229         * emacs-lisp/autoload.el (autoload-save-buffers)
230         (autoload-find-destination, update-directory-autoloads):
231         Avoid prompts when updating autoloads.
233 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
235         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
237 2011-02-23  Kenichi Handa  <handa@m17n.org>
239         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
240         error when a multipart boundary in the nested multipart is found.
242         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
243         header components.
245 2011-02-23  Glenn Morris  <rgm@gnu.org>
247         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
248         * dired-x.el (dired-omit-mode): Safe if boolean.
249         (dired-enable-local-variables): Fix doc and custom type.
250         (dired-enable-local-variables, dired-local-variables-file)
251         (dired-hack-local-variables): Make obsolete.
252         (dired-omit-here-always): Use dir-locals.el instead.
254         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
256 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
258         * help-fns.el (describe-function-1): Don't signal an error just because
259         the DOC file disappeared.
261 2011-02-22  Seppo Sade <sepposade1@gmail.com>  (tiny change)
263         * eshell/esh-ext.el (eshell-external-command): Do not restrict
264         remote check to "ftp".  (Bug#8089)
266 2011-02-21  Alan Mackenzie  <acm@muc.de>
268         Fix bug #7930.
269         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
270         in macros finding their way into c-state-nonlit-pos-cache.
271         Strengthen the comments.
272         (c-state-dump): New commented out diagnostic routine.
274 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
276         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
277         `field' property of `rfn-eshadow-overlay'.
279 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
281         * net/netrc.el (netrc-parse): Comment fix.
283 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
285         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
286         Autoload.  Add optional arg FRAME, and pass it to color-values.
287         (color-complement): Caller changed.  Doc fix.
288         (color-gradient): Rewrite for better clarity and efficiency.
290         * faces.el (color-values): Use cond for clarity.  Doc fix.
292         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
293         color.el instead.
294         (list-colors-sort-key, list-colors-print):
295         Use color-normalized-values.
297 2011-02-20  Drew Adams  <drew.adams@oracle.com>
299         * color.el: First part of merge from hexrgb.el.
300         (color-rgb-to-hex): Rename from color-rgb->hex.
301         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
302         saturation to zero if the value is too small.
303         (color-rgb-to-hsl): Rename from color-rgb->hsl.
304         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
305         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
306         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
307         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
308         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
309         (color-cie-de2000): Doc fix.
311 2011-02-20  Alan Mackenzie  <acm@muc.de>
313         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
314         locating the beginning of a macro.  (Bug#7595)
316 2011-02-20  Glenn Morris  <rgm@gnu.org>
318         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
319         Don't autoload it.
321         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
322         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
324 2011-02-19  Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
325             Dima Kogan <dkogan@cds.caltech.edu>  (tiny change)
327         * progmodes/hideshow.el (hs-find-block-beginning)
328         (hs-hide-level-recursive): Ignore comments when parsing braces
329         (Bug#8036).
331 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
333         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
334         (vc-bzr-pull): Use it.
336 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
338         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
339         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
340         but returning an alist.  Ignore comments in bzr conffile.
341         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
342         (vc-bzr-error-regex-alist): New var.
343         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
345         * vc/vc-dispatcher.el (vc-do-async-command):
346         Bind inhibit-read-only to t.
348         * progmodes/compile.el (compilation--flush-directory-cache):
349         Handle the case where cdr of compilation--flush-directory-cache
350         points to no buffer, which can occur if we previously switched to
351         compilation-mode in a pregenerated buffer.
353 2011-02-19  Kenichi Handa  <handa@m17n.org>
355         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
356         get the header copy into the temporary buffer.
357         (rmail-mime-insert-decoded-text): Ignore us-ascii.
358         (rmail-show-mime): When rmail-mime-coding-system is nil, set
359         buffer-file-coding-system to undecided.
361 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
363         * international/mule-cmds.el (read-char-by-name, ucs-insert):
364         Document completion with asterisk and a substring.
366 2011-02-19  Glenn Morris  <rgm@gnu.org>
368         * files.el (find-file-literally): Doc fix.
370         * simple.el (rfc822-goto-eoh): Give it a doc-string.
372         * log-edit.el (log-edit-insert-changelog):
373         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
375 2011-02-19  Glenn Morris  <rgm@gnu.org>
377         * dired-x.el: Don't require dired-aux.
378         (dired-do-create-files, dired-mark-read-regexp)
379         (dired-do-create-files-regexp): Autoload from dired-aux.
381         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
382         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
384         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
385         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
387         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
388         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
389         (dired-clean-up-buffers-too): Declare.
391         * dired-x.el (dired-initial-position): Merge into dired.el's version.
392         * dired.el (dired-initial-position): Merge dired-x's version here.
393         (dired-find-subdir): Declare.
395         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
396         * dired-aux.el (dired-add-entry): Give it a doc-string.
397         Merge dired-x's dired-omit handling here.
398         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
400         * international/mule-diag.el (list-input-methods-1):
401         Indent all lines of multi-line doc-strings.  (Bug#8066)
403 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
405         Fix 2011-02-02 changes.
407         * apropos.el (apropos-print): Call apropos-mode before setting up
408         buffer variables.  Use inhibit-read-only.
410         * emacs-lisp/package.el (package--list-packages):
411         Call package-menu-mode before setting up buffer variables.
413         * play/solitaire.el (solitaire): Call solitaire-mode before
414         setting up buffer variables.  Use inhibit-read-only.
416 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
418         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
419         Bind case-fold-search to nil when looking for end of here-doc.
421 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
423         * image-mode.el (image-toggle-display-image):
424         Set find-file-literally non-nil in buffers visiting binary image
425         files.  (Bug#8047)
427 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
429         * files.el (cd): Make completion obey cd-path (bug#7924).
431 2011-02-18  Glenn Morris  <rgm@gnu.org>
433         * progmodes/prolog.el: Don't require compile when compiling.
434         (compilation-shell-minor-mode, compilation-error-regexp-alist)
435         (compilation-forget-errors, compilation-fake-loc)
436         (compilation-parse-errors-function, compilation-error-list): Declare.
437         (prolog-inferior-mode): Require 'compile.
439         * emulation/cua-base.el (pc-selection-mode): Declare.
441         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
442         (customize-object): Add autoload cookie.
443         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
444         (eieio-browse, describe-class, eieio-describe-class)
445         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
446         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
447         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
448         * Makefile.in (autoloads): Make eieio.el writable.
450         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
451         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
452         (dired-hack-local-variables): Use inhibit-read-only.
453         (dired-guess-default): Simplify.
454         (dired-make-relative-symlink): Use dotimes.
455         (dired-simultaneous-find-file): Use dolist.
456         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
457         (dired-x-hands-off-my-keys): Doc fix.
458         (dired-x-bind-find-file): Doc fix.  Use remapping.
459         (after-init-hook): No need to add dired-x-bind-find-file.
460         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
461         No need to call expand-file-name.
462         (dired-filename-at-point): Remove unused locals `end', `filename'.
464 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
466         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
468 2011-02-18  Christian Ohler  <ohler@gnu.org>
470         * emacs-lisp/ert.el (ert--setup-results-buffer)
471         (ert-results-pop-to-backtrace-for-test-at-point)
472         (ert-results-pop-to-messages-for-test-at-point)
473         (ert-results-pop-to-should-forms-for-test-at-point)
474         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
475         were incorrect and unnecessary.  This should make `make check'
476         pass again.
478 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
480         * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
481         (allout-widgets-icons-dark-subdir): Track relocations of icons
482         * lisp/allout.el: Remove commentary about remove encryption
483         passphrase mnemonic support and verification.
484         (allout-encrypt-string): (allout-encrypt-string): Recognize epg
485         failure to decrypt gpg2 armored text using gpg1, and indicate that
486         the gpg version *might* be the problem in the error message.
488 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
490         * net/rcirc.el (rcirc-float-time): New function.
491         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
492         (rcirc-ctcp-sender-PING): Use it.
494 2011-02-17  Glenn Morris  <rgm@gnu.org>
496         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
497         (speedbar-update-flag, speedbar-fetch-etags-command)
498         (speedbar-fetch-etags-arguments):
499         * term.el (term-buffer-maximum-size, term-input-chunk-size)
500         (term-completion-autolist, term-completion-addsuffix)
501         (term-completion-recexact, term-completion-fignore):
502         * term/sup-mouse.el (sup-mouse-fast-select-window):
503         * term/x-win.el (x-select-request-type):
504         Convert some defvars with "*" to defcustoms.
506         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
508         * vc/vc.el (vc-default-previous-version):
509         Remove alias that points nowhere.  (Bug#4496)
511         * dired-x.el (dired-clean-up-after-deletion):
512         kill-buffer does not need save-excursion.
513         (dired-do-run-mail): Doc fix.
514         (dired-filename-at-point): Doc fix.
515         Use looking-at, and skip-chars rather than re search.
517         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
519 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
521         * allout-widgets.el: New allout extension that shows allout
522         outline structure with graphical widgets.  'allout-widgets'
523         customize group is an 'allout' subgroup, for easy discovery.
525         * allout.el: Include PGP and GnuPG in Keywords, and other
526         commentary refinements.
527         (allout-abbreviate-flattened-numbering): Rename to
528         allout-flattened-numbering-abbreviation, and
529         define-obsolete-variable-alias the old name.
530         (allout-flattened-numbering-abbreviation): Rename from
531         allout-abbreviate-flattened-numbering.
532         (allout-mode-p): Include among autoloads, for use by other modes
533         with impunity.
534         (allout-listify-exposed):
535         Use allout-flattened-numbering-abbreviation.
536         (allout-encrypt-string): Use set-buffer-multibyte directly.
537         (allout-set-buffer-multibyte): Remove.
539 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
541         * simple.el (just-one-space): Remove useless `or' call.
543 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
545         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
546         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
547         (soap-decoded-multi-refs, soap-current-wsdl)
548         (soap-encoded-namespaces): Rename CL-style *...* variables.
550 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
552         * net/soap-client.el: Add "comm" and "hypermedia" to the
553         keywords.  Reflow too long lines.
555         * net/soap-inspect.el: Ditto.  Require 'cl.
557 2011-02-16  Bastien Guerry  <bzg@altern.org>
559         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
560         in a `doctor-type' argument.
562 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
564         * net/soap-client.el:
565         * net/soap-inspect.el: New files.
567 2011-02-16  Leo  <sdl.web@gmail.com>
569         * dired-x.el (dired-mode-map, dired-extra-startup):
570         Remove dired-copy-filename-as-kill since it's already in dired.el.
572 2011-02-16  Glenn Morris  <rgm@gnu.org>
574         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
575         Doc fixes.  Add :set property, replacing top-level calls.
576         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
577         (dired-guess-shell-gnutar): Test tar version rather than system-type.
578         (dired-extra-startup, dired-man, dired-info): Doc fixes.
579         (dired-clean-up-after-deletion): Use when and dolist.
580         (dired-jump): Use unless and when.
581         (dired-virtual): Use line-end-position.
582         (dired-default-directory-alist): Rename from default-directory-alist.
583         (dired-default-directory): Update for above name change.
584         (dired-vm): Drop VM < 5 and simplify.
585         (dired-buffer-more-recently-used-p): Rewrite.
586         (dired-filename-at-point): Use when and or.
587         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
588         Update callers.
590 2011-02-15  Glenn Morris  <rgm@gnu.org>
592         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
594 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
596         * vc/vc-git.el (vc-git-root-log-format): New option for
597         customizing log format.
598         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
599         (vc-git-log-view-mode): Use it.
600         (vc-git-expanded-log-entry): New function.
601         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
603         * vc/vc-hg.el (vc-hg-root-log-template): New option for
604         customizing log format.
605         (vc-hg-print-log): Use it.
606         (vc-hg-expanded-log-entry): New function.
607         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
608         vc-hg-expanded-log-entry.  Truncate lines in root log.
610         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
612         * vc/log-view.el (log-view-mode-menu):
613         Add log-view-toggle-entry-display.
615 2011-02-14  Glenn Morris  <rgm@gnu.org>
617         * dired-x.el: Don't require man when compiling.
618         (dired-omit-extensions, dired-local-variables-file)
619         (dired-x-hands-off-my-keys): Make them defcustoms.
620         (Man-support-local-filenames, Man-getpage-in-background): Declare.
621         (vm-visit-folder): Declare rather than defining.
622         (dired-x-help-address, dired-x-variable-list): Remove.
623         (dired-x-submit-report): Make it an obsolete alias.
625 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
627         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
629 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
631         * net/imap.el: Bring it back.
633 2011-02-13  Alan Mackenzie  <acm@muc.de>
635         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
636         narrow-to-region call that cuts context off the end (Bug#7722).
638         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
639         Refactor nested if-forms with a simple cond.
640         (c-forward-<>-arglist): Revert 2011-01-31 change.
642 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
644         * vc/log-view.el: New command log-view-toggle-entry-display for
645         toggling log entries between concise and detailed forms.
646         (log-view-toggle-entry-display): New command.
647         (log-view-mode-map): Bind RET to it.
648         (log-view-expanded-log-entry-function): New variable.
649         (log-view-current-entry, log-view-inside-comment-p)
650         (log-view-current-tag): New functions.
651         (log-view-toggle-mark-entry): Use log-view-current-entry and
652         log-view-end-of-defun instead of searching directly with
653         log-view-message-re.
654         (log-view-end-of-defun): Likewise.  Add optional ARG for
655         compatibility with end-of-defun.
656         (log-view-end-of-defun): Ignore comments and VC buttons.
658         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
659         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
661 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
663         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
665         * net/imap-hash.el: Remove file.
667 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
669         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
671         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
672         call.
674         * net/tramp-imap.el: Remove file.
676 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
678         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
679         widget library for buttons, just use button.el.
681         * vc/log-view.el (log-view-mode-map): Don't inherit from
682         widget-keymap.
684 2011-02-12  Glenn Morris  <rgm@gnu.org>
686         * emacs-lisp/cl-seq.el (union, nunion, intersection)
687         (nintersection, set-difference, nset-difference)
688         (set-exclusive-or, nset-exclusive-or): Doc fix.
690         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
692         * faces.el (face-attr-match-p): Handle the obsolete :bold and
693         :italic props, so that frame-set-background-mode works.  (Bug#7966)
695         * simple.el (next-error): Doc fix.
697 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
699         * dired-aux.el (dired-create-files): Adapt destination name to
700         match the new behavior of copy-directory.
702 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
704         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
705         from rmail-dont-reply-to-names.  Callers changed.
706         (mail-dont-reply-to): Rename from mail-dont-reply-to.
707         (rmail-dont-reply-to): Make it an obsolete alias.
709         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
710         nil, and make obsolete (Bug#7888).
711         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
713         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
715         * mail/rmailsort.el (rmail-sort-by-correspondent)
716         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
718         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
720 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
722         * files.el (copy-directory): New argument COPY-CONTENTS for
723         copying directory contents into another existing directory.
725 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
727         * minibuffer.el (completion-table-case-fold): New function for
728         creating a case-insensitive completion table.
730 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
732         * net/tramp.el (tramp-default-method): Also check if
733         `auth-source-search' is bound.
734         (tramp-read-passwd): Use `auth-source-search' instead of
735         `auto-source-user-or-password'.
737         * net/tramp-imap.el: Autoload `auto-source-search' instead of
738         `auto-source-user-or-password.
739         (tramp-imap-passphrase-callback-function): Use it.
741         * net/imap-hash.el: Autoload `auto-source-search' instead of
742         `auto-source-user-or-password.
743         (imap-hash-open-connection): Use it.
745         * mail/smtpmail.el: Autoload `auto-source-search' instead of
746         `auto-source-user-or-password.
747         (smtpmail-try-auth-methods): Use it.
749 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
751         * emacs-lisp/package.el: Allow packages to be reinstalled.
752         (package--write-file-no-coding): Remove EXCL arg.
753         (package-unpack-single): Don't use it.
755 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
757         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
758         in each sub directory.
759         (vc-svn-registered): Use vc-svn-root.
760         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
761         (vc-svn-repository-hostname): Use "svn info".
763 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
765         * simple.el (delete-trailing-whitespace): New optional buffer
766         bound parameters.
768 2011-02-11  Bastien Guerry  <bzg@altern.org>
770         * files.el (basic-save-buffer): save unmodified buffers when
771         the file pointed by buffer-file-name doesn't exist.
773 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
775         * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
777 2011-02-11  Glenn Morris  <rgm@gnu.org>
779         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
781 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
783         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
785 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
787         * server.el (server-process-filter): Use pcase.
789         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
790         conflicting ways.
791         (smie-indent--parent): Extend to "parent of arg".
792         (smie-indent-inside-string): New function.
793         (smie-indent-functions): Use it.
795         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
796         bzr locking race condition.
798         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
799         still valid before using it.
801         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
802         `message' -> `compilation-message' rename (bug#8004).
804         Move keymap initialization into declaration.
805         * textmodes/enriched.el (enriched-mode-map):
806         * textmodes/bib-mode.el (bib-mode-map):
807         * term/lk201.el (lk201-function-map):
808         * tar-mode.el (tar-mode-map):
809         * replace.el (occur-mode-map):
810         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
811         * progmodes/idlw-help.el (idlwave-help-mode-map):
812         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
813         * play/solitaire.el (solitaire-mode-map):
814         * play/snake.el (snake-mode-map, snake-null-map):
815         * play/pong.el (pong-mode-map):
816         * play/handwrite.el (menu-bar-handwrite-map):
817         * play/gametree.el (gametree-mode-map):
818         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
819         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
820         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
821         (newsticker--url-keymap):
822         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
823         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
824         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
825         (menu-bar-edit-menu, menu-bar-custom-menu)
826         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
827         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
828         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
829         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
830         (menu-bar-tools-menu, menu-bar-describe-menu)
831         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
832         (menu-bar-help-menu):
833         * mail/rmailsum.el (rmail-summary-mode-map):
834         * kmacro.el (kmacro-step-edit-map):
835         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
836         (ibuffer-mode-operate-map):
837         * hi-lock.el (hi-lock-menu, hi-lock-map):
838         * emulation/vip.el (vip-mode-map):
839         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
840         * bookmark.el (bookmark-bmenu-mode-map):
841         * help-mode.el (help-mode-map): Move initialization into declaration.
843 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
845         * net/rcirc.el: Add PRIVMSG and CTCP functions.
846         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
847         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
848         (rcirc-cmd-me, rcirc-authenticate): Use them.
850 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
852         * allout.el: Synopsis: Change allout user configuration so
853         auto-activation is controlled solely by customization
854         `allout-auto-activation'.
856         (allout-auto-activation-helper) (allout-setup): New autoloads
857         implement new custom set procedure for allout-auto-activation.
858         Also, explicitly invoke
859         (allout-setup) after allout-auto-activation is custom-defined, to
860         effect the settings in emacs sessions besides the few where
861         allout-auto-activation customization is donea.
862         (allout-auto-activation): Use allout-auto-activation-helper to
863         :set.  Revise the docstring.
864         (allout-init): Reduce functionality to just customizing
865         allout-auto-activation, and mark obsolete.
866         (allout-mode): Respect string values for allout-auto-activation.
867         Run allout-after-copy-or-kill-hook without any args.
868         (allout-mode) (allout-layout) (allout-default-layout)
869         (outlineify-sticky): Adjust docstring for new scheme.
870         (allout-after-copy-or-kill-hook): No arguments - hook implementers
871         should concentrate on the kill ring.
873 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
875         * password-cache.el (password-cache-remove): Accept secrets that are
876         not strings.
878 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
880         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
881         of here-doc that immediately follows a comment.
883 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
885         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
887         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
888         available.
889         (rcirc-ctcp-sender-PING): New function.
891 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
893         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
894         Remove the mark/nomark handling, and activate shift-select-mode instead.
896         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
898 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
900         * calc/calc-units.el (math-logunits-quant): Add support for
901         non-logarithmic units.
903 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
905         * allout.el (allout-after-copy-or-kill-hook): New hook for
906         extension-specific processing of killed text.
907         (allout-mode): Include new allout-after-copy-or-kill-hook among
908         mentioned hooks.
909         (allout-kill-line) (allout-kill-topic): Ensure that processing
910         after kill happens even if barf-if-buffer-read-only is raised.
911         Include new allout-after-copy-or-kill-hook among that subsequent
912         processing.
913         (allout-deannotate-hidden): Actually remove the annotation text
914         properties.
916         * allout.el (allout-listify-exposed): Copy text sans text properties.
918 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
920         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
922 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
924         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
926 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
928         * calc/calc.el (calc-logunits-field-reference): Rename from
929         `calc-default-field-reference-level'.
930         (calc-logunits-power-reference): Rename from
931         `calc-default-power-reference-level'
933         * calc/calc-units.el (math-logunits-quant): Rename from
934         `math-logunits-level'
935         (math-logunits-plus): Rename from math-logcombine.
936         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
937         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
938         (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
939         New functions.
940         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
941         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
942         (calc-logunits-quantity): Rename from `calc-level'.
943         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
944         (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
945         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
946         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
947         (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
948         New functions.
950         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
951         (calc-ul-prefix-help): Remove.
952         (calc-l-prefix-help): New function.
953         (calc-full-help): Add reference to `calc-l-prefix-help'.
955         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
957         * calc/README: Mention logarithmic units.
959 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
961         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
962         non-ASCII characters (Bug#7925).
964 2011-02-05  Glenn Morris  <rgm@gnu.org>
966         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
968         * calendar/diary-lib.el (diary-font-lock-keywords):
969         Tweak diary-time-regexp match.  (Bug#7891)
971         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
972         (f90-mode): Use it for mode's `find-tag-default-function' property.
974         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
976         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
978 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
980         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
981         (Bug#6386).
983 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
985         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
986         font-lock-syntax-table remappings.
987         (sh-here-doc-markers, sh-here-doc-re): Remove.
988         (sh-font-lock-close-heredoc): Remove.
989         (sh-syntax-propertize-here-doc): New function.
990         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
991         instead of the sh-here-doc-re.
992         (sh-font-lock-paren): Don't do anything in comments or strings.
993         Handle line continuations.  Accept a few more chars.
994         Don't rely on the font-lock-syntax-table remappings.
995         `esac' is not a valid pattern.
996         (sh-syntax-propertize-function): Handle here-docs differently, so we
997         don't bother syntax-propertizing the insides.
999         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1000         Handle new bashisms ";&" and ";;&" (bug#7947).
1002 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
1004         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1005         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1007 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
1009         * net/tramp.el (tramp-postfix-method-format)
1010         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1011         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1012         (tramp-postfix-user-regexp, tramp-prefix-port-format)
1013         (tramp-prefix-port-regexp, tramp-postfix-host-format)
1014         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1015         Doc fix.
1017 2011-02-04  Sam Steingold  <sds@gnu.org>
1019         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1021 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1023         * international/mule-util.el (with-coding-priority): Doc fix.
1025 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1027         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1029 2011-02-03  Sam Steingold  <sds@gnu.org>
1031         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1032         Do not error out when `func' is nil.
1034 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1036         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1037         `tramp-default-remote-path' to the docstring.
1038         (tramp-get-remote-path): Suppress error message when `getconf
1039         PATH' fails.
1041         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1043 2011-02-03  Glenn Morris  <rgm@gnu.org>
1045         * vc/vc-hg.el (vc-hg-command): Doc fix.
1047         * term/w32-win.el (libpng-version): Declare for compiler.
1049         * msb.el: No need to load dired while compiling.
1051         * emacs-lisp/elint.el (elint-standard-variables):
1052         Remove a couple of built-ins that now have doc-strings.
1054         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1055         `require' is automatically `eval-and-compile'd.
1057         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1058         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1060         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1061         Move definition before use.
1062         (strokes-report-bug): Make it obsolete.
1064 2011-02-02  Sam Steingold  <sds@gnu.org>
1066         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1067         from `special-mode', entering it makes the buffer read-only, so
1068         call it only when everything has been already inserted.
1069         * emacs-lisp/ert.el (ert--setup-results-buffer)
1070         (ert-results-pop-to-backtrace-for-test-at-point)
1071         (ert-results-pop-to-messages-for-test-at-point)
1072         (ert-results-pop-to-timings): Ditto.
1073         * emacs-lisp/package.el (package--list-packages): Ditto.
1074         * play/solitaire.el (solitaire): Ditto.
1076 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1078         * progmodes/compile.el: Make all faces inherit.
1079         (compilation-warning): Inherit from font-lock-variable-name-face.
1080         (compilation-info): Inherit from font-lock-type-face.
1081         (compilation-line-number): Reassign to font-lock-keyword-face.
1082         (compilation-column-number): Reassign to font-lock-doc-face.
1083         (compilation-leave-directory-face): Reassign to
1084         font-lock-builtin-face.
1086 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1088         * dired.el (dired-insert-directory): Don't invoke `ls' when
1089         ls-lisp.el is used to emulate it.
1091 2011-02-01  Julien Danjou  <julien@danjou.info>
1093         * color.el (color-gradient): Add a color-gradient function.
1095 2011-02-01  Sam Steingold  <sds@gnu.org>
1097         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1098         bind "z" to `kill-this-buffer'.
1099         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1100         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1101         (apropos-mode): Inherit from `special-mode'.
1102         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1103         * bookmark.el (bookmark-bmenu-mode): Define using
1104         `define-derived-mode' inheriting from `special-mode'.
1105         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1106         * image-mode.el (image-mode-map): Ditto.
1107         * replace.el (occur-mode): Define using
1108         `define-derived-mode' inheriting from `special-mode'.
1109         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1110         * calendar/diary-lib.el (diary-fancy-display-mode):
1111         Inherit from `special-mode-map'.
1112         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1113         Inherit from `special-mode'.
1114         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1115         `special-mode-map'.
1116         (package-menu-mode): Define using `define-derived-mode'
1117         inheriting from `special-mode'.
1118         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1119         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1120         (xesam-mode-map): Define separately.
1121         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1122         * progmodes/compile.el (compilation-minor-mode-map)
1123         (compilation-mode-map): Inherit from `special-mode-map'.
1124         * vc/diff-mode.el (diff-mode-shared-map):
1125         Inherit from `special-mode-map'.
1126         * vc/log-view.el (log-view-mode-map): Add a comment.
1128 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1130         * custom.el (load-theme): Define return value.  Drop use of
1131         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1132         (custom-theme-load-confirm): Scroll in the correct window.
1133         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1135         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1136         checkbox if load-theme fails.
1138 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1140         * progmodes/compile.el (compilation-next-error): Check there's
1141         a message before using it (bug#7941).
1143 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1145         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1146         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1147         of potential pivots.
1149 2011-01-31  Alan Mackenzie  <acm@muc.de>
1151         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1152         Continue parsing if we encounter a naked # (Bug#7595).
1153         (c-beginning-of-statement): Avoid loop in locating the beginning
1154         of a macro.  (Not actually committed until 2011-02-20, see above).
1156 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1158         * files.el (copy-directory): Fix arguments to recursive call.
1160 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1162         * files.el (copy-directory): If destination is an existing
1163         directory, copy into a subdirectory there.
1165 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1167         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1168         files.
1170 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1172         * image-dired.el (image-dired-mouse-display-image): No-op if no
1173         file is found (Bug#7817).
1175         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1177 2011-01-31  Kenichi Handa  <handa@m17n.org>
1179         * international/quail.el (quail-keyboard-layout-alist):
1180         Remove superfluous SPC for "pc105-uk" (bug#7927).
1182 2011-01-31  Glenn Morris  <rgm@gnu.org>
1184         * msb.el (msb-menu-bar-update-buffers): Update for changed
1185         argument handling of menu-bar-select-frame.  (Bug#7902)
1187 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1189         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1190         to the recursion depth (Bug#7722).
1192 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1194         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1195         command-line-default-directory (Bug#7872).
1197 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1199         * progmodes/compile.el (compilation--flush-directory-cache):
1200         New function, extracted from compilation--remove-properties.
1201         (compilation--remove-properties, compilation--parse-region): Use it.
1202         (compilation--previous-directory): Handle one more case.
1203         (compilation-enable-debug-messages): Remove.
1204         (compilation-parse-errors, compilation--flush-parse): Just remove the
1205         left over debug messages.
1207 2011-01-31  Sam Steingold  <sds@gnu.org>
1209         * progmodes/compile.el (compilation-enable-debug-messages):
1210         Add a variable to make the parsing messages introduced in
1211         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1212         (compilation-parse-errors, compilation--flush-parse): Use it.
1214 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1216         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1217         (rcirc-nick-completion-format): New defcustom.
1218         (rcirc-complete): Use it.
1220 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1222         * net/rcirc.el: Clean log filenames (Bug#7933).
1223         (rcirc-log-write): Use convert-standard-filename.
1224         (rcirc-log-filename-function): Documentation updates.
1226 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1228         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1229         Check report-emacs-bug-can-use-osx-open and use that if t.
1230         (report-emacs-bug-can-use-osx-open): New function.
1231         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1232         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1234 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1236         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1237         updating Dired or VC-dir buffers after async command completes.
1239         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1240         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1242         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1243         completions if it exists.  Use vc-set-async-update.
1244         (vc-git-pull): Use vc-set-async-update.
1246         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1247         read-shell-command.  Use vc-set-async-update.
1248         (vc-hg-merge-branch): Use vc-set-async-update.
1250 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1252         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1253         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1254         (Bug#7931).
1256 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1258         * progmodes/compile.el: Avoid an N² behavior in grep.
1259         (compilation--previous-directory): New fun.
1260         (compilation--previous-directory-cache): New var.
1261         (compilation--remove-properties): Flush it.
1262         (compilation-directory-properties, compilation-error-properties):
1263         Use the new fun to speed up looking for the current directory.
1265 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1267         * vc/vc-hg.el (vc-hg-history): New var.
1268         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1269         (vc-hg-merge-branch): New function.
1271         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1272         the other way around.
1274         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1275         (vc-git-merge-branch): New functions.
1276         (vc-git-history): New var.
1278 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1280         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1282         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1283         vc-do-async-command.
1285         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1286         Callers changed.
1288 2011-01-28  Leo  <sdl.web@gmail.com>
1290         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1291         highlighting to the "this function is advised" message.
1293         * help-mode.el (help-mode-finish): Apply highlighting here, to
1294         avoid clobbering by substitute-command-keys (Bug#6304).
1296 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1298         * woman.el (woman0-roff-buffer): Process roff escape sequences
1299         occurring prior to the first request (Bug#7843).
1301 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1303         * progmodes/compile.el: Don't use font-lock any more.
1304         (compilation-error-regexp-alist-alist): Change handling of makepp
1305         so it preserves the warning/error distinction on subsequent files.
1306         Simplify various rules.
1307         (compilation-directory-properties): Use font-lock-face.
1308         Add a compilation-message property.
1309         (compilation-internal-error-properties): Use font-lock-face.
1310         Don't set the compilation-debug property here.
1311         (compilation--put-prop, compilation--remove-properties)
1312         (compilation--parse-region, compilation--ensure-parse)
1313         (compilation--ensure-parse): New functions.
1314         (compilation-parse-errors): New function, largely inspired of
1315         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1316         (compilation--parsed): New var.
1317         (compilation--flush-parse): Use compilation--ensure-parse.
1318         (compilation-start): Don't call font-lock.
1319         (compilation-turn-on-font-lock): Remove.
1320         (compilation-setup): Don't set font-lock-extra-managed-props not change
1321         other font-lock settings, other than keywords.
1322         Don't activate font-lock-mode.
1323         Set change-major-mode-hook and before-change-functions.
1324         (compilation--unsetup): Remove properties and hooks.
1325         (compilation-next-single-property-change): New function.
1326         (compilation-next-error): Use it to parse when needed.
1327         (compile-goto-error): Parse buffer as needed.
1328         (compilation--compat-error-properties): Don't need a dummy `face'
1329         property any more.
1331 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1333         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1334         (compilation-process-setup-function): Fix docstring's false promises.
1335         (compilation-error-regexp-alist-alist): Catch omake's continuous
1336         recompilation message and avoid reuse of old markers.
1337         (compilation-parse-errors-function): Declare obsolete.
1338         (compilation-buffer-modtime): Remove.
1339         (compilation--make-cdrloc, compilation--loc->col)
1340         (compilation--loc->line, compilation--loc->file-struct)
1341         (compilation--loc->marker, compilation--loc->visited)
1342         (compilation--make-file-struct, compilation--file-struct->file-spec)
1343         (compilation--file-struct->formats)
1344         (compilation--file-struct->loc-tree): New macros.  Use them.
1345         (compilation--message): New defstruct.  Use them.
1346         (compilation-next-error-function): Don't mess with timestamps to try
1347         and guess when to reparse.
1349 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1351         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1352         (tex-old-error-file-name): New function,
1353         extracted from tex-compilation-parse-errors.
1354         (tex-compilation-parse-errors): Remove.
1355         (tex-error-regexp-alist): New var.
1356         (tex-shell): Use it to avoid compilation-parse-errors-function.
1358         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1359         (grep-mode-font-lock-keywords): Remove regexp that seems like
1360         a left-over from before we used compile.el.
1361         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1362         modifying the buffer within with-silent-modifications.
1364         * progmodes/compile.el: Cleanup text-properties namespace by using
1365         `compilation-message' instead of `message', `compilation-directory'
1366         instead of `directory', and `compilation-debug' instead of `debug'.
1367         (compilation-last-buffer, compilation-parsing-end)
1368         (compilation-error-list, compilation-old-error-list): Move to the
1369         compatibility part of the code.
1370         (compilation-error-properties): If `file' is a function, let it return
1371         a file name.
1372         (compilation-mode-font-lock-keywords): Be more conservative with the
1373         omake "^ *" pattern prefix, to try and minimize the risk of
1374         pathologically slow regexp matching.
1375         (compilation-start): Use inhibit-read-only.
1376         (compilation--unsetup): New function.
1377         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1378         (compilation-filter): Minor tweaks.
1379         (compilation-next-error-function): Try and avoid abusing variables.
1380         (compilation--flush-file-structure): New fun.
1381         (compilation-fake-loc): Use it to improve behavior when file is reused.
1382         (debug-ignored-errors): Add "Moved past last ...".
1383         (compilation--compat-error-properties)
1384         (compilation--compat-parse-errors): Rename by doubling the "-".
1386         Port features from the previous prolog.el to the new one.
1387         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1388         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1389         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1390         variable and use a function to compute the value dynamically.
1391         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1392         (prolog-continued-prompt-regexp): Remove, unused.
1393         (prolog-find-value-by-system): Try and use the value of prolog-system
1394         in the *prolog* buffer if it helps.
1395         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1396         (prolog-zip-on): ..and check prolog-system and version here instead.
1397         (prolog-inferior-self-insert-command): New command.
1398         (prolog-inferior-mode-map): Use it.
1399         (prolog-inferior-error-regexp-alist): New var.
1400         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1401         (prolog-input-filter): Use derived-mode-p.
1402         (prolog-inferior-guess-flavor): New function.
1403         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1404         make-comint to avoid running comint-mode twice.
1405         (prolog-inferior-buffer): New fun.
1406         (prolog-old-process-region, prolog-old-process-file):
1407         Don't call prolog-bsts here...
1408         (prolog-build-prolog-command): ...do it here instead.
1409         (prolog-old-process-region, prolog-old-process-file):
1410         Use compilation-fake-loc and compilation-forget-errors.
1411         (prolog-consult-compile-region): Use bolp.
1413 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1415         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1417 2011-01-27  Sam Steingold  <sds@gnu.org>
1419         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1420         Remove "*server*" which is never created by emacs server.
1422 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1424         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1425         there are some diff switches.
1427 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1429         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1430         Copy change made to ruby-font-lock-syntactic-keywords.
1432         * htmlfontify.el: Make it obey the font-lock-face text property.
1433         Miscellaneous cleanup such as:
1434         - Don't hide expressions after a closing paren.
1435         - Move initial setq into let.
1436         - Hoist common parts out of ifs.
1437         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1438         (hfy-face-at): Use get-text-property instead.
1439         (hfy-prop-invisible-p): Use invisible-p if available.
1440         (htmlfontify-manual): Use \\[...].
1441         (hfy-html-quote-regex): Use [...].
1442         (hfy-combined-face-spec): Simplify.
1443         (hfy-compile-face-map): Don't presume point-min==1.
1444         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1445         match end of string.
1446         (hfy-text-p): η-reduce.
1447         (hfy-tags-for-file): Receive cache-hash directly.
1448         (hfy-mark-tag-names): Adjust call.
1450 2011-01-27  Glenn Morris  <rgm@gnu.org>
1452         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1453         (msb-after-load-hook): Remove eval-after-load wackiness.
1455 2011-01-25  Sam Steingold  <sds@gnu.org>
1457         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1458         literal "diff" (important for windows-nt).
1460 2011-01-25  Glenn Morris  <rgm@gnu.org>
1462         * emacs-lisp/copyright.el (copyright-at-end-flag)
1463         (copyright-names-regexp): Add safety properties.
1464         (copyright-year-ranges): New option.
1465         (copyright-find-end): New function, split from copyright-update-year.
1466         (copyright-update-year): Use copyright-find-end.
1467         (copyright-fix-years): Optionally, convert years to ranges.
1468         Handle years continued over comment lines.
1469         Do not mess with the fill-prefix.
1470         Do not call copyright-update.
1471         (copyright-update-directory): Optionally, fix years rather than update.
1472         Skip directories.  Find files with only safe local vars.
1474 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1476         * files.el (file-name-non-special): Only change buffer-file-name after
1477         insert-file-contents if it's `visit'ing the file (bug#7854).
1479 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1481         * dired.el (dired-revert): Doc fix (Bug#7758).
1483         * simple.el (line-move-visual): Doc fix (Bug#7594).
1485 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1487         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1488         here-doc which ends with an underscore.
1489         (ruby-mode-set-encoding): Skip shebang line always.
1490         (ruby-mode-map): Bind C-c C-c to comment-region.
1491         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1492         (ruby-forward-sexp): Stop after literal hash key labels.
1493         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1494         bracket.
1496 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1498         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1499         the correct buffer (Bug#7650).
1501 2011-01-25  Glenn Morris  <rgm@gnu.org>
1503         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1505         * simple.el (do-auto-fill): Give it a doc string.
1507         * button.el (make-text-button): Doc fix.  (See bug#7881)
1509 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1511         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1512         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1514         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1515         Handle ?" and friends differently (e.g. don't use backrefs).
1517 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1519         * calc/calc.el (calc-default-power-reference-level)
1520         (calc-default-field-reference-level): New variables.
1521         * calc/calc-units.el (math-standard-units): Add dB and Np.
1522         (math-logunits): New variable.
1523         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1524         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1525         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1526         New functions.
1527         (math-find-base-units-rec): Add entry for ln(10).
1528         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1529         (calc-ul-prefix-help): New function.
1530         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1531         functions.  Add keybindings for new units functions.
1533 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1535         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1536         rcirc buffers.  (Bug#4940)
1538 2011-01-22  Glenn Morris  <rgm@gnu.org>
1540         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1541         split out from copyright-update-year.
1542         (copyright-update): Don't mess with the GPL version if we don't own the
1543         copyright.  Update license regexp, and remove no longer needed
1544         Esperanto stuff.
1545         (copyright-fix-years): Use copyright-find-copyright.
1547 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1549         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1551 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1553         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1554         (lm): Rename to landmark.
1555         (lm-test-run): Rename to landmark-test-run.
1557 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1559         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1560         "Case sensitive" menu item.
1562 2011-01-22  Roland McGrath  <roland@frob.com>
1564         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1565         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1567 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1569         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1571 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1573         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1574         Assume foo(bar) is a manpage reference rather than some unquoted
1575         symbol (bug#7705).
1577 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1579         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1580         Suggested by Flo <sensorflo@gmail.com>.
1582 2011-01-22  Glenn Morris  <rgm@gnu.org>
1584         * progmodes/compile.el (compilation-error-regexp-alist):
1585         Fix custom type.  (Bug#7812)
1587 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1589         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1590         allout-number-siblings, in keeping with what obtained due to
1591         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1592         (prefixed) ?i.
1593         (allout-before-change-handler): Better expose spots affected by
1594         undo.
1596 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1598         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1600 2011-01-22  Phil Hagelberg  <phil@evri.com>
1602         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1603         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1604         (pcmpl-ssh-config-hosts): New function.
1605         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1606         pcmpl-ssh-known-hosts.
1608 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1610         * calc/calc-undo.el (calc-undo): Autoload it.
1611         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1612         and autoload for `calc-undo'.
1613         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1614         * calc/calc-prog.el:
1615         * calc/calc-graph.el:
1616         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1618 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1620         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1621         keybindings to `calc-undo'.
1623 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1625         Don't mess with *temp*.
1626         * obsolete/spell.el: Move from textmodes/spell.el.
1627         (spell-string):
1628         * term.el (term-read-input-ring):
1629         * startup.el (display-startup-echo-area-message):
1630         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1631         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1632         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1633         point-min==1.
1635 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1637         * allout.el (allout-institute-keymap): Use fset instead of
1638         reapplying defalias.
1640         (allout-hotspot-key-handler): Check for non-control-modified
1641         bindings for hotspot characters if there are no control-modified
1642         versions.
1644         * allout.el: Summary - migrate to defining allout mode using
1645         define-minor-mode instead of defun.  Significantly clean-up
1646         internal keymap provisions, refactoring and, in the process,
1647         removing a lot of accumulated cruft.
1649         allout-mode-map is now a keymap by virtue of being a defalias to
1650         allout-mode-map-value, which contains the actual keymap structure.
1652         (allout-mode): Use define-minor-mode rather than defun.
1653         Remove now-unnecessary minor-mode setup activities from the body.
1654         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1655         entry will be '(allout-mode . allout-mode-map) - see
1656         allout-mode-map-value, below.  Adjust docstring to track changes.
1657         (allout-minor-mode): Remove this defalias, now that we're using
1658         define-minor-mode.
1659         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1660         keymap is allout-mode-map-value, via defalias.
1661         (allout-mode-map-value): The variable holding the actual mode
1662         keymap structure, by virtue of defalias from allout-mode-map.
1663         (allout-compose-and-institute-keymap): Rename from
1664         allout-bind-keys, and including the binding-composition
1665         functionality of the former produce-allout-mode-map and
1666         allout-setup-mode-map.
1667         (allout-institute-keymap): Take over the "setup" part of the former
1668         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1669         update the defalias.
1670         (allout-command-prefix) (allout-prefixed-keybindings)
1671         (allout-unprefixed-keybindings):
1672         Use allout-compose-and-institute-keymap to process the bindings.
1673         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1674         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1675         user can customize if they want to use that binding.
1676         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1677         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1678         elided that, previously, instead of the one for \C-h.)
1679         (allout-hotspot-key-handler): Remove attempt to resolve the key
1680         through the literal key-string lookup on allout-keybindings-list.
1681         That probably hasn't worked for a Long Time, and removal of
1682         allout-keybindings-list further simplifies the keybindings situation.
1683         (allout-pre-command-business): Use allout-mode-map-value instead
1684         of allout-mode-map.
1685         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1686         the bindings if they want to use a keybinding having a trailing
1687         \C-h.  No deprecation needed since this feature was never in a release.
1688         (allout-keybindings-list): Remove.  It's not been useful for a
1689         while.  (See allout-hotspot-key-handler changes, above.)
1690         (produce-allout-mode-map): Remove.  Consolidate into
1691         allout-compose-and-institute-keymap.
1692         (allout-mode-map-adjustments): Remove.  No longer necessary with
1693         removal of allout-preempt-trailing-ctrl-h.
1694         (allout-setup-mode-map): Remove.  Consolidate into
1695         allout-compose-and-institute-keymap and allout-institute-keymap.
1697 2011-01-20  Glenn Morris  <rgm@gnu.org>
1699         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1701         * simple.el (read-expression-history): Remove, it's in minibuf.c.
1703 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
1705         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1707         * files.el (find-alternate-file, basic-save-buffer)
1708         (basic-save-buffer-2, revert-buffer, recover-file)
1709         (kill-buffer-ask, abort-if-file-too-large)
1710         (set-visited-file-name, write-file, backup-buffer)
1711         (basic-save-buffer, save-some-buffers):
1712         * dired-aux.el (dired-compress-file): Callers changed.
1714 2011-01-19  Glenn Morris  <rgm@gnu.org>
1716         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1717         Also check the property status.  (Bug#7861)
1719 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
1721         * net/tramp.el (tramp-debug-message): Extend function exclude
1722         list.  Use `regexp-opt'.
1724 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1726         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1727         highlighting doesn't spill over subsequent lines.
1729         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1730         keymap expression.  Improve docstring.
1732         * electric.el (electric-indent-post-self-insert-function):
1733         Don't auto-indent for indent-to-left-margin, it's too often
1734         counter-productive.
1736 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
1738         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1739         spaces if the frame was resized, so that the full visible buffer
1740         serves as canvas for strokes.
1742 2011-01-16  Glenn Morris  <rgm@gnu.org>
1744         * info-xref.el (info-xref-docstrings): Replace cl function.
1745         Also skip directories.
1747 2011-01-16  Kevin Ryde  <user42@zip.com.au>
1749         * info-xref.el: Version 3.
1750         (info-xref-check, info-xref-check-all): Move commentary details
1751         into docstrings for better visibility.
1752         Use compilation-mode for the results buffer.
1753         (info-xref-output, info-xref-output-error, info-xref-with-output)
1754         (info-xref-filename, info-xref-in-progress):
1755         New internals for this.
1756         (info-xref-check-list, info-xref-check-buffer)
1757         (info-xref-check-all-custom): Use those.
1758         (info-xref-output-buffer): Rename from info-xref-results-buffer.
1759         (info-xref-output-heading): Rename from info-xref-filename-heading.
1760         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1761         (info-xref-filename-heading): Move to output managing section.
1762         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1763         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1764         (info-xref-subfile-p): Move to generic section with those two.
1765         (info-xref-check-node): New function split from
1766         info-xref-check-buffer, shared by info-xref-docstrings.
1767         (info-xref-goto-node-p): Move to a checking section with that func.
1768         (info-xref-unavail): New counter.
1769         (info-xref-check-node): Use it.
1770         (info-xref-with-output): Show count of unavailables at end of output.
1771         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
1772         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
1773         (info-xref-check-all-custom): Fix quietening viper-mode and
1774         gnus-registry-install -- use setq not let so as not to unbind
1775         after load.
1777 2011-01-16  Juri Linkov  <juri@jurta.org>
1779         * isearch.el (isearch-abort): Don't quit if search has
1780         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
1782 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
1784         * files.el (backup-buffer): Make last-resort backup file in
1785         .emacs.d (Bug#6953).
1787         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1788         make it with permission 700.
1790 2011-01-15  Kenichi Handa  <handa@m17n.org>
1792         * mail/rmailmm.el (rmail-mime-insert-header):
1793         Set rmail-mime-coding-system to a cons whose car is the last coding
1794         system used to decode the header.
1795         (rmail-mime-find-header-encoding): New function.
1796         (rmail-mime-insert-decoded-text):
1797         Override rmail-mime-coding-system if it is a cons.
1798         (rmail-show-mime): If only a header part was decoded, find the
1799         coding system while ignoring mm-charset-override-alist.
1801 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
1803         * subr.el (event-start, event-end): Doc fix (Bug#7826).
1805 2011-01-15  Kenichi Handa  <handa@m17n.org>
1807         * mail/rmailmm.el (rmail-mime-next-item)
1808         (rmail-mime-previous-item): Delete them.
1809         (rmail-mime-shown-mode): Recursively call for children.
1810         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1811         Callers changed.
1812         (rmail-mime-raw-mode): Recursively call for children.
1813         (rmail-mode-map): Change mapping of tab and backtab to
1814         forward-button and backward-button respectively.
1815         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1816         button.
1817         (rmail-mime-update-tagline): New function.
1818         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1819         body display is changed.
1820         (rmail-mime-toggle-button): Rename from rmail-mime-image.
1821         (rmail-mime-image): Delete this button type.
1822         (rmail-mime-toggle): New button type.
1823         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1824         body display is changed.  Change the save button label to "Save".
1825         Don't process show/hide button here.
1826         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1827         the body display is changed.  Unconditionally call
1828         rmail-mime-insert for children.
1829         (rmail-mime-handle): Update `display' vector of the just inserted
1830         entity.
1831         (rmail-mime-process): If mail-header-parse-content-type returns
1832         nil, use "text/plain" as the fallback type.
1833         (rmail-mime-insert): For raw-mode, recursively call
1834         rmail-mim-insert for children.
1835         (rmail-mime): Handle the case that the current buffer is not rmail
1836         buffer (e.g. in summary buffer).
1838 2011-01-15  Kenichi Handa  <handa@m17n.org>
1840         * mail/rmailmm.el (rmail-mime-next-item)
1841         (rmail-mime-previous-item): Skip the body of a non-multipart
1842         entity if a tagline is shown.
1844 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1846         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1847         (tmm-prompt): Simplify.
1848         (tmm-add-prompt): Remove unused var `win'.
1850         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1851         to minor mode which used nil accidentally to mean "turn off".
1853 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1855         * net/tramp-sh.el (tramp-find-inline-compress)
1856         (tramp-get-inline-coding): Quote command after pipe symbol for
1857         local calls under W32.  (Bug#6784)
1859 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1861         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1862         only when running under W32.
1864 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1866         * progmodes/grep.el (grep-compute-defaults): Quote the program
1867         file name after the pipe symbol in Grep templates.  (Bug#6784)
1868         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1870 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
1872         * buff-menu.el (Buffer-menu-buffer-list): New var.
1873         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1874         restricted buffer list is not lost on revert (Bug#7749).
1876 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
1878         * net/ldap.el (ldap-search-internal): Discard stderr output.
1880 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1882         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
1884 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1886         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1888 2011-01-15  Kenichi Handa  <handa@m17n.org>
1890         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1891         part as a plain text.
1892         (rmail-mime-process-multipart): Set the default content-type to
1893         nil for unknown multipart subtypes (bug#7651).
1895 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1897         * hexl.el (hexl-mode-old-*): Remove.
1898         (hexl-mode--old-var-vals): New var to replace them.
1899         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1900         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1901         Use them to set local vars (bug#7846).
1902         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1903         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1904         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1906         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1907         (smerge-resolve--normalize-re): New var.
1908         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1909         (smerge-resolve): Use them.
1910         * newcomment.el (comment-only-p): New function.
1911         (comment-or-uncomment-region): Use it.
1913 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
1915         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1916         table, get the value before switching to the output buffer.  (Bug#7733)
1918 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1920         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1922 2011-01-14  Kim F. Storm  <storm@cua.dk>
1924         * emulation/cua-base.el (cua--init-keymaps):
1925         Remap exchange-point-and-mark in cua-global-keymap.
1927 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
1929         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1930         loop keyword.
1932 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1934         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1935         Require CL.
1936         (easy-menu-create-menu, easy-menu-convert-item-1):
1937         Use :label rather than nil for labels.  Use `case'.
1938         Add :enable as alias for :active.
1939         (easy-menu-binding): Obey :label.
1941 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1943         Use run-mode-hooks for major mode hooks (bug#513).
1944         * textmodes/reftex-toc.el (reftex-toc-mode-map):
1945         Rename from reftex-toc-map.
1946         (reftex-toc-mode): Use define-derived-mode.
1947         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1948         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1949         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
1950         (reftex-select-label-mode, reftex-select-bib-mode):
1951         Use define-derived-mode.
1952         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1953         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1954         Move init into delcaration.
1955         (reftex-index-mode, reftex-index-phrases-mode):
1956         Use define-derived-mode.
1957         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1958         speedbar-syntax-table.  Move init into declaration.
1959         (speedbar-mode-map): Rename from speedbar-key-map.
1960         Move init into declaration.
1961         (speedbar-file-key-map): Move init into declaration.
1962         (speedbar-mode): Use define-derived-mode.
1963         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1964         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1965         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1966         (chart-face-list): Move initialization into declaration.
1967         (chart-mode): Use define-derived-mode.
1968         * calculator.el (calculator-mode-map): Move init into declaration.
1969         (calculator-mode): Use define-derived-mode.
1971         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1972         work for nested comments.
1974         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
1975         (prolog-use-prolog-tokenizer-flag): Change default when
1976         syntax-propertize can be used.
1977         (prolog-syntax-propertize-function): New var.
1978         (prolog-mode-variables): Move make-local-variable into `set'.
1979         Don't make comment-column local since we don't set it.
1980         Set comment-add (as it was in previous prolog.el).  Use dolist.
1981         Set syntax-propertize-function.
1982         (prolog-mode, prolog-inferior-mode):
1983         Call prolog(-inferior)-menu directly, not through the mode-hook.
1984         (prolog-buffer-module, prolog-indent-level)
1985         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1986         (prolog-comment-limits, prolog-goto-comment-column):
1987         Use line-(end|beginning)-position.
1988         (prolog-build-prolog-command): Tighten up regexp.
1989         (prolog-consult-compile): Move make-local-variable into `set'.
1990         (prolog-consult-compile-filter, prolog-goto-next-paren)
1991         (prolog-help-on-predicate, prolog-clause-info)
1992         (prolog-mark-predicate): Don't let+setq.
1993         (prolog-indent-line): Use indent-line-to.
1994         Only call prolog-goto-comment-column if necessary.
1995         (prolog-indent-level): Use bobp.
1996         (prolog-first-pos-on-line): Remove, not used any more.
1997         (prolog-in-string-or-comment): Use syntax-ppss if available.
1998         (prolog-help-on-predicate): Use read-string.
1999         (prolog-goto-predicate-info): Simplify.
2000         (prolog-read-predicate): Use `default' rather than `initial'.
2001         (prolog-temporary-file): Use make-temp-file to close a security hole.
2002         (prolog-toggle-sicstus-sd): New command.
2003         (prolog-electric-underscore, prolog-variables-to-anonymous):
2004         Use dynamic-scoping as it was meant.
2005         (prolog-menu): Move menu definitions to top-level.
2006         Use a toggle-button for Sicstus's source debugger.
2007         Change "Code" to the more usual "Prolog", and hence change "Prolog"
2008         to "System".
2009         (prolog-inferior-menu): Reuse prolog-menu's help menu.
2010         Move other menu definition to top-level.
2012 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2014         * doc-view.el (doc-view-open-text): Use meaningful text buffer
2015         name.  Keep original document's directory as default-directory
2016         (bug#6446).
2017         (doc-view-initiate-display): Fall back to normal mode when
2018         doc-view-mode cannot be enabled, also when extracting the document
2019         text into a separate buffer (bug#6446).
2021         * simple.el (shell-command): Don't error out if shell command
2022         buffer contains text with non-nil read-only property when erasing
2023         the buffer.
2025 2011-01-13  Kim F. Storm  <storm@cua.dk>
2027         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2028         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2029         items when cycling through the matches.
2031 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2033         * dired-x.el (dired-omit-verbose): New defcustom that allows
2034         disabling the omit messages.
2035         (dired-omit-expunge): Use it.
2037 2011-01-13  Christian Ohler  <ohler@gnu.org>
2039         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2041 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2043         * font-lock.el (font-lock-verbose): Default to nil.
2045 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2047         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2048         (compose-mail): New arg RETURN-ACTION.
2049         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2051         * mail/sendmail.el (mail-return-action): New var.
2052         (mail-mode): Make it buffer-local.
2053         (mail-bury): Obey it.  Move special Rmail window handling to
2054         rmail-mail-return.
2055         (mail, mail-setup): New arg RETURN-ACTION.
2056         (sendmail-user-agent-compose): Move from simple.el.
2058         * mail/rmail.el (rmail-mail-return): New function.
2059         (rmail-start-mail): Pass it to compose-mail.
2061 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2063         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2064         menus.  Add menu item for customize-themes.
2066         * cus-theme.el (customize-themes):
2067         * emacs-lisp/package.el (package--list-packages):
2068         Use switch-to-buffer.
2070 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2072         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2074 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2076         * progmodes/prolog.el: Fix up coding convention and such.
2077         (prolog-indent-width): Use the same default as in
2078         previous prolog.el rather than tab-width which depends on which buffer
2079         is current when the file is loaded.
2080         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2081         is not available.
2082         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2083         (prolog-known-systems): Remove.
2084         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2085         Move initialization into declaration.
2086         (prolog-mode-map): Move initialization into declaration.
2087         Remove system-specific mode-map vars, since they referred to the same
2088         keymap anyway.
2089         (prolog-mode-variables): Obey the user's preference w.r.t
2090         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2091         (prolog-mode-keybindings-edit): Add compatibility bindings.
2092         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2093         (mercury-mode-map): New var.
2094         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2095         (prolog-ensure-process, prolog-process-insert-string)
2096         (prolog-consult-compile): Use with-current-buffer.
2097         (prolog-guess-fill-prefix): Simplify data flow.
2098         (prolog-replace-in-string): New function to use instead of
2099         replace-in-string.
2100         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2101         (prolog-uncomment-region): Use `uncomment-region' when available.
2102         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2103         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2104         of int-to-char and char-to-int.
2105         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2107 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2109         * progmodes/prolog.el: Replace by a whole new file.
2111 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2113         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2114         (declare-function, undefined, insert-for-yank)
2115         (replace-regexp-in-string): Follow checkdoc's recommendations.
2117 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2119         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2120         refreshing the diary buffer.
2122 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2124         * allout.el: Add 2011 to the file copyright.
2125         (allout-encrypt-string): Prevent encryption from adding an extra
2126         newline at the end of the topic body.
2127         (allout-version): Increment to 2.3.
2129 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2131         * net/dbus.el (dbus-unregister-service): Complete doc.
2132         Fix call of dbus-error signal.
2133         (dbus-register-property): Use `dont-register' keyword.
2135 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2137         * net/dbus.el (dbus-unregister-service): Translate returned
2138         integer into a symbol.
2139         (dbus-register-property): Use `dbus-register-service' to do the
2140         name registration.
2142 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2144         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2145         Suggested by Joakim Verona.
2147         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2149         * wid-edit.el (visibility): Replace :on-image and :off-image
2150         widget properties with :on-glyph and :off-glyph, for consistency
2151         with the `visibility' widget.
2152         (widget-toggle-value-create, widget-visibility-value-create):
2153         Merge into a single function `widget-toggle-value-create'.
2155         * cus-edit.el (custom-variable-value-create, custom-visibility)
2156         (custom-face-edit-value-create, custom-face-value-create):
2157         Replace :on-image and :off-image widget properties with :on-glyph and
2158         :off-glyph, for consistency with the `visibility' widget.
2160 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2162         * net/ldap.el (ldap-search-internal): Don't use eval.
2164 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2166         * subr.el (read-char-choice): Use read-key.
2168         * custom.el (custom-safe-themes): Rename from
2169         custom-safe-theme-files.  Add :risky tag.
2170         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2171         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2173 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2175         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2176         from Search and add a label to Undo.
2178         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2179         inappropriate buttons and adding :vert-only tags.
2181         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2182         removal of Help tool-bar button.  Remove Undo button for space.
2184         * info.el (info-tool-bar-map): Add :vert-only tags.
2186 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2188         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2189         image backend support.  Either of them is fine.
2191 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2193         * subr.el (y-or-n-p): Doc fix.
2195         * custom.el (custom-safe-theme-files): New defcustom.
2196         (custom-theme-load-confirm): New function.
2197         (load-theme): Load theme using `load', confirming with
2198         custom-theme-load-confirm if necessary.
2200         * subr.el (read-char-choice): New function, factored out from
2201         dired-query and hack-local-variables-confirm.
2203         * dired-aux.el (dired-query):
2204         * files.el (hack-local-variables-confirm): Use it.
2206         * dired-aux.el (dired-compress-file):
2207         * files.el (abort-if-file-too-large, find-alternate-file)
2208         (set-visited-file-name, write-file, backup-buffer)
2209         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2210         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2211         Use new format string args for y-or-n-p and yes-or-no-p.
2213 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2215         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2216         [gcc-include]: Tighten file name match, add match for column
2217         number.  (Bug#7806)
2218         [gnu]: Remove unused group.
2220 2011-01-08  Glenn Morris  <rgm@gnu.org>
2222         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2224         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2226 2011-01-07  Sam Steingold  <sds@gnu.org>
2228         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2229         the `explicit-shell-file-name' because that is the
2230         non-interactive shell.
2232 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2234         * subr.el (y-or-n-p): Accept format string args.
2236 2011-01-07  Glenn Morris  <rgm@gnu.org>
2238         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2240 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2242         * allout.el (allout-back-to-current-heading): Ensure return to
2243         the visible containing topic, rather than a collapsed one.
2244         (allout-view-change-hook): Remove hook that was deprecated long ago.
2245         (allout-exposure-change-hook): Remove documentation remarks
2246         concerning removed allout-view-change-hook.
2247         (allout-flag-region): Remove invocation of and documentation
2248         remarks concerning allout-view-change-hook.
2250 2011-01-06  Glenn Morris  <rgm@gnu.org>
2252         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2253         (vc-bzr-annotate-extract-revision-at-line):
2254         Handle authors with embedded spaces.  (Bug#7792)
2256 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2258         * doc-view.el (doc-view-image-width): New variable.
2259         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2260         backend for PNG images, and do dynamic rescaling instead of
2261         reconverting the whole doc.
2263 2011-01-05  Glenn Morris  <rgm@gnu.org>
2265         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2267 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2269         * allout.el: Reconcile with changes in line movement behavior for
2270         long text lines that cross more than a single physical window
2271         line, ie when truncate-lines is nil.
2272         (allout-next-visible-heading): Provide for change in line-move
2273         behavior on long lines when truncate-lines is nil.  In that case,
2274         line-move can wind up on the same textual line when it moves to
2275         the next window line, and moving to the bullet position after the
2276         move yields zero advancement.  Add logic to detect and compensate
2277         for the lack of progress.
2278         (allout-current-topic-collapsed-p): move-end-of-line respect for
2279         field boundaries is different when operating with body lines
2280         shorter than window width versus ones greater than window width,
2281         which can yield false negatives in this function.  Avoid
2282         difference by applying move-end-of-line while field-text-motion is
2283         inhibited.
2285 2011-01-04  Glenn Morris  <rgm@gnu.org>
2287         * textmodes/rst.el (rst-compile-toolsets):
2288         Add pdf and s5 to option alist.
2290 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2292         * net/dbus.el (dbus-register-property): Add optional parameter
2293         dont-register-service.  Updated docstring accordingly.
2295 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2297         * textmodes/rst.el (rst-compile-pdf-preview)
2298         (rst-compile-slides-preview): Remove extra line.
2300 2011-01-04  Glenn Morris  <rgm@gnu.org>
2302         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2303         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2304         default to `prog' without a .py extension.
2305         (rst-compile-pdf-preview, rst-compile-slides-preview):
2306         Use program names from rst-compile-toolsets, rather than hard-coding.
2307         (rst-portable-mark-active-p): Fix presumed typo.
2309 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2311         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2312         libpng versions both before and after 1.4.0.  (Bug#7716)
2314 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2316         * time.el (display-time-mode): Mention display-time-interval in
2317         the doc string.  (Bug#7713)
2319 2011-01-02  Kenichi Handa  <handa@m17n.org>
2321         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2322         condition-case and return an error message string if something
2323         goes wrong.
2324         (rmail-show-mime): Adjust for the above change.  Insert the
2325         header by rmail-mime-insert-header.
2327 2011-01-02  Kenichi Handa  <handa@m17n.org>
2329         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2330         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2331         (rmail-mime-mbox-buffer)
2332         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2333         (rmail-mime-entity): Argument changed.  All codes handling an
2334         entity object are changed.
2335         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2336         the above change.
2337         (rmail-mime-entity-children, rmail-mime-entity-handler)
2338         (rmail-mime-entity-tagline): New functions.
2339         (rmail-mime-message-p): New function.
2340         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2341         (rmail-mime-entity-segment, rmail-mime-next-item)
2342         (rmail-mime-previous-item, rmail-mime-shown-mode)
2343         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2344         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2345         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2346         New functions.
2347         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2348         (rmail-mime-insert-decoded-text): New function.
2349         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2350         (rmail-mime-insert-image): Argument changed.  Caller changed.
2351         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2352         (rmail-mime-set-bulk-data): New function.
2353         (rmail-mime-insert-bulk): Argument changed.
2354         (rmail-mime-multipart-handler): Return t.
2355         (rmail-mime-process-multipart): Argument changed.
2356         Handle "multipart/alternative" here.
2357         (rmail-mime-process): Argument changed.
2358         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2359         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2360         (rmail-mime): Argument changed.  Handle toggling of raw display
2361         mode.
2362         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2363         rmail-mime-view-buffer.
2364         (rmail-insert-mime-forwarded-message): Likewise.
2365         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2367         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2368         non-nil, handle the header in rmail-show-mime-function.
2370 2011-01-02  Leo  <sdl.web@gmail.com>
2372         * help-fns.el (describe-variable): Fix previous change.
2374 2011-01-02  Juri Linkov  <juri@jurta.org>
2376         * isearch.el (isearch-lazy-highlight-error): New variable.
2377         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2378         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2379         to the current value of `isearch-error' (Bug#7468).
2381 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2383         * help-fns.el (describe-variable): Don't emit trailing whitespace
2384         (Bug#7511).
2386 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2388         * textmodes/rst.el (rst-compile-pdf-preview)
2389         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2391 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2393         * emulation/edt-mapper.el: Override mapping of function keys so
2394         that the later call to read-key-sequence works.
2396 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2398         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2399         Unix EOLs.  (Bug#7589)
2401 2011-01-02  Leo  <sdl.web@gmail.com>
2403         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2404         if point is not behind eshell-last-output-end (Bug#7585).
2406 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2408         * files.el (file-local-variables-alist):
2409         Make permanent-local (bug#7767).
2411 2011-01-02  Glenn Morris  <rgm@gnu.org>
2413         * version.el (emacs-copyright): Set short copyright year to 2011.
2415 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2417         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2418         an existing temp buffer.  (Bug#7746)
2420 2011-01-02  Glenn Morris  <rgm@gnu.org>
2422         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2423         multiple addresses.  (Bug#7760)
2425 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2427         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2428         do-auto-fill if everything points back to allout-auto-fill.
2429         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2430         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2432 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2434         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2435         and "scpx".
2437 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2439         * doc-view.el (doc-view-set-doc-type): New function refactored
2440         from doc-view-mode.
2441         (doc-view-fallback-mode): New function.
2442         (doc-view-mode): Use it.
2443         (doc-view-mode-maybe): New function that checks if doc-view-mode
2444         can be used and falls back to the next best mode otherwise.
2446         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2447         DVI, OpenDocument, and MS Office files.
2449 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2451         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2453 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2455         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2456         on a copy of auto-mode-alist, because that deletes with side
2457         effects.
2459 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2461         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2462         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2463         fallback instead of hard coding fundamental mode.
2465 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2467         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2468         Office) files also for searching.
2470 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2472         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2473         Office) files.  Not yet enabled via auto-mode-list.
2474         (doc-view-unoconv-program): New custom variable.
2475         (doc-view-mode-p): Handle new odf document type.
2476         (doc-view-odf->pdf): New conversion function.
2477         (doc-view-convert-current-doc): Call it for odf files.
2478         (doc-view-mode): Recognize newly supported file extensions.
2480 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2482         * net/tramp.el (tramp-default-method-alist)
2483         (tramp-default-user-alist)
2484         (tramp-local-host-regexp, tramp-prefix-domain-format)
2485         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2487         * net/tramp-ftp.el:
2488         * net/tramp-gvfs.el:
2489         * net/tramp-gw.el:
2490         * net/tramp-imap.el:
2491         * net/tramp-sh.el:
2492         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2493         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2495 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2497         * saveplace.el (save-place-alist-to-file): Save list sorted and
2498         pretty-printed, so that it is mergeable by line-based text merging,
2499         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2501 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2503         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2504         (allout-mode): Argument "toggle" => "force".
2505         Refine the docstring.
2506         Remove special provisions for reactivation, besides the 'force'
2507         argument.
2508         Consolidate layout provisions coce directly into the activation
2509         condition branch, now that we've removed those provisions.
2510         (allout-unload-function): Explicitly activate the mode before
2511         deactivating, if it's initially deactivated.
2512         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2513         warnings for version of function used only where
2514         set-buffer-multibyte is unavailable.
2516 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2518         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2519         are handled by the menu-bar entries.  As before, don't use
2520         :visibile to avoid changing the tool-bar.
2522 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2524         * net/secrets.el (secrets-delete-alias): New defun.
2526 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2528         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2529         methods, otherwise ~/.ssh/config would be ignored.
2531 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2533         * emacs-lisp/rx.el: Make it a superset of sregex.
2534         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2535         of args, add `regex' alias.
2536         (rx-info): Add arg to distinguish head and standalone forms.
2537         (rx-check, rx-form): Pass the corresponding arg.
2538         (rx-**): Simplify.
2539         (rx-repeat): Make it work for any number of args.
2540         (rx-syntax): Make it accept syntax chars as is.
2541         * obsolete/sregex.el: Move from emacs-lisp/.
2542         * emacs-lisp/re-builder.el: Remove sregex support.
2543         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2545 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2547         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2548         PRIMARY first, then the clipboard.  (Bug#7699)
2550 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2552         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2553         print-number-table.
2555 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2557         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2558         .emacs.elc (Bug#7530).
2560         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2561         image spec (Bug#7480).
2563 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2565         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2566         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2567         Move from lisp/.
2569 2010-12-20  Leo  <sdl.web@gmail.com>
2571         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2572         always be performed (Bug#7680).
2574 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2576         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2577         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2578         mouse-region-match.
2580         * color.el: Move from gnus/.
2582         * vc/diff.el (diff-better-file-name): Function deleted.
2583         abbreviating file names causes problems with shell-quote-argument.
2584         (diff-no-select): Just use expand-file-name.
2586         * tool-bar.el (tool-bar--image-expression): New function.
2587         (tool-bar-local-item, tool-bar--image-exp): Use it.
2588         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2589         Use :enable instead of :visible to avoid changing the tool-bar
2590         configuration unnecessarily.
2592         * info.el (info-tool-bar-map): Add separators.
2594 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2596         * loadup.el: Use version numbers in Cygwin build.
2598 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2600         * ido.el (ido-file-internal): Ask for confirmation before
2601         overwriting an existing file (Bug#1238).
2603 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2605         * tool-bar.el (tool-bar-setup): Add separators.
2607         * menu-bar.el (featurep): Use menu-bar-separator.
2609 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2611         Migrate allout encryption provisions from pgg to epg.
2613         * allout.el (allout-toggle-current-subtree-encryption)
2614         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2615         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2616         for simpler universal argument interpretation.
2617         (allout-toggle-subtree-encryption): Adjust docstring to describe
2618         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2619         simpler universal argument interpretation.  Remove provisions for
2620         handling key type and identity - they'll all be within
2621         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2622         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2623         for keypair recipients (universal argument > 1) and, in addition,
2624         associating the specified recipients with the outline (universal
2625         argument > 4) using a file local variable setting for
2626         'epa-file-encrypt-to'.
2627         Require epa, for recipients handling.
2628         Change how regexp filtering elements are named.
2629         Describe the problem with caching of incorrect symmetric-decryption
2630         keys.
2631         Use the epa-passphrase-callback-function, in case the user is using
2632         GnuPG v1.
2633         Support saving of the selected keypair recipients when invoked with a
2634         keymode-cue > 4.
2635         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2636         Require 'epa.
2637         Establish epg-context with armoring and default epg-protocol.
2638         Remove all passphrase cache, verification, and hinting code.
2639         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2640         No longer used, delete.
2641         (allout-mode): Adjust docstring to describe changed encryption
2642         provisions.  Describe the problem with caching of incorrect
2643         symmetric-decryption keys.
2644         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2645         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2646         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2647         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2648         Obsolete, remove.
2650 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2652         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2653         key selection prompt; make 'silent as default (Bug#7487).
2655 2010-12-16  Leo  <sdl.web@gmail.com>
2657         * eshell/eshell.el (eshell-directory-name):
2658         Use locate-user-emacs-file (Bug#7578).
2660 2010-12-15  Glenn Morris  <rgm@gnu.org>
2662         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2664 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2665             Scott Evans <gse@antisleep.com>
2667         * rect.el (rectange--default-line-number-format)
2668         (rectangle-number-line-callback): New functions.
2669         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2671 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2673         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2674         Delete unused variables.
2675         (move-to-column-force): Remove function obsolete since 21.2.
2677 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2679         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2680         (tramp-handle-insert-file-contents): Do not set permanent-local
2681         property.
2683         * net/tramp-cache.el (tramp-persistency-file-name):
2684         Use `locate-user-emacs-file' if fboundp.
2686         * net/tramp-sh.el (tramp-methods): Add "ksu".
2687         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2688         method list.
2690 2010-12-14  Glenn Morris  <rgm@gnu.org>
2692         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2693         (find-tag-marker-ring): Declare.
2694         (js-find-symbol): Require etags.
2696         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2697         Require mail-utils.
2698         (mail-alias-file): Don't autoload.  Doc fix.
2699         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2700         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
2701         Mark as obsolete, and risky.
2702         (mail-setup): Simplify.
2704         * mail/mailalias.el (build-mail-aliases): Make it interactive.
2705         * mail/sendmail.el (build-mail-aliases): Update autoload.
2707         * dired.el (dired-trivial-filenames, dired-chown-program)
2708         (dired-auto-revert-buffer): Remove autoload cookies.
2709         * mail/sendmail.el (mail-recover-1): Require 'dired.
2711         * dired.el (dired-subdir-switches, dired-chown-program)
2712         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2713         Make into defcustoms.
2714         (dired-chown-program): Simplify initialization.
2716         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2718 2010-12-13  Romain Francoise  <romain@orebokech.com>
2720         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2722 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2724         * net/netrc.el (netrc-point-at-eol): Remove the unused
2725         netrc-point-at-old and netrc-bound-and-true-p bindings.
2726         (netrc-parse): Cache the netrc contents.
2728 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2730         * subr.el (posn-col-row): Evaluate header-line-format in the
2731         context of the POSITION window's buffer.
2733 2010-12-13  Glenn Morris  <rgm@gnu.org>
2735         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2736         (with-silent-modifications): Doc fixes.
2738 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2740         * net/tramp.el (tramp-action-password, tramp-process-actions):
2741         Revert previous from.  Use `save-restriction'.
2743 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
2745         * calendar/diary-lib.el (diary-list-sexp-entries):
2746         Handle case of no newline at end of file.  (Bug#7536)
2748 2010-12-13  Glenn Morris  <rgm@gnu.org>
2750         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2752 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2754         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2755         (tramp-process-actions): Do not widen.
2757         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2758         Protect buffer-modified value.  (Bug#7557)
2760 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
2762         * log-edit.el (log-edit-changelog-entries):
2763         Regexp quote filename.  (Bug#7505)
2765 2010-12-13  Tom Breton  <tehom@panix.com>
2767         * cus-edit.el (custom-save-all):
2768         Bind print-length and print-level to nil.  (Bug#7581)
2770 2010-12-13  Glenn Morris  <rgm@gnu.org>
2772         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2773         Run hooks to update menu contents.  (Bug#7586)
2775         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2776         file names, for the sake of MS Windows.  (Bug#7588)
2778 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2780         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2781         empty lines without a leading space.
2783 2010-12-13  Leo  <sdl.web@gmail.com>
2785         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2786         while mapping over marks (Bug#6810).
2788 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2790         * image-dired.el (image-dired-db-file)
2791         (image-dired-temp-image-file, image-dired-gallery-dir)
2792         (image-dired-temp-rotate-image-file): Set default values relative
2793         to image-dired-dir (Bug#7518).
2795 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
2797         * format.el (format-decode-run-method): Pass args FROM and TO, not
2798         point-min and point-max, to shell-command-on-region (Bug#7488).
2800 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
2802         * frame.el (blink-cursor-mode): Make default t for ns.
2804 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2806         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2808 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2810         * comint.el (comint-dynamic-list-input-ring)
2811         (comint-dynamic-complete-filename)
2812         (comint-replace-by-expanded-filename)
2813         (comint-dynamic-simple-complete)
2814         (comint-dynamic-list-filename-completions)
2815         (comint-dynamic-list-completions): Doc fix (Bug#7499).
2817         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2818         Doc fix (Bug#7471).
2820 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
2822         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2823         (Bug#7533).
2825 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
2827         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2828         (Bug#7491).
2830 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2832         * files.el (file-relative-name): Handle UNC file names on
2833         DOS/Windows.  (Bug#4674)
2835 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
2837         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2838         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2839         (epg-context-set-passphrase-callback): Mention that the callback
2840         is not called when used with GnuPG 2.x.
2842 2010-12-13  Glenn Morris  <rgm@gnu.org>
2844         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2845         Ensure ps-footer-font-size-internal is initialized.
2846         Call ps-get-page-dimensions before trying to use ps-font-for-text.
2848 2010-12-13  Kenichi Handa  <handa@m17n.org>
2850         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2851         within condition-case.
2852         (rmail-show-mime): Don't use condition-case.
2853         (rmail-search-mime-message): New function.
2854         (rmail-search-mime-message-function): Set to
2855         rmail-search-mime-message.
2857 2010-12-13  Leo  <sdl.web@gmail.com>
2859         * ido.el (ido-common-initialization): New function.  (bug#3274)
2860         (ido-mode): Use it.
2861         (ido-completing-read): Call it.
2863 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
2865         * bookmark.el (bookmark-name-from-full-record): Rename back to
2866         this original name from `bookmark-name-from-record' reverting part
2867         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2868         As Drew Adams pointed out, there was no reason to cause churn for
2869         third-party callers.  (Bug#7609)
2871 2010-12-12  Alan Mackenzie  <acm@muc.de>
2873         * progmodes/cc-engine.el (c-forward-type): Before scanning a
2874         template arglist, check that the current language supports this.
2876 2010-12-11  Glenn Morris  <rgm@gnu.org>
2878         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2879         state of the file matches.  (Bug#7544)
2880         (vc-bzr-register, vc-bzr-checkin)
2881         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2882         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2884         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2886 2010-12-11  Karel Klíč  <kklic@redhat.com>
2888         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
2890 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2892         Derive from prog-mode, use derived-mode-p, and fix up various
2893         minor style issues in lisp/progmodes.
2895         * progmodes/vhdl-mode.el (vhdl-mode):
2896         * progmodes/verilog-mode.el (verilog-mode):
2897         * progmodes/vera-mode.el (vera-mode):
2898         * progmodes/sql.el (sql-mode):
2899         * progmodes/scheme.el (scheme-mode):
2900         * progmodes/perl-mode.el (perl-mode):
2901         * progmodes/octave-inf.el (inferior-octave-mode):
2902         * progmodes/autoconf.el (autoconf-mode):
2903         * progmodes/m4-mode.el (m4-mode):
2904         * progmodes/inf-lisp.el (inferior-lisp-mode):
2905         * progmodes/idlwave.el (idlwave-mode):
2906         * progmodes/icon.el (icon-mode):
2907         * progmodes/idlw-help.el (idlwave-help-mode):
2908         * progmodes/dcl-mode.el (dcl-mode):
2909         * progmodes/idlw-shell.el (idlwave-shell-mode):
2910         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2911         (ebrowse-member-mode, ebrowse-electric-position-mode):
2912         Use define-derived-mode.
2914         * progmodes/xscheme.el (exit-scheme-interaction-mode)
2915         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2916         (xscheme-debugger-mode-p, xscheme-send-string-1):
2917         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2918         (tcl-load-file, tcl-restart-with-file):
2919         * progmodes/ps-mode.el (ps-run-running):
2920         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2921         * progmodes/js.el (js--get-all-known-symbols):
2922         * progmodes/inf-lisp.el (inferior-lisp-proc):
2923         * progmodes/idlwave.el (idlwave-beginning-of-statement)
2924         (idlwave-template, idlwave-update-buffer-routine-info)
2925         (idlwave-update-current-buffer-info)
2926         (idlwave-get-routine-info-from-buffers, idlwave-choose)
2927         (idlwave-scan-class-info, idlwave-fix-keywords)
2928         (idlwave-list-buffer-load-path-shadows):
2929         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2930         (idlwave-toolbar-remove):
2931         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2932         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2933         (idlwave-shell-menu-def):
2934         * progmodes/idlw-complete-structtag.el
2935         (idlwave-prepare-structure-tag-completion):
2936         * progmodes/gud.el (gud-set-buffer):
2937         * progmodes/f90.el (f90-backslash-not-special):
2938         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2940         * progmodes/xscheme.el (xscheme-start)
2941         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2942         * progmodes/which-func.el (which-function):
2943         * progmodes/vhdl-mode.el (vhdl-set-style):
2944         * progmodes/verilog-mode.el (verilog-set-compile-command)
2945         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2946         (verilog-set-define, verilog-auto-reeval-locals):
2947         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2948         * progmodes/simula.el (simula-mode):
2949         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2950         * progmodes/python.el (python-check, python-mode):
2951         * progmodes/prolog.el (prolog-mode-variables):
2952         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2953         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2954         * progmodes/delphi.el (delphi-mode):
2955         * progmodes/cc-styles.el (c-setup-paragraph-variables):
2956         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2957         (c-font-lock-init): Move make-local-variable to their setq.
2959         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2960         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2961         make-local-hook.
2962         * progmodes/sh-script.el (sh-require-final-newline): Remove.
2963         (sh-set-shell): Don't set require-final-newline since it's already done
2964         by prog-mode.
2965         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2966         since we never set it.
2967         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2968         Use read-string and standard prompt.
2969         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2970         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2971         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2972         (meta-common-mode-map): Rename from meta-mode-map.
2973         Remove C-m binding, which is a user preference, not mode specific.
2974         (meta-common-mode): New major mode; replace meta-common-initialization.
2975         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2976         around with font-lock.
2977         * progmodes/etags.el (select-tags-table-mode):
2978         Derive from special-mode.
2979         * progmodes/octave-mod.el (octave-mode):
2980         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2981         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2982         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2983         Let define-derived-mode do its job.
2984         * progmodes/cpp.el (cpp-edit-mode-map):
2985         Move initialization into declaration.
2986         (cpp-edit-mode): Use define-derived-mode.
2987         (cpp-edit-load): Use derived-mode-p.
2988         * progmodes/mixal-mode.el (mixal-mode):
2989         * progmodes/f90.el (f90-mode):
2990         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2991         require-final-newline since prog-mode does it already.
2992         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2993         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2994         * progmodes/antlr-mode.el: Require cc-mode upfront.
2995         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2996         the declaration.
2997         (antlr-directory-dependencies, antlr-show-makefile-rules):
2998         Use derived-mode-p.
2999         (antlr-language-option): Don't assume point-min==1.
3000         (antlr-mode): Use define-derived-mode.
3001         * progmodes/ada-mode.el: Use derived-mode-p.
3002         (ada-mode): Use define-derived-mode.
3003         Use hack-local-variables-hook.
3005 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3007         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3008         (texinfo-mode): Don't disable adaptive-fill-mode.
3009         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3010         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3011         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3012         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3013         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3014         (texinfo-insert-@quotation, texinfo-insert-@samp)
3015         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3016         (texinfo-insert-@uref): Use define-skeleton.
3017         (texinfo-insert-@-with-arg): Delete.
3019 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
3021         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3022         nil, do quote archive member names.  (Bug#6144)
3024 2010-12-10  Glenn Morris  <rgm@gnu.org>
3026         * files.el (diff-no-select): Declare.
3028         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3029         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3031         * comint.el (comint-input-ring-file-name): Doc fix.
3033 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3035         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3036         New functions.
3037         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3038         Use them instead of `nil' and `>', respectively.
3039         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3040         instead of `nil'.
3041         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3042         and menu-bar-positive-p instead of `nil' and `>', respectively.
3043         (Bug#1077)
3045 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3047         * whitespace.el (whitespace-newline-mode): Code fix.
3049 2010-12-09  Glenn Morris  <rgm@gnu.org>
3051         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3052         Rename functions without commas, update callers.
3054 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3056         * whitespace.el (whitespace-cleanup-region):
3057         Clean up spaces before tabs.  (Bug#7582)
3059 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3061         * bookmark.el: Adjust parameter names and doc strings to resolve
3062         confusion over whether "bookmark" meant a bookmark name or a
3063         bookmark record.  Along the way, shorten one function's name for
3064         similar reasons.  (Issue #7548)
3065         (bookmark-name-from-record): New name for
3066         `bookmark-name-from-full-record'.  All callers changed.
3067         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3068         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3069         (bookmark-get-annotation, bookmark-set-annotation)
3070         (bookmark-get-filename, bookmark-set-filename)
3071         (bookmark-get-position, bookmark-set-position)
3072         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3073         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3074         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3075         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3076         Rename `bookmark' parameter to `bookmark-name-or-record', to
3077         clearly show its role, and shorten or adjust doc strings accordingly.
3078         (bookmark-set-name): Same, and pass the parameter directly to
3079         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3080         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3081         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3082         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3083         and in some cases shorten doc string accordingly.
3084         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3085         and `new-name', and adjust an internal variable to avoid confusion.
3086         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3087         parameter in doc string.
3089 2010-12-08  Glenn Morris  <rgm@gnu.org>
3091         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3092         from gdb's history file.  (Bug#7575)
3094         * mail/emacsbug.el (report-emacs-bug):
3095         Try to handle some other mail clients.
3097 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3099         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3100         Use string-prefix-p.
3101         (file-name-version-regexp): New var.
3102         (file-name-sans-versions):
3103         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3104         (jka-compr-get-compression-info): Use dolist.
3105         (jka-compr-compression-info-list): Don't bother specifying
3106         version/backup regexps.
3108 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3110         * simple.el (just-one-space): Make argument n default to 1 if
3111         omitted.
3113 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3115         * electric.el (electric-indent-post-self-insert-function):
3116         Delete trailing newlines even if we don't reindent.
3118 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3120         * minibuffer.el (completion-at-point): Remove the `arg'.
3121         * bindings.el (complete-symbol): Move back from minibuffer.el.
3123 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3125         * simple.el (just-one-space): Delete newlines for negative arg.
3127 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3129         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3130         (ansi-color-filter-apply): Simplify.
3131         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3133 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3135         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3137 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3139         * dired.el (dired-use-ls-dired): Set default to a special
3140         "unspecified" value.
3141         (dired-insert-directory): When called the first time, check
3142         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3144 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3146         * replace.el: Add "collect" feature to occur.
3147         (occur-collect-regexp-history): New var.
3148         (occur-read-primary-args): Return a replace string for nlines,
3149         if needed.
3150         (occur): Extend the meaning of nlines.
3152 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3154         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3155         (which-func-update-1): Distinguish symbols from strings.
3156         (which-function): Stay within 80 columns.
3158 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3160         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3162         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3163         Improve docstring.
3164         (comment-style): Use comment-styles's docs to describe values.
3166 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3168         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3169         and ns-show-prefs (Bug#7535).
3171         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3172         bindings (Bug#7535).
3174 2010-12-03  Glenn Morris  <rgm@gnu.org>
3176         * nxml/nxml-mode.el: Require rng-nxml.
3177         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3178         Remove declarations.
3180         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3181         * nxml/rng-nxml.el, nxml/rng-valid.el:
3182         Remove leading `*' from defcustom docs.
3184         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3185         (normal-top-level-add-to-load-path, tty-handle-args):
3186         Convert comments to basic doc-strings.
3188         * net/browse-url.el (browse-url-url-at-point)
3189         (browse-url-default-browser): Remove autoload cookies.
3191         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3192         Remove more undefined cl functions.
3194         * vc/diff.el (diff-sentinel): Make new arguments optional.
3195         * ibuf-ext.el (diff-sentinel): Update declaration.
3197 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3199         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3200         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3201         (epg-context-set-passphrase-callback): Mention that the callback
3202         is not called when used with GnuPG 2.x.
3204 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3206         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3207         (tramp-file-name-port): Check also for `tramp-default-port'.
3208         (tramp-get-connection-name): New defun.
3209         (tramp-get-connection-process): Use it.
3210         (tramp-debug-message): Extend function exclude list.
3211         (tramp-drop-volume-letter): Fix doc string.
3213         * net/tramp-cmds.el: Remove solved todo item.
3215         * net/tramp-ftp.el:
3216         * net/tramp-gvfs.el:
3217         * net/tramp-gw.el:
3218         * net/tramp-imap.el:
3219         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3220         and `tramp-default-user-alist', respectively.
3222         * net/tramp-gw.el (tramp-gw-open-connection):
3223         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3225         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3226         `tramp-file-name-port'.
3228         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3229         and "psftp".  Exchange "%k" marker with options.
3230         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3231         Compute size of link target.
3232         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3233         `tramp-current-*' up due to gateway methods.  Optimize computing of
3234         copy arguments.  Use `tramp-get-connection-name' and
3235         `tramp-get-connection-buffer'.  Improve debug messages.
3236         (tramp-compute-multi-hops): Remove port determination.
3237         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3239         * net/trampver.el: Update release number.
3241 2010-12-02  Glenn Morris  <rgm@gnu.org>
3243         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3244         Avoid infinite loop over windows.  (Bug#7492)
3246         * progmodes/flymake.el (flymake-check-file-limit):
3247         Allow nil to mean "no limit".
3248         (flymake-check-patch-master-file-buffer): Update for above change.
3249         Allow a .tex file-name extension to be optional.
3250         (flymake-master-tex-init): Also match \include statements.
3252 2010-11-30  Sam Steingold  <sds@gnu.org>
3254         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3255         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3256         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3257         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3258         define-derived-mode').
3259         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3260         users who want to call `nxml-parent-document-set'.
3262 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3264         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3265         stand-alone lines, since that is handled by log-edit-match-to-eoh
3266         (Bug#6465).
3268 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3270         * dired.el (dired-get-filename): Replace backslashes with slashes
3271         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3272         * locate.el (locate-default-make-command-line): Don't consider
3273         drive letter and root directory part of
3274         `directory-listing-before-filename-regexp'.  (Bug#7308)
3275         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3277 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3279         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3280         of :smie-open/close-alist.
3281         (smie-next-sexp): Make it accept a "start token" as argument.
3282         (smie-indent-keyword): Be careful not to misidentify tokens that span
3283         more than one line, as empty lines.  Add argument `token'.
3285 2010-11-27  Kenichi Handa  <handa@m17n.org>
3287         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3288         multipart subtypes, insert all as usual.
3290         * mail/rmail.el: Require rfc2047.
3292 2010-11-27  Kenichi Handa  <handa@m17n.org>
3294         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3295         (rmail-mime-entity-disposition)
3296         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3297         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3298         (rmail-mime-save): Handle the case that the button's `data' is a
3299         MIME entity.
3300         (rmail-mime-insert-text): New function.
3301         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3302         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3303         (rmail-mime-insert-bulk): New function mostly copied from the old
3304         rmail-mime-bulk-handler.
3305         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3306         (rmail-mime-process-multipart): New function mostly copied from
3307         the old rmail-mime-multipart-handler.
3308         (rmail-mime-show): Just call rmail-mime-process.
3309         (rmail-mime-process): New function mostly copied from the old
3310         rmail-mime-show.
3311         (rmail-mime-insert-multipart, rmail-mime-parse)
3312         (rmail-mime-insert, rmail-show-mime)
3313         (rmail-insert-mime-forwarded-message)
3314         (rmail-insert-mime-resent-message): New functions.
3315         (rmail-insert-mime-forwarded-message-function): Set to
3316         rmail-insert-mime-forwarded-message.
3317         (rmail-insert-mime-resent-message-function): Set to
3318         rmail-insert-mime-resent-message.
3320         * mail/rmailsum.el: Require rfc2047.
3321         (rmail-header-summary): Handle multiline Subject: field.
3322         (rmail-summary-line-decoder): Change the default to
3323         rfc2047-decode-string.
3325         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3326         (rmail-mime-feature): Change the default to `rmailmm'.
3327         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3328         (rmail-display-labels): Likewise.
3329         (rmail-show-message-1): Check rmail-enable-mime, and use
3330         rmail-show-mime-function for a MIME message.  Decode the headers
3331         according to RFC2047.
3333 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3335         * progmodes/which-func.el (which-func-imenu-joiner-function):
3336         Return a string, as expected.
3337         (which-function-mode): Make sure we stop any previous timer before
3338         starting a new one.
3340 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3342         * net/tramp.el (tramp-default-method-alist)
3343         (tramp-default-user-alist, tramp-default-proxies-alist):
3344         Adapt custom options type.  (Bug#7445)
3346 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3348         * progmodes/python.el: Add Ipython support (Bug#5390).
3349         (python-shell-prompt-alist)
3350         (python-shell-continuation-prompt-alist): New options.
3351         (python--set-prompt-regexp): New function.
3352         (inferior-python-mode, run-python, python-shell):
3353         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3354         prompt based on the Python interpreter.
3355         (python--prompt-regexp): New var.
3356         (python-check-comint-prompt)
3357         (python-comint-output-filter-function): Use it.
3358         (run-python): Use a pipe (Bug#5694).
3360 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3362         * progmodes/python.el (run-python): Doc fix.
3363         (python-keep-current-directory-in-path): New var (Bug#7454).
3365 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3367         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3368         Prompt user before actually printing.
3370 2010-11-27  Glenn Morris  <rgm@gnu.org>
3372         * startup.el (package-enable-at-startup, package-initialize):
3373         Remove unnecessary declarations.
3375 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3377         * international/characters.el (glyphless-char-display-control):
3378         Exclude newline and TAB from the c0-control group.
3380 2010-11-27  Glenn Morris  <rgm@gnu.org>
3382         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3383         (expand-mail-aliases): Remove unnecessary autoload.
3385         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3387         * shell.el (shell-dir-cookie-re): Move definition before use.
3389         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3390         Replace undefined CL functions.
3392 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3394         * simple.el (prog-mode): Set bidi-paragraph-direction to
3395         left-to-right.
3397         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3399 2010-11-26  Glenn Morris  <rgm@gnu.org>
3401         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3402         diary-outlook-formats can be sensitive to calendar-date-style.
3403         (diary-outlook-formats): Simplify the default setting.
3404         (diary-from-outlook-internal): Pass subject and body as arguments.
3405         Use dolist rather than dotimes.  Don't save the diary buffer.
3406         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3407         Pass subject and body as explicit arguments to the -internal function.
3409 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3411         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3412         parsing them.  This makes mailto:...?subject=foo\nbar work.
3414 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3416         * vc/diff.el (diff): Fix last change.
3418 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3420         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3421         (pcase--dontcare-upats): New var.
3422         (pcase-let, pcase-let*): Generate better code.
3423         Accept the same bodies as `let'.
3424         (pcase-dolist): New macro.
3425         (pcase--trivial-upat-p): New helper function.
3426         (pcase--expand): Strip leading "(let nil" if any.
3428 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3430         * mail/mailclient.el (browse-url): Require.
3431         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3432         use the external browser function to send the mail (bug#7469).
3434         * net/browse-url.el (browse-url-browser-function): Revert the
3435         default back to the previous value, since the new value broke
3436         mailclient.el.
3437         (browse-url-mailto-function): New variable for mailto: URLs.
3438         (browse-url): Use the new variable for mailto: URLs.
3440 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3442         * eshell/esh-cmd.el (eshell-parse-command):
3443         * eshell/esh-arg.el (eshell-parse-arguments):
3444         * eshell/em-script.el (eshell-source-file):
3445         Use with-silent-modifications.
3447 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3449         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3450         for a merge location.
3452         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3453         (vc-bzr-merge-branch): Always prompt.
3454         (vc-bzr-async-command): Use the full branch filename.
3456 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3458         * shell.el (shell): Use current-buffer by default if it's already
3459         a shell mode buffer and its process is dead.
3460         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3462 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3464         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3465         Mention that the keywords should be comma separated.
3467 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3469         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3470         Accept optional prefix arg meaning to prompt for a command.
3471         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3472         prefix arg meaning to prompt for a command.
3473         (vc-pull): Alias for vc-update.
3475         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3476         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3477         (vc-bzr-merge-branch): New functions, implementing merge-branch
3478         and pull operations.
3480 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3482         * Makefile.in: Fix up last merge.
3484         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3485         (diff-sentinel): Get them as arguments instead.
3486         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3487         (diff-file-local-copy, diff-better-file-name): New funs.
3488         (diff-no-select): Rename from diff-into-buffer.
3489         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3490         Prefer closures to buffer-local variables.
3491         (diff): Adjust accordingly.
3492         (diff-buffer-with-file): Move from files.el.
3493         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3494         (diff-buffer-internal): Remove.
3495         (diff-buffer-buffer): Remove.
3496         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3497         the buffer name used, and so as not to mess up windows and frames.
3499 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3501         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3502         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3503         (diff-buffer-with-file): Use it.
3504         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3505         (diff): Use it.
3507 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3509         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3510         \ref's or \pageref's value as default instead of initial input.
3512 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3514         * files.el (backup-by-copying-when-mismatch): The default value is
3515         now t.
3517         * startup.el (normal-top-level):
3518         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3519         `backup-by-copying-when-mismatch'.
3521 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3523         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3525 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3527         * progmodes/python.el (python-font-lock-keywords):
3528         Highlight top-level augmented assignments (Bug#6445).
3530 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3532         * term/ns-win.el (ns-right-control-modifier)
3533         (ns-right-command-modifier): Defvar them.
3535         * cus-start.el (all): Add ns-right-control-modifier and
3536         ns-right-command-modifier (Bug#7458).
3538 2010-11-20  Glenn Morris  <rgm@gnu.org>
3540         * emacs-lisp/authors.el (authors-ignored-files)
3541         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3543 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3545         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3546         (report-emacs-bug-parse-query-results)
3547         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3548         keywords used for querying the bug database to show them in the
3549         existing bugs buffer.
3551 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3553         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3555         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3557 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3559         * international/characters.el (glyphless-char-display-control):
3560         Make it a defcustom, with update-glyphless-char-display as its
3561         :set attribute.
3562         (top level): Don't call update-glyphless-char-display.
3564 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3566         Sync with Tramp 2.2.0.
3568         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3569         `file-remote-p' (due to compatibility).
3571         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3572         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3574         * net/trampver.el: Update release number.
3576 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3578         * faces.el (glyphless-char): Define value for `pc'.
3580 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3582         Implemented a bug querying mechanism.
3583         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3584         (report-emacs-bug-create-existing-bugs-buffer)
3585         (report-emacs-bug-parse-query-results)
3586         (report-emacs-bug-query-existing-bugs): New functions.
3588 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3590         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3591         a \ref{} or \pageref{} macro, then use its value as initial input.
3593 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3595         * calc/calc-units.el (math-build-units-table-buffer):
3596         calc/README: Mention that the TeX specific units won't use the
3597         `tex' prefix in TeX mode.
3598         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3599         prefix for units in TeX mode.
3601 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3603         * simple.el (kill-new, kill-append, kill-region):
3604         * comint.el (comint-kill-region): Make the yank-handler argument
3605         obsolete.
3607 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3609         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3610         that are both openers (resp. closers) and something else.
3611         (smie-grammar): Loosen definition of valid values.
3612         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3613         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3614         (smie-indent-after-keyword): Adjust users.
3615         (smie-indent-keyword): Don't indent empty lines.
3617         * vc-hg.el (vc-hg-program): New var.
3618         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3619         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3621 2010-11-18  Glenn Morris  <rgm@gnu.org>
3623         * emacs-lisp/autoload.el (autoload-find-destination): The function
3624         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3626 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3628         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3630 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3632         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3634 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3636         * textmodes/picture.el (picture-mouse-set-point): Don't use
3637         posn-col-row; explicitly compute the motion based on the posn at
3638         the window-start (Bug#7390).
3640 2010-11-18  Glenn Morris  <rgm@gnu.org>
3642         * novice.el (disabled-command-function):
3643         Fix 2009-11-15 change.  (Bug#7384)
3645 2010-11-18  Glenn Morris  <rgm@gnu.org>
3647         * calendar/calendar.el (diary-iso-date-forms): Make elements
3648         mutually exclusive.  (Bug#7377)
3650 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3652         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3653         when filling the remaining "unconstrained" values.
3655 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3657         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3658         safety predicate.
3660         * files.el (safe-local-variable-p): Gracefully handle errors.
3662         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3663         Use smie-indent-virtual when indenting relative to an opener.
3664         (smie-rule-separator): Use smie-rule-parent.
3665         (smie-indent-keyword): Consult rules, even for openers at bol.
3666         (smie-indent-comment-close): Try to align closer's content.
3668 2010-11-18  Glenn Morris  <rgm@gnu.org>
3670         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3672 2010-11-18  Glenn Morris  <rgm@gnu.org>
3674         * printing.el (pr-menu-bind): Doc fix.
3676         * speedbar.el (speedbar-toggle-images): Doc fix.
3678         * progmodes/python.el (python-shell): Doc fix.
3680         * wid-edit.el (widget-field-use-before-change)
3681         (widget-use-overlay-change): Doc fixes.
3683 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3685         Minor cleanup to improve style.
3686         * textmodes/rst.el (rst-update-section): Use point-marker.
3687         (rst-get-decoration): Eliminate unneeded assignment.
3688         (rst-promote-region, rst-straighten-decorations)
3689         (rst-section-tree, rst-adjust): Use point-marker.
3690         (rst-toc-mode-mouse-goto): Avoid setq.
3691         (rst-shift-region-guts, rst-shift-region-left)
3692         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3693         (rst-convert-bullets-to-enumeration): Use copy-marker.
3695         * minibuffer.el (completion-fail-discreetly): New var.
3696         (completion--do-completion): Use it.
3698         * electric.el (electric-pair-pairs): New var.
3699         (electric-pair-post-self-insert-function): Use it.
3700         (electric-layout-post-self-insert-function): Don't insert a before
3701         newline unless it's actually needed.
3703 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3705         * progmodes/python.el (run-python): Explain why we remove the current
3706         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
3708         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3710 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3712         * progmodes/octave-mod.el: Rely on elecric-*-modes.
3713         (octave-mode-map): Don't bind ;, SPC, and LF.
3714         (octave-auto-indent, octave-auto-newline): Remove.
3715         (electric-layout-rules): Declare.
3716         (octave-mode): Set electric-layout-rules.
3717         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3718         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3719         (octave-electric-space): Remove.
3721         * electric.el (electric-layout-mode): New minor mode.
3722         (electric--after-char-pos): New function.
3723         (electric-indent-post-self-insert-function): Use it.
3724         (electric-layout-rules): New var.
3725         (electric-layout-post-self-insert-function): New function.
3726         (electric-indent-mode): Make them interact better.
3728 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3730         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3731         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3732         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3734 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
3736         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3737         Make sure to check inside the word (Bug#6761).
3739 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
3741         * startup.el (command-line): If the cursorColor resource is set,
3742         change the cursor face-spec (Bug#7392).
3744 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
3746         The main features of the following allout.el changes are:
3747         - implement user customization for the allout key bindings
3748         - add a customization control by which the user can inhibit use of
3749           a trailing Ctrl-H, so by default it's reserved for use with
3750           describe-prefix-bindings
3751         - adapt to new version of called-interactively-p, while
3752           maintaining backwards compatibility with old version
3753         - fix hotspot navigation so i works properly with meta-modified keys
3755         * allout.el (allout-keybindings, allout-bind-keys)
3756         (allout-keybindings-binding, allout-prefixed-keybindings)
3757         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3758         (allout-keybindings-list, allout-mode-map-adjustments)
3759         (allout-setup-mode-map): Establish allout-mode keymaps as user
3760         customizable settings, and also establish a customizable setting which
3761         regulates whether or not a trailing control-h is reserved for use with
3762         describe-prefix-bindings - and inhibit it by default, so that control-h
3763         *is* reserved for describe-prefix-bindings unless the user changes it.
3765         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3766         and accurately between modified and unmodified events, and handle
3767         modified events more comprehensively.
3769         * allout.el (allout-substring-no-properties):
3770         Alias to use or provide version of `substring-no-properties'.
3771         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3773         * allout.el (allout-next-single-char-property-change):
3774         Alias to use or provide version of `next-single-char-property-change'.
3775         (allout-annotate-hidden, allout-hide-by-annotation):
3776         Use `allout-next-single-char-property-change'.
3778         * allout.el (allout-select-safe-coding-system):
3779         Alias to use or provide version of `select-safe-coding-system'.
3780         (allout-toggle-subtree-encryption):
3781         Use `allout-select-safe-coding-system'.
3783         * allout.el (allout-set-buffer-multibyte):
3784         Alias to use or provide version of `set-buffer-multibyte'.
3785         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3787         * allout.el (allout-called-interactively-p): Macro for using the
3788         different versions of called-interactively-p identically, depending on
3789         the subroutine's argument signature.
3790         (allout-back-to-current-heading, allout-beginning-of-current-entry):
3791         Use `(interactive "p")' instead of `(called-interactively-p)'.
3793         * allout.el (allout-init, allout-ascend, allout-end-of-level)
3794         (allout-previous-visible-heading, allout-forward-current-level)
3795         (allout-backward-current-level, allout-show-children):
3796         Use `allout-called-interactively-p' instead of `called-interactively-p'.
3798         * allout.el (allout-before-change-handler):
3799         Exempt edits to the (overlaid) character after the allout outline
3800         bullet from edit confirmation prompt.
3802         * allout.el (allout-add-resumptions):
3803         Ensure that it respects correct buffer for keybindings.
3805         * allout.el (allout-beginning-of-line):
3806         Use `allout-previous-single-char-property-change' alias for the sake of
3807         diverse compatibility.
3809         * allout.el (allout-end-of-line):
3810         Use `allout-mark-active-p' to encapsulate respect for mark activity.
3812 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
3814         * frame.el (frame-notice-user-settings): Don't clobber other
3815         user-set parameters when calling face-set-after-frame-default in
3816         response to background-color parameter (Bug#7373).
3818 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
3820         * international/characters.el (glyphless-char-display-control):
3821         Rename from glyphless-char-control; all users changed.  Doc fix.
3822         Signal an error if display method is not one of the recognized
3823         symbols.
3825 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
3827         * net/tramp-compat.el (tramp-compat-line-beginning-position)
3828         (tramp-compat-line-end-position): Remove them.
3830         * net/tramp.el (tramp-parse-rhosts-group)
3831         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3832         (tramp-parse-hosts-group, tramp-parse-passwd-group)
3833         (tramp-parse-netrc-group, tramp-parse-putty-group)
3834         * net/tramp-cmds.el (tramp-append-tramp-buffers)
3835         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3836         (tramp-sh-handle-file-selinux-context)
3837         (tramp-sh-handle-file-name-all-completions)
3838         (tramp-sh-handle-insert-directory)
3839         (tramp-sh-handle-expand-file-name, tramp-find-executable)
3840         (tramp-wait-for-output, tramp-send-command-and-read)
3841         * net/tramp-smb.el (tramp-smb-read-file-entry)
3842         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3844         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3845         `point-at-bol'.
3846         (tramp-remote-coding-commands): Add an alternative using "base64
3847         -d -i".  This is needed for older base64 versions from GNU
3848         coreutils.  Reported by Klaus Reichl
3849         <Klaus.Reichl@thalesgroup.com>.
3851 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
3853         * simple.el (count-words-region): New function.
3855 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3857         * shell.el (shell-dir-cookie-re): New custom variable.
3858         (shell-dir-cookie-watcher): New function.
3860         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3861         and compilation-mode (bug#7350).
3863         * vc/smerge-mode.el (smerge-refine): Choose better default part to
3864         highlight when one of them is empty.
3866         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3867         trailing space.
3868         (skeleton-newline): New function.
3869         (skeleton-internal-1): Use it.
3871         * simple.el (open-line): `newline' may strip trailing space.
3873 2010-11-12  Kevin Ryde  <user42@zip.com.au>
3875         * international/mule-cmds.el (princ-list): Use mapc.
3877 2010-11-12  Glenn Morris  <rgm@gnu.org>
3879         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3880         Use it to replace all instances of "*Compile-Log*"
3882 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3884         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3885         indentation specs.
3887 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3889         * progmodes/modula2.el: Use SMIE and skeleton.
3890         (m2-mode-syntax-table): (*..*) can be nested.
3891         Add //...\n.  Fix paren syntax.
3892         (m2-mode-map): Remove LF and TAB bindings.
3893         (m2-indent): Add safety property.
3894         (m2-smie-grammar): New var.
3895         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3896         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3897         (m2-mode): Use define-derived-mode.
3898         (m2-newline, m2-tab): Remove.
3899         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3900         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3901         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3902         (m2-import): Use define-skeleton.
3904 2010-11-11  Glenn Morris  <rgm@gnu.org>
3906         * obsolete/lucid.el: Don't warn about any CL functions in this file.
3908         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3909         (ls-lisp-verbosity): Add custom :set-after property.
3910         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3911         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3912         (ls-lisp-insert-directory): Update caller.
3913         (ls-lisp-set-options): New function.
3914         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3915         Doc fix.
3917         * play/landmark.el (lm-prompt-for-move):
3918         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3920         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3922         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3923         (idlwave-study-twins): Prefix dynamic local variable `name'.
3924         (idlwave-routine-twin-compare): Update for above change.
3926         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3927         Prefix dynamic local variables `name', `kwd', and `link'.
3928         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3929         * progmodes/idlw-complete-structtag.el
3930         (idlwave-complete-structure-tag-help):
3931         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3932         (idlwave-complete-sysvar-tag-help)
3933         (idlwave-complete-class-structure-tag-help):
3934         Update for above name changes.
3936 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3938         * net/browse-url.el (browse-url-browser-function): Change the
3939         default to use `browse-url-mail' on mailto: URLs.
3941 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
3943         * emacs-lisp/package.el (package-read-all-archive-contents):
3944         Reset package-archive-contents to nil before re-reading.
3946 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
3948         * textmodes/flyspell.el (flyspell-word): Do not re-check words
3949         already found as misspellings by (flyspell-large-region), just
3950         do highlighting (bug#7322).
3952 2010-11-10  Glenn Morris  <rgm@gnu.org>
3954         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3956         * emulation/edt.el (edt-with-position): New macro.
3957         (edt-find-forward, edt-find-backward, edt-find-next-forward)
3958         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3959         (edt-paragraph-forward, edt-paragraph-backward): Use it.
3961         * emulation/tpu-extras.el (tpu-with-position): New macro.
3962         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3964         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3966         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3967         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3968         (texinfo-master-menu, texinfo-insert-node-lines)
3969         (texinfo-multiple-files-update):
3970         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3971         Use line-beginning-position.
3973         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3974         No recent Emacs supports system-type `emx'.
3976         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3977         (ada-command-separator, ada-default-prj-properties)
3978         (ada-find-any-references): Update for above name change.
3980         * dirtrack.el (dirtrack-directory-function)
3981         (dirtrack-canonicalize-function):
3982         * filecache.el (file-cache-completion-ignore-case)
3983         (file-cache-case-fold-search, file-cache-ignore-case):
3984         * term.el (serial-port-is-file-p): Cosmetic change.
3986         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3987         Remove non-existent `windows-95' system-type.
3988         * dired.el (dired-chown-program): Remove non-existent `linux'
3989         system-type.
3991         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3992         (ping-program-options): Remove non-existent `linux' system-type.
3994         * startup.el (package-initialize): Update declaration.
3996         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3997         (ls-lisp-handle-switches): Use time-less-p.
3998         (ls-lisp-format-time): Use float-time.
4000         * textmodes/remember.el (remember-time-to-seconds): Remove.
4001         (remember-store-in-mailbox): Use float-time.
4003         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4005         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4006         never a real function.
4007         (with-no-warnings): Remove compat stub, now unused.
4008         (time-less-p): Doc fix.
4009         (time-to-number-of-days): Simplify.
4011         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4012         Remove.
4013         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4014         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4015         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4016         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4017         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4019         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4020         (eshell-shuffle-files, eshell-shorthand-tar-command)
4021         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4022         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4023         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4024         Prefix dynamic local variable `matches'.
4026         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4027         Prefix dynamic local variable `skeleton'.
4029 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4031         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4032         in mail buffer; make yank-action always a command that yanks original
4033         buffer.
4035 2010-11-09  Glenn Morris  <rgm@gnu.org>
4037         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4039 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4041         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4042         completion field (bug#7211).
4044         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4045         Fix handling of backslash escapes.
4046         (python-quote-syntax): Adjust accordingly.
4048 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4050         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4051         (vc-mtn-workfile-branch): Adjust to new output format.
4053 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4055         * international/mule-cmds.el (princ-list): Mark as obsolete.
4057 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4059         * emacs-lisp/smie.el: New package.
4061 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4063         * files.el (backup-by-copying-when-mismatch):
4064         Set `permanent-local' property.
4066         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4067         `permanent-local' property for `backup-by-copying-when-mismatch'.
4069 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4071         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4073 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4075         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4076         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4077         AUTOINOUT for SV style multidimensional arrays, bug294.
4078         Reported by Eric Mastromarchi.
4079         (verilog-preprocess): Use with-current-buffer and
4080         font-lock-fontify-buffer to cleanup style issues.
4082 2010-11-09  Glenn Morris  <rgm@gnu.org>
4084         * locate.el (locate, locate-mode): Doc fixes.
4086 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4088         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4089         user for confirmation.
4090         (server-force-stop): Use it.
4091         (server-start): Use server-force-stop for kill-emacs-hook, to
4092         avoid user interaction while killing Emacs.
4094 2010-11-09  Glenn Morris  <rgm@gnu.org>
4096         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4097         (meta-indent-line): Simplify.
4099         * vc/emerge.el (emerge-line-number-in-buf):
4100         * textmodes/ispell.el (ispell-region):
4101         * textmodes/fill.el (current-fill-column):
4102         * progmodes/xscheme.el (xscheme-send-current-line):
4103         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4104         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4105         * progmodes/sh-script.el (sh-handle-prev-do):
4106         * progmodes/meta-mode.el (meta-indent-line):
4107         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4108         (idlwave-in-quote):
4109         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4110         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4111         * progmodes/fortran.el (fortran-looking-at-if-then):
4112         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4113         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4114         (cperl-find-pods-heres):
4115         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4116         * net/quickurl.el (quickurl-list-insert):
4117         * net/ldap.el (ldap-search-internal):
4118         * net/eudc.el (eudc-expand-inline):
4119         * mail/sendmail.el (sendmail-send-it):
4120         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4121         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4122         (viper-brac-function):
4123         * calc/calc-yank.el (calc-do-grab-region):
4124         * calc/calc-keypd.el (calc-keypad-press):
4125         * term.el (term-move-columns, term-insert-spaces):
4126         * speedbar.el (speedbar-highlight-one-tag-line):
4127         * simple.el (current-word):
4128         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4129         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4130         (Info-scroll-down):
4131         * hippie-exp.el (he-line-beg):
4132         * epa.el (epa--marked-keys):
4133         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4134         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4135         (dired-relist-entry):
4136         * buff-menu.el (Buffer-menu-buffer):
4137         * array.el (current-line):
4138         * allout.el (allout-resolve-xref)
4139         (allout-latex-verbatim-quote-curr-line):
4140         Replace yet more uses of end-of-line etc with line-end-position, etc.
4142 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4144         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4145         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4146         (checkdoc-syntax-table): Initialize in the declaration.
4147         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4148         the mode on unconditionally.
4150         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4151         (extent-end-position, extent-start-position): Remove setf method for
4152         non-existing functions (bug#7319).
4154 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4156         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4157         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4158         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4159         (smie-prec2->grammar): Rename from smie-prec2-levels.
4160         (smie-grammar): Rename from smie-op-levels.
4161         (smie-indent--hanging-p): Rename from smie-hanging-p.
4162         (smie-rule-hanging-p): New alias.
4163         (smie-indent--bolp): Rename from smie-bolp.
4164         (smie-indent--hanging-p): New alias.
4165         (smie--token): New dynamically bound variable.
4166         (smie-indent--parent): New function.
4167         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4168         (smie-rule-next-p): Rename from smie-next-p.
4169         (smie-rule-prev-p): Rename from smie-prev-p.
4170         (smie-rule-sibling-p, smie-rule-parent)
4171         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4172         (smie-rule-separator-outdent): New var.
4173         (smie-indent--rule): Merge with smie-indent--column.
4174         (smie-indent-forward-token, smie-indent-backward-token):
4175         Also recognize close parens.
4176         (smie-indent-keyword): Don't use smie-indent--column any more.
4177         (smie-indent-after-keyword): Ignore closers by default.
4178         (smie-indent-line): Use with-demoted-errors.
4179         * progmodes/octave-mod.el (octave-smie-grammar):
4180         Rename from octave-smie-op-levels.
4181         (octave-smie-rules): Adjust to new behavior.
4182         * progmodes/prolog.el (prolog-smie-grammar):
4183         Rename from prolog-smie-op-levels.
4185 2010-11-07  Glenn Morris  <rgm@gnu.org>
4187         * eshell/esh-util.el (subst-char-in-string)
4188         (directory-files-and-attributes): These compatibility definitions are
4189         not needed on any version of Emacs since at least 21.4.
4191         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4192         (verilog-get-end-of-line): Remove.
4193         (verilog-within-string, verilog-re-search-forward-substr)
4194         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4195         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4196         Use point-at-bol, point-at-eol.
4197         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4198         Remove.
4199         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4200         (electric-pascal-terminate-line, pascal-set-auto-comments)
4201         (pascal-indent-paramlist, pascal-indent-declaration)
4202         (pascal-get-lineup-indent, pascal-func-completion)
4203         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4204         Use point-at-bol, point-at-eol.
4205         * progmodes/flymake.el (flymake-line-beginning-position)
4206         (flymake-line-end-position): Remove.
4207         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4208         * eshell/esh-util.el (line-end-position, line-beginning-position):
4209         Remove compat definitions.
4211         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4212         Use end-of-line N.
4213         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4214         Use line-end-position.
4216         * emacs-lisp/chart.el (chart-zap-chars):
4217         * play/decipher.el (decipher-set-map):
4218         * progmodes/ada-mode.el (ada-get-current-indent)
4219         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4220         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4221         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4222         (ada-get-all-references):
4223         * progmodes/cperl-mode.el (cperl-electric-paren)
4224         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4225         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4226         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4227         (cperl-word-at-point-hard):
4228         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4229         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4230         (idlwave-shell-display-line):
4231         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4232         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4233         * progmodes/js.el (js--re-search-forward-inner)
4234         (js--re-search-backward-inner):
4235         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4236         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4237         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4238         * textmodes/flyspell.el (flyspell-process-localwords):
4239         * textmodes/ispell.el (ispell-buffer-local-parsing)
4240         (ispell-buffer-local-dict, ispell-buffer-local-words):
4241         Use point-at-bol and point-at-eol.
4243         * speedbar.el (speedbar-generic-item-info)
4244         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4245         (speedbar-add-indicator, speedbar-check-vc-this-line)
4246         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4247         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4248         Replace more uses of end-of-line etc with line-end-position.
4250 2010-11-06  Glenn Morris  <rgm@gnu.org>
4252         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4253         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4254         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4255         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4256         (texinfo-multiple-files-update):
4257         * textmodes/table.el (table--probe-cell-left-up)
4258         (table--probe-cell-right-bottom):
4259         * textmodes/picture.el (picture-tab-search):
4260         * textmodes/page-ext.el (pages-copy-header-and-position)
4261         (pages-directory-for-addresses):
4262         * progmodes/vera-mode.el (vera-get-offset):
4263         * progmodes/simula.el (simula-calculate-indent):
4264         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4265         * progmodes/prolog.el (end-of-prolog-clause):
4266         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4267         * progmodes/icon.el (indent-icon-exp):
4268         * progmodes/etags.el (tag-re-match-p):
4269         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4270         * progmodes/ebnf2ps.el (ebnf-begin-file):
4271         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4272         (dcl-save-local-variable):
4273         * play/life.el (life-setup):
4274         * play/gametree.el (gametree-looking-at-ply):
4275         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4276         * mail/sendmail.el (mail-mode-auto-fill):
4277         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4278         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4279         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4280         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4281         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4282         * type-break.el (type-break-file-keystroke-count):
4283         * term.el (term-replace-by-expanded-history-before-point)
4284         (term-skip-prompt, term-extract-string):
4285         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4286         (speedbar-contract-line, speedbar-toggle-line-expansion)
4287         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4288         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4289         * sort.el (sort-skip-fields):
4290         * skeleton.el (skeleton-internal-list):
4291         * simple.el (line-move-finish, line-move-to-column):
4292         * shell.el (shell-forward-command):
4293         * misc.el (copy-from-above-command):
4294         * makesum.el (double-column):
4295         * ebuff-menu.el (electric-buffer-update-highlight):
4296         * dired.el (dired-move-to-end-of-filename):
4297         * dframe.el (dframe-popup-kludge):
4298         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4299         * arc-mode.el (archive-get-lineno):
4300         Use line-end-position and line-beginning-position.
4302         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4303         (idlwave-study-twins): Prefix dynamic local `class'.
4304         (idlwave-routine-twin-compare): Update for above name change.
4306         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4307         Use boundp tests to silence compiler.  Update for changed name of
4308         bytecomp-filename variable.
4310         * emulation/viper-cmd.el (viper-read-string-with-history):
4311         Prefix dynamic local `initial'.
4312         (viper-minibuffer-standard-hook): Update for above name change.
4314         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4315         (elint-init-form): Update for above name change.
4317         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4318         local variables `cbeg' and `cend' a prefix.
4319         (mail-extr-voodoo): Update for above name change.
4321         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4322         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4323         (reftex-toc-promote-action): Doc fix.
4325         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4326         `prompt', `data' a prefix.
4327         (reftex-select-post-command-hook, reftex-select-callback)
4328         (reftex-select-mouse-accept, reftex-select-read-cite):
4329         Update for above name changes.
4331         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4332         `refstyle' to reftex-refstyle.
4333         (reftex-offer-label-menu): Update for above name change.
4334         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4335         `refstyle' name change.
4337         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4338         with with-current-buffer.
4339         (diff, template): Give dynamic local variables a prefix.
4340         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4341         (emerge-line-number-in-buf): Update for above name change.
4342         (emerge-combine-versions-internal): Rename local `template' to
4343         emerge-combine-template.
4344         (emerge-combine-versions-edit): Update for above name change.
4346 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4348         * textmodes/reftex-cite.el
4349         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4350         entries with whitespace after \bibitem.
4351         (reftex-create-bibtex-file): Match entries containing numbers and
4352         symbol constituents.  Make sure that entries with whitespace at
4353         various places are found.
4355 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4357         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4359 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4361         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4363 2010-11-05  Glenn Morris  <rgm@gnu.org>
4365         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4366         (woman2-roff-buffer): Give local variable `request' a prefix.
4367         (woman0-macro): Rename argument `request' in the same way.
4368         (woman-request): New name for `request' dynamic variable.
4369         (woman-unquote, woman-forward-arg): Update for above name change.
4370         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4371         (woman1-unquote): New name for `unquote' dynamic variable.
4372         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4373         (woman-translations): Rename from `translations'.  No longer global.
4374         (woman2-tr, woman-translate): Update for above name change.
4375         (woman-translate): Check for bound variable.
4376         (woman2-roff-buffer): Give local variable `translations' a prefix.
4378         * play/doctor.el: Give all local variables a prefix.  Update callers.
4379         (doc$, doctor-put-meaning): Use backquote.
4381         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4382         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4384         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4385         variables bytes, ptr, op a prefix.
4386         (disassemble-offset): Update for above change.
4388 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4390         * emacs-lisp/package.el (package-unpack): Remove no-op.
4391         (package--builtins, package--dir): Doc fix.
4392         (package-activate-1, package-activate, package-install)
4393         (package-compute-transaction): Fix error message.
4394         (package-delete): Use delete-directory.  Omit system packages.
4395         (package-initialize): Set package-alist to nil first.
4396         (package-menu-mark-delete, package-menu-mark-install): Don't add
4397         symbols that are inconsistent with the package state.
4398         (package-menu-execute): Perform deletions and installations as
4399         single batch operations.
4401 2010-11-03  Glenn Morris  <rgm@gnu.org>
4403         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4404         (props): Remove unnecessary declaration.
4406         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4407         set-process-query-on-exit-flag.
4409         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4410         (reftex-toc-do-promote): Remove unused local `mpos'.
4411         (reftex-toc-restore-region): Make `mpos' local to this function.
4413         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4415         * play/landmark.el (lm-losing-threshold): Correct spelling.
4416         (lm-human-plays): Use new name.
4418         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4419         (gomoku-human-plays): Use new name.
4421         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4422         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4423         (gomoku-score-trans-table, gomoku-winning-threshold)
4424         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4426 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4428         * emacs-lisp/package.el: Don't put built-in packages in
4429         package-alist, to avoid loading inefficiencies.
4430         (package-built-in-p): Make VERSION optional, and treat it as a
4431         minimum acceptable version.
4432         (package-activate): Search separately for built-in packages.
4433         Emit a warning if a dependency fails.
4434         (define-package): Handle most common case, where there is no
4435         obsolete package, first.
4436         (package-compute-transaction): Print required version in error.
4437         (package--initialized): New variable.
4438         (list-packages): Use it.
4439         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4440         built-in packages in packages-alist; keep it separate.
4441         Set package--initialized.
4442         (describe-package): Avoid activating packages as a side-effect.
4443         Search separately for built-in packages.
4444         (describe-package-1): Handle the case where an elpa package is
4445         simultaneously built-in and available/installed.
4446         (package-installed-p, package--generate-package-list):
4447         Search separately for built-in packages.
4448         (package-load-descriptor): Doc fix.
4450 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4452         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4453         Handle __DATA__ and __END__.
4455 2010-11-02  Noah Friedman  <friedman@splode.com>
4457         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4458         nil, do not ask to recompile files that are not already compiled,
4459         and do not recompile them.
4461 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4463         * emacs-lisp/package.el (package-initialize): Ensure that
4464         obsoleted built-in packages are not in package-activated-list
4465         during activation.
4466         (describe-package-1): Make the "installed" status override
4467         "built-in".
4469 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4471         * subr.el (version-separator, version-regexp-alist): Remove '*'
4472         from docstring.
4473         (version-list-<=, version<=, version=): Doc fix.
4475 2010-11-01  Kenichi Handa  <handa@m17n.org>
4477         * faces.el (glyphless-char): Inherit underline for tty.
4479 2010-11-01  Kenichi Handa  <handa@m17n.org>
4481         Implement various display methods for glyphless characters.
4483         * international/characters.el (char-acronym-table): New variable.
4484         (glyphless-char-control): New variable.
4485         (update-glyphless-char-display): New function.
4487         * faces.el (glyphless-char): New face.
4489 2010-11-01  Glenn Morris  <rgm@gnu.org>
4491         * calendar/holidays.el (general-holidays, oriental-holidays)
4492         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4493         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4494         the definitions of their targets.
4496         * emacs-lisp/smie.el (smie): New custom group.
4497         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4499         * faces.el (xw-defined-colors, x-setup-function-keys):
4500         * mouse-sel.el (x-select-text):
4501         * term/w32console.el (x-setup-function-keys): Update declarations.
4503         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4505         * textmodes/ispell.el (comment-add): Declare.
4507         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4508         Declare.
4510         * info.el (finder-keywords-hash, package-alist): Declare.
4512 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4514         * finder.el (finder-compile-keywords): Don't use intern-soft,
4515         since package names may not yet exist in the obarray.
4517 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4519         * vc/vc-arch.el (vc-arch-checkin):
4520         * vc/vc-cvs.el (vc-cvs-checkin):
4521         * vc/vc-mtn.el (vc-mtn-checkin):
4522         * vc/vc-rcs.el (vc-rcs-checkin):
4523         * vc/vc-sccs.el (vc-sccs-checkin):
4524         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4525         since 2010-04-21 commit by Stefan Monnier.
4527 2010-11-01  Glenn Morris  <rgm@gnu.org>
4529         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4531         * startup.el (package-enable-at-startup, package-initialize):
4532         Silence compiler.
4534         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4535         Silence compiler.
4537 2010-10-31  Julien Danjou  <julien@danjou.info>
4539         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4540         (byte-recompile-directory):
4541         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4542         Use `byte-recompile-file'.
4544 2010-10-31  Glenn Morris  <rgm@gnu.org>
4546         * cus-start.el: Handle standard values via a keyword.
4547         Only set version property if specified.
4548         (cursor-in-non-selected-windows, menu-bar-mode)
4549         (tool-bar-mode, show-trailing-whitespace):
4550         Do not specify standard values.
4551         (transient-mark-mode, temporary-file-directory): Use :standard.
4553 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4555         * term/x-win.el (x-get-selection-value): New function that gets
4556         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4558 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4560         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4561         preserve owner and group when editing files.  (Bug#7289)
4563 2010-10-31  Glenn Morris  <rgm@gnu.org>
4565         * speedbar.el (speedbar-mode):
4566         * play/fortune.el (fortune-in-buffer, fortune):
4567         * play/gomoku.el (gomoku-mode):
4568         * play/landmark.el (lm-mode):
4569         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4570         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4572         * select.el (x-selection): Mark it as an obsolete alias.
4574 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4576         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4577         major-mode (bug#7284).
4579 2010-10-31  Glenn Morris  <rgm@gnu.org>
4581         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4582         rather than just an unused variable that inherits from the real one.
4584 2010-10-31  Alan Mackenzie  <acm@muc.de>
4586         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4587         This fixes bug #7185.
4589 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4591         * startup.el (command-line): Search for package directories, and
4592         don't load package.el if none are found.
4594         * emacs-lisp/package.el (describe-package, list-packages):
4595         Call package-initialize if it has not been called yet.
4597 2010-10-30  Alan Mackenzie  <acm@muc.de>
4599         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4600         which fontifies the tail of an enum.
4601         (c-basic-matchers-after): Insert a call to the above new function.
4602         This fixes bug #7264.
4604 2010-10-30  Glenn Morris  <rgm@gnu.org>
4606         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4607         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4608         Include the :set property in the dumped Emacs.
4610 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4612         SMIE: change indent rules format, improve smie-setup.
4613         * emacs-lisp/smie.el (smie-precs-precedence-table)
4614         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4615         Mark them pure so the tables gets built at compile time.
4616         (smie-bnf-precedence-table): Store the closer-alist in the table.
4617         (smie-prec2-levels): Preserve the closer-alist.
4618         (smie-blink-matching-open): Be more forgiving in case of indentation.
4619         (smie-hanging-p): Rename from smie-indent--hanging-p.
4620         (smie-bolp): Rename from smie-indent--bolp.
4621         (smie--parent, smie--after): New dynamic vars.
4622         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4623         (smie-indent-rules): Remove.
4624         (smie-indent--offset-rule): Remove fun.
4625         (smie-rules-function): New var.
4626         (smie-indent--rule): New fun.
4627         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4628         (smie-indent-exps): Use it.
4629         (smie-setup): Setup paren blinking; add keyword args for token
4630         functions; extract closer-alist from op-levels.
4631         (smie-indent-debug-log): Remove var.
4632         (smie-indent-debug): Remove fun.
4633         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4634         (prolog-smie-rules): New fun to replace it.
4635         (prolog-mode-variables): Simplify.
4636         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4637         it's setup automatically.
4638         (octave-smie-indent-rules): Remove.
4639         (octave-smie-rules): New fun to replace it.
4640         (octave-mode): Simplify.
4642 2010-10-29  Glenn Morris  <rgm@gnu.org>
4644         * files.el (temporary-file-directory): Remove (already defined in C).
4645         * cus-start.el: Add temporary-file-directory.
4647         * abbrev.el (abbrev-mode):
4648         * composite.el (auto-composition-mode):
4649         * menu-bar.el (menu-bar-mode):
4650         * simple.el (transient-mark-mode):
4651         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4652         that they do not define the associated variables twice.
4653         * simple.el (transient-mark-mode): Remove defvar.
4654         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4655         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4656         Handle multiple groups, and also custom-delayed-init-variables.
4657         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4659 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4661         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4662         (pcase-if): Add one minor optimization.
4663         (pcase-split-equal): Rename from pcase-split-eq.
4664         (pcase-split-member): Rename from pcase-split-memq.
4665         (pcase-u1): Add strings to the member optimization.
4666         Add `guard' variant of predicates.
4667         (pcase-q1): Add string patterns.
4669 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4671         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4673 2010-10-28  Glenn Morris  <rgm@gnu.org>
4675         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4676         Move menu-bar related settings to ../menu-bar.el.
4677         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4678         Move ns-specific settings here from term/ns-win.el.
4680         * simple.el (x-selection-owner-p): Remove unused declaration.
4682 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4684         * minibuffer.el (completion-cycling): New var (bug#7266).
4685         (minibuffer-complete, completion--do-completion):
4686         Use completion--flush-all-sorted-completions.
4687         (minibuffer-complete): Only cycle if completion-cycling is set.
4688         (completion--flush-all-sorted-completions): Unset completion-cycling.
4689         (minibuffer-force-complete): Set completion-cycling.
4690         (completion-all-sorted-completions): Move declaration before first use.
4692 2010-10-28  Leo  <sdl.web@gmail.com>
4694         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4695         which changes the order of matches seen by users (bug#7231).
4697 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
4699         * progmodes/compile.el (compilation-mode-font-lock-keywords):
4700         Don't confuse -omega as "-o mega".
4702 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4704         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4705         (log-edit-author): New dynamic var.
4706         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4707         to return the author if different from committer.
4708         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4710         * play/landmark.el: Adjust commenting convention.
4711         (lm-nil-score): Rename from nil-score.
4712         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4713         (OOOOscore): Move into a let in lm-score-trans-table.
4714         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4716         * electric.el (electric-indent-chars): Autoload.
4717         * progmodes/octave-mod.el (octave-mode):
4718         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4719         (ruby-mode-abbrev-table): Merge initialization and declaration.
4721 2010-10-27  Glenn Morris  <rgm@gnu.org>
4723         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4724         variable.
4726         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4728         * term/ns-win.el: Restore require of cl when compiling.
4729         (menu-bar-final-items): Remove non-existent `windows' menu.
4730         (ns-handle-nxopen): Optionally handle the temp-case.
4731         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4732         (ns-insert-file, ns-find-file): Use `pop'.
4734 2010-10-26  Glenn Morris  <rgm@gnu.org>
4736         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4738 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
4740         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4741         global map.
4742         * term/common-win.el (x-setup-function-keys): Remove most of the
4743         keymappings.  Comment on the remaining ones.
4745 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
4747         * server.el (server-port): New option.  (Bug#854)
4748         (server-start): Use server-port.
4750 2010-10-26  Glenn Morris  <rgm@gnu.org>
4752         * term/ns-win.el (ns-version-string): Remove unused declaration.
4753         (ns-invocation-args): Change to x-invocation-args.
4754         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4755         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4756         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4757         Use x-invocation-args instead of ns-invocation-args.
4758         (ns-initialize-window-system, handle-args-function-alist):
4759         Use x-handle-args instead of ns-handle-args.
4760         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4761         * startup.el (command-line-ns-option-alist): Replace
4762         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4763         ns-handle-iconic with the x- equivalents.
4765         * term/common-win.el (x-select-enable-clipboard):
4766         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4768         * term/ns-win.el: No need to require cl when compiling.
4769         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4770         (xw-defined-colors): Use the common-win definitions.
4771         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4772         (ns-handle-iconic): Make it an alias for x-handle-iconic.
4773         * term/common-win.el (x-select-text, x-alternatives-map)
4774         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4775         * loadup.el [ns]: Load common-win.
4777 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
4779         * epa-mail.el (epa-mail-encrypt): Handle local-part only
4780         recipients; expand mail aliases (Bug#7280).
4782 2010-10-25  Glenn Morris  <rgm@gnu.org>
4784         * term/common-win.el (x-handle-switch): Simplify with pop.
4785         Optionally handle numeric switches.
4786         (x-handle-numeric-switch): Just call x-handle-switch.
4787         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4788         (x-handle-name-switch, x-handle-display, x-handle-args):
4789         Simplify with pop.
4791         * term/ns-win.el: Do not require easymenu.
4792         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4793         <spell>: Move adjustments to menu-bar.el.
4794         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4795         <separator-undo, spell>: Move ns-win's adjustments here.
4796         * loadup.el [ns]: Do not load easymenu.
4798 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4800         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4801         Delete (Bug#7222).
4803         * startup.el (fancy-startup-tail): Instead of using inline images,
4804         refer to image files from etc/.
4806         * wid-edit.el (checkbox): Likewise.
4807         (widget-image-find): Center image specs.
4809 2010-10-24  Glenn Morris  <rgm@gnu.org>
4811         * term/ns-win.el (x-select-text): Doc fix.
4812         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4813         (x-select-text): Move to term/common-win.
4814         * term/w32-win.el (xw-defined-colors): Move to common-win.
4815         * term/x-win.el (xw-defined-colors, x-alternatives-map)
4816         (x-setup-function-keys, x-select-text): Move to common-win.
4817         * term/common-win.el (x-select-text, x-alternatives-map)
4818         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4819         definitions here.
4821 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
4823         * net/mairix.el (mairix-searches-mode-map):
4824         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4826 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
4828         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
4829         auto-built for efficiency of execution and updating.
4830         (verilog-extended-complete-re): Support 'pure' fucntion & task
4831         declarations (these have no bodies).
4832         (verilog-beg-of-statement): General cleanup to enable support of
4833         'pure' fucntion & task declarations (these have no bodies).
4834         These efforts together fix Verilog bug210 from veripool; which was also
4835         noticed by Steve Pearlmutter.
4836         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4837         (verilog-directive-nest-re, verilog-set-auto-endcomments):
4838         Support `elsif.  Reported by Shankar Giri.
4839         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4840         attribute handling for lining up declarations and assignments.
4841         (verilog-beg-of-statement-1): Fix issue where continued declaration
4842         is indented differently if it is after a begin..end clock.
4843         (verilog-in-attribute-p, verilog-skip-backward-comments)
4844         (verilog-skip-forward-comment-p): Support proper treatment of
4845         attributes by indent code.  Reported by Jeff Steele.
4846         (verilog-in-directive-p): Fix comment to correctly describe function.
4847         (verilog-backward-up-list, verilog-in-struct-region-p)
4848         (verilog-backward-token, verilog-in-struct-p)
4849         (verilog-in-coverage-p, verilog-do-indent)
4850         (verilog-pretty-declarations): Use verilog-backward-up-list as
4851         wrapper around backward-up-list inorder to properly skip comments.
4852         Reported by David Rogoff.
4853         (verilog-property-re, verilog-endcomment-reason-re)
4854         (verilog-beg-of-statement, verilog-set-auto-endcomments)
4855         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4856         of if).  Reported by Max Bjurling and
4857         (verilog-calc-1): Fix for clocking block in modport
4858         declaration.  Reported by Brian Hunter.
4860 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
4862         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4863         (verilog-gate-keywords, verilog-read-sub-decls)
4864         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4865         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4866         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
4867         (verilog-read-decls): Fix spaces in V2K module parameters causing
4868         mis-identification as interfaces, bug287.
4869         (verilog-read-decls): Fix not treating "parameter string" as a
4870         parameter in AUTOINSTPARAM.
4871         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4872         treating `elsif similar to `endif inside AUTOSENSE.
4873         (verilog-do-indent): Implement correct automatic or static task or
4874         function end comment highlight.  Reported by Steve Pearlmutter.
4875         (verilog-font-lock-keywords-2): Fix highlighting of single
4876         character pins, bug264.  Reported by Michael Laajanen.
4877         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4878         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4879         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4880         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
4881         (verilog-pretty-expr): Fix interactive arguments, bug272.
4882         Reported by Mark Johnson.
4883         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4884         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4885         bug269.  Suggested by Gary Delp.
4886         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4887         (verilog-preprocessor, verilog-set-compile-command):
4888         Create verilog-preprocess and verilog-preprocessor to show
4889         preprocessed output.
4890         (verilog-get-beg-of-line, verilog-get-end-of-line)
4891         (verilog-modi-file-or-buffer, verilog-modi-name)
4892         (verilog-modi-point, verilog-within-string): Move defmacro's
4893         before first use to avoid warning.  Reported by Steve Pearlmutter.
4894         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4895         (verilog-colorize-region, verilog-highlight-buffer)
4896         (verilog-highlight-includes, verilog-highlight-modules)
4897         (verilog-highlight-region, verilog-mode): Rename colorize to
4898         highlight to match other packages.  Disable module highlighting,
4899         as received speed complaints, reenable for experimentation only
4900         using new verilog-highlight-modules.
4901         (verilog-read-decls): Fix regexp stack overflow in very large
4902         AUTO_TEMPLATEs, bug250.
4903         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4904         (verilog-scan): Create verilog-save-buffer-state to standardize
4905         making insignificant changes that shouldn't call hooks.
4906         (verilog-save-no-change-functions, verilog-save-scan-cache)
4907         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4908         Create verilog-save-no-change-functions to wrap verilog-scan
4909         preservation, and fix to work with nested preserved calls.
4910         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4911         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4912         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
4913         (verilog-submit-bug-report): Update variable list to be complete.
4914         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4915         breaking on-the-fly font-locking.
4916         (verilog-colorize-buffer, verilog-colorize-include-files)
4917         (verilog-colorize-include-files-buffer, verilog-colorize-region)
4918         (verilog-load-file-at-mouse, verilog-load-file-at-point)
4919         (verilog-mode, verilog-read-inst-module-matcher): With point on a
4920         AUTOINST cell instance name, middle mouse button now finds-file on
4921         it.  Suggested by Brad Dobbie.
4922         (verilog-alw-get-temps, verilog-auto-reset)
4923         (verilog-auto-sense-sigs, verilog-read-always-signals)
4924         (verilog-read-always-signals-recurse): Fix loop indexes being
4925         AUTORESET.  AUTORESET now assumes any variables in the
4926         initialization section of a for() should be ignored.
4927         Reported by Dan Dever.
4928         (verilog-error-font-lock-keywords)
4929         (verilog-error-regexp-emacs-alist)
4930         (verilog-error-regexp-xemacs-alist): Fix error detection of
4931         Cadence HAL, reported by David Asher.  Repair drift between the
4932         three similar error variables.
4933         (verilog-modi-lookup, verilog-modi-lookup-cache)
4934         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4935         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4936         Fix slow verilog-auto expansion on very large files.
4937         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4938         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4939         "{1*2{...".  Broke in last revision.
4940         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4941         submodule connections with replications "{#{a},#{b}}".
4943 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
4945         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4946         Fix typo in docstring.
4948 2010-10-24  Kenichi Handa  <handa@m17n.org>
4950         * face-remap.el (text-scale-adjust): Call read-event with a proper
4951         prompt.
4953 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4955         * emacs-lisp/unsafep.el: Don't mark functions that display
4956         messages as safe.  Suggested by Johan Bockgård.
4958 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4960         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4961         Turn comments into docstrings.
4963         * minibuffer.el (completion--replace): Move point where it belongs
4964         when there's a common suffix (bug#7215).
4966 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4968         Merge read-color and facemenu-read-color (Bug#7242).
4970         * faces.el (read-color): Use the completion code from
4971         facemenu-read-color.  Require match in completion.  Doc fix.
4973         * facemenu.el (facemenu-read-color): Alias for read-color.
4974         (facemenu-set-foreground, facemenu-set-background):
4975         Use read-color.
4977         * frame.el (set-background-color, set-foreground-color)
4978         (set-cursor-color, set-mouse-color, set-border-color):
4979         Use read-color.
4981 2010-10-24  Leo  <sdl.web@gmail.com>
4983         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4984         argument of delete-file and delete-directory (Bug#7011).
4986 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4988         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4989         button-buffer-map.
4991 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
4993         * emacs-lisp/package.el (package--generate-package-list): Make the
4994         *Packages* buffer read-only.
4996 2010-10-24  Alan Mackenzie  <acm@muc.de>
4998         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4999         result of `c-beginning-of-decl-1' between invocations of a lambda
5000         function (Bug #7265).
5002 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
5004         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5005         executable is not available on the system (Bug#7268).
5007 2010-10-24  Glenn Morris  <rgm@gnu.org>
5009         * select.el (selection-coding-system, next-selection-coding-system):
5010         Sync doc with C versions.
5012         * w32-vars.el (x-select-enable-clipboard):
5013         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5014         * term/common-win.el (x-select-enable-clipboard): Move here.
5016         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5017         definition of C variable.
5019         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5020         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5021         Don't redefine things that are defined in C.
5022         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5023         (show-trailing-whitespace, auto-hscroll-mode)
5024         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5025         Set up the appropriate custom properties.
5027 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5029         Bind "C-c ]" to ...
5030         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5031         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5032         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5033         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5035 2010-10-23  Glenn Morris  <rgm@gnu.org>
5037         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5038         say what it was.
5040         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5041         Sync docs with C version.
5043         * term/ns-win.el (xw-defined-colors):
5044         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5046         * term/pc-win.el (x-select-enable-clipboard):
5047         * term/x-win.el (x-select-enable-clipboard):
5048         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5050         * comint.el (comint-password-prompt-regexp): Make it less vague.
5051         Bump version.
5053         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5055         * help.el (finder-by-keyword): Remove unnecessary autoload.
5057 2010-10-22  Glenn Morris  <rgm@gnu.org>
5059         * loadup.el: Unconditionally load float-sup.
5060         * paren.el (show-paren-delay):
5061         * emacs-lisp/float-sup.el:
5062         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5063         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5064         (lazy-lock-stealth-verbose): Assume float support.
5065         * ps-print.el: Assume float support on Emacs.
5066         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5067         Remove non-float branch.
5069         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5070         src/Makefile no longer being pre-processed.
5072 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5074         * emacs-lisp/find-func.el (find-library): Use test-completion.
5076 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5078         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5080 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5082         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5083         space in stat format string.
5084         (tramp-send-command): Unset $PS1 when using here documents, in
5085         order not to get several prompts.
5086         (tramp-get-inline-coding): Return `nil' in case of errors.
5088 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5090         * hexl.el (hexl-mode, hexl-mode-exit):
5091         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5092         (hexl-revert-buffer-function): New function.
5093         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5095 2010-10-19  Alan Mackenzie  <acm@muc.de>
5097         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5098         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5099         that these keywords aren't wrongly matched as identifiers.
5101         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5102         setting of c-new-BEG and c-new-END from c-before-change to
5103         c-after-change.  (Bug#7181)
5105 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5107         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5108         Don't mark as safe.
5110         * custom.el (custom-theme-set-variables): Likewise.
5111         (load-theme): Add custom-theme-set-faces and
5112         custom-theme-set-variables to safe-functions while loading.
5113         (custom-enabled-themes): Mark as risky.
5115 2010-10-18  Julien Danjou  <julien@danjou.info>
5117         * bindings.el: Remove end dashes in default mode-line-format.
5119 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5121         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5122         to delete-forward-char.
5124         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5125         deletechar, and hence delete-forward-char.
5127 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5129         * repeat.el (repeat): Use read-key (bug#6256).
5131 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5133         * emacs-lisp/unsafep.el: Don't mark functions that display
5134         messages as safe.  Suggested by Johan Bockgård.
5136 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5138         * minibuffer.el (completion--replace): Move point where it belongs
5139         when there's a common suffix (bug#7215).
5141 2010-10-19  Kenichi Handa  <handa@m17n.org>
5143         * international/characters.el: Add category '|' (word breakable)
5144         to fullwidth characters.
5146 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5148         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5149         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5150         order to make stat results a float.  Patch by Andreas Schwab
5151         <schwab@linux-m68k.org>.
5153 2010-10-18  Julien Danjou  <julien@danjou.info>
5155         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5156         hidden by `make-pointer-invisible'.
5158 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5160         * files.el (locate-file-completion-table): Strip non-matching elements
5161         before checking length of list (bug#7238).
5163 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5165         * custom.el (custom-theme-set-variables): Mark as a safe function.
5166         (load-theme): Check forms using unsafep.
5168         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5170 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5172         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5173         Fix aspell data file searching (bug#7230).
5175 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5177         * cus-theme.el (custom-theme--migrate-settings): New var.
5178         (customize-create-theme): Allow editing the `user' theme.
5179         (custom-theme-add-variable, custom-theme-add-var-1)
5180         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5181         to the front of each variable or face widget.
5182         (custom-theme-write): Save theme settings in the correct order.
5183         Optionally, remove saved settings from user customizations.
5184         (custom-theme-write-variables, custom-theme-write-faces):
5185         Save only the checked widgets.
5186         (customize-themes): Add a link for migrating custom settings.
5188         * custom.el (custom-declare-theme, provide-theme):
5189         Use custom-theme-name-valid-p.
5190         (custom-theme-name-valid-p): Remove checks that are now
5191         unnecessary since themes no longer obey load-path.
5193         * cus-edit.el (custom-variable-value-create): For the simple
5194         style, hide documentation string when hidden.
5196 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5198         * cus-edit.el (custom-variable, custom-face): Combine the
5199         :inhibit-magic and :display-style properties into a single
5200         :custom-style property.
5201         (custom-toggle-hide-variable, custom-toggle-hide-face):
5202         New functions.  If hiding an edited value, save it to :shown-value.
5203         (custom-variable-value-create, custom-face-value-create): Use them.
5204         (custom-magic-reset): Allow magic property to be unset.
5206         * custom.el: Custom themes no longer use load-path.
5207         (custom-theme-load-path): New option.  Change built-in theme
5208         directory to etc/.
5209         (custom-enabled-themes): Add custom-theme-load-path dependency.
5210         (custom-theme--load-path): New function.
5211         (load-theme, custom-available-themes): Use it.
5213         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5214         (customize-themes): Link to custom-theme-load-path variable.
5215         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5216         :custom-style property.
5218         * themes/*.el: Moved to etc/.
5220 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5222         * textmodes/reftex-cite.el
5223         (reftex-extract-bib-entries-from-thebibliography): Do not move
5224         point when searching for \bibitem entries.  Match entries with
5225         spaces or tabs in front of arguments.
5227 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5229         * cus-theme.el (customize-create-theme): Delete overlays after
5230         erasing.  If given a THEME arg, display only the faces of that arg
5231         instead of custom-theme--listed-faces.
5232         (custom-theme-variable-menu, custom-theme-variable-action)
5233         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5234         (custom-theme-add-variable, custom-theme-add-face): Apply value
5235         from the theme settings, instead of the current value.
5236         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5237         (custom-theme-visit-theme): Allow calling outside theme buffers.
5238         (custom-theme-merge-theme): Don't enable the theme when merging.
5239         (custom-theme-write-variables, custom-theme-write-faces): Use the
5240         :shown-value properties to save buffer values, not global ones.
5241         (customize-themes): Display a warning about user customizations.
5243         * cus-edit.el (custom-variable-value-create)
5244         (custom-face-value-create): Obey new special properties
5245         :shown-value and :inhibit-magic.
5247 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5249         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5250         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5251         <dale@codefu.org>.
5253 2010-10-14  Kenichi Handa  <handa@m17n.org>
5255         * mail/rmail.el (rmail-show-message-1): Catch an error of
5256         base64-decode-region and just show an error message (bug#7165).
5258         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5259         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5260         a font-spec (bug#7197).
5262 2010-10-14  Glenn Morris  <rgm@gnu.org>
5264         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5266 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5268         * international/mule.el (define-coding-system):
5269         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5270         * composite.el (compose-region): Fix typo in docstring.
5272 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5274         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5275         only after checking the theme-face property.
5277         * faces.el (face-spec-reset-face): Reset all attributes in one
5278         single call to set-face-attribute.
5279         (face-spec-match-p): Make it a defsubst.
5280         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5281         (x-create-frame-with-faces, tty-create-frame-with-faces)
5282         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5283         frame-set-background-mode, since they are recomputed immediately
5284         afterwards in face-set-after-frame-default.
5285         (face-set-after-frame-default): Minor optimization.
5286         (cursor): Provide non-trivial defface spec.
5288         * custom.el (custom-theme-recalc-face): Simplify.
5290 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5292         * calc/calc-alg.el (math-var): Rename from `var'.
5293         (math-is-polynomial, math-is-poly-rec): Replace `var'
5294         with `math-var'.
5296         * calc/calcalg2.el (math-var): Rename from `var'.
5297         (calcFunc-table, math-scan-for-limits): Replace `var'
5298         with `math-var'.
5300 2010-10-13  Glenn Morris  <rgm@gnu.org>
5302         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5304 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5306         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5308 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5310         * net/tls.el (tls-program): Remove spurious %s from openssl.
5311         (tls-starttls-switches): Remove starttls hack.
5312         (open-tls-stream): Ditto.
5313         (tls-find-starttls-argument): Ditto.
5315 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5317         * image.el (image-library-alist): Declare as obsolete alias.
5318         (image-type-available-p): Use `dynamic-library-alist'.
5320         * term/w32-win.el (dynamic-library-alist):
5321         Use instead of `image-library-alist'.
5323 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5325         * subr.el (last): Make it faster.  (Bug#7174)
5327 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5329         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5331 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5333         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5334         (describe-theme-1): Extract doc from unloaded themes.
5336         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5338         * themes/tango-theme.el:
5339         * themes/tango-dark-theme.el:
5340         * themes/wheatgrass-theme.el: New files.
5342 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5344         * cus-theme.el (describe-theme, customize-themes)
5345         (custom-theme-save): New commands.
5346         (custom-new-theme-mode-map): Bind C-x C-s.
5347         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5348         (customize-create-theme): New optional arg THEME.
5349         (custom-theme-revert): Use it.
5350         (custom-theme-visit-theme): Remove dead code.
5351         (custom-theme-merge-theme): Use custom-available-themes.
5352         (custom-theme-write): Make interactive.
5353         (custom-theme-write): Use custom-theme-name-valid-p.
5354         (describe-theme-1, custom-theme-choose-revert)
5355         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5356         New funs.
5357         (custom-theme-allow-multiple-selections): New option.
5358         (custom-theme-choose-mode): New major mode.
5360         * custom.el (custom-theme-set-variables): Remove dead code.
5361         Obey custom--inhibit-theme-enable.
5362         (custom--inhibit-theme-enable): New var.
5363         (provide-theme): Obey it.
5364         (load-theme): Replace load with manual read/eval, in order to
5365         check for correctness.  Use custom-theme-name-valid-p.
5366         (custom-theme-name-valid-p): New function.
5367         (custom-available-themes): Use it.
5369         * cus-edit.el (custom--initialize-widget-variables): New function.
5370         (Custom-mode): Use it.
5372         * cus-face.el (custom-theme-set-faces): Remove dead code.
5373         Obey custom--inhibit-theme-enable.
5375         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5377 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5379         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5381 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5383         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5384         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5385         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5387         * cus-start.el (all): ns-right-alternate-modifier is new.
5389 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5391         * emacs-lisp/lisp.el (lisp-completion-at-point):
5392         Use emacs-lisp-mode-syntax-table for the whole function.
5394 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5396         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5397         instead of font-lock-mode before adding keywords.
5398         Remove hi-lock-mode off code.  Remove inhibit hack.
5399         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5400         non-nil; removed hook inhibit hack.
5402 2010-10-12  Glenn Morris  <rgm@gnu.org>
5404         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5405         (load-path-shadows-find): ... to this.
5406         (list-load-path-shadows): Update for above change.
5408         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5410 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5412         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5413         Fix comment for declare-function.
5415 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5417         * custom.el (custom-fix-face-spec): New function; code moved from
5418         custom-face-edit-fix-value.
5419         (custom-push-theme): Use it when checking if a face has been
5420         changed outside customize.
5421         (custom-available-themes): New function.
5422         (load-theme): Use it.
5424         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5426         * custom.el (custom-push-theme): Cleanup (use cond).
5427         (disable-theme): Recompute the saved-face property.
5428         (custom-theme-recalc-face): Follow face alias before setting prop.
5430         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5431         New variables, containing checkbox images.
5433         * startup.el (fancy-startup-tail):
5434         * wid-edit.el (checkbox): Use them.
5436 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5438         * shell.el (shell-mode-map):
5439         * progmodes/modula2.el (m2-mode-map):
5440         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5441         * play/mpuz.el (mpuz-mode-map):
5442         * play/landmark.el (lm-mode-map):
5443         * play/decipher.el (decipher-mode-map):
5444         * play/5x5.el (5x5-mode-map):
5445         * net/telnet.el (telnet-mode-map):
5446         * net/quickurl.el (quickurl-list-mode-map):
5447         * net/mairix.el (mairix-searches-mode-map):
5448         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5449         * net/dig.el (dig-mode-map):
5450         * mail/mspools.el (mspools-mode-map):
5451         * hexl.el (hexl-mode-map):
5452         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5453         (wordstar-C-o-map, wordstar-C-q-map):
5454         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5455         * emacs-lisp/chart.el (chart-map):
5456         * edmacro.el (edmacro-mode-map):
5457         * erc/erc-list.el (erc-list-menu-mode-map):
5458         * array.el (array-mode-map): Declare and define in one step.
5460         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5462 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5464         * epa.el (epa-passphrase-callback-function): Display filename
5465         passed as the 3rd arg.
5466         * epa-file.el (epa-file-passphrase-callback-function):
5467         Pass filename to epa-passphrase-callback-function.
5469 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5471         * cus-edit.el (custom-face-widget-to-spec)
5472         (custom-face-get-current-spec, custom-face-state): New functions.
5473         (custom-face-set, custom-face-mark-to-save)
5474         (custom-face-value-create, custom-face-state-set): Use them.
5476         * cus-theme.el (custom-theme--listed-faces): New var.
5477         (customize-create-theme): Use *Custom Theme* as the buffer name.
5478         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5479         faces listed in custom-theme--listed-faces.
5480         (custom-theme-revert): New function.
5481         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5482         bottom of the list.
5483         (custom-theme-write): Prompt for theme name if empty.
5484         (custom-theme-write-variables): Use dolist.
5485         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5487 2010-10-09  Alan Mackenzie  <acm@muc.de>
5489         Enhance fontification of declarators to take account of the
5490         presence/absence of "typedef".
5492         * cc-engine.el (c-forward-type): New &optional param
5493         "brace-block-too".
5494         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5495         presence of either or both of a "struct"-like keyword and "typedef".
5497         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5498         fontification of declarators which follow a "}".
5499         (c-font-lock-declarations): Fontify declarators according to the
5500         presence/absence of "typedef".
5502         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5503         for "typedef".
5504         (c-typedef-decl-key): New lang variable built from
5505         c-typedef-decl-kwds.
5507 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5509         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5510         since that's too annoying.  Move the filter groups commands to
5511         TAB/backtab.
5513         * epa.el (epa-passphrase-callback-function): Say what we're
5514         querying the password for.
5516         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5517         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5519 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5521         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5522         (custom-magic-value-create): Pad button tags with spaces.
5523         (custom-face-edit): New variable.
5524         (custom-face-value-create): Determine whether to use the usual
5525         face editor here, instead of using custom-face-selected.
5526         Pass face defaults to custom-face-edit widget.
5527         (custom-face-selected, custom-display-unselected): Delete widgets.
5528         (custom-display-unselected-match): Function removed.
5529         (custom-face-set, custom-face-mark-to-save):
5530         Accept custom-face-edit widgets as the direct widget child.
5532         * wid-edit.el (widget--completing-widget): New var.
5533         (widget-default-complete): Bind it when doing completion.
5534         (widget-string-complete, widget-file-complete): Use it.
5536 2010-10-09  Glenn Morris  <rgm@gnu.org>
5538         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5539         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5540         (holiday-hebrew-misc): Small simplifications.
5542         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5544         * net/browse-url.el: Don't require thingatpt, term, dired,
5545         executable, or w3-auto when compiling.
5546         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5547         Declare.
5548         (browse-url-text-emacs): Require term.
5550 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5552         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5554 2010-10-08  Glenn Morris  <rgm@gnu.org>
5556         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5558         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5559         (shadows-compare-text-p): Make it an obsolete alias for...
5560         (load-path-shadows-compare-text): ... new name.
5561         (find-emacs-lisp-shadows): Update for above name change.
5562         (load-path-shadows-same-file-or-nonexistent): New name for the old
5563         shadow-same-file-or-nonexistent.
5565 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5567         * minibuffer.el (completion--some, completion--do-completion)
5568         (minibuffer-complete-and-exit, minibuffer-completion-help)
5569         (completion-basic-try-completion)
5570         (completion-basic-all-completions)
5571         (completion-pcm--find-all-completions): Use lexical-let to
5572         avoid some false matches in variable completion (Bug#7056)
5574 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5576         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5578 2010-10-08  Leo  <sdl.web@gmail.com>
5580         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5581         return non-nil if the file exists (Bug#7090).
5583 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5585         * minibuffer.el (completion--replace):
5586         Better preserve markers (bug#7138).
5588 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5590         * server.el (server-process-filter): Doc fix.
5592 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5594         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5596 2010-10-08  Glenn Morris  <rgm@gnu.org>
5598         * vc/ediff-wind.el (ediff-setup-control-frame):
5599         * vc/ediff-ptch.el (ediff-default-backup-extension):
5600         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5601         (ediff-exec-process): Remove system-types emx, windows-95.
5603         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5605 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5607         * cus-edit.el (custom-variable, custom-face): Doc fix.
5608         (custom-face-edit): Add value-create attribute.
5609         (custom-face-edit-value-create)
5610         (custom-face-edit-value-visibility-action): New functions.
5611         Hide unused face attributes by default, and add a visibility toggle.
5612         (custom-face-edit-deactivate): Show empty values with shadow face.
5613         (custom-face-selected): Only use this for face specs with default
5614         attributes.
5615         (custom-face-value-create): Cleanup.
5617         * wid-edit.el (widget-checklist-value-create): Use dolist.
5618         (widget-checklist-match-find): Make second arg optional.
5620 2010-10-07  Glenn Morris  <rgm@gnu.org>
5622         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5623         Prefix things.
5625         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5626         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5627         load-path-shadows-mode, update references.
5628         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5629         Rename variable and button.
5630         (list-load-path-shadows): Update button caller.
5632 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5634         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5635         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5636         (smie-merge-prec2s): Handle those new entries.
5637         (smie-prec2-levels): Only set precedence to nil for actual
5638         openers/closers.
5639         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5640         that is now unnecessary.
5642 2010-10-07  Miles Bader  <miles@gnu.org>
5644         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5646 2010-10-07  Glenn Morris  <rgm@gnu.org>
5648         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5649         (mail-position-on-field): Remove declarations.
5650         (mail-position-on-field): Autoload it.
5651         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5652         and mail-header-end.  Don't require sendmail.
5654         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5655         (shadow-mode): New mode.
5656         (shadow-find-file): New button.
5657         (list-load-path-shadows): Use shadow-mode and buttons.
5659         * iimage.el (iimage-version): Remove.
5660         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5661         Turn into defcustoms.
5662         (iimage-mode-map): Give it a doc string.
5664         * calendar/appt.el (appt-activate): Give a warning rather than an error
5665         if there is no diary-file.
5667 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5669         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5670         Use `tramp-handle-find-backup-file-name'.
5672 2010-10-06  Glenn Morris  <rgm@gnu.org>
5674         * font-core.el (font-lock-defaults-alist): Remove variable.
5675         (font-lock-mode): Doc fix.
5676         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5677         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5678         (font-lock-set-defaults): Doc fix.
5679         Do not consult font-lock-defaults-alist.
5681         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5683         * emacs-lisp/cl.el: No longer provide cl-19.
5685 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5687         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5688         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5689         New defuns, taken from tramp-smb.el.
5690         (tramp-coding-system-change-eol-conversion)
5691         (tramp-set-process-query-on-exit-flag): Remove.
5693         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5694         (tramp-compat-coding-system-change-eol-conversion)
5695         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5696         from tramp.el.
5698         * net/tramp-gvfs.el:
5699         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5700         by `tramp-compat-set-process-query-on-exit-flag'.
5702         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5703         Use `tramp-handle-directory-files-and-attributes',
5704         `tramp-handle-file-exists-p' and
5705         `tramp-handle-file-newer-than-file-p'.
5706         (tramp-imap-handle-file-exists-p)
5707         (tramp-imap-handle-file-executable-p)
5708         (tramp-imap-handle-file-readable-p)
5709         (tramp-imap-handle-directory-files-and-attributes)
5710         (tramp-imap-handle-file-newer-than-file-p): Remove.
5712         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5713         by `tramp-compat-set-process-query-on-exit-flag' and
5714         `tramp-coding-system-change-eol-conversion' by
5715         `tramp-compat-coding-system-change-eol-conversion'.
5717         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5718         Use `tramp-handle-directory-files-and-attributes',
5719         `tramp-handle-file-exists-p' and
5720         `tramp-handle-file-newer-than-file-p'.
5721         (tramp-smb-handle-directory-files-and-attributes)
5722         (tramp-smb-handle-file-exists-p)
5723         (tramp-smb-handle-file-newer-than-file-p): Remove.
5724         (tramp-smb-maybe-open-connection):
5725         Replace `tramp-set-process-query-on-exit-flag' by
5726         `tramp-compat-set-process-query-on-exit-flag'.
5728 2010-10-05  Glenn Morris  <rgm@gnu.org>
5730         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5732 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
5734         Continue reorganization of load dependencies.  (Bug#7156)
5736         * net/tramp.el (tramp-handle-file-local-copy-hook)
5737         (tramp-delete-temp-file-function): Move down.
5738         (tramp-exists-file-name-handler): Move up.
5739         (tramp-register-file-name-handlers): Simplify autoload.
5740         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5741         (tramp-handle-directory-files, tramp-handle-dired-uncache)
5742         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5743         (tramp-handle-file-name-completion)
5744         (tramp-handle-file-name-directory)
5745         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5746         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5747         (tramp-handle-find-backup-file-name)
5748         (tramp-handle-insert-file-contents, tramp-handle-load)
5749         (tramp-handle-substitute-in-file-name)
5750         (tramp-handle-unhandled-file-name-directory)
5751         (tramp-mode-string-to-int, tramp-local-host-p)
5752         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5754         * net/tramp-gvfs.el (top):
5755         * net/tramp-smb.el (top): Do not require 'tramp-sh.
5757         * net/tramp-sh.el (all): Move several objects to tramp.el, see
5758         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5760 2010-10-04  Glenn Morris  <rgm@gnu.org>
5762         * calendar/appt.el (appt-add): Ensure reminders are enabled.
5763         (appt-activate): Give status messages.
5765 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5767         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
5768         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5769         `gnutls-negotiate' (formerly `starttls-negotiate').
5770         Remove trivial wrapper `starttls-open-stream'.
5772 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
5774         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5775         log-outgoing commands.
5776         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5777         to create a buffer local revert-buffer-function variable.
5778         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5779         revert-buffer-function lambda.
5781 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5783         * net/gnutls.el (starttls-negotiate): Use the plist interface to
5784         `gnutls-boot'.  Make TYPE the only required parameter.
5785         Allow TRUSTFILES and KEYFILES to be lists.
5786         (open-ssl-stream): Use it.
5788 2010-10-03  Glenn Morris  <rgm@gnu.org>
5790         * subr.el (directory-sep-char): Remove obsolete variable.
5791         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5792         it is "necessary".
5794         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5795         * vc/vc.el (vc-static-header-alist): Doc fix.
5796         * vc/vc-cvs.el (vc-cvs-header):
5797         * vc/vc-rcs.el (vc-rcs-header):
5798         * vc/vc-sccs.el (vc-sccs-header):
5799         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5800         * obsolete/vc-mcvs.el (vc-mcvs-header):
5801         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5802         on XEmacs.
5804 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5806         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5807         Remove obsolete use of binary-overwrite-mode (Bug#7001).
5809 2010-10-03  Glenn Morris  <rgm@gnu.org>
5811         * obsolete/x-menu.el: Remove file, obsolete since 21.1
5813         * textmodes/rst.el (rst-font-lock-keywords-function):
5814         Drop Emacs 20 code.
5816         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5818         * printing.el: Drop Emacs 20 code.
5820         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5821         without having used appt.el already).
5823         * subr.el (make-local-hook): Remove function obsolete since 21.1.
5824         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5825         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5826         XEmacs.
5827         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5828         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5830         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5831         (charset-width, find-charset-region, chars-in-region, forward-point)
5832         (encode-coding-string, coding-system-p, ccl-execute-on-string)
5833         (define-ccl-program, multibyte-string-p, string-make-multibyte):
5834         Remove compatibility cruft (none of these are used by ps*.el).
5836 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
5838         * subr.el (booleanp): Return t instead of a list (Bug#7086).
5840 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5842         * server.el (server-process-filter, server-return-error):
5843         Give emacsclient time to shut down after receiving an error string.
5845 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
5847         * files.el (remote-file-name-inhibit-cache): New defcustom.
5849         * time.el (display-time-file-nonempty-p):
5850         Use `remote-file-name-inhibit-cache'.
5852         * net/tramp.el (tramp-completion-reread-directory-timeout):
5853         Fix docstring.
5855         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5856         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5857         `remote-file-name-inhibit-cache'.  Check also for an integer
5858         value.  Add/increase counter when `tramp-verbose' >= 10.
5859         (tramp-set-file-property): Add/increase counter when
5860         `tramp-verbose' >= 10.
5862         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5863         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5864         (tramp-bug): Set tramp-autoload cookie.  Report all interned
5865         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
5866         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
5867         characters only in strings.
5869         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5870         to backward compatibility.
5872         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5873         (tramp-handle-file-name-all-completions)
5874         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5875         (tramp-open-connection-setup-interactive-shell):
5876         Call `tramp-cleanup-connection' directly.
5878 2010-10-02  Glenn Morris  <rgm@gnu.org>
5880         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5882         * subr.el (char-bytes): Remove obsolete function.
5884         * isearch.el (isearch-return-char): Remove obsolete function.
5886         * mouse.el: No longer provide mldrag.
5887         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5888         Remove obsolete aliases.
5890         * comint.el (comint-kill-output): Remove obsolete alias.
5892         * composite.el (decompose-composite-char): Remove obsolete function.
5893         * ps-def.el (decompose-composite-char): Remove unused function.
5895         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5897         * outline.el (outline-visible): Remove obsolete function.
5899         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5900         * faces.el (internal-find-face, internal-get-face)
5901         (frame-update-faces, frame-update-face-colors)
5902         (x-frob-font-weight, x-frob-font-slant)
5903         (internal-frob-font-weight, internal-frob-font-slant)
5904         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5905         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5906         (x-make-font-bold-italic): Remove functions and aliases, obsolete
5907         since Emacs 21.1.
5908         * emulation/viper-util.el (viper-get-face):
5909         * obsolete/lucid.el (find-face, get-face): Use facep.
5910         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5911         Remove unused functions.
5912         * vc/ediff-util.el (ediff-submit-report): Doc fix.
5914         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5915         delete tempfile if interrupted during compilation.
5917 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5919         * net/tls.el (tls-starttls-switches): Give up on using starttls with
5920         gnutls-cli.
5921         (tls-program): Add --insecure to be consistent with the defaults from
5922         openssl s_client.  Now all three commands are insecure.
5924 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
5926         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5927         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5928         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5930 2010-10-01  Glenn Morris  <rgm@gnu.org>
5932         * obsolete/sc.el: Remove file.
5934         * files.el (temporary-file-directory): On darwin, also try
5935         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5937 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
5939         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5940         Let's not break compatibility gratuitously, shall we?
5942 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5944         * net/tls.el (tls-starttls-switches): New variable.
5945         (tls-find-starttls-argument): Use it.
5946         (open-tls-stream): Ditto.
5948         * net/netrc.el (netrc-credentials): Return the value of the "default"
5949         entry.
5950         (netrc-machine): Ditto.
5952 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
5954         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5956 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
5958         * server.el (server-start): Don't write pid to the authentication file.
5959         (server-create-tty-frame): Don't send pid.
5960         (server-process-filter): Send pid at the start of every connection.
5962 2010-09-30  Glenn Morris  <rgm@gnu.org>
5964         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5965         (show-all-diary-entries): Remove obsolete function aliases.
5967         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5968         Remove options, obsolete since 22.1.
5969         (appt-display-format, appt-display-message):
5970         Remove backwards-compatibility code.
5971         (appt-check): No longer check appt-issue-message.
5972         (appt-make-list): No longer autoload it.  Doc fix.  No longer
5973         activate the package.
5975 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5977         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5978         (starttls-negotiate): Just call boot, and let the handshake be
5979         triggered from the read loop.
5981 2010-09-29  Glenn Morris  <rgm@gnu.org>
5983         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5984         not displaying the diary.
5985         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5986         * calendar/appt.el (appt-check): No longer need to kill diary.
5988         * calendar/diary-lib.el (diary-list-entries): Move the
5989         "Preparing..." message entirely here.
5990         (diary-simple-display, diary-fancy-display): Move "Preparing..."
5991         messages to diary-list-entries.
5992         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5993         diary-display-function.
5995         * calendar/diary-lib.el (diary-include-other-diary-files):
5996         Trap some recursive includes.
5998         * calendar/appt.el (appt-activate): Check diary file.
6000 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
6002         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6003         construction.
6005         * calendar/time-date.el: No need to require cl for Emacs 21.
6007 2010-09-28  Glenn Morris  <rgm@gnu.org>
6009         * calendar/appt.el (appt-check): Minor simplification.
6011 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6013         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6014         citation prefix.
6016 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
6018         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6019         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
6021 2010-09-27  Kenichi Handa  <handa@m17n.org>
6023         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6024         "ustar" format.
6026 2010-09-27  Kenichi Handa  <handa@m17n.org>
6028         * international/mule.el (define-coding-system): Docstring fixed.
6030         * international/mule-diag.el (describe-character-set): Use princ
6031         with proper print-length and print-level instead of insert.
6033 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6035         * window.el (walk-windows): Doc fix (bug#7105).
6037 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6039         * emacs-lisp/float-sup.el (e): Remove.
6041 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6043         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6044         variable.
6045         (starttls-negotiate): Use it.
6047 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6049         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6050         back.
6052 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6054         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6056 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6058         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6060         * net/netrc.el (netrc-store-data): New function.
6062 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6064         * net/gnutls.el: GnuTLS glue code to set up a connection.
6066 2010-09-25  Julien Danjou  <julien@danjou.info>
6068         * notifications.el: Call dbus-register-signal only if it is bound.
6070 2010-09-25  Glenn Morris  <rgm@gnu.org>
6072         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6073         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6074         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6075         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6076         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6077         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6078         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6079         * eshell/esh-util.el, eshell/esh-var.el:
6080         Remove leading `*' from docs of faces and defcustoms.
6082 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6084         * eshell/em-ls.el (eshell-ls-archive-regexp):
6085         * eshell/esh-util.el (eshell-tar-regexp):
6086         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6087         * info.el (Info-suffix-list):
6088         * international/mule.el (auto-coding-alist):
6089         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6090         * progmodes/etags.el (tags-compression-info-list):
6091         Support xz compression.
6093 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6095         * files.el (get-free-disk-space): Don't assume the "df" output
6096         columns line up (Bug#6995).
6098 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6100         * finder.el (finder-unknown-keywords):
6101         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6102         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6104 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6106         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6107         address 127.0.0.1 for local host is now done in Fmake_network_process.
6109 2010-09-24  Glenn Morris  <rgm@gnu.org>
6111         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6112         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6113         * textmodes/css-mode.el, textmodes/dns-mode.el:
6114         Move autoloaded auto-mode-alist entries to files.el.
6115         * files.el (auto-mode-alist): Move entries here.
6117 2010-09-23  Glenn Morris  <rgm@gnu.org>
6119         * isearch.el (isearch-lazy-highlight-cleanup)
6120         (isearch-lazy-highlight-initial-delay)
6121         (isearch-lazy-highlight-interval)
6122         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6123         * net/net-utils.el (ipconfig-program-options):
6124         Move aliases to options before the associated definitions.
6126 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6128         * newcomment.el (comment-normalize-vars): Better test validity of
6129         comment-end-skip.
6131 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6133         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6134         (float-e): New name for `e'.
6135         (degrees-to-radians, radians-to-degrees):
6136         * calendar/solar.el (solar-longitude):
6137         * calculator.el (calculator-registers, calculator-funcall):
6138         * textmodes/artist.el (artist-spray-random-points):
6139         * play/bubbles.el (bubbles--initialize-images): Use new names.
6141 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6143         Update to CEDET 1.0's version of EIEIO.
6145         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6146         New function.
6147         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6148         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6149         (class-precedence-list): If class is nil, return nil.
6150         (eieio-generic-call): If class of first input arg is nil, don't
6151         look up static methods, and do check for primary methods.
6152         (initialize-instance): See if the default needs to be evaluated
6153         during the constructor.
6154         (eieio-perform-slot-validation-for-default): Don't do the check
6155         for values that will eventually be evaluated.
6156         (eieio-eval-default-p): New function.
6157         (eieio-default-eval-maybe): Use it.
6159 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6161         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6162         method-invocation-order.
6163         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6164         (eieio-class-precedence-dfs): Compute class precedence list using
6165         dfs algorithm.
6166         (eieio-class-precedence-bfs): Compute class precedence list using
6167         bfs algorithm.
6168         (eieio-class-precedence-c3): Compute class precedence list using
6169         c3 algorithm.
6170         (class-precedence-list): New function.
6171         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6172         (inconsistent-class-hierarchy): New error symbol.
6173         (call-next-method): Stow the replacement argument list for future
6174         call-next-method invocations.
6176 2010-09-23  Glenn Morris  <rgm@gnu.org>
6178         * calendar/appt.el (appt-check): If not displaying the diary,
6179         use (diary 1) to only get the entries we need.
6180         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6181         that it is in day order.  (Bug#7019)
6183         * calendar/appt.el (appt-check): Rather than showing the diary,
6184         just turn off invisible display, and only if needed.
6186         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6188 2010-09-23  Glenn Morris  <rgm@gnu.org>
6190         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6191         (byte-compile-defvar, byte-compile-cl-warn):
6192         Start warnings with lower-case, like the majority.
6194         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6196         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6198         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6199         * files.el (auto-mode-alist): Move ld-script entries here, further down
6200         the list.
6202         * vc/add-log.el: Don't require timezone when compiling.
6203         (timezone-make-date-sortable): Autoload it.
6204         (change-log-sortable-date-at): Don't require timezone.
6205         Use `ignore-errors'.
6207         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6208         Move alias before definition, so it does not need autoloading.
6210         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6211         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6212         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6213         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6214         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6215         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6216         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6217         * textmodes/tex-mode.el, textmodes/two-column.el:
6218         Remove leading `*' from docs of defcustoms etc.
6220 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6222         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6224 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6226         * calendar/time-date.el (date-to-time): Try using parse-time-string
6227         first before using the slower timezone-make-date-arpa-standard.
6229 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6231         * calendar/time-date.el (format-seconds): Comment fix.
6233 2010-09-22  Glenn Morris  <rgm@gnu.org>
6235         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6236         is not automatically buffer-local.
6238 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6240         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6241         (smie-indent-comment): Be more careful with comment-start-skip.
6242         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6243         (smie-indent-functions): Use them.
6245 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6247         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6249 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6251         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6252         tool-bar-position.  Don't modify frame parameters here.
6253         (menu-bar-options-save): Add tool-bar-position.
6255         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6257 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6259         * textmodes/reftex-parse.el (reftex-what-macro)
6260         (reftex-context-substring): Let-bind forward-sexp-function to nil
6261         since we don't need/want to treat \begin...\end as a block (bug#7053).
6263         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6265         * simple.el (blink-matching-open): Use syntax-class.
6267         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6268         Set invisibility spec for pascal's outline mode.
6269         (pascal-outline-change): Clean up calling convention.
6270         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6272         * progmodes/prolog.el (prolog-smie-forward-token)
6273         (prolog-smie-backward-token): New functions.
6274         (prolog-mode-variables): Use them to parse "!," correctly.
6275         Set up smie-blink-matching for ".".
6277         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6278         and `end'.
6279         (ispell-region, ispell-process-line): Update users.
6281         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6282         point-min==1.
6284         * textmodes/ispell.el: Fix commenting convention.
6285         (ispell-parse-output): Simplify, use push.
6286         (ispell-region): Use match-string-no-properties.
6287         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6288         (ispell-minor-mode): Use define-minor-mode.
6289         (ispell-message): Remove unused var `skip-regexp'.
6290         (ispell-add-per-file-word-list): Use dynamic let-binding.
6291         Try and use the proper comment marker.
6293         * mail/sendmail.el: Fix commenting convention.
6294         (sendmail-send-it): Use line-beginning-position.
6296         * help-fns.el (describe-variable): Add original value, if applicable.
6298 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6300         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6302         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6304 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6306         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6307         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6308         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6309         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6310         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6311         something like "." can also be a closer.
6312         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6313         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6314         Rename internal functions to use "--".  Update callers.
6316         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6318         * fringe.el (fringe-styles): New var.
6319         (fringe-mode, fringe-query-style): Use it.
6321 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6323         * progmodes/sql.el: Version 2.8
6324         (sql-login-params): Update widget structure; changes still needed.
6325         (sql-product-alist): Add :list-all and :list-table features for
6326         SQLite, Postgres and MySQL products.
6327         (sql-redirect): Handle default value.
6328         (sql-execute, sql-execute-feature): New functions.
6329         (sql-read-table-name): New function.
6330         (sql-list-all, sql-list-table): New functions.  User API.
6331         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6332         for above functions.
6333         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6334         for above functions.
6335         (sql-postgres-login-params): Add user and database defaults.
6336         (sql-buffer-live-p): Bug fix.
6337         (sql-product-history): New variable.
6338         (sql-read-product): New function.  Use it.
6339         (sql-set-product, sql-product-interactive): Use it.
6340         (sql-connection-history): New variable.
6341         (sql-read-connection): New function.  Use it.
6342         (sql-connect): New function.
6343         (sql-for-each-login): Redesign function interface.
6344         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6345         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6346         (sql-comint): Check for program.  Existing live buffer.
6347         (sql-comint-postgres): Add port parameter.
6349 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6351         * emacs-lisp/warnings.el: Fix commenting convention.
6352         (display-warning): Use special mode and make the buffer read-only.
6354 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6356         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6357         empty string when it follows a repeated or optional pattern.
6359 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6361         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6362         (indent-region): Use indent-according-to-mode.
6364 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6366         * fringe.el (fringe-mode): Doc fix.
6368 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6370         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6371         refreshing the preview buffer.
6373 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6375         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6376         (latex-syntax-propertize-rules): New consts; replace
6377         tex-font-lock-syntactic-keywords.
6378         (tex-env-mark, latex-env-before-change): New functions.
6379         (latex-electric-env-pair-mode): New minor mode.
6380         (tex-font-lock-verb): Change arguments; do move point.
6381         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6382         representation as a form of comment.
6383         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6384         (doctex-syntax-propertize-rules): New const; replaces
6385         doctex-font-lock-syntactic-keywords.
6386         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6388         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6389         (fortran-make-syntax-propertize-function): New function; replaces
6390         fortran-font-lock-syntactic-keywords.
6391         (fortran-mode): Use it.
6392         (fortran-line-length): Use it.  Improve interactive spec.
6394         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6395         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6396         when adding surrounding \(..\).
6398         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6400 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6402         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6403         Use with-current-buffer.
6405         * isearch.el (isearch-face): Rename from `isearch'.
6406         (isearch-highlight): Use new name.
6408 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6410         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6411         5, for `half' width fringes.  (Bug#6933)
6413 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6415         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6416         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6418         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6420 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6422         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6423         in calculating new frame position.  Add more space between new and
6424         parent on the left (Bug#7048).
6426 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6428         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6429         defmacro.
6431 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6433         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6435         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6436         obsolete alias for x-selection-value.
6438         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6440 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6442         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6443         cookie.
6445 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6447         * net/tramp-compat.el (tramp-compat-with-temp-message)
6448         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6449         (tramp-compat-process-put): New defuns.
6451         * net/tramp.el (top):
6452         * net/tramp-gvfs.el (top):
6453         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6455         * net/tramp.el (tramp-progress-reporter-update):
6456         Use `tramp-compat-funcall'.
6458         * net/tramp.el (tramp-process-actions):
6459         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6460         * net/tramp-sh.el (tramp-handle-vc-registered)
6461         (tramp-get-remote-stat, tramp-get-remote-readlink):
6462         Use `tramp-compat-with-temp-message'.
6464         * net/tramp-sh.el (top): Require 'cl.
6465         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6466         (tramp-open-connection-setup-interactive-shell):
6467         Use `tramp-compat-process-put'.
6469 2010-09-15  Alan Mackenzie  <acm@muc.de>
6471         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6472         indentation.
6473         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6475 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6477         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6478         `lexical' for warnings related to lexical scoping.
6479         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6480         global vars which don't have a prefix and could hence affect lexical
6481         scoping in unrelated files.
6483 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6485         * net/imap.el: Revert back to version
6486         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6487         seem problematic.
6489 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6491         * obsolete/old-whitespace.el (whitespace-unload-function):
6492         Explicitly pass `obarray' to `unintern' to avoid a warning.
6494 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6496         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6497         Add `when' argument.  Update callers.
6499         * subr.el (unintern): Declare the obarray arg mandatory.
6501 2010-09-14  Glenn Morris  <rgm@gnu.org>
6503         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6504         Doc fixes.
6506         * calendar/diary-lib.el (diary-included-files): New variable.
6507         (diary-list-entries): Maybe initialize diary-included-files.
6508         (diary-include-other-diary-files): Append to diary-included-files.
6509         * calendar/appt.el (appt-update-list): Also check the members of
6510         diary-included-files.  (Bug#6999)
6511         (appt-check): Doc fix.
6513 2010-09-14  David Reitter  <david.reitter@gmail.com>
6515         * simple.el (line-move-visual): Do not truncate goal column to
6516         integer size.  (Bug#7020)
6518 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6520         * repeat.el (repeat): Allow repeating when the last event is a click.
6521         Suggested by Drew Adams (bug#6256).
6523 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6525         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6526         Replace setting HGRCPATH to "" by some less invasive --config options.
6528 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6530         * font-lock.el (font-lock-beginning-of-syntax-function):
6531         Mark as obsolete.
6533 2010-09-14  Glenn Morris  <rgm@gnu.org>
6535         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6536         and tool-bar modes.  (Bug#6211)
6537         (menu-bar-mode): Move setting of standard-value after the
6538         minor-mode definition, otherwise it seems to have no effect.
6540 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6542         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6543         Fix typo.  (Bug#6976)
6545 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6547         * whitespace.el: Allow cleaning up blanks without blank
6548         visualization (Bug#6651).  Adjust help window for
6549         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6550         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6551         (whitespace-style): Add new value 'face.  Adjust docstring.
6552         (whitespace-space, whitespace-hspace, whitespace-tab):
6553         Adjust foreground property face.
6554         (whitespace-line-column): Adjust docstring and type declaration.
6555         (whitespace-style-value-list, whitespace-toggle-option-alist)
6556         (whitespace-help-text): Adjust const initialization.
6557         (whitespace-toggle-options, global-whitespace-toggle-options):
6558         Adjust docstring.
6559         (whitespace-display-window, whitespace-interactive-char)
6560         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6561         (whitespace-help-scroll): New fun.
6563 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6565         * calendar/time-date.el (format-seconds): Comment fix.
6567 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6569         * progmodes/sql.el: Version 2.7.
6570         (sql-buffer-live-p): Improve detection.
6571         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6572         (sql-set-sqli-buffer): Use it.
6573         (sql-product-interactive): Run `sql-set-sqli-hook'.
6574         (sql-rename-buffer): Code cleanup.
6575         (sql-redirect, sql-redirect-value): New functions.  More to come.
6577 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6579         Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
6580         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6581         (TRAMP_SRC): New macro.
6582         ($(lisp)/net/tramp-loaddefs.el): New target.
6584 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6586         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6588         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6590         * net/tramp.el (top): Don't show loading message.  Require just
6591         'tramp-compat, everything else is required there.
6592         Use `ignore-errors' where appropriate.
6593         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6594         (tramp-terminal-type, tramp-end-of-output)
6595         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6596         (tramp-completion-function-alist-ssh)
6597         (tramp-completion-function-alist-telnet)
6598         (tramp-completion-function-alist-su)
6599         (tramp-completion-function-alist-putty, tramp-remote-path)
6600         (tramp-remote-process-environment, tramp-sh-extra-args)
6601         (tramp-actions-before-shell, tramp-uudecode)
6602         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6603         (tramp-perl-file-attributes)
6604         (tramp-perl-directory-files-and-attributes)
6605         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6606         (tramp-perl-encode, tramp-perl-decode)
6607         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6608         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6609         (tramp-handle-make-symbolic-link, tramp-handle-load)
6610         (tramp-handle-file-name-as-directory)
6611         (tramp-handle-file-name-directory)
6612         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6613         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6614         (tramp-do-file-attributes-with-ls)
6615         (tramp-do-file-attributes-with-perl)
6616         (tramp-do-file-attributes-with-stat)
6617         (tramp-handle-set-visited-file-modtime)
6618         (tramp-handle-verify-visited-file-modtime)
6619         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6620         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6621         (tramp-handle-file-selinux-context)
6622         (tramp-handle-set-file-selinux-context)
6623         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6624         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6625         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6626         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6627         (tramp-handle-file-ownership-preserved-p)
6628         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6629         (tramp-handle-directory-files-and-attributes)
6630         (tramp-do-directory-files-and-attributes-with-perl)
6631         (tramp-do-directory-files-and-attributes-with-stat)
6632         (tramp-handle-file-name-all-completions)
6633         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6634         (tramp-handle-copy-file, tramp-handle-copy-directory)
6635         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6636         (tramp-do-copy-or-rename-file-via-buffer)
6637         (tramp-do-copy-or-rename-file-directly)
6638         (tramp-do-copy-or-rename-file-out-of-band)
6639         (tramp-handle-make-directory, tramp-handle-delete-directory)
6640         (tramp-handle-delete-file)
6641         (tramp-handle-dired-recursive-delete-directory)
6642         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6643         (tramp-handle-insert-directory)
6644         (tramp-handle-unhandled-file-name-directory)
6645         (tramp-handle-expand-file-name)
6646         (tramp-handle-substitute-in-file-name)
6647         (tramp-handle-executable-find, tramp-process-sentinel)
6648         (tramp-handle-start-file-process, tramp-handle-process-file)
6649         (tramp-handle-call-process-region, tramp-handle-shell-command)
6650         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6651         (tramp-handle-insert-file-contents)
6652         (tramp-handle-insert-file-contents-literally)
6653         (tramp-handle-find-backup-file-name)
6654         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6655         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6656         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6657         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6658         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6659         (tramp-find-file-exists-command, tramp-open-shell)
6660         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6661         (tramp-open-connection-setup-interactive-shell)
6662         (tramp-local-coding-commands, tramp-remote-coding-commands)
6663         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6664         (tramp-inline-compress-commands, tramp-find-inline-compress)
6665         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6666         (tramp-send-command, tramp-wait-for-output)
6667         (tramp-send-command-and-check, tramp-barf-unless-okay)
6668         (tramp-send-command-and-read, tramp-mode-string-to-int)
6669         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6670         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6671         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6672         (tramp-method-out-of-band-p, tramp-local-host-p)
6673         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6674         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6675         (tramp-get-test-command, tramp-get-test-nt-command)
6676         (tramp-get-file-exists-command, tramp-get-remote-ln)
6677         (tramp-get-remote-perl, tramp-get-remote-stat)
6678         (tramp-get-remote-readlink, tramp-get-remote-trash)
6679         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6680         (tramp-get-local-uid, tramp-get-local-gid)
6681         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6682         tramp-sh.el.
6683         (tramp-methods, tramp-default-method-alist)
6684         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6685         Move initialization to tramp-sh.el.
6686         (tramp-temp-name-prefix): Make it a defconst.
6687         (tramp-dissect-file-name): Don't check anymore for multi-hop
6688         methods.
6689         (tramp-debug-outline-regexp): Add a docstring.
6690         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6691         (tramp-get-debug-buffer): Use it.
6693         * net/tramp-cache.el (top): Set tramp-autoload cookie for
6694         initialization forms.
6695         (tramp-set-connection-property): Don't protect `tramp-message'
6696         call, it isn't necessary any longer.
6697         (tramp-dump-connection-properties): Use `ignore-errors'.
6699         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6700         'password-cache and 'auth-source.
6702         * net/tramp-gvfs.el (top):
6703         * net/tramp-smb.el (top): Require 'tramp-sh.
6705         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6707         * net/tramp-sh.el: New file, derived from tramp.el.
6708         (top): Initialize `tramp-methods', `tramp-default-method-alist',
6709         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6710         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6711         Use `ignore-errors' where appropriate.
6712         (tramp-sh-file-name-handler-alist): Rename from
6713         `tramp-file-name-handler-alist'.
6714         (tramp-send-command-and-check): Return t or nil.  Remove all
6715         `zerop' checks, where called.
6716         (tramp-handle-set-file-modes)
6717         (tramp-do-copy-or-rename-file-directly)
6718         (tramp-handle-delete-directory, tramp-handle-delete-file)
6719         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6720         (tramp-sh-file-name-handler, tramp-send-command-and-check)
6721         (tramp-get-remote-ln): Set tramp-autoload cookie.
6723         * net/tramp-fish.el: Remove file.
6725 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
6727         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6728         buffer-file-name to avoid file-locking.  (Bug#7026)
6730 2010-09-13  Julien Danjou  <julien@danjou.info>
6732         * notifications.el (notifications-notify): Add support for
6733         image-path and sound-name.
6734         (notifications-specification-version): Add this variable.
6736 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6738         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6740 2010-09-12  Leo  <sdl.web@gmail.com>
6742         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6743         (rcirc-completion-start): New variables.
6744         (rcirc-nick-completions): Rename to rcirc-completions.
6745         (rcirc-nick-completion-start-offset): Delete.
6746         (rcirc-completion-at-point): New function for constructing
6747         completion data for both nicks and irc commands.  Add to
6748         completion-at-point-functions in rcirc mode.
6749         (rcirc-complete): Rename from rcirc-nick-complete; use
6750         rcirc-completion-at-point.
6751         (defun-rcirc-command): Update rcirc-client-commands.
6753 2010-09-11  Glenn Morris  <rgm@gnu.org>
6755         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6756         atomically, to avoid parallel build errors.  (Bug#4196)
6758 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
6760         * progmodes/sql.el: Version 2.6
6761         (sql-dialect): Synonym for "sql-product".
6762         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6763         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6764         Set "sql-buffer" to buffer name not buffer object so multiple sql
6765         interactive buffers work properly.  Reverts misguided changes in
6766         earlier work.
6767         (sql-comint): Make sure different buffer name is used if "*SQL*"
6768         buffer is for a different product.
6769         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6770         login param.
6771         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6772         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6773         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6774         Accept new buffer name or prompt for one.
6775         (sql-port): Default to zero.
6776         (sql-comint-mysql): Handle "sql-port" as a numeric.
6777         (sql-port-history): Delete unused variable.
6778         (sql-get-login): Default "sql-port" to a number.
6779         (sql-product-alist): Correct Postgres prompt and terminator regexp.
6780         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6781         "sqlite3" executables.
6782         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6783         (sql-buffer-live-p): New function.
6784         (sql-mode-menu, sql-send-string): Use it.
6785         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6786         syntax pattern.
6787         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6788         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6790 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6792         * net/netrc.el (netrc-credentials): New convenience function.
6794 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6796         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6797         to replace texinfo-font-lock-syntactic-keywords.
6798         (texinfo-mode): Use it.
6800         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6801         Use syntax-propertize-function.
6803         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6804         replace sgml-font-lock-syntactic-keywords.
6805         (sgml-mode): Use it.
6807         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6808         since we don't use it.
6810         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6812         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6813         if available.
6814         (vhdl-fontify-buffer): Adjust.
6816         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6817         replace tcl-font-lock-syntactic-keywords.
6818         (tcl-mode): Use it.
6820         * progmodes/simula.el (simula-syntax-propertize-function): New var to
6821         replace simula-font-lock-syntactic-keywords.
6822         (simula-mode): Use it.
6824         * progmodes/sh-script.el (sh-st-symbol): Remove.
6825         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6826         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6827         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6828         (sh-font-lock-paren): Set syntax-multiline.
6829         (sh-font-lock-syntactic-keywords): Remove.
6830         (sh-syntax-propertize-function): New function to replace it.
6831         (sh-mode): Use it.
6833         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6834         Define while compiling.
6835         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6836         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6837         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6838         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6839         (ruby-here-doc-end-syntax): Only define when
6840         syntax-propertize is not available.
6841         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6842         New functions.
6843         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6844         (electric-indent-chars): Silence bytecompiler.
6845         (ruby-mode): Use prog-mode, syntax-propertize-function, and
6846         electric-indent-chars.
6848         * progmodes/python.el (python-syntax-propertize-function): New var to
6849         replace python-font-lock-syntactic-keywords.
6850         (python-mode): Use it.
6851         (python-quote-syntax): Simplify and adjust to new use.
6853         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6854         replace perl-font-lock-syntactic-keywords.
6855         (perl-syntax-propertize-special-constructs): New fun to replace
6856         perl-font-lock-special-syntactic-constructs.
6857         (perl-font-lock-syntactic-face-function): New fun.
6858         (perl-mode): Use it.
6860         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6861         to replace octave-font-lock-close-quotes.
6862         (octave-syntax-propertize-function): New function to replace
6863         octave-font-lock-syntactic-keywords.
6864         (octave-mode): Use it.
6866         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6867         replaces mixal-font-lock-syntactic-keywords.
6868         (mixal-mode): Use it.
6870         * progmodes/make-mode.el (makefile-syntax-propertize-function):
6871         New var; replaces makefile-font-lock-syntactic-keywords.
6872         (makefile-mode): Use it.
6873         (makefile-imake-mode): Adjust.
6875         * progmodes/js.el (js--regexp-literal): Define while compiling.
6876         (js-syntax-propertize-function): New var; replaces
6877         js-font-lock-syntactic-keywords.
6878         (js-mode): Use it.
6880         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6881         replaces gdb-script-font-lock-syntactic-keywords.
6882         (gdb-script-mode): Use it.
6884         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6885         (fortran--font-lock-syntactic-keywords): New var.
6886         (fortran-line-length): Update syntax-propertize-function and
6887         fortran--font-lock-syntactic-keywords.
6889         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6891         * progmodes/cfengine.el (cfengine-mode):
6892         Use syntax-propertize-function.
6893         (cfengine-font-lock-syntactic-keywords): Remove.
6895         * progmodes/autoconf.el (autoconf-mode):
6896         Use syntax-propertize-function.
6897         (autoconf-font-lock-syntactic-keywords): Remove.
6899         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6900         (ada-after-change-function, ada-initialize-syntax-table-properties)
6901         (ada-handle-syntax-table-properties): Only define when
6902         syntax-propertize is not available.
6903         (ada-mode): Use syntax-propertize-function.
6905         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6906         (font-lock-fontify-syntactic-keywords-region): Move handling of
6907         font-lock-syntactically-fontified to...
6908         (font-lock-default-fontify-region): ...here.
6909         Let syntax-propertize-function take precedence.
6910         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6912         * emacs-lisp/syntax.el (syntax-propertize-function)
6913         (syntax-propertize-chunk-size, syntax-propertize--done)
6914         (syntax-propertize-extend-region-functions): New vars.
6915         (syntax-propertize-wholelines, syntax-propertize-multiline)
6916         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6917         (syntax-propertize): New functions.
6918         (syntax-propertize-rules): New macro.
6919         (syntax-ppss-flush-cache): Set syntax-propertize--done.
6920         (syntax-ppss): Call syntax-propertize.
6922         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6924 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
6926         * textmodes/ispell.el (ispell-init-process): Improve comments.
6927         XEmacs compatibility changes regarding (add-hook) 'local option
6928         and (set-process-query-on-exit-flag).
6930 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
6932         * net/tramp-cache.el (tramp-parse-connection-properties):
6933         Set tramp-autoload cookie.
6935 2010-09-09  Glenn Morris  <rgm@gnu.org>
6937         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6938         (imagemagick-register-types): Doc fix.
6940 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6942         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6944         * progmodes/js.el (require): Require is already "eval-and-compile".
6945         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
6946         (js--re-search-backward): Use js--re-search-forward.
6948         * progmodes/fortran.el (fortran-line-length): Don't recompute
6949         syntactic keywords redundantly a second time.
6951         * progmodes/ada-mode.el: Replace "(set '" with setq.
6952         (ada-mode): Simplify.
6953         (ada-create-case-exception, ada-adjust-case-interactive)
6954         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6955         (ada-search-ignore-string-comment, ada-move-to-start)
6956         (ada-move-to-end): Use with-syntax-table.
6958         * font-lock.el (save-buffer-state): Remove `varlist' arg.
6959         (font-lock-unfontify-region, font-lock-default-fontify-region):
6960         Update usage correspondingly.
6961         (font-lock-fontify-syntactic-keywords-region):
6962         Set parse-sexp-lookup-properties buffer-locally here.
6963         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6965         * simple.el (blink-matching-open): Don't burp if we can't find a match.
6967 2010-09-08  Glenn Morris  <rgm@gnu.org>
6969         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6970         Error if not compiled with -DBYTE_CODE_METER.
6972         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6973         Ignore dir-locals-file.
6975 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6977         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6978         Not a const.
6979         (compilation-error-regexp-alist-alist): Rule out ": " in file names
6980         for the `gnu' messages.
6981         (compilation-set-skip-threshold): New command.
6982         (compilation-start): Use \' rather than $.
6983         (compilation-forget-errors): Use clrhash.
6985 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
6987         * textmodes/ispell.el (ispell-valid-dictionary-list):
6988         Simplify logic.
6990 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
6992         Migrate to Tramp 2.2.  Rearrange load dependencies.
6993         (Bug#1529, Bug#5448, Bug#5705)
6995         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6996         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6997         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6999         * net/tramp.el (top): Remove all other tramp-* loads except
7000         tramp-compat.el.  Remove all changes to tramp-unload-hook for
7001         other tramp-* packages.  Rearrange defun order.  Change calls of
7002         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7003         `tramp-compat-octal-to-decimal' to new function names.
7004         (tramp-terminal-type, tramp-initial-end-of-output)
7005         (tramp-methods, tramp-foreign-file-name-handler-alist)
7006         (tramp-tramp-file-p, tramp-completion-mode-p)
7007         (tramp-send-command-and-check, tramp-get-remote-path)
7008         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7009         (tramp-shell-quote-argument): Set tramp-autoload cookie.
7010         (with-file-property, with-connection-property): Move to
7011         tramp-cache.el.
7012         (tramp-local-call-process, tramp-decimal-to-octal)
7013         (tramp-octal-to-decimal): Move to tramp-compat.el.
7014         (tramp-handle-shell-command): Do not require 'shell.
7015         (tramp-compute-multi-hops): No special handling for tramp-gw-*
7016         symbols.
7017         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7019         * net/tramp-cache.el (top): Require 'tramp.  Add to
7020         `tramp-unload-hook'.
7021         (tramp-cache-data, tramp-get-file-property)
7022         (tramp-set-file-property, tramp-flush-file-property)
7023         (tramp-flush-directory-property, tramp-get-connection-property)
7024         (tramp-set-connection-property, tramp-flush-connection-property)
7025         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7026         cookie.
7027         (with-file-property, with-connection-property): New defuns, moved
7028         from tramp.el.
7029         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7030         macro.
7032         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7033         (tramp-version): Set tramp-autoload cookie.
7035         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7036         changes to tramp-unload-hook for other tramp-* packages.  Add to
7037         `tramp-unload-hook'.
7038         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7039         (tramp-compat-call-process): New defuns, moved from tramp.el.
7041         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7042         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7043         Add to `tramp-unload-hook'.  Change call of
7044         `tramp-compat-decimal-to-octal' to new function name.
7045         (tramp-fish-method): Make it a defconst.
7046         (tramp-fish-file-name-p): Make it a defsubst.
7047         (tramp-fish-method, tramp-fish-file-name-handler)
7048         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7050         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7051         `tramp-foreign-file-name-handler-alist'.  Add to
7052         `tramp-unload-hook'.
7053         (tramp-ftp-method): Make it a defconst.
7054         (tramp-ftp-file-name-p): Make it a defsubst.
7055         (tramp-ftp-method, tramp-ftp-file-name-handler)
7056         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7058         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7059         `tramp-foreign-file-name-handler-alist'.  Add to
7060         `tramp-unload-hook'.  Change checks, whether package can be
7061         loaded.
7062         (tramp-gvfs-file-name-p): Make it a defsubst.
7063         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7064         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7065         (tramp-gvfs-handle-file-directory-p): New defun.
7066         (tramp-gvfs-file-name-handler-alist): Use it.
7068         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7069         `tramp-foreign-file-name-handler-alist'.  Add to
7070         `tramp-unload-hook'.
7071         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7072         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7073         defconst.
7074         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7075         (tramp-gw-open-connection): Set tramp-autoload cookie.
7077         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7078         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7079         Add to `tramp-unload-hook'.  Change checks, whether package can be
7080         loaded.
7081         (tramp-imap-file-name-p): Make it a defsubst.
7082         (tramp-imap-method, tramp-imaps-method)
7083         (tramp-imap-file-name-handler)
7084         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7086         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7087         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7088         Add to `tramp-unload-hook'.  Change checks, whether package can be
7089         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7090         function name.
7091         (tramp-smb-tunnel-method): Make it a defconst.
7092         (tramp-smb-file-name-p): Make it a defsubst.
7093         (tramp-smb-method, tramp-smb-file-name-handler)
7094         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7096         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7097         (tramp-uuencode-region): Set tramp-autoload cookie.
7099         * net/trampver.el (top) Add to `tramp-unload-hook'.
7100         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7101         cookie.  Update release number.
7103 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7105         * textmodes/ispell.el (ispell-start-process): Make sure original
7106         arg list is properly initialized (Bug#6993, Bug#6994).
7108 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7110         * files.el (directory-abbrev-alist): Use \` as default regexp.
7112         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7113         chars like - or ] (bug#6984).
7114         (rx-any-condense-range): Explode 2-char ranges.
7116 2010-09-06  Glenn Morris  <rgm@gnu.org>
7118         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7120 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7122         * textmodes/bibtex.el:
7123         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7125 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7127         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7128         since no callers use it.
7129         (imap-message-get): Ditto.
7130         (imap-message-put): Ditto.
7131         (imap-mailbox-map): Ditto.
7132         (imap-mailbox-put): Ditto.
7133         (imap-mailbox-get): Ditto.
7134         (imap-mailbox-get): Revert last change for this function.
7136 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7138         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7139         callers to use `imap-fetch' instead.  According to the comments, this
7140         should be safe, since all other IMAP clients use the 1:* syntax.
7141         (imap-enable-exchange-bug-workaround): Remove.
7142         (imap-debug): Remove -- doesn't seem very useful.
7144 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7146         * net/imap.el (imap-log): New convenience function used throughout
7147         instead of repeating the same code all over the place.
7149 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7151         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7152         when mouse-drag-copy-region is non-nil (Bug#6956).
7154 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7156         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7157         Improve regexps (Bug#6987).
7158         (dired-sort-toggle): Search more robustly for -t flag.
7160         * files.el (get-free-disk-space): Search more robustly for
7161         "available" column.  Suggested by Ehud Karni
7162         <ehud@unix.mvs.co.il>.
7164 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7166         * international/uni-bidi.el:
7167         * international/uni-category.el:
7168         * international/uni-combining.el:
7169         * international/uni-decimal.el:
7170         * international/uni-mirrored.el:
7171         * international/uni-name.el: Regenerate.
7173 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7175         * electric.el (electric-indent-post-self-insert-function):
7176         Don't reindent with a sloppy indentation function.
7178         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7179         border case in change-log-mode.
7181 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7183         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7184         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7185         Recognize leading tab in gcc-include regexp.  Ignore names with
7186         leading "from" or "in" in gnu regexp (Bug#6937).
7188 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7190         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7191         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7192         (ispell-start-process): Avoid setq and simplify logic.
7193         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7194         (kill-buffer-hook): Don't use it globally with code that uses
7195         expand-file-name since that may call kill-buffer via
7196         code_conversion_restore.
7198 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7200         * emacs-lisp/package.el (package-directory-list): Only call
7201         file-name-nondirectory on a string.
7203 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7205         * emacs-lisp/package.el (package--download-one-archive):
7206         Ensure that archive-contents is valid before saving it.
7207         (package-activate-1, package-mark-obsolete, define-package)
7208         (package-compute-transaction, package-list-maybe-add): Use push.
7210 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7212         Use SMIE's blink-paren for octave-mode.
7213         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7214         Backslashes do not escape single-quotes, single-quotes do.
7215         (octave-block-else-regexp, octave-block-end-regexp)
7216         (octave-block-match-alist): Remove.
7217         (octave-smie-bnf-table): New var, with old content.
7218         (octave-smie-op-levels): Use it.
7219         (octave-smie-closer-alist): New var.
7220         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7221         (octave-blink-matching-block-open): Remove.
7222         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7223         (octave-electric-space): Let self-insert-command run expand-abbrev and
7224         blink parens.
7226         * electric.el (electricity): New group.
7227         (electric-indent-chars): New var.
7228         (electric-indent-post-self-insert-function): New fun.
7229         (electric-indent-mode): New minor mode.
7230         (electric-pair-skip-self): New custom.
7231         (electric-pair-post-self-insert-function): New function.
7232         (electric-pair-mode): New minor mode.
7234         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7235         calcAlg-blink-matching-open.
7236         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7237         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7238         Use the new blink-matching-check-function.
7240         Provide blink-matching support to SMIE.
7241         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7242         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7243         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7245         * simple.el (newline): Fix last change to properly remove itself from
7246         the hook.
7248 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7250         * simple.el (newline): Eliminate optimization.
7251         Use post-self-insert-hook to set hard-newline and things before
7252         running post-self-insert-hook.
7253         (blink-matching-check-mismatch): New function.
7254         (blink-matching-check-function): New variable.
7255         (blink-matching-open): Use them.
7256         Skip back forward over prefix chars skipped by forward-sexp.
7257         Don't check if the parens are backslash escaped.
7258         (blink-paren-post-self-insert-function): Check backslash escaping here.
7260 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7262         * emacs-lisp/package.el (package-menu-mode-map):
7263         Change package-menu-revert bindings to revert-buffer.
7264         (package-menu-mode): Set revert-buffer-function.
7265         (package-menu-revert): Doc fix.
7267 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7269         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7270         `default-directory' unless using Ispell per-directory personal
7271         dictionaries and not in a mini-buffer under XEmacs.
7272         (kill-buffer-hook): Do not kill ispell process on exit when
7273         `ispell-process-directory' is "~/".  (Bug#6143)
7275 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7277         * simple.el (kill-new): Call interprogram-cut-function with only
7278         one argument.
7280         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7281         Remove cut buffer from error message.
7283         * term/x-win.el (x-select-text):
7284         * term/pc-win.el (x-selection-value):
7285         * term/ns-win.el (x-selection-value):
7286         * eshell/em-term.el:
7287         * w32-fns.el (x-get-selection-value):
7288         * mouse-sel.el (mouse-sel-set-selection-function):
7289         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7291         * term/x-win.el: Update documentation for x-last-selected-text-*.
7292         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7293         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7294         (x-select-text): Remove argument PUSH, update documentation.
7295         Remove cut-buffer code.
7296         (x-selection-value-internal): Was previously x-selection-value.
7297         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7298         Update documentation, remove cut-buffer code.
7299         Call x-selection-value-internal.
7300         (x-clipboard-yank): Call x-selection-value-internal.
7301         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7303         * term/pc-win.el (x-last-selected-text):
7304         x-cut-buffer-or-selection-value renamed to x-selection-value
7305         (x-select-text): Remove argument PUSH, update documentation.
7307         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7308         x-cut-buffer-or-selection-value renamed to x-selection-value
7309         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7310         (x-select-text): Remove argument PUSH, update documentation.
7312         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7314         * w32-fns.el (x-last-selected-text):
7315         x-cut-buffer-or-selection-value renamed to x-selection-value.
7316         (x-cut-buffer-max): Remove.
7317         (x-select-text): Remove argument PUSH, update documentation.
7319         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7321         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7323         * mouse-sel.el (mouse-sel-get-selection-function):
7324         x-cut-buffer-or-selection-value renamed to x-selection-value.
7325         (x-select-text): Remove optional push.
7327 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7329         * simple.el (blink-paren-function): Move from C to here.
7330         (blink-paren-post-self-insert-function): New function.
7331         (post-self-insert-hook): Use it.
7333         * emacs-lisp/pcase.el (pcase-split-memq):
7334         Fix overenthusiastic optimisation.
7335         (pcase-u1): Handle the case of a lambda pred.
7337 2010-08-31  Kenichi Handa  <handa@m17n.org>
7339         * international/mule-cmds.el (standard-display-european-internal):
7340         Setup standard-display-table for 8-bit characters by storing 8-bit
7341         characters in the element vector.
7343         * disp-table.el (standard-display-8bit):
7344         Setup standard-display-table for 8-bit characters by storing 8-bit
7345         characters in the element vector.
7346         (standard-display-european): Likewise.
7348 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7350         * textmodes/nroff-mode.el (nroff-view): New command.
7351         (nroff-mode-map): Bind it to C-c C-c.
7353 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7355         * emacs-lisp/smie.el (smie-down-list): New command.
7357         Remove old indentation and navigation code on octave-mode.
7358         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7359         smie-down-list rather than add a binding for octave-down-block.
7360         (octave-mark-block, octave-blink-matching-block-open):
7361         Rely on forward-sexp-function.
7362         (octave-fill-paragraph): Don't narrow, so you can use
7363         indent-according-to-mode.
7364         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7365         (octave-in-block-p, octave-re-search-forward-kw)
7366         (octave-re-search-backward-kw, octave-indent-calculate)
7367         (octave-end-as-array-index-p, octave-block-end-offset)
7368         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7369         (octave-down-block, octave-backward-up-block, octave-up-block)
7370         (octave-before-magic-comment-p, octave-indent-line): Remove.
7372 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7374         * emacs-lisp/package.el (package--read-archive-file): Just use
7375         `read', to avoid copying an additional string.
7376         (package-menu-mode): Set header-line-format here.
7377         (package-menu-refresh, package-menu-revert): Signal an error if
7378         not in the Package Menu.
7379         (package-menu-package-list): New var.
7380         (package--generate-package-list): Operate on the current buffer;
7381         don't assume that it is *Packages*, since the user may rename it.
7382         Allow persistent package listings and sort keys using
7383         package-menu-package-list and package-menu-package-sort-key.
7384         (package-menu--version-predicate): Fix version calculation.
7385         (package-menu-sort-by-column): Don't select the window.
7386         (package--list-packages): Create the *Packages* buffer.
7387         Set package-menu-package-list-key.
7388         (list-packages): Sorting by status is now the default.
7389         (package-buffer-info): Use match-string-no-properties.
7390         (define-package): Add a &rest argument for future proofing, but
7391         don't use it yet.
7392         (package-install-from-buffer, package-install-buffer-internal):
7393         Merge into a single function, package-install-from-buffer.
7394         (package-install-file): Change caller.
7396         * finder.el: Load finder-inf using `require'.
7397         (finder-list-matches): Sorting by status is now the default.
7398         (finder-compile-keywords): Simpify printing.
7400 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7402         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7403         (octave-mode-map): Remove special bindings for forward/backward-block
7404         and octave-backward-up-block.  Use smie-close-block.
7405         (octave-continuation-marker-regexp): New var.
7406         (octave-continuation-regexp): Use it.
7407         (octave-operator-table, octave-smie-op-levels)
7408         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7409         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7410         (octave-mode): Use SMIE.
7411         (octave-close-block): Delete.
7413 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7415         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7416         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7418 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7420         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7421         a list of parents.
7422         (smie-indent-column): Allow indirection through variables.
7424         * composite.el (save-buffer-state): Delete, unused.
7425         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7426         (font-lock-default-fontify-region): Use with-syntax-table.
7427         * jit-lock.el (with-buffer-unmodified): Remove.
7428         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7430         Use `declare' in defmacros.
7431         * window.el (save-selected-window):
7432         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7433         * progmodes/python.el (def-python-skeleton):
7434         * net/dbus.el (dbus-ignore-errors):
7435         * jka-cmpr-hook.el (with-auto-compression-mode):
7436         * international/mule.el (with-category-table):
7437         * emacs-lisp/timer.el (with-timeout):
7438         * emacs-lisp/lisp-mnt.el (lm-with-file):
7439         * emacs-lisp/eieio.el (with-slots):
7440         * emacs-lisp/easymenu.el (easy-menu-define):
7441         * emacs-lisp/debug.el (debugger-env-macro):
7442         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7443         (Multiple-value-call, Multiple-value-prog1):
7444         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7445         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7446         edebug rule to definition.
7447         * emacs-lisp/lisp-mode.el (save-selected-window)
7448         (with-current-buffer, combine-after-change-calls)
7449         (with-output-to-string, with-temp-file, with-temp-buffer)
7450         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7451         (dolist, dotimes, when, unless):
7452         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7454 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7456         * finder.el: Require `package'.
7457         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7458         (finder-package-info): Var deleted.
7459         (finder-keywords-hash, finder--builtins-alist): New vars.
7460         (finder-compile-keywords): Compute package--builtins and
7461         finder-keywords-hash instead of finder-keywords-hash, respecting
7462         the "Package" header.
7463         (finder-unknown-keywords, finder-list-matches):
7464         Use finder-keywords-hash and package--list-packages.
7465         (finder-mode): Don't set font-lock-defaults.
7466         (finder-exit): We don't use "*Finder-package*" and "*Finder
7467         Category*" buffers anymore.
7469         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7470         (package--builtins): Set default value to nil.
7471         (package-initialize): Load precomputed value of package--builtins
7472         from finder-inf.el.
7473         (package-alist, package-compute-transaction)
7474         (package-download-transaction): Improve docstring.
7475         (package-read-all-archive-contents): Do not change
7476         package--builtins here.
7477         (list-packages): Make package-list-packages an alias for this.
7478         Sort by status by default.
7479         (package--list-packages): Add optional PACKAGES arg.
7480         (describe-package-1): Use font-lock-face property.  For built-in
7481         packages, insert file commentary.
7482         (package--generate-package-list): Rename from
7483         package-list-packages-internal; all callers changed.  Add optional
7484         PACKAGES arg.  Add alphabetical sort fallbacks.
7485         (package-menu--version-predicate, package-menu--status-predicate)
7486         (package-menu--description-predicate)
7487         (package-menu--name-predicate): New functions.
7489         * info.el (Info-finder-find-node): Search package-alist instead of
7490         finder-package-info.
7492 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7494         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7495         "alpha" and "beta".
7496         (version-to-list): Handle versions like "10.3d".
7498 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7500         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7501         (macroexp-accumulate): Use `declare'.
7503 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7505         * whitespace.el (whitespace-style): Adjust type declaration.
7507 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7509         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7511 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7513         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7514         (Bug#6907).
7516 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7518         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7519         (js-paren-indent-offset, js-square-indent-offset)
7520         (js-curly-indent-offset): New options.
7521         (js--proper-indentation): Use them.
7523 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7525         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7526         instead of inspecting font-lock properties (Bug#6916).
7528 2010-08-26  David Reitter  <david.reitter@gmail.com>
7530         * server.el (server-visit-files): Run pre-command-hook and
7531         post-command-hook for each buffer while it is current (Bug#6910).
7532         (server-execute): Do not run hooks here.
7534 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7536         Sync with Tramp 2.1.19.
7538         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7539         deleting tmpfile.
7540         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7542         * net/tramp.el (tramp-handle-expand-file-name)
7543         (tramp-completion-handle-file-name-all-completions)
7544         (tramp-completion-handle-file-name-completion):
7545         Use `tramp-connectable-p'.
7547         * net/trampver.el: Update release number.
7549 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7551         * help.el (help-map): Bind `C-h P' to describe-package.
7553         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7555         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7556         when downloading archives.
7557         (describe-package-1): Add package commentary.
7558         (package-install-button-action): New function.
7559         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7560         (package-menu-view-commentary): Function removed.
7561         (package-list-packages-internal): Hide the `package' package too.
7563 2010-08-25  Kenichi Handa  <handa@m17n.org>
7565         * language/misc-lang.el ("Arabic"): New language environment.
7566         Setup composition-function-table for Arabic characters.
7568         * international/fontset.el (setup-default-fontset): Fix typo for
7569         arabic OTF spec (fini->fina).
7571 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7573         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7574         on all frames.
7576 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7578         * whitespace.el: Allow cleaning up blanks without blank
7579         visualization (Bug#6651).  Adjust help window for
7580         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7581         instead of whitespace-line-column (from EmacsWiki).  New version
7582         13.1.
7583         (whitespace-style): Add new value 'face.  Adjust docstring.
7584         (whitespace-space, whitespace-hspace, whitespace-tab):
7585         Adjust foreground property face.
7586         (whitespace-line-column): Adjust docstring and type declaration.
7587         (whitespace-style-value-list, whitespace-toggle-option-alist)
7588         (whitespace-help-text): Adjust const initialization.
7589         (whitespace-toggle-options, global-whitespace-toggle-options):
7590         Adjust docstring.
7591         (whitespace-display-window, whitespace-interactive-char)
7592         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7593         (whitespace-help-scroll): New fun.
7595 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7597         * emacs-lisp/package.el (list-packages): Alias for
7598         package-list-packages.
7600 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7602         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7603         (Bug#5651).
7605         * progmodes/ruby-mode.el (ruby): Add defgroup.
7607 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7609         * progmodes/python.el: Add Ipython support (Bug#5390).
7610         (python-shell-prompt-alist)
7611         (python-shell-continuation-prompt-alist): New options.
7612         (python--set-prompt-regexp): New function.
7613         (inferior-python-mode, run-python, python-shell):
7614         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7615         prompt based on the Python interpreter.
7616         (python--prompt-regexp): New var.
7617         (python-check-comint-prompt)
7618         (python-comint-output-filter-function): Use it.
7619         (run-python): Use a pipe (Bug#5694).
7621 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7623         * progmodes/python.el (python-send-region): Send a different
7624         Python command if Ipython is in use.
7625         (python-check-version): Use a Python command to find the version.
7627 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7629         * mouse.el (mouse-yank-primary): Avoid setting primary when
7630         deactivating the mark (Bug#6872).
7632 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7634         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7635         with "else" (Bug#3991).
7637 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7639         * net/dbus.el: Accept UNIX domain sockets as bus address.
7640         (top): Don't initialize `dbus-registered-objects-table' anymore,
7641         this is done in dbusbind,c.
7642         (dbus-check-event): Adapt test for bus.
7643         (dbus-return-values-table, dbus-unregister-service)
7644         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7645         Adapt doc string.
7647 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7649         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7651 2010-08-22  Juri Linkov  <juri@jurta.org>
7653         * simple.el (read-extended-command): New function with the logic
7654         for `completing-read' moved to Elisp from `execute-extended-command'.
7655         Use `function-called-at-point' in `minibuffer-default-add-function'
7656         to get a command name for M-n (bug#5364, bug#5214).
7658 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7660         * startup.el (command-line-1): Issue warning for ignored arguments
7661         --unibyte, etc (Bug#6886).
7663 2010-08-22  Leo  <sdl.web@gmail.com>
7665         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7666         (ignore, bright, dim, keyword): Split list of nicknames before
7667         passing to rcirc-add-or-remove (Bug#6894).
7669 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7671         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7673 2010-08-22  Leo  <sdl.web@gmail.com>
7675         Fix buffer-list rename&refresh after killing a buffer in ido.
7676         * ido.el: Revert Óscar's.
7677         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7678         Remember the buffers at head, rather than their name.
7679         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7681 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
7682             Stefan Monnier  <monnier@iro.umontreal.ca>
7684         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7685         extra backslash added to each line (bug#6890).
7687 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7689         * subr.el (read-key): Don't echo keystrokes (bug#6883).
7691 2010-08-22  Glenn Morris  <rgm@gnu.org>
7693         * menu-bar.el (menu-bar-games-menu): Add landmark.
7695 2010-08-22  Glenn Morris  <rgm@gnu.org>
7697         * align.el (align-regexp): Make group and spacing arguments
7698         use the interactive defaults when non-interactive.  (Bug#6698)
7700         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7701         expansion, so as not to need sendmail.
7702         (mail-text-start): Remove declaration.
7703         (rmail-retry-failure): Require sendmail.
7705 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7707         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7709 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
7711         * progmodes/flymake.el (flymake-start-syntax-check-process):
7712         Use `start-file-process' in order to let it run also on remote hosts.
7714 2010-08-22  Kenichi Handa  <handa@m17n.org>
7716         * files.el: Add `word-wrap' as safe local variable.
7718 2010-08-22  Glenn Morris  <rgm@gnu.org>
7720         * woman.el (woman-translate): Case matters.  (Bug#6849)
7722 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7724         * simple.el (kill-region): Doc fix (Bug#6787).
7726 2010-08-22  Glenn Morris  <rgm@gnu.org>
7728         * calendar/diary-lib.el (diary-header-line-format):
7729         Fit it to the window, not the frame.
7731 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
7733         * subr.el (ignore-errors): Add debug declaration.
7735 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
7737         * whitespace.el (whitespace-color-off): Remove post-command-hook
7738         locally.
7740 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7742         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7744 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7746         * cus-edit.el (custom-group-value-create): Add extra newline
7747         before end line (Bug#6876).
7749 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7751         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7752         when extending it.  Before killing on the second click, check if
7753         the buffer is the correct one.  Doc fix.
7754         (mouse-secondary-save-then-kill): Allow usage without first
7755         calling mouse-start-secondary, by defaulting to point.  Don't save
7756         an empty secondary selection.  Doc fix.
7758 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7760         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
7761         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7762         New version 13.0.
7763         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7764         Adjust initialization.
7765         (whitespace-bob-marker, whitespace-eob-marker)
7766         (whitespace-buffer-changed): New vars.
7767         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7768         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7769         (whitespace-post-command-hook, whitespace-display-char-on):
7770         Adjust code.
7771         (whitespace-looking-back, whitespace-buffer-changed): New funs.
7772         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7774 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7776         * files.el (locate-file-completion-table): Only list the .el and .elc
7777         extensions if there's no other choice (bug#5955).
7779         * facemenu.el (facemenu-self-insert-data): New var.
7780         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7781         New functions.
7782         (facemenu-add-face): Use them.
7784         * simple.el (blink-matching-open): Obey forward-sexp-function.
7786 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7788         * simple.el (prog-mode-map): New var.
7789         (prog-indent-sexp): New command.
7791         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7793         * progmodes/prolog.el (smie): Require.
7795         * emacs-lisp/smie.el (smie-default-backward-token)
7796         (smie-default-forward-token): Strip properties.
7797         (smie-next-sexp): Be more careful with associative operators.
7798         (smie-forward-sexp-command): Generalize.
7799         (smie-backward-sexp-command): Simplify.
7800         (smie-closer-alist): New var.
7801         (smie-close-block): New command.
7802         (smie-indent-debug-log): New var.
7803         (smie-indent-offset-rule): Add a few more cases.
7804         (smie-indent-column): New function.
7805         (smie-indent-after-keyword): Use it.
7806         (smie-indent-keyword): Use it.
7807         Fix up the opener code's point position.
7808         (smie-indent-comment): Only applies at BOL.
7809         (smie-indent-debug): New command.
7811         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7812         declarations that are useful before running the macro.
7814 2010-08-18  Joakim Verona  <joakim@verona.se>
7816         * image.el (imagemagick-types-inhibit): New variable.
7817         (imagemagick-register-types): New function.
7818         * image-mode.el (image-transform-properties): New function.
7819         (image-transform-set-scale, image-transform-fit-to-height)
7820         (image-transform-set-rotation, image-transform-set-resize)
7821         (image-transform-fit-to-width, image-transform-fit-to-height):
7822         New functions.
7823         (image-toggle-display-image): Support image transforms.
7825 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
7827         * image.el (create-animated-image): Don't add heuristic mask to image
7828         (Bug#6839).
7830 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
7832         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7833         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7835 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7837         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7839         Font-lock '...' strings, plus various simplifications and fixes.
7840         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7841         (octave-font-lock-close-quotes): New function.
7842         (octave-font-lock-syntactic-keywords): New var.
7843         (octave-mode): Use it.  Set beginning-of-defun-function.
7844         (octave-mode-map): Don't override the <foo>-defun commands.
7845         (octave-mode-menu): Pass it directly to easy-menu-define;
7846         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7847         (octave-block-match-alist): Fix up last change so that
7848         octave-close-block uses the more specific keyword.
7849         (info-lookup-mode): Silence byte-compiler.
7850         (octave-beginning-of-defun): Not interactive any more.
7851         Optimize slightly.
7852         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7853         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7854         (octave-completion-at-point-function): Make sure point is within
7855         beg..end.
7856         (octave-reindent-then-newline-and-indent):
7857         Use reindent-then-newline-and-indent.
7858         (octave-add-octave-menu): Remove.
7860 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
7862         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7863         (report-emacs-bug-can-use-xdg-email): New functions.
7864         (report-emacs-bug): Set can-xdg-email to result of
7865         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
7866         \C-cm to report-emacs-bug-insert-to-mailer and add help text
7867         about it.
7869         * net/browse-url.el (browse-url-default-browser): Add cond
7870         for browse-url-xdg-open.
7871         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7873 2010-08-17  Glenn Morris  <rgm@gnu.org>
7875         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7876         (c-fontify-recorded-types-and-refs): Define for compiler.
7877         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7878         before use.
7880         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7881         Fix format call.
7883 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
7885         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7886         properties.
7887         (tramp-handle-process-file): Call the program in a subshell, in
7888         order to preserve working directory.
7889         (tramp-action-password): Hide password prompt before next run.
7890         (tramp-process-actions): Widen connection buffer for the trace.
7892 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7894         * net/rcirc.el (rcirc-log-process-buffers): New option.
7895         (rcirc-print): Use it.
7896         (rcirc-generate-log-filename): New function.
7897         (rcirc-log-filename-function): Change default to
7898         rcirc-generate-log-filename (Bug#6828).
7900 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
7902         * simple.el (deactivate-mark): If select-active-regions is `only',
7903         only set selection for temporarily active regions.
7905         * cus-start.el: Change defcustom for select-active-regions.
7907 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7909         * mouse.el (mouse--drag-set-mark-and-point): New function.
7910         (mouse-drag-track): Use LOCATION arg to push-mark.
7911         Use mouse--drag-set-mark-and-point to take click-count into
7912         consideration when updating point and mark (Bug#6840).
7914 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7916         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7917         Give the Ruby rule a lower priority than Gnu (Bug#6778).
7919 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7921         * font-lock.el (lisp-font-lock-keywords-2):
7922         Add combine-after-change-calls, condition-case-no-debug,
7923         with-demoted-errors, and with-silent-modifications (Bug#6025).
7925 2010-08-14  Kevin Ryde  <user42@zip.com.au>
7927         * emacs-lisp/copyright.el (copyright-update-year)
7928         (copyright-update): Temporary switch-to-buffer to ensure the
7929         buffer change being queried is visible (Bug#5394).
7931 2010-08-14  Tom Tromey  <tromey@redhat.com>
7933         * progmodes/etags.el (tags-file-name): Mark safe if stringp
7934         (Bug#6733).
7936 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
7938         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7939         MS-DOS.  (Bug#6689)
7941 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
7943         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7944         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7945         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7946         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7947         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7948         Call menu-bar-set-tool-bar-position.
7950 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7952         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7953         comment style (bug#6834).
7954         * progmodes/scheme.el (scheme-mode-syntax-table):
7955         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7956         "b" flag in "' 14b" syntax.
7958         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7959         for (un)commenting the region and performing completion.
7960         (octave-mode-menu): Use standard commands for help and completion.
7961         (octave-mode-syntax-table): Support %{..%} comments (sort of).
7962         (octave-mode): Use define-derived-mode.
7963         Set completion-at-point-functions and don't set columns.
7964         Don't disable adaptive-fill-regexp.
7965         (octave-describe-major-mode, octave-comment-region)
7966         (octave-uncomment-region, octave-comment-indent)
7967         (octave-indent-for-comment): Remove.
7968         (octave-indent-calculate): Rename from calculate-octave-indent.
7969         (octave-indent-line, octave-fill-paragraph): Update caller.
7970         (octave-initialize-completions): No need to make an alist.
7971         (octave-completion-at-point-function): New function.
7972         (octave-complete-symbol): Use it.
7973         (octave-insert-defun): Use define-skeleton.
7975         * progmodes/octave-mod.el (octave-mode): Set comment-add.
7976         (octave-mode-map): Use comment-dwim (bug#6829).
7978 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
7980         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7981         indentation of inserted comment.
7983 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
7985         * faces.el (region): Add type gtk that uses gtk colors.
7987         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7988         Handle theme-name change.
7990 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
7992         * progmodes/sql.el: Version 2.5
7993         (sql-product-alist): Add :prompt-cont-regexp property for several
7994         database products.
7995         (sql-prompt-cont-regexp): New variable.
7996         (sql-output-newline-count, sql-output-by-send):
7997         New variables.  Record number of newlines in input text.
7998         (sql-send-string): Handle multiple filters and count newlines.
7999         (sql-send-magic-terminator): Count terminator newline.
8000         (sql-interactive-remove-continuation-prompt): Filters output to
8001         remove continuation prompts; one for each newline.
8002         (sql-interactive-mode): Set up new variables, prompt regexp and
8003         output filter.
8004         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8005         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8007 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8009         * emacs-lisp/pcase.el: New file.
8011 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
8013         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8014         as here-document, otherwise the command could exceed maximum
8015         length of command line.
8016         (tramp-handle-vc-registered): Call script accordingly.
8017         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8019 2010-08-10  Kenichi Handa  <handa@m17n.org>
8021         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8022         composable pattern.
8024 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8026         * emacs-lisp/package.el (package-version-split)
8027         (package--version-first-nonzero, package-version-compare):
8028         Functions removed.
8029         (package-directory-list, package-load-all-descriptors)
8030         (package--built-in, package-activate, define-package)
8031         (package-installed-p, package-compute-transaction)
8032         (package-read-all-archive-contents)
8033         (package--add-to-archive-contents, package-buffer-info)
8034         (package-tar-file-info, package-list-packages-internal):
8035         Use version-to-list and version-list-*.
8037         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8038         Use version-to-list.
8039         (package-upload-buffer-internal): Use version-list-<=.
8041 2010-08-09  Kenichi Handa  <handa@m17n.org>
8043         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8044         composable pattern.
8046 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8048         * tutorial.el (tutorial--default-keys): C-d is now bound to
8049         delete-forward-char (Bug#6826).
8051         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8052         for `double' value of mouse-1-click-follows-link (Bug#6807).
8054 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8056         * replace.el (replace-highlight): Bind isearch-forward and
8057         isearch-error, ensuring that highlighting is updated if the user
8058         switches the search direction (Bug#6808).
8060         * isearch.el (isearch-lazy-highlight-forward): New var.
8061         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8062         (isearch-lazy-highlight-update): Use it.
8064 2010-08-08  Kenichi Handa  <handa@m17n.org>
8066         * international/mule.el (define-charset): Store NAME as :base property.
8067         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8068         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8069         current priority.  Force using the designation of the specific
8070         charset by adding `charset' text property.  Improve the whole algorithm.
8072 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8074         * emulation/pc-select.el (pc-selection-mode-hook)
8075         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8076         (pc-selection-mode): Fix typos in docstrings.
8078 2010-08-08  Kenichi Handa  <handa@m17n.org>
8080         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8081         ctext-non-standard-encodings-alist here.
8083         * international/mule.el (ctext-non-standard-encodings-alist):
8084         Add "koi8-r" and "microsoft-cp1251".
8085         (ctext-standard-encodings): New variable.
8086         (ctext-non-standard-encodings-table): List only elements for
8087         non-standard encodings.
8088         (ctext-pre-write-conversion): Adjust for the above change.
8089         Check ctext-standard-encodings.
8091         * international/mule-conf.el (compound-text): Doc fix.
8092         (ctext-no-compositions): Doc fix.
8093         (compound-text-with-extensions): Doc fix.
8095 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8097         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8099 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8101         * progmodes/which-func.el (which-func-format): Split help-echo text
8102         into lines, like other mode-line tooltips.
8104         * server.el (server-start): When using TCP sockets, force IPv4
8105         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8107 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8109         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8111 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8113         * term.el (term-delimiter-argument-list): Reflow docstring.
8114         (term-read-input-ring, term-write-input-ring, term-send-input)
8115         (term-bol, term-erase-in-display, serial-supported-or-barf):
8116         Fix typos in docstrings.
8118 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8120         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8122 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8124         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8126 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8128         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8129         Fix typo in docstring (bug#6747).
8131 2010-08-08  Leo  <sdl.web@gmail.com>
8133         * eshell/esh-io.el (eshell-get-target): Better detection of
8134         read-only file (Bug#6762).
8136 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8138         * align.el (align-default-spacing): Doc fix.
8139         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8141 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8143         * calendar/icalendar.el
8144         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8145         (icalendar--get-weekday-numbers): New.
8146         (icalendar--convert-recurring-to-diary): Handle multiple byday
8147         values in weekly rules.  (Bug#6766)
8149 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8151         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8152         (icalendar--create-uid, icalendar-export-region)
8153         (icalendar--parse-summary-and-rest): Code formatting.
8155 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8157         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8158         to italicize headers.
8159         (calc-highlight-selections-with-faces): New variable.
8160         (calc-selected-face, calc-nonselected-face): New faces.
8162         * calc/calccomp.el (math-comp-highlight-string): Use
8163         `calc-highlight-selections-with-faces' to determine how to highlight
8164         sub-formulas.
8166         * calc/calc-sel.el (calc-show-selections): Change message to when
8167         using faces to highlight selections.
8169 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8171         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8172         Add SQLite 3 keywords, functions and datatypes.
8173         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8174         (Bug#6686).
8176 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8178         * simple.el (select-active-regions): Move to keyboard.c.
8179         (deactivate-mark): Used saved-region-selection.
8180         (select-active-region): Function removed.
8181         (activate-mark, set-mark, push-mark-command)
8182         (handle-shift-selection): Don't call it.
8183         (keyboard-quit): Avoid adding the region to the window selection.
8185         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8186         select-active-regions implementation.
8187         (mouse-yank-at-click): Doc fix.
8189         * cus-start.el: Add custom declaration for select-active-regions.
8191 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8193         * simple.el (delete-forward-char): Doc fix.
8195         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8196         after reading the tutorial.
8198 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8200         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8201         Fix for the case that a C style comment has its delimiters alone on
8202         their respective lines.
8204 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8206         * net/tramp.el (tramp-handle-start-file-process): Set connection
8207         property "vec".
8208         (tramp-process-sentinel): Use it for flushing the cache.
8209         We cannot do it via the process buffer, the buffer could be deleted
8210         already when running the sentinel.
8212 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8214         * comint.el (comint-mode): Make directory tracking functions
8215         functional on remote files.  (Bug#6764)
8217 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8219         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8221 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8223         * emacs-lisp/find-gc.el (find-gc-source-files):
8224         Rename unexec.c => unexcoff.c.
8226         * emacs-lisp/authors.el (authors-fixed-entries):
8227         Rename unexec.c => unexcoff.c.
8229 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8231         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8232         cache, not only file cache.
8233         (tramp-process-sentinel): New defun.
8234         (tramp-handle-start-file-process): Use it, in order to invalidate
8235         file caches.
8237 2010-08-03  Leo  <sdl.web@gmail.com>
8239         * server.el (server-start): Simplify loop.
8241 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8243         * frame.el (screen-height, screen-width, set-screen-width)
8244         (set-screen-height): Remove ancient compatibility aliases.
8246         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8247         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8249         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8250         that change current buffer.
8252 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8254         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8255         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8257 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8259         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8261 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8263         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8264         (package--builtins): Tweak descriptions.
8265         (package-print-package): Upcase descriptions if necessary.
8266         Show all built-in packages in font-lock-builtin-face.
8267         (package-list-packages-internal): Omit "emacs" package.
8268         Show status of built-in packages as "built-in".
8270 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8272         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8273         before killing to preserve the primary selection (Bug#6701).
8275         * term/x-win.el (x-select-text): Doc fix.
8277 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8279         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8280         (objc-font-lock-extra-types):
8281         * progmodes/cc-mode.el (c-basic-common-init):
8282         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8283         (c++-make-template-syntax-table)
8284         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8285         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8286         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8287         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8288         * progmodes/cc-fonts.el (c-make-inverse-face)
8289         (c-basic-matchers-after):
8290         * progmodes/cc-engine.el (c-forward-keyword-clause)
8291         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8292         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8293         (c-guess-continued-construct, c-guess-basic-syntax):
8294         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8295         The above functions were modified or created.
8297 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8299         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8301 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8303         * files.el (bidi-paragraph-direction): Define safe local values.
8305         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8306         language-info-alist.  Remove outdated FIXME in a comment.
8308 2010-07-31  Alan Mackenzie  <acm@muc.de>
8310         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8311         Auto-fill broken in C/C++ modes.
8313 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8315         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8316         (menu-bar-showhide-tool-bar-menu-customize-disable)
8317         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8318         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8319         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8320         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8321         make a menu for Options => toolbar that can move it.
8323 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8325         * emacs-lisp/package-x.el (package--make-rss-entry):
8326         (package-maint-add-news-item, package--update-news)
8327         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8329         * emacs-lisp/package.el (package-archive-url): Rename from
8330         package-archive-id.
8331         (package-install): Doc fix.
8332         (package-download-single, package-download-tar, package-install)
8333         (package-menu-view-commentary): Callers changed.
8335 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8337         * net/tramp.el (tramp-handle-start-file-process): Check only for
8338         `remote-tty' process property.
8339         (tramp-open-shell): Don't check for tty.
8340         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8341         process property.
8343         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8344         host.
8346 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8348         * emacs-lisp/package.el (package-load-list, package-archives)
8349         (package-archive-contents, package-user-dir)
8350         (package-directory-list, package--builtins, package-alist)
8351         (package-activated-list, package-obsolete-alist): Mark as risky.
8353 2010-07-28  Phil Hagelberg  <phil@evri.com>
8355         Add support for non-default package repositories.
8356         * emacs-lisp/package.el (package-archive-base): Var deleted.
8357         (package-archives): New variable.
8358         (package-archive-contents): Doc fix.
8359         (package-load-descriptor): Do nothing if descriptor file is missing.
8360         (package--write-file-no-coding): New function.
8361         (package-unpack-single): Use it.
8362         (package-archive-id): New function.
8363         (package-download-single, package-download-tar)
8364         (package-menu-view-commentary): Use it.
8365         (package-installed-p): Make second argument optional.
8366         (package-read-all-archive-contents): New function.
8367         (package-initialize): Use it.
8368         (package-read-archive-contents): Add ARCHIVE argument.
8369         (package--add-to-archive-contents): New function.
8370         (package-install): Don't call package-read-archive-contents.
8371         (package--download-one-archive): Store archive file in a
8372         subdirectory of package-user-dir.
8373         (package-menu-execute): Remove spurious line movement.
8375 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8377         * cus-start.el (tool-bar-style): Add text-image-horiz.
8379 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8381         * progmodes/gud.el (gud-common-init): Check for remoteness of
8382         `file', and not of `default-directory'.
8384 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8386         * net/tramp.el (tramp-methods): Move hostname to the end in all
8387         ssh `tramp-login-args'.
8388         (tramp-verbose): Describe verbose level 9.
8389         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8390         (tramp-open-connection-setup-interactive-shell): Trace stty
8391         settings if `tramp-verbose' >= 9.
8392         (tramp-handle-start-file-process): Implement tty setting.
8393         (Bug#4604, Bug#6360)
8395         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8396         `tramp-verbose' to 9.
8398 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8400         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8401         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8402         Remove references to package `lisp-re' (bug#4369).
8404 2010-07-27  Tom Tromey  <tromey@redhat.com>
8406         * progmodes/js.el (js-mode):
8407         * progmodes/make-mode.el (makefile-mode):
8408         * progmodes/simula.el (simula-mode):
8409         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8411 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8413         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8415         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8416         (display-time-world-buffer-name, display-time-world-mode-map):
8417         Fix typos in docstrings.
8419 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8421         * image-mode.el (image-display-size): New function.
8422         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8423         (image-mode-fit-frame): Use it (Bug#6639).
8425 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8427         * dired.el (dired-buffers-for-dir): Handle list values of
8428         dired-directory (Bug#6636).
8430 2010-07-26  Sam Steingold  <sds@gnu.org>
8432         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8433         Do not call `x-get-selection' the second time, reuse the value.
8435 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8437         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8438         which consist of control chars only.  Suggested by Richard Stallman.
8440 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8442         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8443         exists before passing an error to find-file-not-found-functions
8444         (bug#6723).
8446 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8448         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8449         Remove leading nil element, adjust values.
8450         (tetris-shapes, tetris-shape-scores):
8451         Change representation of shapes and remove some redundancy.
8452         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8453         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8454         Adjust for working with new representation of shapes.
8455         (tetris-shape-rotations): New function.
8456         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8457         (tetris-rotate-prev, tetris-rotate-next):
8458         Adjust for working with the new version of tetris-test-shape.
8460 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8462         * progmodes/ps-mode.el: Use comint (bug#5954).
8463         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8464         (ps-mode-other-newline): Simplify.
8465         (ps-run-mode): Derive from comint-mode instead of
8466         fundamental-mode, yielding input history etc.
8467         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8468         (ps-run-send-string): Adapt for comint-mode.
8469         (ps-run-newline): Remove now unneeded function.
8471 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8473         * net/tramp.el (tramp-methods): Move hostname to the end in all
8474         plink `tramp-login-args'.
8476 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8478         * net/tramp.el (tramp-open-shell): New defun.
8479         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8480         Use it.
8482 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8484         * net/tramp.el (tramp-file-name-regexp-unified)
8485         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8486         not regard the volume letter as remote filename.  (Bug#5447)
8488 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8490         * custom.el (custom-declare-variable): Give a clearer error message
8491         when the docstring is missing (bug#6476).
8493 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8495         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8496         (sql-login-params): New widget definition.
8497         (sql-oracle-login-params, sql-mysql-login-params)
8498         (sql-solid-login-params, sql-sybase-login-params)
8499         (sql-informix-login-params, sql-ingres-login-params)
8500         (sql-ms-login-params, sql-postgres-login-params)
8501         (sql-interbase-login-params, sql-db2-login-params)
8502         (sql-linter-login-params): Use it.
8503         (sql-sqlite-login-params): Use it; Define "database" parameter as
8504         a file name.
8505         (sql-sqlite-program): Change to "sqlite3".
8506         (sql-comint-sqlite): Make sure database name is complete.
8507         (sql-for-each-login): New function.
8508         (sql-connect, sql-save-connection): Use it.
8509         (sql-get-login-ext): New function.
8510         (sql-get-login): Use it.
8511         (sql-make-alternate-buffer-name): Handle :file parameters.
8513 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8515         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8516         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8518 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8520         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8522 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8524         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8526 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8528         * net/tramp.el (tramp-get-ls-command)
8529         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8530         instead of "/".
8532 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8534         * progmodes/sql.el: Version 2.3.
8535         (sql-connection-alist): Change keys from symbols to strings;
8536         enhanced the widget definition.
8537         (sql-mode-menu): Add submenu to select connections.
8538         (sql-interactive-mode-menu): Add "Save Connection" item.
8539         (sql-add-product): Fix menu item.
8540         (sql-get-product-feature): Improved error handling.
8541         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8542         (sql-make-alternate-buffer-name): Simplified.
8543         (sql-product-interactive): Handle missing product.
8544         (sql-connect): Support string keys, minor improvements.
8545         (sql-save-connection): New function.
8546         (sql-connection-menu-filter): New function.
8548 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8550         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8551         (tramp-open-connection-setup-interactive-shell):
8552         Apply workaround for IRIX64 bug.  Move argument of last
8553         `tramp-send-command' where it belongs to.
8555 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8557         * net/tramp.el (tramp-perl-file-attributes)
8558         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8559         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8560         front of `login-args'.
8562 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8564         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8565         Set `show-trailing-whitespace' to nil.
8566         (display-time-world-display): Simplify.
8568 2010-07-18  Alan Mackenzie  <acm@muc.de>
8570         Enhance `c-file-style' in file/directory local variables.
8571         * progmodes/cc-mode.el (c-count-cfss): New function.
8572         (c-before-hack-hook): Call `c-set-style' differently according to
8573         whether c-file-style was set in file or directory local
8574         variables.
8576 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8578         * progmodes/sql.el: Version 2.2.
8579         (sql-product, sql-user, sql-database, sql-server, sql-port):
8580         Use defcustom :safe keyword rather than putting safe-local-variable
8581         property.
8582         (sql-password): Use defcustom :risky keyword rather than putting
8583         risky-local-variable property.
8584         (sql-oracle-login-params, sql-sqlite-login-params)
8585         (sql-solid-login-params, sql-sybase-login-params)
8586         (sql-informix-login-params, sql-ingres-login-params)
8587         (sql-ms-login-params, sql-postgres-login-params)
8588         (sql-interbase-login-params, sql-db2-login-params)
8589         (sql-linter-login-params): Add `port' option.
8590         (sql-get-product-feature): Add NO-INDIRECT parameter.
8591         (sql-comint-oracle, sql-comint-sybase)
8592         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8593         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8594         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8595         (sql-comint-linter): Rename sql-connect-* functions to
8596         sql-comint-*.
8597         (sql-product-alist, sql-mode-menu): Rename as above and
8598         :sqli-connect-func to :sqli-comint-func.
8599         (sql-connection): New variable.
8600         (sql-interactive-mode): Set it.
8601         (sql-connection-alist): New variable.
8602         (sql-connect): New function.
8603         (sql--alt-buffer-part, sql--alt-if-not-empty)
8604         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8606 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8608         * image-mode.el (image-bookmark-make-record): Do not set context
8609         in an image (Bug#6650).
8611 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8613         * simple.el (select-active-region): New function.
8614         (push-mark-command, set-mark, activate-mark)
8615         (handle-shift-selection): Use it.
8616         (deactivate-mark): Don't check for size of region.
8618         * mouse.el (mouse-drag-track): Use select-active-region.
8620 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8622         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8623         "--dired" stronger.
8625 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8627         * term/x-win.el (x-select-enable-primary): Change default to nil.
8628         (x-select-enable-clipboard): Add :version keyword.
8630         * mouse.el (mouse-drag-copy-region):
8631         * simple.el (select-active-regions): Likewise.
8633 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8635         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8636         (vc-coding-system-for-diff): Use it to decide whether to inherit
8637         from the file the EOL format for reading the diffs of that file.
8638         (Bug#4451)
8640 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8642         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8643         unibyte, so compressed attachments are not compressed again.
8645 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8647         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8648         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8649         (tramp-find-shell): Simplify setting connection property.
8650         (tramp-get-ls-command): Make test for "--color=never" stronger.
8652 2010-07-15  Simon South  <ssouth@member.fsf.org>
8654         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8655         blocks within record declarations (i.e. variant parts) correctly.
8657 2010-07-15  Simon South  <ssouth@member.fsf.org>
8659         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8660         over literal tokens when parsing so newlines aren't "absorbed" by
8661         single-line comments.  Corrects the indentation of case blocks
8662         that have a comment on the first line.
8664 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8666         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8667         by Drew Adams (Bug#5504).
8669 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8671         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8672         now that Unicode is used (Bug#6594).
8674 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8676         * term/x-win.el (x-select-enable-clipboard): Default to t.
8677         (x-initialize-window-system): Don't overwrite Paste menu item.
8679         * simple.el (select-active-regions): Default to t.
8680         (push-mark-command): Don't overwrite primary with empty string.
8682         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8683         (mouse-drag-copy-region): Default to nil.
8685         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8686         Cut/Copy/Paste menu bar items.
8688 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8690         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8691         Patch applied by Karl Fogel.
8693         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8694         and `bookmark-current-buffer' if they have been already set in
8695         another buffer (e.g gnus-art).
8697 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8698             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8700         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8702         * bookmark.el (bookmark-make-record-default): Allow unneeded
8703         information to be omitted from the record.
8705         Adjust declarations and calls:
8707         * info.el (bookmark-make-record-default): Adjust declaration.
8708         (Info-bookmark-make-record): Adjust call.
8710         * woman.el (bookmark-make-record-default): Adjust declaration.
8711         (woman-bookmark-make-record): Adjust call.
8713         * man.el (bookmark-make-record-default): Adjust declaration.
8714         (Man-bookmark-make-record): Adjust call.
8716         * image-mode.el (bookmark-make-record-default): Adjust declaration.
8718         * doc-view.el (bookmark-make-record-default): Adjust declaration.
8720 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8722         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8723         This is also from Thierry Volpiatto's patch in bug #6444.  However,
8724         because it was extraneous to the functional change in that patch,
8725         and causes a re-indendation, I am committing it separately.
8727 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8729         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8730         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8731         Patch applied by Karl Fogel (Bug#6444).
8733 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
8735         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8737 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
8739         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8740         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
8741         (ns-alternatives-map): Change S-tab binding to backtab
8742         (bug#6616).
8744         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8745         under ns.
8747 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
8749         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8750         (Bug#5806)
8752         * language/tv-util.el (tai-viet-re): Remove format.
8754 2010-07-12  Kenichi Handa  <handa@m17n.org>
8756         * language/hebrew.el: Remove no-byte-compile declaration.
8757         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
8758         composition-function-table for 3-character looking back.
8759         (hebrew-font-get-precomposed): New function.
8760         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8762 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
8764         * mouse.el (mouse-drag-track): Handle select-active-regions
8765         (Bug#6612).
8767 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
8769         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8770         empty argument to gvfs-copy.
8772 2010-07-10  Glenn Morris  <rgm@gnu.org>
8774         * calendar/calendar.el (calendar-week-end-day): New function.
8775         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8776         Respect calendar-week-start-day.  (Bug#6606)
8777         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8778         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8779         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8780         respect calendar-week-start-day.
8782 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
8784         * simple.el (use-region-p): Doc fix (Bug#6607).
8786 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
8788         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8789         Add regexps for cucumber and ruby.
8791 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
8793         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8794         (epa-file-insert-file-contents): Hack to prevent
8795         find-file from opening empty buffer when decryption failed
8796         (bug#6568).
8798 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
8800         * textmodes/ispell.el (ispell-alternate-dictionary):
8801         Use file-readable-p.
8802         Return nil if no word-list is found at default locations.
8803         (ispell-complete-word-dict): Default to nil.
8804         (ispell-command-loop): Use 'word-list' when using lookup-words.
8805         (lookup-words): Use ispell-complete-word-dict or
8806         ispell-alternate-dictionary.  Check for word-list availability
8807         and handle errors if needed with better messages (Bug#6539).
8808         (ispell-complete-word): Use ispell-complete-word-dict or
8809         ispell-alternate-dictionary.
8811 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
8813         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8814         builtins (BufferError, BytesWarning, WindowsError; callables
8815         bin, bytearray, bytes, format, memoryview, next, print; __package__).
8817 2010-07-07  Glenn Morris  <rgm@gnu.org>
8819         * play/zone.el (top-level): Do not require timer, tabify, or cl.
8820         (zone-shift-left): Ignore intangibility, and any errors from
8821         forward-char.
8822         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
8823         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8824         deleting, and copying text properties.
8825         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8826         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8827         to point-max is hard.
8828         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8829         (zone-fill-out-screen): Ignore intangibility.
8831 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
8833         * menu-bar.el (menu-bar-mode):
8834         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8835         if it has been set.
8837         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8838         word/line selection (Bug#6565).
8840 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
8842         * net/dbus.el (dbus-send-signal): Declare function.
8844 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
8846         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8847         (dbus-register-property): New optional argument EMITS-SIGNAL.
8848         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8850 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
8852         * mouse.el (mouse-drag-overlay): Variable deleted.
8853         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8854         (mouse--remap-link-click-p): New function.
8855         (mouse-drag-track): Handle dragging by using temporary Transient
8856         Mark mode, instead of a special overlay.
8857         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8858         mouse-show-mark.
8860         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8861         deleted.
8863 2010-07-02  Juri Linkov  <juri@jurta.org>
8865         * autoinsert.el (auto-insert-alist): Fix readability
8866         by using dotted pair notation for lambda.
8868 2010-07-02  Juri Linkov  <juri@jurta.org>
8870         * faces.el (read-face-name): Rename arg `string-describing-default'
8871         to `default'.  Doc fix.  Display the default value in quotes
8872         in the prompt.  With empty input, return the `default' arg,
8873         unless the default value is a string (in which case return nil).
8874         (describe-face): Replace the string `default' arg of `read-face-name'
8875         with the symbol `default'.
8877 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
8879         * emulation/viper-cmd.el (viper-delete-backward-char)
8880         (viper-del-backward-char-in-insert)
8881         (viper-del-backward-char-in-replace, viper-change)
8882         (viper-backward-indent): Replace delete-backward-char with
8883         delete-char (Bug#6552).
8885 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
8887         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8889 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8891         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8892         argument passed to frame-creation-function (Bug#5378).
8894         * faces.el (x-handle-named-frame-geometry)
8895         (x-handle-reverse-video, x-create-frame-with-faces)
8896         (face-set-after-frame-default, tty-create-frame-with-faces):
8897         Don't separately consult default-frame-alist.  It is now passed as the
8898         PARAMETER argument.
8900 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
8902         * startup.el (command-line): Don't call tool-bar-setup in a
8903         tty-only build.
8905 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8907         * ruler-mode.el (ruler--save-header-line-format): New fun.
8908         (ruler-mode): Use it as a setter function, so as not to overwrite
8909         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8911 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
8913         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
8914         (vc-root-diff, vc-print-root-log, vc-log-incoming)
8915         (vc-log-outgoing): Use it.
8916         (vc-diff-internal): Set diff-vc-backend.
8918         * vc/diff-mode.el (diff-vc-backend): New var.
8920 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
8922         * dynamic-setting.el (font-setting-change-default-font):
8923         Remove call to message.
8925 2010-06-28  Kenichi Handa  <handa@m17n.org>
8927         * international/quail.el (quail-insert-kbd-layout): Fix the
8928         showing of untranslated characters.
8930 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
8932         * simple.el (delete-active-region): New option.
8933         (delete-backward-char): Implement in Lisp.
8934         (delete-forward-char): New command.
8936         * mouse.el (mouse-region-delete-keys): Delete.
8937         (mouse-show-mark): Simplify.
8939         * bindings.el (global-map): Bind delete and DEL, the former to
8940         delete-forward-char.
8942 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
8944         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8945         (ruby-mode): Bind indent-line-function (Bug#5119).
8947 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8949         * startup.el (command-line): Recognize "0" X resource value.
8951 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8953         * startup.el (command-line): Use X resources to set the value of
8954         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8956         * menu-bar.el (menu-bar-mode):
8957         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8958         Set init-value to t.
8960         * frame.el (frame-notice-user-settings): Don't change
8961         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8962         vice versa (Bug#2249).
8964 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
8966         * w32-fns.el (w32-convert-standard-filename): Doc fix.
8968 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
8970         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8971         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8973         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8974         default directories are expanded (Bug#6143).
8976 2010-06-24  Juri Linkov  <juri@jurta.org>
8978         * minibuffer.el (completions-format): Change default from nil to
8979         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
8981 2010-06-24  Juri Linkov  <juri@jurta.org>
8983         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8984         buffer-locally to lambda that re-runs the vc diff command.
8985         (Bug#6447)
8987 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
8989         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8990         echo area is in use (Bug#3412).
8992 2010-06-22  Glenn Morris  <rgm@gnu.org>
8994         * textmodes/texinfmt.el (texinfo-format-region)
8995         (texinfo-raise-lower-sections, texinfo-format-separate-node)
8996         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8997         (texinfo-format-option, texinfo-noindent):
8998         Use line-beginning-position and line-end-position.
9000         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9001         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9002         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9003         utf-8 characters.
9005 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
9007         * play/zone.el (zone-fall-through-ws): Fix next-line ->
9008         forward-line fallout.
9010 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
9012         * mouse.el (mouse-appearance-menu): Add docstring.
9014         * help.el (describe-key): Print up-event using key-description.
9016 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
9018         * net/zeroconf.el (zeroconf-resolve-service)
9019         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9020         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9022 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9024         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9026 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9028         Avoid displaying files with a nil state in vc-dir.
9029         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9030         cases that cause insertion.
9031         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9032         with a nil state.
9034 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9036         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9038 2010-06-29  Leo  <sdl.web@gmail.com>
9040         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9042 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9044         * generic-x.el (bat-generic-mode): Fix regexp for command line
9045         switches (Bug#5719).
9047 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9049         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9050         of nconc to avoid pure storage error (Bug#6239).
9052 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9054         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9055         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9056         bindings of bookmark-automatically-show-annotations (Bug#6515).
9058 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9060         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9061         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9063 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9065         * comint.el (make-comint, make-comint-in-buffer): Mention return
9066         value in the docstrings.  (Bug#6498)
9068 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9070         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9071         since it is not present when using some non-default switches.
9073 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9075         * simple.el (compose-mail): Fix doc string to refer to
9076         `compose-mail-user-agent-warnings', instead of to the
9077         nonexistent `compose-mail-check-user-agent'.
9079 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9081         Fix an indentation bug:
9083         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9084         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9085         of existing values.
9087         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9088         (c-clear->-pair-props-if-match-before): now return t when they've
9089         cleared properties, nil otherwise.
9090         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9091         by taking account of the existing value.
9093         * progmodes/cc-defs.el
9094         (c-clear-char-property-with-value-function): Fix this to clear the
9095         property rather than overwriting it with nil.
9097 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9099         * emacs-lisp/package.el (package-print-package): Add link to
9100         package description via describe-package.
9101         (describe-package-1): List package requirements.  Add button to
9102         perform installation.
9103         (package-menu-describe-package): New command.
9105         * help-mode.el (help-package): New button type.
9107 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9109         * emacs-lisp/package.el: Move package-list-packages binding to
9110         menu-bar.el.
9111         (describe-package, describe-package-1, package--dir): New funs.
9112         (package-activate-1): Use package--dir.
9114         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9116         * help-mode.el (help-package-def): New button type.
9118         * menu-bar.el: Move package-list-packages binding here from
9119         package.el.
9121 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9123         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9125 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9127         * emacs-lisp/edebug.el (edebug-read-list):
9128         Phase out old-style backquotes.
9130 2010-06-17  Juri Linkov  <juri@jurta.org>
9132         * help-mode.el (help-mode): Set buffer-local variable
9133         revert-buffer-function to help-mode-revert-buffer.
9134         (help-mode-revert-buffer): New function.
9136         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9137         before popping to "*info*" (like in other Info functions).
9138         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9139         old-history-forward.  Pop to old-buffer-name or "*info*" to
9140         recreate the killed buffer.  Set Info-history-forward from
9141         old-history-forward.
9142         (Info-breadcrumbs-depth): Add :group and :version.
9144 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9146         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9148 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9150         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9151         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9153 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9155         * emacs-lisp/package.el (package-menu-mode-map):
9156         Move initialization into declaration.
9158         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9160 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9162         * emacs-lisp/package.el (package-archive-base): Point to
9163         elpa.gnu.org.
9164         (package-enable, package-load-list): New defcustoms.
9165         (package-user-dir, package-directory-list): Turn into defcustoms.
9166         Don't include package-user-dir in package-directory-list.
9167         (package--builtins-base): Don't include Emacs as a "package".
9168         (package-subdirectory-regexp): New var.
9169         (package-load-all-descriptors, package-compute-transaction)
9170         (package-download-transaction): Obey package-load-list.
9171         (package-activate-1): Rename from package-do-activate.
9172         (package-list-packages-internal): Check package-load-list.
9173         (package-load-descriptor, package-generate-autoloads)
9174         (package-unpack, package-unpack-single)
9175         (package--read-archive-file, package-delete):
9176         Use expand-file-name.
9178         * emacs-lisp/package-x.el: New file.  Package uploading
9179         functionality split out from package.el.
9181         * startup.el (command-line): Load packages after reading init file.
9183 2010-06-17  Tom Tromey  <tromey@redhat.com>
9185         * emacs-lisp/package.el: New file.
9187 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9189         Fix vc-annotate for renamed files when using Git.
9190         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9191         ls-files.  Doe not pass the object as a file name to cat-file, it
9192         is not a file name.
9193         (vc-git-annotate-command): Pass the file name using -- to avoid
9194         ambiguity with the revision.
9195         (vc-git-previous-revision): Pass a relative file name.
9197 2010-06-22  Glenn Morris  <rgm@gnu.org>
9199         * progmodes/js.el (js-mode-map): Use standard capitalization and
9200         ellipses for menu entries.
9202         * wid-edit.el (widget-complete): Doc fix.
9204 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9206         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9208 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9210         Fix annotating other revisions for renamed files in vc-annotate.
9211         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9212         VC backend.  Use it when non-nil.
9213         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9214         (Bug#6487).
9216         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9217         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9218         Do not pass the file name to the 'previous-revision call when we
9219         don't want a file diff.  (Bug#6489)
9221 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9223         Fix finding revisions for renamed files in vc-annotate.
9224         * vc/vc.el (vc-find-revision): Add an optional argument for
9225         the VC backend.  Use it when non-nil.
9226         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9227         backend to vc-find-revision.  (Bug#6487)
9229 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9231         Fix reading file names in Git annotate buffers.
9232         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9233         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9235 2010-06-20  Alan Mackenzie  <acm@muc.de>
9237         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9238         in file local variables, set it first.
9240 2010-06-19  Glenn Morris  <rgm@gnu.org>
9242         * descr-text.el (describe-char-unicode-data): Insert separating
9243         space when needed.  (Bug#6422)
9245         * progmodes/idlwave.el (idlwave-action-and-binding):
9246         Fix typo in 2009-12-03 change.  (Bug#6450)
9248 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9250         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9251         handling for `lambda' (misunderstanding).
9253 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9255         * calc/calc-poly.el (math-accum-factors): Make sure that
9256         constants aren't distributed after they are factored out.
9258 2010-06-16  Juri Linkov  <juri@jurta.org>
9260         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9261         `list-colors-print'.  (Bug#6332)
9263         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9265 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9267         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9268         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9270         * font-lock.el (font-lock-major-mode): Rename from
9271         font-lock-mode-major-mode to distinguish it from
9272         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9273         (font-lock-set-defaults):
9274         * font-core.el (font-lock-default-function): Adjust users.
9275         (font-lock-mode): Don't set it at all.
9277 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9279         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9281 2010-06-16  Glenn Morris  <rgm@gnu.org>
9283         * calendar/appt.el (appt-time-msg-list): Doc fix.
9284         (appt-check): Let-bind appt-warn-time.
9285         (appt-add): Make the 3rd argument optional.
9286         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9287         Only add WARNTIME to the output list if non-nil.
9289 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9291         * calendar/appt.el (appt-check): Let the 3rd element of
9292         appt-time-msg-list specify the warning time.
9293         (appt-add): Add new argument with the warning time.  (Bug#5176)
9295 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9297         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9298         older than version 1.6.  (Bug#6361)
9300 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9302         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9303         used by cl-do-arglist.  (Bug#6408)
9305 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9307         * textmodes/ispell.el (ispell-dictionary-base-alist):
9308         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9309         Suggested by Rolando Pereira (bug#6434).
9311 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9313         * facemenu.el (list-colors-sort): Doc fix.
9315 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9317         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9319 2010-06-14  Juri Linkov  <juri@jurta.org>
9321         Add sort option `list-colors-sort'.  (Bug#6332)
9322         * facemenu.el (color-rgb-to-hsv): New function.
9323         (list-colors-sort): New defcustom.
9324         (list-colors-sort-key): New function.
9325         (list-colors-display): Doc fix.  Sort list according to the option
9326         `list-colors-sort'.
9327         (list-colors-print): Add HSV values to `help-echo' property of
9328         RGB strings.
9330 2010-06-14  Juri Linkov  <juri@jurta.org>
9332         * compare-w.el: Move to the "vc" subdirectory.
9334 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9336         * image-mode.el (image-mode-map): Remap left-char and right-char.
9338         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9340 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9342         * term/common-win.el (x-colors): Add all the color names defined
9343         in rgb.txt (Bug#6332).
9345         * facemenu.el (list-colors-print): Don't print extra names if it
9346         will overflow the window width.
9348         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9349         change (Bug#6343).
9351 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9353         * files.el (make-directory): Doc fix (bug#6396).
9355 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9357         * net/tramp.el (tramp-remote-process-environment): Protect version
9358         string by apostroph.
9359         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9360         XEmacs.
9361         (tramp-file-name-for-operation): Add `call-process-region'.
9362         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9364         * net/tramp-compat.el (top): Do not autoload
9365         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9366         only when `start-file-process' is not bound.
9367         (tramp-advice-file-expand-wildcards): Do not use
9368         `tramp-handle-file-remote-p'.
9369         (tramp-compat-make-temp-file): Handle the case, that
9370         `make-temp-file' has no third argument EXTENSION.
9372 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9374         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9376         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9378 2010-06-11  Juri Linkov  <juri@jurta.org>
9380         * finder.el (finder-known-keywords): Add keyword "vc"
9381         for version control.
9383         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9384         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9385         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9386         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9388 2010-06-11  Juri Linkov  <juri@jurta.org>
9390         Move version control related files to the "vc" subdirectory.
9391         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9392         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9393         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9394         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9395         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9396         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9397         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9398         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9399         Move files to the "vc" subdirectory.
9401 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9403         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9404         (Bug#6367).
9406 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9408         * shell.el: Bind `shell-resync-dirs' to M-RET.
9410 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9412         * notifications.el: Move file from lisp/net, because it is
9413         supposed to talk locally to the user.
9415 2010-06-10  Julien Danjou  <julien@danjou.info>
9417         * net/notifications.el (notifications-on-action-signal)
9418         (notifications-on-closed-signal): Pass notification id as first
9419         argument to the callback functions.  Add docstrings.
9420         (notifications-notify): Fix docstring.
9422 2010-06-10  Glenn Morris  <rgm@gnu.org>
9424         * emacs-lisp/authors.el (authors-ignored-files)
9425         (authors-valid-file-names): Add some files.
9427 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9429         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9430         merge conflict, giving preference to the emacs-23 version of the code.
9432 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9434         * emacs-lisp/advice.el (ad-compile-function):
9435         Define warning-suppress-types before we let-bind it (bug#6275).
9437         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9438         declare it, make it buffer-local and permanent-local (bug#6324).
9439         (vc-resynch-window): Adjust name.
9440         * vc-hooks.el (vc-find-file-hook): Adjust name.
9442 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9444         * net/notifications.el (notifications-notify): Fix docstring.
9446 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9448         Update to Unicode 6.0.0 beta.
9449         * international/charprop.el: Update copyright.
9450         * international/mule-cmds.el (ucs-names): Update character ranges.
9451         * international/uni-bidi.el:
9452         * international/uni-category.el:
9453         * international/uni-combining.el:
9454         * international/uni-comment.el:
9455         * international/uni-decimal.el:
9456         * international/uni-decomposition.el:
9457         * international/uni-digit.el:
9458         * international/uni-lowercase.el:
9459         * international/uni-mirrored.el:
9460         * international/uni-name.el:
9461         * international/uni-numeric.el:
9462         * international/uni-old-name.el:
9463         * international/uni-titlecase.el:
9464         * international/uni-uppercase.el: Regenerate.
9466 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9468         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9469         (smie-precs-precedence-table): Fix typo in docstring.
9471         * vc-mtn.el (log-edit-extract-headers): Declare function.
9473         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9475         * net/notifications.el (dbus-register-signal): Declare function.
9476         (notifications-notify): Fix typos and reflow docstring.
9478 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9480         Improve VC create/retrieve tag/branch.
9481         * vc.el (vc-create-tag): Do not read the directory name for VCs
9482         with repository revision granularity.  Adjust the tag/branch
9483         prompt.  Reset VC properties.
9484         (vc-retrieve-tag): Do not read the directory name for VCs
9485         with repository revision granularity.  Reset VC properties.
9487 2010-06-09  Julien Danjou  <julien@danjou.info>
9489         * net/notifications.el: New file.
9491 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9493         Add optional support for resetting VC properties.
9494         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9495         call vc-file-clearprops when true.
9496         (vc-resynch-buffer): Add new optional argument, pass it down.
9497         (vc-resynch-buffers-in-directory): Likewise.
9499         Improve support for special markup in the VC commit message.
9500         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9501         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9502         * vc-git.el (vc-git-checkin):
9503         * vc-bzr.el (vc-bzr-checkin): Likewise.
9505 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9507         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9508         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9510 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9512         * iimage.el: Remove images as soon as the underlying text is modified.
9513         (iimage-modification-hook): New function.
9514         (iimage-mode-buffer): Use it.
9516 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9518         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9519         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9520         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9521         (smie-indent-keyword): Add handling of open-paren keywords.
9522         (smie-indent-comment-continue): Don't assume comment-continue.
9524 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9526         * window.el (pop-to-buffer): Remove the conditional that
9527         compares new-window and old-window, so it will reselect
9528         the selected window unconditionally.
9529         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9531 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9533         * emacs-lisp/smie.el (smie-indent-offset-after)
9534         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9535         (smie-indent-after-keyword): Use them.
9536         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9537         (smie-indent-keyword): Tweak the black magic.
9538         (smie-indent-comment-continue): Strip comment-continue before use.
9539         (smie-indent-functions): Indent comments before keywords.
9541 2010-06-06  Juri Linkov  <juri@jurta.org>
9543         * isearch.el (isearch-lazy-highlight-search): Fix looping
9544         by checking for empty match.  This syncs this loop with the
9545         similar loop in `isearch-search'.  (Bug#6362)
9547 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9549         * net/dbus.el (dbus-register-method): Declare function.
9550         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9551         (dbus-introspect): Doc fix.
9552         (dbus-event-bus-name, dbus-introspect-get-interface)
9553         (dbus-introspect-get-argument): Reflow docstrings.
9555 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9557         vc-log-incoming/vc-log-outgoing fixes for Git.
9558         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9559         incoming/outgoing logs.
9560         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9561         instead of vc-git-compute-remote.
9562         (vc-git-compute-remote): Remove.
9564 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9566         * term/common-win.el (x-colors): Add "dark green" and "dark
9567         turquoise" (Bug#6332).
9569 2010-06-04  Juri Linkov  <juri@jurta.org>
9571         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9572         Instead of setting `replace' to t and replacing the same string
9573         with itself, don't do certain actions when
9574         kill-do-not-save-duplicates is non-nil and string is equal to car
9575         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9576         interprogram-paste strings to kill-ring, and don't push the input
9577         argument `string' to kill-ring.
9578         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9580 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9582         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9584 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9586         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9587         (tramp-gvfs-handler-mounted-unmounted)
9588         (tramp-gvfs-connection-mounted-p): Handle default-location.
9590         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9591         move files to trash.
9593 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9595         * international/mule-cmds.el (nonascii-insert-offset)
9596         (nonascii-translation-table): Add obsolescence information.
9598         * international/mule.el (make-translation-table-from-vector): Doc fix.
9600 2010-06-03  Glenn Morris  <rgm@gnu.org>
9602         * desktop.el (desktop-clear-preserve-buffers):
9603         Add "*Warnings*" buffer.  (Bug#6336)
9605 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9607         vc-log-incoming/vc-log-outgoing improvements for Git.
9608         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9609         short log.
9610         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9612         Add bindings for vc-log-incoming and vc-log-outgoing.
9613         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9614         and vc-log-outgoing.
9615         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9616         and vc-log-outgoing.
9618 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9620         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9621         (rcirc-handler-366): Always sort nicknames.
9623 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9625         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9627 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9629         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9631 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9633         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9634         (rcirc-sort-nicknames-join): Avoid setq.
9636 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9638         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9639         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9640         (rcirc-handler-366): Use them.
9642 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9644         Split smie-indent-calculate into more manageable chunks.
9645         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9646         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9647         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9648         (smie-indent-exps): Extract from smie-indent-calculate.
9649         (smie-indent-functions): New var.
9650         (smie-indent-functions): Use them.
9652 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9654         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9655         (smie-indent-calculate): Simplify and cleanup.
9657 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9659         * net/tramp-gvfs.el (top): Require url-util.
9660         (tramp-gvfs-mount-point): Remove.
9661         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9662         New defuns.
9663         (with-tramp-dbus-call-method): Format trace message.
9664         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9665         Implement backup call, when operation on local files fails.
9666         Use progress reporter.  Flush properties of changed files.
9667         (tramp-gvfs-handle-make-directory): Make more traces.
9668         (tramp-gvfs-url-file-name): Hexify file name in url.
9669         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9670         into account for the resulting file name.
9671         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9672         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9673         (tramp-gvfs-handler-mounted-unmounted)
9674         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9675         attribute "default_location".  Set "prefix" property.
9676         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9677         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9678         exists.  Raise an error, if not (due to a corresponding answer
9679         "no" in interactive questions, for example).
9681 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9683         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9685 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9687         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9688         right-*.  (Bug#6265)
9690 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
9692         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9693         * vc-git.el (vc-git-compute-remote): New function.
9694         (vc-git-log-outgoing): Use it instead of hard coding a value.
9695         (vc-git-log-incoming): New function.
9697         Improve state updating for VC tag commands.
9698         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9699         to update the state of all buffers in the directory.
9701         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9703 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9705         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9706         `file-directory-p' to the filename part rather than to the whole text.
9708 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9710         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9712 2010-05-31  Drew Adams  <drew.adams@oracle.com>
9714         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9716 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
9718         * subr.el (momentary-string-display): Just use read-event to read
9719         the exit event (Bug#6238).
9721 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
9723         * international/mule.el (define-coding-system): Doc fix (bug#6313).
9725 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9727         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9728         Suggested by Eli Zaretskii <eliz@gnu.org>.
9730 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9732         * minibuffer.el (completion-file-name-table): Don't return a boundary
9733         past the end of `string' (bug#6299).
9734         (completion--file-name-table): Delegate to completion-file-name-table
9735         for the `boundaries' case.
9737 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9739         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9740         movement commands.
9742         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9743         `path-separator', but maintain compatibility with Emacs 20.2.
9745 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9747         * server.el (server-process-filter): Receive parent-id argument
9748         from emacsclient.
9749         (server-create-window-system-frame): New arg.  Pass parent-id as
9750         frame parameter.
9752 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
9754         Bidi-sensitive word movement with arrow keys.
9755         * subr.el (right-arrow-command, left-arrow-command): Move to
9756         bindings.el.
9758         * bindings.el (right-char, left-char): Move from subr.el and
9759         rename from right-arrow-command and left-arrow-command.
9760         (right-word, left-word): New functions.
9761         (global-map) <right>: Bind to right-char.
9762         (global-map) <left>: Bind to left-char.
9763         (global-map) <C-right>: Bind to right-word.
9764         (global-map) <C-left>: Bind to left-word.
9766         * ls-lisp.el (ls-lisp-classify-file): New function.
9767         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9768         (ls-lisp-classify): Call ls-lisp-classify-file.
9769         (insert-directory): Remove blanks from switches.
9771 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9773         * ansi-color.el: Delete unused escape sequences (Bug#6085).
9774         (ansi-color-drop-regexp): New constant.
9775         (ansi-color-apply, ansi-color-filter-region)
9776         (ansi-color-apply-on-region): Delete unrecognized control sequences.
9777         (ansi-color-apply): Build string list before calling concat.
9779 2010-05-28  Juri Linkov  <juri@jurta.org>
9781         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9782         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9783         (Bug#5270)
9785 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9787         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9788         to ignored backtrace functions.
9789         (with-progress-reporter): Expand docstring.
9790         (tramp-handle-delete-file): Implement TRASH argument.
9791         (tramp-get-remote-trash): New defun.
9793 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9795         * net/tramp-compat.el (tramp-compat-delete-file):
9796         Use `symbol-value' for backward compatibility.
9798         * net/tramp.el (tramp-handle-make-symbolic-link)
9799         (tramp-handle-load)
9800         (tramp-do-copy-or-rename-file-via-buffer)
9801         (tramp-do-copy-or-rename-file-directly)
9802         (tramp-do-copy-or-rename-file-out-of-band)
9803         (tramp-handle-process-file, tramp-handle-call-process-region)
9804         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9805         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9806         (tramp-delete-temp-file-function): Use `delete-file' instead
9807         of `tramp-compat-delete-file'.
9809         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9810         (tramp-fish-handle-make-symbolic-link)
9811         (tramp-fish-handle-process-file): Use `delete-file' instead
9812         of `tramp-compat-delete-file'.
9814         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9815         Use `delete-file' instead of `tramp-compat-delete-file'.
9817         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
9818         `delete-file' instead of `tramp-compat-delete-file'.
9820         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9821         Use `delete-file' instead of `tramp-compat-delete-file'.
9823         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9824         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9825         (tramp-smb-handle-write-region): Use `delete-file' instead of
9826         `tramp-compat-delete-file'.
9827         (tramp-smb-handle-delete-directory): Use 'trash as arg.
9829 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9831         * dired.el (dired-delete-file): New arg TRASH.
9832         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
9833         (dired-do-flagged-delete, dired-do-delete): Use trash.
9835         * speedbar.el (speedbar-item-delete): Allow trashing.
9837         * files.el (delete-directory): New arg TRASH.
9839         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9840         (ange-ftp-rename-remote-to-remote)
9841         (ange-ftp-rename-local-to-remote)
9842         (ange-ftp-rename-remote-to-local, ange-ftp-load)
9843         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9844         `delete-file'.
9845         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9846         allow trashing.
9848         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9849         handle new TRASH arg of `delete-file'.
9851         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9852         (tramp-handle-make-symbolic-link, tramp-handle-load)
9853         (tramp-do-copy-or-rename-file-via-buffer)
9854         (tramp-do-copy-or-rename-file-directly)
9855         (tramp-do-copy-or-rename-file-out-of-band)
9856         (tramp-handle-process-file, tramp-handle-call-process-region)
9857         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9858         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9859         (tramp-delete-temp-file-function): Use null TRASH arg in
9860         tramp-compat-delete-file call.
9862         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9863         (tramp-fish-handle-delete-file)
9864         (tramp-fish-handle-make-symbolic-link)
9865         (tramp-fish-handle-process-file): Use null TRASH arg in
9866         `tramp-compat-delete-file' call.
9868         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9869         arg in `tramp-compat-delete-file' call.
9871         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9872         (tramp-gvfs-handle-write-region): Use null TRASH arg in
9873         `tramp-compat-delete-file' call.
9875         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9876         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9877         `tramp-compat-delete-file' call.
9879         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9880         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9881         (tramp-smb-handle-write-region): Use null TRASH arg in
9882         tramp-compat-delete-file call.
9883         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9884         (tramp-smb-handle-delete-file): Rename arg.
9886         * diff.el (diff-sentinel):
9887         * epg.el (epg--make-temp-file, epg-decrypt-string)
9888         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9889         * jka-compr.el (jka-compr-partial-uncompress)
9890         (jka-compr-call-process, jka-compr-write-region):
9891         * server.el (server-sentinel): Remove optional arg from
9892         delete-file, reverting 2010-05-03 change.
9894 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9896         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9897         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9899 2010-05-27  Kenichi Handa  <handa@m17n.org>
9901         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9902         element of GSTRING is nil.
9904 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9906         * emacs-lisp/smie.el (smie-forward-token-function)
9907         (smie-backward-token-function): New vars.
9908         (smie-backward-sexp, smie-forward-sexp)
9909         (smie-indent-hanging-p, smie-indent-calculate): Use them.
9910         (smie-default-backward-token): Rename from smie-backward-token and
9911         skip comments.
9912         (smie-default-forward-token): Rename from smie-forward-token and
9913         skip comments.
9914         (smie-next-sexp): Handle nil results from next-token.
9915         (smie-indent-calculate): Add a new case for special `fixindent' comments.
9917 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9919         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9920         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9922 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
9924         * htmlfontify.el (hfy-face-resolve-face): New function.
9925         (hfy-face-to-style): Use it (Bug#6279).
9927 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9929         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9930         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9932 2010-05-26  Glenn Morris  <rgm@gnu.org>
9934         * emulation/edt.el (edt-load-keys): Use locate-library.
9936 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
9938         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9939         (log-edit-changelog-entries): Doc fix.
9940         (log-edit-changelog-insert-entries): Args changed.
9941         Rename relative filenames in ChangeLog entries.  Delete tabs.
9942         (log-edit-insert-changelog-entries): Reorganize return value of
9943         `log-edit-changelog-entries' to pass filenames to
9944         log-edit-changelog-insert-entries.
9946 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9948         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9949         `image-dired-dired-insert-marked-thumbs' to
9950         `image-dired-dired-toggle-marked-thumbs'.
9952         * image-dired.el: Require cl when compiling.
9953         (image-dired-dired-toggle-marked-thumbs): Rename from
9954         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
9955         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
9956         to 'no-dir.  Skip files whose names don't match
9957         `image-file-name-regexp'.  When file has a thumbnail overlay,
9958         delete it.  (Bug#5270)
9960 2010-05-25  Juri Linkov  <juri@jurta.org>
9962         * image-mode.el (image-mode): Add image-after-revert-hook to
9963         after-revert-hook.
9964         (image-after-revert-hook): New function.  (Bug#5669)
9966 2010-05-25  Juri Linkov  <juri@jurta.org>
9968         * image.el (image-animated-p): When delay between animated images
9969         is 0, set it to 10 (0.1 sec).  (Bug#6258)
9971 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
9973         * net/tramp.el (tramp-handle-insert-directory): Don't use
9974         `forward-word', its default syntax could be changed.
9976 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
9978         * net/tramp.el (tramp-progress-reporter-update): New defun.
9979         (with-progress-reporter): Use it.
9980         (tramp-process-actions):
9981         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9982         Preserve current message, in order to let progress reporter continue
9983         afterwards.  (Bug#6257)
9985 2010-05-25  Glenn Morris  <rgm@gnu.org>
9987         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9988         Add :version.
9990 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9992         * net/rcirc.el (rcirc-default-user-name): Change to "user".
9993         (rcirc-default-full-name): Change to "unknown".
9994         (rcirc-user-name-history): Add variable.
9996 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9997             Jonathan Rockway  <jon@jrock.us>
9999         * net/rcirc.el (rcirc-server-alist): Add :pass.
10000         (rcirc): When prompting for connection parameters, also prompt for
10001         username and password.
10002         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
10003         value to server when connecting.
10005 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10007         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10008         (smie-merge-prec2s): Pass the tables as separate args.
10009         (smie-bnf-precedence-table): Adjust call accordingly.
10010         (smie-prec2-levels): Set levels at the end.
10012         Replace Lisp calls to delete-backward-char by delete-char.
10013         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10014         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10015         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10016         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10017         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10018         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10019         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10020         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10021         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10022         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10023         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10024         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10025         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10026         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10027         delete-backward-char by calls to delete-char.
10029 2010-05-25  Kenichi Handa  <handa@m17n.org>
10031         * language/hebrew.el (hebrew-shape-gstring): New function.
10032         Register it in composition-function-table for all Hebrew combining
10033         characters.
10035 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10037         * epa.el (epa--select-keys): Don't explicitly delete the window since
10038         that can fail (e.g. sole window in frame).  Use dedication instead.
10040 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10042         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10044 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10046         * image.el (image-refresh): Define as an alias for image-flush.
10048         * image-mode.el (image-toggle-display-image): Caller changed.
10050 2010-05-21  Juri Linkov  <juri@jurta.org>
10052         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10053         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10054         whitespace, call wildcard-to-regexp on substrings and concat them
10055         with "\\|".  (Bug#6114)
10057 2010-05-21  Alan Mackenzie  <acm@muc.de>
10059         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10060         Replace parameter `here' with `here-' and `here-plus', which sandwich
10061         any pertinent CPP construct.
10062         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10063         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10064         CPP construct from taking part in the scanning.
10066 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10068         * net/tramp.el (tramp-do-copy-or-rename-file)
10069         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10070         Tune `with-progress-reporter' messages.
10071         (tramp-handle-vc-registered):
10072         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10073         (tramp-fish-handle-insert-file-contents)
10074         (tramp-fish-maybe-open-connection):
10075         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10076         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10077         (tramp-imap-handle-insert-file-contents)
10078         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10080 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10082         * add-log.el (change-log-font-lock-keywords):
10083         Highlight all authors in multi-author entries.
10085         * smerge-mode.el (smerge-refine-ignore-whitespace)
10086         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10087         Fix typos in docstrings.
10088         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10090 2010-05-21  Glenn Morris  <rgm@gnu.org>
10092         * progmodes/fortran.el (fortran-mode):
10093         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10095         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10096         having a relative path in src/Makefile.in.
10098 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10100         * help-mode.el (help-make-xrefs): For Info node links turn
10101         newlines into spaces.  Link node names with newlines are matched
10102         by help-xref-info-regexp and buttonized, this change ensures they
10103         can be followed successfully with RET.  (Bug#6206)
10105 2010-05-20  Juri Linkov  <juri@jurta.org>
10107         * locate.el (locate): Use pop-to-buffer instead of
10108         switch-to-buffer-other-window.  (Bug#6204)
10110 2010-05-20  Juri Linkov  <juri@jurta.org>
10112         * replace.el (replace-highlight): Fix lazy-highlighting
10113         for `M-s w str M-% str RET'.
10115 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10117         * isearch.el (isearch-yank-word-or-char): Pull next subword
10118         when `subword-mode' is activated.  (Bug#6220)
10120 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10122         * isearch.el (isearch-update-post-hook): New hook.
10123         (isearch-update): Use the new hook.  (Bug#6225)
10125 2010-05-20  Juri Linkov  <juri@jurta.org>
10127         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10128         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10129         (Bug#6222)
10131 2010-05-20  Juri Linkov  <juri@jurta.org>
10133         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10134         (Bug#6223)
10136 2010-05-20  Juri Linkov  <juri@jurta.org>
10138         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10139         FILE-NAME to read from the minibuffer when called interactively
10140         with prefix argument instead of using buffer-file-name.
10141         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10143         * dired.el: Update autoloads.
10145 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10147         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10148         nxml-finish-element, for consistency with SGML mode.
10150         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10151         octave-close-block.
10153 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10155         * composite.el: Require cl when compiling.
10156         (reference-point-alist, compose-gstring-for-graphic)
10157         (compose-gstring-for-terminal): Fix typos in docstrings.
10159 2010-05-19  Juri Linkov  <juri@jurta.org>
10161         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10162         set-window-parameter.
10164 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10166         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10167         where appropriate.
10168         (tramp-maybe-open-connection): Use it.
10170 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10172         * simple.el (move-end-of-line): Make sure we are at line beginning
10173         before backing up to end of previous line.
10175 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10177         * password-cache.el (password-cache-remove): Fix docstring.
10179         * net/secrets.el: Autoload the widget functions.
10180         (secrets-search-items, secrets-create-item)
10181         (secrets-get-attributes, secrets-expand-item): Attributes will be
10182         stored on the password database without leading ":", as all other
10183         clients do as well.
10184         (secrets-mode): Fix docstring.
10185         (secrets-show-secrets): Provide it as autoloaded command only when
10186         D-Bus support is available.  Check existence of Secret Service API.
10188 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10190         * indent.el (indent-region): Deactivate region (bug#6200).
10192 2010-05-19  Glenn Morris  <rgm@gnu.org>
10194         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10196 2010-05-19  Kenichi Handa  <handa@m17n.org>
10198         * composite.el: Register compose-gstring-for-graphic in
10199         composition-function-table only for combining characters (Mn, Mc, Me).
10201 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10203         * calc/calc-trail.el (calc-trail-isearch-forward)
10204         (calc-trail-isearch-backward): Ensure that the new window
10205         point is set correctly.
10207 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10209         * subr.el (read-quoted-char): Resolve modifiers after key
10210         remapping (bug#6212).
10212 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10214         Add visualization code for secrets.
10215         * net/secrets.el (secrets-mode): New major mode.
10216         (secrets-show-secrets, secrets-show-collections)
10217         (secrets-expand-collection, secrets-expand-item)
10218         (secrets-tree-widget-after-toggle-function)
10219         (secrets-tree-widget-show-password): New defuns.
10221 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10223         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10224         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10225         handled in smie-next-sexp.
10226         (smie-indent-calculate): Provide a starting indentation (so the
10227         recursion is well-founded ;-).
10229         Fix handling of non-associative equal levels.
10230         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10231         when it's not needed.
10232         (smie-op-left, smie-op-right): New functions.
10233         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10234         Better handle equal levels to distinguish the associative case from
10235         the "multi-keyword construct" case.
10236         (smie-backward-sexp, smie-forward-sexp): Use it.
10238 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10240         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10242         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10243         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10245 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10247         Provide a simple generic indentation engine and use it for Prolog.
10248         * emacs-lisp/smie.el: New file.
10249         * progmodes/prolog.el (prolog-smie-op-levels)
10250         (prolog-smie-indent-rules): New var.
10251         (prolog-mode-variables): Use them to configure SMIE.
10252         (prolog-indent-line, prolog-indent-level): Remove.
10254 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10256         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10257         order before computing the averages.
10259 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10261         * calc/calc-vec.el (calc-histogram):
10262         (calcFunc-histogram): Allow vectors as inputs.
10263         (math-vector-avg): New function.
10265         * calc/calc-ext.el (math-group-float): Have the number of digits
10266         being grouped depend on the radix (Bug#6189).
10268 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10270         * version.el (emacs-copyright, emacs-version): Don't define here,
10271         now that emacs.c defines it.
10273 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10275         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10276         "Describe Language Environment" menu item.
10278         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10280         Bidi-sensitive movement with arrow keys.
10281         * subr.el (right-arrow-command, left-arrow-command): New functions.
10283         * bindings.el (global-map): Bind them to right and left arrow keys.
10285         Don't override standard definition of convert-standard-filename.
10286         * files.el (convert-standard-filename):
10287         Call w32-convert-standard-filename and dos-convert-standard-filename on
10288         the corresponding systems.
10290         * w32-fns.el (w32-convert-standard-filename): Rename from
10291         convert-standard-filename.  Doc fix.
10293         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10294         (convert-standard-filename): Don't defalias.
10295         (register-name-alist, make-register, register-value)
10296         (set-register-value, intdos): Obsolete aliases for the
10297         corresponding dos-* functions and variables.
10298         (dos-intdos): Add a doc string.
10300 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10302         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10303         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10304         (math-compose-tex-func):
10305         * calc/calccomp.el (math-compose-expr):
10306         * calc/calc-ext.el (math-format-flat-expr-fancy):
10307         * calc/calc-store.el (calc-read-var-name):
10308         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10310         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10311         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10312         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10313         (math-standard-units): Add units.
10315 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10317         * progmodes/asm-mode.el (asm-mode):
10318         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10320         * pcomplete.el (pcomplete-completions-at-point): New function,
10321         extracted from pcomplete-std-complete.
10322         (pcomplete-std-complete): Use it.
10324 2010-05-15  Glenn Morris  <rgm@gnu.org>
10326         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10327         Remove references to CVS, RCS and Old directories.
10329 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10331         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10332         appropriate.
10334 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10336         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10337         (sh-mode-syntax-table): Give it a default value instead.
10338         (sh-header-marker): Make buffer-local.
10339         (sh-mode): Move make-local-variable to the corresponding setq.
10340         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10341         Use complete-with-action.
10343         * simple.el (prog-mode): New (abstract) major mode.
10344         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10345         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10347 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10349         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10350         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10351         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10352         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10353         (sql-escape-newlines-filter, sql-input-sender)
10354         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10356 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10358         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10360         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10361         latex-open-block and C-c / to latex-close-block.
10363         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10364         and C-c C-e to sgml-close-tag.
10366 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10368         * net/tramp.el (with-progress-reporter): Create reporter object
10369         only when the message would be displayed.  Handle nested calls.
10370         (tramp-handle-load, tramp-handle-file-local-copy)
10371         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10372         (tramp-maybe-send-script, tramp-find-shell):
10373         Use `with-progress-reporter'.
10374         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10375         Fix message text.
10377         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10378         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10379         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10380         Use `with-progress-reporter'.
10382 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10384         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10385         process everytime when spellchecking from the minibuffer (bug#6143).
10387 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10389         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10391         * dos-fns.el: Add "dos-" prefix for namespace control.
10392         (convert-standard-filename): Define as alias for
10393         dos-convert-standard-filename but only if applicable.
10395 2010-05-12  Alan Mackenzie  <acm@muc.de>
10397         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10398         Push the mark at the start of these functions when appropriate.
10400 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10402         * minibuffer.el (completion-cycle-threshold): New custom var.
10403         (completion--do-completion): Use it.
10404         (minibuffer-complete): Use cycling if appropriate.
10406 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10408         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10409         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10411 2010-05-11  Juri Linkov  <juri@jurta.org>
10413         * scroll-all.el (scroll-all-check-to-scroll):
10414         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10416 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10418         * iimage.el (iimage-mode-map): Move initialization into declaration.
10419         (iimage-mode-buffer): Use with-silent-modifications.
10420         Simplify calling convention.  Adjust callers.
10421         (iimage-mode): Don't run hook redundantly.
10423         * minibuffer.el (completion-pcm--pattern->regex):
10424         Fix last change (bug#6160).
10426 2010-05-10  Juri Linkov  <juri@jurta.org>
10428         Remove nodes visited during Isearch from the Info history.
10429         * info.el (Info-isearch-initial-history)
10430         (Info-isearch-initial-history-list): New variables.
10431         (Info-isearch-start): Record initial values of
10432         Info-isearch-initial-history and Info-isearch-initial-history-list.
10433         Add Info-isearch-end to isearch-mode-end-hook.
10434         (Info-isearch-end): New function.
10436 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10438         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10439         format string, in order to work around a bug in pdksh.
10440         Reported by Gilles Pion <gpion@lfdj.com>.
10441         (tramp-handle-verify-visited-file-modtime): Do not send a command
10442         when the connection is not established.
10443         (tramp-handle-set-file-times): Simplify the check for utc.
10445 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10447         Fix use of `filter-buffer-substring' (rework previous change).
10448         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10449         (cua-repeat-replace-region):
10450         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10451         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10452         (cua-cut-region-to-global-mark): Use it.
10454 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10456         * progmodes/sql.el: Version 2.1.
10457         (sql-product-alist): Redesign structure of product info.
10458         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10459         (sql-port, sql-port-history): New variables.
10460         (sql-interactive-product): New variable.
10461         (sql-send-terminator): New variable.
10462         (sql-imenu-generic-expression): Add "Types" imenu entry.
10463         (sql-oracle-login-params, sql-sqlite-login-params)
10464         (sql-mysql-login-params, sql-solid-login-params)
10465         (sql-sybase-login-params, sql-informix-login-params)
10466         (sql-ingres-login-params, sql-ms-login-params)
10467         (sql-postgres-login-params, sql-interbase-login-params)
10468         (sql-db2-login-params, sql-linter-login-params)
10469         (sql-oracle-scan-on): New variables.
10470         (sql-mode-map): Add C-c C-i to start interactive mode.
10471         (sql-mode-menu): Update existing menu entries.
10472         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10473         (sql-mode-oracle-font-lock-keywords)
10474         (sql-mode-postgres-font-lock-keywords)
10475         (sql-mode-ms-font-lock-keywords)
10476         (sql-mode-sybase-font-lock-keywords)
10477         (sql-mode-informix-font-lock-keywords)
10478         (sql-mode-interbase-font-lock-keywords)
10479         (sql-mode-ingres-font-lock-keywords)
10480         (sql-mode-solid-font-lock-keywords)
10481         (sql-mode-mysql-font-lock-keywords)
10482         (sql-mode-sqlite-font-lock-keywords)
10483         (sql-mode-db2-font-lock-keywords)
10484         (sql-mode-linter-font-lock-keywords): Update initialization to
10485         reduce run-time complexity.
10486         (sql-add-product, sql-del-product): New functions.
10487         (sql-set-product-feature, sql-get-product-feature): New functions.
10488         (sql-product-font-lock): Update product API.
10489         (sql-add-product-keywords): New function.
10490         (sql-highlight-product): Update product API.
10491         (sql-help-list-products): New function.
10492         (sql-help): Dynamically lists free and non-free products.
10493         (sql-get-login): Correct bug in handling history and added
10494         prompt for port.
10495         (sql-copy-column): Copy without properties.
10496         (sqli-input-sender): Apply filters to SQLi input.
10497         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10498         Implement as a filter.
10499         (sql-escape-newlines-filter): Implement as a filter.
10500         (sql-remove-tabs-filter): New function.
10501         (sql-send-magic-terminator): New function.
10502         (sql-send-string): Implement magic terminator.
10503         (sql-send-region): Use `sql-send-string'.
10504         (sql-interactive-mode): Use product API.
10505         (sql-product-interactive): Use product API.
10506         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10507         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10508         (sql-db2, sql-linter): Use `sql-product-interactive'.
10509         (sql-connect): New function.
10510         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10511         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10512         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10513         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10514         Use `sql-connect'.
10516 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10518         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10519         New custom variable.
10520         (completion-pcm--string->pattern): Use it.
10521         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10522         Make it handle any symbol as `any'.
10523         (completion-pcm--merge-completions): Extract common suffix for the new
10524         `prefix' symbol as well.
10525         (completion-substring--all-completions): Use the new `prefix' symbol.
10527 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10529         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10530         not bound.
10531         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10532         (tramp-compat-funcall): New defmacro.
10533         (tramp-compat-line-beginning-position)
10534         (tramp-compat-line-end-position)
10535         (tramp-compat-temporary-file-directory)
10536         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10537         (tramp-compat-copy-file, tramp-compat-copy-directory)
10538         (tramp-compat-delete-file, tramp-compat-delete-directory)
10539         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10540         * net/tramp.el (top, with-progress-reporter)
10541         (tramp-rfn-eshadow-setup-minibuffer)
10542         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10543         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10544         (tramp-completion-mode-p, tramp-check-for-regexp)
10545         (tramp-open-connection-setup-interactive-shell)
10546         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10547         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10548         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10549         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10550         (tramp-reporter-dump-variable, tramp-load-report-modules)
10551         (tramp-append-tramp-buffers)
10552         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10554         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10556 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10558         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10559         buffer-modtime.  Adjust users.
10561 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10563         * international/mule.el (auto-coding-alist): Only purecopy
10564         car of each item, not the whole list (Bug#6083).
10566 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10568         * progmodes/js.el (js-mode): Make paragraph variables local before
10569         calling c-setup-paragraph-variables (Bug#6071).
10571 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10573         * composite.el (compose-region, reference-point-alist): Fix typos
10574         in the doc strings.
10576 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10578         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10579         gnuplot's "set" command.
10581 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10583         * abbrev.el (last-abbrev-text): Doc fix.
10584         (abbrev-prefix-mark): Don't escape parenthesis.
10586 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10588         * composite.el (find-composition): Doc fix.
10590 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10592         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10593         (sql-oracle-program, sql-sqlite-options)
10594         (sql-query-placeholders-and-send): Doc fixes.
10595         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10596         (sql-imenu-generic-expression, sql-buffer)
10597         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10598         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10599         (sql-mode-sybase-font-lock-keywords)
10600         (sql-mode-informix-font-lock-keywords)
10601         (sql-mode-interbase-font-lock-keywords)
10602         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10603         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10604         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10605         (sql-product-feature, sql-highlight-product)
10606         (comint-line-beginning-position, sql-rename-buffer)
10607         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10608         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10609         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10610         Fix typos in docstrings.
10612 2010-05-08  Juri Linkov  <juri@jurta.org>
10614         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10615         property instead of `invisible' and `after-string' (bug#5998).
10617 2010-05-08  Juri Linkov  <juri@jurta.org>
10619         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10621 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10623         * filecache.el (file-cache-add-directory-list)
10624         (file-cache-add-directory-recursively): Fix typos in docstrings.
10626 2010-05-08  Kenichi Handa  <handa@m17n.org>
10628         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10629         (gujarati-composable-pattern): Fix typo.
10631 2010-05-08  Kenichi Handa  <handa@m17n.org>
10633         * language/indian.el (oriya-composable-pattern)
10634         (tamil-composable-pattern, malayalam-composable-pattern):
10635         Add two-part vowels to "v" (vowel sign).
10637 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10639         * files.el (copy-directory): Handle symlinks (Bug#5982).
10641 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10643         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10644         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10645         (Bug#5846).
10647 2010-05-08  Glenn Morris  <rgm@gnu.org>
10649         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10651         * minibuffer.el (completion-at-point): Doc fix.
10653 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10655         * electric.el (Electric-command-loop): Minor tweak.
10657         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10658         better with dedicated windows.
10660 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10662         * Version 23.2 released.
10664 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
10665             Stefan Monnier  <monnier@iro.umontreal.ca>
10667         Highlight vendor specific properties.
10668         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10669         (css-proprietary-property): New face.
10670         (css-font-lock-keywords): Use them.
10672 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10674         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10676 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10678         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10679         * files.el (auto-mode-alist): Remove redundant entries.
10681         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10682         * simple.el (auto-save-mode): Move from files.el.
10683         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10685 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10687         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10689 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
10691         * mail/binhex.el (binhex-decode-region-internal)
10692         * mail/uudecode.el (uudecode-decode-region-internal)
10693         * net/dns.el (dns-read-string-name, dns-write, dns-read)
10694         (dns-read-type, dns-query)
10695         * pgg-parse.el (pgg-parse-armor)
10696         * pgg.el (pgg-verify-region)
10697         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10698         XEmacs.
10700         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10702 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
10704         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10706         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10707         * emulation/cua-base.el (cua-repeat-replace-region):
10708         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10709         (cua-cut-region-to-global-mark):
10710         Remove text properties with `set-text-properties'.
10712 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
10714         * net/tramp.el (top, with-progress-reporter):
10715         Use `symbol-function' inside `funcall'.
10717         * net/tramp-compat.el (tramp-compat-file-attributes)
10718         (tramp-compat-delete-file, tramp-compat-delete-directory):
10719         Handle only `wrong-number-of-arguments' error.
10721         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10722         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10723         inside `funcall'.
10725 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10727         * minibuffer.el (completion--sreverse, completion--common-suffix):
10728         New functions.
10729         (completion-pcm--merge-completions): Extract common suffix when safe.
10731         * emacs-lisp/easy-mmode.el (define-minor-mode):
10732         Make :variable more flexible.
10733         * files.el (auto-save-mode): Use it to define using define-minor-mode.
10735 2010-05-05  Juri Linkov  <juri@jurta.org>
10737         Add `slow' and `history' tags to the desktop data.
10739         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10740         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10741         (Info-finder-find-node): Require `finder.el' to be able
10742         to restore node from the desktop.
10743         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
10744         data `Info-history' and `slow' tag in the assoc list.
10745         (Info-restore-desktop-buffer): Don't restore nodes with the
10746         `slow' tag.  Restore `Info-history'.
10748 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
10750         Add FORCE argument to `delete-file'.
10752         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10753         forcing to delete the temporary file.
10754         (ange-ftp-delete-file): Add FORCE arg.
10755         (ange-ftp-rename-remote-to-remote)
10756         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10757         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10758         Force file deletion.
10760         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10762         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10763         (tramp-handle-make-symbolic-link, tramp-handle-load)
10764         (tramp-do-copy-or-rename-file-via-buffer)
10765         (tramp-do-copy-or-rename-file-directly)
10766         (tramp-do-copy-or-rename-file-out-of-band)
10767         (tramp-handle-process-file, tramp-handle-call-process-region)
10768         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10769         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10770         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10772         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10773         (tramp-fish-handle-make-symbolic-link)
10774         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10776         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10777         Use `tramp-compat-delete-file'.
10779         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10780         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10782         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10783         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10785         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10786         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10787         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10788         Use `tramp-compat-delete-file'.
10790 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10792         Minor cleanups.
10793         * subr.el (add-minor-mode): Use push.
10794         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10795         * emulation/edt.el (edt-select-mode): Simplify.
10797         Use define-minor-mode in more cases.
10798         * term/tvi970.el (tvi970-set-keypad-mode):
10799         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10800         (normal-erase-is-backspace-mode):
10801         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10802         (set-scroll-bar-mode-1): (Re)move to its sole caller.
10803         (get-scroll-bar-mode): New function.
10804         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10806         Use define-minor-mode for less obvious cases.
10807         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10808         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10809         * international/iso-ascii.el (iso-ascii-mode):
10810         * frame.el (auto-raise-mode, auto-lower-mode):
10811         * composite.el (global-auto-composition-mode): Use define-minor-mode.
10813 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
10815         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10816         in order to see error messages for failed logins.
10818 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
10820         * diff.el (diff-sentinel):
10822         * epg.el (epg--make-temp-file, epg-decrypt-string)
10823         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10825         * jka-compr.el (jka-compr-partial-uncompress)
10826         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10828         * server.el (server-sentinel): Use delete-file's new FORCE arg
10829         (Bug#6070).
10831 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10833         Use define-minor-mode where applicable.
10834         * view.el (view-mode):
10835         * type-break.el (type-break-query-mode)
10836         (type-break-mode-line-message-mode):
10837         * textmodes/reftex.el (reftex-mode):
10838         * term/vt100.el (vt100-wide-mode):
10839         * tar-mode.el (tar-subfile-mode):
10840         * savehist.el (savehist-mode):
10841         * ibuf-ext.el (ibuffer-auto-mode):
10842         * composite.el (auto-composition-mode):
10843         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10844         Use define-minor-mode.
10845         (vhdl-mode): Use static mode-line format.
10846         (vhdl-mode-line-update): Delete.
10847         (vhdl-create-mode-menu, vhdl-activate-customizations)
10848         (vhdl-hs-minor-mode): Don't bother calling it.
10850 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10852         * simple.el (with-wrapper-hook): Move.
10853         (buffer-substring-filters): Mark obsolete.
10854         (filter-buffer-substring-functions): New variable.
10855         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
10857 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
10858             Michael Albinus  <michael.albinus@gmx.de>
10860         Implement compression for inline methods.
10862         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10863         (tramp-copy-size-limit): Allow also nil.
10864         (tramp-inline-compress-commands): New defconst.
10865         (tramp-find-inline-compress, tramp-get-inline-compress)
10866         (tramp-get-inline-coding): New defuns.
10867         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10868         replaced by `tramp-get-inline-coding'.
10869         (tramp-handle-file-local-copy, tramp-handle-write-region)
10870         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10872 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10874         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10875         Remove unused functions.
10877         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10878         Set find-tag-default-function as a variable rather than a property.
10880         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10881         * progmodes/etags.el (tags-completion-at-point-function):
10882         Remove left over interactive spec.  Add autoloading stub.
10883         (complete-tag): Use tags-completion-at-point-function.
10885 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
10887         * minibuffer.el (tags-completion-at-point-function): Fix return value.
10889 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10891         * ido.el (ido-init-completion-maps): Remove C-v binding.
10892         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10894 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10896         * minibuffer.el (tags-completion-at-point-function): New function.
10897         (completion-at-point-functions): Use it.
10899         * progmodes/etags.el (complete-tag): Revert last change.
10901 2010-04-29  Alan Mackenzie  <acm@muc.de>
10903         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10904         off-by-one error (in end of macro position).
10906 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10908         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10909         firefox is absent.  Don't autoload.
10910         (browse-url-galeon-program): Don't autoload.
10912 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10914         * bindings.el (complete-symbol): Move into minibuffer.el.
10916         * minibuffer.el (complete-tag): Move from etags.el.  If tags
10917         completion cannot be performed, return nil instead of signalling
10918         an error.
10919         (completion-at-point): Make it an alias for complete-symbol.
10920         (complete-symbol): Move from bindings.el, and replace with the
10921         body of completion-at-point.
10923         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10925 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
10927         * net/tramp.el (tramp-remote-selinux-p): New defun.
10928         (tramp-handle-file-selinux-context)
10929         (tramp-handle-set-file-selinux-context): Use it.
10931 2010-04-28  Sam Steingold  <sds@gnu.org>
10933         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10934         `safe-local-variable' if the value is a string or a symbol with
10935         the property `bug-reference-url-format'.
10937 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10939         * progmodes/bug-reference.el (bug-reference-url-format):
10940         Revert 2010-04-27 change due to security risk.
10942 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10944         Make it possible to locally disable a globally enabled mode.
10945         * simple.el (fundamental-mode): Run fundamental-mode-hook.
10946         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10947         rather than kill-all-local-variables so it runs fundamental-mode-hook.
10948         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10949         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10950         that subsequent hooks get a chance to disable it.
10952 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10954         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10955         Avoid re-enabling a minor mode after the user turned the minor mode
10956         off if MODE-enable-in-buffers is run twice (typically once from
10957         fundamental-mode's after-change-major-mode-hook and a second time from
10958         run-mode-hook's own after-change-major-mode-hook).
10960         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10962 2010-04-27  Sam Steingold  <sds@gnu.org>
10964         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10965         `safe-local-variable' if the value is a string or a function, as
10966         documented and implemented on 2010-04-02.
10968 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
10970         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10971         when method is 'kill.
10973 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
10975         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10976         condition in default directory check.
10977         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10978         Kill ispell process when killing its associated buffer.
10980 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
10982         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10983         but we aren't using it.
10985 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
10987         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10988         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10990 2010-04-24  Glenn Morris  <rgm@gnu.org>
10992         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10993         Ignore VCS-ignore files, and deleted nextstep preferences files.
10994         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10995         (authors-ambiguous-files): New list.
10996         (authors-valid-file-names): Add some deleted files.
10997         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10998         (authors-disambiguate-file-name): New function.  (Bug#5501)
10999         (authors-canonical-file-name): Doc fix.
11000         Don't warn about obsolete files.
11001         (authors-canonical-file-name, authors-scan-el):
11002         Use authors-disambiguate-file-name.
11004         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11005         Add autoload cookies.
11006         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11007         (generated-autoload-file): Set file-local value to "htmlfontify.el".
11008         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11009         They have definitions / compiler macros in cl.el.
11010         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11011         Replace manual autoloads with generated ones.
11012         (htmlfontify-unload-rgb-file): Remove autoload.
11013         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11015 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11017         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11018         (byte-compile-setq-default): Optimize for the
11019         single-var case and don't call byte-compile-form in this case to avoid
11020         inf-loop with byte-compile-set-default.
11022         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11024 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11026         Implement SELINUX backends.
11028         * net/tramp.el (tramp-file-name-handler-alist):
11029         Add `file-selinux-context' and `set-file-selinux-context'.
11030         (tramp-handle-file-selinux-context)
11031         (tramp-handle-set-file-selinux-context): New defuns.
11032         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11033         Handle PRESERVE-SELINUX-CONTEXT.
11035         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11036         Add `file-selinux-context' and `set-file-selinux-context'.
11037         (tramp-gvfs-handle-file-selinux-context)
11038         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11039         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11041         * net/ange-ftp.el (ange-ftp-copy-file):
11042         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11043         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11044         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11045         Add PRESERVE-SELINUX-CONTEXT.
11047 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11049         Synchronize with Tramp repository.
11051         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11052         (tramp-action-process-alive, tramp-action-out-of-band)
11053         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11054         (tramp-exists-file-name-handler): Fix docstring.
11055         (with-progress-reporter): New defmacro.
11056         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11057         (tramp-maybe-open-connection): Use it.
11059 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11061         Detect ssh 'ControlMaster' argument automatically in some cases.
11063         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11064         (tramp-default-method): Use it.
11066 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11068         * net/tramp.el (tramp-handle-copy-file): Add new optional
11069         parameter `preserve-selinux-context'.
11070         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11072 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11074         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11075         Ensure, that non remote files are still checked.  Oops.
11077 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11079         Fix Bug#5840.
11081         * icomplete.el (icomplete-completions): Use `non-essential'.
11083         * net/tramp.el (tramp-connectable-p): New defun.
11084         (tramp-handle-expand-file-name)
11085         (tramp-completion-handle-file-name-all-completions)
11086         (tramp-completion-handle-file-name-completion): Use it.
11088 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11090         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11092 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11094         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11096         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11098         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11099         is present.
11101         * info.el (info-tool-bar-map): Add labels.
11103         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11105         * cus-edit.el (custom-commands): Add labels for tool bar.
11106         (custom-buffer-create-internal, Custom-mode): Adjust for
11107         labels in custom-commands.
11109         * dynamic-setting.el: Renamed from font-setting.el.
11111 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11113         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11114         toggles the use of virtual buffers.
11115         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11116         (ido-toggle-virtual-buffers): New function.
11118 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11120         Use `define-derived-mode'; fix window selection; doc fixes.
11121         * play/tetris.el (tetris, tetris-update-speed-function)
11122         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11123         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11124         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11125         (tetris-pause-game): Fix typos in docstrings.
11126         (tetris-mode-map, tetris-null-map):
11127         Move initialization into declaration.
11128         (tetris-mode): Define with `define-derived-mode';
11129         set show-trailing-whitespace to nil.
11130         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11132 2010-04-21  Karel Klíč  <kklic@redhat.com>
11134         * files.el (backup-buffer): Handle SELinux context, and return it
11135         if a backup was made by renaming.
11136         (backup-buffer-copy): Set SELinux context to the target file.
11137         (basic-save-buffer): Set SELinux context of the newly written file.
11138         (basic-save-buffer-1): Now it also returns any SELinux context.
11139         (basic-save-buffer-2): Set SELinux context of the newly created file,
11140         and return it.
11141         * net/tramp.el (tramp-file-name-for-operation):
11142         Add file-selinux-context.
11144 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11146         Make the log-edit comments use RFC822 format throughout.
11148         * vc.el (vc-checkin, vc-modify-change-comment):
11149         Adjust to new vc-start/finish-logentry.
11150         (vc-find-conflicted-file): New command.
11151         (vc-transfer-file): Adjust to new vc-checkin.
11152         (vc-next-action): Improve scoping.
11154         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11155         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11157         * vc-git.el (vc-git-log-edit-mode): Remove.
11158         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11159         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11161         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11162         (vc-start-logentry): Remove argument `extra'.
11163         (vc-finish-logentry): Remove extra args.
11165         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11166         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11167         (vc-bzr-conflicted-files): New function.
11169         * log-edit.el (log-edit-extra-flags)
11170         (log-edit-before-checkin-process): Remove.
11171         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11172         (log-edit-headers-alist): New var.
11173         (log-edit-header-contents-regexp): New const.
11174         (log-edit-match-to-eoh): New function.
11175         (log-edit-font-lock-keywords): Use them.
11176         (log-edit): Insert a "Summary:" header as default.
11177         (log-edit-mode): Mark font-lock rules as case-insensitive.
11178         (log-edit-done): Cleanup headers.
11179         (log-view-process-buffer): Remove.
11180         (log-edit-extract-headers): New function to replace it.
11182 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11184         * subr.el (default-direction-reversed): Remove obsolescence info.
11186 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11188         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11189         windows/frames.
11191         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11192         I.e. include text after point in the completion region.
11193         Also, return nil when we're not after/in a symbol.
11195         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11196         default enable-multibyte-characters.
11198 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11200         * international/mule.el: Help the user choose a valid coding-system.
11201         (read-buffer-file-coding-system): New function.
11202         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11203         coding-system cannot encode all the chars.
11205         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11206         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11207         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11208         Don't use *vc-bzr-shelve*.
11210 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11212         Fix the version number for added files.
11213         * vc-hg.el (vc-hg-working-revision): Check if the file is
11214         registered after hg parent fails (Bug#5961).
11216 2010-04-19  Glenn Morris  <rgm@gnu.org>
11218         * htmlfontify.el (htmlfontify-buffer)
11219         (htmlfontify-copy-and-link-dir): Autoload entry points.
11221 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11223         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11224         name relative to the project root (Bug#5960).
11226 2010-04-19  Glenn Morris  <rgm@gnu.org>
11228         * vc-git.el (vc-git-print-log): Doc fix.
11230 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11232         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11234 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11236         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11237         default settings (Bug#5928).
11239 2010-04-19  Glenn Morris  <rgm@gnu.org>
11241         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11242         New function.
11243         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11245 2010-04-19  Kenichi Handa  <handa@m17n.org>
11247         * language/indian.el (malayalam-composable-pattern): Fix previous
11248         change (add U+0D4D "SIGN VIRAMA").
11249         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11250         (tamil-composable-pattern): Fix typo in the regexp.
11251         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11252         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11253         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11255 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11257         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11258         paragraph-separate (Bug#5821).
11260 2010-04-19  Juri Linkov  <juri@jurta.org>
11262         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11264         * info.el (Info-find-node-2): Comment out code that skips
11265         breadcrumbs line.
11266         (Info-mouse-follow-link): New command.
11267         (Info-link-keymap): New keymap.
11268         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11269         Return a string with links instead of inserting breadcrumbs
11270         to the Info buffer.
11271         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11272         Instead of putting the `invisible' text property over the Info
11273         header, make an overlay over the Info header with the `invisible'
11274         property and `after-string' set to the string returned by
11275         `Info-breadcrumbs'.
11277 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11279         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11280         Reported by monkey@sandpframing.com.
11282 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11284         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11285         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11286         available in the "keyseq cache" any more.
11288         * custom.el (defcustom): Add edebug spec.
11290 2010-04-18  Juri Linkov  <juri@jurta.org>
11292         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11294         * view.el (view-file, view-buffer): Move test for special mode-class
11295         from view-file to view-buffer.
11297         * tar-mode.el (tar-extract): Turn if's into one cond
11298         like in arc-mode.el.
11300 2010-04-18  Juri Linkov  <juri@jurta.org>
11302         Add 7z archive format support (bug#5475).
11304         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11305         (archive-7z-extract): New defcustom.
11306         (archive-find-type): Add magic string for 7z.
11307         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11308         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11309         `buffer' arg of `call-process'.
11310         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11311         call the function `archive-7z-extract' with the variable
11312         `archive-7z-extract' let-bound to `archive-zip-extract'.
11313         (archive-7z-summarize, archive-7z-extract): New functions.
11315         * international/mule.el (auto-coding-alist):
11316         * files.el (auto-mode-alist): Add 7z file extension.
11318 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11320         * loadup.el: Setup hash-cons for pure data.
11322         Fix duplicate entries in cedet's loaddefs.el files.
11323         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11324         Should make most file-local generated-autoload-file unnecessary.
11325         (print-readably): Silence warnings.
11326         (autoload-find-destination): Take load-name as an arg to make sure
11327         it's the same as the one that will be in the file.
11328         (autoload-generate-file-autoloads): Adjust to above changes.
11329         Try to make the dataflow a bit simpler.
11331         * cvs-status.el (cvs-refontify): Remove unused.
11333 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11335         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11337         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11338         twos-complement mode.
11340 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11342         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11343         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11344         (calc-inverse): Add "Option" to message, as appropriate.
11345         (calc-hyperbolic): Add "Option" to message, as appropriate.
11346         (calc-option, calc-is-option): New functions.
11348         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11349         (calc-option-prefix-help): New function.
11351         * calc/calc-misc.el (calc-help): Add "Option" entry.
11353         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11354         (calc-option-flag): New variable.
11355         (calc-do): Set `calc-option-flag to nil.
11356         (calc-set-mode-line): Add "Opt " as appropriate.
11358 2010-04-16  Juri Linkov  <juri@jurta.org>
11360         Move scrolling commands from simple.el to window.el
11361         because their primitives are implemented in window.c.
11363         * simple.el (scroll-error-top-bottom)
11364         (scroll-up-command, scroll-down-command, scroll-up-line)
11365         (scroll-down-line, scroll-other-window-down)
11366         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11367         * window.el (scroll-error-top-bottom)
11368         (scroll-up-command, scroll-down-command, scroll-up-line)
11369         (scroll-down-line, scroll-other-window-down)
11370         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11371         Move from simple.el to window.el because their primitives are
11372         implemented in window.c.
11374 2010-04-16  Juri Linkov  <juri@jurta.org>
11376         * isearch.el (isearch-lookup-scroll-key): Check both
11377         `isearch-scroll' and `scroll-command' properties.
11378         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11380         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11382         * simple.el (scroll-up-command, scroll-down-command)
11383         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11385 2010-04-15  Juri Linkov  <juri@jurta.org>
11387         * simple.el (scroll-up-command, scroll-down-command)
11388         (scroll-up-line, scroll-down-line): Put `scroll-command'
11389         property on the these symbols.  Remove them from
11390         `scroll-preserve-screen-position-commands'.
11392         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11393         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11394         Remove it from `scroll-preserve-screen-position-commands'.
11396         * isearch.el (isearch-allow-scroll): Doc fix.
11398 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11400         * net/tramp.el (tramp-error-with-buffer): Don't show the
11401         connection buffer when we are in completion mode.
11402         (tramp-file-name-handler): Catch the error for some operations
11403         when we are in completion mode.  This gives the user the chance to
11404         correct the file name in the minibuffer.
11406 2010-04-15  Glenn Morris  <rgm@gnu.org>
11408         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11410 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11412         Simplify by using `define-derived-mode'.
11413         * info.el (Info-mode):
11414         * calendar/todo-mode.el (todo-mode):
11415         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11416         (gomoku-mode-map): Move initialization into declaration.
11418 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11420         Fix Bug#5840.
11421         * ido.el (ido-file-name-all-completions-1):
11422         * minibuffer.el (minibuffer-completion-help):
11423         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11425 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11427         * simple.el (non-essential): New var.
11429         Add a new field `location' to bookmarks for non-file bookmarks.
11430         * bookmark.el (bookmark-location): Use the new field, if present.
11431         (bookmark-insert-location): Undo last change, not needed any more.
11432         * man.el (Man-bookmark-make-record):
11433         * woman.el (woman-bookmark-make-record): Add `location' field.
11435 2010-04-14  Juri Linkov  <juri@jurta.org>
11437         * simple.el (scroll-error-top-bottom): New defcustom.
11438         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11440         * emulation/pc-select.el (pc-select-override-scroll-error):
11441         Obsolete in favor of `scroll-error-top-bottom'.
11443 2010-04-14  Juri Linkov  <juri@jurta.org>
11445         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11446         `scroll-up-command' and `M-v' to `scroll-down-command'.
11448         * emulation/cua-rect.el (cua--init-rectangles):
11449         * forms.el (forms--change-commands):
11450         * image-mode.el (image-mode-map):
11451         Remap scroll-down-command and scroll-up-command
11452         in addition to scroll-down and scroll-up.
11454 2010-04-14  Juri Linkov  <juri@jurta.org>
11456         * mwheel.el (scroll-preserve-screen-position-commands):
11457         Add mwheel-scroll to this list of commands.
11459         * simple.el (scroll-preserve-screen-position-commands):
11460         Add scroll-up-command, scroll-down-command, scroll-up-line,
11461         scroll-down-line to this list of commands.
11463 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11465         * obsolete/complete.el: Move from lisp/complete.el.
11467         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11469         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11470         to the minor mode function now turns the mode ON unconditionally.
11472 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11474         * vc-dir.el (vc-dir-kill-line): New command.
11475         (vc-dir-mode-map): Bind it to C-k.
11477         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11479         * woman.el: Add bookmark declarations to silence the compiler.
11480         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11481         step to compatibility between man and woman bookmarks.
11482         Adjust for Man-default-bookmark-title renaming.
11483         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11485         * man.el: Add bookmark declarations to silence the compiler.
11486         (Man-name-local-regexp): Make it match NAME as well.
11487         (Man-getpage-in-background): Return the buffer.
11488         (Man-notify-when-ready): Use `case'.
11489         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11490         Don't hardcode "NAME".  Simplify.
11491         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11492         Rename from Man-bookmark-make-record.
11493         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11494         we have the actual man-args.  Use Man-getpage-in-background rather
11495         than `man' since the arg is already processed.  Let bookmark.el do the
11496         window handling.  Only wait for the relevant process.
11497         Don't forget to autoload.
11499         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11501 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11503         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11504         New functions.
11505         (woman-mode): Setup bookmark support.
11507         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11508         (man-bookmark-jump): New functions.
11509         (Man-mode): Setup bookmark support.
11511 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11513         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11514         recognize ssh-keygen prompt (Bug#2817).
11516 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11518         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11520 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11522         Synchronize with Tramp repository.
11524         * net/tramp.el (tramp-completion-function-alist)
11525         (tramp-file-name-regexp, tramp-chunksize)
11526         (tramp-local-coding-commands, tramp-remote-coding-commands):
11527         Fix docstring.
11528         (tramp-remote-process-environment): Use `format' instead of `concat'.
11529         (tramp-handle-directory-files-and-attributes)
11530         (tramp-get-remote-path): Use `copy-tree'.
11531         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11532         compatibility: Use `completion-ignore-case' if
11533         `read-file-name-completion-ignore-case' does not exist.
11534         (tramp-do-copy-or-rename-file-directly): Do not use
11535         `tramp-handle-file-remote-p'.
11536         (tramp-do-copy-or-rename-file-out-of-band):
11537         Use `tramp-compat-delete-directory'.
11538         (tramp-do-copy-or-rename-file-out-of-band)
11539         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11540         Use `format-spec-make'.
11541         (tramp-find-foreign-file-name-handler)
11542         (tramp-advice-make-auto-save-file-name)
11543         (tramp-set-auto-save-file-modes): Remove superfluous check for
11544         `stringp'.  This is done inside `tramp-tramp-file-p'.
11545         (tramp-debug-outline-regexp): New defconst.
11546         (tramp-get-debug-buffer): Use it.
11547         (tramp-check-for-regexp): Use (forward-line 1).
11548         (tramp-set-auto-save-file-modes): Adapt version check.
11550         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11551         Wrap call of `featurep' for 2nd argument.
11552         (tramp-compat-make-temp-file): Simplify fallback implementation.
11553         (tramp-compat-copy-tree): Remove function.
11554         (tramp-compat-delete-directory): Provide implementation for older
11555         Emacsen.
11557         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11558         Do not use `tramp-fish-handle-file-attributes.
11560         * net/trampver.el: Update release number.
11562 2010-04-10  Glenn Morris  <rgm@gnu.org>
11564         * progmodes/compile.el (compilation-save-buffers-predicate):
11565         Add missing :version tag.
11567 2010-04-09  Sam Steingold  <sds@gnu.org>
11569         * progmodes/compile.el (compilation-save-buffers-predicate):
11570         Remove the "autoload" cookie.
11572         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11573         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11574         and `bug-reference-prog-mode' can be used in hooks directly.
11576 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11578         Add --author support to git commit.
11579         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11580         (vc-git-log-edit-mode): New minor mode.
11581         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11582         New declarations.
11584 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11586         * vc-hooks.el, vc-git.el: Improve documentation comments.
11588 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11590         Fix some of the problems in defsubst* (bug#5728).
11591         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11592         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11594 2010-04-07  Sam Steingold  <sds@gnu.org>
11596         * progmodes/compile.el (compilation-save-buffers-predicate):
11597         New custom variable.
11598         (compile, recompile): Pass it to `save-some-buffers'.
11600 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11602         * wid-edit.el (widget-choose): Move cursor to the second line of
11603         the buffer (Bug#5695).
11605 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11607         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11608         * vc.el (vc-print-log-setup-buttons): New function split out from
11609         vc-print-log-internal.
11610         (vc-log-internal-common): New function, a parametrized version of
11611         vc-print-log-internal.
11612         (vc-print-log-internal): Just call vc-log-internal-common with the
11613         right arguments.
11614         (vc-incoming-outgoing-internal):
11615         (vc-log-incoming, vc-log-outgoing): New functions.
11616         (vc-log-view-type): New permanent local variable.
11618         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11620         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11621         of the dynamic bound vc-short-log.
11622         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11624         * vc-git.el (vc-git-log-outgoing): New function.
11625         (vc-git-log-view-mode): Use vc-log-view-type instead
11626         of the dynamic bound vc-short-log.
11628         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11629         of the dynamic bound vc-short-log.  Highlight the tag.
11630         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11631         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11632         (vc-hg-incoming-mode): Remove.
11633         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11635 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11637         Fix default-directory for vc-root-diff.
11638         * vc.el (vc-root-diff): Bind default-directory to the root
11639         directory for the diff command.
11641 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11643         * progmodes/verilog-mode.el (verilog-forward-sexp):
11644         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11645         word keywords, suggested by Steve Pearlmutter.
11646         (verilog-pretty-declarations): Support lineup of declarations in
11647         port lists.
11648         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11649         fix bug for /* / comments.
11650         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11651         Speed up and simplfy as this is never called with a bound.
11652         (verilog-pretty-declarations): Enhance to line up declarations
11653         inside a parameter list, suggested by Alan Morgan.
11654         (verilog-pretty-expr): Tune assignment regular expression match
11655         string for corner cases; also use markers instead of character
11656         number as indent changes the later.
11658 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11660         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11661         as missing keyword.
11662         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11663         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11664         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11665         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11666         Tennant.
11667         (verilog-keywords):
11668         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11669         1800-2009 keywords, including "global.".
11671 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11673         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11674         appearing in buffer list (if a live buffer name matched a recentf
11675         file basename).  Should use uniquify to offer a real solution.
11677 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11679         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11680         comment to code, and add a :version tag.
11681         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11683 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11685         Enable recentf-mode if using virtual buffers.
11686         * ido.el (recentf-list): Declare for byte-compiler.
11687         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11688         (ido-make-buffer-list): Simplify.
11689         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
11691 2010-04-05  Juri Linkov  <juri@jurta.org>
11693         Scrolling commands which scroll a line instead of full screen.
11694         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11696         * simple.el (scroll-up-line, scroll-down-line): New commands.
11697         Put property isearch-scroll=t on them.
11699         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11700         Remove commands.
11702 2010-04-05  Juri Linkov  <juri@jurta.org>
11704         Scrolling commands which do not signal errors at top/bottom.
11705         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11707         * simple.el (scroll-up-command, scroll-down-command): New commands.
11708         Put property isearch-scroll=t on them.
11710         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11711         `scroll-down-command' and [next] from `scroll-up' to
11712         `scroll-up-command'.
11714         * emulation/cua-base.el: Put property CUA=move on
11715         `scroll-up-command' and `scroll-down-command'.
11716         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11717         and `scroll-down-command' to `cua-scroll-down'.
11719 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
11721         * help.el (describe-mode): Return nil.
11723 2010-04-04  John Wiegley  <jwiegley@gmail.com>
11725         * ido.el (ido-use-virtual-buffers): New variable to indicate
11726         whether "virtual buffer" support is enabled for IDO.
11727         (ido-virtual): Face used to indicate virtual buffers in the list.
11728         (ido-buffer-internal): If a buffer is chosen, and no such buffer
11729         exists, but a virtual buffer of that name does (which would be why
11730         it was in the list), recreate the buffer by reopening the file.
11731         (ido-make-buffer-list): If virtual buffers are being used, call
11732         `ido-add-virtual-buffers-to-list' before the make list hook.
11733         (ido-virtual-buffers): New variable which contains a copy of the
11734         current contents of the `recentf-list', albeit pared down for the
11735         sake of speed, and with proper faces applied.
11736         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11737         create a list of "virtual buffers" to present to the user in
11738         addition to the currently open set.  Note that this logic could
11739         get rather slow if that list is too large.  With the default
11740         `recentf-max-saved-items' of 200, there is little speed penalty.
11742 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11744         * font-lock.el: Require CL when compiling.
11745         (font-lock-turn-on-thing-lock): Use `case'.
11747 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
11749         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11750         Zaretskii.
11752 2010-04-02  Juri Linkov  <juri@jurta.org>
11754         * ehelp.el (electric-help-orig-major-mode):
11755         New buffer-local variable.
11756         (electric-help-mode): Set it to original major-mode.  Doc fix.
11757         (with-electric-help): Use `electric-help-orig-major-mode' instead
11758         of (default-value 'major-mode).  Doc fix.
11759         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11761 2010-04-02  Sam Steingold  <sds@gnu.org>
11763         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11764         `vc-hg-command' with a list of flags.
11766         * progmodes/bug-reference.el (bug-reference-bug-regexp):
11767         Also accept "patch" and "RFE".
11768         (bug-reference-fontify): `bug-reference-url-format' can also be a
11769         function to be able to handle the bug kind.
11770         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11772 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
11774         * tmm.el (tmm-get-keymap): Check with symbolp before passing
11775         value to fboundp, it may not be a symbol.
11777 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11779         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11781 2010-03-31  Juri Linkov  <juri@jurta.org>
11783         * simple.el (next-line, previous-line): Re-throw a signal
11784         with `signal' instead of using `ding'.
11785         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11787 2010-03-31  Juri Linkov  <juri@jurta.org>
11789         * simple.el (keyboard-escape-quit): Raise deselecting the active
11790         region higher than exiting the minibuffer.
11791         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11793 2010-03-31  Juri Linkov  <juri@jurta.org>
11795         * image.el (image-animated-p): Use `image-metadata' instead of
11796         `image-extension-data'.  Get GIF extenstion data from metadata
11797         property `extension-data'.
11799 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11801         * simple.el (append-to-buffer): Simplify.
11803 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
11805         * textmodes/artist.el (artist-mode): Fix typo in docstring.
11806         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
11808 2010-03-31  Kenichi Handa  <handa@m17n.org>
11810         * language/sinhala.el (composition-function-table): Fix regexp for
11811         the new Unicode specification.
11813         * language/indian.el (devanagari-composable-pattern)
11814         (tamil-composable-pattern, kannada-composable-pattern)
11815         (malayalam-composable-pattern): Adjust for the new Unicode
11816         specification.
11817         (bengali-composable-pattern, gurmukhi-composable-pattern)
11818         (gujarati-composable-pattern, oriya-composable-pattern)
11819         (telugu-composable-pattern): New variables to cope with the new
11820         Unicode specification.  Use them in composition-function-table.
11822 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11824         Make tmm-menubar work for the Buffers menu again (bug#5726).
11825         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11826         vectors rather than cons cells, as used in menu-bar-update-buffers.
11828 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11830         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11831         (js-insert-and-indent): Revert 2009-08-15 change, restoring
11832         electric punctuation for "{}();,:" (Bug#5586).
11834         * mail/sendmail.el (mail-default-directory): Doc fix.
11836 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11838         * mail/sendmail.el (mail-default-directory): Doc fix.
11840 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
11842         * subr.el (version-regexp-alist, version-to-list)
11843         (version-list-<, version-list-=, version-list-<=)
11844         (version-list-not-zero, version<, version<=, version=): Doc fix.
11845         (Bug#5744).
11847 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
11849         * vc.el (vc-root-diff): Doc fix.
11851 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11853         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11855         * simple.el (append-to-buffer): Fix last change.
11857 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11859         * simple.el (append-to-buffer): Ensure that point is preserved if
11860         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
11861         (Bug#5749)
11863 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11865         * files.el (auto-mode-case-fold): Change default to t.
11867 2010-03-30  Juri Linkov  <juri@jurta.org>
11869         * dired-x.el (dired-omit-mode): Doc fix.
11871 2010-03-30  Juri Linkov  <juri@jurta.org>
11873         * replace.el (occur-accumulate-lines): Move occur-engine related
11874         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11875         to be located after `occur-engine'.
11877 2010-03-30  Juri Linkov  <juri@jurta.org>
11879         Make occur handle multi-line matches cleanly with context.
11880         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11882         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11883         (occur-engine): Add local variables `ret', `prev-after-lines',
11884         `prev-lines'.  Use more arguments for `occur-context-lines'.
11885         Set first elem of its returned list to `data', and the second elem
11886         to `prev-after-lines'.  Don't print the separator line.
11887         In the end, print remaining context after-lines.
11888         (occur-context-lines): Add new arguments `begpt', `endpt',
11889         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
11890         after-lines of the previous match with before-lines of the
11891         current match and not overlap them.  Return a list with two
11892         values: the output line and the list of context after-lines.
11894 2010-03-30  Juri Linkov  <juri@jurta.org>
11896         * replace.el (occur-accumulate-lines): Fix a bug where the first
11897         context line at the beginning of the buffer was missing.
11899 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
11901         * files.el: Make bidi-display-reordering safe variable for boolean
11902         values.
11904 2010-03-29  Phil Hagelberg  <phil@evri.com>
11905             Chong Yidong  <cyd@stupidchicken.com>
11907         * subr.el: Extend progress reporters to perform "spinning".
11908         (progress-reporter-update, progress-reporter-do-update):
11909         Handle non-numeric value arguments.
11910         (progress-reporter--pulse-characters): New var.
11912 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
11914         * progmodes/compile.el (compilation-start): Fix regexp detection
11915         of initial cd command (Bug#5771).
11917 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
11919         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11921 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
11923         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11924         * progmodes/gdb-mi.el: Restore.
11925         * progmodes/gdb-ui.el: Remove.
11926         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11928 2010-03-25  Glenn Morris  <rgm@gnu.org>
11930         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11931         all dired buffers, even tramp ones.  (Bug#5755)
11933 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11935         Add "union tags" in mpc.el.
11936         * mpc.el: Remove backward compatibility code.
11937         (mpc-browser-tags): Change default.
11938         (mpc--find-memoize-union-tags): New var.
11939         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11940         (mpc-cmd-find): Handle the case where the playlist does not exist.
11941         Handle union-tags.
11942         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
11943         (mpc-cmd-add): Use mpc-cmd-flush.
11944         (mpc-tagbrowser-tag-name): New fun.
11945         (mpc-tagbrowser-buf): Use it.
11946         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
11948 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11950         Misc cleanup.
11951         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11952         Use replace-regexp-in-string.
11953         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11954         (makefile-imake-mode-syntax-table): Move init into defvar.
11955         (makefile-mode): Use define-derived-mode.
11957         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11958         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11959         not be present any more.
11961 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11963         * faces.el (set-face-attribute): Fix typo in docstring.
11964         (face-valid-attribute-values): Reflow docstring.
11966 2010-03-24  Glenn Morris  <rgm@gnu.org>
11968         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11970 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11972         * indent.el (indent-for-tab-command): Doc fix.
11974 2010-03-24  Alan Mackenzie  <acm@muc.de>
11976         * progmodes/cc-engine.el (c-remove-stale-state-cache):
11977         Fix off-by-one error.  Fixes bug #5747.
11979 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11981         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11982         (image-dired-read-comment): Doc fix.
11984         * json.el (json-object-type, json-array-type, json-key-type)
11985         (json-false, json-null, json-read-number):
11986         * minibuffer.el (completion-in-region-functions):
11987         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11988         (cal-tex-cursor-week):
11989         * emacs-lisp/trace.el (trace-function):
11990         * eshell/em-basic.el (eshell/printnl):
11991         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11992         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11993         * obsolete/levents.el (allocate-event, event-key, event-object)
11994         (event-point, event-process, event-timestamp, event-to-character)
11995         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11996         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11997         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11998         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11999         (reftex-highlight-selection): Fix typos in docstrings.
12001 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
12003         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12005 2010-03-24  Glenn Morris  <rgm@gnu.org>
12007         * mail/rmail.el (rmail-highlight-face): Restore option deleted
12008         2008-02-13 without comment; mark it obsolete.
12009         (rmail-highlight-headers): Use rmail-highlight-face once more.
12011 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
12013         * woman.el (woman2-process-escapes): Only consume the newline if
12014         the filler character is on a line by itself (Bug#5729).
12016 2010-03-24  Kenichi Handa  <handa@m17n.org>
12018         * language/indian.el (devanagari-composable-pattern): Add more
12019         consonants.
12021 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12023         * net/trampver.el: Update release number.
12025 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12027         * net/tramp.el (tramp-find-executable):
12028         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12029         output of "wc -l" more robust.
12030         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12031         (tramp-open-connection-setup-interactive-shell): Remove workaround
12032         for OpenSolaris bug, it is not needed anymore.
12034 2010-03-24  Glenn Morris  <rgm@gnu.org>
12036         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12038 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12040         * files.el (auto-mode-alist): Accept more verilog file patterns.
12042 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12044         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12046 2010-03-24  Glenn Morris  <rgm@gnu.org>
12048         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12049         log-edit-before-checkin-process.
12051         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12053         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12055         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12056         (log-view-process-buffer, log-edit-extra-flags): Declare.
12058         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12060 2010-03-23  Sam Steingold  <sds@gnu.org>
12062         Fix bug#5620: recalculate all markers on compilation buffer
12063         modifications, not on file modifications.
12064         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12065         variable: the buffer modification time, for buffers not associated with
12066         files.
12067         (compilation-mode): Create it.
12068         (compilation-filter): Update it.
12069         (compilation-next-error-function): Use it instead of
12070         `visited-file-modtime' for timestamp.
12072 2010-03-23  Juri Linkov  <juri@jurta.org>
12074         Implement Occur multi-line matches.
12075         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12077         * replace.el (occur): Doc fix.
12078         (occur-engine): Set `begpt' to the beginning of the first line.
12079         Set `endpt' to the end of the last match line.  At first, count
12080         line numbers between `origpt' and `begpt'.  Split out code from
12081         `out-line' variable to new let-bindings `match-prefix' and
12082         `match-str'.  In `out-line' add non-numeric prefix to all
12083         non-first lines of multi-line matches.  Finally, count lines
12084         between `begpt' and `endpt' and add to `lines'.
12086 2010-03-23  Juri Linkov  <juri@jurta.org>
12088         * replace.el (occur-accumulate-lines, occur-engine):
12089         Use `occur-engine-line' instead of duplicate code.
12090         (occur-engine-line): New function created from duplicate code
12091         in `occur-accumulate-lines' and `occur-engine'.
12093         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12094         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12096 2010-03-23  Juri Linkov  <juri@jurta.org>
12098         * finder.el: Remove TODO tasks.
12100         * info.el (Info-finder-find-node): Add node "all"
12101         with all package info.  Handle a list of multiple keywords
12102         separated by comma.
12103         (info-finder): In interactive use with a prefix argument,
12104         use `completing-read-multiple' to read a list of keywords
12105         separated by comma.
12107 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12109         Add a new completion style `substring'.
12110         * minibuffer.el (completion-basic--pattern): New function.
12111         (completion-basic-try-completion, completion-basic-all-completions):
12112         Use it.
12113         (completion-substring--all-completions)
12114         (completion-substring-try-completion)
12115         (completion-substring-all-completions): New functions.
12116         (completion-styles-alist): New style `substring'.
12118 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12120         Get rid of .elc files after removal of the corresponding .el.
12121         * Makefile.in (compile-clean): New target.
12122         (compile-main): Use it.
12124 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12126         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12127         don't do make there.  When compiling with separate object dir, there
12128         is no Makefile there.
12130 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12132         Get rid of the ELCFILES abomination, again.
12133         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12134         (all, compile): Don't call compile-last.
12135         (compile-main): Build the "elcfiles" list dynamically.
12136         (compile-targets): New (internal) target.
12138 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12140         * Makefile.in (top_srcdir): Define.
12141         (abs_top_builddir): Define.
12142         (srcdir): Don't append `/..'.
12143         (EMACS): Use ${abs_top_builddir}.
12144         (all, compile, compile-always, compile-last): Don't set emacswd.
12145         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12146         $(srcdir).
12147         (lisp): Use $(srcdir) instead of @srcdir@.
12149 2010-03-21  Juri Linkov  <juri@jurta.org>
12151         Fix message of multi-line occur regexps and multi-buffer header lines.
12152         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12154         * replace.el (occur-1): Don't display regexp if it is longer
12155         than window-width.  Use `query-replace-descr' to display regexp.
12156         (occur-engine): Don't display regexp in the buffer header for
12157         multi-buffer occur.  Display a separate header line with total
12158         match count and regexp for multi-buffer occur.
12159         Use `query-replace-descr' to display regexp.
12161 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12163         * net/secrets.el: Fix parenthesis.
12164         (secrets-enabled): Fix parenthesis.
12166 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12168         Use more relative file and directory names.
12169         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12170         (setwins, setwins_almost, setwins_for_subdirs):
12171         Don't `cd'; output relative names.
12172         (all, compile, compile-always, compile-last): Set emacswd.
12173         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12174         Just cd to the lisp source dir so we can use relative file names.
12176         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12178 2010-03-20  Glenn Morris  <rgm@gnu.org>
12180         * textmodes/rst.el: Use faces for font-lock customization, and make the
12181         old -face variables obsolete.
12182         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12183         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12184         (rst-block-face, rst-external-face, rst-definition-face)
12185         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12186         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12187         Make obsolete.
12188         (rst-font-lock-keywords-function): Update for above changes.
12190 2010-03-20  Juri Linkov  <juri@jurta.org>
12192         * s-region.el:
12193         * obsolete/s-region.el: Move to obsolete.
12195 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12197         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12199 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12201         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12203 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12205         Add special markup processing for commit logs.
12206         * log-edit.el (log-edit-extra-flags): New variable.
12207         (log-edit): Add new argument MODE.  Use that mode when non-nil
12208         instead of the log-view-mode.
12209         (log-view-process-buffer): New function.
12211         * vc.el: Document that the checkin method takes optional
12212         arguments.  Document new backend specific method: log-view-mode.
12213         (vc-default-log-edit-mode): New function.
12214         (vc-checkin): Use a backend specific log-view-mode.
12215         Pass extra arguments to the checkin method.
12216         (vc-modify-change-comment): Pass a dummy extra argument.
12218         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12219         log-edit.
12220         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12221         (vc-finish-logentry): Process the log buffer before passing it
12222         down.  Pass log-edit-extra-flags.
12224         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12225         command.
12226         (log-edit-extra-flags, log-edit-before-checkin-process):
12227         New declarations.
12229         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12230         command.
12231         (log-edit-extra-flags, log-edit-before-checkin-process):
12232         New declarations.
12233         (vc-hg-log-edit-mode): New derived mode.
12235         * vc-arch.el (vc-arch-checkin):
12236         * vc-cvs.el (vc-cvs-checkin):
12237         * vc-git.el (vc-git-checkin):
12238         * vc-mtn.el (vc-mtn-checkin):
12239         * vc-rcs.el (vc-rcs-checkin):
12240         * vc-sccs.el (vc-sccs-checkin):
12241         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12243 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12245         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12246         parent typo).
12248 2010-03-19  Glenn Morris  <rgm@gnu.org>
12250         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12252 2010-03-18  Glenn Morris  <rgm@gnu.org>
12254         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12256         * replace.el (query-replace-history): Give it a doc string.
12257         (map-query-replace-regexp): Use query-replace-from-history-variable
12258         and query-replace-to-history-variable.
12260         * mail/hashcash.el (declare-function): Remove duplicate definition.
12262         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12263         Make it an obsolete alias for report-emacs-bug-address.
12264         (message-strip-special-text-properties): Declare.
12265         (report-emacs-bug): Remove test for a pretest bug address.
12266         Combine message-mode-specific code.
12268         * mail/supercite.el: Don't require sendmail.
12269         (mh-in-header-p): Declare rather than using with-no-warnings.
12270         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12271         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12273         * calendar/cal-french.el: Convert to utf-8.
12275         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12276         Emacs scripts.
12278 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12280         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12281         of a subfeature.
12283 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12285         * net/secrets.el (top): Register the D-Bus signals only when the
12286         service "org.freedesktop.secrets" can be pinged.
12287         Provide subfeature `enabled'.
12289 2010-03-14  Juri Linkov  <juri@jurta.org>
12291         Add finder unknown keywords.
12293         * finder.el (finder-unknown-keywords): New function.
12295         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12296         to create a Finder node with unknown keywords.
12298 2010-03-14  Juri Linkov  <juri@jurta.org>
12300         * finder.el (finder-compile-keywords): Replace `princ' with
12301         `prin1' on a list of symbols interned from keyword strings.
12303         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12304         a comma, then split keywords using a comma and optional whitespace.
12305         Otherwise, split by whitespace.
12307         * complete.el:
12308         * face-remap.el:
12309         * log-view.el:
12310         * net/hmac-def.el:
12311         * net/hmac-md5.el:
12312         * net/netrc.el:
12313         * progmodes/mixal-mode.el: Fix keywords.
12315 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12317         * Makefile.in (ELCFILES): Add net/secrets.elc.
12319         * net/secrets.el: New file.
12321 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12323         * facemenu.el (list-colors-display, list-colors-print): New arg
12324         callback.  Use it to allow selecting colors.
12326         * wid-edit.el (widget-image-insert): Insert image prop even if the
12327         current display is non-graphic.
12328         (widget-field-value-set): New fun.
12329         (editable-field): Use it.
12330         (widget-field-value-get): Clean up unused var.
12331         (widget-color-value-create, widget-color--choose-action):
12332         New funs.  Allow using list-colors-display to choose color.
12334 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12336         * cus-edit.el: Resort topmost custom groups.
12337         (custom-buffer-sort-alphabetically): Default to t.
12338         (customize-apropos): Use apropos-parse-pattern.
12339         (custom-search-field): New var.
12340         (custom-buffer-create-internal): Add custom-apropos search field.
12341         (custom-add-parent-links): Don't display parent doc.
12342         (custom-group-value-create): Don't sort top-level custom group.
12343         (custom-magic-value-create): Show visibility button before option name.
12345         (custom-variable-state): New fun, from custom-variable-state-set.
12346         (custom-variable-state-set): Use it.
12347         (custom-group-value-create): Hide options with standard values
12348         using the :hidden-states property.  Use progress reporter.
12350         (custom-show): Simplify.
12351         (custom-visibility): Disable images by default.
12352         (custom-variable): New property :hidden-states.
12353         (custom-variable-value-create): Enable images for
12354         custom-visibility widgets.  Use :hidden-states property to
12355         determine initial visibility.
12357         * wid-edit.el (widget-image-find): Give images center ascent.
12358         (visibility): Add :on-image and :off-image properties.
12359         (widget-visibility-value-create): Use them.
12361 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12363         * cus-edit.el (processes): Remove from development group.
12364         (oop, hypermedia): Delete group.
12365         (comm): Promote to top-level group.
12367         * net/browse-url.el (browse-url):
12368         * net/xesam.el (xesam):
12369         * net/tramp.el (tramp):
12370         * net/goto-addr.el (goto-address):
12371         * net/ange-ftp.el (ange-ftp): Put in comm group.
12373         * view.el (view): Remove from editing group.
12375         * uniquify.el (uniquify): Put in files group.
12377         * net/browse-url.el (browse-url):
12378         * ps-print.el (postscript): Put in external group.
12380         * cus-edit.el (outlines):
12381         * textmodes/text-mode.el (text-mode-hook):
12382         * textmodes/table.el (table):
12383         * textmodes/picture.el (picture):
12384         * outline.el (outlines): Put in wp group.
12386         * nxml/nxml-mode.el (nxml): Remove from wp group.
12388         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12390         * mail/metamail.el (metamail): Remove from hypermedia group.
12392         * cus-edit.el (abbrev):
12393         * whitespace.el (whitespace):
12394         * vcursor.el (vcursor):
12395         * reveal.el (reveal):
12396         * hl-line.el (hl-line): Put in convenience group.
12398         * epg-config.el (epg): Put in data group.
12400         * emulation/pc-select.el (pc-select): Put in emulations group.
12402         * calculator.el (calculator): Put in applications group.
12404 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12406         Add .dir-locals.el support for file-less buffers.
12407         * files.el (hack-local-variables): Split out code to apply local
12408         variable settings ...
12409         (hack-local-variables-apply): ... here.  New function.
12410         (hack-dir-local-variables): Use the default directory for when the
12411         buffer does not have an associated file.
12412         (hack-dir-local-variables-non-file-buffer): New function.
12413         * diff-mode.el (diff-mode):
12414         * vc-annotate.el (vc-annotate-mode):
12415         * vc-dir.el (vc-dir-mode):
12416         * log-edit.el (log-edit-mode):
12417         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12419 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12421         Add support for shelving snapshots and for showing shelves.
12422         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12423         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12424         New functions.
12425         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12426         (vc-bzr-extra-menu-map): Map them.
12428 2010-03-11  Glenn Morris  <rgm@gnu.org>
12430         * cus-edit.el (customize-changed-options-previous-release):
12431         Bump to 23.1.
12433         * image.el (image-animate-max-time): Fix :version tag.
12435 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12437         * Branch for 23.2.
12439 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12441         * vc-git.el (vc-git-revision-table): Include remote branches.
12443 2010-03-10  Kim F. Storm  <storm@cua.dk>
12445         Animated image API.
12446         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12448         * image.el (image-animate-max-time): New defcustom.
12449         (image-animated-types): New defconst.
12450         (create-animated-image, image-animate-timer)
12451         (image-animate-start, image-animate-stop, image-animate-timeout)
12452         (image-animated-p): New functions.
12454         * image-mode.el (image-toggle-display-image):
12455         Replace `create-image' with `create-animated-image'.
12457 2010-03-09  Miles Bader  <miles@gnu.org>
12459         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12460         instead of "format:"; this ensures that the output is
12461         newline-terminated.
12463 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12465         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12466         that all errors are caught, and that the return value is always a
12467         list (Bug#5692).
12469 2010-03-08  Kenichi Handa  <handa@m17n.org>
12471         * language/misc-lang.el (windows-1256): New coding system.
12472         (cp1256): New alias of windows-1256 (bug#5690).
12474 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12476         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12477         call to rfc822-bad-address.  (Bug#5692)
12479 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12481         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12482         Use vc-git-root as default directory for revision path (Bug#5657).
12484 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12486         * calculator.el (calculator): Don't bind split-window-keep-point
12487         (Bug#5674).
12489 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12491         * vc-git.el: Re-flow to fit into 80 columns.
12492         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12493         Remove spurious `quote' element in each case alternative.
12494         (vc-git-show-log-entry): Use prog1.
12495         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12497 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12499         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12501 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12503         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12504         definition, not the name (Bug#5481).
12506 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12508         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12509         argument with a local variable.  (Bug#5670)
12511 2010-03-02  Juri Linkov  <juri@jurta.org>
12513         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12515 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12517         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12518         error when FILENAME and NEWNAME are existing remote directories.
12520         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12521         parameter DIR-FLAG.
12523 2010-03-02  Glenn Morris  <rgm@gnu.org>
12525         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12526         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12528 2010-03-01  Kenichi Handa  <handa@m17n.org>
12530         * language/burmese.el (burmese-composable-pattern): Rename from
12531         myanmar-composable-pattern.
12533         * international/characters.el (script-list):
12534         * international/fontset.el (script-representative-chars):
12535         Change myanmar to burmese.
12536         (otf-script-alist): Likewise.
12537         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12539 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12541         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12543 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12545         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12547 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12549         * net/tramp.el (tramp-handle-write-region): START can be a string.
12550         Take care in the checks.  Reported by Dan Davison
12551         <davison@stats.ox.ac.uk>.
12553 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12555         * net/dbus.el (dbus-introspect, dbus-get-property)
12556         (dbus-set-property, dbus-get-all-properties):
12557         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12559 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12561         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12562         * emacs-lisp/elint.el (elint-add-required-env):
12563         * calendar/icalendar.el (icalendar--add-diary-entry):
12564         * calc/calcalg2.el (math-tracing-integral):
12565         * files.el (recover-session-finish): Use with-current-buffer
12566         instead of save-excursion.
12568 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12570         Fix in-buffer completion when after-change-functions modify the buffer.
12571         * minibuffer.el (completion--replace): New function.
12572         (completion--do-completion): Use it and use relative movement.
12574 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12576         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12578 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12580         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12581         Allow the characters _<> in the stack entry (Bug#5653).
12583 2010-02-26  Kenichi Handa  <handa@m17n.org>
12585         * language/burmese.el: Fix entries in composition-function-table.
12586         (myanmar-composable-pattern): New variable.
12588         * international/fontset.el (setup-default-fontset): Add an entry
12589         for myanmar.
12591         * international/characters.el (script-list): Add Myanmar
12592         Extended-A.
12594 2010-02-26  Glenn Morris  <rgm@gnu.org>
12596         * custom.el (custom-initialize-delay): Doc fix.
12598         * mail/sendmail.el (send-mail-function): Autoload the call
12599         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12601 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12603         * files.el (hack-local-variables-filter): For eval forms, also
12604         check safe-local-variable-p (Bug#5636).
12606 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12608         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12609         setting the modes by `ignore-errors'.  It might fail, for example
12610         if the file is not owned by the user but the group.
12611         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12613 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12615         * files.el (directory-listing-before-filename-regexp):
12616         Use stricter matching for iso-style dates, to avoid false matches with
12617         date-like filenames (Bug#5597).
12619         * htmlfontify.el (htmlfontify): Doc fix.
12621         * eshell/eshell.el (eshell): Doc fix.
12623         * startup.el (fancy-about-screen): In mode-line, apply
12624         mode-line-buffer-id face only to the buffer name (Bug#5613).
12626 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12628         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12629         In `watcom' anchor regexp to start of line, to avoid slowness
12630         (Bug#5599).
12632 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12634         * subr.el (remove-yank-excluded-properties): Explain in a comment
12635         why `category' property is removed.
12637 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12639         * isearch.el (isearch-update-post-hook, isearch-update):
12640         Revert 2010-02-17 change.
12642 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12644         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12645         (icalendar--convert-weekly-to-ical)
12646         (icalendar--convert-yearly-to-ical)
12647         (icalendar--convert-block-to-ical)
12648         (icalendar--convert-cyclic-to-ical)
12649         (icalendar--convert-anniversary-to-ical): Take care of time
12650         specifications where hour has 1-digit only (Bug#5549).
12652 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12654         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12655         of disassemble output in GDB 7.1.
12657 2010-02-19  Glenn Morris  <rgm@gnu.org>
12659         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12660         property.  (Bug#5593)
12662 2010-02-18  Sam Steingold  <sds@gnu.org>
12664         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12666 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12668         Use abbreviated file names in bookmarks (bug#5591).
12669         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12670         calls to expand-file-name.
12671         (bookmark-relocate): Use abbreviated file names in bookmarks.
12672         (bookmark-load): Use abbreviated file names in messages.
12674 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12676         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12677         expand "." and "..".  Reported by Thierry Volpiatto
12678         <thierry.volpiatto@gmail.com>.
12680 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12682         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12683         permissions of the temporary file to "0600".  In case the remote
12684         file has no read permissions for the owner, there might be
12685         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12687 22010-02-18  Glenn Morris  <rgm@gnu.org>
12689         * emacs-lisp/authors.el (authors-renamed-files-alist):
12690         Add entries for INSTALL.CVS.
12692 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
12694         * vc-bzr.el: Fix typo in Known Bugs section.
12696         * isearch.el (isearch-update-post-hook): New hook.
12697         (isearch-update): Use the new hook.
12699 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
12701         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12702         Fix errors in copying directories.
12703         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12704         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12705         (tramp-handle-delete-file)
12706         (tramp-handle-dired-recursive-delete-directory)
12707         (tramp-handle-write-region): Flush also the cache for the upper
12708         directory.
12710 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
12712         * simple.el (save-interprogram-paste-before-kill): Doc fix.
12714         * cus-edit.el (hardware): Doc fix.
12716         * man.el (man): Add to external custom group.
12718         * delim-col.el (columns): Move to wp custom group.
12720         * doc-view.el (doc-view): Add to data custom group.
12722         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12724         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12725         by ispell-parse-output (Bug#5575).
12727 2010-02-16  Kenichi Handa  <handa@m17n.org>
12729         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12730         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12731         (skkdic-convert): Use `euc-japan' coding system for writing.
12733 2010-02-16  Glenn Morris  <rgm@gnu.org>
12735         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12736         tex-main-file before using it.  (Bug#5562)
12738 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12740         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12741         warnings, since it is annoying for the user to see them each time he
12742         runs the code.
12744 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
12746         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12747         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12748         instead of PROC for caching "first-password-request".  Otherwise,
12749         new processes would not profit from passwords already entered.
12751         * net/tramp-cache.el (tramp-dump-connection-properties):
12752         Don't save "first-password-request" property.
12754 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
12756         * outline.el (outline-head-from-level):
12757         * simple.el (with-wrapper-hook):
12758         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12759         (elint-defun, elint-buffer-env, elint-top-form-logged)
12760         (elint-unbound-variable):
12761         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12762         Fix typos in docstrings.
12764 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
12766         * files.el (insert-directory): When WILDCARD-REGEXP and
12767         FULL-DIRECTORY-P are nil, insert the file entry instead of the
12768         whole directory.  (Bug#5551)
12770         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
12771         dired's alignment sanity.  (Bug#5516)
12773 2010-02-14  Juri Linkov  <juri@jurta.org>
12775         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12776         Remove remaining ^H with their preceding chars.  (Bug#5566)
12778 2010-02-13  Glenn Morris  <rgm@gnu.org>
12780         * simple.el (transpose-subr): Give it a doc-string.
12782         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12783         Doc fixes.
12785 2010-02-12  Juri Linkov  <juri@jurta.org>
12787         * arc-mode.el (archive-unique-fname): Make directories for nested
12788         archives.  (Bug#5540)
12790 2010-02-12  Juri Linkov  <juri@jurta.org>
12792         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
12794 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12796         * subr.el (copy-overlay): Handle deleted overlays.
12798         * man.el (Man-completion-table): Don't signal an error if we can't run
12799         manual-program (bug#4056).
12801 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
12803         * textmodes/artist.el (artist-mt): Fix typos in docstring.
12805 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12807         * info.el (Info-bookmark-jump): Simplify.
12809         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12810         (bookmark-default-handler): Accept new bookmark field `buffer'.
12812 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
12814         * iswitchb.el (iswitchb-completions): Revert last change.
12816 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
12818         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12819         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12820         This prevents file names like "~/" being listed literally.
12822 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
12824         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12825         Remove dead code.  (Bug#5546)
12827 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
12829         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12830         correctly (Bug#5548).
12832 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
12834         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12835         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12837 2010-02-08  Kenichi Handa  <handa@m17n.org>
12839         * international/mule-util.el (with-coding-priority): Add autoload
12840         cookie for putting `lisp-indent-function'.
12842 2010-02-07  Glenn Morris  <rgm@gnu.org>
12844         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12845         Move F2003 named interfaces from keywords-2 to keywords-1, and
12846         use function-name-face rather than constant-face.
12847         Simplify "abstract interface" regexp.
12849 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
12851         * eshell/esh-util.el (eshell-file-attributes): New optional arg
12852         ID-FORMAT.  Pass it to `file-attributes'.
12854         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12856 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
12858         * faces.el (set-face-attribute): Allow calling
12859         internal-set-lisp-face-attribute with 'unspecified family and
12860         foundry argument (Bug#5536).
12862 2010-02-07  Glenn Morris  <rgm@gnu.org>
12864         * progmodes/f90.el (f90-font-lock-keywords-2)
12865         (f90-looking-at-type-like, f90-looking-at-program-block-end):
12866         Handle F2003 named interfaces.
12868 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
12870         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12871         beg and end before calling c-get-state-before-change-functions.
12873 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
12875         * vc-bzr.el (vc-bzr-dir-extra-headers):
12876         Disable the pending merges header.
12878 2010-02-05  Juri Linkov  <juri@jurta.org>
12880         * doc-view.el (doc-view-mode):
12881         * image-mode.el (image-mode): Put property mode-class=special.
12882         (Bug#4896)
12884 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
12886         * vc-svn.el (vc-svn-revision-table): New function.
12888 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
12890         * net/ange-ftp.el (ange-ftp-insert-directory):
12891         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12892         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12893         Handle also directories.  (Bug#5478)
12895 2010-02-05  Glenn Morris  <rgm@gnu.org>
12897         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12899 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
12901         * startup.el (command-line-1): Convert options beginning with a
12902         single dash as well (Bug#5519).
12904 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12906         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12907         * minibuffer.el (completion-initials-expand): Only check the presence
12908         of delims *within* the boundaries, since otherwise the / delim is
12909         always found for files.
12911         Fix up various corner case problems.
12912         * doc-view.el (doc-view-last-page-number): New function.
12913         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12914         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12915         (doc-view-kill-proc): Avoid inf-loop in freak cases.
12916         (doc-view-reconvert-doc): Use the new recursive delete-directory.
12917         (doc-view-convert-current-doc): Don't create the resolution.el file
12918         here any more.
12919         (doc-view-pdf/ps->png): Do it here instead.
12920         (doc-view-already-converted-p): Check that resolution.el is present.
12921         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12922         windows that are not yet showing images.
12924 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
12926         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12927         `dired-uncache' for every elemnt which is an absolute file name.
12929         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12930         directory, handle its directory component.
12931         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12932         function is called permanently and creates noise, otherwise.
12934         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12935         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12936         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
12938 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
12940         * macros.el (apply-macro-to-region-lines):
12941         Minor simplification.  (Bug#5485)
12943 2010-02-04  Glenn Morris  <rgm@gnu.org>
12945         * mail/rmail.el (rmail-show-message-1): Handle malformed
12946         quoted-printable text.  (Bug#5441)
12948         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12950         * simple.el (visual-line-mode): Capitalize lighter.
12952 2010-02-03  John Wiegley  <jwiegley@gmail.com>
12954         * iswitchb.el (iswitchb-completions): Add bookmark files to the
12955         list of files considered for "virtual buffer" completions.
12957 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
12959         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12960         also in case of (and (not full) (not wildcard)).  This is needed
12961         when dired is called with a list of files, which are not in
12962         `default-directory'.  (Bug#5478)
12964 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12966         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12968 2010-02-02  Juri Linkov  <juri@jurta.org>
12970         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12971         from unidiff to allow function-line after @@.
12973 2010-02-02  Juri Linkov  <juri@jurta.org>
12975         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12976         '(RCS SCCS) with inverted condition.
12978 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
12980         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12981         messages.
12983 2010-02-01  Juri Linkov  <juri@jurta.org>
12985         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12986         compare with "pkunzip" and "pkzip" instead of only "pkzip".
12987         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12988         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
12990 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12992         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12993         (doc-view-revert-buffer): New command.
12994         (doc-view-mode-map): Use it.
12996 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
12998         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12999         pending merge is detected.
13001 2010-01-31  Juri Linkov  <juri@jurta.org>
13003         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13004         beginning of interactive spec like all other grep commands do.
13005         Put "all" in front of "gz".  (Bug#5260)
13007 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
13009         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13011 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
13013         * dirtrack.el (dirtrack): Warn instead of signalling error if the
13014         regexp is incorrect (Bug#5476).
13016 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
13018         * net/tramp.el (tramp-handle-insert-directory): Handle also
13019         symlinks, when FILENAME is not in `default-directory'.
13021 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13023         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13024         FILE is not in `default-directory'.  (Bug#5478)
13026         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13027         of SWITCHES.  Handle the case, FILENAME is not in
13028         `default-directory'.  (Bug#5478)
13029         (tramp-register-file-name-handlers): Add safe-magic property.
13031 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13033         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13034         unzip (Bug#5475).
13036 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13038         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13039         (flymake-master-make-header-init): Add other C++ filename masks.
13040         (flymake-find-possible-master-files)
13041         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13043 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13045         Fix some busybox annoyances.
13047         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13048         not responding." string.
13049         (tramp-open-connection-setup-interactive-shell): Dump stty
13050         settings.  Enable "neveropen" arg for all `tramp-send-command'
13051         calls.  Handle "=" in variable values properly.
13052         (tramp-find-inline-encoding): Raise an error, when no encoding is
13053         found.
13054         (tramp-wait-for-output): Check, whether PROC buffer is available.
13055         Remove spurious " ^H" sequences, sent by busybox.
13056         (tramp-get-ls-command): Suppress coloring, if possible.
13058 2010-01-28  Glenn Morris  <rgm@gnu.org>
13060         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13062         * log-edit.el (log-edit-strip-single-file-name): Add missing
13063         :safe, :group, and :version tags.
13065 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13067         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13068         buffers.  (Bug#5477)
13070 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13072         * files.el (delete-directory): Handle moving to trash without
13073         first doing recursion (Bug#5436).
13075 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13077         * vc-hooks.el (vc-path): Mark as obsolete.
13079 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13081         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13082         names too.
13084         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13085         for the short log.
13086         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13088 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13090         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13092         * vc-bzr.el (vc-bzr-revision-table): New function.
13094 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13096         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13097         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13099 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13101         Remove support for adding --signoff on commit.
13102         Future support will use an incompatible generic mechanism.
13103         * vc-git.el (vc-git-add-signoff): Remove variable.
13104         (vc-git-toggle-signoff): Remove function.
13105         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13107         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13108         Rename from xterm-set-background-mode.  Return t if the background mode
13109         was set.
13110         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13111         earlier, call it again in case the background mode has changed.
13113 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13115         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13116         (Bug#3541).
13118 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13120         * emacs-lisp/assoc.el (aelement): Doc fix.
13121         (aput, adelete, amake): Use lexical-let (Bug#5450).
13123 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13125         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13126         is the same as subprogram call, not declaration.  (Bug#5435).
13128 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13130         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13131         (tramp-smb-maybe-open-connection): Use it.
13133 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13135         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13137 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13139         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13140         just because we see "encoding: 8bit".
13141         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13143 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13145         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13147 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13149         * jka-compr.el (jka-compr-load): If load-file is not in
13150         load-history, try its file-truename version.  (bug#5447)
13152 2010-01-21  Alan Mackenzie  <acm@muc.de>
13154         Fix a situation where deletion of a cpp construct throws an error.
13155         * progmodes/cc-engine.el (c-invalidate-state-cache):
13156         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13157         special cpp construct is still in the buffer.
13158         (c-parse-state): Record the special cpp with markers, not numbers.
13160 2010-01-21  Kenichi Handa  <handa@m17n.org>
13162         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13163         process last-command-event, as it is now decoded first (Bug#5380).
13165 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13167         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13169 2010-01-20  Glenn Morris  <rgm@gnu.org>
13171         * indent.el (tab-always-indent): Fix custom-type.
13173 2010-01-19  Alan Mackenzie  <acm@muc.de>
13175         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13176         buffer throws "args out of range".
13177         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13178         playing the role of delimiter.
13180 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13182         * progmodes/ada-mode.el: Fix bug#5400.
13183         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13184         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13185         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13186         Improve comments in "is" portion.  Handle null procedure declaration.
13187         (ada-move-to-end): Improve doc string.
13189 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13191         * ido.el (ido-cur-list): Initialize to nil.
13192         Remove obsolete information from commentary.
13193         (ido-choice-list): Initialize to nil.
13194         (ido-get-bufname): Reject minibuffers.
13195         (ido-make-buffer-list): If "default" is a nonexistent
13196         buffer, ignore it, as per the function's comment.
13197         (ido-kill-buffer-internal): New function.
13198         (ido-kill-buffer-at-head): Use it.
13199         (ido-visit-buffer): Likewise.
13201 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13203         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13205 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13207         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13208         Fix typos in chart titles.
13210         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13211         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13212         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13213         (describe-class, eieio-describe-generic, describe-generic):
13214         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13215         (eieio-speedbar-expand):
13216         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13217         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13218         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13219         (viper-del-backward-char-in-replace, viper-backward-indent)
13220         (viper-brac-function, viper-register-to-point, viper-submit-report):
13221         * net/tramp.el (tramp-remote-coding-commands):
13222         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13223         Fix typos in docstrings.
13225 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13227         * mail/sendmail.el (mail-yank-original): Set the mark if the
13228         specified function for yanking does not do it.
13230 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13232         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13234         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13235         resyncing a directory.
13237 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13239         * progmodes/ada-mode.el: Fix bug#1920.
13240         (ada-ident-re): Delete ., allow multibyte characters.
13241         (ada-goto-label-re): New; matches goto labels.
13242         (ada-block-label-re): New; matches block labels.
13243         (ada-label-re): New; matches both.
13244         (ada-named-block-re): Delete; callers changed to use
13245         `ada-block-label-re' instead.
13246         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13247         Use `ada-block-label-re'.
13248         (ada-indent-on-previous-lines): Improve handling of goto labels.
13249         (ada-get-indent-block-start): Special-case block label.
13250         (ada-get-indent-label): Split into `ada-indent-block-label' and
13251         `ada-indent-goto-label'.
13252         (ada-goto-stmt-start, ada-goto-next-non-ws):
13253         Optionally ignore goto labels.
13254         (ada-goto-next-word): Simplify.
13255         (ada-indent-newline-indent-conditional): Insert newline before
13256         trying to fix indentation; doc fix.
13258 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13260         * calc/calc.el (calc-command-flags): Give it an initial value.
13262 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13264         * files.el (minibuffer-with-setup-hook):
13265         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13266         (artist-key-draw-continously, artist-key-do-continously-continously)
13267         (artist-key-set-point-continously, artist-mouse-draw-continously):
13268         Fix typos in docstrings.
13270 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13272         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13273         Never return t (Bug#3898).
13275 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13277         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13278         can parse the output of the external commands (Bug#5279).
13280 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13282         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13284 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13286         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13288         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13290         * startup.el (command-line): Remove unused --icon-type arg.
13291         Handle --display arg, passing it to command-line-1 (Bug#5392).
13293 2010-01-16  Mario Lang  <mlang@delysid.org>
13295         * emacs-lisp/chart.el (chart-translate-namezone):
13296         * textmodes/artist.el (artist-compute-popup-menu-table):
13297         Remove duplicated words in doc-strings.
13299 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13301         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13302         to mairix-search to suppress threading (Bug#5342).
13304 2010-01-15  Kenichi Handa  <handa@m17n.org>
13306         * international/mule-cmds.el (canonicalize-coding-system-name):
13307         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13309 2010-01-15  Glenn Morris  <rgm@gnu.org>
13311         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13313         * wid-edit.el (widget-keymap): Doc fix.
13315         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13316         former seems to be more widely accepted by various svn versions.
13318 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13320         * find-cmd.el (find-constituents):
13321         * vc-arch.el (vc-arch-root):
13322         * window.el (window-body-height, pop-up-frames):
13323         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13324         * progmodes/ada-stmt.el (ada-if):
13325         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13326         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13327         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13328         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13330         * progmodes/flymake.el (flymake-post-syntax-check):
13331         Fix typo in error message.
13333 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13335         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13336         which is always a string.  (Bug#5313)
13338 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13340         * progmodes/ada-xref.el (ada-default-prj-properties):
13341         Simplify previous change.
13343 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13345         * progmodes/ada-xref.el (ada-default-prj-properties):
13346         Default ada_project_path to $ADA_PROJECT_PATH.
13348 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13350         * progmodes/ada-mode.el (ada-create-keymap):
13351         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13353 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13355         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13356         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13357         (ada-get-current-indent, ada-imenu-generic-expression)
13358         (ada-which-function): Check for it.
13360 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13362         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13363         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13365 2010-01-14  Glenn Morris  <rgm@gnu.org>
13367         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13369 2010-01-14  Kenichi Handa  <handa@m17n.org>
13371         * composite.el (auto-composition-mode): Make it a buffer local
13372         variable (permanent-local).
13373         (auto-composition-function): Set the default value to
13374         auto-compose-chars.
13375         (auto-composition-mode): Make it a simple function, not a minor mode.
13376         (global-auto-composition-mode): Likewise.
13377         (turn-on-auto-composition-if-enabled): Delete it.
13379 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13381         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13383 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13385         * files.el (copy-directory): Compute target for recursive
13386         directories with identical names.  (Bug#5343)
13388 2010-01-12  Glenn Morris  <rgm@gnu.org>
13390         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13391         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13393 2010-01-11  Sam Steingold  <sds@gnu.org>
13395         * imenu.el (imenu-default-create-index-function): Detect infinite
13396         loops caused by imenu-prev-index-position-function.
13398 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13400         * htmlfontify.el (htmlfontify-load-rgb-file)
13401         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13402         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13403         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13404         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13405         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13406         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13407         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13408         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13409         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13410         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13411         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13412         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13413         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13414         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13415         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13416         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13417         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13418         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13419         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13420         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13421         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13422         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13423         backslash-quoting from parentheses, etc.
13425 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13427         * progmodes/js.el: Autoload javascript-mode alias.
13429 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13431         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13432         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13433         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13434         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13435         Fix typos in docstrings.
13436         (ffap-url-regexp): Doc fix.
13437         (ffap-at-mouse): Fix typo in message.
13439 2010-01-11  Glenn Morris  <rgm@gnu.org>
13441         * version.el (emacs-copyright): Set copyright year to 2010.
13443 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13445         * format.el (format-annotate-function): Only set
13446         write-region-post-annotation-function after running to-fn so as not to
13447         affect nested write-region calls (bug#5273).
13449 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13451         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13452         wisent/python.el.
13454 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13456         * man.el (Man-goto-section): Signal error if the section is not
13457         found (Bug#5317).
13459 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13461         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13462         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13464 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13466         * progmodes/compile.el: Don't treat compile-command as safe if
13467         compilation-read-command might be nil (Bug#4218).
13469 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13471         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13472         NS options.
13474 2010-01-08  Kenichi Handa  <handa@m17n.org>
13476         * international/fontset.el (build-default-fontset-data):
13477         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13479 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13481         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13482         to `create-file-buffer' as it expects, not just a buffer name.
13483         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13484         to help uniquify.  (Bug#3224)
13486 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13488         * font-setting.el (font-setting-change-default-font): Use user-spec
13489         instead of name.
13491 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13493         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13495 2010-01-05  Tom Tromey  <tromey@redhat.com>
13497         * progmodes/python.el (python-font-lock-keywords):
13498         Handle qualified decorators (Bug#881).
13500 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13502         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13503         in a lightweight checkout.
13505 2010-01-05  Kenichi Handa  <handa@m17n.org>
13507         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13509 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13511         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13513 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13515         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13516         checkouts.  (Bug#618)
13517         (vc-bzr-log-view-mode): Also highlight the author.
13518         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13519         (vc-bzr-shelve-menu-map):
13520         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13521         (vc-bzr-shelve-apply): Make prompt more explicit.
13523 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13525         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13526         They are valid characters in URL paths (rfc3986), and at least
13527         Firefox does not understand the encoded version (Bug#3166).
13529 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13531         * progmodes/octave-mod.el (octave-end-keywords)
13532         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13533         Add "end" keyword (Bug#3061).
13534         (octave-end-as-array-index-p): New function.
13535         (calculate-octave-indent): Use it.
13537 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13539         * bookmark.el: Consistently put the text property on the bookmark name.
13540         (bookmark-bmenu-marks-width): Bump back to 2, to include
13541         annotation marks.
13542         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13543         property on the bookmark name, instead of not putting it at all.
13544         (bookmark-bmenu-list): Fix where we put the text property.
13546 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13548         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13549         for showing buffer modified state (as added in the previous change).
13551 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13553         * bookmark.el: Show modified state of bookmark buffer more accurately.
13554         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13555         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13556         (with-buffer-modified-unmodified): New macro.
13557         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13558         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13559         Use new macro to preserve the buffer modified state.
13561 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13563         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13564         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13565         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13566         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13567         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13568         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13569         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13571 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13573         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13574         Make the lines in the generated doc string shorter.  (Bug#4668)
13576 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13578         * net/rcirc.el: Add follow-link binding (Bug#4738).
13580 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13582         * Makefile.in (bzr-update): Rename from cvs-update.
13583         (cvs-update): New target for backward compatibility.
13585         * makefile.w32-in (bzr-update): Rename from cvs-update.
13586         (cvs-update): New target for backward compatibility.
13588 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13590         * bookmark.el: Remove gratuitous gratitude.
13592 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13594         * bookmark.el (bookmark-bmenu-any-marks): New function.
13595         (bookmark-bmenu-save): Clear buffer modification if no marks.
13597 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13599         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13600         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13601         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13602         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13604         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13605         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13606         To: emacs-devel {_AT_} gnu.org
13607         Subject: bookmark.el bug report
13608         Date: Mon, 28 Dec 2009 14:19:16 +0800
13609         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13611 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13613         * bookmark.el: Improvements suggested by Drew Adams:
13614         (bookmark-bmenu-ensure-position): New name for
13615         `bookmark-bmenu-check-position'.  Just ensure the position,
13616         don't return any meaningful value.
13617         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13618         New constants.
13620 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13622         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13623         (bookmark-yank-point, bookmark-bmenu-check-position):
13624         Fix typos in docstrings.
13625         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13626         (bookmark-name-from-full-record, bookmark-get-position)
13627         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13628         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13629         Remove useless quoting of parenthesis, etc. in docstrings.
13631         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13632         (ediff-append-custom-diff): Fix typo in error message.
13633         (ediff-meta-mark-equal-files): Fix typos in messages.
13635         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13637         * net/imap-hash.el (imap-hash-make): Doc fix.
13638         (imap-hash-test): Fix typo in error message; reflow docstring.
13639         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13640         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13641         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13642         Fix typos in docstrings.
13643         (imap-hash-open-connection): Fix typo in error message.
13645         * play/gomoku.el (gomoku): Fix typos in docstring.
13647         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13648         (gdb-jsonify-buffer): Fix typos in docstring.
13649         (gdb-goto-breakpoint): Fix typo in error message.
13650         ("Display Other Windows"): Fix typo in help message.
13651         (gdb-speedbar-expand-node): Fix typo in question.
13653         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13654         (idlwave-html-system-help-location, idlwave-html-help-location)
13655         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13656         (idlwave-help-browser-generic-args, idlwave-help-directory)
13657         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13658         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13659         (idlwave-online-help, idlwave-help-html-link)
13660         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13661         Fix typos in docstrings.
13662         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13663         Reflow docstrings.
13664         (idlwave-help-assistant-start): Fix typo in error message.
13666         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13667         (octave-electric-space): Fix typos in docstrings.
13669 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13671         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13673 2010-01-01  Juri Linkov  <juri@jurta.org>
13675         * comint.el (comint-input-ring-size): Make it a defcustom and
13676         increase the default to 500 (Bug#5148).
13678 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13680         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13681         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13682         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13684 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13686         Show working revision correctly for mercurial.
13687         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13688         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13690 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
13692         Declare some functions for the byte-compiler.
13693         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13694         (speedbar-timer-fn, speedbar-change-expand-button-char)
13695         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13697 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
13699         This changeset reverts GDB Graphical Interface to use annotations.
13700         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13702 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
13704         Make vc-dir work on subdirectories of the bzr root.
13705         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13706         Return file names relative to it.
13707         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13708         relative directory to vc-bzr-after-dir-status.
13710 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
13712         * font-lock.el (font-lock-refresh-defaults): New function, which
13713         can be used to let font-lock react to external changes in
13714         variables like font-lock-defaults and keywords.
13715         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13717 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
13719         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13721         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13723 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
13725         Supersede color.diff settings in git log (bug#5211).
13727         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13728         escape chars in its output when the user has color.diff set to `always'.
13729         This fix works on git 1.4.2 and newer (released on 2006-08-13).
13731 2009-12-26  Kevin Ryde  <user42@zip.com.au>
13733         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13734         node.  Keep previous "Index" name to work with past coreutils too.
13736         * man.el (man): Revise docstring a bit to show -a and -l as
13737         examples.  Add -k description since support for it has otherwise
13738         been a secret.  (Further to bug#3717.)
13739         (Man-bgproc-sentinel): When "-k foo" produces no output show error
13740         "no matches" rather than "Can't find manpage", as the latter reads
13741         like -k was interpreted as a page name, which is not so.  (Bug#5431)
13743 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
13745         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13746         switches.  Check also for //SUBDIRED// line.
13748 2009-12-25  Kenichi Handa  <handa@m17n.org>
13750         * language/indian.el (devanagari-composable-pattern): Fix to
13751         handle ZWNJ and ZWJ.  Use it in composition-function-table for
13752         Devanagari.
13753         (malayalam-composable-pattern): Fix previous change.
13755 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13757         * ps-print.el (ps-face-attributes): It was not returning the
13758         attribute face for faces specified as string.  Reported by harven
13759         <harven@free.fr>.  (Bug#5254)
13760         (ps-print-version): New version 7.3.5.
13762 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
13764         * calendar/icalendar.el (icalendar--convert-tz-offset):
13765         Fix timezone names.
13766         (icalendar--convert-tz-offset): Fix the "last-day-problem".
13767         (icalendar--add-diary-entry): Remove the trailing blank that
13768         diary-make-entry inserts.
13770 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
13772         Make `file-expand-wildcards' work for remote files.
13774         * files.el (file-expand-wildcards): In case of remote files, check
13775         only local file name part for wildcards.  Provide feature 'files
13776         and subfeature 'remote-wildcards.  (Bug#5198)
13778         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13779         if there is already an established connection.
13780         (tramp-advice-file-expand-wildcards): Remove it.
13782         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13783         (tramp-advice-file-expand-wildcards): Move from tramp.el.
13784         Activate advice for older GNU Emacs versions.  (Bug#5237)
13786 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
13788         Some doc fixes (more needed).
13790         * find-cmd.el (find-constituents): Reflow docstring.
13791         (find-cmd, find-prune, find-command): Fix typos in docstrings.
13792         (find-generic): Doc fix.
13794 2009-12-17  Juri Linkov  <juri@jurta.org>
13796         Fix regression from 23.1 to allow multiple modes in Local Variables.
13798         * files.el (hack-local-variables-filter): While ignoring duplicates,
13799         don't take `mode' into account.
13800         (hack-local-variables-filter, hack-dir-local-variables):
13801         Don't remove duplicate `mode' from local-variables-alist (like `eval').
13803 2009-12-17  Juri Linkov  <juri@jurta.org>
13805         Make `dired-diff' safer.  (Bug#5225)
13807         * dired-aux.el (dired-diff): Signal an error when `file' equals to
13808         `current' or when `file' is a directory of the `current' file.
13810 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
13812         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13813         unconditionally preloaded files.
13815 2009-12-16  Juri Linkov  <juri@jurta.org>
13817         Revert to old 23.1 logic of using the file at the mark as default.
13818         * dired-aux.el (dired-diff): Use the file at the mark as default
13819         if it's not the same as the current file, and the target dir is
13820         the current dir or the mark is active.  Add the current file
13821         as the arg of `dired-dwim-target-defaults'.  Use the default file
13822         in the prompt.  (Bug#5225)
13824 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
13826         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13827         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13828         (tramp-check-for-regexp): Check also, when an echoing shell stops
13829         to echo sent commands.
13831 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13833         * Makefile.in: Revert last change (Bug#5191).
13835 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
13837         * vc-hg.el (vc-hg-print-log): Fix argument order.
13838         (vc-hg-working-revision): Make sure the command is executed in a
13839         known environment so that we can parse the output.  (Bug#4417)
13841 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13843         * progmodes/python.el (python-symbol-completions): Remove text
13844         properties from symbol string before calling python-send-receive.
13846 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
13848         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13849         when there are values for both file and line.  (Bug#5060)
13851 2009-12-14  Juri Linkov  <juri@jurta.org>
13853         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13854         whitespace after the file name of the first line of unified format,
13855         because git-diff doesn't output whitespace and file modification time
13856         after the file name.
13858 2009-12-14  David Kastrup  <dak@gnu.org>
13860         * info.el (Info-hide-cookies-node): Before hiding a cookie,
13861         check if it already has the `display' property added by
13862         `Info-display-images-node', and not put the `invisible' property
13863         in this case.
13865 2009-12-13  Glenn Morris  <rgm@gnu.org>
13867         * mail/emacsbug.el (message-sort-headers): Define for compiler.
13868         (report-emacs-bug): In message-mode, sort manually before storing
13869         original report text.  (Bug#5178)
13870         Remove superfluous save-excursion.
13872 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
13874         * net/dbus.el (dbus-property-handler): Filter lambda forms out
13875         when responding to "GetAll" properties.
13877 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
13879         * simple.el (compose-mail): Remove mail-setup-with-from from
13880         customization checks.
13882 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
13884         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13885         RAR archives created on Unix systems.
13887 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13889         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13890         the varalias that was accidentally removed by the 2009-11-19 change
13891         (bug#5186).
13893 2009-12-12  Kenichi Handa  <handa@m17n.org>
13895         * language/indian.el (indian-compose-regexp): New function.
13896         (malayalam-composable-pattern): Fix the pattern.
13897         (composition-function-table): Set malayalam-composable-pattern for
13898         Malayalam characters.
13900 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
13902         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13903         rather than down-mouse-1, based on follow-link conventions.
13905         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13906         are compiled.
13908 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
13910         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13911         (verilog-vmm-statement-re, verilog-ovm-statement-re)
13912         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13913         (verilog-leap-to-head, verilog-backward-token):
13914         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
13916 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
13918         * progmodes/verilog-mode.el (verilog-auto-lineup)
13919         (verilog-nameable-item-re): Cleanup user-visible spelling and
13920         documentation errors.  One reported by Gary Delp.
13921         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13922         (verilog-read-decls): Fix AUTOWIRE with types declared in a
13923         package, bug195.  Reported by Pierre-David Pfister.
13925 2009-12-11  Glenn Morris  <rgm@gnu.org>
13927         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13929         * mail/emacsbug.el: No longer require sendmail.
13930         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
13931         (report-emacs-bug-orig-text): Doc fix.
13932         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13933         New local variables, to adapt to different mail-user-agents.
13934         (report-emacs-bug): Fix test for a gnu.org address.
13935         Use overlays for emphasis, since font-lock defeats 'face property.
13936         Pretest bugs also end up at the newsgroup these days.
13937         Stop message-mode stripping text properties.
13938         Set and use the new buffer-local variables.
13939         (report-emacs-bug-hook): Add doc-string.
13940         Remove some unnecessary save-excursions and simplify.
13941         Use the appropriate hook and send-command.
13943         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13944         capitalization of some menu entries.
13946 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13948         * whitespace.el (whitespace-display-char-on):
13949         Ensure `buffer-display-table' is unique when two or more windows are
13950         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13951         New version 12.1.
13953 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
13955         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13956         characters in the Attribute field.
13958 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
13960         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
13962 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13964         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13965         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13966         Disregard autoload-excludes.
13967         (update-directory-autoloads): Obey autoload-excludes here instead.
13968         But don't store its contents in no-autoloads and remove entries that
13969         refer to excludes files.
13971 2009-12-10  Glenn Morris  <rgm@gnu.org>
13973         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13974         (expand-mail-aliases): Define for compiler.
13976         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13977         Define for compiler.
13979         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13980         appropriate for the mail-user-agent in use.
13982 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
13984         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13986 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
13988         Fix short log parsing and fontification.
13989         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13990         Fix fontification for the [merge] label.
13992 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
13994         Drop some properties to avoid surprises (bug#5002).
13995         * htmlfontify.el (hfy-ignored-properties): New defcustom.
13996         (hfy-fontify-buffer): Use it.
13998 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
14000         Minor cleanup.
14001         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14002         Adjust all callers.
14003         (ffap-locate-file): Remove unused arg `dir-ok' and make other
14004         args compulsory.  Adjust callers.
14005         (ffap-gopher-at-point): Remove unused var `name'.
14007         Get rid of the ELCFILES abomination.
14008         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14009         (compile-elcfiles): New phony target.
14010         (compile-main): Compute ELCFILES dynamically.
14011         (compile-clean): New target to remove left-over elc files.
14012         (compile, all): Use it.
14014 2009-12-09  Kenichi Handa  <handa@etlken>
14016         * international/mule-diag.el: Require help-mode instead of help-fns.
14018 2009-12-09  Kenichi Handa  <handa@m17n.org>
14020         * international/mule-cmds.el (ucs-names): Supply sufficiently
14021         fine ranges instead of pre-calculating accurate ranges.
14022         Iterate with bigger gc-cons-threshold.
14024 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14026         Add support for stashing a snapshot of the current tree.
14027         * vc-git.el (vc-git-stash-snapshot): New function.
14028         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14030 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14032         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14033         instead of `(beginning|end)-of-line'.
14035 2009-12-08  Glenn Morris  <rgm@gnu.org>
14037         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14039         * Makefile.in (ELCFILES): Regenerate.
14041 2009-12-07  Juri Linkov  <juri@jurta.org>
14043         Don't lazy-highlight the comint output in history Isearch mode.
14045         * comint.el (comint-history-isearch-search): Instead of
14046         `comint-line-beginning-position', use `comint-after-pmark-p'
14047         to check if point if before the process mark, and go to
14048         `process-mark' in this case.
14050 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14052         * textmodes/tex-mode.el (latex-complete)
14053         (latex-indent-or-complete): Remove.
14054         (latex-mode): Set completion-at-point-functions instead.
14056         Provide a standard completion command and hook it into TAB.
14057         * minibuffer.el (completion-at-point-functions): New var.
14058         (completion-at-point): New command.
14059         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14060         * progmodes/python.el (python-mode-map): Use completion-at-point.
14061         (python-completion-at-point): Rename from python-partial-symbol and
14062         adjust for use in completion-at-point-functions.
14063         (python-mode): Setup completion-at-point for Python completion.
14064         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14065         extracted from lisp-complete-symbol.
14066         (lisp-complete-symbol): Use it.
14067         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14068         setup completion-at-point for Elisp completion.
14069         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14070         Use completion-at-point.
14071         * ielm.el (ielm-map): Use completion-at-point.
14072         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14073         * progmodes/sym-comp.el: Move to...
14074         * obsolete/sym-comp.el: Move from progmodes.
14076 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14078         Prevent save-buffer in Rmail buffers from using the coding-system
14079         of the current message, and from clobbering the encoding mnemonics
14080         in the mode line (Bug#4623).
14082         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14083         flag, too.
14084         (rmail-message-encoding): New variable.
14085         (rmail-write-region-annotate): Record the encoding of the current
14086         message in rmail-message-encoding.
14087         (rmail-after-save-hook): New function, restores the encoding of
14088         the current message after the message collection is saved.
14090 2009-12-07  Juri Linkov  <juri@jurta.org>
14092         * progmodes/grep.el (grep-read-files): Use `completing-read'
14093         instead of `read-string'.  Set its `collection' arg to
14094         `read-file-name-internal'.  (Bug#4301)
14096 2009-12-07  Juri Linkov  <juri@jurta.org>
14098         Correctly restore original Isearch point.  (Bug#4994)
14100         * isearch.el (isearch-mode): Move `isearch-push-state' after
14101         `(run-hooks 'isearch-mode-hook)'.
14102         (isearch-cancel): When `isearch-push-state-function' is defined,
14103         let-bind `isearch-cmds' to the first state (the last element of
14104         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14105         function and restores the original point).  Otherwise, move point
14106         to `isearch-opoint'.
14108 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14110         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14111         chars that don't have names, so the table can be built much faster at
14112         run-time.
14114 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14116         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14117         change.  Suggested by David Kastrup.
14119         * simple.el (compose-mail): Check for incompatibilities and warn.
14120         (compose-mail-user-agent-warnings): New option.
14122 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14124         Support showing a single log entry from vc-annotate.
14125         * vc.el (print-log): Add a new argument: START-REVISION.
14126         (vc-print-log-internal): Add a new optional argument and
14127         pass it to the backend.
14128         (vc-print-log, vc-print-root-log): Adjust callers.
14129         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14130         buffer already displays the requested log entry, use it.
14131         Otherwise display only the log entry in question.
14132         * vc-svn.el (vc-svn-print-log):
14133         * vc-mtn.el (vc-mtn-print-log):
14134         * vc-hg.el (vc-hg-state):
14135         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14136         (vc-git-show-log-entry): Return t on success.
14137         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14138         (vc-bzr-show-log-entry): Return t on success.
14139         * vc-rcs.el (vc-rcs-print-log):
14140         * vc-sccs.el (vc-sccs-print-log):
14141         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14143 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14145         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14146         Add menus to the meta mode.  (Bug#5043)
14148 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14150         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14151         event-key.
14153         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14155 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14157         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14158         Berbain <raphael.berbain@gmail.com>.
14160         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14161         characters.
14162         (tramp-initial-end-of-output): New defconst.
14163         (tramp-methods, tramp-find-shell)
14164         (tramp-open-connection-setup-interactive-shell)
14165         (tramp-maybe-open-connection): Use it.
14166         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14167         Handle existence of `#' and `$'.
14169         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14170         Use `tramp-initial-end-of-output'.
14172 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14174         Get the background mode from the terminal for xterm, and set
14175         faces accordingly.
14176         * term/xterm.el (xterm-set-background-mode): New function.
14177         (terminal-init-xterm): Use it in case xterm supports background
14178         color queries.  Recompute faces after getting the background
14179         color.
14181 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14183         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14184         number comment back on its own line, for easier parsing.
14186 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14188         Make it work for non-file buffers (bug#5102).
14189         * doc-view.el (doc-view-current-cache-dir):
14190         Use doc-view-buffer-file-name rather than buffer-file-name.
14191         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14193 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14195         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14196         author field is too short.
14198 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14200         * vc-git.el (vc-git-print-log): Handle a limit argument.
14201         Display the short log in graph form and with labels.
14202         (vc-git-log-view-mode): Handle labels.
14204         Make vc-revert change VC state from 'added to 'unregistered.
14205         * vc-git.el (vc-git-revert): Call git reset first.
14207 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14209         * net/newst-backend.el, net/newst-plainview.el:
14210         * net/newst-reader.el, net/newst-ticker.el:
14211         * net/newst-treeview.el, net/newsticker.el:
14212         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14214 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14216         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14218         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14219         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14220         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14221         Update annotation regexp.
14223         * simple.el (beginning-of-visual-line): Constrain to field
14224         boundaries (Bug#5106).
14226 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14228         * xml.el (xml-substitute-numeric-entities):
14229         Move newsticker--decode-numeric-entities in newst-backend.el to
14230         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14231         * net/newst-backend.el (newsticker--parse-generic-feed)
14232         (newsticker--parse-generic-items)
14233         (newsticker--decode-numeric-entities):
14234         Move newsticker--decode-numeric-entities in newst-backend.el to
14235         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14237 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14239         * progmodes/js.el (js--js-not): Add null to the list of values.
14241 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14243         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14245 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14247         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14248         delimiter if it is at the end of the current line.
14249         (bibtex-generate-url-list): Fix docstring.
14251 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14253         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14254         minibuffer's content with itself.
14255         Fold the confirm-after-completion case into the `confirm' case.
14256         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14258 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14260         * ffap.el (ffap-rfc-path): Make this a defcustom since
14261         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14263         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14264         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14266 2009-12-05  Juri Linkov  <juri@jurta.org>
14268         Save and restore dired buffer's point positions too.  (Bug#4880)
14270         * dired.el (dired-save-positions): Return in the first element
14271         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14272         Doc fix.
14273         (dired-restore-positions): First restore buffer's position.
14274         While restoring window's positions, check if window still displays
14275         the original buffer.
14277 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14279         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14280         if possible.
14282         * shell.el (shell): Require ansi-color (Bug#5113).
14284         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14286         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14288 2009-12-05  Alan Mackenzie  <acm@muc.de>
14290         * progmodes/cc-mode.el (c-before-hack-hook)
14291         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14292         `c-file-style' to work again.  This reversion restores the current
14293         software to its state in Emacs 23.1.  (Bug#4146)
14295 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14297         * textmodes/sgml-mode.el (sgml-lexical-context):
14298         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14300 2009-12-05  Juri Linkov  <juri@jurta.org>
14302         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14303         for virtual nodes.  (Bug#4147)
14304         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14305         when moving from a virtual node.
14306         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14307         (Info-mode): Add `Info-virtual-index' to the docstring.
14309 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14311         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14312         track of the buffer position of the end of a BibTeX entry as this
14313         position may change during reformatting.
14314         (bibtex-format-entry): Remove whitespace before processing
14315         numerical fields so that we recognize the latter properly.
14316         (bibtex-reformat): Do not use push which changes the global value
14317         of bibtex-entry-format.
14318         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14319         (bibtex-field-re-init): Replace only space characters by regexp
14320         for whitespace.
14321         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14322         (bibtex-initialize): Also update bibtex-strings.
14323         (bibtex-kill-field): Preserve white space at end of entry.
14324         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14325         Update bibtex-reference-keys.
14327 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14329         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14330         point after a star, if that's the only place where modifications can
14331         make progress.
14333 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14335         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14336         in docstrings.
14338 2009-12-04  Juri Linkov  <juri@jurta.org>
14340         * proced.el (proced): Call `(proced-update t)' to update process
14341         information instead of only running proced-post-display-hook.
14342         (proced-send-signal): Add a leading space to the buffer name
14343         " *Marked Processes*" to make this buffer ephemeral.
14345 2009-12-04  Juri Linkov  <juri@jurta.org>
14347         * dired.el (dired-auto-revert-buffer): New defcustom.
14348         (dired-internal-noselect): Use it.
14350 2009-12-04  Juri Linkov  <juri@jurta.org>
14352         Change roles of modes and functions in image-mode.el (Bug#5062).
14354         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14355         in `auto-mode-alist'.
14356         (image-mode-previous-major-mode): New variable.
14357         (image-minor-mode-map): Rename from `image-mode-text-map'.
14358         (image-mode): Move graceful error-handling code from
14359         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14360         (image-minor-mode): Remove all image-handling code.
14361         Replace `image-mode-text-map' with `image-minor-mode-map'.
14362         Check for `image-type' in mode-line format string.
14363         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14364         (image-mode-as-text): New function with most code from
14365         `image-mode-maybe'.
14366         (image-toggle-display-text): Move code that removes image
14367         properties from `image-toggle-display' to here.
14368         (image-toggle-display-image): New function with code that adds
14369         image properties copied from `image-toggle-display'.
14370         (image-toggle-display): Remove most code with leaving only code
14371         that toggles between `image-mode-as-text' and `image-mode'.
14373 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14375         * net/newst-treeview.el
14376         (newsticker--treeview-list-highlight-start): Restored call to
14377         save-excursion: Selected item was stuck.
14378         (newsticker--treeview-list-select): New.
14379         (newsticker--treeview-item-show-text)
14380         (newsticker--treeview-item-show)
14381         (newsticker--treeview-item-update): Use new
14382         newsticker-treeview-item-mode.
14383         (newsticker-treeview-update): Keep current item.
14384         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14385         (newsticker--treeview-first-feed): Doc change.
14386         (newsticker-treeview-list-menu)
14387         (newsticker-treeview-item-menu): Add menu entries.
14388         (newsticker-treeview-item-mode): New.
14390         * net/newst-backend.el (newsticker-customize): Delete other
14391         windows.
14393 2009-12-04  Sam Steingold  <sds@gnu.org>
14395         * log-view.el (log-view-mode-map): "q" calls quit-window,
14396         like in all the other non-self-insert buffers.
14398 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14400         Minor cleanup.
14401         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14402         key decoding rather than do it manually via last-input-event +
14403         ascii-character.
14404         (term-exec): Use delete-and-extract-region.
14405         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14406         (term-process-pager): Remove unused var `i'.
14407         (term-dynamic-simple-complete): Make obsolete.
14408         (serial-update-config-menu): Remove unused vars `y' and `str'.
14409         (term-update-mode-line): Remove unused var `temp'.
14411 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14413         Limit the number of log entries displayed by default.
14414         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14415         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14416         using a prefix argument.
14418 2009-12-03  Glenn Morris  <rgm@gnu.org>
14420         * progmodes/idlwave.el (class): Restore still useful declaration.
14422 2009-12-03  Alan Mackenzie  <acm@muc.de>
14424         Enhance `c-parse-state' to run efficiently in "brace deserts".
14426         * progmodes/cc-mode.el (c-basic-common-init):
14427         Call c-state-cache-init.
14428         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14429         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14430         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14432         * progmodes/cc-langs.el (c-before-font-lock-function):
14433         c-extend-and-neutralize-syntax-in-CPP has been renamed
14434         c-neutralize-syntax-in-and-mark-CPP.
14436         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14437         with `category' properties now, not `syntax-table' ones.
14439         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14440         enhanced (but slower) version of c-end-of-macro that won't land
14441         inside a literal or on another awkward character.
14442         (c-state-cache-too-far, c-state-cache-start)
14443         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14444         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14445         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14446         (c-state-min-scan-pos, c-state-brace-pair-desert)
14447         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14448         buffer local variables.
14449         (c-state-literal-at, c-state-lit-beg)
14450         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14451         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14452         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14453         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14454         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14455         (c-renarrow-state-cache)
14456         (c-append-lower-brace-pair-to-state-cache)
14457         (c-state-push-any-brace-pair, c-append-to-state-cache)
14458         (c-remove-stale-state-cache)
14459         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14460         (c-invalidate-state-cache-1, c-parse-state-1)
14461         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14462         (c-parse-state): Enhance and refactor.
14463         (c-debug-parse-state): Amend to deal with all the new variables.
14465         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14466         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14467         modify to use category text properties rather than syntax-table ones.
14468         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14469         to switch off/on the syntactic paren property of C++ template
14470         delimiters using the category property.
14471         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14472         template delims suppressed.
14473         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14474         New constant/macros which apply category properties to the start
14475         and end of preprocessor constructs.
14476         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14477         "comment out" the syntactic value of characters in preprocessor
14478         constructs.
14479         (c-with-cpps-commented-out)
14480         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14481         with characters in all or all but one preprocessor constructs
14482         "commented out".
14484 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14486         * proced.el (proced-filter-alist): Use regexp-quote.
14488 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14490         Cleanup.
14491         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14492         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14493         arguments.  Expand `default-directory'.
14495         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14496         the benefit of returning an expanded localname.
14497         (tramp-tramp-file-p): Handle the case NAME is not a string.
14499 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14501         Add support for bzr shelve/unshelve.
14502         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14503         (vc-bzr-extra-menu-map): New variables.
14504         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14505         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14506         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14507         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14508         (vc-bzr-dir-extra-headers): Display shelves.
14510         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14512 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14514         * textmodes/bibtex.el (bibtex-complete-internal):
14515         Use completion-in-region.
14516         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14518 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14520         Support applying stashes.  Improve UI.
14521         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14522         (vc-git-stash-apply, vc-git-stash-pop)
14523         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14524         (vc-git-stash-menu): New functions.
14525         (vc-git-stash-menu-map): New variable.
14526         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14528 2009-12-03  Glenn Morris  <rgm@gnu.org>
14530         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14531         (vc-print-log-internal): Fix previous change.
14532         (vc-revert): Correct pluralization.
14534 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14536         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14537         it to be an alist any more.
14538         (makefile-complete): Use completion-in-region.
14540         * progmodes/octave-mod.el (octave-complete-symbol):
14541         Use completion-in-region.
14543         Misc cleanup.
14544         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14545         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14546         (idlwave-complete-class): Don't quote lambda.
14547         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14548         (idlwave-mode-map): Move initialization into declaration.
14549         (idlwave-action-and-binding): Use backquotes.
14550         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14551         Simplify.
14552         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14553         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14554         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14555         `parts', and `all-parts'.
14556         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14557         (idlwave-convert-xml-system-routine-info): Remove unused string
14558         `version-string'.
14559         (idlwave-display-user-catalog-widget): Use dolist.
14560         (idlwave-scanning-lib): Declare dynamically-scoped var.
14561         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14562         (completion-highlight-first-word-only): Declare to silence bytecomp.
14563         (idlwave-popup-select): Tighten scope of `resp'.
14564         (idlwave-find-struct-tag): Remove unused var `beg'.
14565         (idlwave-after-load-rinfo-hook): Declare.
14566         (idlwave-sintern-class-info): Remove unused var `taglist'.
14567         (idlwave-find-class-definition): Remove unused var `list'.
14568         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14569         (idlwave-what-module-find-class): Remove unused var `classes'.
14571 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14573         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14575 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14577         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14578         buffers visited.  Remove redundant current-buffer-saving.
14580 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14582         Use completion-in-buffer and remove uses of dynamic scoping.
14583         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14584         (pascal-buffer-to-use, pascal-flag): Don't declare.
14585         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14586         (pascal-get-completion-decl, pascal-keyword-completion):
14587         Add `pascal-str' argument, save-excursion,
14588         return the found completions, and don't filter with pascal-pred.
14589         (pascal-completion-cache): New var.
14590         (pascal-completion): Don't switch buffer any more (it was never
14591         necessary).  Don't save-excursion any more (it's done by the called
14592         subroutines).  Use a cache to avoid redundant computations.
14593         Use complete-with-action rather than pascal-completion-response and
14594         let it apply the predicate as well.
14595         (pascal-complete-word): Use completion-in-buffer when
14596         pascal-toggle-completions is nil.
14597         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14598         not used any more.
14599         (pascal-comp-defun): Don't change buffer any more.
14600         Use complete-with-action rather than pascal-completion-response and
14601         let it apply the predicate as well.
14602         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14603         when neded.
14605 2009-12-02  Kenichi Handa  <handa@m17n.org>
14607         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14608         shape for all Indic scripts.
14610 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14612         Use completion-in-buffer.
14613         * wid-edit.el (widget-field-text-end): New function.
14614         (widget-field-value-get): Use it.
14615         (widget-string-complete, widget-file-complete)
14616         (widget-color-complete): Use it and completion-in-region.
14617         (widget-complete): Don't narrow the buffer.
14619 2009-12-02  Glenn Morris  <rgm@gnu.org>
14621         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14622         (rmail-select-summary): Use rmail-pop-to-buffer.
14623         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14624         rmail-pop-to-buffer, to prevent horizontal splits.
14626         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14627         save-excursion with save-current-buffer.
14628         Widen before searching.  (Bug#5093)
14629         (diary-list-sexp-entries): Remove superfluous save-excursion.
14631 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14633         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14634         name.  (Bug#5038)
14636 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14638         * ido.el (ido-file-internal): Handle filenames at point that do
14639         not have a directory part.  (Bug#5049)
14641 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14643         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14644         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14646 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14648         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14649         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14650         any more.
14652 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14654         * comint.el (comint-insert-input): Ignore clicks to the right of
14655         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14657         * vc.el (vc-print-log-internal): Don't wait for the process to
14658         terminate before setting up the major mode.
14660         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14661         in case.
14663         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14664         the last element.
14666         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14668 2009-12-01  Glenn Morris  <rgm@gnu.org>
14670         * window.el (window--display-buffer-2): Fix previous changes.
14672 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14674         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14676 2009-12-01  Glenn Morris  <rgm@gnu.org>
14678         * Makefile.in (ELCFILES): Add mpc.elc.
14680 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14682         * mpc.el: New file.
14684 2009-12-01  Glenn Morris  <rgm@gnu.org>
14686         * window.el (window-to-use): Define for compiler.
14688         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14689         consistent with others (no final period).
14691         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14692         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
14694 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
14696         Make vc-print-log buttons work.
14697         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14699 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
14701         * savehist.el (savehist-autosave-interval): Allow setting to nil
14702         through customize.  (Bug#5056)
14704 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
14706         Fix references to jit-lock properties.
14707         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14708         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14709         (perl-font-lock-special-syntactic-constructs):
14710         Quote jit-lock-defer-multiline property.
14712 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
14714         * vc-git.el (vc-git-registered): Call vc-git-root only once.
14716 2009-11-30  Juri Linkov  <juri@jurta.org>
14718         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14719         value `buffer' of `multi-isearch-next-buffer-current-function'.
14720         Use `(current-buffer)' when `buffer' is nil.
14721         (multi-isearch-next-buffer-from-list): Don't fallback to
14722         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
14724 2009-11-30  Juri Linkov  <juri@jurta.org>
14726         * misearch.el (multi-isearch-read-buffers): Move canonicalization
14727         of buffers with `get-buffer' to `multi-isearch-buffers'.
14728         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14729         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
14730         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14731         FILES with `expand-file-name' converting relative file names
14732         to absolute.  Doc fix.  (Bug#4727)
14734 2009-11-30  Juri Linkov  <juri@jurta.org>
14736         * misearch.el (multi-isearch-read-buffers)
14737         (multi-isearch-read-matching-buffers): New functions.
14738         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14739         Use them in the `interactive' spec.  Doc fix.
14740         (multi-isearch-read-files, multi-isearch-read-matching-files):
14741         New functions.
14742         (multi-isearch-files, multi-isearch-files-regexp):
14743         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
14745 2009-11-30  Juri Linkov  <juri@jurta.org>
14747         * doc-view.el (doc-view-continuous):
14748         Rename from `doc-view-continuous-mode'.
14749         (doc-view-menu): Move "Toggle display" to the top.
14750         Add submenu "Continuous" with radio buttons "Off"/"On"
14751         and "Save as Default".
14752         (doc-view-scroll-up-or-next-page)
14753         (doc-view-scroll-down-or-previous-page)
14754         (doc-view-next-line-or-next-page)
14755         (doc-view-previous-line-or-previous-page):
14756         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
14758 2009-11-30  Juri Linkov  <juri@jurta.org>
14760         * comint.el (comint-mode-map): Rebind `M-r' from
14761         `comint-previous-matching-input' to
14762         `comint-history-isearch-backward-regexp'.
14763         Unbind `M-s' to allow global key binding `M-s'.
14764         Add menu items for `comint-history-isearch-backward' and
14765         `comint-history-isearch-backward-regexp'.  (Bug#3746)
14767 2009-11-30  Juri Linkov  <juri@jurta.org>
14769         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14770         For def=recenter, replace `recenter' with `recenter-top-bottom'
14771         that is called with `this-command' and `last-command' let-bound
14772         to `recenter-top-bottom'.  When the last `def' was not `recenter',
14773         set `recenter-last-op' to nil.  (Bug#4981)
14775 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14777         Minor cleanup and simplification.
14778         * filecache.el (file-cache-add-directory)
14779         (file-cache-add-directory-recursively)
14780         (file-cache-add-from-file-cache-buffer)
14781         (file-cache-delete-file-regexp, file-cache-delete-directory)
14782         (file-cache-files-matching-internal, file-cache-display): Use dolist.
14783         (file-cache-temp-minibuffer-message): Delete function.
14784         (file-cache-minibuffer-complete): Use minibuffer-message instead.
14786         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14787         Don't signal an error when bumping into EOB in tr, s, or y.
14789 2009-11-29  Juri Linkov  <juri@jurta.org>
14791         * startup.el (fancy-about-text): Fix wording of Guided Tour.
14792         (Bug#4960)
14794         * descr-text.el (describe-char-unidata-list): Use lowercase name
14795         for "Unicode name" like in other tags.
14797 2009-11-29  Juri Linkov  <juri@jurta.org>
14799         * ediff-util.el (ediff-minibuffer-with-setup-hook):
14800         New compatibility macro.
14801         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14803 2009-11-29  Juri Linkov  <juri@jurta.org>
14805         Add defcustom to define the cycling order of `recenter-top-bottom'.
14806         (Bug#4981)
14808         * window.el (recenter-last-op): Doc fix.
14809         (recenter-positions): New defcustom.
14810         (recenter-top-bottom): Rewrite to use `recenter-positions'.
14811         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14813 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
14815         Improve integration of Tramp and ange-ftp in eshell.
14817         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14818         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
14819         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
14821         * eshell/esh-util.el (top): Require also Tramp when compiling.
14822         (eshell-directory-files-and-attributes): Check for FTP remote
14823         connection.
14824         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14825         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14826         (eshell-file-attributes): Handle ".".  Return `entry'.
14828         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14829         (ange-ftp-directory-files-and-attributes)
14830         (ange-ftp-real-directory-files-and-attributes): New defuns.
14832         * net/tramp.el (tramp-maybe-open-connection): Open the remote
14833         shell with "exec" when possible.  This prevents trailing prompts
14834         in `start-file-process'.
14836 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14838         Try and remove assumptions about point-min==1.
14839         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14840         (rng-compute-mode-line-string): Show the validation percentage in
14841         terms of the narrowed text, not the widened text.
14842         (rng-do-some-validation): Don't catch internal errors when debugging.
14843         (rng-first-error): Simplify.
14844         (rng-after-change-function): Remove work around.  AFAIK the bug has
14845         been fixed a while ago.
14847         * image-mode.el (image-minor-mode): Exit more gracefully when the image
14848         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14850         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14852         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14853         `cd' doesn't always do it for us (bug#5067).
14855         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14856         on 2009-10-25 as part of some other change (bug#5067).
14858 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14860         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14861         `suspicious'.
14862         (byte-compile-warnings): Use byte-compile-warning-types.
14863         (byte-compile-save-excursion): Warn about use of set-buffer right
14864         after save-excursion.
14866         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14867         the excursion as well.
14869 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
14871         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14872         providing a Tramp related implementation of "su" and "sudo".
14873         (eshell-unix-initialize): Add "su" and "sudo".
14875 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
14877         * net/socks.el (socks-send-command): Convert binary request to
14878         unibyte before sending.  This fixes mishandling of some port
14879         numbers such as 129.
14881 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14883         * help.el (describe-bindings-internal): Remove `interactive'.
14885         * man.el (Man-completion-table): Trim a terminating "(".
14886         Remove the space between name page a section.
14887         Add the command's description on the `help-echo' property.
14888         Remove `process-connection-type' binding since it's unused by
14889         call-process.
14890         Provide completion for the "<section> <name>" format as well.
14891         (Man-default-man-entry): Remove spurious var shadowing the argument.
14893 2009-11-26  Kevin Ryde  <user42@zip.com.au>
14895         * log-view.el: Add "Keywords: tools", since its other keywords
14896         aren't in finder-known-keywords, and following vc.el.
14898         * sha1.el (sha1-string-external): default-directory "/" in case
14899         otherwise non-existent.  process-connection-type pipe for touch of
14900         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
14902 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14904         Misc coding convention cleanups.
14905         * htmlfontify.el (hfy-init-kludge-hook): Rename from
14906         hfy-init-kludge-hooks.
14907         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14908         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14909         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14910         and push.
14911         (hfy-slant, hfy-weight): Use tables rather than code.
14912         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14913         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14914         (hfy-face-attr-for-class): Initialize `face-spec' directly.
14915         (hfy-face-to-css): Remove `nconc' with single arg.
14916         (hfy-p-to-face-lennart): Use `or'.
14917         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
14918         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14919         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14920         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14921         (hfy-force-fontification): Use run-hooks.
14923 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
14925         Various minor fixes.
14926         * htmlfontify.el (hfy-default-header): Add toggle_invis since
14927         Javascript belongs in the header, not the body.
14928         (hfy-javascript): Remove.
14929         (hfy-fontify-buffer): Don't insert it any more.
14930         (hfy-face-at): Handle (face0 face1 face2) style face properties.
14931         Fix bug in invis handling when there were no invis props in a chunk.
14933 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14935         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14937 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
14939         * finder.el (finder-mode-map): Add a menu.
14941 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
14943         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14944         "unsigned" structs.
14946         (verilog-leap-to-head, verilog-backward-token): Handle "disable
14947         fork" statement better.
14949 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
14951         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14952         (verilog-delete-auto, verilog-delete-empty-auto-pair)
14953         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14954         Reported by Clay Douglass.
14956         (verilog-auto-inst, verilog-auto-star-safe)
14957         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14958         Fix removing "// Interfaces" when saving .* expansions.
14959         Reported by Pierre-David Pfister.
14961 2009-11-26  Glenn Morris  <rgm@gnu.org>
14963         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14964         the scope.
14966 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
14968         * vc-annotate.el (vc-annotate-revision-previous-to-line):
14969         Really use previous revision.
14971 2009-11-25  Kevin Ryde  <user42@zip.com.au>
14973         * man.el (Man-completion-table): default-directory "/" in case
14974         doesn't otherwise exist.  process-environment COLUMNS=999 so as
14975         not to truncate long names.  process-connection-type pipe to avoid
14976         any chance of hitting the pseudo-tty TIOCGWINSZ.
14977         (man): completion-ignore-case t for friendliness and since man
14978         itself is case-insensitive on the command line.
14979         Further to Bug#3717.
14981         * arc-mode.el: Add "Keywords: files", so the details in its
14982         commentary can be reached from finder-by-keyword.
14983         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
14984         editing mode, but it's comms related and sgml-mode.el has "comm"
14985         on that basis too.
14986         * textmodes/bibtex-style.el: Add "Keywords: tex".
14987         * international/isearch-x.el, international/ja-dic-cnv.el:
14988         * international/ja-dic-utl.el, international/kkc.el:
14989         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14991 2009-11-25  Juri Linkov  <juri@jurta.org>
14993         * man.el (Man-completion-table): Modify regexp to include
14994         section names to completion strings.  (Bug#3717)
14996 2009-11-25  Juri Linkov  <juri@jurta.org>
14998         Search recursively in gzipped files.  (Bug#4982)
15000         * progmodes/grep.el (grep-highlight-matches): Add new options
15001         `always' and `auto'.  Doc fix.
15002         (grep-process-setup): Check `grep-highlight-matches' for
15003         `auto-detect' to determine the need to compute grep defaults.
15004         Move Windows/DOS specific --colors settings handling
15005         to `grep-compute-defaults'.  Check `grep-highlight-matches'
15006         to get the value of "--color=".
15007         (grep-compute-defaults): Compute `grep-highlight-matches' when it
15008         has the value `auto-detect'.  Move Windows/DOS specific settings
15009         from `grep-process-setup'.
15010         (zrgrep): New command with alias `rzgrep'.
15012 2009-11-25  Juri Linkov  <juri@jurta.org>
15014         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15015         to nil instead of switching off view-mode.  (Bug#4896)
15017 2009-11-25  Juri Linkov  <juri@jurta.org>
15019         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
15021         * mwheel.el (mwheel-scroll-up-function)
15022         (mwheel-scroll-down-function): New defvars.
15023         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15024         `scroll-up', and `mwheel-scroll-down-function' instead of
15025         `scroll-down'.
15027         * doc-view.el (doc-view-scroll-up-or-next-page)
15028         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15029         Use this ARG in the call to image-scroll-up/image-scroll-down.
15030         Change `interactive' spec to "P".  Goto next/previous page only
15031         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15032         SPC/DEL case).  Doc fix.
15033         (doc-view-next-line-or-next-page)
15034         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15035         for consistency.
15036         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15037         `doc-view-scroll-up-or-next-page', and buffer-local
15038         `mwheel-scroll-down-function' to
15039         `doc-view-scroll-down-or-previous-page'.
15041 2009-11-25  Juri Linkov  <juri@jurta.org>
15043         Provide additional default values (directories at other Dired
15044         windows) via M-n in the minibuffer of some Dired commands.
15046         * dired-aux.el (dired-diff, dired-compare-directories)
15047         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15048         `minibuffer-default' in `minibuffer-with-setup-hook'.
15049         (dired-dwim-target-directory): Find a window that displays Dired
15050         buffer instead of failing when the next window is not Dired.
15051         Use `get-window-with-predicate' to find for the next Dired window.
15052         (dired-dwim-target-defaults): New function.
15054         * ediff-util.el (ediff-read-file-name):
15055         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15056         in `minibuffer-with-setup-hook'.
15058 2009-11-25  Juri Linkov  <juri@jurta.org>
15060         Provide additional default values (file name at point or at the
15061         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15063         * minibuffer.el (read-file-name-defaults): New function.
15064         (read-file-name): Reset `minibuffer-default' to nil when
15065         it duplicates initial input `insdef'.
15066         Bind `minibuffer-default-add-function' to lambda that
15067         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15068         (minibuffer-insert-file-name-at-point): New command.
15070         * files.el (file-name-at-point-functions): New defcustom.
15071         (find-file-default): Remove defvar.
15072         (find-file-read-args): Don't use `find-file-default'.
15073         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15074         to `read-file-name'.
15075         (find-file-literally): Use `read-file-name' with
15076         `confirm-nonexistent-file-or-buffer'.
15078         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15080         * dired.el (dired-read-dir-and-switches):
15081         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15082         to `read-file-name'.
15083         (dired-file-name-at-point): New function.
15084         (dired-mode): Add hook `dired-file-name-at-point' to
15085         `file-name-at-point-functions'.
15087 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15089         Really make the *Completions* window soft-dedicated (bug#5030).
15090         * window.el (window--display-buffer-2): Add `dedicated' argument.
15091         (display-buffer): Pass it when needed so the dedicated flag is set
15092         after calling set-window-buffer, which would otherwise reset it.
15094 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15096         * progmodes/meta-mode.el (meta-complete-symbol):
15097         * progmodes/etags.el (complete-tag):
15098         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15099         Use completion-in-region.
15101         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15102         (dabbrev-completion): Use completion-in-region.
15103         (dabbrev--abbrev-at-point): Simplify regexp.
15105         * abbrev.el (abbrev--before-point): Use word-motion functions
15106         if :regexp is not specified (bug#5031).
15108         * subr.el (string-prefix-p): New function.
15110         * man.el (Man-completion-cache): New var.
15111         (Man-completion-table): Use it.
15113         * vc.el (vc-print-log-internal): Make `limit' optional for better
15114         compatibility (e.g. with vc-annotate.el).
15116 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15118         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15119         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15121         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15122         when .el source file not found or other error.
15124 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15126         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15128 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15130         Handle the [back] button properly (bug#4979).
15131         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15132         Use help-setup-xref, help-buffer, and with-help-window.
15133         (describe-char): Add `buffer' argument.
15134         Pass proper command to help-setup-xref.  Don't meddle with
15135         help-xref-stack-item directly.
15136         (describe-text-category): Use with-help-window and help-buffer.
15138         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15139         for the displayed buffer (bug#4887).
15141         * man.el (Man-completion-table): New function.
15142         (man): Use it.
15144 2009-11-24  David Reitter  <david.reitter@gmail.com>
15146         * vc-git.el (vc-git-registered): Use checkout directory (where
15147         .git is) rather than the file's directory and a relative path spec
15148         to work around a bug in git.
15150 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15152         Improve handling of processes on remote hosts.
15154         * eshell/esh-util.el (eshell-path-env): New defvar.
15155         (eshell-parse-colon-path): New defun.
15156         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15158         * eshell/esh-ext.el (eshell-search-path):
15159         Use `eshell-parse-colon-path'.
15160         (eshell-remote-command): Remove argument HANDLER.
15161         (eshell-external-command): Check for FTP remote connection.
15163         * eshell/esh-proc.el (eshell-gather-process-output):
15164         Use `file-truename', in order to start also symlinked files.
15165         Apply `start-file-process' instead of `start-process'.
15166         Shorten `command' to the local file name part.
15168         * eshell/em-cmpl.el (eshell-complete-commands-list):
15169         Use `eshell-parse-colon-path'.
15171         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15173         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15174         to `eshell-directory-change-hook'.
15176 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15178         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15179         because it could be enabled automatically if view-read-only is non-nil.
15181 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15183         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15184         made on 2009-11-22.
15186 2009-11-24  Glenn Morris  <rgm@gnu.org>
15188         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15189         deleted variable bookmark-bmenu-bookmark-column.
15191 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15193         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15195 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15197         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15198         two slashes to the "file:" prefix.
15199         (browse-url-file-url): De-munge Cygwin filenames before passing
15200         them to Windows browser.
15201         (browse-url-default-windows-browser): Use call-process.
15203 2009-11-23  Juri Linkov  <juri@jurta.org>
15205         Implement DocView Continuous mode.  (Bug#4896)
15206         * doc-view.el (doc-view-continuous-mode): New defcustom.
15207         (doc-view-mode-map): Bind C-n/<down> to
15208         `doc-view-next-line-or-next-page', C-p/<up> to
15209         `doc-view-previous-line-or-previous-page'.
15210         (doc-view-next-line-or-next-page)
15211         (doc-view-previous-line-or-previous-page): New commands.
15213 2009-11-23  Juri Linkov  <juri@jurta.org>
15215         Implement Isearch in comint input history.  (Bug#3746)
15216         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15217         `isearch-mode-hook'.
15218         (comint-history-isearch): New defcustom.
15219         (comint-history-isearch-backward)
15220         (comint-history-isearch-backward-regexp): New commands.
15221         (comint-history-isearch-message-overlay): New buffer-local variable.
15222         (comint-history-isearch-setup, comint-history-isearch-end)
15223         (comint-goto-input, comint-history-isearch-search)
15224         (comint-history-isearch-message, comint-history-isearch-wrap)
15225         (comint-history-isearch-push-state)
15226         (comint-history-isearch-pop-state): New functions.
15228 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15230         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15231         return.
15232         (tramp-handle-make-symbolic-link)
15233         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15234         Quote file names.
15235         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15236         (tramp-handle-process-file): Use it.
15238 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15240         * window.el (move-to-window-line-last-op): Remove.
15241         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15243 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15245         Make M-r mirror the new cycling behavior of C-l.
15246         * window.el (move-to-window-line-last-op): New var.
15247         (move-to-window-line-top-bottom): New command.
15248         (global-map): Bind M-r move-to-window-line-top-bottom.
15250 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15252         * dired-x.el (dired-guess-shell-alist-default):
15253         Support xz format.  (Bug#4953)
15255 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15257         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15258         last-command-char/last-command-event.
15259         (viper-prefix-arg-value): Do correct conversion of event-char for
15260         XEmacs.
15262         * emulation/viper-util.el, emulation/viper.el:
15263         Use viper-last-command-char instead of
15264         last-command-char/last-command-event.
15266         * ediff-init.el, ediff-mult.el, ediff-util.el:
15267         Replace last-command-char and last-command-event
15268         with (ediff-last-command-char) everywhere.
15270         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15271         created in fundamental mode.
15273         * ediff.el (ediff-version): Revert the change of interactive-p to
15274         called-interactively-p.
15276 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15278         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15279         generation from word-movement command names.
15281 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15283         * cus-start.el (all): Add native condition for font-use-system-font.
15285 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15287         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15288         Correct the patch from 2009-11-18.  (Bug#3910)
15290 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15292         * progmodes/subword.el: Rename from lisp/subword.el.
15294         * subword.el: Rename to progmodes/subword.el.
15296         * Makefile.in (ELCFILES): Adapt to subword.el move.
15298 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15299             Stefan Monnier  <monnier@iro.umontreal.ca>
15301         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15302         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15303         (bookmark-bmenu-show-filenames): Use push.
15304         (bookmark-bmenu-hide-filenames): Use local var instead of
15305         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15306         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15307         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15308         filenames now that the bookmark names are always available.
15310 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15312         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15313         (bookmark-search-pattern): Move and leave unbound.
15314         (bookmark-bmenu-mode-map): Change binding.
15315         (bookmark-read-search-input): Simplify.
15316         Don't use text-char-description.  Don't error on non-char events.
15317         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15318         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15319         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15320         Use a local var for the timer.
15321         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15322         (i.e. bookmark-bmenu-search).
15324 2009-11-21  Glenn Morris  <rgm@gnu.org>
15326         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15328 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15330         * net/browse-url.el (browse-url-default-windows-browser):
15331         Use cygstart for cygwin.
15333 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15335         * bookmark.el: Formatting and doc fixes only:
15336         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15337         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15338         Minor grammar and punctuation fixes in doc string.
15339         (bookmark-read-search-input): Adjust to fit within 80 columns.
15341 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15343         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15344         (c-backward-into-nomenclature): Adapt to subword renaming.
15346         * subword.el (subword-forward, subword-backward, subword-mark)
15347         (subword-kill, subword-backward-kill, subword-transpose)
15348         (subword-downcase, subword-upcase, subword-capitalize)
15349         (subword-forward-internal, subword-backward-internal):
15350         Rename from forward-subword, backward-subword, mark-subword,
15351         kill-subword, backward-kill-subword, transpose-subwords,
15352         downcase-subword, upcase-subword, capitalize-subword,
15353         forward-subword-internal, backward-subword-internal.
15355 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15357         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15358         New options.
15359         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15360         New vars.
15361         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15362         (bookmark-bmenu-filter-alist-by-regexp)
15363         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15364         (bookmark-bmenu-search): New command.
15365         (bookmark-bmenu-mode-map): Bind it.
15367 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15369         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15370         backward-subword to quit the byte-compiler.
15372         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15374         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15376         * progmodes/cc-cmds.el (c-update-modeline)
15377         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15378         Refer to subword.el functions instead of cc-subword.el.
15380         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15381         subword.el functions instead of cc-subword.el.
15383         * progmodes/cc-subword.el: Rename to subword.el.
15384         * subword.el: Rename from progmodes/cc-subword.el.
15385         (subword-mode-map): Rename from c-subword-mode-map.
15386         (subword-mode): Rename from c-subword-mode.
15387         (global-subword-mode): New global minor mode.
15388         (forward-subword): Rename from c-forward-subword.
15389         (backward-subword): Rename from c-backward-subword.
15390         (mark-subword): Rename from c-mark-subword.
15391         (kill-subword): Rename from c-kill-subword.
15392         (backward-kill-subword): Rename from c-backward-kill-subword.
15393         (transpose-subwords): Rename from c-tranpose-subword.
15394         (downcase-subword): Rename from c-downcase-subword.
15395         (capitalize-subword): Rename from c-capitalize-subword.
15396         (forward-subword-internal): Rename from c-forward-subword-internal.
15397         (backward-subword-internal): Rename from c-backward-subword-internal.
15399 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15401         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15402         from a dired buffer.
15403         (vc-dired-deduce-fileset): New function.
15404         (vc-root-diff, vc-print-root-log): Use it.
15406         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15407         nil LIMIT argument to vc-print-log-internal.
15409 2009-11-20  Glenn Morris  <rgm@gnu.org>
15411         * Makefile.in (ELCFILES): Regenerate.
15413 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15415         * calc/calc.el (calc-set-mode-line):
15416         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15417         (math-format-number): Rename `math-format-complement-signed' to
15418         `math-format-twos-complement'.
15420         * calc/calc-bin.el (math-format-twos-complement): Rename from
15421         math-format-complement-signed.
15422         (calc-radix): Rename `calc-complement-signed-mode' to
15423         `calc-twos-complement-mode'.
15424         (calc-octal-radix, calc-hex-radix): Add an argument for
15425         two's complement.
15427         * calc/calc-embed.el (calc-embedded-mode-vars):
15428         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15430         * calc/calc-ext.el (calc-init-extensions):
15431         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15432         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15434         * calc/calc-units.el (math-build-units-table-buffer):
15435         Let `calc-twos-complement-mode' be nil.
15437         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15438         entries.
15440         * calc/calc-vec.el (calcFunc-vunpack):
15441         * calc/calc-aent.el (calc-do-calc-eval):
15442         * calc/calc-forms.el (math-format-date):
15443         * calc/calc-graph.el (calc-graph-plot):
15444         * calc/calc-math.el (math-use-emacs-fn):
15445         * calc/calccomp.el (math-compose-expr):
15446         Let `calc-twos-complement-mode' be nil.
15448 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15450         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15451         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15452         * minibuffer.el (completion-in-region-functions): New hook.
15453         (completion-in-region): New function.
15454         * emacs-lisp/lisp.el (lisp-complete-symbol):
15455         * pcomplete.el (pcomplete-std-complete): Use it.
15457 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15459         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15460         (latex-complete-alist): New vars.
15461         (latex-string-prefix-p, latex-complete-bibtex-keys)
15462         (latex-complete-envnames, latex-complete-refkeys)
15463         (latex-complete-data): New functions.
15464         (latex-complete, latex-indent-or-complete): New commands.
15466         * window.el (display-buffer-mark-dedicated): New var.
15467         (display-buffer): Obey it.
15468         * minibuffer.el (minibuffer-completion-help): Use it.
15470         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15472         * filecache.el (file-cache-add-file): Use push and cons.
15473         (file-cache-delete-file-regexp): Use push.
15474         (file-cache-complete): Use completion-in-region.
15476         * simple.el (with-wrapper-hook): Fix thinko.
15478         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15479         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15480         Use with-current-buffer and string-to-number.
15481         (hfy-fallback-colour-values): Use assoc-string.
15482         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15483         (hfy-face-at): Remove unused var `found-face'.
15484         (hfy-compile-stylesheet): Remove unused var `css'.
15485         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15486         and `orig-buffer'.
15487         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15488         Use with-current-buffer.
15489         (hfy-text-p): Use expand-file-name and fewer setq.
15491 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15493         * htmlfontify.el, hfy-cmap.el: New files.
15495 2009-11-19  Juri Linkov  <juri@jurta.org>
15497         * minibuffer.el (completions-format): New defcustom.
15498         (completion--insert-strings): Implement vertical format.
15500         * simple.el (switch-to-completions): Move point to the first
15501         completion when point was at the beginning of the buffer.
15503 2009-11-19  Juri Linkov  <juri@jurta.org>
15505         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15507         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15509 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15511         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15512         (mail-signature): Change default to t.
15513         (mail-from-style): Deprecate `system-default' value.
15514         (mail-insert-from-field): For default value of mail-from-style,
15515         default to `angles' unless `angles' needs quoting and `parens'
15516         does not.
15517         (mail-citation-prefix-regexp): Use citation regexp from
15518         message-mode.
15520 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15522         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15523         Set variables for computing the prompt for reading password.
15525 2009-11-19  Glenn Morris  <rgm@gnu.org>
15527         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15529         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15531         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15532         (newsticker-treeview-listwindow-height): Fix custom type.
15534 2009-11-19  Kenichi Handa  <handa@m17n.org>
15536         * descr-text.el (describe-char-padded-string): Compose with TAB
15537         only if there's a font for CH.
15538         (describe-char): Fix the condition for detecting a trivial composition.
15540 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15542         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15543         more accurate version of the regexp.  (Bug#3910)
15545 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15547         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15549 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15551         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15552         (font-setting-change-default-font): Fix typo in docstring.
15554 2009-11-18  Alan Mackenzie  <acm@muc.de>
15556         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15558 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15560         * font-setting.el (font-use-system-font): Move ...
15562         * cus-start.el (all): ... to here.
15564 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15566         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15567         Don't set `ad-return-value' if `ad-do-it' doesn't.
15569         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15570         modification time.
15572 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15574         * menu-bar.el: Put "Use system font" in Option-menu.
15575         (menu-bar-options-save): Add font-use-system-font.
15577         * loadup.el: If feature system-font-setting or font-render-setting is
15578         there, load font-setting.
15580         * Makefile.in (ELCFILES): Add font-settings.el.
15581         * font-setting.el: New file.
15583 2009-11-17  Glenn Morris  <rgm@gnu.org>
15585         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15587         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15588         Preserve point in the list buffer.  (Bug#4939)
15589         Use point-at-eol.
15590         (newsticker--treeview-list-update-highlight)
15591         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15593 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15595         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15596         Remove.
15598         * calc/calc-ext.el (calc-init-extensions): Remove references to
15599         symclip.
15601         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15603         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15604         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15605         `calc-symclip'.
15607 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15609         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15610         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15612         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15613         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15614         Ignore trailing spaces by omit-nulls to split-string (fixing
15615         regression from Emacs 21 due to the incompatible split-string
15616         change).  (Bug #4928.)
15618 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15620         * vc.el (vc-log-show-limit): Default to 2000.
15621         (vc-print-log-internal): Insert buttons to request more entries
15622         when limiting the output.
15624         * vc-sccs.el (vc-sccs-print-log):
15625         * vc-rcs.el (vc-rcs-print-log):
15626         * vc-cvs.el (vc-cvs-print-log):
15627         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15628         LIMIT is non-nil.
15630 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15632         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15633         error when `tramp-gvfs-dbus-event-vector' is set.
15634         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15636 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15638         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15640 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15642         * net/dbus.el (dbus-unregister-service): New defun.
15643         (dbus-register-property): Register the handlers of
15644         "org.freedesktop.DBus.Properties" for SERVICE.
15645         (dbus-property-handler): Fix docstring.
15647 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15649         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15650         Quote doc string reference in defvaralias as it is not in special form.
15651         (byte-compile-output-docform): Doc fix.
15653 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15655         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15656         (calc-complement-signed-mode): New variables.
15657         (calc-set-mode-line): Add indicator for twos-complements.
15658         (math-format-number): Format twos-complement notation.
15660         * calc/calc-bin.el (calc-word-size): Reset the variables
15661         `math-2-word-size' and `math-half-2-word-size'.
15662         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15663         (calc-symclip): New functions.
15665         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15667         * calc/calc-embed.el (calc-embedded-mode-vars):
15668         Add `calc-complement-signed-mode' to the list of modes.
15670         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15671         (calc-b-oper-keys): Add `calc-symclip' to list.
15673         * calc/calc-ext.el (math-read-number-fancy): Read complement
15674         signed numbers.
15675         (calc-init-extensions): Add binding for `calc-symclip'.
15676         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15678         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15679         `calc-symclip'.
15680         (calc-modes-menu): Add item for twos complement mode.
15682         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15684 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15686         * register.el (jump-to-register, insert-register): Handle Semantic
15687         tags.  From commented-out advice in semantic/senator.el.
15689 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
15691         * vc.el (vc-log-show-limit): New variable.
15692         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
15693         when using a prefix argument.
15694         (vc-print-log-internal): Add new argument LIMIT.
15696         * vc-svn.el (vc-svn-print-log):
15697         * vc-mtn.el (vc-mtn-print-log):
15698         * vc-hg.el (vc-hg-print-log):
15699         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15700         pass it to the log command when set.  Make the BUFFER argument
15701         non-optional.
15703         * vc-sccs.el (vc-sccs-print-log):
15704         * vc-rcs.el (vc-rcs-print-log):
15705         * vc-git.el (vc-git-print-log):
15706         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15707         ignore it.  Make the BUFFER argument non-optional
15709         * bindings.el (mode-line-buffer-identification): Do not purecopy.
15711 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15713         * dired.el (dired-mode-map): Move encryption items to "Operate"
15714         menu (Bug#4703).
15716         * strokes.el (strokes-update-window-configuration): Make strokes
15717         buffer current before erasing (Bug#4906).
15719 2009-11-15  Juri Linkov  <juri@jurta.org>
15721         * simple.el (set-mark-default-inactive): Add :type, :group
15722         and :version.  (Bug#4876)
15724 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
15726         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15727         (archive-unique-fname): ... here.  (Bug#4929)
15729 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15731         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15732         with a real fix.
15734         * novice.el (disabled-command-function): Add useful args.
15735         Setup the help buffer so that [back] works.
15736         Remove redundant call to help-mode.
15737         (disabled-command-function): Use `case'.
15738         (en/disable-command): New function extracted from enable-command.
15739         (enable-command, disable-command): Use it.
15741 2009-11-14  Glenn Morris  <rgm@gnu.org>
15743         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15744         constants.  (Bug#4913)
15746         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15748 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
15750         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15751         defined in C that have no doc-strings.  (Bug#1063)
15753 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
15755         * cus-edit.el (data, files):
15756         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
15758 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
15760         * simple.el (shell-command): Doc fix (Bug#4891).
15762         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15764 2009-11-14  Glenn Morris  <rgm@gnu.org>
15766         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15767         statements for vc-diff, emerge-quit, and rmail-cease-edit.
15768         If they are already loaded, eval-after-load will do the right thing.
15770         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15771         compiling.
15773         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15775         * simple.el (x-selection-owner-p): Declare.
15776         (read-mail-command): Use custom radio type rather than choice.
15777         (completion-no-auto-exit): Doc fix.
15779         * custom.el (defgroup):
15780         * epg-config.el (epg): Doc fixes.
15782 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
15784         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15785         * international/ccl.el (define-ccl-program): Do not purecopy the
15786         docstring, defconst does it anyway.
15788 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15790         * add-log.el (add-change-log-entry): Avoid displaying the changelog
15791         a second time.
15793         * x-dnd.el (x-dnd-maybe-call-test-function):
15794         * window.el (split-window-vertically):
15795         * whitespace.el (whitespace-help-on):
15796         * vc-rcs.el (vc-rcs-consult-headers):
15797         * userlock.el (ask-user-about-lock-help)
15798         (ask-user-about-supersession-help):
15799         * type-break.el (type-break-force-mode-line-update):
15800         * time-stamp.el (time-stamp-conv-warn):
15801         * terminal.el (te-set-output-log, te-more-break, te-filter)
15802         (te-sentinel, terminal-emulator):
15803         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15804         (term-write-input-ring, term-check-source, term-start-output-log):
15805         (term-display-buffer-line, term-dynamic-list-completions):
15806         (term-ansi-make-term, serial-term):
15807         * subr.el (selective-display):
15808         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15809         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15810         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15811         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15812         (speedbar-remove-localized-speedbar-support)
15813         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15814         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15815         (speedbar-buffers-line-directory):
15816         * simple.el (shell-command-on-region, append-to-buffer)
15817         (prepend-to-buffer):
15818         * shadowfile.el (shadow-save-todo-file):
15819         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15820         (scroll-bar-maybe-set-window-start):
15821         * sb-image.el (speedbar-image-dump):
15822         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15823         (load-save-place-alist-from-file):
15824         * ps-samp.el (ps-print-message-from-summary):
15825         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15826         (ps-background-image, ps-begin-job, ps-do-despool):
15827         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15828         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15829         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15830         (pr-call-process, pr-file-list, pr-interface-save):
15831         * novice.el (disabled-command-function)
15832         (enable-command, disable-command):
15833         * mouse.el (mouse-buffer-menu-alist):
15834         * mouse-copy.el (mouse-kill-preserving-secondary):
15835         * macros.el (kbd-macro-query):
15836         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15837         * informat.el (batch-info-validate):
15838         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15839         * hippie-exp.el (try-expand-dabbrev-visible):
15840         * help-mode.el (help-make-xrefs):
15841         * help-fns.el (describe-variable):
15842         * generic-x.el (bat-generic-mode-run-as-comint):
15843         * finder.el (finder-mouse-select):
15844         * find-dired.el (find-dired-sentinel):
15845         * filesets.el (filesets-file-close):
15846         * files.el (list-directory):
15847         * faces.el (list-faces-display, describe-face):
15848         * facemenu.el (list-colors-display):
15849         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15850         * epg.el (epg--process-filter, epg-cancel):
15851         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15852         (epa--read-signature-type):
15853         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15854         (emerge-file-names):
15855         * ehelp.el (electric-helpify):
15856         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15857         * ediff-vers.el (rcs-ediff-view-revision):
15858         * ediff-util.el (ediff-setup):
15859         * ediff-mult.el (ediff-append-custom-diff):
15860         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15861         (ediff-wordify):
15862         * echistory.el (Electric-command-history-redo-expression):
15863         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15864         * disp-table.el (describe-display-table):
15865         * dired.el (dired-find-buffer-nocreate):
15866         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15867         * dabbrev.el (dabbrev--same-major-mode-p):
15868         * chistory.el (list-command-history):
15869         * apropos.el (apropos-documentation):
15870         * allout.el (allout-obtain-passphrase):
15871         (allout-copy-exposed-to-buffer):
15872         (allout-verify-passphrase): Use with-current-buffer.
15874 2009-11-13  Glenn Morris  <rgm@gnu.org>
15876         * Makefile.in (ELCFILES): Regenerate.
15878 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
15880         * net/dbus.el (dbus-registered-objects-table): Rename from
15881         `dbus-registered-functions-table', because it contains also properties.
15882         (dbus-unregister-object): Unregister also properties.
15883         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15884         Use a timeout of 500 msec, in order to not block.
15885         (dbus-register-property, dbus-property-handler): New defuns.
15887 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15889         * simple.el (minibuffer-default-add-completions): Drop deprecated
15890         4th arg.
15892 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
15894         * textmodes/artist.el (artist-mouse-choose-operation):
15895         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15896         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15897         (artist-compute-up-event-key): New function.
15898         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15900 2009-11-13  Kenichi Handa  <handa@m17n.org>
15902         * language/japan-util.el: Make sure that the value of jisx0208
15903         property is jisx0208 character.
15905 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
15907         * international/mule.el (auto-coding-regexp-alist): Only purecopy
15908         car or each item, not the whole list.
15910 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15912         * minibuffer.el (minibuffer-completion-help):
15913         Use minibuffer-hide-completions.
15915 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
15917         * dired.el (dired-save-positions, dired-restore-positions): New funs.
15918         (dired-revert): Use them (bug#4880).
15920 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15922         * tooltip.el (tooltip-frame-parameters): Undo previous change.
15924 2009-11-12  Juri Linkov  <juri@jurta.org>
15926         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15927         New functions.
15928         (find-file-literally-at-point): Alias of `ffap-literally'.
15930 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15932         * textmodes/ispell.el (ispell-skip-region-alist):
15933         * textmodes/css-mode.el (auto-mode-alist):
15934         * progmodes/compile.el (auto-mode-alist):
15935         * international/mule.el (ctext-non-standard-encodings-alist)
15936         (ctext-non-standard-encodings-regexp):
15937         * simple.el (shell-command-switch, text-read-only):
15938         * replace.el (occur-mode-map):
15939         * paths.el (rmail-file-name):
15940         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15941         * find-file.el (ff-special-constructs):
15942         * files.el (file-name-handler-alist):
15943         * composite.el: Purecopy strings.
15945         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15947 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15949         * widget.el (define-widget): Purecopy the docstring.
15950         * international/mule-cmds.el (charset): Do not purecopy the
15951         docstring here, define-widget does it.
15953         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15954         * textmodes/bibtex-style.el (auto-mode-alist):
15955         * progmodes/inf-lisp.el (inferior-lisp-prompt):
15956         * progmodes/compile.el (compile-command):
15957         * language/korea-util.el (default-korean-keyboard):
15958         * international/mule-conf.el (file-coding-system-alist):
15959         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15960         * tooltip.el (tooltip-frame-parameters):
15961         * newcomment.el (comment-end, comment-padding):
15962         * dired.el (dired-trivial-filenames):
15963         * comint.el (comint-file-name-prefix): Purecopy initial values.
15965 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
15967         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15968         (tramp-advice-minibuffer-electric-tilde): Unload advices via
15969         `tramp-unload'.
15970         (tramp-advice-make-auto-save-file-name)
15971         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15972         after removing the advice.
15974 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15976         * progmodes/grep.el (grep-regexp-alist):
15977         * international/mule-cmds.el (iso-2022-control-alist):
15978         * emacs-lisp/timer.el (timer-duration-words):
15979         * subr.el (version-separator, version-regexp-alist):
15980         * minibuffer.el (completion-styles-alist):
15981         * faces.el (face-attribute-name-alist, list-faces-sample-text):
15982         Change defvars to defconsts.
15984         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15985         * loadup.el ("international/mule-conf"): Load the byte compiled version.
15986         * international/mule-conf.el: Allow to be byte compiled.
15988         * international/mule.el (define-charset): Purecopy props.
15989         (load-with-code-conversion): Purecopy doc string and file name.
15990         (put-charset-property): Purecopy strings.
15991         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15993         * international/mule-cmds.el (register-input-method): Purecopy arguments.
15994         (define-char-code-property): Correctly purecopy the table.
15996         * international/ccl.el (define-ccl-program): Purecopy the docstring.
15998         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16000         * subr.el (add-hook): Purecopy strings.
16001         (eval-after-load): Purecopy load-history-regexp and the form.
16003         * custom.el (custom-declare-group): Purecopy load-file-name.
16005         * subr.el (menu-bar-separator): New defconst.
16006         * net/eudc.el (eudc-tools-menu):
16007         * international/mule-cmds.el (set-coding-system-map)
16008         (mule-menu-keymap):
16009         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16010         * vc-hooks.el (vc-menu-map):
16011         * replace.el (occur-mode-map):
16012         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16013         (menu-bar-edit-menu, menu-bar-goto-menu)
16014         (menu-bar-custom-menu, menu-bar-showhide-menu)
16015         (menu-bar-options-menu, menu-bar-tools-menu)
16016         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16017         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16018         (menu-bar-help-menu):
16019         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16020         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16022         * term/x-win.el (x-gtk-stock-map):
16023         * progmodes/vera-mode.el (auto-mode-alist):
16024         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16025         (inferior-lisp-program, inferior-lisp-load-command):
16026         * progmodes/hideshow.el (hs-special-modes-alist):
16027         * progmodes/gud.el (same-window-regexps):
16028         * progmodes/grep.el (grep-program, find-program, xargs-program):
16029         * net/telnet.el (same-window-regexps):
16030         * net/rlogin.el (same-window-regexps):
16031         * language/ethiopic.el (font-ccl-encoder-alist):
16032         * vc-sccs.el (vc-sccs-master-templates):
16033         * vc-rcs.el (vc-rcs-master-templates):
16034         * subr.el (cl-assertion-failed):
16035         * simple.el (next-error-overlay-arrow-position):
16036         * lpr.el (lpr-command):
16037         * locate.el (locate-ls-subdir-switches):
16038         * info.el (same-window-regexps, info)
16039         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16040         * image-mode.el (image-mode, auto-mode-alist):
16041         * hippie-exp.el (hippie-expand-ignore-buffers):
16042         * format.el (format-alist):
16043         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16044         (find-name-arg):
16045         * facemenu.el (facemenu-keybindings):
16046         * dired.el (dired-listing-switches, dired-chown-program):
16047         * diff.el (diff-switches, diff-command):
16048         * cus-edit.el (same-window-regexps):
16049         * bindings.el (mode-line-mule-info)
16050         (mode-line-buffer-identification): Purecopy strings.
16052 2009-11-11  Juri Linkov  <juri@jurta.org>
16054         * simple.el (dired-get-filename) <declare-function>:
16055         Tell the byte-compiler about dired-get-filename.
16056         (shell-command): In Dired mode, get filename from the current line
16057         as the default value.
16059 2009-11-10  Glenn Morris  <rgm@gnu.org>
16061         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16062         * calendar/holidays.el, progmodes/cperl-mode.el:
16063         Update x-popup-menu declarations.
16065         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16066         (list-load-path-shadows): Use dolist.
16067         (list-load-path-shadows): Use with-current-buffer.
16069 2009-11-10  Juri Linkov  <juri@jurta.org>
16071         * minibuffer.el (read-file-name): Support a list of default values
16072         in `default-filename'.  Use the first file name where only one
16073         element is required.  Doc fix.
16075 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16077         * net/dbus.el (dbus-unregister-object): Release service, if no
16078         other method is registered for it.
16080 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16082         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16083         bookmark-sort-flag is non-nil (Bug#4653).
16085 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16087         * emulation/cua-base.el: Add CUA property to some CC mode commands
16088         (Bug#4100).
16090 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16092         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16093         at end of sentence (Bug#4818).
16095 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16097         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16098         Handle "see declaration of" MSFT statements (Bug#4100).
16100 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16102         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16103         (tramp-advice-file-expand-wildcards): Unload via
16104         `ad-remove-advice'.
16106         * net/trampver.el: Update release number.
16108 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16110         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16111         `ad-do-it'.
16113 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16115         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16116         in order to keep context in SELinux.
16118 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16120         * dired-aux.el (dired-query): Place cursor in echo area and allow
16121         C-g.
16123         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16124         menu item if not on a directory (Bug#4701).
16126 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16128         Sync with Tramp 2.1.17.
16130         * net/tramp.el (tramp-handle-copy-directory): Don't use
16131         `file-remote-p' (due to compatibility).
16133         * net/tramp-compat.el (tramp-compat-copy-directory)
16134         (tramp-compat-delete-directory): New defuns.
16136         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16137         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16138         Use `tramp-compat-delete-directory'.
16140         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16141         (tramp-smb-handle-delete-directory):
16142         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16144         * net/trampver.el: Update release number.
16146 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16148         * tar-mode.el (tar-copy): Call write-region on the right buffer
16149         (Bug#4857).
16151         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16152         by hand, if necessary (Bug#4878).
16154 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16156         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16157         align size column (Bug#4839).
16159         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16160         statement.
16162 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16164         * progmodes/ld-script.el (auto-mode-alist):
16165         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16167         * cus-face.el (custom-declare-face): Purecopy face spec.
16169 2009-11-06  Kenichi Handa  <handa@m17n.org>
16171         * international/uni-bidi.el: Re-generated.
16172         * international/uni-category.el: Re-generated.
16173         * international/uni-combining.el: Re-generated.
16174         * international/uni-mirrored.el: Re-generated.
16176 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16178         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16179         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16180         (tex-start-options, slitex-run-command, latex-run-command)
16181         (tex-run-command, tex-directory):
16182         * textmodes/ispell.el (ispell-html-skip-alists)
16183         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16184         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16185         (adaptive-fill-regexp):
16186         * textmodes/dns-mode.el (auto-mode-alist):
16187         * progmodes/python.el (interpreter-mode-alist):
16188         * progmodes/etags.el (tags-compression-info-list):
16189         * progmodes/etags.el (tags-file-name):
16190         * net/browse-url.el (browse-url-galeon-program)
16191         (browse-url-firefox-program):
16192         * mail/sendmail.el (mail-signature-file)
16193         (mail-citation-prefix-regexp):
16194         * international/mule-conf.el (eight-bit):
16195         * international/latexenc.el (latex-inputenc-coding-alist):
16196         * international/fontset.el (x-pixel-size-width-font-regexp):
16197         * emacs-lisp/warnings.el (warning-type-format):
16198         * emacs-lisp/trace.el (trace-buffer):
16199         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16200         (emacs-lisp-mode-map):
16201         * calendar/holidays.el (holiday-solar-holidays)
16202         (holiday-bahai-holidays, holiday-islamic-holidays)
16203         (holiday-christian-holidays, holiday-hebrew-holidays)
16204         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16205         (hebrew-holidays-1, holiday-oriental-holidays)
16206         (holiday-general-holidays):
16207         * x-dnd.el (x-dnd-known-types):
16208         * tool-bar.el (tool-bar):
16209         * startup.el (site-run-file):
16210         * shell.el (shell-dumb-shell-regexp):
16211         * rfn-eshadow.el (file-name-shadow-tty-properties)
16212         (file-name-shadow-properties):
16213         * paths.el (remote-shell-program, news-directory):
16214         * mouse.el ([C-down-mouse-3]):
16215         * menu-bar.el (menu-bar-tools-menu):
16216         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16217         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16218         (jka-compr-compression-info-list):
16219         * isearch.el (search-whitespace-regexp):
16220         * image-file.el (image-file-name-extensions):
16221         * find-dired.el (find-ls-option):
16222         * files.el (directory-listing-before-filename-regexp)
16223         (directory-free-space-args, insert-directory-program)
16224         (list-directory-brief-switches, magic-fallback-mode-alist)
16225         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16226         (automount-dir-prefix):
16227         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16228         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16229         (face-font-registry-alternatives, face-font-registry-alternatives)
16230         (face-font-family-alternatives):
16231         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16232         (facemenu-foreground-menu, facemenu-face-menu):
16233         * epa-hook.el (epa-file-name-regexp):
16234         * dnd.el (dnd-protocol-alist):
16235         * textmodes/rst.el (auto-mode-alist):
16236         * button.el (default-button): Purecopy strings.
16238 2009-11-06  Glenn Morris  <rgm@gnu.org>
16240         * Makefile.in (ELCFILES): Update.
16242 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16244         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16245         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16247         * nxml/xsd-regexp.el (xsdre-gen-categories):
16248         * nxml/xmltok.el (xmltok-parse-entity):
16249         * nxml/rng-parse.el (rng-parse-validate-file):
16250         * nxml/rng-maint.el (rng-format-manual)
16251         (rng-manual-output-force-new-line):
16252         * nxml/rng-loc.el (rng-save-schema-location-1):
16253         * nxml/rng-cmpct.el (rng-c-parse-file):
16254         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16255         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16257 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16259         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16260         Remove extra save-excursions and make-variable-buffer-local's.
16261         Suggested by Stefan Monnier.
16263         (verilog-getopt-file, verilog-module-inside-filename-p)
16264         (verilog-set-define): Merge GNU 1.35 and repair changes from
16265         switching to using with-current-buffer.
16267         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16268         being treated as a number and confusing AUTORESET.
16269         Reported by Dan Dever.
16271         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16272         Add verilog-auto-ignore-concat to fix backward compatibility with
16273         older verilog-modes.  Reported by Dan Katz.
16275         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16276         containing closing anchors "...$".
16278         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16279         Reported by Wade Smith.
16281         (verilog-batch-execute-func): Comment on function usage.
16283 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16285         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16286         for labels.
16288         (verilog-label-re, verilog-calc-1): Support proper indent of named
16289         asserts.
16291         (verilog-backward-token, verilog-basic-complete-re)
16292         (verilog-beg-of-statement, verilog-indent-re): Support proper
16293         indent of the assert statement at the beginning of a block of text.
16295         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16296         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16297         tokens as begins.
16299 2009-11-05  Glenn Morris  <rgm@gnu.org>
16301         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16302         Emacs 19.  (Bug#1531)
16303         (byte-compile-fix-header): Update for the above change.
16304         Drop test for epoch::version.
16306         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16307         * cus-dep.el (custom-make-dependencies):
16308         * finder.el (finder-compile-keywords):
16309         Use autoload-rubric's feature argument.
16311         * calendar/diary-lib.el (top-level): Make load behave more like require.
16313         * vc-git.el (vc-git-stash-map): Move definition before use.
16315 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16317         * custom.el (custom-declare-group): Purecopy standard-value.
16318         (custom-declare-group): Purecopy custom-prefix.
16320         * international/mule.el (load-with-code-conversion):
16321         Call do-after-load-evaluation unconditionally.
16323         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16325 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16327         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16329 2009-11-04  Glenn Morris  <rgm@gnu.org>
16331         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16332         (byte-compile-compatibility): Remove option.
16333         (byte-compile-close-variables, byte-compile-fix-header)
16334         (byte-compile-insert-header, byte-compile-output-docform)
16335         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16336         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16337         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16338         (byte-compile-insert, byte-compile-defun):
16339         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16340         (byte-defop-compiler19): Remove.
16341         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16342         used by anything.  Replace all calls with byte-defop-compiler.
16344 2009-11-04  Juri Linkov  <juri@jurta.org>
16346         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16347         (menu-bar-options-menu): Don't quote the `prop' arg of
16348         `menu-bar-make-mm-toggle'.
16350 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16352         * calendar/calendar.el (cal-loaddefs):
16353         * calendar/diary-lib.el (diary-loaddefs):
16354         * calendar/holidays.el (hol-loaddefs):
16355         * eshell/esh-module.el (esh-groups): Load rather than require.
16357 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16359         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16360         point-min==1.
16361         (todo-top-priorities): Only display-buffer when called interactively.
16362         (todo-item-start): Don't save excursion point.
16363         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16364         (todo-insert-item-here, todo-file-item, todo-remove-item):
16365         Adjust uses of todo-item-start and todo-item-end.
16367         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16368         (autoload-rubric): Don't use any more.
16370         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16371         and only put a prop if it is non-nil.
16373 2009-11-03  Juri Linkov  <juri@jurta.org>
16375         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16376         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16378         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16379         and "Menu" to make top-level menu item visually one unit (like
16380         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16381         multi-word menu items).  Fix :help string for quit-window.
16383 2009-11-03  Glenn Morris  <rgm@gnu.org>
16385         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16386         (byte-compile-file-form-define-abbrev-table)
16387         (byte-compile-file-form-custom-declare-variable)
16388         (byte-compile-variable-ref, byte-compile-defvar):
16389         Whether or not a warning is enabled should only affect whether we issue
16390         the warning, not whether or not we collect the relevant data.
16391         Eg warnings can be turned on and off throughout the course of a file.
16393         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16394         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16396 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16398         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16399         * play/mpuz.el (mpuz-create-buffer):
16400         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16401         (lm-print-y,s,noise, lm-print-w0, lm-init):
16402         * play/gomoku.el (gomoku-prompt-for-move):
16403         * play/fortune.el (fortune-in-buffer):
16404         * play/dissociate.el (dissociated-press):
16405         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16406         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16407         * mail/supercite.el (sc-eref-show):
16408         * mail/smtpmail.el (smtpmail-send-it):
16409         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16410         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16411         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16412         (rmail-summary-goto-msg, rmail-summary-expunge)
16413         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16414         (rmail-summary-add-label, rmail-summary-output-menu)
16415         (rmail-summary-output-body):
16416         * mail/rfc822.el (rfc822-addresses):
16417         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16418         * mail/mailpost.el (post-mail-send-it):
16419         * mail/hashcash.el (hashcash-generate-payment):
16420         * mail/feedmail.el (feedmail-run-the-queue)
16421         (feedmail-queue-send-edit-prompt-help-first)
16422         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16423         (feedmail-deduce-address-list):
16424         * eshell/esh-ext.el (eshell-remote-command):
16425         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16426         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16427         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16428         (viper-save-string-in-file, viper-valid-marker):
16429         * emulation/viper-keym.el (viper-toggle-key):
16430         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16431         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16432         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16433         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16434         (viper-exec-form-in-emacs, viper-brac-function):
16435         * emulation/viper.el (viper-delocalize-var):
16436         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16437         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16438         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16439         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16440         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16441         * emulation/edt.el (edt-electric-helpify):
16442         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16443         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16444         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16445         (cua-indent-to-global-mark-column):
16446         * calendar/diary-lib.el (calendar-mark-1):
16447         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16448         Use with-current-buffer.
16449         * emulation/viper.el (viper-delocalize-var): Use dolist.
16451 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16453         * comint.el (comint-replace-by-expanded-history-before-point):
16454         Replace !! with the previous input string literally (Bug#1795).
16456 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16458         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16459         to be made up of whitespace.
16461 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16463         * minibuffer.el (read-file-name): Don't use file dialogs for
16464         remote directories (Bug#99).
16466 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16468         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16470 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16472         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16473         instead of deleting the window or frame.
16475 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16477         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16478         Support face colors.
16480         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16481         New function.  Support face colors (Bug#1168).
16482         (tex-common-initialization): Use it.
16484         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16485         mode allows it (Bug#1168).
16487 2009-10-31  Juri Linkov  <juri@jurta.org>
16489         * facemenu.el (list-colors-display): Don't mark buffer as
16490         modified (Bug#3948).
16492 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16494         * international/mule-diag.el (list-character-sets-1):
16495         Minor message fix (Bug#3526).
16497         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16498         Fix face property (Bug#4834).
16499         (etags-list-tags, etags-tags-apropos-additional)
16500         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16501         property.
16503         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16504         items.
16506 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16508         * textmodes/two-column.el (2C-split):
16509         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16510         * textmodes/tex-mode.el (tex-set-buffer-directory):
16511         * textmodes/spell.el (spell-region, spell-string):
16512         * textmodes/reftex.el (reftex-erase-buffer):
16513         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16514         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16515         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16516         (reftex-select-item):
16517         * textmodes/reftex-ref.el (reftex-label-info-update)
16518         (reftex-offer-label-menu):
16519         * textmodes/reftex-index.el (reftex-index-change-entry)
16520         (reftex-index-phrases-info):
16521         * textmodes/reftex-global.el (reftex-create-tags-file)
16522         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16523         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16524         (reftex-view-crossref-from-bibtex):
16525         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16526         (reftex-extract-bib-entries-from-thebibliography)
16527         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16528         * textmodes/refbib.el (r2b-capitalize-title):
16529         (r2b-convert-buffer, r2b-help):
16530         * textmodes/page-ext.el (pages-directory)
16531         (pages-directory-goto-with-mouse):
16532         * textmodes/bibtex.el (bibtex-validate-globally):
16533         * textmodes/bib-mode.el (bib-capitalize-title):
16534         * textmodes/artist.el (artist-clear-buffer, artist-system):
16535         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16536         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16537         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16538         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16539         (xscheme-send-control-g-interrupt, xscheme-start-process)
16540         (xscheme-process-sentinel, xscheme-cd):
16541         * progmodes/verilog-mode.el (verilog-read-always-signals)
16542         (verilog-set-define, verilog-getopt-file)
16543         (verilog-module-inside-filename-p):
16544         * progmodes/sh-script.el:
16545         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16546         (python-pdbtrack-grub-for-buffer, python-execute-file):
16547         * progmodes/octave-inf.el (inferior-octave):
16548         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16549         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16550         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16551         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16552         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16553         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16554         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16555         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16556         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16557         (idlwave-shell-examine-display, idlwave-shell-run-region)
16558         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16559         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16560         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16561         (idlwave-help-get-help-buffer):
16562         * progmodes/gud.el (gud-basic-call, gud-find-class)
16563         (gud-tooltip-activate-mouse-motions-if-enabled):
16564         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16565         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16566         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16567         (ebrowse-tags-next-file):
16568         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16569         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16570         (ebnf-eps-finish-and-write):
16571         * progmodes/cpp.el (cpp-edit-save):
16572         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16573         * progmodes/cc-defs.el (c-emacs-features):
16574         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16575         (antlr-directory-dependencies):
16576         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16577         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16578         (ada-find-any-references, ada-make-filename-from-adaname)
16579         (ada-make-body-gnatstub):
16580         * obsolete/rnews.el (news-list-news-groups):
16581         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16582         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16583         * net/rcirc.el (rcirc-debug):
16584         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16585         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16586         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16587         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16588         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16589         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16590         (newsticker--treeview-list-clear-highlight)
16591         (newsticker--treeview-list-update-highlight)
16592         (newsticker--treeview-list-highlight-start)
16593         (newsticker--treeview-tree-update-highlight)
16594         (newsticker--treeview-get-selected-item)
16595         (newsticker-treeview-mark-list-items-old)
16596         (newsticker--treeview-set-current-node):
16597         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16598         * net/newst-backend.el (newsticker--get-news-by-funcall)
16599         (newsticker--get-news-by-wget, newsticker--image-get)
16600         (newsticker--image-sentinel):
16601         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16602         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16603         (eudc-ph-close-session):
16604         * net/eudc.el (eudc-save-options):
16605         * language/thai-word.el (thai-update-word-table):
16606         * language/japan-util.el (japanese-string-conversion):
16607         * international/titdic-cnv.el (tsang-quick-converter)
16608         (ziranma-converter, ctlau-converter):
16609         * international/mule-cmds.el (describe-language-environment):
16610         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16611         (skkdic-convert-postfix, skkdic-convert-prefix):
16612         (skkdic-convert-okuri-nasi, skkdic-convert):
16613         * emacs-lisp/re-builder.el (reb-update-overlays):
16614         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16615         * emacs-lisp/gulp.el (gulp-send-requests):
16616         * emacs-lisp/find-gc.el (trace-call-tree):
16617         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16618         (eieio-describe-generic):
16619         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16620         * emacs-lisp/edebug.el (edebug-outside-excursion):
16621         * emacs-lisp/debug.el (debugger-make-xrefs):
16622         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16623         * emacs-lisp/chart.el (chart-new-buffer):
16624         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16625         Use with-current-buffer.
16626         * textmodes/artist.el (artist-system): Don't call
16627         copy-sequence on a fresh string.
16628         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16630 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16632         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16633         is no item to edit.  (Bug#4820)
16634         (todo-top-priorities): Restore point and restore narrowing in Todo
16635         buffer.  (Bug#4820)
16637 2009-10-31  Glenn Morris  <rgm@gnu.org>
16639         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16640         (comint-last-output-start, comint-last-input-start)
16641         (comint-last-input-end): Don't defvar when compiling.
16642         (ange-ftp-process-file): Use bound-and-true-p.
16644         * pcmpl-rpm.el (top-level): Move provide statement to end.
16645         (pcmpl-rpm): Remove unused custom group.
16647         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16649         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16651         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16652         (byte-compile-warnings): Add `constants' as an option.
16653         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16654         (display-call-tree): Update for byte-compile-fdefinition possibly
16655         returning `(macro lambda ...)'.  (Bug#4778)
16656         (byte-compile-variable-ref, byte-compile-setq-default):
16657         Respect `constants' member of byte-compile-warnings.
16659 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16661         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16662         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16663         to "submit:".
16665 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16667         * textmodes/ispell.el (ispell-skip-region-alist):
16668         * international/mule-conf.el (eight-bit):
16669         * international/fontset.el (font-encoding-alist):
16670         * startup.el (pure-space-overflow-message):
16671         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16672         * paths.el (gnus-nntp-service, rmail-spool-directory)
16673         (term-file-prefix):
16674         * files.el (save-some-buffers-action-alist):
16675         * cmuscheme.el (same-window-buffer-names):
16676         * ielm.el (same-window-buffer-names):
16677         * shell.el (same-window-buffer-names):
16678         * mail/sendmail.el (same-window-buffer-names):
16679         * progmodes/inf-lisp.el (same-window-buffer-names):
16680         * bindings.el (mode-line-client)
16681         (mode-line-column-line-number-mode-map):
16682         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16683         (tibetan-precomposed-regexp): Purecopy string arguments.
16685 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16687         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16688         (calcDigit-nondigit):
16689         * calc/calc-yank.el (calc-copy-to-buffer):
16690         * calc/calc-units.el (calc-invalidate-units-table):
16691         * calc/calc-trail.el (calc-trail-yank):
16692         * calc/calc-store.el (calc-insert-variables):
16693         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16694         * calc/calc-prog.el (calc-read-parse-table):
16695         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16696         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16697         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16698         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16699         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16700         (calc-graph-name, calc-graph-find-command, calc-graph-view)
16701         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16702         * calc/calc-ext.el (calc-realign):
16703         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16704         (calc-embedded-finish-edit, calc-embedded-make-info)
16705         (calc-embedded-finish-command, calc-embedded-stack-change):
16706         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16708         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16709         shell-dynamic-complete-filename in preference to
16710         comint-dynamic-complete-filename.
16712         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16713         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16714         Don't consider whether the display supports colors.
16715         (bookmark-import-new-list): Use dolist.
16716         (bookmark-bmenu-mode-map): Move initialization into declaration.
16717         (bookmark-bmenu-list): Use dolist, simplify.
16718         (bookmark-show-all-annotations): Use save-selected-window and dolist.
16719         (menu-bar-final-items): Use push.
16721 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16723         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16724         it works on remote files.
16725         (vc-hg-diff): Don't pass any `--cwd' argument.
16727 2009-10-27  Kevin Ryde  <user42@zip.com.au>
16729         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16730         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16731         (Further to Bug#3921).
16733 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
16735         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16736         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16737         calling `tramp-imap-put-file'.  Add file size to the call.
16738         (tramp-imap-get-file-entries): Compute also user name, file size,
16739         and date.
16740         (tramp-imap-handle-insert-directory): Insert uid and gid.
16741         (tramp-imap-handle-file-attributes): Transform uid and gid
16742         according to `id-format'.
16743         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
16744         size in header X-Size.
16746 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
16748         * simple.el (transpose-subr): Give clearer error when the mark
16749         is not set.  (Bug#4807)
16751 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
16753         * net/tramp.el (tramp-perl-file-truename): New defconst.
16754         Perl code contributed by yary <not.com@gmail.com> (tiny change).
16755         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16756         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16757         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16759         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16760         Ignore `dired-call-process'.
16761         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16763 2009-10-26  Julian Scheid  <julians37@gmail.com>
16765         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16766         (tramp-get-remote-readlink): New defun.
16767         (tramp-handle-file-truename): Use it.
16768         (tramp-handle-file-exists-p): Check file-attributes cache, assume
16769         file exists if cache value present.
16770         (tramp-check-cached-permissions): New defun.
16771         (tramp-handle-file-readable-p): Use it.
16772         (tramp-handle-file-writable-p): Likewise.
16773         (tramp-handle-file-executable-p): Likewise.
16774         (tramp-handle-file-name-all-completions): Try using Perl to get
16775         partial completions.  When perl not available, combine `cd' and
16776         `ls' into single remote operation and use shell expansion to get
16777         partial remote directory contents.  Set `file-exists-p' cache for
16778         directory and any files returned by ls.  Change cache handling to
16779         support partial directory contents.  Use error message emitted by
16780         remote `cd' or Perl code for local tramp-error.
16781         (tramp-do-copy-or-rename-file-directly): Avoid separate
16782         tramp-send-command-and-check call.
16783         (tramp-handle-process-file): Merge three remote ops into one.
16784         Do not flush all caches when `process-file-side-effects' is set.
16785         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16786         file-attributes shows uid/gid to be set already.
16788 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
16790         * textmodes/tex-mode.el (tex-dvi-view-command)
16791         (tex-show-queue-command, tex-open-quote):
16792         * progmodes/ruby-mode.el (auto-mode-alist)
16793         (interpreter-mode-alist): Purecopy strings.
16795         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16797         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16798         string for the hook, keymap and abbrev table.
16800         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16802         * x-dnd.el (x-dnd-xdnd-to-action):
16803         * startup.el (fancy-startup-text, fancy-about-text): Change to
16804         defconst from defvar.
16806         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16808         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16809         Purecopy initialization strings.
16811         * mail/sendmail.el (mail-header-separator)
16812         (mail-personal-alias-file):
16813         * mail/rmail.el (rmail-default-dont-reply-to-names)
16814         (rmail-ignored-headers, rmail-retry-ignored-headers)
16815         (rmail-highlighted-headers, rmail-secondary-file-directory)
16816         (rmail-secondary-file-regexp):
16817         * files.el (null-device, file-name-invalid-regexp)
16818         (locate-dominating-stop-dir-regexp)
16819         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16820         (interpreter-mode-alist): Use mapcar instead of mapc.
16822         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16824         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16825         (completion-ignored-extensions):
16826         (debug-ignored-errors): Purecopy strings.
16828 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16830         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16831         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16832         (pcomplete--here): Use push.
16834         * subr.el (all-completions): Declare the 4th arg obsolete.
16836 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16838         * pcomplete.el (pcomplete-unquote-argument-function): New var.
16839         (pcomplete-unquote-argument): New function.
16840         (pcomplete--common-suffix): Always pay attention to case.
16841         (pcomplete--table-subvert): Quote and unquote the text.
16842         (pcomplete--common-quoted-suffix): New function.
16843         (pcomplete-std-complete): Use it and pcomplete-begin.
16845         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16846         we're inside a dedicated or minibuffer window.
16848 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
16850         * bookmark.el: Update documentation, especially documentation
16851         of `bookmark-alist' and of the bookmark file format.
16852         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
16854 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
16856         * mail/emacsbug.el (report-emacs-bug): Clarify that the
16857         keybindings apply to the mail buffer (Bug#4003).  Shrink help
16858         window to buffer.
16860         * whitespace.el (whitespace-mode, whitespace-newline-mode)
16861         (global-whitespace-mode, global-whitespace-newline-mode)
16862         (whitespace-toggle-options, global-whitespace-toggle-options):
16863         Doc fix (Bug#3660).
16865         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16866         of xmltok-start before the end tag was inserted (Bug#2840).
16868         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16869         patterns that are preceded by an open-paren (Bug#1320).
16871 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
16873         * files.el (delete-directory): Delete symlinks to directories with
16874         delete-file (Bug#4739).
16876 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
16878         * vc.el (vc-backend-for-registration): Rename from
16879         vc-get-backend-for-registration.  Update callers.
16881         * international/mule-cmds.el (set-language-info-alist):
16882         Purecopy lang-env.
16883         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16884         (charset): Purecopy the name.
16885         (define-char-code-property): Purecopy string arguments.
16887         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16888         Purecopy string arguments.
16890         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16891         * ediff-hook.el (menu-bar-ediff-menu):
16892         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16893         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16895 2009-10-24  Glenn Morris  <rgm@gnu.org>
16897         * comint.el (comint-dynamic-list-completions):
16898         * term.el (term-dynamic-list-completions): Use choose-completion rather
16899         than obsolete alias mouse-choose-completion.
16901         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16902         file-cache-choose-completion.
16903         (file-cache-choose-completion): Handle an optional event argument.
16904         (file-cache-mouse-choose-completion): Make it an obsolete alias.
16906         * progmodes/octave-mod.el (octave-complete-symbol):
16907         Use choose-completion if mouse-choose-completion is ever removed.
16909         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16910         use.
16912         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16913         compiler.
16915         * vc-hooks.el (vc-responsible-backend): Fix declaration.
16917 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16919         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16920         Ignore `pred' now that we receive one.
16921         Handle test-completion specially.
16923 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16925         * vc.el (vc-responsible-backend): Throw an error if not backend is
16926         found.  Remove the REGISTER argument.  Move the code dealing with
16927         REGISTER ...
16928         (vc-get-backend-for-registration): ... here.  New function.
16929         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16930         of vc-responsible-backend, pass the file name instead of the
16931         directory name.
16933 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16935         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16936         New funs.
16937         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
16938         (pcomplete-comint-setup): Don't modify a global var via
16939         accidental side-effects.
16940         (pcomplete-shell-setup): Adjust call accordingly.
16941         (pcomplete-parse-comint-arguments): Use push.
16943 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
16945         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16946         Allow uncapitalized info node names (Bug#3921).
16948         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16949         to the DEBUG file (Bug#3781).
16951 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
16953         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16954         dictionary entry (Bug#4579).
16956 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
16958         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16959         from `rfn-eshadow-update-overlay-hook' when unloading.
16960         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16961         "rsyncc".  Adjust doc string.
16962         (tramp-temp-buffer-file-name): New buffer-local defvar.
16963         (tramp-handle-insert-file-contents, tramp-handle-write-region):
16964         Keep temporary file when indicated by method ("rsync" and
16965         "rsyncc").
16966         (tramp-handle-write-region): Handle APPEND.
16967         (tramp-delete-temp-file-function): New defun.  Added to
16968         `kill-buffer-hook'.
16970 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
16972         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16974 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16976         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16977         (color-name-rgb-alist, tty-standard-colors)
16978         (tty-color-mode-alist): Change to defconst.
16980         * simple.el (mark-inactive): Purecopy message.
16982         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16983         (global-map, yank-menu):
16984         * textmodes/ispell.el (ispell-menu-map):
16985         * net/eudc.el (eudc-tools-menu):
16986         * international/mule-cmds.el (describe-language-environment-map)
16987         (setup-language-environment-map, set-coding-system-map)
16988         (mule-menu-keymap):
16989         * vc-hooks.el (vc-menu-entry, vc-menu-map):
16990         * replace.el (occur-mode-map):
16991         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16993 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
16995         * calc/calc.el (math-read-number, math-read-number-simple):
16996         Use `save-match-data'.
16998 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17000         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17001         rather than fiddling with global-map bindings, since it should only
17002         affect per-terminal settings.
17003         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17005         * minibuffer.el (completion-table-with-terminator): Allow to specify
17006         the terminator-regexp.
17008         * simple.el (switch-to-completions): Look for *Completions* in other
17009         frames as well.
17011         * pcomplete.el: Allow the use of completion-tables.
17012         (pcomplete-std-complete): New command.
17013         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17014         (pcomplete--here): Use a function for `form' rather than an expression,
17015         so it can be byte-compiled.
17016         (pcomplete-here, pcomplete-here*): Adjust accordingly.
17017         Add edebug declaration.
17018         (pcomplete-show-completions): Remove unused var `curbuf'.
17019         (pcomplete-do-complete, pcomplete-stub):
17020         Don't assume `completions' is a list of strings any more.
17022 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17024         * find-dired.el (find-name-arg): Fix typo in docstring.
17026 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17028         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17029         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17031         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17032         pcomplete-entries.
17034         * comint.el (comint-read-input-ring, comint-write-input-ring)
17035         (comint-substitute-in-file-name)
17036         (comint-dynamic-complete-as-filename)
17037         (comint-dynamic-simple-complete)
17038         (comint-dynamic-list-filename-completions)
17039         (comint-dynamic-list-completions)
17040         (comint-redirect-results-list-from-process): Minor simplifications.
17042 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17044         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17045         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17046         the first form.  And insert a blank line after ";;; Code" since
17047         that's usual style.  (Bug#4612)
17049         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17051 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17053         * minibuffer.el (completion-table-with-terminator): Properly implement
17054         boundaries, in case `terminator' appears in the suffix.
17055         (completion--embedded-envvar-table): Don't return boundaries if
17056         there's no valid completion.  Simplify.
17057         (completion-file-name-table): New completion table extracted from
17058         completion--file-name-table.
17059         (completion--file-name-table): Use it.
17060         (read-file-name-predicate): Declare obsolete.
17061         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17062         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17063         completion-file-name-table, and use the `pred' argument.
17064         * files.el (locate-file-completion-table): Use the `pred' arg rather
17065         than read-file-name-predicate.
17066         (abbreviate-file-name): Use \` rather than ^ for BOS.
17068 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17070         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17071         vc-responsible-backend to register, it causes problems.
17073 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17075         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17077 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17079         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17080         (tramp-smb-handle-file-attributes): Use it.
17081         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17082         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17083         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17084         Add `dired-filename' text properties.
17085         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17086         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17087         version.
17089 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17091         * subr.el (read-key-delay): Reduce to 0.01.
17092         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17093         (bug#4751).
17095 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17097         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17099         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17100         (Info-menu): Remove unused vars `last' and `completions'.
17101         (Info-index-nodes): Remove unused var `node'.
17103         * info.el (Info-complete-menu-item): Use complete-with-action.
17105 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17107         Make vc-annotate work through copies and renames.
17108         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17109         Return the file name too.
17110         (vc-annotate-revision-at-line)
17111         (vc-annotate-find-revision-at-line)
17112         (vc-annotate-revision-previous-to-line)
17113         (vc-annotate-show-log-revision-at-line): Update to get the file
17114         name from vc-annotate-extract-revision-at-line.
17115         (vc-annotate-show-diff-revision-at-line-internal): Change the
17116         argument to mean whether to show a file diff or not.  Get the file
17117         name from vc-annotate-extract-revision-at-line.
17118         (vc-annotate-show-diff-revision-at-line):
17119         Update vc-annotate-show-diff-revision-at-line call.
17120         (vc-annotate-warp-revision): Add an optional file argument.
17122         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17123         (vc-git-annotate-extract-revision-at-line): Also return the file
17124         name if found.
17126         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17127         command.  Remove unused code.
17128         (vc-hg-annotate-re): Update to match --follow output.
17129         (vc-hg-annotate-extract-revision-at-line): Also return the file
17130         name if found.
17132         * vc.el: Update annotate-extract-revision-at-line documentation.
17134 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17136         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17137         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17139         * net/browse-url.el (browse-url): Identify alist with "consp and
17140         not functionp" and let all other things go down the `apply' leg,
17141         as suggested by Stefan.  (Further to bug#4531.)
17143 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17145         * minibuffer.el (read-file-name): Check for repeat before putting
17146         a default argument in file-name-history (Bug#4657).
17148         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17149         read syntax (Bug#4737).
17151         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17153 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17155         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17156         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17157         entries and make note of obsolete tags.
17159 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17161         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17163 2009-10-18  Glenn Morris  <rgm@gnu.org>
17165         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17166         grep, so that binary files (eg international/uni-bidi.el) can match.
17167         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17168         now, and in any case the file header format has changed.
17170 2009-10-17  Glenn Morris  <rgm@gnu.org>
17172         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17173         (flyspell-get-word, flyspell-large-region)
17174         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17176 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17178         * Makefile.in (ELCFILES): Add ede/shell.
17180 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17182         * term/common-win.el (x-colors): Purecopy it.
17184 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17186         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17187         permissive for when the buffer is empty.
17188         (tar-header-block-tokenize): Decode the username and groupname.
17189         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17191 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17193         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17194         contains multibyte characters, choose first applicable coding
17195         system automatically.
17197 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17199         * international/mule-cmds.el (select-safe-coding-system): If the file
17200         has a coding cookie, use it regardless of any other setting (bug#4712).
17202 2009-10-17  Glenn Morris  <rgm@gnu.org>
17204         * foldout.el (foldout-mouse-swallow-events):
17205         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17207         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17208         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17209         (dired-keep-marker-symlink, dired-dwim-target)
17210         (dired-copy-preserve-time): Do not autoload these defcustoms.
17212         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17213         messages from messing up the file coding.  (Bug#4623)
17215 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17217         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17218         if no match is found for the current dictionary.  (Bug#4578)
17220         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17221         optional, since that is how it is documented, and this is often called
17222         with a nil argument.  (Bug#4577)
17223         (flyspell-external-point-words, flyspell-auto-correct-word)
17224         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17225         (flyspell-word-search-backward): Remove nil argument in calls to
17226         flyspell-get-word, since it is not needed now.
17228 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17230         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17232 2009-10-16  Glenn Morris  <rgm@gnu.org>
17234         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17236 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17238         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17239         (ange-ftp-file-size): New function.
17240         (ange-ftp-file-attributes): Use it.
17242 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17244         * net/tramp-smb.el (tramp-smb-version): New defvar.
17245         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17246         repeated checks.
17248 2009-10-16  Glenn Morris  <rgm@gnu.org>
17250         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17251         Maybe copy some custom properties from old to new name.  (Bug#4706)
17253 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17255         * subr.el (error, sit-for, start-process-shell-command)
17256         (start-file-process-shell-command): Set the calling convention
17257         after the function definition.
17259 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17261         * subr.el (error, sit-for, start-process-shell-command)
17262         (start-file-process-shell-command): Use the new
17263         set-advertised-calling-convention feature.
17265 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17267         * international/ucs-normalize.el (ucs-normalize-version):
17268         Change to 1.2.
17269         (check-range): Adjust for Unicode 5.2.
17271 2009-10-15  Juri Linkov  <juri@jurta.org>
17273         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17274         to the `menu-item' format.
17276 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17278         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17279         if the environment variable does not exist.
17281         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17282         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17283         parameter.
17284         (tramp-smb-handle-add-name-to-file)
17285         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17286         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17287         (tramp-smb-handle-file-attributes)
17288         (tramp-smb-do-file-attributes-with-stat)
17289         (tramp-smb-handle-file-local-copy)
17290         (tramp-smb-handle-insert-directory)
17291         (tramp-smb-handle-make-directory)
17292         (tramp-smb-handle-make-directory-internal)
17293         (tramp-smb-handle-make-symbolic-link)
17294         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17295         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17296         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17297         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17298         Handle long file names.
17299         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17300         process is running.
17301         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17302         Read share names with "-g" option.
17304 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17306         * net/rcirc.el (rcirc-view-log-file): New command.
17307         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17308         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17309         specified.
17311 2009-10-15  Glenn Morris  <rgm@gnu.org>
17313         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17314         from the second command-line argument.
17315         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17316         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17317         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17318         w32-batch-update-autoloads.
17319         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17320         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17322         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17323         the headers cannot be located.  Simplify, subtracting superflous
17324         save-excursions.
17326 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17328         Replace completion-base-size by completion-base-position to fix bugs
17329         such as (bug#4699).
17330         * simple.el (completion-base-position): New var.
17331         (completion-base-size): Mark as obsolete.
17332         (choose-completion): Make it work for mouse events as well.
17333         Pass the new base-position to choose-completion-string.
17334         (choose-completion-guess-base-position): New function, extracted from
17335         choose-completion-delete-max-match.
17336         (choose-completion-delete-max-match): Use it.  Make obsolete.
17337         (choose-completion-string): Use the new base-position info.
17338         (completion-root-regexp): Delete.
17339         (completion-setup-function): Preserve completion-base-position.
17340         Eliminate obsolete base-size manipulation.
17341         * minibuffer.el (display-completion-list): Don't mess with base-size.
17342         (minibuffer-completion-help): Set completion-base-position instead.
17343         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17344         choose-completion.
17345         * textmodes/bibtex.el (bibtex-complete):
17346         * emacs-lisp/crm.el (crm--choose-completion-string):
17347         Adjust to new calling convention.
17348         * complete.el (partial-completion-mode): Use minibufferp to avoid
17349         bumping into incompatible change to choose-completion-string-functions.
17350         * ido.el (ido-choose-completion-string): Make its calling convention
17351         more permissive.
17352         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17353         base-size manipulation.
17354         (comint-dynamic-list-input-ring): Use dotimes and push.
17355         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17356         fundamental-mode.  Use `or'.
17358 2009-10-14  Juri Linkov  <juri@jurta.org>
17360         * misearch.el (multi-isearch-next-buffer-from-list)
17361         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17363 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17365         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17366         `bytecomp.el'.
17368         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17369         string we return is all made up of text from the completions rather
17370         than part from the completions and part from the input (bug#4219).
17372         * ido.el (ido-everywhere): Use define-minor-mode.
17374         * buff-menu.el (list-buffers, ctl-x-map):
17375         Mark the entry points with ;;;###autoload cookies.
17377 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17379         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17380         correctly in the detached head case.
17381         (vc-git-print-log): Remove unused binding.
17383         * vc.el (vc-responsible-backend): When a directory is passed for
17384         for registration create a VC repository if no backend is
17385         responsible for the directory argument.
17386         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17388         * vc.el: Move comments about RCS and SCCS ...
17389         * vc-rcs.el:
17390         * vc-sccs.el: ... here, respectively.
17392 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17394         * minibuffer.el (completion--file-name-table): Return nil if there's
17395         no file completion, even if substitute-in-file-name changed
17396         the string (bug#4708).
17398 2009-10-13  Juri Linkov  <juri@jurta.org>
17400         * files-x.el (read-file-local-variable-value): Don't filter out
17401         minor modes from mode name completion (bug#4664).
17403 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17405         * international/mule-cmds.el (ucs-names): Remove exclusion of
17406         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17408 2009-10-13  Kenichi Handa  <handa@m17n.org>
17410         * international/uni-name.el: Regenerated.
17412 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17414         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17415         should be automatically buffer-local, but isn't.)
17417 2009-10-12  Sam Steingold  <sds@gnu.org>
17419         * progmodes/compile.el (compilation-next-error-function): Fix the
17420         timestamps if the buffer has been visited before.
17421         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17422         non-anchored patterns, like the perl one (bug#3928).
17424 2009-10-12  Glenn Morris  <rgm@gnu.org>
17426         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17427         Let-bind `size'.
17429 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17431         * proced.el (proced-unload-function): New function.
17433         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17434         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17435         Doc fix.
17437         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17439 2009-10-11  Juri Linkov  <juri@jurta.org>
17441         * files-x.el (read-file-local-variable-value):
17442         Provide default value only for bound variables (bug#4664).
17444 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17446         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17447         connection methods like smb.
17449         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17450         can be empty.
17452         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17453         (tramp-smb-file-name-handler-alist): Add handlers for
17454         `add-name-to-file', `make-symbolic-link'.
17455         (tramp-smb-handle-add-name-to-file)
17456         (tramp-smb-do-file-attributes-with-stat)
17457         (tramp-smb-handle-make-symbolic-link)
17458         (tramp-smb-get-cifs-capabilities): New defuns.
17459         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17460         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17461         (tramp-smb-handle-file-local-copy)
17462         (tramp-smb-handle-make-directory-internal)
17463         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17464         The file name syntax depends on cifs capabilities.
17465         (tramp-smb-handle-file-attributes):
17466         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17467         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17468         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17470 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17472         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17473         (eieio-defclass): Apply deftype handler and setf-method properties
17474         directly.
17475         (eieio-add-new-slot): Avoid union function from cl library.
17476         (eieio--typep): New function.
17477         (eieio-perform-slot-validation): Use it.
17479 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17481         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17482         Update documentation to refer to the variables documented in r1.135.
17483         (Bug#4188)
17485 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17487         * bookmark.el (Info-suffix-list): Remove this unused variable.
17488         (bookmark-current-point): Remove this obsolete variable.
17489         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17490         Adjust for removal of bookmark-current-point.
17492         (bookmarks-already-loaded, bookmark-current-buffer)
17493         (bookmark-yank-point): Document.  (Bug#4188)
17495 2009-10-10  Glenn Morris  <rgm@gnu.org>
17497         * frame.el (frame-height): Doc fix.
17499         * calendar/calendar.el (calendar-split-width-threshold): New option.
17500         (calendar-basic-setup): Use calendar-split-width-threshold.
17502 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17504         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17505         Ideographic Supplement" range (U+1F200..U+1F2FF).
17507 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17509         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17510         since the list will have been rebuilt anyway.  (Bug#4349)
17512 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17514         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17515         (bookmark-bmenu-execute-deletions): Don't save here, as
17516         bookmark-delete will now do so if necessary.
17517         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17518         (Bug#4348)
17520 2009-10-09  Glenn Morris  <rgm@gnu.org>
17522         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17524 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17526         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17527         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17528         argument now, so the two function's behaviors will match.  (Bug#3645)
17530 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17532         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17533         (tramp-file-name-real-host, tramp-file-name-port):
17534         Apply `save-match-data'.
17536         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17537         case both directories are remote.
17538         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17539         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17541 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17543         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17545 2009-10-07  Glenn Morris  <rgm@gnu.org>
17547         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17548         of concat.
17550 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17552         * files-x.el (read-file-local-variable): Include some
17553         non-user-variables in the completion table (bug#4664).
17555 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17557         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17558         message.
17560         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17561         (tramp-smb-file-name-handler-alist): Add handler for
17562         `copy-directory', `expand-file-name', `set-file-modes'.
17563         (tramp-smb-handle-copy-directory)
17564         (tramp-smb-handle-expand-file-name)
17565         (tramp-smb-handle-set-file-modes): New defuns.
17566         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17567         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17568         entry.
17569         (tramp-smb-handle-insert-directory): Don't flush the cache.
17570         (tramp-smb-maybe-open-connection): Check for samba client and
17571         server versions.
17573 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17575         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17576         to not error out of search for "^lisp=" fails.
17578 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17580         * makefile.w32-in (WINS_UPDATES): New macro.
17581         (custom-deps, finder-data, autoloads): Use it.
17583 2009-10-07  Glenn Morris  <rgm@gnu.org>
17585         * Makefile.in (autoloads): Revert previous change.
17586         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17587         the list of preloaded files passed on the command-line, get
17588         it from src/Makefile.
17590         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17591         show the original buffer rather than a random one.
17593 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17595         * help.el (describe-no-warranty): Place point in a slightly better
17596         position in the GPLv3 text.
17598 2009-10-06  Sam Steingold  <sds@gnu.org>
17600         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17601         the comm attribute is present before calling regexp-quote.
17603 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17605         * play/animate.el (animate-string): For good effect, make sure
17606         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17608         * play/animate.el (animate-sequence, animate-birthday-present):
17609         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17611 2009-10-06  Glenn Morris  <rgm@gnu.org>
17613         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17615         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17616         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17617         (batch-update-autoloads): Process a string value of autoload-excludes,
17618         set during the build process.
17619         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17621         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17622         inside with-parsed...  macro so that `v' is defined.
17624         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17625         * progmodes/fortran.el (fortran-end-of-block)
17626         (fortran-beginning-of-block):
17627         Also push mark in the macro case.
17629         * emerge.el (emerge-show-file-name):
17630         * calc/calc.el (calc-quit):
17631         * calc/calc-misc.el (calc-big-or-small):
17632         * calc/calc-graph.el (calc-graph-view):
17633         * calc/calc-ext.el (calc-reset):
17634         * calendar/calendar.el (calendar-basic-setup):
17635         Use window-full-height-p.
17637         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17638         header we don't understand, don't insert another.  (Bug#4624)
17639         If changing mime charset, insert the new one in the right place.
17641 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17643         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17644         (cal-tex-cursor-month): Correctly increment the end date for diary and
17645         holiday listing.  (Bug#4626)
17647 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17649         * help-fns.el (describe-function-1): Don't burp if the function is not
17650         a symbol.
17652 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17654         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17655         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17656         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17657         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17659         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17660         (eieio-default-superclass): Reflow docstrings.
17661         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17662         (eieio-unbind-method-implementations, defmethod)
17663         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17664         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17665         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17666         (eieio-slot-originating-class-p, eieio-slot-name-index)
17667         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17668         (constructor, initialize-instance, no-next-method, object-print)
17669         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17670         Fix typos in docstrings.
17671         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17672         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17673         (next-method-p): Doc fixes.
17674         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17675         Fix typos in error messages.
17676         (eieio-defmethod): Fix typo in description of generic method.
17678         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17679         (eieio-persistent-save-interactive, slot-missing):
17680         Fix typos in docstrings.
17681         (eieio-instance-inheritor-slot-boundp): Doc fix.
17683         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17684         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17686         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17687         (eieio-custom-object-apply-reset):
17688         Fix typos in docstrings and error messages.
17690         * emacs-lisp/eieio-datadebug.el (data-debug-show):
17691         Fix typo in docstring.
17693         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17694         (eieio-browse-tree): Doc fix.
17695         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17696         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17697         Fix typos in docstrings.
17699         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17700         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17701         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17702         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17703         Reflow docstrings.
17705 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
17707         * vc-hg.el (log-view-vc-backend): Declare for compiler.
17708         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17709         Set log-view-vc-backend so that diff can work.
17711         * log-view.el (log-view-diff): Use vc-diff-internal instead of
17712         vc-version-diff.
17713         (vc-diff-internal): Autoload this instead of vc-version-diff.
17715 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
17717         * simple.el (eval-expression): Doc fix.
17719         * progmodes/cwarn.el (cwarn-mode): Doc fix.
17721 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
17723         * files.el (directory-files-no-dot-files-regexp): New defconst.
17724         (delete-directory): Use it.
17725         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
17727         * net/tramp.el (tramp-verbose): Fix docstring.
17728         (tramp-methods): Add recursive option to `tramp-copy-args'.
17729         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
17730         "scp1_old", "scp2_old", "rsync", "rsyncc".
17731         (tramp-default-method): Check also for `auth-source-user-or-password'.
17732         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17733         Add handler for `copy-directory'.
17734         (tramp-handle-copy-directory): New defun.
17735         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17736         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17737         Optimize sent command.
17739 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17741         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17742         window if necessary.
17744         * calendar/calendar.el (calendar-basic-setup): Don't call
17745         switch-to-buffer in a dedicated window.
17747 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
17749         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17750         don't do anything related to relocating, just return nil.
17751         (bookmark-error-no-filename): New error.
17752         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17753         bookmark has no file.  Don't even attempt to handle things that
17754         are not files; the whole point of custom handlers is to keep that
17755         knowledge elsewhere anyway.  Tighten some comments.
17756         (bookmark-file-or-variation-thereof): Remove now-unused function.
17757         (bookmark-location): Doc string fix.
17758         (Bug#4250)
17760 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17762         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17763         don't use a file dialog, because they usually don't know how to read
17764         a directory target from the user.  (Bug#4230)
17765         Also, make sure the prompt can display directories as well as files.
17767 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17769         * bookmark.el (bookmark-set, bookmark-buffer-name):
17770         Improve doc strings.  (Bug#1193)
17772 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17774         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17775         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17776         (bookmark-get-annotation, bookmark-set-annotation)
17777         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17778         (bookmark-set-position, bookmark-get-front-context-string)
17779         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17780         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17781         (bookmark-jump-other-window, bookmark-handle-bookmark)
17782         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17783         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17784         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17785         Improve doc strings to say whether bookmark can be a string or
17786         a record or both, and make other consistency and clarity fixes.
17787         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17788         (bookmark-default-annotation-text, bookmark-yank-word)
17789         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17790         (bookmark-import-new-list, bookmark-maybe-rename)
17791         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17792         (bookmark-bmenu-bookmark): Give these doc strings.
17793         (bookmark-bmenu-check-position): Give this a doc string, but also
17794         add a FIXME comment about how the function may be pointless.
17795         (bookmark-default-handler): Rework doc string and change a
17796         parameter name, to clarify that this takes a bookmark record
17797         not a bookmark name.
17798         (bookmark-set): Change a parameter name to indicate its meaning,
17799         and improve the doc string a bit.
17800         (Bug#4188)
17802 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17804         * bookmark.el (bookmark-alist): Document the new `handler' element
17805         in the param alist.
17806         (bookmark-make-record-function): Adjust documentation for above.
17807         (Bug#4193)
17809 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17811         * info.el (Info-bookmark-make-record): Document this function.
17812         (Info-bookmark-jump): Document with a doc string, not just a comment.
17813         (Bug#4203)
17815 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
17817         * files.el (copy-directory): New defun.
17819         * dired-aux.el (dired-copy-file-recursive): Use it.
17821 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
17823         * files-x.el (modify-dir-local-variable)
17824         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17825         docstrings.
17827         * recentf.el (recentf-unload-function): New function.
17829 2009-10-04  Glenn Morris  <rgm@gnu.org>
17831         * window.el (window-full-height-p): Add doc string.
17833 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
17835         * window.el (window-full-height-p): New function.  (Bug#4543)
17837 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
17839         * vc.el: Remove commented out code.
17840         (vc-derived-from-dir-mode): Remove, unused.
17841         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17843 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
17845         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17846         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
17847         there could be recursive loading when `default-directory' is a
17848         remote file name.  (Bug#4614)
17850 2009-10-03  Glenn Morris  <rgm@gnu.org>
17852         * calendar/calendar.el (calendar-basic-setup): Handle the case where
17853         the frame is wide.
17854         (calendar-generate-window): Test for shrinkability rather than width.
17856         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17857         reusing existing buffers, in case we happen to visit two files with the
17858         same basename.  (Bug#4593)
17860 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17862         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17863         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17864         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17865         subdirs of cedet as well.
17866         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17868 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17870         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17871         Obey advertised-signature-table.
17873         * help-fns.el (help-function-arglist): Don't check
17874         advertised-signature-table.
17875         (describe-function-1): Do it here instead so it also applies to subrs.
17877 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
17879         * simple.el (start-file-process): Say in the doc-string, that file
17880         handlers might not support pty association, if PROGRAM is nil.
17882         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17883         HOST and USER are strings.  They are nil, when there are
17884         incomplete entries in ~/.netrc, for example.
17885         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
17886         root directory ("device busy" error otherwise).
17888         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17889         Flush file properties of created directory.
17891 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17893         * makefile.w32-in (WINS_BASIC): Remove cedet.
17894         (WINS_CEDET): Add cedet.
17895         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17897 2009-10-02  Kevin Ryde  <user42@zip.com.au>
17899         * net/browse-url.el (browse-url): Pass any symbol in
17900         browse-url-browser-function to `apply', since if you've mistakenly put
17901         an unbound symbol then the error is clearer.  (Bug#4531)
17903 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17905         * allout.el (allout-init, allout-back-to-current-heading)
17906         (allout-beginning-of-current-entry, allout-ascend-to-depth)
17907         (allout-ascend, allout-up-current-level, allout-end-of-level)
17908         (allout-previous-visible-heading, allout-forward-current-level)
17909         (allout-backward-current-level, allout-show-children):
17910         * apropos.el (apropos-describe-plist):
17911         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17912         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17913         * completion.el (add-completion, add-permanent-completion):
17914         * descr-text.el (describe-text-category, describe-char):
17915         * desktop.el (desktop-lazy-abort):
17916         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17917         * dired.el (dired-build-subdir-alist):
17918         * ediff.el (ediff-version):
17919         * elide-head.el (elide-head, elide-head-show):
17920         * emerge.el (emerge-version):
17921         * env.el (getenv):
17922         * face-remap.el (variable-pitch-mode):
17923         * faces.el (describe-face):
17924         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17925         (dired-at-point):
17926         * files.el (find-file-existing, auto-save-mode):
17927         * font-lock.el (font-lock-fontify-buffer):
17928         * help-fns.el (describe-function, describe-variable)
17929         (describe-syntax, describe-categories):
17930         * help.el (view-lossage, describe-bindings, describe-key)
17931         (describe-mode):
17932         * hexl.el (hexl-current-address):
17933         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17934         * info.el (Info-goto-emacs-key-command-node):
17935         * log-edit.el (log-edit-insert-cvs-template)
17936         (log-edit-insert-cvs-rcstemplate):
17937         * menu-bar.el (menu-bar-mode):
17938         * mouse.el (mouse-appearance-menu):
17939         * newcomment.el (comment-indent-new-line):
17940         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17941         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17942         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17943         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17944         * recentf.el (recentf-mode):
17945         * savehist.el (savehist-mode, savehist-save):
17946         * shadowfile.el (shadow-copy-files):
17947         * simple.el (kill-ring-save, next-line, previous-line)
17948         (normal-erase-is-backspace-mode):
17949         * strokes.el (strokes-update-window-configuration)
17950         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17951         (strokes-xpm-for-stroke):
17952         * time.el (emacs-uptime, emacs-init-time):
17953         * tutorial.el (tutorial--describe-nonstandard-key)
17954         (tutorial--detailed-help):
17955         * type-break.el (type-break-mode)
17956         (type-break-mode-line-message-mode, type-break-query-mode)
17957         (type-break-guesstimate-keystroke-threshold):
17958         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17959         * version.el (emacs-version):
17960         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17961         * winner.el (winner-mode):
17962         * calendar/timeclock.el (timeclock-in, timeclock-out)
17963         (timeclock-status-string, timeclock-change)
17964         (timeclock-workday-remaining-string)
17965         (timeclock-workday-elapsed-string)
17966         (timeclock-when-to-leave-string):
17967         * calendar/todo-mode.el (todo-add-category):
17968         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17969         * emacs-lisp/autoload.el (update-file-autoloads):
17970         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17971         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17972         (checkdoc-message-text, checkdoc-defun):
17973         * emacs-lisp/debug.el (debugger-list-functions):
17974         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17975         * emacs-lisp/eieio-opt.el (eieio-describe-class)
17976         (eieio-describe-generic):
17977         * emacs-lisp/lisp-mnt.el (lm-synopsis):
17978         * emacs-lisp/shadow.el (list-load-path-shadows):
17979         * emulation/cua-base.el (cua-mode):
17980         * emulation/edt.el (edt-set-scroll-margins):
17981         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17982         (tpu-toggle-regexp, tpu-toggle-search-direction)
17983         (tpu-toggle-rectangle, tpu-toggle-control-keys):
17984         * emulation/tpu-extras.el (tpu-set-scroll-margins):
17985         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17986         (viper-set-parsing-style-toggling-macro)
17987         (viper-set-emacs-state-searchstyle-macros):
17988         * emulation/viper.el (viper-set-hooks):
17989         * eshell/esh-mode.el (eshell-truncate-buffer):
17990         * international/mule-cmds.el (prefer-coding-system)
17991         (describe-input-method, describe-language-environment):
17992         * international/mule-diag.el (list-character-sets)
17993         (describe-character-set, describe-coding-system)
17994         (describe-fontset, list-fontsets, list-input-methods):
17995         * mail/sendmail.el (mail-signature):
17996         * net/ange-ftp.el (ange-ftp-copy-file):
17997         * net/browse-url.el (browse-url):
17998         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17999         * net/quickurl.el (quickurl-add-url):
18000         * net/rcirc.el (names, topic):
18001         * net/xesam.el (xesam-mode):
18002         * play/5x5.el (5x5-new-game):
18003         * play/yow.el (apropos-zippy):
18004         * progmodes/ada-mode.el (ada-mode-version):
18005         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18006         (f90-end-of-block)
18007         (f90-beginning-of-block):
18008         * progmodes/fortran.el (fortran-end-of-block)
18009         (fortran-beginning-of-block):
18010         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18011         * progmodes/python.el (python-describe-symbol, python-shell):
18012         * term/ns-win.el (ns-print-buffer):
18013         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18014         * textmodes/flyspell.el (flyspell-mode-on):
18015         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18016         (pages-directory-for-addresses):
18017         * textmodes/table.el (table-recognize-cell)
18018         (table-query-dimension, table-generate-source)
18019         (table-insert-sequence, table--warn-incompatibility):
18020         * textmodes/tex-mode.el (tex-validate-buffer):
18021         * textmodes/texinfmt.el (texinfmt-version)
18022         (texinfo-format-buffer):
18023         Use `called-interactively-p' instead of `interactive-p'.
18025 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18027         * image-mode.el (image-toggle-display):
18028         * emacs-lisp/elp.el (elp-instrument-function):
18029         * emacs-lisp/advice.el (ad-make-advised-definition):
18030         * emacs-lisp/easy-mmode.el (define-minor-mode):
18031         * net/browse-url.el (browse-url-maybe-new-window):
18032         * progmodes/sh-script.el (sh-learn-buffer-indent):
18033         Pass new argument 'any to `called-interactively-p'.
18035 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18037         * international/uni-bidi.el:
18038         * international/uni-category.el:
18039         * international/uni-combining.el:
18040         * international/uni-comment.el:
18041         * international/uni-decimal.el:
18042         * international/uni-decomposition.el:
18043         * international/uni-digit.el:
18044         * international/uni-lowercase.el:
18045         * international/uni-mirrored.el:
18046         * international/uni-name.el:
18047         * international/uni-numeric.el:
18048         * international/uni-old-name.el:
18049         * international/uni-titlecase.el:
18050         * international/uni-uppercase.el:
18051         Regenerate from Unicode 5.2.0 data.
18053 2009-10-01  Glenn Morris  <rgm@gnu.org>
18055         * Makefile.in (ELCFILES): Regenerate.
18057 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18059         * subr.el (interactive-p): Mark obsolete.
18060         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18061         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18062         advertised-signature-table for subroutines as well.
18064         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18065         (set-advertised-calling-convention): New function.
18066         (make-obsolete, define-obsolete-function-alias)
18067         (make-obsolete-variable, define-obsolete-variable-alias):
18068         Make the optional-ness of `when' obsolete.
18069         (define-obsolete-face-alias): Make `when' non-optional.
18070         * help-fns.el (help-function-arglist):
18071         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18072         Use advertised-signature-table.
18074 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18076         * files.el (delete-directory): New defun.  The original function
18077         in fileio.c has been renamed to `delete-directory-internal'.
18079         * dired.el (dired-delete-file): Call `delete-directory' with
18080         RECURSIVE parameter.
18082         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18083         parameter RECURSIVE.  Implementation is missing.
18085         * net/tramp.el (tramp-handle-make-directory): Flush upper
18086         directory's file properties.
18087         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18088         (tramp-handle-dired-recursive-delete-directory): Flush directory
18089         properties after the remove command only.
18091         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18092         Handle optional parameter RECURSIVE.
18094         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18095         Handle optional parameter RECURSIVE.
18097         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18098         connection timeout.
18099         (tramp-smb-handle-delete-directory): Handle optional parameter
18100         RECURSIVE.
18102 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18104         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18105         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18106         (byte-compile-defmacro): Use backquotes.
18108         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18110         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18111         has no associated file.
18112         (vc-resynch-buffer): Use vc-dir-buffers.
18114 2009-10-01  Glenn Morris  <rgm@gnu.org>
18116         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18117         (chart-file-count):
18118         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18119         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18120         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18121         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18122         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18123         (eieio-copy-parents-into-subclass, make-instance, class-children)
18124         (eieio-generic-form):
18126         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18127         match-data.  (Bug#4555).
18129         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18130         rather than parsing it as a regexp.  This relaxes the layout
18131         requirements and makes errors easier to detect.
18132         (check-declare-verify): Check file is regular.
18133         (check-declare-directory): Doc fix.
18134         * subr.el (declare-function): Doc fix.
18136         * ibuffer.el (ibuffer-format-qualifier):
18137         * isearch.el (hi-lock-regexp-okay):
18138         * calc/calc.el (math-zerop):
18139         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18140         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18141         Remove unused declarations.
18143 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18145         * emacs-lisp/eieio.el (boolean-p): Delete.
18147 2009-09-30  Glenn Morris  <rgm@gnu.org>
18149         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18151         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18152         filename is not a string.
18154 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18156         * files.el (safe-local-eval-forms): Fix typo.
18158 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18160         * vc-hooks.el (vc-dir-buffers): New var.
18161         (vc-state-refresh): New function.
18162         (vc-state): Use it.
18163         (vc-after-save): Always ask the backend to recompute the new state.
18164         Always call vc-dir if necessary, using vc-dir-buffers.
18165         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18166         Use vc-dir-buffers.
18167         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18168         (vc-dir-prepare-status-buffer, vc-dir-update)
18169         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18170         Don't call expand-file-name on default-directory.
18172 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18174         * speedbar.el (speedbar-item-delete):
18175         * calc/calc-prog.el (calc-kbd-if):
18176         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18178         * epa.el (epa-key-list-mode-map):
18179         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18181         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18182         (hs-show-hook): Fix typo in docstring.
18184 2009-09-29  Glenn Morris  <rgm@gnu.org>
18186         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18187         file-name-nondirectory call preventing location of cedet files.
18188         (check-declare-verify): Use literal search rather than re-search.
18189         Add basic defmethod and defclass, and define-overloadable-function.
18191         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18192         Use tramp-compat-file-attributes rather than nonexistent
18193         tramp-compat-handle-file-attributes.
18195         * Makefile.in (lisptagsfiles4): New.
18196         (AUTOGENEL): Add cedet loaddefs files.
18197         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18198         (update-elclist, compile-always, backup-compiled-files)
18199         (bootstrap-clean): Add yet another directory level.
18200         (update-elclist): Use LC_COLLATE rather than COLLATE.
18201         (ELCFILES): Update, via `make update-elclist'.
18203 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18205         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18206         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18207         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18209 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18211         * Makefile.in (lisptagsfiles3): Define.
18212         (TAGS, TAGS-LISP): Use it.
18213         (update-elclist): Add third directory level to look for elc files.
18214         (compile-always): Likewise.
18215         (backup-compiled-files): Likewise.
18216         (bootstrap-clean): Likewise.
18217         (ELCFILES): Update.
18219 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18221         * Makefile.in (ELCFILES): Add CEDET files.
18223 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18225         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18227         * net/tramp.el (top): Require tramp-imap.
18229         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18230         Use `tramp-compat-handle-file-attributes'.
18232 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18234         * net/tramp-imap.el: New package.
18236 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18238         * emacs-lisp/chart.el:
18239         * emacs-lisp/eieio-base.el:
18240         * emacs-lisp/eieio-comp.el:
18241         * emacs-lisp/eieio-custom.el:
18242         * emacs-lisp/eieio-datadebug.el:
18243         * emacs-lisp/eieio-opt.el:
18244         * emacs-lisp/eieio-speedbar.el:
18245         * emacs-lisp/eieio.el: New files.
18247 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18249         * whitespace.el (whitespace-trailing-regexp)
18250         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18251         Fix doc string.
18253 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18255         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18256         menu.
18258         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18259         menu-bar-ediff-menu.
18261         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18262         define-overloadable-function.
18264         * progmodes/autoconf.el: Provide autoconf as well, so that this
18265         file can be `require'd.
18267         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18269         * emacs-lisp/autoload.el (generated-autoload-feature)
18270         (generated-autoload-load-name): New vars.
18271         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18272         (make-autoload): Recognize define-overloadable-function and
18273         defclass forms (for EIEIO).
18275         * Makefile.in (update-subdirs): Exclude cedet directory.
18277 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18279         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18281         * faces.el: Default light-background background for region face to
18282         ns_selection_color under NS.
18284 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18286         * net/imap-hash.el: New library, see NEWS.
18288         * Makefile.in (ELCFILES): Add imap-hash.el.
18290 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18292         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18293         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18294         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18295         definition where the docstring could be taken for the return value.
18297 2009-09-26  Glenn Morris  <rgm@gnu.org>
18299         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18300         Add option to only show images below a certain size.
18301         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18302         save-excursion calls.
18304 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18306         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18307         subdirectories) and eieio.
18309 2009-09-26  Alan Mackenzie  <acm@muc.de>
18311         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18312         Correct buggy bracketing.  (Bug#4289)
18314         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18315         character constants (as case labels).  (Bug#4289)
18317 2009-09-25  Juri Linkov  <juri@jurta.org>
18319         * files.el (safe-local-eval-forms): Allow time-stamp in
18320         before-save-hook (Bug#4554).
18322 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18324         * menu-bar.el (list-buffers-directory): Doc fix.
18326 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18328         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18329         Try and avoid copying twice the same paragraph.
18330         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18331         Remove save-excursion.
18332         (log-edit-changelog-entry): Do it here instead.
18334 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18336         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18337         when available, instead of hardcoding mode names.  Doc fix.
18339         * menu-bar.el (list-buffers-directory): Add docstring.
18340         Make automatically buffer-local.
18342         * dired.el (dired-mode):
18343         * files.el (cd-absolute):
18344         * pcvs.el (cvs-temp-buffer):
18345         * pcvs-util.el (cvs-get-buffer-create):
18346         * shell.el (shell-mode):
18347         * vc-dir.el (vc-dir-mode):
18348         Don't make `list-buffers-directory' buffer local.
18350 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18352         * comint.el (comint-exec, comint-run, make-comint):
18353         Doc fixes (Bug#4542).
18355 2009-09-25  Glenn Morris  <rgm@gnu.org>
18357         * mail/rmailmm.el (rmail-mime): New custom group.
18358         Move all defcustoms in this file into this group.
18359         (rmail-mime-media-type-handlers-alist): Revert previous change.
18360         (rmail-mime-show-images): New option.
18361         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18362         references to it, since it wasn't actually used for anything.
18363         (rmail-mime-insert-image): New function.
18364         (rmail-mime-image): Use rmail-mime-insert-image.
18365         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18366         obey the value of `rmail-mime-show-images' option.  Print the size of
18367         attachments.
18369 2009-09-25  David Engster  <deng@randomsample.de>
18371         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18373 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18375         * whitespace.el: Does not highlight trailing spaces While point is
18376         at end of line.  Does not highligt spaces at beginning of buffer
18377         while point is at beginning of buffer.  Does not highlight spaces
18378         at end of buffer while point is at end of buffer.  (Bug#4177)
18379         New version 12.0.
18380         (whitespace-display-mappings): Adjust initialization.
18381         (whitespace-point, whitespace-font-lock-refontify): New vars.
18382         (whitespace-color-on, whitespace-color-off): Adjust code.
18383         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18384         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18385         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18387 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18389         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18391         * textmodes/sgml-mode.el: Remove xml-mode alias.
18393         * files.el (auto-mode-alist, conf-mode-maybe)
18394         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18396 2009-09-24  Alan Mackenzie  <acm@muc.de>
18398         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18399         c-forward-conditionals, but it doesn't move point and doesn't set
18400         the mark.
18401         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18402         (c-down-conditional-with-else, c-backward-conditional)
18403         (c-forward-conditional): Refactor to use c-scan-conditionals.
18405 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18407         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18408         (help-default-arg-highlight): Remove.
18409         (help-highlight-arg): New function.
18410         (help-do-arg-highlight): Use it.
18411         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18413 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18415         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18416         Undo last change, which didn't fix the problem and introduced others.
18418 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18420         * progmodes/gdb-mi.el: Don't require speedbar.
18421         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18423 2009-09-24  Glenn Morris  <rgm@gnu.org>
18425         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18427         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18429         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18430         there is no newline after the final mime boundary.  (Bug#4539)
18431         Move markers on insertion so that any buttons inserted don't end up in
18432         the next part of a multipart message.
18433         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18434         (rmail-mime-bulk-handler): Optionally handle images.
18435         (rmail-mime-image): New button action.
18436         (rmail-mime-image-handler): New function.
18437         (rmail-mime-mode): New mode.
18438         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18440 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18442         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18443         than just dropping elements from it (bug#4504).
18445         * term.el (term-set-scroll-region): Don't move cursor any more.
18446         (term-handle-ansi-escape): Call term-goto here instead.
18447         Suggested by Ivan Kanis <apple@kanis.eu>.
18449         * term.el: Require CL.
18450         (term-ansi-reset): New function.
18451         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18452         (term-handle-colors-array): Simplify.
18454 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18456         * allout.el (allout-overlay-interior-modification-handler)
18457         (allout-obtain-passphrase):
18458         * epa-file.el (epa-file-write-region):
18459         * ps-print.el (ps-begin-job):
18460         * vc-hooks.el (vc-toggle-read-only):
18461         * vc-rcs.el (vc-rcs-rollback):
18462         * vc-sccs.el (vc-sccs-rollback):
18463         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18464         (vc-version-diff, vc-revert, vc-rollback):
18465         * wdired.el (wdired-check-kill-buffer):
18466         * emacs-lisp/authors.el (authors):
18467         * net/socks.el (socks-open-connection):
18468         * net/zeroconf.el (zeroconf-service-add-hook):
18469         * obsolete/vc-mcvs.el (vc-mcvs-register):
18470         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18471         (gdb-select-frame):
18472         * progmodes/grep.el (lgrep, rgrep):
18473         * progmodes/idlw-help.el (idlwave-help-check-locations)
18474         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18475         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18476         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18477         (reftex-toc-rename-label): Fix typos in error messages.
18479         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18480         (dired-copy-how-to-fn): Doc fix.
18481         (dired-files-attributes, dired-read-shell-command):
18482         Fix typos in docstrings.
18484         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18485         (dired-x-find-file-other-window): Reflow docstrings.
18486         (dired-omit-marker-char, dired-read-shell-command)
18487         (dired-x-submit-report): Fix typos in docstrings.
18489         * shell.el (shell-mode-hook):
18490         * view.el (View-scroll-line-forward):
18491         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18492         Fix typos in docstrings.
18494         * net/dig.el (dig-invoke): Fix typo in docstring.
18495         (query-dig): Reflow docstring.
18497         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18498         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18499         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18500         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18501         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18502         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18503         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18504         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18505         (idlwave-completion-map, idlwave-current-indent)
18506         (idlwave-custom-ampersand-surround, idlwave-customize)
18507         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18508         (idlwave-define-abbrev, idlwave-determine-class-special)
18509         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18510         (idlwave-end-block-reg, idlwave-end-of-statement)
18511         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18512         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18513         (idlwave-explicit-class-listed, idlwave-file-header)
18514         (idlwave-fill-paragraph, idlwave-find-class-definition)
18515         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18516         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18517         (idlwave-in-quote, idlwave-indent-action-table)
18518         (idlwave-indent-expand-table, idlwave-indent-line)
18519         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18520         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18521         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18522         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18523         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18524         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18525         (idlwave-outlawed-buffers, idlwave-popup-select)
18526         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18527         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18528         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18529         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18530         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18531         (idlwave-statement-type, idlwave-struct-skip)
18532         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18533         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18534         (idlwave-what-module-find-class): Fix typos in docstrings.
18535         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18536         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18537         (idlwave-find-module, idlwave-find-structure-definition)
18538         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18539         (idlwave-list-load-path-shadows, idlwave-next-statement)
18540         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18541         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18542         (idlwave-template): Reflow docstrings.
18544         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18545         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18546         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18547         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18548         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18549         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18550         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18551         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18552         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18553         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18554         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18555         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18556         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18557         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18558         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18559         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18560         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18561         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18562         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18563         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18564         Fix typos in docstrings.
18565         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18566         (idlwave-shell-hide-output, idlwave-shell-mode)
18567         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18568         Reflow docstrings.
18570         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18572 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18574         * term.el (term-bold-attribute): New var.
18575         (term-handle-colors-array): Use it.
18577 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18579         * progmodes/gdb-mi.el (gdb-version): New variable.
18580         (gdb-non-stop-handler): Set gdb-version.
18581         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18582         Condition "--thread" option on gdb-version.
18583         (gdb-invalidate-threads): Remove unused argument.
18585 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18587         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18588         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18590 2009-09-23  Glenn Morris  <rgm@gnu.org>
18592         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18593         replying to mail without References or Message-Id.  (Bug#4525)
18595 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18597         * term/ns-win.el (ns-reg-to-script): New variable.
18599 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18601         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18603 2009-09-22  Sam Steingold  <sds@gnu.org>
18605         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18606         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18607         to 1 because hg returns status 1 when nothing is found.
18608         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18610 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18612         * textmodes/fill.el: Convert to utf-8 encoding.
18613         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18614         pre-Unicode days.
18616         * add-log.el (change-log-fill-forward-paragraph): New function.
18617         (change-log-mode): Use it so fill-region DTRT.
18618         Set fill-indent-according-to-mode here rather than in
18619         change-log-fill-paragraph.
18620         (change-log-fill-paragraph): Remove.
18622 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18624         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18625         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18627 2009-09-22  Glenn Morris  <rgm@gnu.org>
18629         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18630         the scroll-bar scroll the calendar window rather than the buffer.
18632         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18633         commands that move point (as opposed to scrolling).
18635         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18637         * emacs-lisp/elint.el (elint): New custom group.
18638         (elint-log-buffer): Make it a defcustom.
18639         (elint-scan-preloaded, elint-ignored-warnings)
18640         (elint-directory-skip-re): New options.
18641         (elint-builtin-variables): Doc fix.
18642         (elint-preloaded-env): New variable.
18643         (elint-unknown-builtin-args): Add an entry for encode-time.
18644         (elint-extra-errors): Make it a variable rather than a constant.
18645         (elint-preloaded-skip-re): New constant.
18646         (elint-directory): Skip files matching elint-directory-skip-re.
18647         (elint-features): New variable, local to linted buffers.
18648         (elint-update-env): Initialize elint-features.  Possibly add
18649         elint-preloaded-env to the buffer's environment.
18650         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18651         Skip quoted forms.
18652         (elint-init-form): New function, extracted from elint-init-env.
18653         Make non-list forms a warning rather than an error.
18654         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18655         easy-menu-define, put that adds an error-condition, and provide.
18656         When requiring cl, also require cl-macs.  Really require cl, to handle
18657         some cl macros.  Store required libraries in the list elint-features,
18658         so as not to re-load them.  Treat cc-require like require.
18659         (elint-init-env): Call elint-init-form to do the work.
18660         Handle eval-and-compile and such like.
18661         (elint-add-required-env): Do not clear messages.
18662         (elint-special-forms): Add handlers for function, defalias, if, when,
18663         unless, and, or.
18664         (elint-form): Add optional argument to ignore elint-special-forms,
18665         useful to prevent recursive calls from handlers.  Doc fix.
18666         Respect elint-ignored-warnings.
18667         (elint-form): Respect elint-ignored-warnings.
18668         (elint-bound-variable, elint-bound-function): New variables.
18669         (elint-unbound-variable): Respect elint-bound-variable.
18670         (elint-get-args): Respect elint-bound-function.
18671         (elint-check-cond-form): Add some simple handling for (f)boundp and
18672         featurep tests.
18673         (elint-check-defalias-form): New handler.
18674         (elint-check-let-form): Make an empty let a warning rather than an
18675         error.
18676         (elint-check-setq-form): Make an empty setq a warning rather than an
18677         error.  Respect elint-ignored-warnings.
18678         (elint-check-defvar-form): Accept null doc-strings.
18679         (elint-check-conditional-form): New handler.  Does some simple-minded
18680         checking of featurep and (f)boundp tests.
18681         (elint-put-function-args): New function.
18682         (elint-initialize): Use elint-scan-doc-file rather than
18683         elint-find-builtin-variables.  Use elint-put-function-args.
18684         Possibly scan preloaded-file-list.
18685         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18686         extend to handle functions as well.
18688 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
18690         * linum.el (linum-delete-overlays, linum-update-window):
18691         Do not modify the right margin.  (Bug#3971)
18693 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
18695         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18696         Use nxml-mode instead of xml-mode.
18698 2009-09-21  Kevin Ryde  <user42@zip.com.au>
18700         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
18702 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18704         * net/dig.el (dig-mode): Use define-derived-mode.
18706 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
18708         * vc-dispatcher.el (vc-do-command): Return the process object in
18709         the asynchronous case.  Use when instead of if.  Do not run
18710         vc-exec-after to display a message if not enabled.  (Bug#4463)
18712         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18713         properties to the stash strings.
18714         (vc-git-stash-list): Return a list of strings.
18715         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18716         (vc-git-stash-show-at-point): New functions.
18717         (vc-git-stash-map): New keymap.
18719         * register.el (ctl-x-r-map): Define the keys here instead of
18720         using autoload.
18722 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
18724         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18725         list, to workaround performance problem (bug#4485).
18727 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
18729         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18731 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
18733         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18734         Document that this option is not recommended to use.
18736 2009-09-19  Glenn Morris  <rgm@gnu.org>
18738         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18739         variable `var'.
18741         * calc/calc-alg.el (var):
18742         * calc/calcalg2.el (var): Define for compiler.
18744 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
18746         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18747         Doc fix (Bug#3932).
18749         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18751         * time-stamp.el (time-stamp-month-dd-yyyy)
18752         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18753         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18754         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18755         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18756         Remove functions that have been obsolete since 1995 (Bug#4436).
18758         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18759         indent buffer only if called interactively (Bug#4452).
18761 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
18762             Eli Zaretskii  <eliz@gnu.org>
18764         This fixes bug#4197 (merged to bug#865, though not identical).
18765         * server.el (server-auth-dir): Add docstring note about FAT32.
18766         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18767         but warn against using them.
18769 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
18771         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18772         older GDB where there is no has_more field.
18774 2009-09-19  Glenn Morris  <rgm@gnu.org>
18776         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18778 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
18780         * files.el (auto-mode-alist): Change default for XML files to nXML
18781         mode (Bug#4169).
18783 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
18785         * server.el (server-ensure-safe-dir): Pass 'integer
18786         to `file-attributes', as suggested.
18788 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18790         * dired-aux.el (dired-query-alist): Remove spurious backslash.
18791         (dired-query): Use read-key.
18793 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
18795         * cus-start.el (ns-use-qd-smoothing): Remove.
18797 2009-09-18  Glenn Morris  <rgm@gnu.org>
18799         * allout.el (top-level): Remove unnecessary progn.
18801         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18803         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18804         definition of abbrev table.
18806         * speedbar.el (speedbar-track-mouse):
18807         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18808         * net/eudc.el (eudc-expand-inline):
18809         * net/newst-backend.el (newsticker--cache-read-feed):
18810         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18811         condition-case handlers.
18813 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
18815         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18816         (gdb-var-list): Add an element for has_more field.
18817         (gdb-non-stop-handler): Enable pretty printing for STL containers.
18818         (gdb-var-create-handler, gdb-var-list-children-handler-1)
18819         (gdb-var-update-handler-1): Parse output of dynamic variable
18820         objects (STL containers).
18821         (gdb-var-delete-1): Pass var1 as an explicit second argument.
18822         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
18824         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18825         gdb-var-list.
18826         (gud-speedbar-buttons): Make node expandable if expression "has more"
18827         children.
18829 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
18831         * startup.el (emacs-quick-startup): Remove variable and all uses.
18832         (command-line): Set `inhibit-x-resources' instead.
18833         (command-line-1): Use `inhibit-x-resources' instead.
18835 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
18837         * subr.el: Fix last change to avoid using the `unless' macro,
18838         which breaks bootstrapping.
18840 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18842         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18843         extended definitions, in case we reload subr.el after having
18844         loaded CL.
18845         (eval-next-after-load): Mark as obsolete.
18847 2009-09-17  Juri Linkov  <juri@jurta.org>
18849         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18850         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18851         (menu-bar-showhide-menu, menu-bar-tools-menu)
18852         (menu-bar-describe-menu, menu-bar-help-menu)
18853         (minibuffer-local-completion-map, minibuffer-local-map):
18854         Fix list quoting.
18856 2009-09-17  Glenn Morris  <rgm@gnu.org>
18858         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18859         arguments, whether or not it has a handler.
18861         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18863         * simple.el (hard-newline): Give it a doc-string.
18865         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18866         (lisp-mode-syntax-table): Give them doc-strings.
18868 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
18870         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18871         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18872         (menu-bar-options-menu, menu-bar-showhide-menu)
18873         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18874         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18875         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18876         (menu-bar-options-menu, menu-bar-tools-menu)
18877         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18878         (menu-bar-help-menu):
18879         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18880         string arguments.
18882         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18883         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18884         calls for the menu names and :help.
18886 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18888         * mouse.el (minor-mode-menu-from-indicator): Pay attention
18889         to :minor-mode-function (bug#4455).
18891 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18893         * startup.el (command-line): Initialize the window-system after
18894         processing the command-line.
18896         * textmodes/page.el (what-page): Make sure we don't inf-loop if
18897         page-delimiter matches the empty string.
18899 2009-09-16  Glenn Morris  <rgm@gnu.org>
18901         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18902         byte-compile-not-obsolete-var.  It's a list now.
18903         (byte-compile-not-obsolete-funcs): New variable.
18904         (byte-compile-warn-obsolete): Don't warn about functions if they are in
18905         byte-compile-not-obsolete-funcs.
18906         (byte-compile-variable-ref, byte-compile-defvar): Update for
18907         byte-compile-not-obsolete-vars name-change and list nature.
18908         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18909         and variables behind (f)boundp tests.
18910         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18912 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18914         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18916 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18918         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18919         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18920         Don't autoload.
18922 2009-09-15  Stephen Eglen  <stephen@gnu.org>
18924         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18925         the virtual-buffers, use the name of the buffer specified by
18926         find-file-noselect, as the match may be a symlink.  (This was a
18927         problem if the target and the symlink had different names.)
18929 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18931         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18933         * desktop.el (desktop-path): Check user-emacs-directory.
18935         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18937         * loadup.el: Use after-load-functions to GC after loading each file.
18938         Remove the explicit GC calls that used to be sprinkled around.
18940         * subr.el (after-load-functions): New hook.
18941         (do-after-load-evaluation): Run it.  Use string-match-p to detect
18942         `obsolete' packages, rather than painfully extracting the relevant
18943         directory name.
18945 2009-09-15  Glenn Morris  <rgm@gnu.org>
18947         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18948         free variable `doc'.
18950         * dired.el (dired-mode-map): Add menu entry for async shell command.
18952         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18953         variables, also consider the .elc files, since the .el files are
18954         normally gzipped (subsequent code locates the .el.gz from the .elc).
18956         * calc/calc-prog.el (arglist): Define for compiler.
18958         * calendar/diary-lib.el (diary-display-function): Change the default to
18959         fancy display.
18960         (body): Define for compiler.
18962         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18963         (byte-compile-file-form, byte-compile-lambda)
18964         (byte-compile-top-level-body, byte-compile-form)
18965         (byte-compile-variable-ref, byte-compile-setq)
18966         (byte-compile-setq-default, byte-compile-body)
18967         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18968         (batch-byte-compile): Give some more local variables with common names
18969         a "bytecomp-" prefix to avoid masking warnings about free variables.
18971         * startup.el (command-line-1): Give local variables with common names a
18972         distinguishing prefix, so as not to hide free variable warnings during
18973         bootstrap.
18975         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18976         clever and add a suffix to make a unique name, just let the user decide
18977         whether or not to overwrite it.  If the input is a directory, write the
18978         default filename to that directory.  (Bug#4388)
18979         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18980         is a filename-as-a-directory.
18982 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18984         * textmodes/page.el (what-page): Don't move to beginning of line.
18985         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18987 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18989         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18991 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
18993         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18994         * help.el (help-for-help-internal): Add purecopy calls for text.
18996         * vc.el (top): print-log method now takes an optional SHORTLOG
18997         argument.  Add a new method: root.
18998         (vc-root-diff, vc-print-root-log): New functions.
18999         (vc-log-short-style): New variable.
19000         (vc-print-log-internal): Add support for showing short logs.
19002         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19003         vc-print-root-log and vc-print-root-diff.
19005         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19006         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19007         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19008         short logs.
19010         * vc-cvs.el (vc-cvs-print-log):
19011         * vc-mtn.el (vc-mtn-print-log):
19012         * vc-rcs.el (vc-rcs-print-log):
19013         * vc-sccs.el (vc-sccs-print-log):
19014         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19015         that is ignored for now.
19017         * vc-mtn.el (vc-mtn-annotate-command):
19018         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19020 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19022         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19023         to function-key-map, and give them ascii-character property.
19024         * term/x-win.el (x-alternatives-map):
19025         * term/ns-win.el (ns-alternatives-map):
19026         * term/internal.el (msdos-key-remapping-map):
19027         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19029 2009-09-14  Glenn Morris  <rgm@gnu.org>
19031         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19032         temp-buffers (2009-09-12).
19034 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19036         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19037         the new read-key function.
19039 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19041         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19042         is defined (Bug#4405).
19044 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19046         * recentf.el (recentf-cleanup): Use a hash table to find
19047         duplicates (Bug#4407).
19049 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19051         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19052         kp-0 to ascii equivalents (Bug#4325).
19054 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19056         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19058         * eshell/em-hist.el:
19059         * eshell/em-dirs.el (eshell-complete-user-reference):
19060         Declare pcomplete functions and variables to avoid compiler warnings.
19062 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19064         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19065         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19066         * eshell/em-alias.el (eshell-aliases-file):
19067         * eshell/em-hist.el (eshell-history-file-name):
19068         Use expand-file-name instead of concat to make file names (Bug#4308).
19070 2009-09-13  Glenn Morris  <rgm@gnu.org>
19072         * ediff-merg.el (ediff-do-merge):
19073         * filesets.el (filesets-run-cmd):
19074         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19075         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19076         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19077         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19078         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19079         Replace empty `let's with `progn'.
19081 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19083         * mail/sendmail.el (send-mail-function):
19084         * tooltip.el (tooltip-mode):
19085         * simple.el (transient-mark-mode):
19086         * rfn-eshadow.el (file-name-shadow-mode):
19087         * frame.el (blink-cursor-mode):
19088         * font-core.el (global-font-lock-mode):
19089         * files.el (temporary-file-directory)
19090         (small-temporary-file-directory, auto-save-file-name-transforms):
19091         * epa-hook.el (auto-encryption-mode):
19092         * composite.el (global-auto-composition-mode):
19093         Use custom-initialize-delay.
19094         * startup.el (command-line): Don't explicitly call
19095         custom-reevaluate-setting for all the above vars.
19096         * custom.el (custom-initialize-safe-set)
19097         (custom-initialize-safe-default): Delete.
19099 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19101         * term/x-win.el (x-initialize-window-system):
19102         * term/w32-win.el (w32-initialize-window-system):
19103         * term/ns-win.el (ns-initialize-window-system): Don't call
19104         mouse-wheel-mode since it's enabled globally by default already.
19106         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19107         actually define the variable, but only silences the byte-compiler.
19108         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19109         before looking it up.
19110         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19111         is changed.
19113 2009-09-12  Glenn Morris  <rgm@gnu.org>
19115         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19116         1000.
19117         (elint-add-required-env): Don't beep on error.
19118         (elint-forms): In case of error, return ENV unchanged.
19119         (elint-init-env): Skip non-list forms.
19120         (elint-log): Handle unknown file positions.
19122 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19124         * epg.el (epg-make-context): Add autoload cookie.
19125         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19126         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19127         (epg-verify-string, epg-start-sign, epg-sign-file)
19128         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19129         (epg-encrypt-string, epg-start-export-keys)
19130         (epg-export-keys-to-file, epg-export-keys-to-string)
19131         (epg-start-import-keys, epg-import-keys-from-file)
19132         (epg-import-keys-from-string, epg-start-receive-keys)
19133         (epg-receive-keys, epg-import-keys-from-server)
19134         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19135         (epg-sign-keys, epg-start-generate-key)
19136         (epg-generate-key-from-file, epg-generate-key-from-string):
19137         Remove autoload cookie.
19139 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19141         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19142         reevaluation of trash-directory.
19144         * mwheel.el: Fix last change.
19145         (mouse-wheel-mode): New defvar.
19146         (mouse-wheel-mode): Remove autoload cookie.
19148 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19150         * mwheel.el (mwheel-installed-bindings): New var.
19151         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19152         the bindings we set last time.  Use custom-initialize-delay.
19153         * loadup.el: Load mwheel after term/*-win.el.
19154         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19155         and mouse-wheel-up-event now that their first evaluation is done
19156         sufficiently late to be correct.
19158         * startup.el (tutorial-directory): Make it a defcustom.
19159         Use custom-initialize-delay rather than eval-at-startup to set it.
19160         * image.el (image-load-path): Make it a defcustom.
19161         Use custom-initialize-delay rather than eval-at-startup to set it.
19162         * subr.el (eval-at-startup): Remove.
19163         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19165         * subr.el (do-after-load-evaluation): Warn the user after loading an
19166         obsolete package.
19168 2009-09-12  Glenn Morris  <rgm@gnu.org>
19170         * proced.el (proced-mark-alt): Remove alias.
19171         (proced-mode-map): Remove proced-mark-alt.
19173         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19174         Elint file and directory.  Remove initialization entry.
19176         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19177         commands.
19178         (elint-current-buffer): Set mode-line-process.
19179         (elint-init-env): Handle define-derived-mode.
19180         Fix declare-function with unspecified arglist.  Guard against odd
19181         defalias statements (eg iso-insert's 8859-1-map).
19182         (elint-add-required-env): Use a temp buffer.
19183         (elint-form): Just print the function/macro name, not the whole form.
19184         Return env unchanged if we fail to parse a macro.
19185         (elint-forms): Guard against parse errors.
19186         (elint-output): New function, to handle batch mode.
19187         (elint-log-message): Add optional argument.  Use elint-output.
19188         (elint-set-mode-line): New function.
19190 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19192         * emacs-lisp/elp.el (elp-not-profilable): Add more
19193         functions (Bug#4233).
19195 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19197         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19198         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19200 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19202         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19203         (gdb-var-list-children): Use json parsing.
19205 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19207         * progmodes/js.el (js--proper-indentation): Handle the case where
19208         char-before is null.  Reported by Deniz Dogan.
19210 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19212         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19214 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19216         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19217         (epg-digest-algorithm-alist): Add SHA224.
19218         (epg-context-set-passphrase-callback)
19219         (epg-context-set-progress-callback): Add description about
19220         callback function.
19222 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19224         * custom.el (custom-delayed-init-variables): New var.
19225         (custom-initialize-delay): New function.
19226         * startup.el (command-line): "Re"evaluate all vars in
19227         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19228         explicitly any more.
19229         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19230         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19232         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19234 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19236         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19237         (gdb-var-update-handler): Use json parsing.
19239 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19241         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19242         decode annotated text, regardless of language environment.  (Bug#2741)
19244 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19246         * Makefile.in (autoloads): Make rmail.el writable as well.
19248 2009-09-11  Glenn Morris  <rgm@gnu.org>
19250         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19251         loaddefs.el.
19252         * dired.el: Regenerate with extracted autoloads.
19253         * Makefile.in (autoloads): Make dired.el writable.
19255         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19256         * ibuffer.el: Regenerate with extracted autoloads.
19257         * Makefile.in (autoloads): Make ibuffer.el writable.
19259         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19260         * version.el (emacs-copyright, emacs-major-version)
19261         (emacs-minor-version): Reformat doc-strings for make-docfile.
19263         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19264         functions and variables, since they must be stuff specific to some other
19265         platform.
19266         (apropos-print): Make mouse-click message less specific about button.
19268         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19269         that records where a macro was defined.
19270         * help-fns.el (describe-function-1): Mention if a function has a
19271         compiler-macro.
19272         * help-mode.el (help-function-cmacro): New button.
19274         * locate.el (top-level): Always require dired.
19275         (locate-mode-map): Initialize inside the defvar.
19277         * net/ange-ftp.el (dired-compress-file): Declare.
19278         (ange-ftp-dired-compress-file): Add doc string.
19280         * term/ns-win.el (x-display-name, x-setup-function-keys):
19281         Unify doc-strings with X versions.
19283 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19285         * emulation/crisp.el (crisp-mode-map): Move initialization
19286         into declaration.
19287         (crisp-mode): Use define-minor-mode.
19289         * progmodes/xscheme.el (xscheme-evaluation-commands):
19290         Put a :advertised-binding property rather than using
19291         advertised-xscheme-send-previous-expression.
19292         (advertised-xscheme-send-previous-expression): Declare obsolete.
19293         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19294         `advertised-undo'.
19295         (crisp-mode): Add corresponding bindings to
19296         undo's :advertised-binding instead.
19297         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19298         than using dired-advertised-find-file.
19299         (dired-advertised-find-file):
19300         * simple.el (advertised-undo):
19301         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19302         (widget-keymap): Put a :advertised-binding property rather
19303         than using advertised-widget-backward.
19304         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19305         than using advertised-undo.
19306         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19308 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19310         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19311         Mark mode is enabled and region is active; otherwise indent or
19312         insert TAB as usual.
19313         (delphi-mode): Update description of TAB-key binding.
19315 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19317         * subr.el (define-key-rebound-commands): Mark obsolete.
19318         * startup.el (precompute-menubar-bindings): Remove.
19319         (normal-top-level): Remove obsolete code that tried to precompute
19320         menubar bindings.
19321         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19322         define-key-rebound-commands and precompute-menubar-bindings.
19324 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19326         * net/imap.el (imap-interactive-login): Better messages.
19327         (imap-open): Fix bug with renamed buffer on reconnect.
19328         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19329         for easier debugging and cleaner code.  On successful (guessed based on
19330         server capabilities) secondary authentication, set imap-state
19331         correctly.
19332         (imap-last-authenticator): Define imap-last-authenticator as a variable
19333         to avoid warnings.
19335 2009-09-10  Glenn Morris  <rgm@gnu.org>
19337         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19339         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19340         (byte-compile-file-form-autoload): Don't warn about unknown functions
19341         where the autoload statement comes after the use.
19342         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19343         that any handlers inside the body (eg require) are in turn respected.
19345         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19346         effects.
19348         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19349         and syntax and abbrev tables basic docs, if they don't have any.
19351         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19353         * international/mule-cmds.el (top-level): Require cl when compiling.
19354         (view-hello-file): Use default-value rather than
19355         default-enable-multibyte-characters.
19357         * progmodes/fortran.el: Move all safe and risky properties into the
19358         defcustoms.
19360         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19361         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19362         * mail/undigest.el:
19363         Put autoloads in rmail.el rather than loaddefs.el.
19364         * mail/rmail.el: Regenerate with extracted autoloads.
19366         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19367         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19369 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19371         Reported in thread for Bug#4375.
19372         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19373         "-data-evaluate-expression" instead of print.
19374         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19375         (gdb-tooltip-print): Parse output from above MI command.
19376         (gdb): Revert 2009-08-11 change.  User should detach inferior
19377         manually.
19379         Remove the word "separate" from IO functions as inferior
19380         output is now never displayed in the GUD buffer.
19382 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19384         * startup.el (command-line-normalize-file-name): On Windows and
19385         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19387 2009-09-10  Juri Linkov  <juri@jurta.org>
19389         * isearch.el (isearch-text-char-description): Propertize escape
19390         character sequences with the `escape-glyph' face.  (Bug#4344)
19392         * simple.el (shell-command): Set asynchronous process filter to
19393         `comint-output-filter'.  (Bug#4343)
19395         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19396         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19397         the list.  Move "asm" to the bottom.
19398         (grep-find-ignored-directories): Add `choice' with nil value
19399         to empty the list easily.
19400         (grep-find-ignored-files): New option.
19401         (grep-files-history): Set to nil by default instead of '("ch" "el").
19402         (grep-compute-defaults): Add "<X>" to `grep-template'.
19403         (grep-read-files): Bind new local variables `default-alias' and
19404         `default-extension'.  Use a list of default values for the file prompt.
19405         (lgrep): Add `--exclude=' command line options composed from
19406         `grep-find-ignored-files'.
19407         (rgrep): Add `-name' command line options composed from
19408         `grep-find-ignored-files'.  (Bug#4301)
19410 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19412         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19413         (bug#4368).
19415 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19417         * calendar/time-date.el (autoload):
19418         Expand define-obsolete-function-alias into defalias and make-obsolete
19419         for old Emacsen that Gnus supports.
19420         (with-no-warnings): Define it for old Emacsen.
19421         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19422         is available.
19423         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19424         float-time is available; suppress compile warning for time-to-seconds.
19426 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19428         * net/imap.el (imap-message-map): Docstring fix.
19430 2009-09-09  Glenn Morris  <rgm@gnu.org>
19432         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19433         line numbers too.  (Bug#4374)
19435 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19437         * smerge-mode.el (smerge-remove-props, smerge-refine):
19438         Use with-silent-modifications (bug#4342).
19440         * subr.el (with-silent-modifications): New macro.
19442 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19444         * files.el (top-level): Require `cl' when compiling.
19446 2009-09-07  Glenn Morris  <rgm@gnu.org>
19448         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19450         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19451         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19453 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19455         * vc-git.el (vc-git-annotate-command): Use separator to parse
19456         arguments correctly.
19458 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19460         * proced.el (proced-mode): Doc fix.
19462 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19464         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19465         lstat fails.
19466         (tramp-do-file-attributes-with-ls): Check for file existence at
19467         remote end.
19468         (tramp-do-file-attributes-with-stat): Likewise.
19469         (tramp-convert-file-attributes): Return nil when attr is nil.
19471 2009-09-05  Glenn Morris  <rgm@gnu.org>
19473         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19474         properties to this button.
19475         (diary-fancy-display): Don't extend the button to the final newline.
19476         (diary-fancy-display-mode): Continue to define "q" as a local key.
19478         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19479         efficient.
19481         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19483         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19484         (byte-compile-dest-file-function): New option.
19485         (byte-compile-dest-file): Doc fix.
19486         Obey byte-compile-dest-file-function.
19487         (byte-compile-cl-file-p): New function.
19488         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19489         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19490         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19491         than for file being previously loaded.
19492         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19493         (byte-compile-file-form-require): Handle the case where requiring a file
19494         indirectly causes CL to be loaded.
19496 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19498         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19499         before killing the old buffer, since by the time `kill-buffer' is
19500         run so many buffer variables have been set to nil that it may not
19501         behave as expected.  (Bug#4061)
19503 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19505         * files.el (find-alternate-file): If the old buffer is modified
19506         and visiting a file, behave similarly to `kill-buffer' when
19507         killing it, thus reverting to the pre-1.878 behavior; see
19508         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19509         for discussion.  Also, consult `buffer-file-name' as a variable
19510         not as a function, for consistency with the rest of the code.
19512 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19514         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19515         also when adding a new directory.
19517         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19518         New defun.
19520 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19522         * files.el (locate-file-completion-table): Make it provide boundary
19523         information, so partial-completion works better.
19525 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19527         * mail/footnote.el (Footnote-text-under-cursor):
19528         Check footnote-text-marker-alist before using it (bug#4324).
19530 2009-09-04  Glenn Morris  <rgm@gnu.org>
19532         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19533         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19534         * play/solitaire.el, play/tetris.el:
19535         Remove leading * from defcustom and defface docs.
19537         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19538         necessary.
19539         (diary-fancy-overriding-map): New variable.
19540         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19541         Use view-mode.
19543         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19544         goto-line.
19546 2009-09-03  Glenn Morris  <rgm@gnu.org>
19548         * arc-mode.el (archive-mode):
19549         * dos-fns.el (set-default-process-coding-system):
19550         * man.el (Man-getpage-in-background):
19551         * menu-bar.el (menu-bar-describe-menu):
19552         * server.el (server-process-filter):
19553         * startup.el (command-line):
19554         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19555         * w32-fns.el (set-default-process-coding-system):
19556         * x-dnd.el (x-dnd-handle-file-name):
19557         * international/mule-cmds.el (mule-menu-keymap)
19558         (set-default-coding-systems, language-info-alist, set-language-info)
19559         (set-language-environment, standard-display-european-internal)
19560         (set-locale-environment):
19561         * international/mule-diag.el (mule-diag):
19562         * mail/emacsbug.el (report-emacs-bug):
19563         * mail/rmail.el (rmail-mode):
19564         * mail/sendmail.el (mail-setup):
19565         Use default-value rather than default-enable-multibyte-characters.
19567         * progmodes/f90.el: Move all safe properties into the defcustoms.
19568         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19570         * calendar/appt.el (appt-check):
19571         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19572         (diary-check-diary-file, diary-list-entries)
19573         (diary-include-other-diary-files, diary-simple-display)
19574         (diary-fancy-display, diary-print-entries)
19575         (diary-mark-included-diary-files, diary-make-entry):
19576         Don't call substitute-in-file-name on diary-file.
19578 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19579             Stefan Monnier  <monnier@iro.umontreal.ca>
19581         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19582         (footnote-mode-map): Move initialization into the declaration.
19583         (footnote-minor-mode-map): Define it rather than changing global-map.
19584         (footnote-mode): Use define-minor-mode.
19586 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19588         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19589         (tramp-do-file-attributes-with-perl)
19590         (tramp-do-file-attributes-with-stat): Rename from
19591         `tramp-handle-file-attributes-with-*'.
19592         (tramp-handle-file-attributes): Use them.
19593         (tramp-do-directory-files-and-attributes-with-perl)
19594         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19595         `tramp-handle-directory-files-and-attributes-with-*'.
19596         (tramp-handle-directory-files-and-attributes): Use them.
19597         (tramp-method-out-of-band-p): Additional parameter SIZE.
19598         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19599         (tramp-handle-write-region): Use it.
19600         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19601         (tramp-handle-vc-registered): Check, whether the first run did
19602         return files to be tested.
19603         (tramp-advice-make-auto-save-file-name): Do not call directly
19604         `tramp-handle-make-auto-save-file-name', because this would bypass
19605         the locking mechanism.
19607         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19608         (file-remote-p, process-file, start-file-process, set-file-times)
19609         (tramp-compat-file-attributes): Compatibility functions shall not
19610         call directly `tramp-handle-*', because this would bypass the
19611         locking mechanism.
19612         (tramp-compat-number-sequence): New defun.
19614 2009-09-02  Glenn Morris  <rgm@gnu.org>
19616         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19617         alias for float-time.
19618         (time-to-number-of-days): In Emacs, use float-time.
19619         * net/newst-backend.el (time-add): Suppress warnings from compat
19620         function.
19621         * time.el (emacs-uptime, emacs-init-time):
19622         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19623         Use float-time rather than time-to-seconds.
19625         * minibuffer.el (completion-initials-expand): Fix typo.
19627         * faces.el (modeline, modeline-inactive, modeline-highlight)
19628         (modeline-buffer-id):
19629         * info.el (info-menu-5): Mark these face aliases as obsolete.
19631 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19633         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19634         space ...
19635         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19636         no "--thread" option.
19637         (gdb-stopped): Don't print "Switched to thread" message when it is
19638         unchanged.
19640 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19642         * minibuffer.el (completion-try-completion)
19643         (completion-all-completions): Remove ill-defined (and
19644         mistakenly installed and luckily never used nor documented)
19645         `completion-styles' property.
19646         (completion-initials-expand, completion-initials-all-completions)
19647         (completion-initials-try-completion): New functions.
19648         (completion-styles-alist): Add doc to each entry.
19649         Add new `initials' entry.
19651 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19653         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19654         MI command -var-evaluate-expression.
19655         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19656         and tweak for case of string child.
19657         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19659 2009-09-01  Glenn Morris  <rgm@gnu.org>
19661         * add-log.el (change-log-date-face, change-log-name-face)
19662         (change-log-email-face, change-log-file-face, change-log-list-face)
19663         (change-log-conditionals-face, change-log-function-face)
19664         (change-log-acknowledgement-face):
19665         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19666         (custom-modified-face, custom-set-face, custom-changed-face)
19667         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19668         (custom-documentation-face, custom-state-face, custom-comment-face)
19669         (custom-comment-tag-face, custom-variable-tag-face)
19670         (custom-variable-button-face, custom-face-tag-face)
19671         (custom-group-tag-face-1, custom-group-tag-face):
19672         * diff-mode.el (diff-header-face, diff-file-header-face)
19673         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19674         (diff-added-face, diff-changed-face, diff-function-face)
19675         (diff-context-face, diff-nonexistent-face):
19676         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19677         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19678         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19679         (Info-title-4-face):
19680         * isearch.el (isearch-lazy-highlight-face):
19681         * log-view.el (log-view-file-face, log-view-message-face):
19682         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19683         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19684         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19685         (cvs-msg-face):
19686         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19687         (smerge-base-face, smerge-markers-face):
19688         * wid-edit.el (widget-documentation-face, widget-button-face)
19689         (widget-field-face, widget-single-line-field-face)
19690         (widget-inactive-face, widget-button-pressed-face):
19691         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19692         (woman-addition-face):
19693         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19694         (eshell-ls-executable-face, eshell-ls-readonly-face)
19695         (eshell-ls-unreadable-face, eshell-ls-special-face)
19696         (eshell-ls-missing-face, eshell-ls-archive-face)
19697         (eshell-ls-backup-face, eshell-ls-product-face)
19698         (eshell-ls-clutter-face):
19699         * eshell/em-prompt.el (eshell-prompt-face):
19700         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19701         * obsolete/old-whitespace.el (whitespace-highlight-face):
19702         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19703         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19704         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19705         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19706         (antlr-font-lock-literal-face):
19707         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19708         (ebrowse-root-class-face, ebrowse-file-name-face)
19709         (ebrowse-default-face, ebrowse-member-attribute-face)
19710         (ebrowse-member-class-face, ebrowse-progress-face):
19711         * progmodes/make-mode.el (makefile-space-face):
19712         * progmodes/sh-script.el (sh-heredoc-face):
19713         * textmodes/flyspell.el (flyspell-incorrect-face)
19714         (flyspell-duplicate-face):
19715         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19716         * textmodes/texinfo.el (texinfo-heading-face):
19717         Mark face aliases with "-face" suffix as obsolete.
19719         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19720         compiler.
19722         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19723         (eudc-bob-sound-menu): Use defvar rather than defconst, since
19724         easy-menu-define wants to modify these.
19726         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19728         * net/browse-url.el (browse-url-file-url):
19729         * term/internal.el (dos-codepage-setup):
19730         Use default-value rather than default-enable-multibyte-characters.
19732         * progmodes/etags.el (etags-goto-tag-location):
19733         * progmodes/flymake.el (flymake-highlight-line)
19734         (flymake-goto-file-and-line, flymake-goto-line):
19735         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19736         (gdb-goto-breakpoint):
19737         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19738         * progmodes/python.el (python-find-function)
19739         (python-pdbtrack-track-stack-file):
19740         * progmodes/verilog-mode.el (verilog-surelint-off):
19741         * term/ns-win.el (ns-open-file-select-line):
19742         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19743         Use forward-line rather than goto-line.
19745         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19746         * textmodes/reftex-index.el (reftex-display-index):
19747         * textmodes/reftex-ref.el (reftex-offer-label-menu):
19748         * textmodes/reftex-toc.el (reftex-toc):
19749         Remove unnecessary bindings of default-major-mode (all are followed by
19750         major-mode check and possible mode switch).
19752 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19754         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19755         Handle watchpoints (bug#4282).
19756         (def-gdb-thread-buffer-command): Enable thread to be selected by
19757         clicking without selecting threads buffer first.
19758         (gdb-current-context-command): Use selected frame so that "up",
19759         "down" etc work in the GUD buffer.
19760         (gdb-update): Find selected frame before rendering stack buffer.
19761         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19763 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19765         * progmodes/sym-comp.el (displayed-completions): Remove.
19766         (symbol-complete): Use minibuffer-complete.
19768 2009-08-31  Glenn Morris  <rgm@gnu.org>
19770         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19772         * apropos.el (apropos-symbols-internal):
19773         Handle (obsolete) face aliases.
19775         * faces.el (describe-face): Adjust the output format to be more like
19776         describe-variable, and to mention (obsolete) face aliases.
19777         Adjust the whitespace so that help-setup-xref works.
19779         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19780         * calendar/diary-lib.el (diary-button-face):
19781         Mark these face aliases as obsolete.
19783         * calendar/calendar.el (calendar-today): Doc fix.
19785 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19787         * progmodes/gdb-mi.el (gdb-control-all-threads)
19788         (gdb-control-current-thread): Force tool bar update.
19789         (gdb-non-stop-handler): New function.
19790         (gdb-init-1): Use it to test if non-stop mode is supported.
19791         Remove unused gdbmi buffer type.
19793 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
19795         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19796         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
19798 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
19800         * comint.el (comint-exec-1): Check command is non-null first.
19801         Part of gdb-mi.el change (2009-08-28).
19803 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19805         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19807 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
19809         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19810         instead of `dolist' to avoid a recursive require when bootstrapping.
19812 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19814         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19816         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19818         * net/imap.el (imap-send-command): Simplify.
19819         (imap-wait-for-tag): point-max -> buffer-size.
19821         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19823         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19824         with constant argument.
19826         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19828         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19830         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19831         Change default, since most of our files don't have a history.
19832         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19833         the user.
19835         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19836         Add comint-run.
19838         * calc/calc.el: Improve commenting convention.
19839         (calc-digit-map, toplevel): Simplify.
19841         * comint.el (comint-insert-input): Be careful to only set point if we
19842         don't delegate to some other command.
19844         * proced.el (proced-signal-list): Make it an alist.
19845         (proced-grammar-alist): Capitalize names.
19846         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19847         Disable undo manually and make it read-only.
19848         Use completion-annotate-function.
19850         * minibuffer.el (minibuffer-message): If the current buffer is not
19851         a minibuffer, insert the message in the echo area rather than at the
19852         end of the buffer.
19853         (completion-annotate-function): New variable.
19854         (minibuffer-completion-help): Use it.
19855         (completion--embedded-envvar-table): Environment vars are
19856         always case-sensitive.
19858 2009-08-30  Glenn Morris  <rgm@gnu.org>
19860         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19861         from fortran-current-defun.
19862         (fortran-beginning-of-subprogram): Be more precise about finding the
19863         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
19864         (fortran-end-of-subprogram): Simplify.
19865         (fortran-current-defun): Use fortran-start-prog-re.
19867 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
19869         * subr.el (do-after-load-evaluation): Simplify.
19871 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
19873         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19875         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
19876         (vc-rcs-print-log): Use it.
19878         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19880 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19882         * paths.el (abbrev-file-name): Move to abbrev.el.
19883         * abbrev.el (abbrev-file-name): Move from paths.el.
19884         Obey user-emacs-directory.
19885         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19886         user-emacs-directory.
19887         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19888         abbrev-file-name and calc-settings-file any more.
19889         * startup.el (command-line): Recompute abbrev-file-name and
19890         abbreviated-home-dir.
19891         (normal-no-mouse-startup-screen): Improve the generic code and get rid
19892         of the special code for when C-h bindings haven't been changed.
19893         (display-startup-echo-area-message): Use with-current-buffer.
19894         (command-line-1): Use a list of strings, rather than a list of lists
19895         of strings for longopts.
19897         * files.el (get-free-disk-space): Use / for default-directory.
19899         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19900         Use with-current-buffer.
19902         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19903         Recognize immutable variables like most-positive-fixnum.
19904         (byte-compile-setq-default): Check and warn if trying to assign
19905         to an immutable variable, or a non-variable.
19907         * progmodes/cc-vars.el (c-comment-continuation-stars):
19908         * progmodes/cc-engine.el (c-looking-at-bos):
19909         * progmodes/cc-cmds.el (c-toggle-auto-state)
19910         (c-forward-into-nomenclature, c-backward-into-nomenclature)
19911         (c-comment-line-break-function): Add version of obsolescence.
19913 2009-08-28  Juri Linkov  <juri@jurta.org>
19915         * files.el (magic-fallback-mode-alist): Add ZIP magic number
19916         associated with `archive-mode'.
19918         * image.el (image-type-header-regexps): Use only JPEG magic number
19919         to determine JPEG images, and don't use `image-jpeg-p' because
19920         Emacs can display non-JFIF non-Exif JPEG images.
19922 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19924         * arc-mode.el (archive-mode):
19925         * emacs-lisp/re-builder.el (re-builder-unload-function):
19926         Protect against the default value of `major-mode' being nil.
19928 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19930         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19931         Fix typos in docstrings.
19933         * progmodes/js.el (js--macro-decl-re): Doc fix.
19934         (js--plain-method-re, js--split-name): Refloc docstring.
19935         (js--class-styles, js--make-merged-item, js--splice-into-items):
19936         Fix typos in docstrings; reflow docstrings.
19937         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19938         (js--variable-decl-matcher, js--inside-pitem-p)
19939         (js--parse-state-at-point, js--get-all-known-symbols)
19940         (js--symbol-history, js-find-symbol, js--js-references)
19941         (js--moz-interactor, js--js-encode-value, js--read-tab):
19942         Fix typos in docstrings.
19944 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19946         * textmodes/reftex.el (reftex-get-file-buffer-force):
19947         * progmodes/verilog-mode.el (verilog-batch-execute-func):
19948         * emulation/viper.el (viper-go-away, viper-set-hooks):
19949         * emacs-lisp/re-builder.el (re-builder-unload-function):
19950         * emacs-lisp/bytecomp.el (byte-compile-file):
19951         * ses.el (ses-unload-function):
19952         * hexl.el (hexl-find-file):
19953         * files.el (normal-mode):
19954         * ehelp.el (with-electric-help):
19955         * autoinsert.el (auto-insert-alist):
19956         * arc-mode.el (archive-mode):
19957         Use (default-value 'major-mode) instead of default-major-mode.
19959         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19960         * international/mule.el (load-with-code-conversion):
19961         * emacs-lisp/debug.el (debug):
19962         * ediff-vers.el (ediff-rcs-get-output-buffer):
19963         * dired.el (dired-internal-noselect): Don't let-bind
19964         default-major-mode around code that doesn't use it.
19965         E.g. buffer creation via get-buffer-create doesn't use it.
19967 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
19969         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19970         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19971         when writing the temp file.  Otherwise, epa-file gets confused.
19972         (tramp-register-file-name-handlers): Make it a defun.  Move also
19973         `epa-file-handler' to the front of `file-name-handler-alist'.
19975 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19977         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19978         start right after a ^M.
19979         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19980         (tramp-completion-file-name-regexp-separate)
19981         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19982         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19983         Don't modify last-coding-system-used by accident.
19984         (tramp-completion-file-name-handler): Apply the checks here,
19985         instead during registration.
19986         (tramp-register-file-name-handlers): Rename from
19987         `tramp-register-file-name-handler'.  Register both
19988         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19989         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
19991 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
19993         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19994         Remove variable ...
19995         (gdb-init-1, gdb-display-separate-io-buffer)
19996         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19997         references to it.
19998         (gdb-inferior-io-mode): Use make-comint-in-buffer.
19999         (gdb-inferior-filter): Use comint-output-filter to stop
20000         echoing and remove ^M characters.
20002 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20004         * emulation/viper-init.el (viper-restore-cursor-type):
20005         * emulation/cua-base.el (cua--update-indications):
20006         Replace default-cursor-type with (default-value 'cursor-type).
20008         * mail/sendmail.el (mail-recover-1):
20009         * international/mule-diag.el (describe-current-coding-system-briefly)
20010         (describe-current-coding-system):
20011         * international/mule-cmds.el (select-safe-coding-system)
20012         (select-message-coding-system)
20013         (set-language-environment-coding-systems, set-locale-environment):
20014         * hexl.el (hexl-insert-multibyte-char):
20015         * dos-w32.el (find-buffer-file-type-coding-system):
20016         * simple.el (what-cursor-position):
20017         Replace uses of default-buffer-file-coding-system
20018         with (default-value 'buffer-file-coding-system).
20020         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20021         Replace uses of default-cursor-in-non-selected-windows
20022         with (default-value 'cursor-in-non-selected-windows).
20023         Use with-current-buffer.
20025         * mail/feedmail.el: Use CL macros.
20026         (feedmail-run-the-queue, feedmail-send-it-immediately):
20027         * dos-w32.el (find-buffer-file-type): Replace uses of
20028         default-buffer-file-type with (default-value 'buffer-file-type).
20030 2009-08-28  Glenn Morris  <rgm@gnu.org>
20032         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20033         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20034         Use default-value of major-mode rather than default-major-mode.
20036 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20038         * Makefile.in (update-elcfiles): Report left over elc files.
20040         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20041         expand-file-name and with-current-buffer.
20042         (mail-get-names, mail-directory): Use with-current-buffer.
20044         * vc.el (vc-read-revision): New function.
20045         (vc-version-diff, vc-merge): Use it.
20047 2009-08-27  Sam Steingold  <sds@gnu.org>
20049         * simple.el (kill-do-not-save-duplicates): New user option.
20050         (kill-new): When it is non-nil, and the new string is the same as
20051         the latest kill, set replace to t to avoid duplicates in kill-ring.
20053 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20055         * net/tramp.el (tramp-handle-process-file): Do not flush all
20056         caches when `process-file-side-effects' is set.
20057         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20058         instead of `tramp-find-file-exists-command'.
20059         Unset `process-file-side-effects'.
20061 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20063         * net/tramp.el (tramp-methods): New method "rsyncc".
20064         (top): Add completion function for "rsyncc".
20065         (tramp-message-show-message): New defvar.
20066         (tramp-message, tramp-error): Use it.
20067         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20068         remote copying.
20069         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20070         `tramp-methods' entry `copy-env' of "rsyncc".
20071         (tramp-vc-registered-read-file-names): New defconst.
20072         (tramp-vc-registered-file-names): New defvar.
20073         (tramp-handle-vc-registered): Implement optimization strategy.
20074         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20075         (tramp-vc-file-name-handler): New defun.
20076         (tramp-get-ls-command, tramp-get-test-command)
20077         (tramp-get-file-exists-command, tramp-get-remote-ln)
20078         (tramp-get-remote-perl, tramp-get-remote-stat)
20079         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20081         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20082         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20083         timestamps.
20084         (tramp-get-file-property): Check for timestamps in
20085         `tramp-cache-inhibit-cache'.
20086         (tramp-set-file-property): Write timestamp.
20088 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20090         * language/japan-util.el (japanese-symbol-table): Add entries for
20091         cp932-2-byte.
20093         * international/characters.el: Add category `j' to cp932-2-byte.
20095 2009-08-27  Kenichi Handa  <handa@m17n.org>
20097         * international/fontset.el (build-default-fontset-data): New macro.
20098         (setup-default-fontset): Use build-default-fontset-data for CJK,
20099         tibetan, ethiopic, and ipa.
20101 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20103         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20104         (enable-multibyte-characters): Not customizable any more.
20106         * subr.el (default-mode-line-format, default-header-line-format)
20107         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20108         (default-direction-reversed, default-truncate-lines)
20109         (default-left-margin, default-tab-width, default-case-fold-search)
20110         (default-left-margin-width, default-right-margin-width)
20111         (default-left-fringe-width, default-right-fringe-width)
20112         (default-fringes-outside-margins, default-scroll-bar-width)
20113         (default-vertical-scroll-bar, default-indicate-empty-lines)
20114         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20115         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20116         (default-scroll-down-aggressively, default-fill-column)
20117         (default-cursor-type, default-buffer-file-type)
20118         (default-cursor-in-non-selected-windows)
20119         (default-buffer-file-coding-system, default-major-mode)
20120         (default-enable-multibyte-characters): Mark as obsolete.
20122 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20124         * vc-dir.el (vc-dir-update): Remove debug helper.
20126         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20128 2009-08-26  Sam Steingold  <sds@gnu.org>
20130         * simple.el (save-interprogram-paste-before-kill): New user option.
20131         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20132         save the interprogram-paste into kill-ring before overriding it
20133         with the Emacs kill.
20135 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20137         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20138         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20139         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20140         and move to vc-rcs.el.
20141         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20142         move to vc-rcs.el.
20143         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20144         (vc-rcs-update-changelog): Remove.
20145         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20146         and move to vc-rcs.el.
20148         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20149         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20150         renaming.
20151         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20152         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20153         vc.el, renamed to be RCS specific.
20155         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20156         New functions.
20157         (vc-cvs-update-changelog): Move here from vc.el.
20159         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20160         New functions.
20162 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20164         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20166 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20168         * vc-git.el (vc-git-register): Use "git add" for directories.
20169         (vc-git-stash, vc-git-stash-show): New functions.
20170         (vc-git-extra-menu-map): Bind them.
20172         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20173         directory correctly in case the item is a directory itself.
20175         * vc.el: Document the desired behavior for reverted files in the
20176         `added' state.
20177         (vc-default-prettify-state-info): Remove function, unused.
20179         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20181 2009-08-26  Glenn Morris  <rgm@gnu.org>
20183         * bindings.el (standard-mode-line-format): Reposition dashes in
20184         which-func entry.  (Bug#4217)
20186         * files.el (enable-local-variables, enable-local-eval)
20187         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20188         the defcustoms.
20189         (auto-mode-alist, ignored-local-variables)
20190         (save-some-buffers-action-alist): Move risky declarations to the
20191         definitions.
20192         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20193         (font-lock-defaults, format-alist, imenu--index-alist)
20194         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20195         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20196         (mode-line-modified, mode-line-mule-info, mode-line-position)
20197         (mode-line-process, mode-line-remote, outline-level)
20198         (parse-time-rules, rmail-output-file-alist)
20199         (special-display-buffer-names, vc-mode):
20200         Move risky declarations to the relevant files.
20201         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20202         (mode-line-modified, mode-line-process, mode-line-position)
20203         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20204         * font-core.el (font-lock-defaults):
20205         * format.el (format-alist):
20206         * vc-hooks.el (vc-mode):
20207         * window.el (special-display-buffer-names):
20208         * international/mule-cmds.el (input-method-alist):
20209         Define riskiness here (dumped file) rather than in files.el.
20210         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20211         * imenu.el (imenu-generic-expression, imenu--index-alist):
20212         * outline.el (outline-level):
20213         * time.el (display-time-string):
20214         * calendar/parse-time.el (parse-time-rules):
20215         * mail/rmailout.el (rmail-output-file-alist):
20216         Autoload riskiness here, rather than placing in files.el.
20218 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20220         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20222 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20224         * simple.el (process-file-side-effects): New defvar.
20226         * dired-aux.el (dired-show-file-type):
20227         * vc.el (vc-diff-internal):
20228         * vc-arch.el (vc-arch-diff):
20229         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20230         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20231         * vc-git.el (vc-git-registered, vc-git-working-revision)
20232         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20233         (vc-git--empty-db-p):
20234         * vc-hooks.el (vc-user-login-name):
20235         * vc-svn.el (vc-svn-registered, vc-svn-state)
20236         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20237         * progmodes/grep.el (grep-probe): Let-bind
20238         `process-file-side-effects' with nil.
20240         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20242         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20243         daemon.  Replace ping by checking for running service for bluez
20244         and zeroconf.  (Bug#4239)
20246 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20248         * net/dig.el (dig): Add autoload cookie.
20250 2009-08-25  Glenn Morris  <rgm@gnu.org>
20252         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20253         load-history for absolute file-names.
20254         (byte-compile-file-form-require): Warn about use of the cl package.
20256         * format.el (format-alist): Doc fix.
20258         * play/bubbles.el (top-level): Don't require cl at run-time.
20260         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20261         run-time cl).
20263 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20265         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20266         from cl package.
20267         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20269 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20271         * calc/calc-alg.el (math-trig-rewrite)
20272         (math-hyperbolic-trig-rewrite): New functions.
20273         (calc-simplify): Simplify trig functions when asked.
20275 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20277         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20279 2009-08-24  Kenichi Handa  <handa@m17n.org>
20281         * language/ind-util.el (mapthread): Delete it.
20282         (combinatorial): New function.
20283         (indian--puthash-cv): Use combinatorial instead of mapthread.
20285 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20287         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20288         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20289         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20290         Clarify docstring that the value is strings not symbols.
20291         (checkdoc-list-of-strings-p): New function.
20293 2009-08-22  Glenn Morris  <rgm@gnu.org>
20295         * files.el (auto-mode-alist):
20296         * hippie-exp.el (he-concat-directory-file-name):
20297         * lpr.el (lpr-windows-system, printer-name):
20298         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20299         * ps-print.el (ps-windows-system):
20300         * startup.el (command-line):
20301         * emulation/viper-ex.el (viper-glob-function):
20302         * international/mule-cmds.el (set-language-environment-coding-systems):
20303         * net/ange-ftp.el (ange-ftp-write-region):
20304         * obsolete/fast-lock.el (fast-lock-cache-name):
20305         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20306         unisoft-unix, vax-vms, win32, w32.
20308         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20309         given name if the pattern is not more specific.
20311         * calendar/lunar.el (lunar-phase-names): New option.
20312         (lunar-phase): Doc fix.
20313         (lunar-cycles-per-year): New constant.
20314         (lunar-index): New function.
20315         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20316         (lunar-phase-name): Use lunar-phase-names.
20317         (calendar-lunar-phases): Use format.
20318         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20320         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20321         Copy imenu-example--name-and-position function here for own use.
20322         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20324         * bs.el (bs--redisplay):
20325         * cus-edit.el (custom-redraw):
20326         * ibuffer.el (ibuffer-bury-buffer):
20327         * server.el (server-goto-line-column):
20328         * startup.el (command-line-1):
20329         * strokes.el (strokes-xpm-for-stroke):
20330         * term.el (term-display-buffer-line):
20331         * view.el (View-goto-line):
20332         * calc/calc.el (calc-do, calc-trail-buffer):
20333         * play/gamegrid.el (gamegrid-add-score-insecure):
20334         * progmodes/ada-mode.el (ada-compile-goto-error):
20335         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20336         (ebrowse-select-1st-to-9nth):
20337         * progmodes/cperl-mode.el (cperl-time-fontification):
20338         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20339         * progmodes/gud.el (gud-display-line):
20340         (idlwave-shell-display-line):
20341         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20342         * progmodes/make-mode.el (makefile-browser-toggle):
20343         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20344         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20345         * textmodes/picture.el (picture-draw-rectangle):
20346         * textmodes/reftex-index.el (reftex-index-goto-letter):
20347         (reftex-select-jump-to-previous):
20348         * textmodes/reftex-sel.el (reftex-find-start-point)
20349         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20350         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20351         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20352         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20353         * textmodes/two-column.el (2C-associated-buffer):
20354         Use forward-line rather than goto-line.
20356         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20357         goto-line.
20359         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20360         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20361         (quick-check-list-to-regexp): Declare.
20363         * progmodes/make-mode.el (makefile-browser-insert-selection):
20364         Use goto-char rather than goto-line.
20366         * progmodes/prolog.el (compilation-error-regexp-alist)
20367         (compilation-forget-errors): Declare.
20369 2009-08-22  Juri Linkov  <juri@jurta.org>
20371         * progmodes/grep.el (lgrep, rgrep): At the beginning
20372         set `dir' to `default-directory' unless `dir' is a non-nil
20373         readable directory.  (Bug#4052)
20374         (lgrep, rgrep): Change a weird way to report an error
20375         from using `read-string' to using `error'.
20376         Instead of using interactive arguments in the function body,
20377         add new argument `confirm'.
20379 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20381         * textmodes/remember.el (remember-buffer):
20382         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20383         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20384         (icalendar-extract-ical-from-buffer):
20385         * net/newst-treeview.el (newsticker-groups-filename):
20386         * net/newst-backend.el (newsticker-cache-filename):
20387         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20388         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20389         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20390         (speedbar-buffers-line-path, speedbar-path-line)
20391         (speedbar-buffers-line-path):
20392         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20393         (epg-sign-keys):
20394         * epa.el (epa-display-verify-result):
20395         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20397 2009-08-21  Glenn Morris  <rgm@gnu.org>
20399         * progmodes/js.el (inferior-moz-process): Fix declaration.
20401         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20403         * obsolete/rnewspost.el (news-mail-reply):
20404         Use goto-char rather than goto-line.
20406         * term/ns-win.el (ns-open-file-select-line):
20407         Use line-beginning-position rather than goto-line.
20409         * apropos.el (apropos-command):
20410         * ehelp.el (electric-helpify):
20411         * printing.el (pr-show-setup):
20412         * strokes.el (strokes-help):
20413         * tutorial.el (tutorial--describe-nonstandard-key)
20414         (tutorial--detailed-help):
20415         * woman.el (woman-mini-help, woman-display-extended-fonts):
20416         * calc/calc-help.el (calc-describe-key):
20417         * emulation/edt.el (edt-electric-helpify):
20418         * international/mule-diag.el (mule-diag):
20419         * play/yow.el (apropos-zippy):
20420         * progmodes/python.el (python-describe-symbol):
20421         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20422         * textmodes/table.el (*table--cell-describe-mode)
20423         (*table--cell-describe-bindings):
20424         Use help-print-return-message rather than the now obsolete alias.
20426         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20427         (calendar-cursor-to-visible-date):
20428         * play/5x5.el (5x5-position-cursor):
20429         * play/decipher.el (decipher):
20430         * play/gomoku.el (gomoku-goto-xy):
20431         * play/landmark.el (lm-goto-xy):
20432         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20433         (mpuz-paint-digit):
20434         Use forward-line, not goto-line.
20436         * mail/rmail.el (rmail-obsolete): Delete custom group.
20437         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20438         (rmail-remote-password, rmail-remote-password-required):
20439         Remove unneeded :set-after and :set properties.
20441 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20443         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20445 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20447         * loadup.el: Remove leftover macos code.
20449         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20450         Explicitly pass the date format to git blame so that user local
20451         so that the output format can be parsed.
20453 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20455         * net/dbus.el (top): Don't check for (getenv
20456         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20458 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20460         * log-edit.el (log-edit-strip-single-file-name): New var.
20461         (log-edit-insert-changelog): Use it.  Bug#3571
20463 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20465         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20466         Bug#3287
20468         * help.el (help-print-return-message): Rename from
20469         print-help-return-message.
20471         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20472         cvs-mode-map parent hack.
20473         (log-view-mode): Derive from special-mode.
20475         * linum.el (linum-mode): window-size-change-functions is redundant.
20476         Adapt to new window-configuration-change-hook behavior.
20477         (linum-after-size, linum-after-config): Remove.
20479         * imenu.el (imenu-example--name-and-position)
20480         (imenu-example--lisp-extract-index-name)
20481         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20482         Mark as obsolete.
20484         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20485         (inferior-prolog-mode): Use it.
20486         (inferior-prolog-load-file): Reset list of errors.
20488 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20490         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20492         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20494 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20496         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20497         is running already.
20499 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20501         * subr.el (listify-key-sequence-1): Use normal syntax since those
20502         integers are nowadays always represented by the same (positive) number
20503         on all platforms.
20504         (read-key-empty-map): New const.
20505         (read-key-delay): New var.
20506         (read-key): New function.
20507         (force-mode-line-update): Use with-current-buffer.
20508         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20509         (start-process-shell-command, start-file-process-shell-command):
20510         Discourage the use of command-args.
20512 2009-08-19  Glenn Morris  <rgm@gnu.org>
20514         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20516 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20518         * simple.el (choose-completion-string): Don't rely on
20519         minibuffer-completing-file-name and ad-hoc checks to decide whether
20520         to continue completion or not.
20522         * minibuffer.el (minibuffer-hide-completions): New function.
20523         (completion--do-completion): Use it.
20524         (completions-annotations): New face.
20525         (completion--insert-strings): Use it.
20526         (completion-pcm--delim-wild-regex): Add docstring.
20527         (completion-pcm--string->pattern): Add support for 0-width delimiters
20528         in completion-pcm--delim-wild-regex.
20530 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20532         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20533         Remove unused var `buffer-modified-p'.
20535         * minibuffer.el (completion--do-completion): Move point for the #b001
20536         case as well (bug#4176).
20537         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20539 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20541         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20542         and :session buses.
20544 2009-08-18  Kenichi Handa  <handa@m17n.org>
20546         * international/ucs-normalize.el (ucs-normalize-version):
20547         Change to 1.1.
20548         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20549         (utf-8-hfs): Make it perform normalization on encoding too.
20551         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20552         (sentence-end-without-space): Delete duplicated chars.
20553         (sentence-end-base): Likewise.
20555         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20556         (html-mode): Delete duplicated chars from sentence-end-base.
20558         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20559         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20561 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20563         * files.el (hack-one-local-variable): If the mode function is for
20564         a minor mode, pass it an argument (Bug#4148).
20566 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20568         * net/tramp.el (tramp-register-completion-file-name-handler):
20569         Check also for (member 'partial-completion completion-styles).
20571 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20573         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20574         abbrev (Bug#3943).
20576 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20578         * progmodes/cperl-mode.el: Merge upstream 6.2.
20579         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20580         (cperl-forward-re): Check cperl-brace-recursing.
20581         (cperl-highlight-charclass): New function.
20582         (cperl-find-pods-heres): Use it.
20583         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20584         (cperl-beautify-regexp-piece): Fix column calculation.
20585         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20586         (cperl-beautify-level): Don't process entire regexp.
20587         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20588         calling man.
20589         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20590         (cperl-init-faces): Build a list in the normal way.
20592 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20594         * calendar/parse-time.el (parse-time-string-chars): Save match
20595         data.
20597 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20599         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20600         (sql-product): Use it.
20601         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20602         (sql-set-product): Add completion.
20603         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20604         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20605         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20606         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20607         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20608         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20609         (sql-highlight-db2-keywords): Remove.
20610         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20611         (sql-highlight-product): Use derived-mode-p.
20612         (sql-set-sqli-buffer): Use with-current-buffer.
20613         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20614         Simplify.
20616         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20618         * term.el: Fix commenting convention, turn comments into docstrings.
20620 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20622         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20624 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20626         * calendar/parse-time.el (parse-time-string-chars): Compute using
20627         character classes, to handle non-ascii characters (Bug#3190).
20629 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20631         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20632         another heredoc if the user adds another < (Bug#3226).
20634         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20635         Don't initialize based on window-system (Bug#4124).
20637         * facemenu.el (facemenu-read-color): Use a completion function
20638         that accepts any defined color, such as RGB triplets (Bug#3677).
20640         * files.el (get-free-disk-space): Change fallback default
20641         directory to /.  Expand DIR argument before switching to fallback.
20642         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20644 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20646         * files.el (load-library): Doc fix.
20648 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20650         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20651         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20652         incremental search string.
20654         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20655         XEmacs.
20657         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20658         (ediff-merge-region-is-non-clash)
20659         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20660         Also check if the job is really a merge job.
20662         * ediff.el (ediff-current-file): New function.
20664 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20666         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20667         conventions.
20668         (js-insert-and-indent): Delete function.
20669         (js-mode-map): Don't bind keys to js-insert-and-indent.
20670         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20671         (js-end-of-defun): Rename from js--end-of-defun.
20672         (js-auto-indent-flag): Delete variable.
20674 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20676         * progmodes/js.el: Remove proclaim statement.
20677         Defvar which-func-imenu-joiner-function to silence compiler.
20679         * files.el (auto-mode-alist): Use js-mode for .js files.
20681         * progmodes/js2-mode.el: Remove file.
20683         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20685         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20687         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20689 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
20690             Karl Landstrom  <karl.landstrom@brgeight.se>
20692         * progmodes/js.el: New file.
20694 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
20696         * timezone.el (timezone-parse-date): Add ability to understand ISO
20697         basic format (minimal separators) dates in addition to the
20698         already-supported extended format dates.
20700 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
20702         * international/ucs-normalize.el: Add a `coding' file variable.
20704         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20706 2009-08-14  Sam Steingold  <sds@gnu.org>
20708         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20710 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
20712         * faces.el (help-argument-name): Define it here instead of
20713         help-fns.el, because in daemon mode help-fns.el may be loaded when
20714         faces are still uninitialized (Bug#1078).
20716         * help-fns.el (help-argument-name): Move defface to faces.el.
20718 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
20720         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20721         create buffer with a pty but no process so that GDB can make the
20722         inferior the controlling process.
20724 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
20726         * international/ucs-normalize.el: New file.
20728 2009-08-13  Richard Stallman  <rms@gnu.org>
20730         * mail/rmail.el (rmail-get-attr-names):
20731         Accept an attribute header that is too short.
20733         * mail/rmail.el (rmail-forget-messages):
20734         Ignore nil elt in rmail-message-vector.  Use dotimes.
20736         * progmodes/compile.el (compilation-goto-locus):
20737         Use next-error-move-function.
20739         * simple.el (next-error-move-function): New variable.
20741 2009-08-12  Juri Linkov  <juri@jurta.org>
20743         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20744         always non-nil.  (Bug#4052)
20746         * replace.el (read-regexp): Return empty string when
20747         `default-value' is nil.
20748         (keep-lines-read-args): Don't use empty string as the
20749         default value for `read-regexp'.  (Bug#2495)
20751 2009-08-12  Juri Linkov  <juri@jurta.org>
20753         * international/mule-cmds.el (ucs-insert): Change arguments
20754         from `arg' to `character', `count', `inherit' to be the same
20755         as in `insert-char'.  Doc fix.  (Bug#4039)
20757         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20759 2009-08-12  Juri Linkov  <juri@jurta.org>
20761         * files-x.el: New file.
20763         * files.el: Move code that deals with adding/deleting
20764         file/directory-local variables to files-x.el.
20766         * Makefile.in (ELCFILES): Add files-x.elc.
20768 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
20770         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20771         to use `goto-line'.
20772         (gdb-place-breakpoints, gdb-get-location): Rewritten without
20773         `goto-line'.
20774         (gdb-invalidate-disassembly): Do not refresh upon receiving
20775         'update signal.  Instead, update all disassembly buffers only after
20776         threads list.
20777         (gdb): Send -target-detach when buffer is killed (Bug#3794).
20778         (gdb-starting): Move -data-list-register-names...
20779         (gdb-stopped): ...here so it's sent when first thread stops.
20780         (gdb-registers-handler-custom): Do nothing if register names are
20781         unknown yet.
20783         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20784         from `gdb-mi.el' to avoid extra tangling.
20786         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20787         change which breaks `gud-def' definitions used in `gdb'.
20788         (gdb-update-gud-running): No extra fuss for updating frame number.
20790 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20792         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20793         (describe-language-environment-map, setup-language-environment-map)
20794         (set-coding-system-map): Move initialization into declaration.
20795         (set-language-info-alist): Last arg to define-key-after can be skipped.
20797         * international/quail.el (quail-completion-1): Simplify.
20798         (quail-define-rules): Use slightly more compact code.
20799         (quail-insert-decode-map): Propertize keys, compact columns.
20801         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20802         Add goto-line.
20804 2009-08-10  Miles Bader  <miles@gnu.org>
20806         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20807         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20808         (js2-instance-member, js2-private-member, js2-private-function-call)
20809         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20810         (js2-magic-paren, js2-external-variable):
20811         Remove "-face" suffix from face names.
20812         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20813         (js2-highlight-undeclared-vars, js2-peek-token)
20814         (js2-parse-function-params, js2-mode-show-errors)
20815         (js2-mode-show-warnings, js2-make-magic-delimiter)
20816         (js2-mode-highlight-magic-parens): Update to use new face names.
20818 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
20820         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20821         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
20823 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
20825         * subr.el: Provide hashtable-print-readable.
20827         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20828         hs-c-like-adjust-block-beginning.
20829         (hs-hide-block-at-point): Stop hiding at the beginning of
20830         hs-block-end-regexp (Bug#700).
20832 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
20834         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20835         a macro.
20836         (gdb-registers-handler-custom): Do not fail when register names
20837         are unavailable.
20839 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20841         * progmodes/gdb-mi.el (gdb-control-all-threads)
20842         (gdb-control-current-thread): Interactive setters for
20843         `gdb-gud-control-all-threads' to use in menu.
20844         (gdb-show-run-p): Show «Go» when process is not active.
20845         (gud-tool-bar-map): Add non-stop/A,T indicator.
20846         Uses gud/thread.xpm and gud/all.xpm.
20848 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
20850         * net/net-utils.el (net-utils-font-lock-keywords): New var.
20851         (nslookup-font-lock-keywords): Make it a variable.
20852         (net-utils-mode): New mode for viewing diagnostic network output.
20853         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20854         (net-utils-run-simple): New function.
20855         (ifconfig, iwconfig, netstat, arp, route): Use it.
20857 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20859         * progmodes/gdb-mi.el (gdb-read-memory-custom)
20860         (gdb-memory-set-address, def-gdb-set-positive-number)
20861         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20862         after changing settings.
20863         (gdb-invalidate-disassembly): Update when first shown.
20864         (gdb-edit-locals-value): Fix.
20865         (gdb-registers-handler-custom): Print registers in right order and
20866         allow changing register values (only for current thread yet).
20867         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20868         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20869         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20870         (gdb-locals-handler-custom, gdb-registers-handler-custom):
20871         Thread info in mode name.
20872         (gdb-registers-mode-map): TAB to switch to locals.
20874 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
20876         * mail/rmail.el (rmail-add-mbox-headers)
20877         (rmail-set-message-counters-counter): Search for
20878         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
20880 2009-08-08  Glenn Morris  <rgm@gnu.org>
20882         * Makefile.in (ELCFILES): Update.
20884 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20886         * mail/sendmail.el (mail-yank-original):
20887         Set buffer-file-coding-system from the one used by the message whose
20888         text is yanked.
20890         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20891         to "windows" when "pgnuplot" is used.
20892         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20893         Don't call accept-process-output if "pgnuplot" is used.
20894         (calc-graph-init): Don't send -display and -geometry to
20895         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
20896         running "pgnuplot -V" with shell-command-to-string.
20898         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20899         the default.
20901 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20903         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20904         org/org-latex.elc.
20906 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
20908         * vc-dispatcher.el (vc-resynch-window): Update comment.
20910         * term.el (term-handle-ansi-escape): Add comments with the
20911         terminfo capabilities implemented.
20913 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
20915         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
20916         (gdb-var-create-handler): Rewritten using JSON parser.
20917         (gdb-propertize-header): Move earlier.
20918         (gdb-set-header): Remove to avoid duplication.
20919         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20920         Refresh disassembly buffers only after threads list have been
20921         update.
20922         (gdb-threads-header, gdb-registers-header): Per-buffer header line
20923         variables.
20925 2009-08-04  Juri Linkov  <juri@jurta.org>
20927         * files.el: Commands to add/delete file/directory-local variables.
20928         (read-file-local-variable, read-file-local-variable-value)
20929         (read-file-local-variable-mode, modify-file-local-variable)
20930         (modify-file-local-variable-prop-line)
20931         (modify-dir-local-variable): New functions.
20932         (add-file-local-variable, delete-file-local-variable)
20933         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20934         (add-dir-local-variable, delete-dir-local-variable)
20935         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20936         (copy-dir-locals-to-file-locals-prop-line): New commands.
20938 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
20940         * abbrev.el (insert-abbrev-table-description): Prettify output.
20941         Suggested by Karl Chen.
20943 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
20945         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20946         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20947         (gdb-overlay-arrow-position, gdb-thread-position)
20948         (gdb-disassembly-position): Declare variables.
20949         (gdb-wait-for-pending): Function now.
20950         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20951         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20952         compilation goes smoothly.
20953         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20954         (gdb-non-stop-setting): New customization setting which replaces
20955         `gdb-non-stop' so changing it doesn't break active GDB session.
20956         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20957         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20958         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20959         (gdb-show-threads-by-default): New customization options.
20960         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20961         routines.
20962         (gdb-get-buffer-create): Send buffers update signal when they are
20963         created.
20964         (gdb-invalidate-locals, gdb-invalidate-registers)
20965         (gdb-invalidate-breakpoints)
20966         (gdb-invalidate-threads, gdb-invalidate-disassembly)
20967         (gdb-invalidate-memory): Accept update signal.
20968         (gdb-current-context-command): Use --frame option.
20969         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20970         Implement `gdb-frame-number' selection logic.
20971         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20972         whether to show GUD toolbar buttons.
20973         (gdb-thread-exited): Unselect current thread when it exits.
20974         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20975         (gdb-mark-line): Routine which sets overlay arrow or inverses
20976         video on fringeless displays.
20977         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20978         to build aligned columns of data in GDB buffers and set text
20979         properties line-by-line.
20980         (gdb-invalidate-breakpoints)
20981         (gdb-breakpoints-list-handler-custom)
20982         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20983         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20984         (gdb-registers-handler-custom): Align data columns.
20985         (gdb-locals-handler-custom): Now prints data like in variable
20986         declarations.
20987         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20988         Remove confusing buttons.
20989         (gdb-invalidate-threads): Append --frame.
20990         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20991         between breakpoints/threads buffers.
20992         (gdb-set-window-buffer): Now can ignore dedicated windows.
20993         (gdb-propertize-header): Use `gdb-set-window-buffer'.
20994         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20995         (def-gdb-thread-buffer-gud-command): Replaces
20996         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20997         for fine thread control.
20998         (gdb-preempt-existing-or-display-buffer): New function used to
20999         display bound buffers without breaking window layout.
21000         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21001         (gdb-select-frame): New version of `gdb-frames-select' which now
21002         sets `gdb-frame-number' so commands may use --frame option instead
21003         of inner debugger state.
21004         (gdb-frame-handler): Do not set `gdb-frame-number'.
21005         (gdb-threads-mode-map): Select threads with mouse.
21007         * progmodes/gud.el (gdb-gud-context-call): Declare function to
21008         avoid compilation warning.
21009         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21010         `gdb-show-stop-p`.
21012         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21013         Argument `key' renamed to `buffer-type'.
21014         (gdb-current-context-buffer-name): Do not add thread info to
21015         buffer name when no thread is selected.
21016         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21017         command (bug 3794).
21018         (gdb-thread-selected): Handle `=thread-selected' notification.
21019         (gdb-wait-for-pending): New macro to deal with congestion problems.
21020         (gdb-breakpoints-list-handler-custom): Don't fail on pending
21021         breakpoints.
21022         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21023         This fixes problem similar to one described in bug 3947.
21024         (gud-menu-map): More menu items.
21025         (gdb-init-1): Reset `gdb-thread-number' to nil.
21027         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21028         non-stop settings.
21030         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21031         (gdb-current-context-command): Do not append --thread if
21032         `gdb-thread-number' is nil.
21033         (gdb-running-threads-count, gdb-stopped-threads-count):
21034         New variables.
21035         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21036         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21037         New customization options.
21038         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21039         GUD commands.
21040         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21041         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21042         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21043         set `gdb-thread-number' and update `gud-running' properly.
21044         (gdb-running): Update threads list when new threads appear.
21045         (gdb-stopped): Support non-stop operation and new thread switching
21046         logic.
21047         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21048         (gdb-json-partial-output): New set of JSON routines.
21049         (def-gdb-auto-update-trigger): New `signal-list' optional
21050         argument.
21051         (gdb-thread-list-handler-custom): Update `gud-running',
21052         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21053         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21054         (gdb-continue-thread, gdb-step-thread): New commands for fine
21055         thread execution control.
21056         (gud-menu-map): New menu items to switch non-stop options.
21057         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21058         (gdb-send): Mimic RET properly (bug 3794).
21060         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21061         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21062         gdb-buffer-rules.
21063         (def-gdb-auto-update-handler): New nopreserve optional argument.
21064         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21066         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21067         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21068         (gdb-parent-mode): New mode to derive other GDB modes from.
21069         (gdb-display-disassembly-for-thread)
21070         (gdb-frame-disassembly-for-thread): New commands for threads
21071         buffer.
21073         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21074         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21075         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21076         (gdb-update): We now store all GDB buffers in a list so that they
21077         can be updated by traversing a list instead of calling invalidate
21078         triggers explicitly.
21079         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21080         pair for GDB buffer.
21081         (gdb-stack-buffer-name): Add thread information.
21082         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21083         handle pending triggers.
21084         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21085         (def-gdb-thread-buffer-simple-command)
21086         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21087         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21088         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21089         New commands which show buffers bound to thread.
21090         (gdb-stack-list-locals-regexp): Remove unused regexp.
21092         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21093         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21094         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21095         to (gud-comint-buffer) in *-buffer-name functions
21096         because (gdb-get-target-string) already does that.
21097         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21098         (gdb-changed-registers-handler): Rewritten without regexps.
21100         * progmodes/gdb-mi.el: Basic thread selection support.
21101         (gdb-thread-number): New variable.
21102         (gdb-current-context-command): New macro which adds --thread
21103         option to command.
21104         (gdb-threads-mode-map): Select thread with SPC.
21105         (gdb-thread-list-handler-custom): Mark current thread with overlay
21106         arrow.  Synchronize GDB thread and Emacs thread.
21107         (gdb-select-thread): New command which selects current thread.
21108         (gdb-invalidate-frames, gdb-invalidate-locals)
21109         (gdb-invalidate-registers): Use --thread option.
21111 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21113         * net/tramp.el (top): Make check for tramp-gvfs loading more
21114         robust.  (Bug#3977)
21115         (tramp-handle-insert-file-contents): `unwind-protect' must be
21116         inside `with-parsed-tramp-file-name'.
21118         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21119         fails.
21121 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21123         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21124         directory if CLASSPATH is not set.
21126 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21128         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21129         New defconst.
21130         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21132 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21134         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21135         Update freshmeat link.  Delete newsforge.com as it seems gone.
21137 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21139         * select.el (x-set-selection): Doc fix (Bug#4021).
21141         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21143         * help-fns.el (describe-variable): Treat list return values from
21144         dir-locals-find-file properly (Bug#4005).
21146 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21148         * net/tramp.el (tramp-debug-message): Print also microseconds.
21150 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21152         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21153         or END is non-nil.
21154         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21155         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21156         format.
21158         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21159         (tramp-get-file-property): Use it.
21161         * autorevert.el (auto-revert-handler):
21162         Allow `auto-revert-tail-mode' for remote files.
21164 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21166         * minibuffer.el (read-file-name): Treat confirm options to
21167         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21169 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21171         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21172         (font-lock-variable-name-face, font-lock-constant-face):
21173         Darken the colors for light backgrounds.
21175 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21177         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21178         month names.  (Bug#3987)
21180 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21182         * simple.el (line-move-finish): Pass whole number to
21183         line-move-to-column.
21184         (line-move-visual): Perform hscroll to the recorded position.
21186 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21188         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21190 2009-07-29  Alan Mackenzie  <acm@muc.de>
21192         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21194 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21196         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21197         (gdb-place-breakpoints): Use full path when setting breakpoints.
21199 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21201         * calc/calc.el (calc-mode-map): Add keybinding for
21202         `calc-transpose-lines'.
21204 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21206         * calc/calc-misc.el (calc-transpose-lines): New function.
21208 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21210         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21211         Simplify check for out-of-band methods.
21212         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21213         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21215 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21217         * vc-git.el (vc-git-checkin): Fix typo.
21219 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21221         * progmodes/js2-mode.el: New file.
21223 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21225         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21226         (gud-menu-map): Adjust tooltip accordingly.
21228 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21230         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21231         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21233         * add-log.el (change-log-mode-map): Add a menu.
21235 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21237         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21238         function returns nil.
21239         (dbus-handle-event): Handle special return value :ignore.
21240         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21242 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21244         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21245         it's not needed.
21247 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21249         Fix Bug#3888:
21251         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21253         * term/pc-win.el (x-display-name, x-colors)
21254         (x-select-enable-clipboard, x-select-text): Doc fix.
21256         * term/common-win.el (x-display-name, x-colors): Doc fix.
21258         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21259         (xw-defined-colors): Doc fix.
21261         * w32-fns.el (x-select-text, x-setup-function-keys)
21262         (x-get-selection, x-set-selection): Doc fix.
21264         * term/x-win.el (x-select-text, x-setup-function-keys)
21265         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21267         * select.el (x-set-selection): Doc fix.
21269 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21271         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21272         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21273         "IsNSSSupportAvailable" method is not available.
21274         Reported by Steve Youngs <steve@sxemacs.org>.
21276 2009-07-24  Kenichi Handa  <handa@m17n.org>
21278         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21279         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21280         (build-unicode-category-table): Fix range checks.
21282 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21284         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21285         the buffer we try to sync is current when calling
21286         vc-resynch-buffer.
21288         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21289         not show up to date files.
21291 2009-07-24  Glenn Morris  <rgm@gnu.org>
21293         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21294         Add autoload cookies.  If necessary, initialize.
21295         (elint-log): Handle non-file buffers.
21296         (elint-initialize): Add optional argument to reinitialize.
21297         (elint-find-builtin-variables): Save excursion.
21299 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21301         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21302         for Lint.
21304 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21306         * vc.el (vc-print-log-internal): New function, split out from ...
21307         (vc-print-log): ... here.
21308         (vc-dir-move-to-goal-column): Declare.
21310         * vc-git.el (vc-git-add-signoff): New variable.
21311         (vc-git-checkin): Use it.
21312         (vc-git-toggle-signoff): New function.
21313         (vc-git-extra-menu-map): Bind it to menu.
21314         (vc-git--run-command-string): Accept a nil FILE argument.
21315         (vc-git-stash-list): New function.
21316         (vc-git-dir-extra-headers): Use it.
21318 2009-07-23  Glenn Morris  <rgm@gnu.org>
21320         * help-fns.el (describe-variable): Describe ignored and risky local
21321         variables in a similar way to that in which we describe safe ones.
21323         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21324         (byte-compile-output-file-form, byte-compile-output-docform)
21325         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21326         Give some more local variables with common names a "bytecomp-" prefix,
21327         so as not to shadow things during compilation.
21328         * emacs-lisp/cl-macs.el (load-time-value)
21329         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21330         `outbuffer' to `bytecomp-outbuffer'.
21332         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21333         since the next two variables cover them automatically now.
21334         (elint-builtin-variables, elint-autoloaded-variables): New.
21335         (elint-unknown-builtin-args): Remove all members, since they can be
21336         parsed automatically now.
21337         (elint-extra-errors): New.
21338         (elint-env-add-env, elint-env-add-macro): Use cadr.
21339         (elint-current-buffer): Use or.  Change final message.
21340         (elint-get-top-forms): Use line-end-position.
21341         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21342         and defalias.
21343         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21344         (regexp-assoc): Remove unused function.
21345         (elint-top-form): Set elint-current-pos, to record the start of the
21346         top-level form, for compilation-mode.
21347         (elint-form): Trap errors in macro expansion.  Use dolist.
21348         (elint-unbound-variable): Use elint-builtin-variables and
21349         elint-autoloaded-variables.
21350         (elint-get-args): Use cadr, or.
21351         (elint-check-cond-form): Use dolist, cadr.
21352         (elint-check-condition-case-form): Doc fix.  Use cadr.
21353         Use elint-extra-errors.
21354         (elint-log): New function.
21355         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21356         Distinguish errors and warnings.
21357         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21358         Use a bytecomp-style format.
21359         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21360         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21361         Don't truncate lines.
21362         (elint-initialize): Set builtin and autoloaded variable lists.
21363         Only process elint-unknown-builtin-args if non-nil.
21364         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21365         New functions.
21366         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21368 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21370         * net/newst-backend.el (newsticker--parse-atom-1.0)
21371         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21372         (newsticker--parse-rss-1.0):
21373         * progmodes/idlwave.el (idlwave-mode):
21374         * progmodes/idlw-shell.el (idlwave-shell-mode):
21375         * progmodes/vera-mode.el (vera-mode):
21376         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21377         * progmodes/vhdl-mode.el (vhdl-mode):
21378         * textmodes/table.el (table-generate-source)
21379         (table--warn-incompatibility):
21380         Hyperlink urls in docstrings with URL `...'.
21382 2009-07-22  Glenn Morris  <rgm@gnu.org>
21384         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21385         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21386         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21387         Remove leading * from defcustom docs.
21389         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21391         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21392         defcustom doc.
21393         (list-load-path-shadows): Optionally, just return shadows as a string.
21395         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21397 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21399         * mail/rmailedit.el (rmail-edit-mode):
21400         Use auto-save-include-big-deletions.
21402         * mail/rmail.el (rmail-variables):
21403         Use auto-save-include-big-deletions.
21405         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21406         changes.
21408 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21410         * calc/calc.el (calc-undo-length): New variable.
21411         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21413 2009-07-21  Richard Stallman  <rms@gnu.org>
21415         * files.el (auto-save-mode): Handle buffer-save-size = -2
21416         for toggling mode.
21418 2009-07-21  Glenn Morris  <rgm@gnu.org>
21420         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21422         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21424         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21425         silence compiler.  Instead...
21426         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21427         (ps-print-ensure-fontified): Update for above function name changes.
21429         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21430         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21431         silence compiler.  Instead...
21432         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21433         (mh-show-buffer): Only define for compiler.
21434         (pr-mh-current-message): Update for above function name changes.
21436         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21437         as an argument.
21438         (find-file-noselect, insert-file-1): Update for above change.
21440         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21442         * mail/mailclient.el (mailclient-send-it): Fix message.
21444         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21445         (edebug-eval): Check cl-debug-env is bound.
21446         (print-level, print-circle): Don't redefine built-in variables.
21448         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21449         (custom-print-vectors): Remove old comments from doc.
21451         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21452         (emerge-version): Make the variable an obsolete alias for the
21453         emacs-version variable.  Make the function obsolete.
21454         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21455         Emerge options, rather than merging in into the main Options menu.
21456         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21457         and auto advance modes.  Disable edit/fast items when not relevant.
21459 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21461         * term/vt420.el (terminal-init-vt420): Fix typo.
21463 2009-07-20  Sam Steingold  <sds@gnu.org>
21465         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21466         variable (removed from compile.el on 2004-03-11).
21468 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21470         * files.el (hack-local-variables-filter): Fix last change.
21472 2009-07-19  Juri Linkov  <juri@jurta.org>
21474         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21475         (dir-local-variables-alist): New buffer-local variable.
21476         (hack-local-variables-filter): If variable is not dir-local,
21477         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21478         because file-local overrides dir-local.
21479         (c-postprocess-file-styles) <declare-function>:
21480         Remove obsolete declaration.
21481         (hack-dir-local-variables): Add dir-local variable/value pair to
21482         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21484         * help-fns.el (describe-variable): Add information about
21485         file-local and dir-local variables.
21487 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21489         * files.el (hack-local-variables-filter): Rewrite.
21491 2009-07-19  Glenn Morris  <rgm@gnu.org>
21493         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21494         Silence compiler by only defining on XEmacs.
21496         * international/mule.el (auto-coding-regexp-alist): Only match
21497         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21499         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21500         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21501         (cal-menu-context-mouse-menu): Doc fix.
21503         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21505         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21507 2009-07-18  Juri Linkov  <juri@jurta.org>
21509         * info.el: Virtual Info keyword finder.
21510         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21511         (Info-finder-file): New variable.
21512         (Info-finder-find-file): New function.
21513         (finder-known-keywords, finder-package-info)
21514         (find-library-name, lm-commentary): Use defvar and
21515         declare-function to silence compiler warnings.
21516         (Info-finder-find-node): New function.
21517         (info-finder): New command.
21519         * subr.el (process-kill-buffer-query-function): New function.
21520         (add-hook)<kill-buffer-query-functions>: Add hook
21521         `process-kill-buffer-query-function'.
21523 2009-07-18  Alan Mackenzie  <acm@muc.de>
21525         * progmodes/cc-mode.el (c-before-hack-hook)
21526         (c-postprocess-file-styles): Give invocation of `c-set-style'
21527         DONT-OVERRIDE parameter of t.  Already set style variables will
21528         thus not be overridden by style settings given by `c-file-syle'.
21530         * files.el (hack-local-variables-filter): Remove entries with
21531         duplicate keys from `file-local-variables-alist'.
21533 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21535         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21536         x-set-selection if display-selections-p returns nil for the
21537         current frame.
21539 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21541         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21543 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21545         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21546         Accept nil in addition to a regexp.
21547         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21548         Accept nil in addition to a regexp.
21549         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21550         buffers that have an associated file.  Handle nil values of
21551         desktop-buffers-not-to-save and desktop-files-not-to-save.
21552         (Bug#3833)
21554         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21555         (x-disown-selection-internal): New functions.
21557 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21559         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21560         warning.
21561         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21562         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21564 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21566         * simple.el (set-mark): Revert last change.
21568 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21570         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21571         rendering of pngs is not possible instead of messaging a long
21572         description.
21574 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21576         * w32-fns.el (x-selection-owner-p): New function.
21578         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21579         (mouse-yank-at-click, mouse-yank-primary):
21580         If select-active-regions is non-nil, deactivate the mark before
21581         insertion.
21583         * simple.el (deactivate-mark, set-mark): Only save selection if we
21584         own it.
21586 2009-07-17  Kenichi Handa  <handa@m17n.org>
21588         * case-table.el (describe-buffer-case-table): Fix for the case
21589         that KEY is a cons.
21591 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21593         * vc-rcs.el (vc-rcs-find-file-hook):
21594         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21596 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21598         * net/tramp.el (tramp-wait-for-output): Handle the case when
21599         commands do not return a newline but a null byte before the shell
21600         prompt.  (Bug#3858)
21602 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21604         * term/ns-win.el (ns-set-alpha): Don't declare.
21605         (ns-set-background-alpha): Remove function.
21607 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21609         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21610         y-or-n-p, for safety.
21612 2009-07-16  Richard Stallman  <rms@gnu.org>
21614         * files.el (auto-save-mode): If buffer-saved-size is -2,
21615         don't clobber it.
21617         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21618         (rmail-retry-ignored-headers): Add more uninteresting fields.
21620 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21622         * net/rcirc.el (rcirc): Use history variables.
21623         (rcirc-server-name-history, rcirc-nick-name-history)
21624         (rcirc-server-port-history): New variables.
21626 2009-07-15  Kenichi Handa  <handa@m17n.org>
21628         * international/mule-cmds.el (set-language-environment-charset):
21629         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21630         ignore them.
21632         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21633         Delete unibyte-display.
21635 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21637         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21639 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21641         * simple.el (deactivate-mark): Optional argument FORCE.
21642         (set-mark): Use deactivate-mark.
21644         * info.el (Info-search): No need to check transient-mark-mode
21645         before calling deactivate-mark.
21647         * select.el (x-set-selection): Doc fix.
21648         (x-valid-simple-selection-p): Allow buffer values.
21649         (xselect--selection-bounds): Handle buffer values.
21650         Suggested by David De La Harpe Golden.
21652         * mouse.el (mouse-set-region, mouse-drag-track):
21653         Call copy-region-as-kill before setting the mark, to let
21654         select-active-regions work.
21656 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21658         * simple.el (deactivate-mark): If select-active-regions is
21659         non-nil, copy the selection data into a string.
21660         (activate-mark): If select-active-regions is non-nil, set the
21661         selection to the current buffer.
21662         (set-mark): Update selection if select-active-regions is non-nil.
21664         * select.el (x-valid-simple-selection-p): Allow buffer values.
21666 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21668         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21669         and more featureful message-mode.
21671 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21673         * select.el (x-set-selection): Doc fix.
21674         (x-valid-simple-selection-p): Disallow selection data consisting
21675         of a list or cons of integers, since that is not used.
21676         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21677         (xselect-convert-to-string, xselect-convert-to-length)
21678         (xselect-convert-to-filename, xselect-convert-to-charpos)
21679         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21681 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21683         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21684         output in -break-info command (Emacs bug #3794).
21686 2009-07-14  Glenn Morris  <rgm@gnu.org>
21688         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21689         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21690         (edebug-print-length, edebug-print-level, edebug-print-circle)
21691         (edebug-sit-for-seconds, edebug-view-outside)
21692         (edebug-bounce-point, edebug-set-global-break-condition)
21693         (edebug-Go-nonstop-mode, edebug-trace-mode)
21694         (edebug-Trace-fast-mode, edebug-continue-mode)
21695         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21696         (edebug-visit-eval-list): Doc fixes.
21698         * subr.el (def-edebug-spec): Doc fix.
21700 2009-07-14  Kenichi Handa  <handa@m17n.org>
21702         * international/characters.el: Fix setting of category ?C.
21704 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
21706         * term/ns-win.el (x-select-font): defalias x-select-font to
21707         ns-popup-font-panel instead of generate-fontset-menu.
21709 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
21711         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
21713 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
21715         * arc-mode.el (archive-find-type): Allow for a PK00 string before
21716         the PK\003\004 header (Bug#3770).
21718 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
21720         * pcomplete.el (pcomplete-comint-setup): Check for
21721         shell-dynamic-complete-filename too.
21723 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
21725         * simple.el (temporary-goal-column): Change the value for
21726         line-move-visual to a cons cell.
21727         (line-move-visual): Record or set the window hscroll, if
21728         necessary (Bug#3494).
21729         (line-move-1): Handle cons value of temporary-goal-column.
21731 2009-07-11  Kenichi Handa  <handa@m17n.org>
21733         * international/mule-diag.el (describe-character-set): Don't show
21734         width.
21736 2009-07-10  Sam Steingold  <sds@gnu.org>
21738         * progmodes/compile.el (compilation-mode-font-lock-keywords):
21739         Omake sometimes indents the errors it prints, so allow all
21740         regexps to start with spaces.
21742 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
21744         * cus-edit.el (customize-changed-options-previous-release):
21745         Bump value to 22.1.  (Bug#3804)
21747 2009-07-08  Sam Steingold  <sds@gnu.org>
21749         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21750         to be a cons cell (test . ignored-directory) to selectively ignore
21751         some directories depending on the location of the search.
21753 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
21755         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21756         remote user is root, on the local host.
21757         (tramp-local-host-p): Either the local user or the remote user
21758         must be root.  (Bug#3771)
21760 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21762         * progmodes/gdb-mi.el (gdb): Remove description of
21763         gdb-use-separate-io-buffer.
21764         (menu): Don't allow toggling of or enable
21765         gdb-use-separate-io-buffer from menubar.
21767 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21769         * mail/unrmail.el (unrmail): Make sure the message ends with two
21770         newlines (Bug#3769).
21772 2009-07-08  Glenn Morris  <rgm@gnu.org>
21774         * calendar/calendar.el (calendar-current-date): Rework previous change.
21776 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
21778         * calendar/calendar.el (calendar-current-date):
21779         Add an optional argument giving an offset from today.
21781 2009-07-08  Glenn Morris  <rgm@gnu.org>
21783         * tutorial.el (tutorial--describe-nonstandard-key):
21784         Adjust the message for when a key has been unbound.
21785         (help-with-tutorial): Hide the arch-tag.
21787 2009-07-08  Kenichi Handa  <handa@m17n.org>
21789         * international/fontset.el (setup-default-fontset): For each
21790         script, append (not set) font-specs.
21792         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21793         docstring.
21795 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21797         * progmodes/gdb-mi.el (gdb-init-1): Move sending
21798         -data-list-register-names to ...
21799         (gdb-starting): ... here because GDB 7.0 requires execution to
21800         have started when using this MI command.
21801         (gdb-set-header): New function to distinguish select and
21802         unselected tabs in gdb buffers.
21803         (gdb-propertize-header): New macro that uses gdb-set-header.
21804         (gdb-breakpoints-header, gdb-locals-header): Use it.
21805         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21807 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
21809         * Makefile.in (ELCFILES): Remove fadr.elc.
21811 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
21813         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21814         may contain frame information, so `string-match' should be used.
21815         (gdb-update): Disassembly is invalidated through
21816         `gdb-get-selected-frame'.
21817         (gdb-pad-string): New function to pad string with spaces.
21818         (gdb-invalidate-disassembly): Invalidate only if the buffer
21819         exists.
21820         (gdb-disassembly-handler-custom): Column alignment.
21821         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21822         placing new ones.
21823         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21824         end of line, too.
21825         (gdb-frame-handler): Match convention to for disassembly buffer
21826         mode name.
21827         (gdb-stack-list-frames-handler): Rewritten without regexps.
21828         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21829         not highlight breakpoints without line information.
21830         (gdb-input): Add trailing newline to command.
21832         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21833         buffer properly.
21834         (gdb-breakpoints-list-handler-custom): Replacement for
21835         `gdb-break-list-handler'.  Using real parser instead of regexps
21836         now.
21837         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21838         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21839         to place breakpoints.
21840         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21841         functions.
21842         (gdb-disassembly-handler-custom): Show overlay arrow.
21843         (gdb-disassembly-place-breakpoints): Show breakpoints in
21844         disassembly buffer.
21845         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21846         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21847         instead of parsing breakpoints buffer.  Fixed old menu references
21848         in `gud-menu-map'.
21850         * fadr.el: Remove.
21852         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21853         (gdb-memory-address): New variable which holds top address of
21854         memory page shown in memory buffer.
21855         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21856         New customization variables.
21857         New functions:
21858         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21859         display the memory buffer.
21860         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21861         buffer display parameters.
21862         (def-gdb-memory-format, gdb-memory-format-binary)
21863         (gdb-memory-format-octal, gdb-memory-format-unsigned)
21864         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21865         Functions for setting memory buffer format.
21866         (gdb-memory-unit-word, gdb-memory-unit-halfword)
21867         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21868         unit size used in memory buffer.
21869         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21870         Switch to next/previous page of memory buffer.
21871         Now using (bindat-get-field) instead of fadr functions.
21873 2009-07-07  Sam Steingold  <sds@gnu.org>
21875         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21876         non-top-level files.
21878 2009-07-07  Kenichi Handa  <handa@m17n.org>
21880         * international/mule-cmds.el (reset-language-environment):
21881         Put the highset priority to the charset iso-8859-1.
21883 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21885         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21886         to the end of the line when locating the block (Bug#700).
21888 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
21890         * net/tramp.el (tramp-handle-write-region): Flush file properties
21891         in case of short track.
21893 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
21895         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21896         Coded custom representation of verilog error regular expressions
21897         to work with Emacs-22's new format.
21898         (verilog-error-regexp-xemacs-alist): Coded custom representation
21899         of verilog error regular expressions to work with XEmacs format.
21900         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21901         error recognition into XEmacs.
21902         (verilog-error-regexp-add-emacs): Hook routine to install verilog
21903         error recognition into Emacs-22.
21905 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21907         * woman.el: Remove stand-alone closing parentheses.
21908         (woman-file-name, woman2-format-paragraphs)
21909         (woman-leave-blank-lines): Code cleanup.
21910         (woman-use-own-frame): Change default to nil.
21911         (woman-italic, woman-bold, woman-unknown, woman-addition):
21912         Change defaults to inherit from default faces.
21913         (woman2-process-escapes): Consume the newline after a stand-alone
21914         filler character (Bug#3651).
21916 2009-07-06  Glenn Morris  <rgm@gnu.org>
21918         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21919         (top-level): Move provide to the end.
21920         (ffap): Remove defunct URL from custom group.
21922         * subr.el (eval-after-load): Doc fix.
21924 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
21926         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21927         `calc-embedded-word' is called twice.
21929 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21931         * files.el (find-alternate-file-other-window, find-alternate-file):
21932         Obey confirm-nonexistent-file-or-buffer.
21934 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
21936         * dired-aux.el (dired-show-file-type): Handle remote files.
21938 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
21940         * desktop.el (desktop-globals-to-save):
21941         Add file-name-history (Bug#2750).
21943 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
21945         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21947 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
21949         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21950         property on entire argument since this is what eshell-lisp-command
21951         expects.
21953 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
21955         * net/tramp-gvfs.el (tramp-gvfs-methods)
21956         (tramp-gvfs-zeroconf-domain)
21957         (tramp-bluez-discover-devices-timeout): Add version flag.
21958         (tramp-gvfs-handler-mounted-unmounted)
21959         (tramp-gvfs-connection-mounted-p): Polish handling of
21960         incompatibilities between GVFS 0.2 and 1.0.
21962 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
21964         * cus-start.el (all): Add make-pointer-invisible.
21966 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
21968         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21969         formatted correctly.
21971 2009-07-02  Juri Linkov  <juri@jurta.org>
21973         * info.el: Virtual Info files and nodes.
21974         (Info-virtual-files, Info-virtual-nodes): New variables.
21975         (Info-current-node-virtual): New variable.
21976         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21977         New functions.
21978         (Info-file-supports-index-cookies): Use Info-virtual-file-p
21979         to check for a virtual file instead of checking a fixed list
21980         of node names.
21981         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21982         instead of ad-hoc processing of "dir" and (apropos history toc).
21983         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21984         instead of ad-hoc processing of "dir" and (apropos history toc).
21985         Reread a file when moving from a virtual node.
21986         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21987         (Info-directory-toc-nodes, Info-directory-find-file)
21988         (Info-directory-find-node): New functions.
21989         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21990         (Info-history): Move part of code to
21991         `Info-history-find-node'.
21992         (Info-history-toc-nodes, Info-history-find-file)
21993         (Info-history-find-node): New functions.
21994         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21995         (Info-toc): Move part of code to `Info-toc-find-node'.
21996         (Info-toc-find-node): New function.
21997         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
21998         the current Info file name to references because now the node
21999         "*TOC*" belongs to the same Info manual.
22000         (Info-toc-build): Rename from `Info-build-toc'.
22001         (Info-toc-nodes): Rename input argument `file' to `filename'.
22002         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22003         instead of ad-hoc processing of ("dir" apropos history toc).
22004         (Info-index-nodes): Use Info-virtual-file-p
22005         to check for a virtual file instead of checking a fixed list
22006         of node names.
22007         (Info-index-node): Add check for `Info-current-node-virtual'.
22008         Raise `save-match-data' higher up the tree to contain
22009         `search-forward' too (bug fix).
22010         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22011         (Info-virtual-index-nodes): New variable.
22012         (Info-virtual-index-find-node, Info-virtual-index): New functions.
22013         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22014         (Info-apropos-file, Info-apropos-nodes): New variables.
22015         (Info-apropos-toc-nodes, Info-apropos-find-file)
22016         (Info-apropos-find-node, Info-apropos-matches): New functions.
22017         (info-apropos): Move part of code to `Info-apropos-find-node' and
22018         `Info-apropos-matches'.
22019         (Info-mode-map): Bind "I" to `Info-virtual-index'.
22020         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22021         for a virtual file instead of checking a fixed list of node names.
22023         * simple.el (async-shell-command): New command.
22025         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22027         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22028         instead of `mount-info'.
22030 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22032         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22033         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22035 2009-07-02  Kenichi Handa  <handa@m17n.org>
22037         * international/mule.el (set-keyboard-coding-system): Force *-unix
22038         coding-system to avoid eol conversion.
22040 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22042         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22043         Add handler for `process-file', `shell-command' and
22044         `start-file-process'.
22045         (tramp-gvfs-handle-shell-command)
22046         (tramp-gvfs-handle-start-file-process)
22047         (tramp-gvfs-handle-process-file): New defuns.
22048         (tramp-synce-list-devices): Simplify check for existence of property.
22050 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22052         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22054 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22056         * language/korean.el (set-language-info-alist): Add korean-cp949,
22057         cp949 to spec.
22059 2009-07-01  Kenichi Handa  <handa@m17n.org>
22061         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22063         * international/encoded-kb.el: Deleted.
22065         * international/mule.el (set-keyboard-coding-system): Perform the
22066         necessary setup here instead of calling encoded-kbd-setup-display.
22068 2009-07-01  Glenn Morris  <rgm@gnu.org>
22070         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22072 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22074         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22076 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22078         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22079         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22080         (tramp-default-file-modes): Remove execute permissions.
22082         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22083         (top): Add a default for "synce" in `tramp-default-user-alist'.
22084         Add completion function for "synce" method.
22085         (tramp-hal-service, tramp-hal-path-manager)
22086         (tramp-hal-interface-manager, tramp-hal-interface-device):
22087         New defconst.
22088         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22089         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22090         New defuns.
22092         * net/trampver.el: Update release number.
22094 2009-06-30  Kenichi Handa  <handa@m17n.org>
22096         * international/fontset.el (setup-default-fontset): Add CJK fonts
22097         for symbols and the other miscellaneous characters.
22099         * language/korea-util.el (setup-korean-environment-internal):
22100         Make char-width-table suitable for Korean environments.
22101         (exit-korean-environment): Cancel above.
22103         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22104         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22105         setup-function to make char-width-table suitable for respective
22106         environments, and an exit-function to cancel that.
22108         * language/japan-util.el (setup-japanese-environment-internal):
22109         Call use-cjk-char-width-table with arg `ja_JP'.
22111         * international/characters.el (cjk-char-width-table): Delete it.
22112         (cjk-char-width-table-list): New variable.
22113         (use-cjk-char-width-table): New arg local-name.
22114         (use-default-char-width-table): Fix for the case that Emacs is
22115         already using the default char-width-table.
22117 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22119         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22120         modes mandatory.  (Bug#3712)
22122 2009-06-29  Alan Mackenzie  <acm@muc.de>
22124         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22125         correction between the visible width of TABs and their number of bytes.
22127 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22129         * server.el (server-buffer-done): Prevent kill-buffer from
22130         prompting by clearing the buffer modification flag (Bug#3696).
22132 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22134         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22135         (verilog-endcomment-reason-re): Support unique case and priority case.
22136         (verilog-basic-complete-re): Support localparam lineup.
22137         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22138         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22139         commenting.
22140         (verilog-leap-to-case-head): Now support *nested* unique &
22141         priority case statements.
22142         (verilog-auto-lineup): Make just declarations the default (as it
22143         had been).
22144         (verilog-leap-to-case-head): Support priority/unique case statements.
22145         (verilog-auto-lineup): Rework to give users radio buttons to
22146         select the various styles of automatic lineup.
22147         (verilog-error-regexp-alist): Rework to support the XEmacs style
22148         of error regular expressions from compilers, lint tools &
22149         simulators.  Note that GNU Emacs has made it impossible for a mode
22150         to load such things.
22151         (electric-verilog-terminate-line, verilog-indent-declaration)
22152         (verilog-auto-wiure): Rework for radio button selection of
22153         auto-lineup selection of specification of auto lineup.
22154         (verilog-beg-of-statement-1): Redesign to support proper operation
22155         in additional code, based on testing with auto-lineup.
22156         (verilog-calculate-indent, assignments & declarations)
22157         (verilog-backward-token): Enhance to support auto-lineup of
22158         assignments & declarations.
22159         (verilog-in-directive-p, verilog-at-struct-p): New function for
22160         easy test of whether we are.
22161         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22162         to support safe execution at almost anyline.
22163         (verilog-calc-1): Properly support indenting deep inside generate
22164         blocks.
22165         (verilog-init-font): Remove definition & use of verilog-init-font,
22166         as it is redundant with font-lock-defaults.
22167         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22168         to avoid circular calls if syntax-ppss is a function (as is the
22169         case now in 22.x GNU Emacs) as that function would sometimes call
22170         itself, leading to (nearly) infinite recursion.
22171         (verilog-ovm-begin-re, verilog-ovm-end-re)
22172         (verilog-ovm-statement-re, verilog-leap-to-head)
22173         (verilog-backward-token): Add support for OVM macros.  Some are
22174         complete statements, and others open and close scopes like begin
22175         and end.
22176         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22177         (verilog-defun-level-generate-only-re): Really fix the defun-list
22178         compilation issue.
22179         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22180         coverpoint, constraint and cross statements.
22181         (verilog-defun-level-list, verilog-generate-defun-level-list)
22182         (verilog-all-defun-level-list): Redo these specifications - it is
22183         too hard to support eval-when compile aggregation of lists also
22184         built at when-compile time.
22185         (verilog-defun-level-list): Place defconsts of variables used in
22186         building regular expressions which are built in eval-when-compile
22187         bodies in the same eval-when-compile body to facilitate compile
22188         without load.
22189         (verilog-beg-block-re-ordered): Support indenting
22190         virtual/protected tasks and functions.
22191         (verilog-defun-level-list, verilog-in-generate-region-p)
22192         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22193         indentation of some module items (generate items).
22194         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22195         across virtual/protected tasks and functions.
22197 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22199         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22200         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22201         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22202         in concatenations.  Reported by Yishay Belkind.
22203         (verilog-auto-ascii-enum): Support one-hot state machines in
22204         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22205         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22206         modport in AUTOINST and add vl-modport for users.
22207         Reported by David Rogoff.
22208         (verilog-auto-inout-module, verilog-auto-inst)
22209         (verilog-decls-get-interfaces, verilog-insert-definition)
22210         (verilog-insert-one-definition, verilog-read-decls)
22211         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22212         (verilog-sig-modport, verilog-signals-combine-bus)
22213         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22214         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22215         Suggested by David Rogoff.
22216         (verilog-repair-open-comma): Fix non-insertion of comma when
22217         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22218         (verilog-make-width-expression): Simplify [A-1:0] expression
22219         widths to just {A{1'b0}}.
22220         (verilog-mode): Cleanup checkdoc warnings.
22221         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22222         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22223         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22224         (next-error-last-buffer): Fix byte-compiler warning.
22225         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22226         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22227         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22228         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22229         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22230         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22231         in AUTOINOUT.  Reported by Matthew Lovell.
22232         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22233         causing use of <= assignments.  Reported by Alex Reed.
22234         (verilog-read-decls): Fix triand, trior, wand, wor to be
22235         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22236         (verilog-extended-complete-re): Support import "DPI-C" functions.
22237         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22238         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22239         (verilog-insert-date, verilog-insert-year)
22240         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22241         Windows systems.  Reported by Michael Potts.
22242         (verilog-read-module-name): Fix AUTOINST when the child module
22243         declaration's name is a tick define.  Reported by Elliot Mednick.
22244         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22245         passed to next parameter's definition.  Reported by Bruce T.
22246         (verilog-read-decls): Fix detecting "parameter int" when using
22247         AUTOINSTPARAM.  Reported by Bruce T.
22248         (verilog-goto-defun): Fix goto not finding modules unless first
22249         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22250         (verilog-mode): Expand -f flag arguments on entry to mode so
22251         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22252         (verilog-getopt): Expand environment variables in -f file
22253         arguments.  Suggested by Lawrence Butcher.
22254         (verilog-set-define): Fix "Symbol's value as variable is void"
22255         when reading enumerations.
22256         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22257         Suggested by Stephen Peltan.
22258         (verilog-read-defines): Fix reading of enumerations in include
22259         files.  Reported by Steve Peltan.
22261 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22263         * files.el (trash-directory): Fix defcustom type.
22265 2009-06-28  Juri Linkov  <juri@jurta.org>
22267         * help-fns.el (describe-function-1): Correctly locate adviced
22268         functions in hyperlink (Bug#2438).
22270 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22272         * files.el (trash-directory): Change default to nil.
22273         (move-file-to-trash): If trash-directory is nil and
22274         system-move-file-to-trash is unbound, perform freedesktop-style
22275         trashing.
22277 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22279         * files.el (move-file-to-trash): Add freedesktop trash
22280         support (Bug#973).
22282 2009-06-28  Glenn Morris  <rgm@gnu.org>
22284         * autorevert.el (global-auto-revert-non-file-buffers)
22285         (global-auto-revert-mode): Doc fixes.
22287 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22289         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22291 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22293         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22294         opened an X connection before calling x-get-resource (Bug#3194).
22296         * play/doctor.el: Remove reference to obsolete website.
22297         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22299 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22301         Remove find-file-not-found-hook VC method.  (Bug#2757)
22302         * vc-hooks.el (vc-file-not-found-hook)
22303         (vc-default-find-file-not-found-hook): Remove functions.
22304         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22305         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22306         * vc.el:
22307         * vc-hg.el:
22308         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22310 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22312         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22313         compatibility function for `looking-back'.
22315         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22316         Use `ispell-looking-back'.
22318 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22320         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22321         rather than `filename'.
22323 2009-06-23  Miles Bader  <miles@gnu.org>
22325         * face-remap.el (text-scale-set): New function.
22327 2009-06-23  Glenn Morris  <rgm@gnu.org>
22329         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22331         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22333         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22335         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22337         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22338         Simplify Persian conditionals.
22340         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22341         variable `filename'.
22343         * comint.el (comint-insert-input): Doc fix.
22345         * Makefile.in (ELCFILES): Fix typo in previous change.
22347 2009-06-23  Miles Bader  <miles@gnu.org>
22349         * cus-start.el: Add entry for `recenter-redisplay'.
22351 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22353         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22354         Add an optional argument for the backend, use it instead of
22355         calling vc-backend.
22356         (vc-mode-line): Add an optional argument for the backend.
22357         Pass the backend to vc-state and vc-working-revision.  Move code for
22358         special handling for vc-state being a buffer to ...
22360         * vc-rcs.el (vc-rcs-find-file-hook):
22361         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22363         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22364         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22365         vc-stay-local-p and vc-mode-line calls.
22367         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22368         (vc-cvs-diff, vc-cvs-annotate-command)
22369         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22370         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22371         vc-mode-line calls.
22373         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22374         direct comparison.
22375         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22376         backend when calling vc-mode-line.
22377         (vc-register): Do not create a closure for calling the vc register
22378         function, call it directly.
22380 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22382         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22383         to make it obvious item can be clicked.
22385         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22387 2009-06-23  Kenichi Handa  <handa@m17n.org>
22389         * language/korea-util.el (korean-key-bindings): Change the binding
22390         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22391         same command.
22393 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22395         Sync with Tramp 2.1.16.
22397         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22399         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22400         when a loading of a package fails.  Completion function for rsync
22401         is `tramp-completion-function-alist-ssh'.
22402         (all): Replace all calls of `split-string' and
22403         `tramp-split-string' by `tramp-compat-split-string'.
22404         (tramp-default-method): Use `tramp-compat-process-running-p'.
22405         (tramp-default-proxies-alist): Allow also Lisp forms.
22406         (tramp-remote-path): Add choice "Private Directories".
22407         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22408         (tramp-domain-regexp): Allow also "-", "_" and ".".
22409         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22410         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22411         (tramp-debug-message): Insert header line in debug buffer.
22412         (tramp-handle-directory-files-and-attributes-with-stat):
22413         Care about filenames with spaces, or starting with "-".
22414         (tramp-handle-dired-uncache): New defun.
22415         (tramp-handle-insert-directory): Don't flush the directory from
22416         cache, this is handled by `dired-uncache' now.
22417         (tramp-handle-insert-file-contents): Improve error handling.
22418         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22419         Quote `tramp-end-of-output'.
22420         (tramp-action-password): Improve trace message.
22421         (tramp-check-for-regexp): Both echoes must be present, before removing.
22422         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22423         (tramp-compute-multi-hops): Eval cons cells of
22424         `tramp-default-proxies-alist'.
22425         (tramp-maybe-open-connection): Use the same command pattern for
22426         first hop and further hops.
22427         (tramp-wait-for-output): Remove handling of newlines.
22428         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22429         (tramp-split-string): Remove function.  It is handled in
22430         tramp-compat now.
22432         * net/tramp-cmds.el (tramp-bug):
22433         Recommend `tramp-cleanup-all-connections' in the bug mail.
22435         * net/tramp-compat.el (tramp-compat-split-string)
22436         (tramp-compat-process-running-p): New defuns.
22438         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22439         for `dired-uncache'.
22441         * net/tramp-gvfs.el: New package.
22443         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22444         Add handler for `dired-uncache'.
22445         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22447         * net/trampver.el: Update release number.  Make version check fit
22448         for SXEmacs 22.
22450 2009-06-22  Jim Meyering  <meyering@redhat.com>
22452         Automatically handle .xz suffix (XZ-compressed files), too.
22453         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22454         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22456 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22457             Nick Roberts  <nickrob@snap.net.nz>
22459         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22460         repository (http://sphinx.net.ru/hg/gdb-mi/).
22462 2009-06-22  Glenn Morris  <rgm@gnu.org>
22464         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22465         `mode' and `eval' entries.  (Bug#3430)
22467         * Makefile.in (ELCFILES): Add fadr.elc.
22469         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22470         differing behavior of \n and ^ in strings.  (Bug#3385)
22472         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22474         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22475         property.
22476         (lisp-indent-function): Make it a defcustom.
22478 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22480         * progmodes/gdb-ui.el: Replace with ...
22481         * progmodes/gdb-mi.el: ... this file.
22482         * progmodes/gud.el: Modify for gdb-mi.el.
22484 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22486         * fadr.el: New file.
22488 See ChangeLog.14 for earlier changes.
22490 ;; Local Variables:
22491 ;; coding: utf-8
22492 ;; End:
22494   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22496   This file is part of GNU Emacs.
22498   GNU Emacs is free software: you can redistribute it and/or modify
22499   it under the terms of the GNU General Public License as published by
22500   the Free Software Foundation, either version 3 of the License, or
22501   (at your option) any later version.
22503   GNU Emacs is distributed in the hope that it will be useful,
22504   but WITHOUT ANY WARRANTY; without even the implied warranty of
22505   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22506   GNU General Public License for more details.
22508   You should have received a copy of the GNU General Public License
22509   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.