Added fast path to ERT explanation of `equal'.
[emacs.git] / lisp / ChangeLog
blob9602bf20af65cf689526c5cb641119c71a5e07cc
1 2011-03-03  Christian Ohler  <ohler@gnu.org>
3         * emacs-lisp/ert.el (ert--explain-equal): New function.
4         (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
5         All callers changed.
6         (ert--explain-equal-including-properties): Renamed from
7         `ert--explain-not-equal-including-properties'.  All callers
8         changed.
10 2011-03-03  Christian Ohler  <ohler@gnu.org>
12         * emacs-lisp/ert.el (ert--stats-set-test-and-result)
13         (ert-char-for-test-result, ert-string-for-test-result)
14         (ert-run-tests-batch, ert--print-test-for-ewoc):
15         Handle `ert-test-quit'.
17 2011-03-03  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
19         * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e. (Bug#7349)
21 2011-03-03  Vagn Johansen  <gonz808@hotmail.com>  (tiny change)
23         * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
24         programs output backslashes.  (Bug#7663)
26 2011-03-03  Glenn Morris  <rgm@gnu.org>
28         * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
29         (mail-mode): Remove mail-sent-via from the doc.
30         (mail-sent-via): Make it obsolete.  (Bug#1776)
32         * progmodes/grep.el (grep-highlight-matches): Doc fix.
33         (grep-process-setup): No highlighting without font-lock.  (Bug#8084)
35         * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
36         with no parents.  (Bug#8025)
38 2011-03-02  Glenn Morris  <rgm@gnu.org>
40         * man.el (Man-support-local-filenames): Also handle Red Hat's man.
41         * dired-x.el (Man-support-local-filenames): Autoload it.
42         (dired-guess-shell-alist-default): Also handle Red Hat's man.
44         * dired-x.el (dired-default-directory-alist, dired-default-directory):
45         Mark as obsolete.
46         (dired-smart-shell-command): Just call dired-current-directory.
48         * dired-x.el (dired-jump-other-window): Add autoload.
49         (dired-default-directory-alist, dired-default-directory): Doc fixes.
50         (dired-default-directory-alist): Mark as risky.
52         * dired-x.el (dired-omit-here-always): Make it obsolete.
54 2011-03-02  Chong Yidong  <cyd@stupidchicken.com>
56         * textmodes/artist.el (artist-curr-go): Default to pen-line.
57         (artist-select-op-pen-line): New function.
58         (artist-menu-map): New variable.
59         (artist-mode-map): Add a menu to the menu-bar.
61 2011-03-02  Jay Belanger  <jay.p.belanger@gmail.com>
63         * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
64         when evaluating.
66         * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
67         New function.
68         (math-logunits-add, math-logunits-mul, math-logunits-divide):
69         (math-logunits-quant, math-logunits-level):
70         Use `math-conditional-apply' and `math-conditional-pow' to evaluate
71         functions.
72         (math-logunits-level): Extract units from ratio.
74 2011-03-01  Juanma Barranquero  <lekktu@gmail.com>
76         * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
78 2011-03-01  Glenn Morris  <rgm@gnu.org>
80         * calendar/cal-hebrew.el (calendar-hebrew-birthday, diary-hebrew-date):
81         Rename and rework functions added in previous change.
83 2011-03-01  Ed Reingold  <reingold@emr.cs.iit.edu>
85         * calendar/cal-hebrew.el (hebrew-calendar-birthday)
86         (diary-hebrew-birthday): New functions.
88 2011-03-01  Glenn Morris  <rgm@gnu.org>
90         * dired.el (dired-safe-switches-p): Beef it up.
91         (dired-actual-switches): Use it for the safe-local prop.  (Bug#3230)
93 2011-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
95         * dired.el (dired-safe-switches-p): New function.
97 2011-03-01  Glenn Morris  <rgm@gnu.org>
99         * files.el (dir-locals-collect-variables):
100         Add the ability to exclude subdirectories.  (Bug#8100)
102         * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
104 2011-02-28  Christoph Scholtes  <cschol2112@googlemail.com>
106         * ido.el (ido-everywhere): Doc fix.
107         (ido-mode): Doc fix.
109 2011-02-28  Glenn Morris  <rgm@gnu.org>
111         * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
113 2011-02-28  Michael Albinus  <michael.albinus@gmx.de>
115         * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
116         shadows.
118 2011-02-28  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
120         * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
122 2011-02-28  Juanma Barranquero  <lekktu@gmail.com>
124         * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
125         Fix typos in docstrings.
127 2011-02-28  Stephen Berman  <stephen.berman@gmx.net>
129         * dired-aux.el (dired-update-file-line):
130         Fix 2010-11-09 change.  (Bug#8131)
132 2011-02-28  Eli Zaretskii  <eliz@gnu.org>
134         * international/mule-cmds.el (set-default-coding-systems): Use the
135         -unix variant of encoding in default-keyboard-coding-system.
136         (Bug#8122)
138 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
140         * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
142 2011-02-27  Prestoo Ten  <prestooten@gmail.com>  (tiny change)
144         * term/screen.el: New file (Bug#2650).
146 2011-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
148         * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
149         (pcase-mutually-exclusive-predicates): New var.
150         (pcase--split-consp, pcase--split-pred): Use it.
151         (pcase--split-equal, pcase--split-member): When splitting against
152         a pure predicate, run it to know the outcome.
153         (pcase--u1): Mark vars that are actually used.
154         (pcase--q1): Avoid introducing unused vars.
156 2011-02-27  Jay Belanger  <jay.p.belanger@gmail.com>
158         * calc/calc-ext.el (calc-init-extensions):
159         Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
161         * calc/calc-math.el (calcFunc-log10): Don't signal an error in
162         symbolic mode.
164         * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
165         argument is a variable.
167 2011-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
169         * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
170         (aput, adelete, amake): Replace `eval' -> `symbol-value'.
171         Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
173 2011-02-25  Teodor Zlatanov  <tzz@lifelogs.com>
175         * password-cache.el (password-in-cache-p): Convenience function to
176         check if a key is in the cache, even if the value is nil.
178 2011-02-25  Jambunathan K  <kjambunathan@gmail.com>
180         * emacs-lisp/package-x.el (package--archive-contents-from-url)
181         (package--archive-contents-from-file): New functions.
182         (package-update-news-on-upload): New var.
183         (package-upload-buffer-internal): Extract archive-contents from
184         package-archive-upload-base if it is not found at archive-url.
185         Obey package-update-news-on-upload.
186         (package-upload-buffer, package-upload-file): Doc fix.
188 2011-02-24  Glenn Morris  <rgm@gnu.org>
190         * files-x.el (modify-dir-local-variable): Handle dir-locals from
191         the cache, and from non-file sources.
193         * help-fns.el (describe-variable): Return consistent results when a
194         dir-local from a file came from the cache or did not.  (Bug#8095)
195         If a dir-local has no associated file, say it came from a "directory".
197         * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
198         (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
200         * files.el (dir-locals-find-file): Doc fix.
201         Fix the check for cache elements that have no associated file,
202         and the mtime check for those that do.  (Bug#8095)
204         * dired-x.el (dired-hack-local-variables):
205         Handle interrupts during hacking local variables.  (Bug#5216)
207         * emacs-lisp/autoload.el (autoload-save-buffers)
208         (autoload-find-destination, update-directory-autoloads):
209         Avoid prompts when updating autoloads.
211 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
213         * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
215 2011-02-23  Kenichi Handa  <handa@m17n.org>
217         * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
218         error when a multipart boundary in the nested multipart is found.
220         * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
221         header components.
223 2011-02-23  Glenn Morris  <rgm@gnu.org>
225         * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
226         * dired-x.el (dired-omit-mode): Safe if boolean.
227         (dired-enable-local-variables): Fix doc and custom type.
228         (dired-enable-local-variables, dired-local-variables-file)
229         (dired-hack-local-variables): Make obsolete.
230         (dired-omit-here-always): Use dir-locals.el instead.
232         * files.el (safe-local-eval-forms): Add the write-file-hooks version.
234 2011-02-22  Stefan Monnier  <monnier@iro.umontreal.ca>
236         * help-fns.el (describe-function-1): Don't signal an error just because
237         the DOC file disappeared.
239 2011-02-22  Seppo Sade <sepposade1@gmail.com>  (tiny change)
241         * eshell/esh-ext.el (eshell-external-command): Do not restrict
242         remote check to "ftp".  (Bug#8089)
244 2011-02-21  Alan Mackenzie  <acm@muc.de>
246         Fix bug #7930.
247         * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
248         in macros finding their way into c-state-nonlit-pos-cache.
249         Strengthen the comments.
250         (c-state-dump): New commented out diagnostic routine.
252 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
254         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
255         `field' property of `rfn-eshadow-overlay'.
257 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
259         * net/netrc.el (netrc-parse): Comment fix.
261 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
263         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
264         Autoload.  Add optional arg FRAME, and pass it to color-values.
265         (color-complement): Caller changed.  Doc fix.
266         (color-gradient): Rewrite for better clarity and efficiency.
268         * faces.el (color-values): Use cond for clarity.  Doc fix.
270         * facemenu.el (color-rgb-to-hsv): Delete; use the version in
271         color.el instead.
272         (list-colors-sort-key, list-colors-print):
273         Use color-normalized-values.
275 2011-02-20  Drew Adams  <drew.adams@oracle.com>
277         * color.el: First part of merge from hexrgb.el.
278         (color-rgb-to-hex): Rename from color-rgb->hex.
279         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
280         saturation to zero if the value is too small.
281         (color-rgb-to-hsl): Rename from color-rgb->hsl.
282         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
283         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
284         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
285         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
286         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
287         (color-cie-de2000): Doc fix.
289 2011-02-20  Alan Mackenzie  <acm@muc.de>
291         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
292         locating the beginning of a macro.  (Bug#7595)
294 2011-02-20  Glenn Morris  <rgm@gnu.org>
296         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
297         Don't autoload it.
299         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
300         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
302 2011-02-19  Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
303             Dima Kogan <dkogan@cds.caltech.edu>  (tiny change)
305         * progmodes/hideshow.el (hs-find-block-beginning)
306         (hs-hide-level-recursive): Ignore comments when parsing braces
307         (Bug#8036).
309 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
311         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
312         (vc-bzr-pull): Use it.
314 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
316         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
317         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
318         but returning an alist.  Ignore comments in bzr conffile.
319         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
320         (vc-bzr-error-regex-alist): New var.
321         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
323         * vc/vc-dispatcher.el (vc-do-async-command):
324         Bind inhibit-read-only to t.
326         * progmodes/compile.el (compilation--flush-directory-cache):
327         Handle the case where cdr of compilation--flush-directory-cache
328         points to no buffer, which can occur if we previously switched to
329         compilation-mode in a pregenerated buffer.
331 2011-02-19  Kenichi Handa  <handa@m17n.org>
333         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
334         get the header copy into the temporary buffer.
335         (rmail-mime-insert-decoded-text): Ignore us-ascii.
336         (rmail-show-mime): When rmail-mime-coding-system is nil, set
337         buffer-file-coding-system to undecided.
339 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
341         * international/mule-cmds.el (read-char-by-name, ucs-insert):
342         Document completion with asterisk and a substring.
344 2011-02-19  Glenn Morris  <rgm@gnu.org>
346         * files.el (find-file-literally): Doc fix.
348         * simple.el (rfc822-goto-eoh): Give it a doc-string.
350         * log-edit.el (log-edit-insert-changelog):
351         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
353 2011-02-19  Glenn Morris  <rgm@gnu.org>
355         * dired-x.el: Don't require dired-aux.
356         (dired-do-create-files, dired-mark-read-regexp)
357         (dired-do-create-files-regexp): Autoload from dired-aux.
359         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
360         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
362         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
363         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
365         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
366         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
367         (dired-clean-up-buffers-too): Declare.
369         * dired-x.el (dired-initial-position): Merge into dired.el's version.
370         * dired.el (dired-initial-position): Merge dired-x's version here.
371         (dired-find-subdir): Declare.
373         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
374         * dired-aux.el (dired-add-entry): Give it a doc-string.
375         Merge dired-x's dired-omit handling here.
376         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
378         * international/mule-diag.el (list-input-methods-1):
379         Indent all lines of multi-line doc-strings.  (Bug#8066)
381 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
383         Fix 2011-02-02 changes.
385         * apropos.el (apropos-print): Call apropos-mode before setting up
386         buffer variables.  Use inhibit-read-only.
388         * emacs-lisp/package.el (package--list-packages):
389         Call package-menu-mode before setting up buffer variables.
391         * play/solitaire.el (solitaire): Call solitaire-mode before
392         setting up buffer variables.  Use inhibit-read-only.
394 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
396         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
397         Bind case-fold-search to nil when looking for end of here-doc.
399 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
401         * image-mode.el (image-toggle-display-image):
402         Set find-file-literally non-nil in buffers visiting binary image
403         files.  (Bug#8047)
405 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
407         * files.el (cd): Make completion obey cd-path (bug#7924).
409 2011-02-18  Glenn Morris  <rgm@gnu.org>
411         * progmodes/prolog.el: Don't require compile when compiling.
412         (compilation-shell-minor-mode, compilation-error-regexp-alist)
413         (compilation-forget-errors, compilation-fake-loc)
414         (compilation-parse-errors-function, compilation-error-list): Declare.
415         (prolog-inferior-mode): Require 'compile.
417         * emulation/cua-base.el (pc-selection-mode): Declare.
419         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
420         (customize-object): Add autoload cookie.
421         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
422         (eieio-browse, describe-class, eieio-describe-class)
423         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
424         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
425         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
426         * Makefile.in (autoloads): Make eieio.el writable.
428         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
429         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
430         (dired-hack-local-variables): Use inhibit-read-only.
431         (dired-guess-default): Simplify.
432         (dired-make-relative-symlink): Use dotimes.
433         (dired-simultaneous-find-file): Use dolist.
434         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
435         (dired-x-hands-off-my-keys): Doc fix.
436         (dired-x-bind-find-file): Doc fix.  Use remapping.
437         (after-init-hook): No need to add dired-x-bind-find-file.
438         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
439         No need to call expand-file-name.
440         (dired-filename-at-point): Remove unused locals `end', `filename'.
442 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
444         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
446 2011-02-18  Christian Ohler  <ohler@gnu.org>
448         * emacs-lisp/ert.el (ert--setup-results-buffer)
449         (ert-results-pop-to-backtrace-for-test-at-point)
450         (ert-results-pop-to-messages-for-test-at-point)
451         (ert-results-pop-to-should-forms-for-test-at-point)
452         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
453         were incorrect and unnecessary.  This should make `make check'
454         pass again.
456 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
458         * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
459         (allout-widgets-icons-dark-subdir): Track relocations of icons
460         * lisp/allout.el: Remove commentary about remove encryption
461         passphrase mnemonic support and verification.
462         (allout-encrypt-string): (allout-encrypt-string): Recognize epg
463         failure to decrypt gpg2 armored text using gpg1, and indicate that
464         the gpg version *might* be the problem in the error message.
466 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
468         * net/rcirc.el (rcirc-float-time): New function.
469         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
470         (rcirc-ctcp-sender-PING): Use it.
472 2011-02-17  Glenn Morris  <rgm@gnu.org>
474         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
475         (speedbar-update-flag, speedbar-fetch-etags-command)
476         (speedbar-fetch-etags-arguments):
477         * term.el (term-buffer-maximum-size, term-input-chunk-size)
478         (term-completion-autolist, term-completion-addsuffix)
479         (term-completion-recexact, term-completion-fignore):
480         * term/sup-mouse.el (sup-mouse-fast-select-window):
481         * term/x-win.el (x-select-request-type):
482         Convert some defvars with "*" to defcustoms.
484         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
486         * vc/vc.el (vc-default-previous-version):
487         Remove alias that points nowhere.  (Bug#4496)
489         * dired-x.el (dired-clean-up-after-deletion):
490         kill-buffer does not need save-excursion.
491         (dired-do-run-mail): Doc fix.
492         (dired-filename-at-point): Doc fix.
493         Use looking-at, and skip-chars rather than re search.
495         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
497 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
499         * allout-widgets.el: New allout extension that shows allout
500         outline structure with graphical widgets.  'allout-widgets'
501         customize group is an 'allout' subgroup, for easy discovery.
503         * allout.el: Include PGP and GnuPG in Keywords, and other
504         commentary refinements.
505         (allout-abbreviate-flattened-numbering): Rename to
506         allout-flattened-numbering-abbreviation, and
507         define-obsolete-variable-alias the old name.
508         (allout-flattened-numbering-abbreviation): Rename from
509         allout-abbreviate-flattened-numbering.
510         (allout-mode-p): Include among autoloads, for use by other modes
511         with impunity.
512         (allout-listify-exposed):
513         Use allout-flattened-numbering-abbreviation.
514         (allout-encrypt-string): Use set-buffer-multibyte directly.
515         (allout-set-buffer-multibyte): Remove.
517 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
519         * simple.el (just-one-space): Remove useless `or' call.
521 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
523         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
524         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
525         (soap-decoded-multi-refs, soap-current-wsdl)
526         (soap-encoded-namespaces): Rename CL-style *...* variables.
528 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
530         * net/soap-client.el: Add "comm" and "hypermedia" to the
531         keywords.  Reflow too long lines.
533         * net/soap-inspect.el: Ditto.  Require 'cl.
535 2011-02-16  Bastien Guerry  <bzg@altern.org>
537         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
538         in a `doctor-type' argument.
540 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
542         * net/soap-client.el:
543         * net/soap-inspect.el: New files.
545 2011-02-16  Leo  <sdl.web@gmail.com>
547         * dired-x.el (dired-mode-map, dired-extra-startup):
548         Remove dired-copy-filename-as-kill since it's already in dired.el.
550 2011-02-16  Glenn Morris  <rgm@gnu.org>
552         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
553         Doc fixes.  Add :set property, replacing top-level calls.
554         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
555         (dired-guess-shell-gnutar): Test tar version rather than system-type.
556         (dired-extra-startup, dired-man, dired-info): Doc fixes.
557         (dired-clean-up-after-deletion): Use when and dolist.
558         (dired-jump): Use unless and when.
559         (dired-virtual): Use line-end-position.
560         (dired-default-directory-alist): Rename from default-directory-alist.
561         (dired-default-directory): Update for above name change.
562         (dired-vm): Drop VM < 5 and simplify.
563         (dired-buffer-more-recently-used-p): Rewrite.
564         (dired-filename-at-point): Use when and or.
565         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
566         Update callers.
568 2011-02-15  Glenn Morris  <rgm@gnu.org>
570         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
572 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
574         * vc/vc-git.el (vc-git-root-log-format): New option for
575         customizing log format.
576         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
577         (vc-git-log-view-mode): Use it.
578         (vc-git-expanded-log-entry): New function.
579         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
581         * vc/vc-hg.el (vc-hg-root-log-template): New option for
582         customizing log format.
583         (vc-hg-print-log): Use it.
584         (vc-hg-expanded-log-entry): New function.
585         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
586         vc-hg-expanded-log-entry.  Truncate lines in root log.
588         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
590         * vc/log-view.el (log-view-mode-menu):
591         Add log-view-toggle-entry-display.
593 2011-02-14  Glenn Morris  <rgm@gnu.org>
595         * dired-x.el: Don't require man when compiling.
596         (dired-omit-extensions, dired-local-variables-file)
597         (dired-x-hands-off-my-keys): Make them defcustoms.
598         (Man-support-local-filenames, Man-getpage-in-background): Declare.
599         (vm-visit-folder): Declare rather than defining.
600         (dired-x-help-address, dired-x-variable-list): Remove.
601         (dired-x-submit-report): Make it an obsolete alias.
603 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
605         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
607 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
609         * net/imap.el: Bring it back.
611 2011-02-13  Alan Mackenzie  <acm@muc.de>
613         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
614         narrow-to-region call that cuts context off the end (Bug#7722).
616         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
617         Refactor nested if-forms with a simple cond.
618         (c-forward-<>-arglist): Revert 2011-01-31 change.
620 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
622         * vc/log-view.el: New command log-view-toggle-entry-display for
623         toggling log entries between concise and detailed forms.
624         (log-view-toggle-entry-display): New command.
625         (log-view-mode-map): Bind RET to it.
626         (log-view-expanded-log-entry-function): New variable.
627         (log-view-current-entry, log-view-inside-comment-p)
628         (log-view-current-tag): New functions.
629         (log-view-toggle-mark-entry): Use log-view-current-entry and
630         log-view-end-of-defun instead of searching directly with
631         log-view-message-re.
632         (log-view-end-of-defun): Likewise.  Add optional ARG for
633         compatibility with end-of-defun.
634         (log-view-end-of-defun): Ignore comments and VC buttons.
636         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
637         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
639 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
641         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
643         * net/imap-hash.el: Remove file.
645 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
647         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
649         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
650         call.
652         * net/tramp-imap.el: Remove file.
654 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
656         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
657         widget library for buttons, just use button.el.
659         * vc/log-view.el (log-view-mode-map): Don't inherit from
660         widget-keymap.
662 2011-02-12  Glenn Morris  <rgm@gnu.org>
664         * emacs-lisp/cl-seq.el (union, nunion, intersection)
665         (nintersection, set-difference, nset-difference)
666         (set-exclusive-or, nset-exclusive-or): Doc fix.
668         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
670         * faces.el (face-attr-match-p): Handle the obsolete :bold and
671         :italic props, so that frame-set-background-mode works.  (Bug#7966)
673         * simple.el (next-error): Doc fix.
675 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
677         * dired-aux.el (dired-create-files): Adapt destination name to
678         match the new behavior of copy-directory.
680 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
682         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
683         from rmail-dont-reply-to-names.  Callers changed.
684         (mail-dont-reply-to): Rename from mail-dont-reply-to.
685         (rmail-dont-reply-to): Make it an obsolete alias.
687         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
688         nil, and make obsolete (Bug#7888).
689         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
691         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
693         * mail/rmailsort.el (rmail-sort-by-correspondent)
694         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
696         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
698 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
700         * files.el (copy-directory): New argument COPY-CONTENTS for
701         copying directory contents into another existing directory.
703 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
705         * minibuffer.el (completion-table-case-fold): New function for
706         creating a case-insensitive completion table.
708 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
710         * net/tramp.el (tramp-default-method): Also check if
711         `auth-source-search' is bound.
712         (tramp-read-passwd): Use `auth-source-search' instead of
713         `auto-source-user-or-password'.
715         * net/tramp-imap.el: Autoload `auto-source-search' instead of
716         `auto-source-user-or-password.
717         (tramp-imap-passphrase-callback-function): Use it.
719         * net/imap-hash.el: Autoload `auto-source-search' instead of
720         `auto-source-user-or-password.
721         (imap-hash-open-connection): Use it.
723         * mail/smtpmail.el: Autoload `auto-source-search' instead of
724         `auto-source-user-or-password.
725         (smtpmail-try-auth-methods): Use it.
727 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
729         * emacs-lisp/package.el: Allow packages to be reinstalled.
730         (package--write-file-no-coding): Remove EXCL arg.
731         (package-unpack-single): Don't use it.
733 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
735         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
736         in each sub directory.
737         (vc-svn-registered): Use vc-svn-root.
738         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
739         (vc-svn-repository-hostname): Use "svn info".
741 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
743         * simple.el (delete-trailing-whitespace): New optional buffer
744         bound parameters.
746 2011-02-11  Bastien Guerry  <bzg@altern.org>
748         * files.el (basic-save-buffer): save unmodified buffers when
749         the file pointed by buffer-file-name doesn't exist.
751 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
753         * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
755 2011-02-11  Glenn Morris  <rgm@gnu.org>
757         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
759 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
761         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
763 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
765         * server.el (server-process-filter): Use pcase.
767         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
768         conflicting ways.
769         (smie-indent--parent): Extend to "parent of arg".
770         (smie-indent-inside-string): New function.
771         (smie-indent-functions): Use it.
773         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
774         bzr locking race condition.
776         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
777         still valid before using it.
779         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
780         `message' -> `compilation-message' rename (bug#8004).
782         Move keymap initialization into declaration.
783         * textmodes/enriched.el (enriched-mode-map):
784         * textmodes/bib-mode.el (bib-mode-map):
785         * term/lk201.el (lk201-function-map):
786         * tar-mode.el (tar-mode-map):
787         * replace.el (occur-mode-map):
788         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
789         * progmodes/idlw-help.el (idlwave-help-mode-map):
790         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
791         * play/solitaire.el (solitaire-mode-map):
792         * play/snake.el (snake-mode-map, snake-null-map):
793         * play/pong.el (pong-mode-map):
794         * play/handwrite.el (menu-bar-handwrite-map):
795         * play/gametree.el (gametree-mode-map):
796         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
797         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
798         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
799         (newsticker--url-keymap):
800         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
801         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
802         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
803         (menu-bar-edit-menu, menu-bar-custom-menu)
804         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
805         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
806         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
807         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
808         (menu-bar-tools-menu, menu-bar-describe-menu)
809         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
810         (menu-bar-help-menu):
811         * mail/rmailsum.el (rmail-summary-mode-map):
812         * kmacro.el (kmacro-step-edit-map):
813         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
814         (ibuffer-mode-operate-map):
815         * hi-lock.el (hi-lock-menu, hi-lock-map):
816         * emulation/vip.el (vip-mode-map):
817         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
818         * bookmark.el (bookmark-bmenu-mode-map):
819         * help-mode.el (help-mode-map): Move initialization into declaration.
821 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
823         * net/rcirc.el: Add PRIVMSG and CTCP functions.
824         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
825         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
826         (rcirc-cmd-me, rcirc-authenticate): Use them.
828 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
830         * allout.el: Synopsis: Change allout user configuration so
831         auto-activation is controlled solely by customization
832         `allout-auto-activation'.
834         (allout-auto-activation-helper) (allout-setup): New autoloads
835         implement new custom set procedure for allout-auto-activation.
836         Also, explicitly invoke
837         (allout-setup) after allout-auto-activation is custom-defined, to
838         effect the settings in emacs sessions besides the few where
839         allout-auto-activation customization is donea.
840         (allout-auto-activation): Use allout-auto-activation-helper to
841         :set.  Revise the docstring.
842         (allout-init): Reduce functionality to just customizing
843         allout-auto-activation, and mark obsolete.
844         (allout-mode): Respect string values for allout-auto-activation.
845         Run allout-after-copy-or-kill-hook without any args.
846         (allout-mode) (allout-layout) (allout-default-layout)
847         (outlineify-sticky): Adjust docstring for new scheme.
848         (allout-after-copy-or-kill-hook): No arguments - hook implementers
849         should concentrate on the kill ring.
851 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
853         * password-cache.el (password-cache-remove): Accept secrets that are
854         not strings.
856 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
858         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
859         of here-doc that immediately follows a comment.
861 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
863         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
865         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
866         available.
867         (rcirc-ctcp-sender-PING): New function.
869 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
871         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
872         Remove the mark/nomark handling, and activate shift-select-mode instead.
874         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
876 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
878         * calc/calc-units.el (math-logunits-quant): Add support for
879         non-logarithmic units.
881 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
883         * allout.el (allout-after-copy-or-kill-hook): New hook for
884         extension-specific processing of killed text.
885         (allout-mode): Include new allout-after-copy-or-kill-hook among
886         mentioned hooks.
887         (allout-kill-line) (allout-kill-topic): Ensure that processing
888         after kill happens even if barf-if-buffer-read-only is raised.
889         Include new allout-after-copy-or-kill-hook among that subsequent
890         processing.
891         (allout-deannotate-hidden): Actually remove the annotation text
892         properties.
894         * allout.el (allout-listify-exposed): Copy text sans text properties.
896 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
898         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
900 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
902         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
904 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
906         * calc/calc.el (calc-logunits-field-reference): Rename from
907         `calc-default-field-reference-level'.
908         (calc-logunits-power-reference): Rename from
909         `calc-default-power-reference-level'
911         * calc/calc-units.el (math-logunits-quant): Rename from
912         `math-logunits-level'
913         (math-logunits-plus): Rename from math-logcombine.
914         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
915         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
916         (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
917         New functions.
918         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
919         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
920         (calc-logunits-quantity): Rename from `calc-level'.
921         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
922         (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
923         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
924         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
925         (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
926         New functions.
928         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
929         (calc-ul-prefix-help): Remove.
930         (calc-l-prefix-help): New function.
931         (calc-full-help): Add reference to `calc-l-prefix-help'.
933         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
935         * calc/README: Mention logarithmic units.
937 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
939         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
940         non-ASCII characters (Bug#7925).
942 2011-02-05  Glenn Morris  <rgm@gnu.org>
944         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
946         * calendar/diary-lib.el (diary-font-lock-keywords):
947         Tweak diary-time-regexp match.  (Bug#7891)
949         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
950         (f90-mode): Use it for mode's `find-tag-default-function' property.
952         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
954         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
956 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
958         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
959         (Bug#6386).
961 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
963         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
964         font-lock-syntax-table remappings.
965         (sh-here-doc-markers, sh-here-doc-re): Remove.
966         (sh-font-lock-close-heredoc): Remove.
967         (sh-syntax-propertize-here-doc): New function.
968         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
969         instead of the sh-here-doc-re.
970         (sh-font-lock-paren): Don't do anything in comments or strings.
971         Handle line continuations.  Accept a few more chars.
972         Don't rely on the font-lock-syntax-table remappings.
973         `esac' is not a valid pattern.
974         (sh-syntax-propertize-function): Handle here-docs differently, so we
975         don't bother syntax-propertizing the insides.
977         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
978         Handle new bashisms ";&" and ";;&" (bug#7947).
980 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
982         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
983         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
985 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
987         * net/tramp.el (tramp-postfix-method-format)
988         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
989         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
990         (tramp-postfix-user-regexp, tramp-prefix-port-format)
991         (tramp-prefix-port-regexp, tramp-postfix-host-format)
992         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
993         Doc fix.
995 2011-02-04  Sam Steingold  <sds@gnu.org>
997         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
999 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
1001         * international/mule-util.el (with-coding-priority): Doc fix.
1003 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
1005         * arc-mode.el (archive-mode-map): Fix a typo in last change.
1007 2011-02-03  Sam Steingold  <sds@gnu.org>
1009         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1010         Do not error out when `func' is nil.
1012 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
1014         * net/tramp-sh.el (tramp-remote-path): Add default settings for
1015         `tramp-default-remote-path' to the docstring.
1016         (tramp-get-remote-path): Suppress error message when `getconf
1017         PATH' fails.
1019         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1021 2011-02-03  Glenn Morris  <rgm@gnu.org>
1023         * vc/vc-hg.el (vc-hg-command): Doc fix.
1025         * term/w32-win.el (libpng-version): Declare for compiler.
1027         * msb.el: No need to load dired while compiling.
1029         * emacs-lisp/elint.el (elint-standard-variables):
1030         Remove a couple of built-ins that now have doc-strings.
1032         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1033         `require' is automatically `eval-and-compile'd.
1035         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1036         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1038         * strokes.el (strokes-fill-current-buffer-with-whitespace):
1039         Move definition before use.
1040         (strokes-report-bug): Make it obsolete.
1042 2011-02-02  Sam Steingold  <sds@gnu.org>
1044         * apropos.el (apropos-print): Now that `apropos-mode' inherits
1045         from `special-mode', entering it makes the buffer read-only, so
1046         call it only when everything has been already inserted.
1047         * emacs-lisp/ert.el (ert--setup-results-buffer)
1048         (ert-results-pop-to-backtrace-for-test-at-point)
1049         (ert-results-pop-to-messages-for-test-at-point)
1050         (ert-results-pop-to-timings): Ditto.
1051         * emacs-lisp/package.el (package--list-packages): Ditto.
1052         * play/solitaire.el (solitaire): Ditto.
1054 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
1056         * progmodes/compile.el: Make all faces inherit.
1057         (compilation-warning): Inherit from font-lock-variable-name-face.
1058         (compilation-info): Inherit from font-lock-type-face.
1059         (compilation-line-number): Reassign to font-lock-keyword-face.
1060         (compilation-column-number): Reassign to font-lock-doc-face.
1061         (compilation-leave-directory-face): Reassign to
1062         font-lock-builtin-face.
1064 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
1066         * dired.el (dired-insert-directory): Don't invoke `ls' when
1067         ls-lisp.el is used to emulate it.
1069 2011-02-01  Julien Danjou  <julien@danjou.info>
1071         * color.el (color-gradient): Add a color-gradient function.
1073 2011-02-01  Sam Steingold  <sds@gnu.org>
1075         * simple.el (special-mode-map): Bind "h" to `describe-mode';
1076         bind "z" to `kill-this-buffer'.
1077         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1078         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1079         (apropos-mode): Inherit from `special-mode'.
1080         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1081         * bookmark.el (bookmark-bmenu-mode): Define using
1082         `define-derived-mode' inheriting from `special-mode'.
1083         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1084         * image-mode.el (image-mode-map): Ditto.
1085         * replace.el (occur-mode): Define using
1086         `define-derived-mode' inheriting from `special-mode'.
1087         * tar-mode.el (tar-mode): Inherit from `special-mode'.
1088         * calendar/diary-lib.el (diary-fancy-display-mode):
1089         Inherit from `special-mode-map'.
1090         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1091         Inherit from `special-mode'.
1092         * emacs-lisp/package.el (package-menu-mode-map): Copy from
1093         `special-mode-map'.
1094         (package-menu-mode): Define using `define-derived-mode'
1095         inheriting from `special-mode'.
1096         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1097         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1098         (xesam-mode-map): Define separately.
1099         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1100         * progmodes/compile.el (compilation-minor-mode-map)
1101         (compilation-mode-map): Inherit from `special-mode-map'.
1102         * vc/diff-mode.el (diff-mode-shared-map):
1103         Inherit from `special-mode-map'.
1104         * vc/log-view.el (log-view-mode-map): Add a comment.
1106 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
1108         * custom.el (load-theme): Define return value.  Drop use of
1109         unsafep; call custom-theme-load-confirm for non-known-safe themes.
1110         (custom-theme-load-confirm): Scroll in the correct window.
1111         (custom-enabled-themes): Add custom-safe-themes to :set-after.
1113         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1114         checkbox if load-theme fails.
1116 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1118         * progmodes/compile.el (compilation-next-error): Check there's
1119         a message before using it (bug#7941).
1121 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
1123         * calc/calc-mtx.el (math-lud-pivot-check): New function.
1124         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1125         of potential pivots.
1127 2011-01-31  Alan Mackenzie  <acm@muc.de>
1129         * progmodes/cc-cmds.el (c-forward-over-illiterals):
1130         Continue parsing if we encounter a naked # (Bug#7595).
1131         (c-beginning-of-statement): Avoid loop in locating the beginning
1132         of a macro.  (Not actually committed until 2011-02-20, see above).
1134 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1136         * files.el (copy-directory): Fix arguments to recursive call.
1138 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1140         * files.el (copy-directory): If destination is an existing
1141         directory, copy into a subdirectory there.
1143 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
1145         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1146         files.
1148 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1150         * image-dired.el (image-dired-mouse-display-image): No-op if no
1151         file is found (Bug#7817).
1153         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1155 2011-01-31  Kenichi Handa  <handa@m17n.org>
1157         * international/quail.el (quail-keyboard-layout-alist):
1158         Remove superfluous SPC for "pc105-uk" (bug#7927).
1160 2011-01-31  Glenn Morris  <rgm@gnu.org>
1162         * msb.el (msb-menu-bar-update-buffers): Update for changed
1163         argument handling of menu-bar-select-frame.  (Bug#7902)
1165 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
1167         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1168         to the recursion depth (Bug#7722).
1170 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
1172         * term/ns-win.el (ns-find-file): Expand ns-input-file with
1173         command-line-default-directory (Bug#7872).
1175 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1177         * progmodes/compile.el (compilation--flush-directory-cache):
1178         New function, extracted from compilation--remove-properties.
1179         (compilation--remove-properties, compilation--parse-region): Use it.
1180         (compilation--previous-directory): Handle one more case.
1181         (compilation-enable-debug-messages): Remove.
1182         (compilation-parse-errors, compilation--flush-parse): Just remove the
1183         left over debug messages.
1185 2011-01-31  Sam Steingold  <sds@gnu.org>
1187         * progmodes/compile.el (compilation-enable-debug-messages):
1188         Add a variable to make the parsing messages introduced in
1189         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1190         (compilation-parse-errors, compilation--flush-parse): Use it.
1192 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1194         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
1195         (rcirc-nick-completion-format): New defcustom.
1196         (rcirc-complete): Use it.
1198 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1200         * net/rcirc.el: Clean log filenames (Bug#7933).
1201         (rcirc-log-write): Use convert-standard-filename.
1202         (rcirc-log-filename-function): Documentation updates.
1204 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
1206         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1207         Check report-emacs-bug-can-use-osx-open and use that if t.
1208         (report-emacs-bug-can-use-osx-open): New function.
1209         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1210         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1212 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1214         * vc/vc-dispatcher.el (vc-set-async-update): New function for
1215         updating Dired or VC-dir buffers after async command completes.
1217         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1218         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1220         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1221         completions if it exists.  Use vc-set-async-update.
1222         (vc-git-pull): Use vc-set-async-update.
1224         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1225         read-shell-command.  Use vc-set-async-update.
1226         (vc-hg-merge-branch): Use vc-set-async-update.
1228 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
1230         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1231         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1232         (Bug#7931).
1234 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1236         * progmodes/compile.el: Avoid an N² behavior in grep.
1237         (compilation--previous-directory): New fun.
1238         (compilation--previous-directory-cache): New var.
1239         (compilation--remove-properties): Flush it.
1240         (compilation-directory-properties, compilation-error-properties):
1241         Use the new fun to speed up looking for the current directory.
1243 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
1245         * vc/vc-hg.el (vc-hg-history): New var.
1246         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1247         (vc-hg-merge-branch): New function.
1249         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1250         the other way around.
1252         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1253         (vc-git-merge-branch): New functions.
1254         (vc-git-history): New var.
1256 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1258         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1260         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1261         vc-do-async-command.
1263         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1264         Callers changed.
1266 2011-01-28  Leo  <sdl.web@gmail.com>
1268         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1269         highlighting to the "this function is advised" message.
1271         * help-mode.el (help-mode-finish): Apply highlighting here, to
1272         avoid clobbering by substitute-command-keys (Bug#6304).
1274 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1276         * woman.el (woman0-roff-buffer): Process roff escape sequences
1277         occurring prior to the first request (Bug#7843).
1279 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1281         * progmodes/compile.el: Don't use font-lock any more.
1282         (compilation-error-regexp-alist-alist): Change handling of makepp
1283         so it preserves the warning/error distinction on subsequent files.
1284         Simplify various rules.
1285         (compilation-directory-properties): Use font-lock-face.
1286         Add a compilation-message property.
1287         (compilation-internal-error-properties): Use font-lock-face.
1288         Don't set the compilation-debug property here.
1289         (compilation--put-prop, compilation--remove-properties)
1290         (compilation--parse-region, compilation--ensure-parse)
1291         (compilation--ensure-parse): New functions.
1292         (compilation-parse-errors): New function, largely inspired of
1293         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1294         (compilation--parsed): New var.
1295         (compilation--flush-parse): Use compilation--ensure-parse.
1296         (compilation-start): Don't call font-lock.
1297         (compilation-turn-on-font-lock): Remove.
1298         (compilation-setup): Don't set font-lock-extra-managed-props not change
1299         other font-lock settings, other than keywords.
1300         Don't activate font-lock-mode.
1301         Set change-major-mode-hook and before-change-functions.
1302         (compilation--unsetup): Remove properties and hooks.
1303         (compilation-next-single-property-change): New function.
1304         (compilation-next-error): Use it to parse when needed.
1305         (compile-goto-error): Parse buffer as needed.
1306         (compilation--compat-error-properties): Don't need a dummy `face'
1307         property any more.
1309 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1311         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1312         (compilation-process-setup-function): Fix docstring's false promises.
1313         (compilation-error-regexp-alist-alist): Catch omake's continuous
1314         recompilation message and avoid reuse of old markers.
1315         (compilation-parse-errors-function): Declare obsolete.
1316         (compilation-buffer-modtime): Remove.
1317         (compilation--make-cdrloc, compilation--loc->col)
1318         (compilation--loc->line, compilation--loc->file-struct)
1319         (compilation--loc->marker, compilation--loc->visited)
1320         (compilation--make-file-struct, compilation--file-struct->file-spec)
1321         (compilation--file-struct->formats)
1322         (compilation--file-struct->loc-tree): New macros.  Use them.
1323         (compilation--message): New defstruct.  Use them.
1324         (compilation-next-error-function): Don't mess with timestamps to try
1325         and guess when to reparse.
1327 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1329         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1330         (tex-old-error-file-name): New function,
1331         extracted from tex-compilation-parse-errors.
1332         (tex-compilation-parse-errors): Remove.
1333         (tex-error-regexp-alist): New var.
1334         (tex-shell): Use it to avoid compilation-parse-errors-function.
1336         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1337         (grep-mode-font-lock-keywords): Remove regexp that seems like
1338         a left-over from before we used compile.el.
1339         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1340         modifying the buffer within with-silent-modifications.
1342         * progmodes/compile.el: Cleanup text-properties namespace by using
1343         `compilation-message' instead of `message', `compilation-directory'
1344         instead of `directory', and `compilation-debug' instead of `debug'.
1345         (compilation-last-buffer, compilation-parsing-end)
1346         (compilation-error-list, compilation-old-error-list): Move to the
1347         compatibility part of the code.
1348         (compilation-error-properties): If `file' is a function, let it return
1349         a file name.
1350         (compilation-mode-font-lock-keywords): Be more conservative with the
1351         omake "^ *" pattern prefix, to try and minimize the risk of
1352         pathologically slow regexp matching.
1353         (compilation-start): Use inhibit-read-only.
1354         (compilation--unsetup): New function.
1355         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1356         (compilation-filter): Minor tweaks.
1357         (compilation-next-error-function): Try and avoid abusing variables.
1358         (compilation--flush-file-structure): New fun.
1359         (compilation-fake-loc): Use it to improve behavior when file is reused.
1360         (debug-ignored-errors): Add "Moved past last ...".
1361         (compilation--compat-error-properties)
1362         (compilation--compat-parse-errors): Rename by doubling the "-".
1364         Port features from the previous prolog.el to the new one.
1365         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1366         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1367         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1368         variable and use a function to compute the value dynamically.
1369         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1370         (prolog-continued-prompt-regexp): Remove, unused.
1371         (prolog-find-value-by-system): Try and use the value of prolog-system
1372         in the *prolog* buffer if it helps.
1373         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1374         (prolog-zip-on): ..and check prolog-system and version here instead.
1375         (prolog-inferior-self-insert-command): New command.
1376         (prolog-inferior-mode-map): Use it.
1377         (prolog-inferior-error-regexp-alist): New var.
1378         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1379         (prolog-input-filter): Use derived-mode-p.
1380         (prolog-inferior-guess-flavor): New function.
1381         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1382         make-comint to avoid running comint-mode twice.
1383         (prolog-inferior-buffer): New fun.
1384         (prolog-old-process-region, prolog-old-process-file):
1385         Don't call prolog-bsts here...
1386         (prolog-build-prolog-command): ...do it here instead.
1387         (prolog-old-process-region, prolog-old-process-file):
1388         Use compilation-fake-loc and compilation-forget-errors.
1389         (prolog-consult-compile-region): Use bolp.
1391 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1393         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1395 2011-01-27  Sam Steingold  <sds@gnu.org>
1397         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1398         Remove "*server*" which is never created by emacs server.
1400 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1402         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1403         there are some diff switches.
1405 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1407         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1408         Copy change made to ruby-font-lock-syntactic-keywords.
1410         * htmlfontify.el: Make it obey the font-lock-face text property.
1411         Miscellaneous cleanup such as:
1412         - Don't hide expressions after a closing paren.
1413         - Move initial setq into let.
1414         - Hoist common parts out of ifs.
1415         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1416         (hfy-face-at): Use get-text-property instead.
1417         (hfy-prop-invisible-p): Use invisible-p if available.
1418         (htmlfontify-manual): Use \\[...].
1419         (hfy-html-quote-regex): Use [...].
1420         (hfy-combined-face-spec): Simplify.
1421         (hfy-compile-face-map): Don't presume point-min==1.
1422         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1423         match end of string.
1424         (hfy-text-p): η-reduce.
1425         (hfy-tags-for-file): Receive cache-hash directly.
1426         (hfy-mark-tag-names): Adjust call.
1428 2011-01-27  Glenn Morris  <rgm@gnu.org>
1430         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1431         (msb-after-load-hook): Remove eval-after-load wackiness.
1433 2011-01-25  Sam Steingold  <sds@gnu.org>
1435         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1436         literal "diff" (important for windows-nt).
1438 2011-01-25  Glenn Morris  <rgm@gnu.org>
1440         * emacs-lisp/copyright.el (copyright-at-end-flag)
1441         (copyright-names-regexp): Add safety properties.
1442         (copyright-year-ranges): New option.
1443         (copyright-find-end): New function, split from copyright-update-year.
1444         (copyright-update-year): Use copyright-find-end.
1445         (copyright-fix-years): Optionally, convert years to ranges.
1446         Handle years continued over comment lines.
1447         Do not mess with the fill-prefix.
1448         Do not call copyright-update.
1449         (copyright-update-directory): Optionally, fix years rather than update.
1450         Skip directories.  Find files with only safe local vars.
1452 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1454         * files.el (file-name-non-special): Only change buffer-file-name after
1455         insert-file-contents if it's `visit'ing the file (bug#7854).
1457 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1459         * dired.el (dired-revert): Doc fix (Bug#7758).
1461         * simple.el (line-move-visual): Doc fix (Bug#7594).
1463 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1465         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1466         here-doc which ends with an underscore.
1467         (ruby-mode-set-encoding): Skip shebang line always.
1468         (ruby-mode-map): Bind C-c C-c to comment-region.
1469         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1470         (ruby-forward-sexp): Stop after literal hash key labels.
1471         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1472         bracket.
1474 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1476         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1477         the correct buffer (Bug#7650).
1479 2011-01-25  Glenn Morris  <rgm@gnu.org>
1481         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1483         * simple.el (do-auto-fill): Give it a doc string.
1485         * button.el (make-text-button): Doc fix.  (See bug#7881)
1487 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1489         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1490         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1492         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1493         Handle ?" and friends differently (e.g. don't use backrefs).
1495 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1497         * calc/calc.el (calc-default-power-reference-level)
1498         (calc-default-field-reference-level): New variables.
1499         * calc/calc-units.el (math-standard-units): Add dB and Np.
1500         (math-logunits): New variable.
1501         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1502         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1503         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1504         New functions.
1505         (math-find-base-units-rec): Add entry for ln(10).
1506         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1507         (calc-ul-prefix-help): New function.
1508         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1509         functions.  Add keybindings for new units functions.
1511 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1513         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1514         rcirc buffers.  (Bug#4940)
1516 2011-01-22  Glenn Morris  <rgm@gnu.org>
1518         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1519         split out from copyright-update-year.
1520         (copyright-update): Don't mess with the GPL version if we don't own the
1521         copyright.  Update license regexp, and remove no longer needed
1522         Esperanto stuff.
1523         (copyright-fix-years): Use copyright-find-copyright.
1525 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1527         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1529 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1531         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1532         (lm): Rename to landmark.
1533         (lm-test-run): Rename to landmark-test-run.
1535 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1537         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1538         "Case sensitive" menu item.
1540 2011-01-22  Roland McGrath  <roland@frob.com>
1542         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1543         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1545 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1547         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1549 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1551         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1552         Assume foo(bar) is a manpage reference rather than some unquoted
1553         symbol (bug#7705).
1555 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1557         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1558         Suggested by Flo <sensorflo@gmail.com>.
1560 2011-01-22  Glenn Morris  <rgm@gnu.org>
1562         * progmodes/compile.el (compilation-error-regexp-alist):
1563         Fix custom type.  (Bug#7812)
1565 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1567         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1568         allout-number-siblings, in keeping with what obtained due to
1569         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1570         (prefixed) ?i.
1571         (allout-before-change-handler): Better expose spots affected by
1572         undo.
1574 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1576         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1578 2011-01-22  Phil Hagelberg  <phil@evri.com>
1580         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1581         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1582         (pcmpl-ssh-config-hosts): New function.
1583         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1584         pcmpl-ssh-known-hosts.
1586 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1588         * calc/calc-undo.el (calc-undo): Autoload it.
1589         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1590         and autoload for `calc-undo'.
1591         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1592         * calc/calc-prog.el:
1593         * calc/calc-graph.el:
1594         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1596 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1598         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1599         keybindings to `calc-undo'.
1601 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1603         Don't mess with *temp*.
1604         * obsolete/spell.el: Move from textmodes/spell.el.
1605         (spell-string):
1606         * term.el (term-read-input-ring):
1607         * startup.el (display-startup-echo-area-message):
1608         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1609         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1610         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1611         point-min==1.
1613 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1615         * allout.el (allout-institute-keymap): Use fset instead of
1616         reapplying defalias.
1618         (allout-hotspot-key-handler): Check for non-control-modified
1619         bindings for hotspot characters if there are no control-modified
1620         versions.
1622         * allout.el: Summary - migrate to defining allout mode using
1623         define-minor-mode instead of defun.  Significantly clean-up
1624         internal keymap provisions, refactoring and, in the process,
1625         removing a lot of accumulated cruft.
1627         allout-mode-map is now a keymap by virtue of being a defalias to
1628         allout-mode-map-value, which contains the actual keymap structure.
1630         (allout-mode): Use define-minor-mode rather than defun.
1631         Remove now-unnecessary minor-mode setup activities from the body.
1632         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1633         entry will be '(allout-mode . allout-mode-map) - see
1634         allout-mode-map-value, below.  Adjust docstring to track changes.
1635         (allout-minor-mode): Remove this defalias, now that we're using
1636         define-minor-mode.
1637         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1638         keymap is allout-mode-map-value, via defalias.
1639         (allout-mode-map-value): The variable holding the actual mode
1640         keymap structure, by virtue of defalias from allout-mode-map.
1641         (allout-compose-and-institute-keymap): Rename from
1642         allout-bind-keys, and including the binding-composition
1643         functionality of the former produce-allout-mode-map and
1644         allout-setup-mode-map.
1645         (allout-institute-keymap): Take over the "setup" part of the former
1646         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1647         update the defalias.
1648         (allout-command-prefix) (allout-prefixed-keybindings)
1649         (allout-unprefixed-keybindings):
1650         Use allout-compose-and-institute-keymap to process the bindings.
1651         (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1652         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1653         user can customize if they want to use that binding.
1654         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1655         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1656         elided that, previously, instead of the one for \C-h.)
1657         (allout-hotspot-key-handler): Remove attempt to resolve the key
1658         through the literal key-string lookup on allout-keybindings-list.
1659         That probably hasn't worked for a Long Time, and removal of
1660         allout-keybindings-list further simplifies the keybindings situation.
1661         (allout-pre-command-business): Use allout-mode-map-value instead
1662         of allout-mode-map.
1663         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1664         the bindings if they want to use a keybinding having a trailing
1665         \C-h.  No deprecation needed since this feature was never in a release.
1666         (allout-keybindings-list): Remove.  It's not been useful for a
1667         while.  (See allout-hotspot-key-handler changes, above.)
1668         (produce-allout-mode-map): Remove.  Consolidate into
1669         allout-compose-and-institute-keymap.
1670         (allout-mode-map-adjustments): Remove.  No longer necessary with
1671         removal of allout-preempt-trailing-ctrl-h.
1672         (allout-setup-mode-map): Remove.  Consolidate into
1673         allout-compose-and-institute-keymap and allout-institute-keymap.
1675 2011-01-20  Glenn Morris  <rgm@gnu.org>
1677         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1679         * simple.el (read-expression-history): Remove, it's in minibuf.c.
1681 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
1683         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1685         * files.el (find-alternate-file, basic-save-buffer)
1686         (basic-save-buffer-2, revert-buffer, recover-file)
1687         (kill-buffer-ask, abort-if-file-too-large)
1688         (set-visited-file-name, write-file, backup-buffer)
1689         (basic-save-buffer, save-some-buffers):
1690         * dired-aux.el (dired-compress-file): Callers changed.
1692 2011-01-19  Glenn Morris  <rgm@gnu.org>
1694         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1695         Also check the property status.  (Bug#7861)
1697 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
1699         * net/tramp.el (tramp-debug-message): Extend function exclude
1700         list.  Use `regexp-opt'.
1702 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1704         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1705         highlighting doesn't spill over subsequent lines.
1707         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1708         keymap expression.  Improve docstring.
1710         * electric.el (electric-indent-post-self-insert-function):
1711         Don't auto-indent for indent-to-left-margin, it's too often
1712         counter-productive.
1714 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
1716         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1717         spaces if the frame was resized, so that the full visible buffer
1718         serves as canvas for strokes.
1720 2011-01-16  Glenn Morris  <rgm@gnu.org>
1722         * info-xref.el (info-xref-docstrings): Replace cl function.
1723         Also skip directories.
1725 2011-01-16  Kevin Ryde  <user42@zip.com.au>
1727         * info-xref.el: Version 3.
1728         (info-xref-check, info-xref-check-all): Move commentary details
1729         into docstrings for better visibility.
1730         Use compilation-mode for the results buffer.
1731         (info-xref-output, info-xref-output-error, info-xref-with-output)
1732         (info-xref-filename, info-xref-in-progress):
1733         New internals for this.
1734         (info-xref-check-list, info-xref-check-buffer)
1735         (info-xref-check-all-custom): Use those.
1736         (info-xref-output-buffer): Rename from info-xref-results-buffer.
1737         (info-xref-output-heading): Rename from info-xref-filename-heading.
1738         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1739         (info-xref-filename-heading): Move to output managing section.
1740         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1741         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1742         (info-xref-subfile-p): Move to generic section with those two.
1743         (info-xref-check-node): New function split from
1744         info-xref-check-buffer, shared by info-xref-docstrings.
1745         (info-xref-goto-node-p): Move to a checking section with that func.
1746         (info-xref-unavail): New counter.
1747         (info-xref-check-node): Use it.
1748         (info-xref-with-output): Show count of unavailables at end of output.
1749         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
1750         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
1751         (info-xref-check-all-custom): Fix quietening viper-mode and
1752         gnus-registry-install -- use setq not let so as not to unbind
1753         after load.
1755 2011-01-16  Juri Linkov  <juri@jurta.org>
1757         * isearch.el (isearch-abort): Don't quit if search has
1758         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
1760 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
1762         * files.el (backup-buffer): Make last-resort backup file in
1763         .emacs.d (Bug#6953).
1765         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1766         make it with permission 700.
1768 2011-01-15  Kenichi Handa  <handa@m17n.org>
1770         * mail/rmailmm.el (rmail-mime-insert-header):
1771         Set rmail-mime-coding-system to a cons whose car is the last coding
1772         system used to decode the header.
1773         (rmail-mime-find-header-encoding): New function.
1774         (rmail-mime-insert-decoded-text):
1775         Override rmail-mime-coding-system if it is a cons.
1776         (rmail-show-mime): If only a header part was decoded, find the
1777         coding system while ignoring mm-charset-override-alist.
1779 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
1781         * subr.el (event-start, event-end): Doc fix (Bug#7826).
1783 2011-01-15  Kenichi Handa  <handa@m17n.org>
1785         * mail/rmailmm.el (rmail-mime-next-item)
1786         (rmail-mime-previous-item): Delete them.
1787         (rmail-mime-shown-mode): Recursively call for children.
1788         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1789         Callers changed.
1790         (rmail-mime-raw-mode): Recursively call for children.
1791         (rmail-mode-map): Change mapping of tab and backtab to
1792         forward-button and backward-button respectively.
1793         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1794         button.
1795         (rmail-mime-update-tagline): New function.
1796         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1797         body display is changed.
1798         (rmail-mime-toggle-button): Rename from rmail-mime-image.
1799         (rmail-mime-image): Delete this button type.
1800         (rmail-mime-toggle): New button type.
1801         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1802         body display is changed.  Change the save button label to "Save".
1803         Don't process show/hide button here.
1804         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1805         the body display is changed.  Unconditionally call
1806         rmail-mime-insert for children.
1807         (rmail-mime-handle): Update `display' vector of the just inserted
1808         entity.
1809         (rmail-mime-process): If mail-header-parse-content-type returns
1810         nil, use "text/plain" as the fallback type.
1811         (rmail-mime-insert): For raw-mode, recursively call
1812         rmail-mim-insert for children.
1813         (rmail-mime): Handle the case that the current buffer is not rmail
1814         buffer (e.g. in summary buffer).
1816 2011-01-15  Kenichi Handa  <handa@m17n.org>
1818         * mail/rmailmm.el (rmail-mime-next-item)
1819         (rmail-mime-previous-item): Skip the body of a non-multipart
1820         entity if a tagline is shown.
1822 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1824         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1825         (tmm-prompt): Simplify.
1826         (tmm-add-prompt): Remove unused var `win'.
1828         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1829         to minor mode which used nil accidentally to mean "turn off".
1831 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1833         * net/tramp-sh.el (tramp-find-inline-compress)
1834         (tramp-get-inline-coding): Quote command after pipe symbol for
1835         local calls under W32.  (Bug#6784)
1837 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1839         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1840         only when running under W32.
1842 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1844         * progmodes/grep.el (grep-compute-defaults): Quote the program
1845         file name after the pipe symbol in Grep templates.  (Bug#6784)
1846         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1848 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
1850         * buff-menu.el (Buffer-menu-buffer-list): New var.
1851         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1852         restricted buffer list is not lost on revert (Bug#7749).
1854 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
1856         * net/ldap.el (ldap-search-internal): Discard stderr output.
1858 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1860         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
1862 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1864         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1866 2011-01-15  Kenichi Handa  <handa@m17n.org>
1868         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1869         part as a plain text.
1870         (rmail-mime-process-multipart): Set the default content-type to
1871         nil for unknown multipart subtypes (bug#7651).
1873 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1875         * hexl.el (hexl-mode-old-*): Remove.
1876         (hexl-mode--old-var-vals): New var to replace them.
1877         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1878         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1879         Use them to set local vars (bug#7846).
1880         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1881         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1882         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1884         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1885         (smerge-resolve--normalize-re): New var.
1886         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1887         (smerge-resolve): Use them.
1888         * newcomment.el (comment-only-p): New function.
1889         (comment-or-uncomment-region): Use it.
1891 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
1893         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1894         table, get the value before switching to the output buffer.  (Bug#7733)
1896 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1898         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1900 2011-01-14  Kim F. Storm  <storm@cua.dk>
1902         * emulation/cua-base.el (cua--init-keymaps):
1903         Remap exchange-point-and-mark in cua-global-keymap.
1905 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
1907         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1908         loop keyword.
1910 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1912         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1913         Require CL.
1914         (easy-menu-create-menu, easy-menu-convert-item-1):
1915         Use :label rather than nil for labels.  Use `case'.
1916         Add :enable as alias for :active.
1917         (easy-menu-binding): Obey :label.
1919 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1921         Use run-mode-hooks for major mode hooks (bug#513).
1922         * textmodes/reftex-toc.el (reftex-toc-mode-map):
1923         Rename from reftex-toc-map.
1924         (reftex-toc-mode): Use define-derived-mode.
1925         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1926         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1927         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
1928         (reftex-select-label-mode, reftex-select-bib-mode):
1929         Use define-derived-mode.
1930         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1931         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1932         Move init into delcaration.
1933         (reftex-index-mode, reftex-index-phrases-mode):
1934         Use define-derived-mode.
1935         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1936         speedbar-syntax-table.  Move init into declaration.
1937         (speedbar-mode-map): Rename from speedbar-key-map.
1938         Move init into declaration.
1939         (speedbar-file-key-map): Move init into declaration.
1940         (speedbar-mode): Use define-derived-mode.
1941         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1942         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1943         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1944         (chart-face-list): Move initialization into declaration.
1945         (chart-mode): Use define-derived-mode.
1946         * calculator.el (calculator-mode-map): Move init into declaration.
1947         (calculator-mode): Use define-derived-mode.
1949         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1950         work for nested comments.
1952         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
1953         (prolog-use-prolog-tokenizer-flag): Change default when
1954         syntax-propertize can be used.
1955         (prolog-syntax-propertize-function): New var.
1956         (prolog-mode-variables): Move make-local-variable into `set'.
1957         Don't make comment-column local since we don't set it.
1958         Set comment-add (as it was in previous prolog.el).  Use dolist.
1959         Set syntax-propertize-function.
1960         (prolog-mode, prolog-inferior-mode):
1961         Call prolog(-inferior)-menu directly, not through the mode-hook.
1962         (prolog-buffer-module, prolog-indent-level)
1963         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1964         (prolog-comment-limits, prolog-goto-comment-column):
1965         Use line-(end|beginning)-position.
1966         (prolog-build-prolog-command): Tighten up regexp.
1967         (prolog-consult-compile): Move make-local-variable into `set'.
1968         (prolog-consult-compile-filter, prolog-goto-next-paren)
1969         (prolog-help-on-predicate, prolog-clause-info)
1970         (prolog-mark-predicate): Don't let+setq.
1971         (prolog-indent-line): Use indent-line-to.
1972         Only call prolog-goto-comment-column if necessary.
1973         (prolog-indent-level): Use bobp.
1974         (prolog-first-pos-on-line): Remove, not used any more.
1975         (prolog-in-string-or-comment): Use syntax-ppss if available.
1976         (prolog-help-on-predicate): Use read-string.
1977         (prolog-goto-predicate-info): Simplify.
1978         (prolog-read-predicate): Use `default' rather than `initial'.
1979         (prolog-temporary-file): Use make-temp-file to close a security hole.
1980         (prolog-toggle-sicstus-sd): New command.
1981         (prolog-electric-underscore, prolog-variables-to-anonymous):
1982         Use dynamic-scoping as it was meant.
1983         (prolog-menu): Move menu definitions to top-level.
1984         Use a toggle-button for Sicstus's source debugger.
1985         Change "Code" to the more usual "Prolog", and hence change "Prolog"
1986         to "System".
1987         (prolog-inferior-menu): Reuse prolog-menu's help menu.
1988         Move other menu definition to top-level.
1990 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
1992         * doc-view.el (doc-view-open-text): Use meaningful text buffer
1993         name.  Keep original document's directory as default-directory
1994         (bug#6446).
1995         (doc-view-initiate-display): Fall back to normal mode when
1996         doc-view-mode cannot be enabled, also when extracting the document
1997         text into a separate buffer (bug#6446).
1999         * simple.el (shell-command): Don't error out if shell command
2000         buffer contains text with non-nil read-only property when erasing
2001         the buffer.
2003 2011-01-13  Kim F. Storm  <storm@cua.dk>
2005         * ido.el (ido-may-cache-directory): Move "too-big" check later.
2006         (ido-next-match, ido-prev-match): Fix stray reordering of matching
2007         items when cycling through the matches.
2009 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
2011         * dired-x.el (dired-omit-verbose): New defcustom that allows
2012         disabling the omit messages.
2013         (dired-omit-expunge): Use it.
2015 2011-01-13  Christian Ohler  <ohler@gnu.org>
2017         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2019 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2021         * font-lock.el (font-lock-verbose): Default to nil.
2023 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
2025         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2026         (compose-mail): New arg RETURN-ACTION.
2027         (compose-mail-other-window, compose-mail-other-frame): Likewise.
2029         * mail/sendmail.el (mail-return-action): New var.
2030         (mail-mode): Make it buffer-local.
2031         (mail-bury): Obey it.  Move special Rmail window handling to
2032         rmail-mail-return.
2033         (mail, mail-setup): New arg RETURN-ACTION.
2034         (sendmail-user-agent-compose): Move from simple.el.
2036         * mail/rmail.el (rmail-mail-return): New function.
2037         (rmail-start-mail): Pass it to compose-mail.
2039 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
2041         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2042         menus.  Add menu item for customize-themes.
2044         * cus-theme.el (customize-themes):
2045         * emacs-lisp/package.el (package--list-packages):
2046         Use switch-to-buffer.
2048 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
2050         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2052 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2054         * progmodes/prolog.el: Fix up coding convention and such.
2055         (prolog-indent-width): Use the same default as in
2056         previous prolog.el rather than tab-width which depends on which buffer
2057         is current when the file is loaded.
2058         (prolog-electric-newline-flag): Only enable if electric-indent-mode
2059         is not available.
2060         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
2061         (prolog-known-systems): Remove.
2062         (prolog-mode-syntax-table, prolog-inferior-mode-map):
2063         Move initialization into declaration.
2064         (prolog-mode-map): Move initialization into declaration.
2065         Remove system-specific mode-map vars, since they referred to the same
2066         keymap anyway.
2067         (prolog-mode-variables): Obey the user's preference w.r.t
2068         adaptive-fill-mode.  Prefer symbol-value to `eval'.
2069         (prolog-mode-keybindings-edit): Add compatibility bindings.
2070         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
2071         (mercury-mode-map): New var.
2072         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2073         (prolog-ensure-process, prolog-process-insert-string)
2074         (prolog-consult-compile): Use with-current-buffer.
2075         (prolog-guess-fill-prefix): Simplify data flow.
2076         (prolog-replace-in-string): New function to use instead of
2077         replace-in-string.
2078         (prolog-enable-sicstus-sd): Don't abuse `eval'.
2079         (prolog-uncomment-region): Use `uncomment-region' when available.
2080         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2081         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2082         of int-to-char and char-to-int.
2083         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2085 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
2087         * progmodes/prolog.el: Replace by a whole new file.
2089 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2091         * subr.el (eval-after-load): Fix timing for features (bug#7769).
2092         (declare-function, undefined, insert-for-yank)
2093         (replace-regexp-in-string): Follow checkdoc's recommendations.
2095 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2097         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2098         refreshing the diary buffer.
2100 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
2102         * allout.el: Add 2011 to the file copyright.
2103         (allout-encrypt-string): Prevent encryption from adding an extra
2104         newline at the end of the topic body.
2105         (allout-version): Increment to 2.3.
2107 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
2109         * net/dbus.el (dbus-unregister-service): Complete doc.
2110         Fix call of dbus-error signal.
2111         (dbus-register-property): Use `dont-register' keyword.
2113 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2115         * net/dbus.el (dbus-unregister-service): Translate returned
2116         integer into a symbol.
2117         (dbus-register-property): Use `dbus-register-service' to do the
2118         name registration.
2120 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2122         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2123         Suggested by Joakim Verona.
2125         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2127         * wid-edit.el (visibility): Replace :on-image and :off-image
2128         widget properties with :on-glyph and :off-glyph, for consistency
2129         with the `visibility' widget.
2130         (widget-toggle-value-create, widget-visibility-value-create):
2131         Merge into a single function `widget-toggle-value-create'.
2133         * cus-edit.el (custom-variable-value-create, custom-visibility)
2134         (custom-face-edit-value-create, custom-face-value-create):
2135         Replace :on-image and :off-image widget properties with :on-glyph and
2136         :off-glyph, for consistency with the `visibility' widget.
2138 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
2140         * net/ldap.el (ldap-search-internal): Don't use eval.
2142 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2144         * subr.el (read-char-choice): Use read-key.
2146         * custom.el (custom-safe-themes): Rename from
2147         custom-safe-theme-files.  Add :risky tag.
2148         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2149         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
2151 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
2153         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
2154         from Search and add a label to Undo.
2156         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2157         inappropriate buttons and adding :vert-only tags.
2159         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2160         removal of Help tool-bar button.  Remove Undo button for space.
2162         * info.el (info-tool-bar-map): Add :vert-only tags.
2164 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
2166         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2167         image backend support.  Either of them is fine.
2169 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
2171         * subr.el (y-or-n-p): Doc fix.
2173         * custom.el (custom-safe-theme-files): New defcustom.
2174         (custom-theme-load-confirm): New function.
2175         (load-theme): Load theme using `load', confirming with
2176         custom-theme-load-confirm if necessary.
2178         * subr.el (read-char-choice): New function, factored out from
2179         dired-query and hack-local-variables-confirm.
2181         * dired-aux.el (dired-query):
2182         * files.el (hack-local-variables-confirm): Use it.
2184         * dired-aux.el (dired-compress-file):
2185         * files.el (abort-if-file-too-large, find-alternate-file)
2186         (set-visited-file-name, write-file, backup-buffer)
2187         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2188         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2189         Use new format string args for y-or-n-p and yes-or-no-p.
2191 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
2193         * progmodes/compile.el (compilation-error-regexp-alist-alist)
2194         [gcc-include]: Tighten file name match, add match for column
2195         number.  (Bug#7806)
2196         [gnu]: Remove unused group.
2198 2011-01-08  Glenn Morris  <rgm@gnu.org>
2200         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2202         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2204 2011-01-07  Sam Steingold  <sds@gnu.org>
2206         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2207         the `explicit-shell-file-name' because that is the
2208         non-interactive shell.
2210 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
2212         * subr.el (y-or-n-p): Accept format string args.
2214 2011-01-07  Glenn Morris  <rgm@gnu.org>
2216         * Makefile.in (EMACSOPT): Add --no-site-lisp.
2218 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
2220         * allout.el (allout-back-to-current-heading): Ensure return to
2221         the visible containing topic, rather than a collapsed one.
2222         (allout-view-change-hook): Remove hook that was deprecated long ago.
2223         (allout-exposure-change-hook): Remove documentation remarks
2224         concerning removed allout-view-change-hook.
2225         (allout-flag-region): Remove invocation of and documentation
2226         remarks concerning allout-view-change-hook.
2228 2011-01-06  Glenn Morris  <rgm@gnu.org>
2230         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2231         (vc-bzr-annotate-extract-revision-at-line):
2232         Handle authors with embedded spaces.  (Bug#7792)
2234 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
2236         * doc-view.el (doc-view-image-width): New variable.
2237         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2238         backend for PNG images, and do dynamic rescaling instead of
2239         reconverting the whole doc.
2241 2011-01-05  Glenn Morris  <rgm@gnu.org>
2243         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2245 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
2247         * allout.el: Reconcile with changes in line movement behavior for
2248         long text lines that cross more than a single physical window
2249         line, ie when truncate-lines is nil.
2250         (allout-next-visible-heading): Provide for change in line-move
2251         behavior on long lines when truncate-lines is nil.  In that case,
2252         line-move can wind up on the same textual line when it moves to
2253         the next window line, and moving to the bullet position after the
2254         move yields zero advancement.  Add logic to detect and compensate
2255         for the lack of progress.
2256         (allout-current-topic-collapsed-p): move-end-of-line respect for
2257         field boundaries is different when operating with body lines
2258         shorter than window width versus ones greater than window width,
2259         which can yield false negatives in this function.  Avoid
2260         difference by applying move-end-of-line while field-text-motion is
2261         inhibited.
2263 2011-01-04  Glenn Morris  <rgm@gnu.org>
2265         * textmodes/rst.el (rst-compile-toolsets):
2266         Add pdf and s5 to option alist.
2268 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2270         * net/dbus.el (dbus-register-property): Add optional parameter
2271         dont-register-service.  Updated docstring accordingly.
2273 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2275         * textmodes/rst.el (rst-compile-pdf-preview)
2276         (rst-compile-slides-preview): Remove extra line.
2278 2011-01-04  Glenn Morris  <rgm@gnu.org>
2280         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2281         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2282         default to `prog' without a .py extension.
2283         (rst-compile-pdf-preview, rst-compile-slides-preview):
2284         Use program names from rst-compile-toolsets, rather than hard-coding.
2285         (rst-portable-mark-active-p): Fix presumed typo.
2287 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2289         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2290         libpng versions both before and after 1.4.0.  (Bug#7716)
2292 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2294         * time.el (display-time-mode): Mention display-time-interval in
2295         the doc string.  (Bug#7713)
2297 2011-01-02  Kenichi Handa  <handa@m17n.org>
2299         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2300         condition-case and return an error message string if something
2301         goes wrong.
2302         (rmail-show-mime): Adjust for the above change.  Insert the
2303         header by rmail-mime-insert-header.
2305 2011-01-02  Kenichi Handa  <handa@m17n.org>
2307         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2308         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2309         (rmail-mime-mbox-buffer)
2310         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2311         (rmail-mime-entity): Argument changed.  All codes handling an
2312         entity object are changed.
2313         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2314         the above change.
2315         (rmail-mime-entity-children, rmail-mime-entity-handler)
2316         (rmail-mime-entity-tagline): New functions.
2317         (rmail-mime-message-p): New function.
2318         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2319         (rmail-mime-entity-segment, rmail-mime-next-item)
2320         (rmail-mime-previous-item, rmail-mime-shown-mode)
2321         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2322         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2323         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2324         New functions.
2325         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2326         (rmail-mime-insert-decoded-text): New function.
2327         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2328         (rmail-mime-insert-image): Argument changed.  Caller changed.
2329         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2330         (rmail-mime-set-bulk-data): New function.
2331         (rmail-mime-insert-bulk): Argument changed.
2332         (rmail-mime-multipart-handler): Return t.
2333         (rmail-mime-process-multipart): Argument changed.
2334         Handle "multipart/alternative" here.
2335         (rmail-mime-process): Argument changed.
2336         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2337         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2338         (rmail-mime): Argument changed.  Handle toggling of raw display
2339         mode.
2340         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2341         rmail-mime-view-buffer.
2342         (rmail-insert-mime-forwarded-message): Likewise.
2343         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2345         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2346         non-nil, handle the header in rmail-show-mime-function.
2348 2011-01-02  Leo  <sdl.web@gmail.com>
2350         * help-fns.el (describe-variable): Fix previous change.
2352 2011-01-02  Juri Linkov  <juri@jurta.org>
2354         * isearch.el (isearch-lazy-highlight-error): New variable.
2355         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2356         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2357         to the current value of `isearch-error' (Bug#7468).
2359 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2361         * help-fns.el (describe-variable): Don't emit trailing whitespace
2362         (Bug#7511).
2364 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2366         * textmodes/rst.el (rst-compile-pdf-preview)
2367         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2369 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2371         * emulation/edt-mapper.el: Override mapping of function keys so
2372         that the later call to read-key-sequence works.
2374 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2376         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2377         Unix EOLs.  (Bug#7589)
2379 2011-01-02  Leo  <sdl.web@gmail.com>
2381         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2382         if point is not behind eshell-last-output-end (Bug#7585).
2384 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2386         * files.el (file-local-variables-alist):
2387         Make permanent-local (bug#7767).
2389 2011-01-02  Glenn Morris  <rgm@gnu.org>
2391         * version.el (emacs-copyright): Set short copyright year to 2011.
2393 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2395         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2396         an existing temp buffer.  (Bug#7746)
2398 2011-01-02  Glenn Morris  <rgm@gnu.org>
2400         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2401         multiple addresses.  (Bug#7760)
2403 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2405         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2406         do-auto-fill if everything points back to allout-auto-fill.
2407         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2408         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2410 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2412         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2413         and "scpx".
2415 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2417         * doc-view.el (doc-view-set-doc-type): New function refactored
2418         from doc-view-mode.
2419         (doc-view-fallback-mode): New function.
2420         (doc-view-mode): Use it.
2421         (doc-view-mode-maybe): New function that checks if doc-view-mode
2422         can be used and falls back to the next best mode otherwise.
2424         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2425         DVI, OpenDocument, and MS Office files.
2427 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2429         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2431 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2433         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2434         on a copy of auto-mode-alist, because that deletes with side
2435         effects.
2437 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2439         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2440         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2441         fallback instead of hard coding fundamental mode.
2443 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2445         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2446         Office) files also for searching.
2448 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2450         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2451         Office) files.  Not yet enabled via auto-mode-list.
2452         (doc-view-unoconv-program): New custom variable.
2453         (doc-view-mode-p): Handle new odf document type.
2454         (doc-view-odf->pdf): New conversion function.
2455         (doc-view-convert-current-doc): Call it for odf files.
2456         (doc-view-mode): Recognize newly supported file extensions.
2458 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2460         * net/tramp.el (tramp-default-method-alist)
2461         (tramp-default-user-alist)
2462         (tramp-local-host-regexp, tramp-prefix-domain-format)
2463         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2465         * net/tramp-ftp.el:
2466         * net/tramp-gvfs.el:
2467         * net/tramp-gw.el:
2468         * net/tramp-imap.el:
2469         * net/tramp-sh.el:
2470         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2471         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2473 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2475         * saveplace.el (save-place-alist-to-file): Save list sorted and
2476         pretty-printed, so that it is mergeable by line-based text merging,
2477         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2479 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2481         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2482         (allout-mode): Argument "toggle" => "force".
2483         Refine the docstring.
2484         Remove special provisions for reactivation, besides the 'force'
2485         argument.
2486         Consolidate layout provisions coce directly into the activation
2487         condition branch, now that we've removed those provisions.
2488         (allout-unload-function): Explicitly activate the mode before
2489         deactivating, if it's initially deactivated.
2490         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2491         warnings for version of function used only where
2492         set-buffer-multibyte is unavailable.
2494 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2496         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2497         are handled by the menu-bar entries.  As before, don't use
2498         :visibile to avoid changing the tool-bar.
2500 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2502         * net/secrets.el (secrets-delete-alias): New defun.
2504 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2506         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2507         methods, otherwise ~/.ssh/config would be ignored.
2509 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2511         * emacs-lisp/rx.el: Make it a superset of sregex.
2512         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2513         of args, add `regex' alias.
2514         (rx-info): Add arg to distinguish head and standalone forms.
2515         (rx-check, rx-form): Pass the corresponding arg.
2516         (rx-**): Simplify.
2517         (rx-repeat): Make it work for any number of args.
2518         (rx-syntax): Make it accept syntax chars as is.
2519         * obsolete/sregex.el: Move from emacs-lisp/.
2520         * emacs-lisp/re-builder.el: Remove sregex support.
2521         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2523 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2525         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2526         PRIMARY first, then the clipboard.  (Bug#7699)
2528 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2530         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2531         print-number-table.
2533 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2535         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2536         .emacs.elc (Bug#7530).
2538         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2539         image spec (Bug#7480).
2541 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2543         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2544         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2545         Move from lisp/.
2547 2010-12-20  Leo  <sdl.web@gmail.com>
2549         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2550         always be performed (Bug#7680).
2552 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2554         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2555         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2556         mouse-region-match.
2558         * color.el: Move from gnus/.
2560         * vc/diff.el (diff-better-file-name): Function deleted.
2561         abbreviating file names causes problems with shell-quote-argument.
2562         (diff-no-select): Just use expand-file-name.
2564         * tool-bar.el (tool-bar--image-expression): New function.
2565         (tool-bar-local-item, tool-bar--image-exp): Use it.
2566         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2567         Use :enable instead of :visible to avoid changing the tool-bar
2568         configuration unnecessarily.
2570         * info.el (info-tool-bar-map): Add separators.
2572 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2574         * loadup.el: Use version numbers in Cygwin build.
2576 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2578         * ido.el (ido-file-internal): Ask for confirmation before
2579         overwriting an existing file (Bug#1238).
2581 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2583         * tool-bar.el (tool-bar-setup): Add separators.
2585         * menu-bar.el (featurep): Use menu-bar-separator.
2587 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2589         Migrate allout encryption provisions from pgg to epg.
2591         * allout.el (allout-toggle-current-subtree-encryption)
2592         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2593         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2594         for simpler universal argument interpretation.
2595         (allout-toggle-subtree-encryption): Adjust docstring to describe
2596         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2597         simpler universal argument interpretation.  Remove provisions for
2598         handling key type and identity - they'll all be within
2599         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2600         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2601         for keypair recipients (universal argument > 1) and, in addition,
2602         associating the specified recipients with the outline (universal
2603         argument > 4) using a file local variable setting for
2604         'epa-file-encrypt-to'.
2605         Require epa, for recipients handling.
2606         Change how regexp filtering elements are named.
2607         Describe the problem with caching of incorrect symmetric-decryption
2608         keys.
2609         Use the epa-passphrase-callback-function, in case the user is using
2610         GnuPG v1.
2611         Support saving of the selected keypair recipients when invoked with a
2612         keymode-cue > 4.
2613         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2614         Require 'epa.
2615         Establish epg-context with armoring and default epg-protocol.
2616         Remove all passphrase cache, verification, and hinting code.
2617         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2618         No longer used, delete.
2619         (allout-mode): Adjust docstring to describe changed encryption
2620         provisions.  Describe the problem with caching of incorrect
2621         symmetric-decryption keys.
2622         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2623         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2624         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2625         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2626         Obsolete, remove.
2628 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2630         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2631         key selection prompt; make 'silent as default (Bug#7487).
2633 2010-12-16  Leo  <sdl.web@gmail.com>
2635         * eshell/eshell.el (eshell-directory-name):
2636         Use locate-user-emacs-file (Bug#7578).
2638 2010-12-15  Glenn Morris  <rgm@gnu.org>
2640         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2642 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2643             Scott Evans <gse@antisleep.com>
2645         * rect.el (rectange--default-line-number-format)
2646         (rectangle-number-line-callback): New functions.
2647         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2649 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2651         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2652         Delete unused variables.
2653         (move-to-column-force): Remove function obsolete since 21.2.
2655 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2657         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2658         (tramp-handle-insert-file-contents): Do not set permanent-local
2659         property.
2661         * net/tramp-cache.el (tramp-persistency-file-name):
2662         Use `locate-user-emacs-file' if fboundp.
2664         * net/tramp-sh.el (tramp-methods): Add "ksu".
2665         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2666         method list.
2668 2010-12-14  Glenn Morris  <rgm@gnu.org>
2670         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2671         (find-tag-marker-ring): Declare.
2672         (js-find-symbol): Require etags.
2674         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2675         Require mail-utils.
2676         (mail-alias-file): Don't autoload.  Doc fix.
2677         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2678         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
2679         Mark as obsolete, and risky.
2680         (mail-setup): Simplify.
2682         * mail/mailalias.el (build-mail-aliases): Make it interactive.
2683         * mail/sendmail.el (build-mail-aliases): Update autoload.
2685         * dired.el (dired-trivial-filenames, dired-chown-program)
2686         (dired-auto-revert-buffer): Remove autoload cookies.
2687         * mail/sendmail.el (mail-recover-1): Require 'dired.
2689         * dired.el (dired-subdir-switches, dired-chown-program)
2690         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2691         Make into defcustoms.
2692         (dired-chown-program): Simplify initialization.
2694         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2696 2010-12-13  Romain Francoise  <romain@orebokech.com>
2698         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2700 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2702         * net/netrc.el (netrc-point-at-eol): Remove the unused
2703         netrc-point-at-old and netrc-bound-and-true-p bindings.
2704         (netrc-parse): Cache the netrc contents.
2706 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2708         * subr.el (posn-col-row): Evaluate header-line-format in the
2709         context of the POSITION window's buffer.
2711 2010-12-13  Glenn Morris  <rgm@gnu.org>
2713         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2714         (with-silent-modifications): Doc fixes.
2716 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2718         * net/tramp.el (tramp-action-password, tramp-process-actions):
2719         Revert previous from.  Use `save-restriction'.
2721 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
2723         * calendar/diary-lib.el (diary-list-sexp-entries):
2724         Handle case of no newline at end of file.  (Bug#7536)
2726 2010-12-13  Glenn Morris  <rgm@gnu.org>
2728         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2730 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2732         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2733         (tramp-process-actions): Do not widen.
2735         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2736         Protect buffer-modified value.  (Bug#7557)
2738 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
2740         * log-edit.el (log-edit-changelog-entries):
2741         Regexp quote filename.  (Bug#7505)
2743 2010-12-13  Tom Breton  <tehom@panix.com>
2745         * cus-edit.el (custom-save-all):
2746         Bind print-length and print-level to nil.  (Bug#7581)
2748 2010-12-13  Glenn Morris  <rgm@gnu.org>
2750         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2751         Run hooks to update menu contents.  (Bug#7586)
2753         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2754         file names, for the sake of MS Windows.  (Bug#7588)
2756 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2758         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2759         empty lines without a leading space.
2761 2010-12-13  Leo  <sdl.web@gmail.com>
2763         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2764         while mapping over marks (Bug#6810).
2766 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2768         * image-dired.el (image-dired-db-file)
2769         (image-dired-temp-image-file, image-dired-gallery-dir)
2770         (image-dired-temp-rotate-image-file): Set default values relative
2771         to image-dired-dir (Bug#7518).
2773 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
2775         * format.el (format-decode-run-method): Pass args FROM and TO, not
2776         point-min and point-max, to shell-command-on-region (Bug#7488).
2778 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
2780         * frame.el (blink-cursor-mode): Make default t for ns.
2782 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2784         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2786 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2788         * comint.el (comint-dynamic-list-input-ring)
2789         (comint-dynamic-complete-filename)
2790         (comint-replace-by-expanded-filename)
2791         (comint-dynamic-simple-complete)
2792         (comint-dynamic-list-filename-completions)
2793         (comint-dynamic-list-completions): Doc fix (Bug#7499).
2795         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2796         Doc fix (Bug#7471).
2798 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
2800         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2801         (Bug#7533).
2803 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
2805         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2806         (Bug#7491).
2808 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2810         * files.el (file-relative-name): Handle UNC file names on
2811         DOS/Windows.  (Bug#4674)
2813 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
2815         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2816         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2817         (epg-context-set-passphrase-callback): Mention that the callback
2818         is not called when used with GnuPG 2.x.
2820 2010-12-13  Glenn Morris  <rgm@gnu.org>
2822         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2823         Ensure ps-footer-font-size-internal is initialized.
2824         Call ps-get-page-dimensions before trying to use ps-font-for-text.
2826 2010-12-13  Kenichi Handa  <handa@m17n.org>
2828         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2829         within condition-case.
2830         (rmail-show-mime): Don't use condition-case.
2831         (rmail-search-mime-message): New function.
2832         (rmail-search-mime-message-function): Set to
2833         rmail-search-mime-message.
2835 2010-12-13  Leo  <sdl.web@gmail.com>
2837         * ido.el (ido-common-initialization): New function.  (bug#3274)
2838         (ido-mode): Use it.
2839         (ido-completing-read): Call it.
2841 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
2843         * bookmark.el (bookmark-name-from-full-record): Rename back to
2844         this original name from `bookmark-name-from-record' reverting part
2845         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2846         As Drew Adams pointed out, there was no reason to cause churn for
2847         third-party callers.  (Bug#7609)
2849 2010-12-12  Alan Mackenzie  <acm@muc.de>
2851         * progmodes/cc-engine.el (c-forward-type): Before scanning a
2852         template arglist, check that the current language supports this.
2854 2010-12-11  Glenn Morris  <rgm@gnu.org>
2856         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2857         state of the file matches.  (Bug#7544)
2858         (vc-bzr-register, vc-bzr-checkin)
2859         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2860         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2862         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2864 2010-12-11  Karel Klíč  <kklic@redhat.com>
2866         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
2868 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2870         Derive from prog-mode, use derived-mode-p, and fix up various
2871         minor style issues in lisp/progmodes.
2873         * progmodes/vhdl-mode.el (vhdl-mode):
2874         * progmodes/verilog-mode.el (verilog-mode):
2875         * progmodes/vera-mode.el (vera-mode):
2876         * progmodes/sql.el (sql-mode):
2877         * progmodes/scheme.el (scheme-mode):
2878         * progmodes/perl-mode.el (perl-mode):
2879         * progmodes/octave-inf.el (inferior-octave-mode):
2880         * progmodes/autoconf.el (autoconf-mode):
2881         * progmodes/m4-mode.el (m4-mode):
2882         * progmodes/inf-lisp.el (inferior-lisp-mode):
2883         * progmodes/idlwave.el (idlwave-mode):
2884         * progmodes/icon.el (icon-mode):
2885         * progmodes/idlw-help.el (idlwave-help-mode):
2886         * progmodes/dcl-mode.el (dcl-mode):
2887         * progmodes/idlw-shell.el (idlwave-shell-mode):
2888         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2889         (ebrowse-member-mode, ebrowse-electric-position-mode):
2890         Use define-derived-mode.
2892         * progmodes/xscheme.el (exit-scheme-interaction-mode)
2893         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2894         (xscheme-debugger-mode-p, xscheme-send-string-1):
2895         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2896         (tcl-load-file, tcl-restart-with-file):
2897         * progmodes/ps-mode.el (ps-run-running):
2898         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2899         * progmodes/js.el (js--get-all-known-symbols):
2900         * progmodes/inf-lisp.el (inferior-lisp-proc):
2901         * progmodes/idlwave.el (idlwave-beginning-of-statement)
2902         (idlwave-template, idlwave-update-buffer-routine-info)
2903         (idlwave-update-current-buffer-info)
2904         (idlwave-get-routine-info-from-buffers, idlwave-choose)
2905         (idlwave-scan-class-info, idlwave-fix-keywords)
2906         (idlwave-list-buffer-load-path-shadows):
2907         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2908         (idlwave-toolbar-remove):
2909         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2910         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2911         (idlwave-shell-menu-def):
2912         * progmodes/idlw-complete-structtag.el
2913         (idlwave-prepare-structure-tag-completion):
2914         * progmodes/gud.el (gud-set-buffer):
2915         * progmodes/f90.el (f90-backslash-not-special):
2916         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2918         * progmodes/xscheme.el (xscheme-start)
2919         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2920         * progmodes/which-func.el (which-function):
2921         * progmodes/vhdl-mode.el (vhdl-set-style):
2922         * progmodes/verilog-mode.el (verilog-set-compile-command)
2923         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2924         (verilog-set-define, verilog-auto-reeval-locals):
2925         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2926         * progmodes/simula.el (simula-mode):
2927         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2928         * progmodes/python.el (python-check, python-mode):
2929         * progmodes/prolog.el (prolog-mode-variables):
2930         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2931         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2932         * progmodes/delphi.el (delphi-mode):
2933         * progmodes/cc-styles.el (c-setup-paragraph-variables):
2934         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2935         (c-font-lock-init): Move make-local-variable to their setq.
2937         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2938         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2939         make-local-hook.
2940         * progmodes/sh-script.el (sh-require-final-newline): Remove.
2941         (sh-set-shell): Don't set require-final-newline since it's already done
2942         by prog-mode.
2943         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2944         since we never set it.
2945         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2946         Use read-string and standard prompt.
2947         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2948         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2949         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2950         (meta-common-mode-map): Rename from meta-mode-map.
2951         Remove C-m binding, which is a user preference, not mode specific.
2952         (meta-common-mode): New major mode; replace meta-common-initialization.
2953         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2954         around with font-lock.
2955         * progmodes/etags.el (select-tags-table-mode):
2956         Derive from special-mode.
2957         * progmodes/octave-mod.el (octave-mode):
2958         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2959         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2960         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2961         Let define-derived-mode do its job.
2962         * progmodes/cpp.el (cpp-edit-mode-map):
2963         Move initialization into declaration.
2964         (cpp-edit-mode): Use define-derived-mode.
2965         (cpp-edit-load): Use derived-mode-p.
2966         * progmodes/mixal-mode.el (mixal-mode):
2967         * progmodes/f90.el (f90-mode):
2968         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2969         require-final-newline since prog-mode does it already.
2970         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2971         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2972         * progmodes/antlr-mode.el: Require cc-mode upfront.
2973         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2974         the declaration.
2975         (antlr-directory-dependencies, antlr-show-makefile-rules):
2976         Use derived-mode-p.
2977         (antlr-language-option): Don't assume point-min==1.
2978         (antlr-mode): Use define-derived-mode.
2979         * progmodes/ada-mode.el: Use derived-mode-p.
2980         (ada-mode): Use define-derived-mode.
2981         Use hack-local-variables-hook.
2983 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2985         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2986         (texinfo-mode): Don't disable adaptive-fill-mode.
2987         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2988         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2989         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2990         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2991         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2992         (texinfo-insert-@quotation, texinfo-insert-@samp)
2993         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2994         (texinfo-insert-@uref): Use define-skeleton.
2995         (texinfo-insert-@-with-arg): Delete.
2997 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
2999         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3000         nil, do quote archive member names.  (Bug#6144)
3002 2010-12-10  Glenn Morris  <rgm@gnu.org>
3004         * files.el (diff-no-select): Declare.
3006         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3007         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3009         * comint.el (comint-input-ring-file-name): Doc fix.
3011 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
3013         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3014         New functions.
3015         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3016         Use them instead of `nil' and `>', respectively.
3017         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3018         instead of `nil'.
3019         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3020         and menu-bar-positive-p instead of `nil' and `>', respectively.
3021         (Bug#1077)
3023 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3025         * whitespace.el (whitespace-newline-mode): Code fix.
3027 2010-12-09  Glenn Morris  <rgm@gnu.org>
3029         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3030         Rename functions without commas, update callers.
3032 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
3034         * whitespace.el (whitespace-cleanup-region):
3035         Clean up spaces before tabs.  (Bug#7582)
3037 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
3039         * bookmark.el: Adjust parameter names and doc strings to resolve
3040         confusion over whether "bookmark" meant a bookmark name or a
3041         bookmark record.  Along the way, shorten one function's name for
3042         similar reasons.  (Issue #7548)
3043         (bookmark-name-from-record): New name for
3044         `bookmark-name-from-full-record'.  All callers changed.
3045         (bookmark-get-bookmark, bookmark-get-bookmark-record)
3046         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3047         (bookmark-get-annotation, bookmark-set-annotation)
3048         (bookmark-get-filename, bookmark-set-filename)
3049         (bookmark-get-position, bookmark-set-position)
3050         (bookmark-get-front-context-string, bookmark-set-front-context-string)
3051         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3052         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3053         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3054         Rename `bookmark' parameter to `bookmark-name-or-record', to
3055         clearly show its role, and shorten or adjust doc strings accordingly.
3056         (bookmark-set-name): Same, and pass the parameter directly to
3057         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3058         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3059         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3060         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3061         and in some cases shorten doc string accordingly.
3062         (bookmark-rename): Change `old' and `new' parameters to `old-name'
3063         and `new-name', and adjust an internal variable to avoid confusion.
3064         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3065         parameter in doc string.
3067 2010-12-08  Glenn Morris  <rgm@gnu.org>
3069         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3070         from gdb's history file.  (Bug#7575)
3072         * mail/emacsbug.el (report-emacs-bug):
3073         Try to handle some other mail clients.
3075 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3077         * files.el (dir-locals-collect-variables): Don't let errors stop us.
3078         Use string-prefix-p.
3079         (file-name-version-regexp): New var.
3080         (file-name-sans-versions):
3081         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3082         (jka-compr-get-compression-info): Use dolist.
3083         (jka-compr-compression-info-list): Don't bother specifying
3084         version/backup regexps.
3086 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
3088         * simple.el (just-one-space): Make argument n default to 1 if
3089         omitted.
3091 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3093         * electric.el (electric-indent-post-self-insert-function):
3094         Delete trailing newlines even if we don't reindent.
3096 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3098         * minibuffer.el (completion-at-point): Remove the `arg'.
3099         * bindings.el (complete-symbol): Move back from minibuffer.el.
3101 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3103         * simple.el (just-one-space): Delete newlines for negative arg.
3105 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3107         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3108         (ansi-color-filter-apply): Simplify.
3109         (ansi-color-apply): Use `font-lock-face' rather than `face'.
3111 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3113         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3115 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
3117         * dired.el (dired-use-ls-dired): Set default to a special
3118         "unspecified" value.
3119         (dired-insert-directory): When called the first time, check
3120         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3122 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
3124         * replace.el: Add "collect" feature to occur.
3125         (occur-collect-regexp-history): New var.
3126         (occur-read-primary-args): Return a replace string for nlines,
3127         if needed.
3128         (occur): Extend the meaning of nlines.
3130 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3132         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3133         (which-func-update-1): Distinguish symbols from strings.
3134         (which-function): Stay within 80 columns.
3136 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3138         * subr.el (with-demoted-errors): Distinguish symbols from strings.
3140         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3141         Improve docstring.
3142         (comment-style): Use comment-styles's docs to describe values.
3144 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
3146         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3147         and ns-show-prefs (Bug#7535).
3149         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3150         bindings (Bug#7535).
3152 2010-12-03  Glenn Morris  <rgm@gnu.org>
3154         * nxml/nxml-mode.el: Require rng-nxml.
3155         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3156         Remove declarations.
3158         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3159         * nxml/rng-nxml.el, nxml/rng-valid.el:
3160         Remove leading `*' from defcustom docs.
3162         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3163         (normal-top-level-add-to-load-path, tty-handle-args):
3164         Convert comments to basic doc-strings.
3166         * net/browse-url.el (browse-url-url-at-point)
3167         (browse-url-default-browser): Remove autoload cookies.
3169         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3170         Remove more undefined cl functions.
3172         * vc/diff.el (diff-sentinel): Make new arguments optional.
3173         * ibuf-ext.el (diff-sentinel): Update declaration.
3175 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
3177         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3178         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
3179         (epg-context-set-passphrase-callback): Mention that the callback
3180         is not called when used with GnuPG 2.x.
3182 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
3184         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3185         (tramp-file-name-port): Check also for `tramp-default-port'.
3186         (tramp-get-connection-name): New defun.
3187         (tramp-get-connection-process): Use it.
3188         (tramp-debug-message): Extend function exclude list.
3189         (tramp-drop-volume-letter): Fix doc string.
3191         * net/tramp-cmds.el: Remove solved todo item.
3193         * net/tramp-ftp.el:
3194         * net/tramp-gvfs.el:
3195         * net/tramp-gw.el:
3196         * net/tramp-imap.el:
3197         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3198         and `tramp-default-user-alist', respectively.
3200         * net/tramp-gw.el (tramp-gw-open-connection):
3201         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3203         * net/tramp-imap.el (tramp-imap-make-iht): Use just
3204         `tramp-file-name-port'.
3206         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3207         and "psftp".  Exchange "%k" marker with options.
3208         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3209         Compute size of link target.
3210         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3211         `tramp-current-*' up due to gateway methods.  Optimize computing of
3212         copy arguments.  Use `tramp-get-connection-name' and
3213         `tramp-get-connection-buffer'.  Improve debug messages.
3214         (tramp-compute-multi-hops): Remove port determination.
3215         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3217         * net/trampver.el: Update release number.
3219 2010-12-02  Glenn Morris  <rgm@gnu.org>
3221         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3222         Avoid infinite loop over windows.  (Bug#7492)
3224         * progmodes/flymake.el (flymake-check-file-limit):
3225         Allow nil to mean "no limit".
3226         (flymake-check-patch-master-file-buffer): Update for above change.
3227         Allow a .tex file-name extension to be optional.
3228         (flymake-master-tex-init): Also match \include statements.
3230 2010-11-30  Sam Steingold  <sds@gnu.org>
3232         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3233         (nxml-parent-document-set): A function to set `nxml-parent-document'.
3234         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3235         (nxml-mode-hook): Remove `defcustom' (auto-defined by
3236         define-derived-mode').
3237         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3238         users who want to call `nxml-parent-document-set'.
3240 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3242         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3243         stand-alone lines, since that is handled by log-edit-match-to-eoh
3244         (Bug#6465).
3246 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3248         * dired.el (dired-get-filename): Replace backslashes with slashes
3249         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3250         * locate.el (locate-default-make-command-line): Don't consider
3251         drive letter and root directory part of
3252         `directory-listing-before-filename-regexp'.  (Bug#7308)
3253         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3255 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3257         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3258         of :smie-open/close-alist.
3259         (smie-next-sexp): Make it accept a "start token" as argument.
3260         (smie-indent-keyword): Be careful not to misidentify tokens that span
3261         more than one line, as empty lines.  Add argument `token'.
3263 2010-11-27  Kenichi Handa  <handa@m17n.org>
3265         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3266         multipart subtypes, insert all as usual.
3268         * mail/rmail.el: Require rfc2047.
3270 2010-11-27  Kenichi Handa  <handa@m17n.org>
3272         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3273         (rmail-mime-entity-disposition)
3274         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3275         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3276         (rmail-mime-save): Handle the case that the button's `data' is a
3277         MIME entity.
3278         (rmail-mime-insert-text): New function.
3279         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3280         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3281         (rmail-mime-insert-bulk): New function mostly copied from the old
3282         rmail-mime-bulk-handler.
3283         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3284         (rmail-mime-process-multipart): New function mostly copied from
3285         the old rmail-mime-multipart-handler.
3286         (rmail-mime-show): Just call rmail-mime-process.
3287         (rmail-mime-process): New function mostly copied from the old
3288         rmail-mime-show.
3289         (rmail-mime-insert-multipart, rmail-mime-parse)
3290         (rmail-mime-insert, rmail-show-mime)
3291         (rmail-insert-mime-forwarded-message)
3292         (rmail-insert-mime-resent-message): New functions.
3293         (rmail-insert-mime-forwarded-message-function): Set to
3294         rmail-insert-mime-forwarded-message.
3295         (rmail-insert-mime-resent-message-function): Set to
3296         rmail-insert-mime-resent-message.
3298         * mail/rmailsum.el: Require rfc2047.
3299         (rmail-header-summary): Handle multiline Subject: field.
3300         (rmail-summary-line-decoder): Change the default to
3301         rfc2047-decode-string.
3303         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3304         (rmail-mime-feature): Change the default to `rmailmm'.
3305         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3306         (rmail-display-labels): Likewise.
3307         (rmail-show-message-1): Check rmail-enable-mime, and use
3308         rmail-show-mime-function for a MIME message.  Decode the headers
3309         according to RFC2047.
3311 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3313         * progmodes/which-func.el (which-func-imenu-joiner-function):
3314         Return a string, as expected.
3315         (which-function-mode): Make sure we stop any previous timer before
3316         starting a new one.
3318 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3320         * net/tramp.el (tramp-default-method-alist)
3321         (tramp-default-user-alist, tramp-default-proxies-alist):
3322         Adapt custom options type.  (Bug#7445)
3324 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3326         * progmodes/python.el: Add Ipython support (Bug#5390).
3327         (python-shell-prompt-alist)
3328         (python-shell-continuation-prompt-alist): New options.
3329         (python--set-prompt-regexp): New function.
3330         (inferior-python-mode, run-python, python-shell):
3331         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3332         prompt based on the Python interpreter.
3333         (python--prompt-regexp): New var.
3334         (python-check-comint-prompt)
3335         (python-comint-output-filter-function): Use it.
3336         (run-python): Use a pipe (Bug#5694).
3338 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3340         * progmodes/python.el (run-python): Doc fix.
3341         (python-keep-current-directory-in-path): New var (Bug#7454).
3343 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3345         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3346         Prompt user before actually printing.
3348 2010-11-27  Glenn Morris  <rgm@gnu.org>
3350         * startup.el (package-enable-at-startup, package-initialize):
3351         Remove unnecessary declarations.
3353 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3355         * international/characters.el (glyphless-char-display-control):
3356         Exclude newline and TAB from the c0-control group.
3358 2010-11-27  Glenn Morris  <rgm@gnu.org>
3360         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3361         (expand-mail-aliases): Remove unnecessary autoload.
3363         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3365         * shell.el (shell-dir-cookie-re): Move definition before use.
3367         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3368         Replace undefined CL functions.
3370 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3372         * simple.el (prog-mode): Set bidi-paragraph-direction to
3373         left-to-right.
3375         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3377 2010-11-26  Glenn Morris  <rgm@gnu.org>
3379         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3380         diary-outlook-formats can be sensitive to calendar-date-style.
3381         (diary-outlook-formats): Simplify the default setting.
3382         (diary-from-outlook-internal): Pass subject and body as arguments.
3383         Use dolist rather than dotimes.  Don't save the diary buffer.
3384         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3385         Pass subject and body as explicit arguments to the -internal function.
3387 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3389         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3390         parsing them.  This makes mailto:...?subject=foo\nbar work.
3392 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3394         * vc/diff.el (diff): Fix last change.
3396 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3398         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3399         (pcase--dontcare-upats): New var.
3400         (pcase-let, pcase-let*): Generate better code.
3401         Accept the same bodies as `let'.
3402         (pcase-dolist): New macro.
3403         (pcase--trivial-upat-p): New helper function.
3404         (pcase--expand): Strip leading "(let nil" if any.
3406 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3408         * mail/mailclient.el (browse-url): Require.
3409         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3410         use the external browser function to send the mail (bug#7469).
3412         * net/browse-url.el (browse-url-browser-function): Revert the
3413         default back to the previous value, since the new value broke
3414         mailclient.el.
3415         (browse-url-mailto-function): New variable for mailto: URLs.
3416         (browse-url): Use the new variable for mailto: URLs.
3418 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3420         * eshell/esh-cmd.el (eshell-parse-command):
3421         * eshell/esh-arg.el (eshell-parse-arguments):
3422         * eshell/em-script.el (eshell-source-file):
3423         Use with-silent-modifications.
3425 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3427         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3428         for a merge location.
3430         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3431         (vc-bzr-merge-branch): Always prompt.
3432         (vc-bzr-async-command): Use the full branch filename.
3434 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3436         * shell.el (shell): Use current-buffer by default if it's already
3437         a shell mode buffer and its process is dead.
3438         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3440 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3442         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3443         Mention that the keywords should be comma separated.
3445 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3447         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3448         Accept optional prefix arg meaning to prompt for a command.
3449         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3450         prefix arg meaning to prompt for a command.
3451         (vc-pull): Alias for vc-update.
3453         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3454         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3455         (vc-bzr-merge-branch): New functions, implementing merge-branch
3456         and pull operations.
3458 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3460         * Makefile.in: Fix up last merge.
3462         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3463         (diff-sentinel): Get them as arguments instead.
3464         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3465         (diff-file-local-copy, diff-better-file-name): New funs.
3466         (diff-no-select): Rename from diff-into-buffer.
3467         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3468         Prefer closures to buffer-local variables.
3469         (diff): Adjust accordingly.
3470         (diff-buffer-with-file): Move from files.el.
3471         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3472         (diff-buffer-internal): Remove.
3473         (diff-buffer-buffer): Remove.
3474         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3475         the buffer name used, and so as not to mess up windows and frames.
3477 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3479         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3480         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3481         (diff-buffer-with-file): Use it.
3482         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3483         (diff): Use it.
3485 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3487         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3488         \ref's or \pageref's value as default instead of initial input.
3490 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3492         * files.el (backup-by-copying-when-mismatch): The default value is
3493         now t.
3495         * startup.el (normal-top-level):
3496         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3497         `backup-by-copying-when-mismatch'.
3499 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3501         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3503 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3505         * progmodes/python.el (python-font-lock-keywords):
3506         Highlight top-level augmented assignments (Bug#6445).
3508 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3510         * term/ns-win.el (ns-right-control-modifier)
3511         (ns-right-command-modifier): Defvar them.
3513         * cus-start.el (all): Add ns-right-control-modifier and
3514         ns-right-command-modifier (Bug#7458).
3516 2010-11-20  Glenn Morris  <rgm@gnu.org>
3518         * emacs-lisp/authors.el (authors-ignored-files)
3519         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3521 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3523         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3524         (report-emacs-bug-parse-query-results)
3525         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3526         keywords used for querying the bug database to show them in the
3527         existing bugs buffer.
3529 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3531         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3533         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3535 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3537         * international/characters.el (glyphless-char-display-control):
3538         Make it a defcustom, with update-glyphless-char-display as its
3539         :set attribute.
3540         (top level): Don't call update-glyphless-char-display.
3542 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3544         Sync with Tramp 2.2.0.
3546         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3547         `file-remote-p' (due to compatibility).
3549         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3550         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3552         * net/trampver.el: Update release number.
3554 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3556         * faces.el (glyphless-char): Define value for `pc'.
3558 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3560         Implemented a bug querying mechanism.
3561         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3562         (report-emacs-bug-create-existing-bugs-buffer)
3563         (report-emacs-bug-parse-query-results)
3564         (report-emacs-bug-query-existing-bugs): New functions.
3566 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3568         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3569         a \ref{} or \pageref{} macro, then use its value as initial input.
3571 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3573         * calc/calc-units.el (math-build-units-table-buffer):
3574         calc/README: Mention that the TeX specific units won't use the
3575         `tex' prefix in TeX mode.
3576         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3577         prefix for units in TeX mode.
3579 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3581         * simple.el (kill-new, kill-append, kill-region):
3582         * comint.el (comint-kill-region): Make the yank-handler argument
3583         obsolete.
3585 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3587         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3588         that are both openers (resp. closers) and something else.
3589         (smie-grammar): Loosen definition of valid values.
3590         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3591         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3592         (smie-indent-after-keyword): Adjust users.
3593         (smie-indent-keyword): Don't indent empty lines.
3595         * vc-hg.el (vc-hg-program): New var.
3596         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3597         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3599 2010-11-18  Glenn Morris  <rgm@gnu.org>
3601         * emacs-lisp/autoload.el (autoload-find-destination): The function
3602         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3604 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3606         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3608 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3610         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3612 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3614         * textmodes/picture.el (picture-mouse-set-point): Don't use
3615         posn-col-row; explicitly compute the motion based on the posn at
3616         the window-start (Bug#7390).
3618 2010-11-18  Glenn Morris  <rgm@gnu.org>
3620         * novice.el (disabled-command-function):
3621         Fix 2009-11-15 change.  (Bug#7384)
3623 2010-11-18  Glenn Morris  <rgm@gnu.org>
3625         * calendar/calendar.el (diary-iso-date-forms): Make elements
3626         mutually exclusive.  (Bug#7377)
3628 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3630         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3631         when filling the remaining "unconstrained" values.
3633 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3635         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3636         safety predicate.
3638         * files.el (safe-local-variable-p): Gracefully handle errors.
3640         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3641         Use smie-indent-virtual when indenting relative to an opener.
3642         (smie-rule-separator): Use smie-rule-parent.
3643         (smie-indent-keyword): Consult rules, even for openers at bol.
3644         (smie-indent-comment-close): Try to align closer's content.
3646 2010-11-18  Glenn Morris  <rgm@gnu.org>
3648         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3650 2010-11-18  Glenn Morris  <rgm@gnu.org>
3652         * printing.el (pr-menu-bind): Doc fix.
3654         * speedbar.el (speedbar-toggle-images): Doc fix.
3656         * progmodes/python.el (python-shell): Doc fix.
3658         * wid-edit.el (widget-field-use-before-change)
3659         (widget-use-overlay-change): Doc fixes.
3661 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3663         Minor cleanup to improve style.
3664         * textmodes/rst.el (rst-update-section): Use point-marker.
3665         (rst-get-decoration): Eliminate unneeded assignment.
3666         (rst-promote-region, rst-straighten-decorations)
3667         (rst-section-tree, rst-adjust): Use point-marker.
3668         (rst-toc-mode-mouse-goto): Avoid setq.
3669         (rst-shift-region-guts, rst-shift-region-left)
3670         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3671         (rst-convert-bullets-to-enumeration): Use copy-marker.
3673         * minibuffer.el (completion-fail-discreetly): New var.
3674         (completion--do-completion): Use it.
3676         * electric.el (electric-pair-pairs): New var.
3677         (electric-pair-post-self-insert-function): Use it.
3678         (electric-layout-post-self-insert-function): Don't insert a before
3679         newline unless it's actually needed.
3681 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3683         * progmodes/python.el (run-python): Explain why we remove the current
3684         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
3686         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3688 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3690         * progmodes/octave-mod.el: Rely on elecric-*-modes.
3691         (octave-mode-map): Don't bind ;, SPC, and LF.
3692         (octave-auto-indent, octave-auto-newline): Remove.
3693         (electric-layout-rules): Declare.
3694         (octave-mode): Set electric-layout-rules.
3695         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3696         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3697         (octave-electric-space): Remove.
3699         * electric.el (electric-layout-mode): New minor mode.
3700         (electric--after-char-pos): New function.
3701         (electric-indent-post-self-insert-function): Use it.
3702         (electric-layout-rules): New var.
3703         (electric-layout-post-self-insert-function): New function.
3704         (electric-indent-mode): Make them interact better.
3706 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3708         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3709         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3710         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3712 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
3714         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3715         Make sure to check inside the word (Bug#6761).
3717 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
3719         * startup.el (command-line): If the cursorColor resource is set,
3720         change the cursor face-spec (Bug#7392).
3722 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
3724         The main features of the following allout.el changes are:
3725         - implement user customization for the allout key bindings
3726         - add a customization control by which the user can inhibit use of
3727           a trailing Ctrl-H, so by default it's reserved for use with
3728           describe-prefix-bindings
3729         - adapt to new version of called-interactively-p, while
3730           maintaining backwards compatibility with old version
3731         - fix hotspot navigation so i works properly with meta-modified keys
3733         * allout.el (allout-keybindings, allout-bind-keys)
3734         (allout-keybindings-binding, allout-prefixed-keybindings)
3735         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3736         (allout-keybindings-list, allout-mode-map-adjustments)
3737         (allout-setup-mode-map): Establish allout-mode keymaps as user
3738         customizable settings, and also establish a customizable setting which
3739         regulates whether or not a trailing control-h is reserved for use with
3740         describe-prefix-bindings - and inhibit it by default, so that control-h
3741         *is* reserved for describe-prefix-bindings unless the user changes it.
3743         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3744         and accurately between modified and unmodified events, and handle
3745         modified events more comprehensively.
3747         * allout.el (allout-substring-no-properties):
3748         Alias to use or provide version of `substring-no-properties'.
3749         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3751         * allout.el (allout-next-single-char-property-change):
3752         Alias to use or provide version of `next-single-char-property-change'.
3753         (allout-annotate-hidden, allout-hide-by-annotation):
3754         Use `allout-next-single-char-property-change'.
3756         * allout.el (allout-select-safe-coding-system):
3757         Alias to use or provide version of `select-safe-coding-system'.
3758         (allout-toggle-subtree-encryption):
3759         Use `allout-select-safe-coding-system'.
3761         * allout.el (allout-set-buffer-multibyte):
3762         Alias to use or provide version of `set-buffer-multibyte'.
3763         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3765         * allout.el (allout-called-interactively-p): Macro for using the
3766         different versions of called-interactively-p identically, depending on
3767         the subroutine's argument signature.
3768         (allout-back-to-current-heading, allout-beginning-of-current-entry):
3769         Use `(interactive "p")' instead of `(called-interactively-p)'.
3771         * allout.el (allout-init, allout-ascend, allout-end-of-level)
3772         (allout-previous-visible-heading, allout-forward-current-level)
3773         (allout-backward-current-level, allout-show-children):
3774         Use `allout-called-interactively-p' instead of `called-interactively-p'.
3776         * allout.el (allout-before-change-handler):
3777         Exempt edits to the (overlaid) character after the allout outline
3778         bullet from edit confirmation prompt.
3780         * allout.el (allout-add-resumptions):
3781         Ensure that it respects correct buffer for keybindings.
3783         * allout.el (allout-beginning-of-line):
3784         Use `allout-previous-single-char-property-change' alias for the sake of
3785         diverse compatibility.
3787         * allout.el (allout-end-of-line):
3788         Use `allout-mark-active-p' to encapsulate respect for mark activity.
3790 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
3792         * frame.el (frame-notice-user-settings): Don't clobber other
3793         user-set parameters when calling face-set-after-frame-default in
3794         response to background-color parameter (Bug#7373).
3796 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
3798         * international/characters.el (glyphless-char-display-control):
3799         Rename from glyphless-char-control; all users changed.  Doc fix.
3800         Signal an error if display method is not one of the recognized
3801         symbols.
3803 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
3805         * net/tramp-compat.el (tramp-compat-line-beginning-position)
3806         (tramp-compat-line-end-position): Remove them.
3808         * net/tramp.el (tramp-parse-rhosts-group)
3809         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3810         (tramp-parse-hosts-group, tramp-parse-passwd-group)
3811         (tramp-parse-netrc-group, tramp-parse-putty-group)
3812         * net/tramp-cmds.el (tramp-append-tramp-buffers)
3813         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3814         (tramp-sh-handle-file-selinux-context)
3815         (tramp-sh-handle-file-name-all-completions)
3816         (tramp-sh-handle-insert-directory)
3817         (tramp-sh-handle-expand-file-name, tramp-find-executable)
3818         (tramp-wait-for-output, tramp-send-command-and-read)
3819         * net/tramp-smb.el (tramp-smb-read-file-entry)
3820         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3822         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3823         `point-at-bol'.
3824         (tramp-remote-coding-commands): Add an alternative using "base64
3825         -d -i".  This is needed for older base64 versions from GNU
3826         coreutils.  Reported by Klaus Reichl
3827         <Klaus.Reichl@thalesgroup.com>.
3829 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
3831         * simple.el (count-words-region): New function.
3833 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3835         * shell.el (shell-dir-cookie-re): New custom variable.
3836         (shell-dir-cookie-watcher): New function.
3838         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3839         and compilation-mode (bug#7350).
3841         * vc/smerge-mode.el (smerge-refine): Choose better default part to
3842         highlight when one of them is empty.
3844         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3845         trailing space.
3846         (skeleton-newline): New function.
3847         (skeleton-internal-1): Use it.
3849         * simple.el (open-line): `newline' may strip trailing space.
3851 2010-11-12  Kevin Ryde  <user42@zip.com.au>
3853         * international/mule-cmds.el (princ-list): Use mapc.
3855 2010-11-12  Glenn Morris  <rgm@gnu.org>
3857         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3858         Use it to replace all instances of "*Compile-Log*"
3860 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3862         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3863         indentation specs.
3865 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3867         * progmodes/modula2.el: Use SMIE and skeleton.
3868         (m2-mode-syntax-table): (*..*) can be nested.
3869         Add //...\n.  Fix paren syntax.
3870         (m2-mode-map): Remove LF and TAB bindings.
3871         (m2-indent): Add safety property.
3872         (m2-smie-grammar): New var.
3873         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3874         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3875         (m2-mode): Use define-derived-mode.
3876         (m2-newline, m2-tab): Remove.
3877         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3878         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3879         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3880         (m2-import): Use define-skeleton.
3882 2010-11-11  Glenn Morris  <rgm@gnu.org>
3884         * obsolete/lucid.el: Don't warn about any CL functions in this file.
3886         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3887         (ls-lisp-verbosity): Add custom :set-after property.
3888         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3889         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3890         (ls-lisp-insert-directory): Update caller.
3891         (ls-lisp-set-options): New function.
3892         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3893         Doc fix.
3895         * play/landmark.el (lm-prompt-for-move):
3896         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3898         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3900         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3901         (idlwave-study-twins): Prefix dynamic local variable `name'.
3902         (idlwave-routine-twin-compare): Update for above change.
3904         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3905         Prefix dynamic local variables `name', `kwd', and `link'.
3906         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3907         * progmodes/idlw-complete-structtag.el
3908         (idlwave-complete-structure-tag-help):
3909         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3910         (idlwave-complete-sysvar-tag-help)
3911         (idlwave-complete-class-structure-tag-help):
3912         Update for above name changes.
3914 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3916         * net/browse-url.el (browse-url-browser-function): Change the
3917         default to use `browse-url-mail' on mailto: URLs.
3919 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
3921         * emacs-lisp/package.el (package-read-all-archive-contents):
3922         Reset package-archive-contents to nil before re-reading.
3924 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
3926         * textmodes/flyspell.el (flyspell-word): Do not re-check words
3927         already found as misspellings by (flyspell-large-region), just
3928         do highlighting (bug#7322).
3930 2010-11-10  Glenn Morris  <rgm@gnu.org>
3932         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3934         * emulation/edt.el (edt-with-position): New macro.
3935         (edt-find-forward, edt-find-backward, edt-find-next-forward)
3936         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3937         (edt-paragraph-forward, edt-paragraph-backward): Use it.
3939         * emulation/tpu-extras.el (tpu-with-position): New macro.
3940         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3942         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3944         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3945         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3946         (texinfo-master-menu, texinfo-insert-node-lines)
3947         (texinfo-multiple-files-update):
3948         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3949         Use line-beginning-position.
3951         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3952         No recent Emacs supports system-type `emx'.
3954         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3955         (ada-command-separator, ada-default-prj-properties)
3956         (ada-find-any-references): Update for above name change.
3958         * dirtrack.el (dirtrack-directory-function)
3959         (dirtrack-canonicalize-function):
3960         * filecache.el (file-cache-completion-ignore-case)
3961         (file-cache-case-fold-search, file-cache-ignore-case):
3962         * term.el (serial-port-is-file-p): Cosmetic change.
3964         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3965         Remove non-existent `windows-95' system-type.
3966         * dired.el (dired-chown-program): Remove non-existent `linux'
3967         system-type.
3969         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3970         (ping-program-options): Remove non-existent `linux' system-type.
3972         * startup.el (package-initialize): Update declaration.
3974         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3975         (ls-lisp-handle-switches): Use time-less-p.
3976         (ls-lisp-format-time): Use float-time.
3978         * textmodes/remember.el (remember-time-to-seconds): Remove.
3979         (remember-store-in-mailbox): Use float-time.
3981         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3983         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3984         never a real function.
3985         (with-no-warnings): Remove compat stub, now unused.
3986         (time-less-p): Doc fix.
3987         (time-to-number-of-days): Simplify.
3989         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3990         Remove.
3991         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3992         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3993         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3994         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3995         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3997         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3998         (eshell-shuffle-files, eshell-shorthand-tar-command)
3999         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4000         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4001         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4002         Prefix dynamic local variable `matches'.
4004         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4005         Prefix dynamic local variable `skeleton'.
4007 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
4009         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4010         in mail buffer; make yank-action always a command that yanks original
4011         buffer.
4013 2010-11-09  Glenn Morris  <rgm@gnu.org>
4015         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4017 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4019         * minibuffer.el (minibuffer-completion-help): Specify the end of the
4020         completion field (bug#7211).
4022         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4023         Fix handling of backslash escapes.
4024         (python-quote-syntax): Adjust accordingly.
4026 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
4028         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4029         (vc-mtn-workfile-branch): Adjust to new output format.
4031 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4033         * international/mule-cmds.el (princ-list): Mark as obsolete.
4035 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4037         * emacs-lisp/smie.el: New package.
4039 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
4041         * files.el (backup-by-copying-when-mismatch):
4042         Set `permanent-local' property.
4044         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4045         `permanent-local' property for `backup-by-copying-when-mismatch'.
4047 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
4049         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
4051 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
4053         * progmodes/verilog-mode.el (verilog-insert-one-definition)
4054         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4055         AUTOINOUT for SV style multidimensional arrays, bug294.
4056         Reported by Eric Mastromarchi.
4057         (verilog-preprocess): Use with-current-buffer and
4058         font-lock-fontify-buffer to cleanup style issues.
4060 2010-11-09  Glenn Morris  <rgm@gnu.org>
4062         * locate.el (locate, locate-mode): Doc fixes.
4064 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
4066         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4067         user for confirmation.
4068         (server-force-stop): Use it.
4069         (server-start): Use server-force-stop for kill-emacs-hook, to
4070         avoid user interaction while killing Emacs.
4072 2010-11-09  Glenn Morris  <rgm@gnu.org>
4074         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4075         (meta-indent-line): Simplify.
4077         * vc/emerge.el (emerge-line-number-in-buf):
4078         * textmodes/ispell.el (ispell-region):
4079         * textmodes/fill.el (current-fill-column):
4080         * progmodes/xscheme.el (xscheme-send-current-line):
4081         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4082         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4083         * progmodes/sh-script.el (sh-handle-prev-do):
4084         * progmodes/meta-mode.el (meta-indent-line):
4085         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4086         (idlwave-in-quote):
4087         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4088         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4089         * progmodes/fortran.el (fortran-looking-at-if-then):
4090         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4091         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4092         (cperl-find-pods-heres):
4093         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4094         * net/quickurl.el (quickurl-list-insert):
4095         * net/ldap.el (ldap-search-internal):
4096         * net/eudc.el (eudc-expand-inline):
4097         * mail/sendmail.el (sendmail-send-it):
4098         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4099         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4100         (viper-brac-function):
4101         * calc/calc-yank.el (calc-do-grab-region):
4102         * calc/calc-keypd.el (calc-keypad-press):
4103         * term.el (term-move-columns, term-insert-spaces):
4104         * speedbar.el (speedbar-highlight-one-tag-line):
4105         * simple.el (current-word):
4106         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4107         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4108         (Info-scroll-down):
4109         * hippie-exp.el (he-line-beg):
4110         * epa.el (epa--marked-keys):
4111         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4112         (dired-update-file-line, dired-add-entry, dired-remove-entry)
4113         (dired-relist-entry):
4114         * buff-menu.el (Buffer-menu-buffer):
4115         * array.el (current-line):
4116         * allout.el (allout-resolve-xref)
4117         (allout-latex-verbatim-quote-curr-line):
4118         Replace yet more uses of end-of-line etc with line-end-position, etc.
4120 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4122         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4123         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4124         (checkdoc-syntax-table): Initialize in the declaration.
4125         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4126         the mode on unconditionally.
4128         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4129         (extent-end-position, extent-start-position): Remove setf method for
4130         non-existing functions (bug#7319).
4132 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4134         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4135         (smie-precs->prec2): Rename from smie-precs-precedence-table.
4136         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4137         (smie-prec2->grammar): Rename from smie-prec2-levels.
4138         (smie-grammar): Rename from smie-op-levels.
4139         (smie-indent--hanging-p): Rename from smie-hanging-p.
4140         (smie-rule-hanging-p): New alias.
4141         (smie-indent--bolp): Rename from smie-bolp.
4142         (smie-indent--hanging-p): New alias.
4143         (smie--token): New dynamically bound variable.
4144         (smie-indent--parent): New function.
4145         (smie-rule-parent-p): Use it; rename from smie-parent-p.
4146         (smie-rule-next-p): Rename from smie-next-p.
4147         (smie-rule-prev-p): Rename from smie-prev-p.
4148         (smie-rule-sibling-p, smie-rule-parent)
4149         (smie-indent--separator-outdent, smie-rule-separator): New functions.
4150         (smie-rule-separator-outdent): New var.
4151         (smie-indent--rule): Merge with smie-indent--column.
4152         (smie-indent-forward-token, smie-indent-backward-token):
4153         Also recognize close parens.
4154         (smie-indent-keyword): Don't use smie-indent--column any more.
4155         (smie-indent-after-keyword): Ignore closers by default.
4156         (smie-indent-line): Use with-demoted-errors.
4157         * progmodes/octave-mod.el (octave-smie-grammar):
4158         Rename from octave-smie-op-levels.
4159         (octave-smie-rules): Adjust to new behavior.
4160         * progmodes/prolog.el (prolog-smie-grammar):
4161         Rename from prolog-smie-op-levels.
4163 2010-11-07  Glenn Morris  <rgm@gnu.org>
4165         * eshell/esh-util.el (subst-char-in-string)
4166         (directory-files-and-attributes): These compatibility definitions are
4167         not needed on any version of Emacs since at least 21.4.
4169         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4170         (verilog-get-end-of-line): Remove.
4171         (verilog-within-string, verilog-re-search-forward-substr)
4172         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4173         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4174         Use point-at-bol, point-at-eol.
4175         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4176         Remove.
4177         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4178         (electric-pascal-terminate-line, pascal-set-auto-comments)
4179         (pascal-indent-paramlist, pascal-indent-declaration)
4180         (pascal-get-lineup-indent, pascal-func-completion)
4181         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4182         Use point-at-bol, point-at-eol.
4183         * progmodes/flymake.el (flymake-line-beginning-position)
4184         (flymake-line-end-position): Remove.
4185         (flymake-highlight-line): Use point-at-bol, point-at-eol.
4186         * eshell/esh-util.el (line-end-position, line-beginning-position):
4187         Remove compat definitions.
4189         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4190         Use end-of-line N.
4191         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4192         Use line-end-position.
4194         * emacs-lisp/chart.el (chart-zap-chars):
4195         * play/decipher.el (decipher-set-map):
4196         * progmodes/ada-mode.el (ada-get-current-indent)
4197         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4198         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4199         * progmodes/ada-xref.el (ada-initialize-runtime-library)
4200         (ada-get-all-references):
4201         * progmodes/cperl-mode.el (cperl-electric-paren)
4202         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4203         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4204         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4205         (cperl-word-at-point-hard):
4206         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4207         (idlwave-shell-filename-string, idlwave-shell-batch-command)
4208         (idlwave-shell-display-line):
4209         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4210         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4211         * progmodes/js.el (js--re-search-forward-inner)
4212         (js--re-search-backward-inner):
4213         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4214         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4215         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4216         * textmodes/flyspell.el (flyspell-process-localwords):
4217         * textmodes/ispell.el (ispell-buffer-local-parsing)
4218         (ispell-buffer-local-dict, ispell-buffer-local-words):
4219         Use point-at-bol and point-at-eol.
4221         * speedbar.el (speedbar-generic-item-info)
4222         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4223         (speedbar-add-indicator, speedbar-check-vc-this-line)
4224         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4225         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4226         Replace more uses of end-of-line etc with line-end-position.
4228 2010-11-06  Glenn Morris  <rgm@gnu.org>
4230         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4231         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4232         (texinfo-delete-existing-pointers, texinfo-find-pointer)
4233         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4234         (texinfo-multiple-files-update):
4235         * textmodes/table.el (table--probe-cell-left-up)
4236         (table--probe-cell-right-bottom):
4237         * textmodes/picture.el (picture-tab-search):
4238         * textmodes/page-ext.el (pages-copy-header-and-position)
4239         (pages-directory-for-addresses):
4240         * progmodes/vera-mode.el (vera-get-offset):
4241         * progmodes/simula.el (simula-calculate-indent):
4242         * progmodes/python.el (python-pdbtrack-overlay-arrow):
4243         * progmodes/prolog.el (end-of-prolog-clause):
4244         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4245         * progmodes/icon.el (indent-icon-exp):
4246         * progmodes/etags.el (tag-re-match-p):
4247         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4248         * progmodes/ebnf2ps.el (ebnf-begin-file):
4249         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4250         (dcl-save-local-variable):
4251         * play/life.el (life-setup):
4252         * play/gametree.el (gametree-looking-at-ply):
4253         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4254         * mail/sendmail.el (mail-mode-auto-fill):
4255         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4256         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4257         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4258         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4259         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4260         * type-break.el (type-break-file-keystroke-count):
4261         * term.el (term-replace-by-expanded-history-before-point)
4262         (term-skip-prompt, term-extract-string):
4263         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4264         (speedbar-contract-line, speedbar-toggle-line-expansion)
4265         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4266         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4267         * sort.el (sort-skip-fields):
4268         * skeleton.el (skeleton-internal-list):
4269         * simple.el (line-move-finish, line-move-to-column):
4270         * shell.el (shell-forward-command):
4271         * misc.el (copy-from-above-command):
4272         * makesum.el (double-column):
4273         * ebuff-menu.el (electric-buffer-update-highlight):
4274         * dired.el (dired-move-to-end-of-filename):
4275         * dframe.el (dframe-popup-kludge):
4276         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4277         * arc-mode.el (archive-get-lineno):
4278         Use line-end-position and line-beginning-position.
4280         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4281         (idlwave-study-twins): Prefix dynamic local `class'.
4282         (idlwave-routine-twin-compare): Update for above name change.
4284         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4285         Use boundp tests to silence compiler.  Update for changed name of
4286         bytecomp-filename variable.
4288         * emulation/viper-cmd.el (viper-read-string-with-history):
4289         Prefix dynamic local `initial'.
4290         (viper-minibuffer-standard-hook): Update for above name change.
4292         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4293         (elint-init-form): Update for above name change.
4295         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4296         local variables `cbeg' and `cend' a prefix.
4297         (mail-extr-voodoo): Update for above name change.
4299         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4300         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4301         (reftex-toc-promote-action): Doc fix.
4303         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4304         `prompt', `data' a prefix.
4305         (reftex-select-post-command-hook, reftex-select-callback)
4306         (reftex-select-mouse-accept, reftex-select-read-cite):
4307         Update for above name changes.
4309         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4310         `refstyle' to reftex-refstyle.
4311         (reftex-offer-label-menu): Update for above name change.
4312         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4313         `refstyle' name change.
4315         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4316         with with-current-buffer.
4317         (diff, template): Give dynamic local variables a prefix.
4318         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4319         (emerge-line-number-in-buf): Update for above name change.
4320         (emerge-combine-versions-internal): Rename local `template' to
4321         emerge-combine-template.
4322         (emerge-combine-versions-edit): Update for above name change.
4324 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4326         * textmodes/reftex-cite.el
4327         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4328         entries with whitespace after \bibitem.
4329         (reftex-create-bibtex-file): Match entries containing numbers and
4330         symbol constituents.  Make sure that entries with whitespace at
4331         various places are found.
4333 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4335         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4337 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4339         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4341 2010-11-05  Glenn Morris  <rgm@gnu.org>
4343         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4344         (woman2-roff-buffer): Give local variable `request' a prefix.
4345         (woman0-macro): Rename argument `request' in the same way.
4346         (woman-request): New name for `request' dynamic variable.
4347         (woman-unquote, woman-forward-arg): Update for above name change.
4348         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4349         (woman1-unquote): New name for `unquote' dynamic variable.
4350         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4351         (woman-translations): Rename from `translations'.  No longer global.
4352         (woman2-tr, woman-translate): Update for above name change.
4353         (woman-translate): Check for bound variable.
4354         (woman2-roff-buffer): Give local variable `translations' a prefix.
4356         * play/doctor.el: Give all local variables a prefix.  Update callers.
4357         (doc$, doctor-put-meaning): Use backquote.
4359         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4360         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4362         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4363         variables bytes, ptr, op a prefix.
4364         (disassemble-offset): Update for above change.
4366 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4368         * emacs-lisp/package.el (package-unpack): Remove no-op.
4369         (package--builtins, package--dir): Doc fix.
4370         (package-activate-1, package-activate, package-install)
4371         (package-compute-transaction): Fix error message.
4372         (package-delete): Use delete-directory.  Omit system packages.
4373         (package-initialize): Set package-alist to nil first.
4374         (package-menu-mark-delete, package-menu-mark-install): Don't add
4375         symbols that are inconsistent with the package state.
4376         (package-menu-execute): Perform deletions and installations as
4377         single batch operations.
4379 2010-11-03  Glenn Morris  <rgm@gnu.org>
4381         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4382         (props): Remove unnecessary declaration.
4384         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4385         set-process-query-on-exit-flag.
4387         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4388         (reftex-toc-do-promote): Remove unused local `mpos'.
4389         (reftex-toc-restore-region): Make `mpos' local to this function.
4391         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4393         * play/landmark.el (lm-losing-threshold): Correct spelling.
4394         (lm-human-plays): Use new name.
4396         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4397         (gomoku-human-plays): Use new name.
4399         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4400         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4401         (gomoku-score-trans-table, gomoku-winning-threshold)
4402         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4404 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4406         * emacs-lisp/package.el: Don't put built-in packages in
4407         package-alist, to avoid loading inefficiencies.
4408         (package-built-in-p): Make VERSION optional, and treat it as a
4409         minimum acceptable version.
4410         (package-activate): Search separately for built-in packages.
4411         Emit a warning if a dependency fails.
4412         (define-package): Handle most common case, where there is no
4413         obsolete package, first.
4414         (package-compute-transaction): Print required version in error.
4415         (package--initialized): New variable.
4416         (list-packages): Use it.
4417         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4418         built-in packages in packages-alist; keep it separate.
4419         Set package--initialized.
4420         (describe-package): Avoid activating packages as a side-effect.
4421         Search separately for built-in packages.
4422         (describe-package-1): Handle the case where an elpa package is
4423         simultaneously built-in and available/installed.
4424         (package-installed-p, package--generate-package-list):
4425         Search separately for built-in packages.
4426         (package-load-descriptor): Doc fix.
4428 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4430         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4431         Handle __DATA__ and __END__.
4433 2010-11-02  Noah Friedman  <friedman@splode.com>
4435         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4436         nil, do not ask to recompile files that are not already compiled,
4437         and do not recompile them.
4439 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4441         * emacs-lisp/package.el (package-initialize): Ensure that
4442         obsoleted built-in packages are not in package-activated-list
4443         during activation.
4444         (describe-package-1): Make the "installed" status override
4445         "built-in".
4447 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4449         * subr.el (version-separator, version-regexp-alist): Remove '*'
4450         from docstring.
4451         (version-list-<=, version<=, version=): Doc fix.
4453 2010-11-01  Kenichi Handa  <handa@m17n.org>
4455         * faces.el (glyphless-char): Inherit underline for tty.
4457 2010-11-01  Kenichi Handa  <handa@m17n.org>
4459         Implement various display methods for glyphless characters.
4461         * international/characters.el (char-acronym-table): New variable.
4462         (glyphless-char-control): New variable.
4463         (update-glyphless-char-display): New function.
4465         * faces.el (glyphless-char): New face.
4467 2010-11-01  Glenn Morris  <rgm@gnu.org>
4469         * calendar/holidays.el (general-holidays, oriental-holidays)
4470         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4471         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4472         the definitions of their targets.
4474         * emacs-lisp/smie.el (smie): New custom group.
4475         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4477         * faces.el (xw-defined-colors, x-setup-function-keys):
4478         * mouse-sel.el (x-select-text):
4479         * term/w32console.el (x-setup-function-keys): Update declarations.
4481         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4483         * textmodes/ispell.el (comment-add): Declare.
4485         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4486         Declare.
4488         * info.el (finder-keywords-hash, package-alist): Declare.
4490 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4492         * finder.el (finder-compile-keywords): Don't use intern-soft,
4493         since package names may not yet exist in the obarray.
4495 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4497         * vc/vc-arch.el (vc-arch-checkin):
4498         * vc/vc-cvs.el (vc-cvs-checkin):
4499         * vc/vc-mtn.el (vc-mtn-checkin):
4500         * vc/vc-rcs.el (vc-rcs-checkin):
4501         * vc/vc-sccs.el (vc-sccs-checkin):
4502         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4503         since 2010-04-21 commit by Stefan Monnier.
4505 2010-11-01  Glenn Morris  <rgm@gnu.org>
4507         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4509         * startup.el (package-enable-at-startup, package-initialize):
4510         Silence compiler.
4512         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4513         Silence compiler.
4515 2010-10-31  Julien Danjou  <julien@danjou.info>
4517         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4518         (byte-recompile-directory):
4519         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4520         Use `byte-recompile-file'.
4522 2010-10-31  Glenn Morris  <rgm@gnu.org>
4524         * cus-start.el: Handle standard values via a keyword.
4525         Only set version property if specified.
4526         (cursor-in-non-selected-windows, menu-bar-mode)
4527         (tool-bar-mode, show-trailing-whitespace):
4528         Do not specify standard values.
4529         (transient-mark-mode, temporary-file-directory): Use :standard.
4531 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4533         * term/x-win.el (x-get-selection-value): New function that gets
4534         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4536 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4538         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4539         preserve owner and group when editing files.  (Bug#7289)
4541 2010-10-31  Glenn Morris  <rgm@gnu.org>
4543         * speedbar.el (speedbar-mode):
4544         * play/fortune.el (fortune-in-buffer, fortune):
4545         * play/gomoku.el (gomoku-mode):
4546         * play/landmark.el (lm-mode):
4547         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4548         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4550         * select.el (x-selection): Mark it as an obsolete alias.
4552 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4554         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4555         major-mode (bug#7284).
4557 2010-10-31  Glenn Morris  <rgm@gnu.org>
4559         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4560         rather than just an unused variable that inherits from the real one.
4562 2010-10-31  Alan Mackenzie  <acm@muc.de>
4564         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4565         This fixes bug #7185.
4567 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4569         * startup.el (command-line): Search for package directories, and
4570         don't load package.el if none are found.
4572         * emacs-lisp/package.el (describe-package, list-packages):
4573         Call package-initialize if it has not been called yet.
4575 2010-10-30  Alan Mackenzie  <acm@muc.de>
4577         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4578         which fontifies the tail of an enum.
4579         (c-basic-matchers-after): Insert a call to the above new function.
4580         This fixes bug #7264.
4582 2010-10-30  Glenn Morris  <rgm@gnu.org>
4584         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4585         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4586         Include the :set property in the dumped Emacs.
4588 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4590         SMIE: change indent rules format, improve smie-setup.
4591         * emacs-lisp/smie.el (smie-precs-precedence-table)
4592         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4593         Mark them pure so the tables gets built at compile time.
4594         (smie-bnf-precedence-table): Store the closer-alist in the table.
4595         (smie-prec2-levels): Preserve the closer-alist.
4596         (smie-blink-matching-open): Be more forgiving in case of indentation.
4597         (smie-hanging-p): Rename from smie-indent--hanging-p.
4598         (smie-bolp): Rename from smie-indent--bolp.
4599         (smie--parent, smie--after): New dynamic vars.
4600         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4601         (smie-indent-rules): Remove.
4602         (smie-indent--offset-rule): Remove fun.
4603         (smie-rules-function): New var.
4604         (smie-indent--rule): New fun.
4605         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4606         (smie-indent-exps): Use it.
4607         (smie-setup): Setup paren blinking; add keyword args for token
4608         functions; extract closer-alist from op-levels.
4609         (smie-indent-debug-log): Remove var.
4610         (smie-indent-debug): Remove fun.
4611         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4612         (prolog-smie-rules): New fun to replace it.
4613         (prolog-mode-variables): Simplify.
4614         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4615         it's setup automatically.
4616         (octave-smie-indent-rules): Remove.
4617         (octave-smie-rules): New fun to replace it.
4618         (octave-mode): Simplify.
4620 2010-10-29  Glenn Morris  <rgm@gnu.org>
4622         * files.el (temporary-file-directory): Remove (already defined in C).
4623         * cus-start.el: Add temporary-file-directory.
4625         * abbrev.el (abbrev-mode):
4626         * composite.el (auto-composition-mode):
4627         * menu-bar.el (menu-bar-mode):
4628         * simple.el (transient-mark-mode):
4629         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4630         that they do not define the associated variables twice.
4631         * simple.el (transient-mark-mode): Remove defvar.
4632         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4633         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4634         Handle multiple groups, and also custom-delayed-init-variables.
4635         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4637 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4639         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4640         (pcase-if): Add one minor optimization.
4641         (pcase-split-equal): Rename from pcase-split-eq.
4642         (pcase-split-member): Rename from pcase-split-memq.
4643         (pcase-u1): Add strings to the member optimization.
4644         Add `guard' variant of predicates.
4645         (pcase-q1): Add string patterns.
4647 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4649         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4651 2010-10-28  Glenn Morris  <rgm@gnu.org>
4653         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4654         Move menu-bar related settings to ../menu-bar.el.
4655         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4656         Move ns-specific settings here from term/ns-win.el.
4658         * simple.el (x-selection-owner-p): Remove unused declaration.
4660 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4662         * minibuffer.el (completion-cycling): New var (bug#7266).
4663         (minibuffer-complete, completion--do-completion):
4664         Use completion--flush-all-sorted-completions.
4665         (minibuffer-complete): Only cycle if completion-cycling is set.
4666         (completion--flush-all-sorted-completions): Unset completion-cycling.
4667         (minibuffer-force-complete): Set completion-cycling.
4668         (completion-all-sorted-completions): Move declaration before first use.
4670 2010-10-28  Leo  <sdl.web@gmail.com>
4672         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4673         which changes the order of matches seen by users (bug#7231).
4675 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
4677         * progmodes/compile.el (compilation-mode-font-lock-keywords):
4678         Don't confuse -omega as "-o mega".
4680 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4682         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4683         (log-edit-author): New dynamic var.
4684         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4685         to return the author if different from committer.
4686         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4688         * play/landmark.el: Adjust commenting convention.
4689         (lm-nil-score): Rename from nil-score.
4690         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4691         (OOOOscore): Move into a let in lm-score-trans-table.
4692         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4694         * electric.el (electric-indent-chars): Autoload.
4695         * progmodes/octave-mod.el (octave-mode):
4696         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4697         (ruby-mode-abbrev-table): Merge initialization and declaration.
4699 2010-10-27  Glenn Morris  <rgm@gnu.org>
4701         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4702         variable.
4704         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4706         * term/ns-win.el: Restore require of cl when compiling.
4707         (menu-bar-final-items): Remove non-existent `windows' menu.
4708         (ns-handle-nxopen): Optionally handle the temp-case.
4709         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4710         (ns-insert-file, ns-find-file): Use `pop'.
4712 2010-10-26  Glenn Morris  <rgm@gnu.org>
4714         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4716 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
4718         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4719         global map.
4720         * term/common-win.el (x-setup-function-keys): Remove most of the
4721         keymappings.  Comment on the remaining ones.
4723 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
4725         * server.el (server-port): New option.  (Bug#854)
4726         (server-start): Use server-port.
4728 2010-10-26  Glenn Morris  <rgm@gnu.org>
4730         * term/ns-win.el (ns-version-string): Remove unused declaration.
4731         (ns-invocation-args): Change to x-invocation-args.
4732         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4733         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4734         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4735         Use x-invocation-args instead of ns-invocation-args.
4736         (ns-initialize-window-system, handle-args-function-alist):
4737         Use x-handle-args instead of ns-handle-args.
4738         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4739         * startup.el (command-line-ns-option-alist): Replace
4740         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4741         ns-handle-iconic with the x- equivalents.
4743         * term/common-win.el (x-select-enable-clipboard):
4744         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4746         * term/ns-win.el: No need to require cl when compiling.
4747         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4748         (xw-defined-colors): Use the common-win definitions.
4749         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4750         (ns-handle-iconic): Make it an alias for x-handle-iconic.
4751         * term/common-win.el (x-select-text, x-alternatives-map)
4752         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4753         * loadup.el [ns]: Load common-win.
4755 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
4757         * epa-mail.el (epa-mail-encrypt): Handle local-part only
4758         recipients; expand mail aliases (Bug#7280).
4760 2010-10-25  Glenn Morris  <rgm@gnu.org>
4762         * term/common-win.el (x-handle-switch): Simplify with pop.
4763         Optionally handle numeric switches.
4764         (x-handle-numeric-switch): Just call x-handle-switch.
4765         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4766         (x-handle-name-switch, x-handle-display, x-handle-args):
4767         Simplify with pop.
4769         * term/ns-win.el: Do not require easymenu.
4770         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4771         <spell>: Move adjustments to menu-bar.el.
4772         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4773         <separator-undo, spell>: Move ns-win's adjustments here.
4774         * loadup.el [ns]: Do not load easymenu.
4776 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4778         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4779         Delete (Bug#7222).
4781         * startup.el (fancy-startup-tail): Instead of using inline images,
4782         refer to image files from etc/.
4784         * wid-edit.el (checkbox): Likewise.
4785         (widget-image-find): Center image specs.
4787 2010-10-24  Glenn Morris  <rgm@gnu.org>
4789         * term/ns-win.el (x-select-text): Doc fix.
4790         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4791         (x-select-text): Move to term/common-win.
4792         * term/w32-win.el (xw-defined-colors): Move to common-win.
4793         * term/x-win.el (xw-defined-colors, x-alternatives-map)
4794         (x-setup-function-keys, x-select-text): Move to common-win.
4795         * term/common-win.el (x-select-text, x-alternatives-map)
4796         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4797         definitions here.
4799 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
4801         * net/mairix.el (mairix-searches-mode-map):
4802         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4804 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
4806         * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
4807         auto-built for efficiency of execution and updating.
4808         (verilog-extended-complete-re): Support 'pure' fucntion & task
4809         declarations (these have no bodies).
4810         (verilog-beg-of-statement): General cleanup to enable support of
4811         'pure' fucntion & task declarations (these have no bodies).
4812         These efforts together fix Verilog bug210 from veripool; which was also
4813         noticed by Steve Pearlmutter.
4814         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4815         (verilog-directive-nest-re, verilog-set-auto-endcomments):
4816         Support `elsif.  Reported by Shankar Giri.
4817         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4818         attribute handling for lining up declarations and assignments.
4819         (verilog-beg-of-statement-1): Fix issue where continued declaration
4820         is indented differently if it is after a begin..end clock.
4821         (verilog-in-attribute-p, verilog-skip-backward-comments)
4822         (verilog-skip-forward-comment-p): Support proper treatment of
4823         attributes by indent code.  Reported by Jeff Steele.
4824         (verilog-in-directive-p): Fix comment to correctly describe function.
4825         (verilog-backward-up-list, verilog-in-struct-region-p)
4826         (verilog-backward-token, verilog-in-struct-p)
4827         (verilog-in-coverage-p, verilog-do-indent)
4828         (verilog-pretty-declarations): Use verilog-backward-up-list as
4829         wrapper around backward-up-list inorder to properly skip comments.
4830         Reported by David Rogoff.
4831         (verilog-property-re, verilog-endcomment-reason-re)
4832         (verilog-beg-of-statement, verilog-set-auto-endcomments)
4833         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4834         of if).  Reported by Max Bjurling and
4835         (verilog-calc-1): Fix for clocking block in modport
4836         declaration.  Reported by Brian Hunter.
4838 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
4840         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4841         (verilog-gate-keywords, verilog-read-sub-decls)
4842         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4843         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4844         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
4845         (verilog-read-decls): Fix spaces in V2K module parameters causing
4846         mis-identification as interfaces, bug287.
4847         (verilog-read-decls): Fix not treating "parameter string" as a
4848         parameter in AUTOINSTPARAM.
4849         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4850         treating `elsif similar to `endif inside AUTOSENSE.
4851         (verilog-do-indent): Implement correct automatic or static task or
4852         function end comment highlight.  Reported by Steve Pearlmutter.
4853         (verilog-font-lock-keywords-2): Fix highlighting of single
4854         character pins, bug264.  Reported by Michael Laajanen.
4855         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4856         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4857         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4858         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
4859         (verilog-pretty-expr): Fix interactive arguments, bug272.
4860         Reported by Mark Johnson.
4861         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4862         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4863         bug269.  Suggested by Gary Delp.
4864         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4865         (verilog-preprocessor, verilog-set-compile-command):
4866         Create verilog-preprocess and verilog-preprocessor to show
4867         preprocessed output.
4868         (verilog-get-beg-of-line, verilog-get-end-of-line)
4869         (verilog-modi-file-or-buffer, verilog-modi-name)
4870         (verilog-modi-point, verilog-within-string): Move defmacro's
4871         before first use to avoid warning.  Reported by Steve Pearlmutter.
4872         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4873         (verilog-colorize-region, verilog-highlight-buffer)
4874         (verilog-highlight-includes, verilog-highlight-modules)
4875         (verilog-highlight-region, verilog-mode): Rename colorize to
4876         highlight to match other packages.  Disable module highlighting,
4877         as received speed complaints, reenable for experimentation only
4878         using new verilog-highlight-modules.
4879         (verilog-read-decls): Fix regexp stack overflow in very large
4880         AUTO_TEMPLATEs, bug250.
4881         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4882         (verilog-scan): Create verilog-save-buffer-state to standardize
4883         making insignificant changes that shouldn't call hooks.
4884         (verilog-save-no-change-functions, verilog-save-scan-cache)
4885         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4886         Create verilog-save-no-change-functions to wrap verilog-scan
4887         preservation, and fix to work with nested preserved calls.
4888         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4889         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4890         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
4891         (verilog-submit-bug-report): Update variable list to be complete.
4892         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4893         breaking on-the-fly font-locking.
4894         (verilog-colorize-buffer, verilog-colorize-include-files)
4895         (verilog-colorize-include-files-buffer, verilog-colorize-region)
4896         (verilog-load-file-at-mouse, verilog-load-file-at-point)
4897         (verilog-mode, verilog-read-inst-module-matcher): With point on a
4898         AUTOINST cell instance name, middle mouse button now finds-file on
4899         it.  Suggested by Brad Dobbie.
4900         (verilog-alw-get-temps, verilog-auto-reset)
4901         (verilog-auto-sense-sigs, verilog-read-always-signals)
4902         (verilog-read-always-signals-recurse): Fix loop indexes being
4903         AUTORESET.  AUTORESET now assumes any variables in the
4904         initialization section of a for() should be ignored.
4905         Reported by Dan Dever.
4906         (verilog-error-font-lock-keywords)
4907         (verilog-error-regexp-emacs-alist)
4908         (verilog-error-regexp-xemacs-alist): Fix error detection of
4909         Cadence HAL, reported by David Asher.  Repair drift between the
4910         three similar error variables.
4911         (verilog-modi-lookup, verilog-modi-lookup-cache)
4912         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4913         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4914         Fix slow verilog-auto expansion on very large files.
4915         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4916         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4917         "{1*2{...".  Broke in last revision.
4918         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4919         submodule connections with replications "{#{a},#{b}}".
4921 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
4923         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4924         Fix typo in docstring.
4926 2010-10-24  Kenichi Handa  <handa@m17n.org>
4928         * face-remap.el (text-scale-adjust): Call read-event with a proper
4929         prompt.
4931 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4933         * emacs-lisp/unsafep.el: Don't mark functions that display
4934         messages as safe.  Suggested by Johan Bockgård.
4936 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4938         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4939         Turn comments into docstrings.
4941         * minibuffer.el (completion--replace): Move point where it belongs
4942         when there's a common suffix (bug#7215).
4944 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4946         Merge read-color and facemenu-read-color (Bug#7242).
4948         * faces.el (read-color): Use the completion code from
4949         facemenu-read-color.  Require match in completion.  Doc fix.
4951         * facemenu.el (facemenu-read-color): Alias for read-color.
4952         (facemenu-set-foreground, facemenu-set-background):
4953         Use read-color.
4955         * frame.el (set-background-color, set-foreground-color)
4956         (set-cursor-color, set-mouse-color, set-border-color):
4957         Use read-color.
4959 2010-10-24  Leo  <sdl.web@gmail.com>
4961         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4962         argument of delete-file and delete-directory (Bug#7011).
4964 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4966         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4967         button-buffer-map.
4969 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
4971         * emacs-lisp/package.el (package--generate-package-list): Make the
4972         *Packages* buffer read-only.
4974 2010-10-24  Alan Mackenzie  <acm@muc.de>
4976         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4977         result of `c-beginning-of-decl-1' between invocations of a lambda
4978         function (Bug #7265).
4980 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
4982         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4983         executable is not available on the system (Bug#7268).
4985 2010-10-24  Glenn Morris  <rgm@gnu.org>
4987         * select.el (selection-coding-system, next-selection-coding-system):
4988         Sync doc with C versions.
4990         * w32-vars.el (x-select-enable-clipboard):
4991         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4992         * term/common-win.el (x-select-enable-clipboard): Move here.
4994         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4995         definition of C variable.
4997         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4998         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4999         Don't redefine things that are defined in C.
5000         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5001         (show-trailing-whitespace, auto-hscroll-mode)
5002         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5003         Set up the appropriate custom properties.
5005 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
5007         Bind "C-c ]" to ...
5008         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5009         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5010         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5011         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5013 2010-10-23  Glenn Morris  <rgm@gnu.org>
5015         * textmodes/flyspell.el (flyspell-mode): If there was an error,
5016         say what it was.
5018         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5019         Sync docs with C version.
5021         * term/ns-win.el (xw-defined-colors):
5022         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5024         * term/pc-win.el (x-select-enable-clipboard):
5025         * term/x-win.el (x-select-enable-clipboard):
5026         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5028         * comint.el (comint-password-prompt-regexp): Make it less vague.
5029         Bump version.
5031         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5033         * help.el (finder-by-keyword): Remove unnecessary autoload.
5035 2010-10-22  Glenn Morris  <rgm@gnu.org>
5037         * loadup.el: Unconditionally load float-sup.
5038         * paren.el (show-paren-delay):
5039         * emacs-lisp/float-sup.el:
5040         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5041         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5042         (lazy-lock-stealth-verbose): Assume float support.
5043         * ps-print.el: Assume float support on Emacs.
5044         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5045         Remove non-float branch.
5047         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5048         src/Makefile no longer being pre-processed.
5050 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5052         * emacs-lisp/find-func.el (find-library): Use test-completion.
5054 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5056         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5058 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
5060         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5061         space in stat format string.
5062         (tramp-send-command): Unset $PS1 when using here documents, in
5063         order not to get several prompts.
5064         (tramp-get-inline-coding): Return `nil' in case of errors.
5066 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
5068         * hexl.el (hexl-mode, hexl-mode-exit):
5069         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5070         (hexl-revert-buffer-function): New function.
5071         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5073 2010-10-19  Alan Mackenzie  <acm@muc.de>
5075         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5076         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5077         that these keywords aren't wrongly matched as identifiers.
5079         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5080         setting of c-new-BEG and c-new-END from c-before-change to
5081         c-after-change.  (Bug#7181)
5083 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5085         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5086         Don't mark as safe.
5088         * custom.el (custom-theme-set-variables): Likewise.
5089         (load-theme): Add custom-theme-set-faces and
5090         custom-theme-set-variables to safe-functions while loading.
5091         (custom-enabled-themes): Mark as risky.
5093 2010-10-18  Julien Danjou  <julien@danjou.info>
5095         * bindings.el: Remove end dashes in default mode-line-format.
5097 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5099         * bindings.el (global-map): Bind C-d to delete-char and deletechar
5100         to delete-forward-char.
5102         * simple.el (normal-erase-is-backspace-mode): Remap delete to
5103         deletechar, and hence delete-forward-char.
5105 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5107         * repeat.el (repeat): Use read-key (bug#6256).
5109 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
5111         * emacs-lisp/unsafep.el: Don't mark functions that display
5112         messages as safe.  Suggested by Johan Bockgård.
5114 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5116         * minibuffer.el (completion--replace): Move point where it belongs
5117         when there's a common suffix (bug#7215).
5119 2010-10-19  Kenichi Handa  <handa@m17n.org>
5121         * international/characters.el: Add category '|' (word breakable)
5122         to fullwidth characters.
5124 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
5126         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5127         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5128         order to make stat results a float.  Patch by Andreas Schwab
5129         <schwab@linux-m68k.org>.
5131 2010-10-18  Julien Danjou  <julien@danjou.info>
5133         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5134         hidden by `make-pointer-invisible'.
5136 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5138         * files.el (locate-file-completion-table): Strip non-matching elements
5139         before checking length of list (bug#7238).
5141 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
5143         * custom.el (custom-theme-set-variables): Mark as a safe function.
5144         (load-theme): Check forms using unsafep.
5146         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5148 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
5150         * textmodes/ispell.el (ispell-aspell-find-dictionary):
5151         Fix aspell data file searching (bug#7230).
5153 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5155         * cus-theme.el (custom-theme--migrate-settings): New var.
5156         (customize-create-theme): Allow editing the `user' theme.
5157         (custom-theme-add-variable, custom-theme-add-var-1)
5158         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5159         to the front of each variable or face widget.
5160         (custom-theme-write): Save theme settings in the correct order.
5161         Optionally, remove saved settings from user customizations.
5162         (custom-theme-write-variables, custom-theme-write-faces):
5163         Save only the checked widgets.
5164         (customize-themes): Add a link for migrating custom settings.
5166         * custom.el (custom-declare-theme, provide-theme):
5167         Use custom-theme-name-valid-p.
5168         (custom-theme-name-valid-p): Remove checks that are now
5169         unnecessary since themes no longer obey load-path.
5171         * cus-edit.el (custom-variable-value-create): For the simple
5172         style, hide documentation string when hidden.
5174 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5176         * cus-edit.el (custom-variable, custom-face): Combine the
5177         :inhibit-magic and :display-style properties into a single
5178         :custom-style property.
5179         (custom-toggle-hide-variable, custom-toggle-hide-face):
5180         New functions.  If hiding an edited value, save it to :shown-value.
5181         (custom-variable-value-create, custom-face-value-create): Use them.
5182         (custom-magic-reset): Allow magic property to be unset.
5184         * custom.el: Custom themes no longer use load-path.
5185         (custom-theme-load-path): New option.  Change built-in theme
5186         directory to etc/.
5187         (custom-enabled-themes): Add custom-theme-load-path dependency.
5188         (custom-theme--load-path): New function.
5189         (load-theme, custom-available-themes): Use it.
5191         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5192         (customize-themes): Link to custom-theme-load-path variable.
5193         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5194         :custom-style property.
5196         * themes/*.el: Moved to etc/.
5198 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
5200         * textmodes/reftex-cite.el
5201         (reftex-extract-bib-entries-from-thebibliography): Do not move
5202         point when searching for \bibitem entries.  Match entries with
5203         spaces or tabs in front of arguments.
5205 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
5207         * cus-theme.el (customize-create-theme): Delete overlays after
5208         erasing.  If given a THEME arg, display only the faces of that arg
5209         instead of custom-theme--listed-faces.
5210         (custom-theme-variable-menu, custom-theme-variable-action)
5211         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5212         (custom-theme-add-variable, custom-theme-add-face): Apply value
5213         from the theme settings, instead of the current value.
5214         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5215         (custom-theme-visit-theme): Allow calling outside theme buffers.
5216         (custom-theme-merge-theme): Don't enable the theme when merging.
5217         (custom-theme-write-variables, custom-theme-write-faces): Use the
5218         :shown-value properties to save buffer values, not global ones.
5219         (customize-themes): Display a warning about user customizations.
5221         * cus-edit.el (custom-variable-value-create)
5222         (custom-face-value-create): Obey new special properties
5223         :shown-value and :inhibit-magic.
5225 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
5227         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5228         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
5229         <dale@codefu.org>.
5231 2010-10-14  Kenichi Handa  <handa@m17n.org>
5233         * mail/rmail.el (rmail-show-message-1): Catch an error of
5234         base64-decode-region and just show an error message (bug#7165).
5236         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
5237         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5238         a font-spec (bug#7197).
5240 2010-10-14  Glenn Morris  <rgm@gnu.org>
5242         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5244 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
5246         * international/mule.el (define-coding-system):
5247         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5248         * composite.el (compose-region): Fix typo in docstring.
5250 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5252         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5253         only after checking the theme-face property.
5255         * faces.el (face-spec-reset-face): Reset all attributes in one
5256         single call to set-face-attribute.
5257         (face-spec-match-p): Make it a defsubst.
5258         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5259         (x-create-frame-with-faces, tty-create-frame-with-faces)
5260         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5261         frame-set-background-mode, since they are recomputed immediately
5262         afterwards in face-set-after-frame-default.
5263         (face-set-after-frame-default): Minor optimization.
5264         (cursor): Provide non-trivial defface spec.
5266         * custom.el (custom-theme-recalc-face): Simplify.
5268 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5270         * calc/calc-alg.el (math-var): Rename from `var'.
5271         (math-is-polynomial, math-is-poly-rec): Replace `var'
5272         with `math-var'.
5274         * calc/calcalg2.el (math-var): Rename from `var'.
5275         (calcFunc-table, math-scan-for-limits): Replace `var'
5276         with `math-var'.
5278 2010-10-13  Glenn Morris  <rgm@gnu.org>
5280         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5282 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5284         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5286 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5288         * net/tls.el (tls-program): Remove spurious %s from openssl.
5289         (tls-starttls-switches): Remove starttls hack.
5290         (open-tls-stream): Ditto.
5291         (tls-find-starttls-argument): Ditto.
5293 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5295         * image.el (image-library-alist): Declare as obsolete alias.
5296         (image-type-available-p): Use `dynamic-library-alist'.
5298         * term/w32-win.el (dynamic-library-alist):
5299         Use instead of `image-library-alist'.
5301 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5303         * subr.el (last): Make it faster.  (Bug#7174)
5305 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5307         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5309 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5311         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5312         (describe-theme-1): Extract doc from unloaded themes.
5314         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5316         * themes/tango-theme.el:
5317         * themes/tango-dark-theme.el:
5318         * themes/wheatgrass-theme.el: New files.
5320 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5322         * cus-theme.el (describe-theme, customize-themes)
5323         (custom-theme-save): New commands.
5324         (custom-new-theme-mode-map): Bind C-x C-s.
5325         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5326         (customize-create-theme): New optional arg THEME.
5327         (custom-theme-revert): Use it.
5328         (custom-theme-visit-theme): Remove dead code.
5329         (custom-theme-merge-theme): Use custom-available-themes.
5330         (custom-theme-write): Make interactive.
5331         (custom-theme-write): Use custom-theme-name-valid-p.
5332         (describe-theme-1, custom-theme-choose-revert)
5333         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5334         New funs.
5335         (custom-theme-allow-multiple-selections): New option.
5336         (custom-theme-choose-mode): New major mode.
5338         * custom.el (custom-theme-set-variables): Remove dead code.
5339         Obey custom--inhibit-theme-enable.
5340         (custom--inhibit-theme-enable): New var.
5341         (provide-theme): Obey it.
5342         (load-theme): Replace load with manual read/eval, in order to
5343         check for correctness.  Use custom-theme-name-valid-p.
5344         (custom-theme-name-valid-p): New function.
5345         (custom-available-themes): Use it.
5347         * cus-edit.el (custom--initialize-widget-variables): New function.
5348         (Custom-mode): Use it.
5350         * cus-face.el (custom-theme-set-faces): Remove dead code.
5351         Obey custom--inhibit-theme-enable.
5353         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5355 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5357         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5359 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5361         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5362         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5363         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5365         * cus-start.el (all): ns-right-alternate-modifier is new.
5367 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5369         * emacs-lisp/lisp.el (lisp-completion-at-point):
5370         Use emacs-lisp-mode-syntax-table for the whole function.
5372 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5374         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5375         instead of font-lock-mode before adding keywords.
5376         Remove hi-lock-mode off code.  Remove inhibit hack.
5377         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5378         non-nil; removed hook inhibit hack.
5380 2010-10-12  Glenn Morris  <rgm@gnu.org>
5382         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5383         (load-path-shadows-find): ... to this.
5384         (list-load-path-shadows): Update for above change.
5386         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5388 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5390         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5391         Fix comment for declare-function.
5393 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5395         * custom.el (custom-fix-face-spec): New function; code moved from
5396         custom-face-edit-fix-value.
5397         (custom-push-theme): Use it when checking if a face has been
5398         changed outside customize.
5399         (custom-available-themes): New function.
5400         (load-theme): Use it.
5402         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5404         * custom.el (custom-push-theme): Cleanup (use cond).
5405         (disable-theme): Recompute the saved-face property.
5406         (custom-theme-recalc-face): Follow face alias before setting prop.
5408         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5409         New variables, containing checkbox images.
5411         * startup.el (fancy-startup-tail):
5412         * wid-edit.el (checkbox): Use them.
5414 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5416         * shell.el (shell-mode-map):
5417         * progmodes/modula2.el (m2-mode-map):
5418         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5419         * play/mpuz.el (mpuz-mode-map):
5420         * play/landmark.el (lm-mode-map):
5421         * play/decipher.el (decipher-mode-map):
5422         * play/5x5.el (5x5-mode-map):
5423         * net/telnet.el (telnet-mode-map):
5424         * net/quickurl.el (quickurl-list-mode-map):
5425         * net/mairix.el (mairix-searches-mode-map):
5426         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5427         * net/dig.el (dig-mode-map):
5428         * mail/mspools.el (mspools-mode-map):
5429         * hexl.el (hexl-mode-map):
5430         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5431         (wordstar-C-o-map, wordstar-C-q-map):
5432         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5433         * emacs-lisp/chart.el (chart-map):
5434         * edmacro.el (edmacro-mode-map):
5435         * erc/erc-list.el (erc-list-menu-mode-map):
5436         * array.el (array-mode-map): Declare and define in one step.
5438         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5440 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5442         * epa.el (epa-passphrase-callback-function): Display filename
5443         passed as the 3rd arg.
5444         * epa-file.el (epa-file-passphrase-callback-function):
5445         Pass filename to epa-passphrase-callback-function.
5447 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5449         * cus-edit.el (custom-face-widget-to-spec)
5450         (custom-face-get-current-spec, custom-face-state): New functions.
5451         (custom-face-set, custom-face-mark-to-save)
5452         (custom-face-value-create, custom-face-state-set): Use them.
5454         * cus-theme.el (custom-theme--listed-faces): New var.
5455         (customize-create-theme): Use *Custom Theme* as the buffer name.
5456         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5457         faces listed in custom-theme--listed-faces.
5458         (custom-theme-revert): New function.
5459         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5460         bottom of the list.
5461         (custom-theme-write): Prompt for theme name if empty.
5462         (custom-theme-write-variables): Use dolist.
5463         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5465 2010-10-09  Alan Mackenzie  <acm@muc.de>
5467         Enhance fontification of declarators to take account of the
5468         presence/absence of "typedef".
5470         * cc-engine.el (c-forward-type): New &optional param
5471         "brace-block-too".
5472         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5473         presence of either or both of a "struct"-like keyword and "typedef".
5475         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5476         fontification of declarators which follow a "}".
5477         (c-font-lock-declarations): Fontify declarators according to the
5478         presence/absence of "typedef".
5480         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5481         for "typedef".
5482         (c-typedef-decl-key): New lang variable built from
5483         c-typedef-decl-kwds.
5485 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5487         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5488         since that's too annoying.  Move the filter groups commands to
5489         TAB/backtab.
5491         * epa.el (epa-passphrase-callback-function): Say what we're
5492         querying the password for.
5494         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5495         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5497 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5499         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5500         (custom-magic-value-create): Pad button tags with spaces.
5501         (custom-face-edit): New variable.
5502         (custom-face-value-create): Determine whether to use the usual
5503         face editor here, instead of using custom-face-selected.
5504         Pass face defaults to custom-face-edit widget.
5505         (custom-face-selected, custom-display-unselected): Delete widgets.
5506         (custom-display-unselected-match): Function removed.
5507         (custom-face-set, custom-face-mark-to-save):
5508         Accept custom-face-edit widgets as the direct widget child.
5510         * wid-edit.el (widget--completing-widget): New var.
5511         (widget-default-complete): Bind it when doing completion.
5512         (widget-string-complete, widget-file-complete): Use it.
5514 2010-10-09  Glenn Morris  <rgm@gnu.org>
5516         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5517         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5518         (holiday-hebrew-misc): Small simplifications.
5520         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5522         * net/browse-url.el: Don't require thingatpt, term, dired,
5523         executable, or w3-auto when compiling.
5524         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5525         Declare.
5526         (browse-url-text-emacs): Require term.
5528 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5530         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5532 2010-10-08  Glenn Morris  <rgm@gnu.org>
5534         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5536         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5537         (shadows-compare-text-p): Make it an obsolete alias for...
5538         (load-path-shadows-compare-text): ... new name.
5539         (find-emacs-lisp-shadows): Update for above name change.
5540         (load-path-shadows-same-file-or-nonexistent): New name for the old
5541         shadow-same-file-or-nonexistent.
5543 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5545         * minibuffer.el (completion--some, completion--do-completion)
5546         (minibuffer-complete-and-exit, minibuffer-completion-help)
5547         (completion-basic-try-completion)
5548         (completion-basic-all-completions)
5549         (completion-pcm--find-all-completions): Use lexical-let to
5550         avoid some false matches in variable completion (Bug#7056)
5552 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5554         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5556 2010-10-08  Leo  <sdl.web@gmail.com>
5558         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5559         return non-nil if the file exists (Bug#7090).
5561 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5563         * minibuffer.el (completion--replace):
5564         Better preserve markers (bug#7138).
5566 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5568         * server.el (server-process-filter): Doc fix.
5570 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5572         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5574 2010-10-08  Glenn Morris  <rgm@gnu.org>
5576         * vc/ediff-wind.el (ediff-setup-control-frame):
5577         * vc/ediff-ptch.el (ediff-default-backup-extension):
5578         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5579         (ediff-exec-process): Remove system-types emx, windows-95.
5581         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5583 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5585         * cus-edit.el (custom-variable, custom-face): Doc fix.
5586         (custom-face-edit): Add value-create attribute.
5587         (custom-face-edit-value-create)
5588         (custom-face-edit-value-visibility-action): New functions.
5589         Hide unused face attributes by default, and add a visibility toggle.
5590         (custom-face-edit-deactivate): Show empty values with shadow face.
5591         (custom-face-selected): Only use this for face specs with default
5592         attributes.
5593         (custom-face-value-create): Cleanup.
5595         * wid-edit.el (widget-checklist-value-create): Use dolist.
5596         (widget-checklist-match-find): Make second arg optional.
5598 2010-10-07  Glenn Morris  <rgm@gnu.org>
5600         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5601         Prefix things.
5603         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5604         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5605         load-path-shadows-mode, update references.
5606         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5607         Rename variable and button.
5608         (list-load-path-shadows): Update button caller.
5610 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5612         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5613         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5614         (smie-merge-prec2s): Handle those new entries.
5615         (smie-prec2-levels): Only set precedence to nil for actual
5616         openers/closers.
5617         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5618         that is now unnecessary.
5620 2010-10-07  Miles Bader  <miles@gnu.org>
5622         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5624 2010-10-07  Glenn Morris  <rgm@gnu.org>
5626         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5627         (mail-position-on-field): Remove declarations.
5628         (mail-position-on-field): Autoload it.
5629         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5630         and mail-header-end.  Don't require sendmail.
5632         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5633         (shadow-mode): New mode.
5634         (shadow-find-file): New button.
5635         (list-load-path-shadows): Use shadow-mode and buttons.
5637         * iimage.el (iimage-version): Remove.
5638         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5639         Turn into defcustoms.
5640         (iimage-mode-map): Give it a doc string.
5642         * calendar/appt.el (appt-activate): Give a warning rather than an error
5643         if there is no diary-file.
5645 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5647         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5648         Use `tramp-handle-find-backup-file-name'.
5650 2010-10-06  Glenn Morris  <rgm@gnu.org>
5652         * font-core.el (font-lock-defaults-alist): Remove variable.
5653         (font-lock-mode): Doc fix.
5654         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5655         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5656         (font-lock-set-defaults): Doc fix.
5657         Do not consult font-lock-defaults-alist.
5659         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5661         * emacs-lisp/cl.el: No longer provide cl-19.
5663 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5665         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5666         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5667         New defuns, taken from tramp-smb.el.
5668         (tramp-coding-system-change-eol-conversion)
5669         (tramp-set-process-query-on-exit-flag): Remove.
5671         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5672         (tramp-compat-coding-system-change-eol-conversion)
5673         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5674         from tramp.el.
5676         * net/tramp-gvfs.el:
5677         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5678         by `tramp-compat-set-process-query-on-exit-flag'.
5680         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5681         Use `tramp-handle-directory-files-and-attributes',
5682         `tramp-handle-file-exists-p' and
5683         `tramp-handle-file-newer-than-file-p'.
5684         (tramp-imap-handle-file-exists-p)
5685         (tramp-imap-handle-file-executable-p)
5686         (tramp-imap-handle-file-readable-p)
5687         (tramp-imap-handle-directory-files-and-attributes)
5688         (tramp-imap-handle-file-newer-than-file-p): Remove.
5690         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5691         by `tramp-compat-set-process-query-on-exit-flag' and
5692         `tramp-coding-system-change-eol-conversion' by
5693         `tramp-compat-coding-system-change-eol-conversion'.
5695         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5696         Use `tramp-handle-directory-files-and-attributes',
5697         `tramp-handle-file-exists-p' and
5698         `tramp-handle-file-newer-than-file-p'.
5699         (tramp-smb-handle-directory-files-and-attributes)
5700         (tramp-smb-handle-file-exists-p)
5701         (tramp-smb-handle-file-newer-than-file-p): Remove.
5702         (tramp-smb-maybe-open-connection):
5703         Replace `tramp-set-process-query-on-exit-flag' by
5704         `tramp-compat-set-process-query-on-exit-flag'.
5706 2010-10-05  Glenn Morris  <rgm@gnu.org>
5708         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5710 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
5712         Continue reorganization of load dependencies.  (Bug#7156)
5714         * net/tramp.el (tramp-handle-file-local-copy-hook)
5715         (tramp-delete-temp-file-function): Move down.
5716         (tramp-exists-file-name-handler): Move up.
5717         (tramp-register-file-name-handlers): Simplify autoload.
5718         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5719         (tramp-handle-directory-files, tramp-handle-dired-uncache)
5720         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5721         (tramp-handle-file-name-completion)
5722         (tramp-handle-file-name-directory)
5723         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5724         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5725         (tramp-handle-find-backup-file-name)
5726         (tramp-handle-insert-file-contents, tramp-handle-load)
5727         (tramp-handle-substitute-in-file-name)
5728         (tramp-handle-unhandled-file-name-directory)
5729         (tramp-mode-string-to-int, tramp-local-host-p)
5730         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5732         * net/tramp-gvfs.el (top):
5733         * net/tramp-smb.el (top): Do not require 'tramp-sh.
5735         * net/tramp-sh.el (all): Move several objects to tramp.el, see
5736         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5738 2010-10-04  Glenn Morris  <rgm@gnu.org>
5740         * calendar/appt.el (appt-add): Ensure reminders are enabled.
5741         (appt-activate): Give status messages.
5743 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5745         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
5746         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5747         `gnutls-negotiate' (formerly `starttls-negotiate').
5748         Remove trivial wrapper `starttls-open-stream'.
5750 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
5752         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5753         log-outgoing commands.
5754         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5755         to create a buffer local revert-buffer-function variable.
5756         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5757         revert-buffer-function lambda.
5759 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5761         * net/gnutls.el (starttls-negotiate): Use the plist interface to
5762         `gnutls-boot'.  Make TYPE the only required parameter.
5763         Allow TRUSTFILES and KEYFILES to be lists.
5764         (open-ssl-stream): Use it.
5766 2010-10-03  Glenn Morris  <rgm@gnu.org>
5768         * subr.el (directory-sep-char): Remove obsolete variable.
5769         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5770         it is "necessary".
5772         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5773         * vc/vc.el (vc-static-header-alist): Doc fix.
5774         * vc/vc-cvs.el (vc-cvs-header):
5775         * vc/vc-rcs.el (vc-rcs-header):
5776         * vc/vc-sccs.el (vc-sccs-header):
5777         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5778         * obsolete/vc-mcvs.el (vc-mcvs-header):
5779         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5780         on XEmacs.
5782 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5784         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5785         Remove obsolete use of binary-overwrite-mode (Bug#7001).
5787 2010-10-03  Glenn Morris  <rgm@gnu.org>
5789         * obsolete/x-menu.el: Remove file, obsolete since 21.1
5791         * textmodes/rst.el (rst-font-lock-keywords-function):
5792         Drop Emacs 20 code.
5794         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5796         * printing.el: Drop Emacs 20 code.
5798         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5799         without having used appt.el already).
5801         * subr.el (make-local-hook): Remove function obsolete since 21.1.
5802         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5803         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5804         XEmacs.
5805         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5806         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5808         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5809         (charset-width, find-charset-region, chars-in-region, forward-point)
5810         (encode-coding-string, coding-system-p, ccl-execute-on-string)
5811         (define-ccl-program, multibyte-string-p, string-make-multibyte):
5812         Remove compatibility cruft (none of these are used by ps*.el).
5814 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
5816         * subr.el (booleanp): Return t instead of a list (Bug#7086).
5818 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5820         * server.el (server-process-filter, server-return-error):
5821         Give emacsclient time to shut down after receiving an error string.
5823 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
5825         * files.el (remote-file-name-inhibit-cache): New defcustom.
5827         * time.el (display-time-file-nonempty-p):
5828         Use `remote-file-name-inhibit-cache'.
5830         * net/tramp.el (tramp-completion-reread-directory-timeout):
5831         Fix docstring.
5833         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5834         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5835         `remote-file-name-inhibit-cache'.  Check also for an integer
5836         value.  Add/increase counter when `tramp-verbose' >= 10.
5837         (tramp-set-file-property): Add/increase counter when
5838         `tramp-verbose' >= 10.
5840         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5841         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5842         (tramp-bug): Set tramp-autoload cookie.  Report all interned
5843         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
5844         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
5845         characters only in strings.
5847         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5848         to backward compatibility.
5850         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5851         (tramp-handle-file-name-all-completions)
5852         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5853         (tramp-open-connection-setup-interactive-shell):
5854         Call `tramp-cleanup-connection' directly.
5856 2010-10-02  Glenn Morris  <rgm@gnu.org>
5858         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5860         * subr.el (char-bytes): Remove obsolete function.
5862         * isearch.el (isearch-return-char): Remove obsolete function.
5864         * mouse.el: No longer provide mldrag.
5865         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5866         Remove obsolete aliases.
5868         * comint.el (comint-kill-output): Remove obsolete alias.
5870         * composite.el (decompose-composite-char): Remove obsolete function.
5871         * ps-def.el (decompose-composite-char): Remove unused function.
5873         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5875         * outline.el (outline-visible): Remove obsolete function.
5877         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5878         * faces.el (internal-find-face, internal-get-face)
5879         (frame-update-faces, frame-update-face-colors)
5880         (x-frob-font-weight, x-frob-font-slant)
5881         (internal-frob-font-weight, internal-frob-font-slant)
5882         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5883         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5884         (x-make-font-bold-italic): Remove functions and aliases, obsolete
5885         since Emacs 21.1.
5886         * emulation/viper-util.el (viper-get-face):
5887         * obsolete/lucid.el (find-face, get-face): Use facep.
5888         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5889         Remove unused functions.
5890         * vc/ediff-util.el (ediff-submit-report): Doc fix.
5892         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5893         delete tempfile if interrupted during compilation.
5895 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5897         * net/tls.el (tls-starttls-switches): Give up on using starttls with
5898         gnutls-cli.
5899         (tls-program): Add --insecure to be consistent with the defaults from
5900         openssl s_client.  Now all three commands are insecure.
5902 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
5904         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5905         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5906         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5908 2010-10-01  Glenn Morris  <rgm@gnu.org>
5910         * obsolete/sc.el: Remove file.
5912         * files.el (temporary-file-directory): On darwin, also try
5913         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5915 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
5917         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5918         Let's not break compatibility gratuitously, shall we?
5920 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5922         * net/tls.el (tls-starttls-switches): New variable.
5923         (tls-find-starttls-argument): Use it.
5924         (open-tls-stream): Ditto.
5926         * net/netrc.el (netrc-credentials): Return the value of the "default"
5927         entry.
5928         (netrc-machine): Ditto.
5930 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
5932         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5934 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
5936         * server.el (server-start): Don't write pid to the authentication file.
5937         (server-create-tty-frame): Don't send pid.
5938         (server-process-filter): Send pid at the start of every connection.
5940 2010-09-30  Glenn Morris  <rgm@gnu.org>
5942         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5943         (show-all-diary-entries): Remove obsolete function aliases.
5945         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5946         Remove options, obsolete since 22.1.
5947         (appt-display-format, appt-display-message):
5948         Remove backwards-compatibility code.
5949         (appt-check): No longer check appt-issue-message.
5950         (appt-make-list): No longer autoload it.  Doc fix.  No longer
5951         activate the package.
5953 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5955         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5956         (starttls-negotiate): Just call boot, and let the handshake be
5957         triggered from the read loop.
5959 2010-09-29  Glenn Morris  <rgm@gnu.org>
5961         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5962         not displaying the diary.
5963         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5964         * calendar/appt.el (appt-check): No longer need to kill diary.
5966         * calendar/diary-lib.el (diary-list-entries): Move the
5967         "Preparing..." message entirely here.
5968         (diary-simple-display, diary-fancy-display): Move "Preparing..."
5969         messages to diary-list-entries.
5970         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5971         diary-display-function.
5973         * calendar/diary-lib.el (diary-include-other-diary-files):
5974         Trap some recursive includes.
5976         * calendar/appt.el (appt-activate): Check diary file.
5978 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
5980         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5981         construction.
5983         * calendar/time-date.el: No need to require cl for Emacs 21.
5985 2010-09-28  Glenn Morris  <rgm@gnu.org>
5987         * calendar/appt.el (appt-check): Minor simplification.
5989 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
5991         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5992         citation prefix.
5994 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
5996         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5997         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
5999 2010-09-27  Kenichi Handa  <handa@m17n.org>
6001         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6002         "ustar" format.
6004 2010-09-27  Kenichi Handa  <handa@m17n.org>
6006         * international/mule.el (define-coding-system): Docstring fixed.
6008         * international/mule-diag.el (describe-character-set): Use princ
6009         with proper print-length and print-level instead of insert.
6011 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
6013         * window.el (walk-windows): Doc fix (bug#7105).
6015 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6017         * emacs-lisp/float-sup.el (e): Remove.
6019 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
6021         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6022         variable.
6023         (starttls-negotiate): Use it.
6025 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6027         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6028         back.
6030 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6032         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6034 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6036         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6038         * net/netrc.el (netrc-store-data): New function.
6040 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
6042         * net/gnutls.el: GnuTLS glue code to set up a connection.
6044 2010-09-25  Julien Danjou  <julien@danjou.info>
6046         * notifications.el: Call dbus-register-signal only if it is bound.
6048 2010-09-25  Glenn Morris  <rgm@gnu.org>
6050         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6051         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6052         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6053         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6054         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6055         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6056         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6057         * eshell/esh-util.el, eshell/esh-var.el:
6058         Remove leading `*' from docs of faces and defcustoms.
6060 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
6062         * eshell/em-ls.el (eshell-ls-archive-regexp):
6063         * eshell/esh-util.el (eshell-tar-regexp):
6064         * ibuffer.el (ibuffer-compressed-file-name-regexp):
6065         * info.el (Info-suffix-list):
6066         * international/mule.el (auto-coding-alist):
6067         * woman.el (woman-file-regexp, woman-file-compression-regexp):
6068         * progmodes/etags.el (tags-compression-info-list):
6069         Support xz compression.
6071 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
6073         * files.el (get-free-disk-space): Don't assume the "df" output
6074         columns line up (Bug#6995).
6076 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6078         * finder.el (finder-unknown-keywords):
6079         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6080         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6082 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
6084         * server.el (server-start): Revert part of 2010-08-08 change.  Using
6085         address 127.0.0.1 for local host is now done in Fmake_network_process.
6087 2010-09-24  Glenn Morris  <rgm@gnu.org>
6089         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6090         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6091         * textmodes/css-mode.el, textmodes/dns-mode.el:
6092         Move autoloaded auto-mode-alist entries to files.el.
6093         * files.el (auto-mode-alist): Move entries here.
6095 2010-09-23  Glenn Morris  <rgm@gnu.org>
6097         * isearch.el (isearch-lazy-highlight-cleanup)
6098         (isearch-lazy-highlight-initial-delay)
6099         (isearch-lazy-highlight-interval)
6100         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6101         * net/net-utils.el (ipconfig-program-options):
6102         Move aliases to options before the associated definitions.
6104 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6106         * newcomment.el (comment-normalize-vars): Better test validity of
6107         comment-end-skip.
6109 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6111         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6112         (float-e): New name for `e'.
6113         (degrees-to-radians, radians-to-degrees):
6114         * calendar/solar.el (solar-longitude):
6115         * calculator.el (calculator-registers, calculator-funcall):
6116         * textmodes/artist.el (artist-spray-random-points):
6117         * play/bubbles.el (bubbles--initialize-images): Use new names.
6119 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
6121         Update to CEDET 1.0's version of EIEIO.
6123         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6124         New function.
6125         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6126         (eieio-default-eval-maybe): Eval val instead of unquoting only.
6127         (class-precedence-list): If class is nil, return nil.
6128         (eieio-generic-call): If class of first input arg is nil, don't
6129         look up static methods, and do check for primary methods.
6130         (initialize-instance): See if the default needs to be evaluated
6131         during the constructor.
6132         (eieio-perform-slot-validation-for-default): Don't do the check
6133         for values that will eventually be evaluated.
6134         (eieio-eval-default-p): New function.
6135         (eieio-default-eval-maybe): Use it.
6137 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6139         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6140         method-invocation-order.
6141         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6142         (eieio-class-precedence-dfs): Compute class precedence list using
6143         dfs algorithm.
6144         (eieio-class-precedence-bfs): Compute class precedence list using
6145         bfs algorithm.
6146         (eieio-class-precedence-c3): Compute class precedence list using
6147         c3 algorithm.
6148         (class-precedence-list): New function.
6149         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6150         (inconsistent-class-hierarchy): New error symbol.
6151         (call-next-method): Stow the replacement argument list for future
6152         call-next-method invocations.
6154 2010-09-23  Glenn Morris  <rgm@gnu.org>
6156         * calendar/appt.el (appt-check): If not displaying the diary,
6157         use (diary 1) to only get the entries we need.
6158         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6159         that it is in day order.  (Bug#7019)
6161         * calendar/appt.el (appt-check): Rather than showing the diary,
6162         just turn off invisible display, and only if needed.
6164         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
6166 2010-09-23  Glenn Morris  <rgm@gnu.org>
6168         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6169         (byte-compile-defvar, byte-compile-cl-warn):
6170         Start warnings with lower-case, like the majority.
6172         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6174         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
6176         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6177         * files.el (auto-mode-alist): Move ld-script entries here, further down
6178         the list.
6180         * vc/add-log.el: Don't require timezone when compiling.
6181         (timezone-make-date-sortable): Autoload it.
6182         (change-log-sortable-date-at): Don't require timezone.
6183         Use `ignore-errors'.
6185         * comint.el (comint-use-prompt-regexp-instead-of-fields):
6186         Move alias before definition, so it does not need autoloading.
6188         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6189         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6190         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6191         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6192         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6193         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6194         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6195         * textmodes/tex-mode.el, textmodes/two-column.el:
6196         Remove leading `*' from docs of defcustoms etc.
6198 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
6200         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6202 2010-09-22  Dan Christensen  <jdc@uwo.ca>
6204         * calendar/time-date.el (date-to-time): Try using parse-time-string
6205         first before using the slower timezone-make-date-arpa-standard.
6207 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
6209         * calendar/time-date.el (format-seconds): Comment fix.
6211 2010-09-22  Glenn Morris  <rgm@gnu.org>
6213         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6214         is not automatically buffer-local.
6216 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6218         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6219         (smie-indent-comment): Be more careful with comment-start-skip.
6220         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6221         (smie-indent-functions): Use them.
6223 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
6225         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6227 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
6229         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6230         tool-bar-position.  Don't modify frame parameters here.
6231         (menu-bar-options-save): Add tool-bar-position.
6233         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6235 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6237         * textmodes/reftex-parse.el (reftex-what-macro)
6238         (reftex-context-substring): Let-bind forward-sexp-function to nil
6239         since we don't need/want to treat \begin...\end as a block (bug#7053).
6241         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6243         * simple.el (blink-matching-open): Use syntax-class.
6245         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6246         Set invisibility spec for pascal's outline mode.
6247         (pascal-outline-change): Clean up calling convention.
6248         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6250         * progmodes/prolog.el (prolog-smie-forward-token)
6251         (prolog-smie-backward-token): New functions.
6252         (prolog-mode-variables): Use them to parse "!," correctly.
6253         Set up smie-blink-matching for ".".
6255         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6256         and `end'.
6257         (ispell-region, ispell-process-line): Update users.
6259         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6260         point-min==1.
6262         * textmodes/ispell.el: Fix commenting convention.
6263         (ispell-parse-output): Simplify, use push.
6264         (ispell-region): Use match-string-no-properties.
6265         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6266         (ispell-minor-mode): Use define-minor-mode.
6267         (ispell-message): Remove unused var `skip-regexp'.
6268         (ispell-add-per-file-word-list): Use dynamic let-binding.
6269         Try and use the proper comment marker.
6271         * mail/sendmail.el: Fix commenting convention.
6272         (sendmail-send-it): Use line-beginning-position.
6274         * help-fns.el (describe-variable): Add original value, if applicable.
6276 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6278         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6280         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6282 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6284         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6285         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6286         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6287         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6288         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6289         something like "." can also be a closer.
6290         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6291         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6292         Rename internal functions to use "--".  Update callers.
6294         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6296         * fringe.el (fringe-styles): New var.
6297         (fringe-mode, fringe-query-style): Use it.
6299 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6301         * progmodes/sql.el: Version 2.8
6302         (sql-login-params): Update widget structure; changes still needed.
6303         (sql-product-alist): Add :list-all and :list-table features for
6304         SQLite, Postgres and MySQL products.
6305         (sql-redirect): Handle default value.
6306         (sql-execute, sql-execute-feature): New functions.
6307         (sql-read-table-name): New function.
6308         (sql-list-all, sql-list-table): New functions.  User API.
6309         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6310         for above functions.
6311         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6312         for above functions.
6313         (sql-postgres-login-params): Add user and database defaults.
6314         (sql-buffer-live-p): Bug fix.
6315         (sql-product-history): New variable.
6316         (sql-read-product): New function.  Use it.
6317         (sql-set-product, sql-product-interactive): Use it.
6318         (sql-connection-history): New variable.
6319         (sql-read-connection): New function.  Use it.
6320         (sql-connect): New function.
6321         (sql-for-each-login): Redesign function interface.
6322         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6323         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6324         (sql-comint): Check for program.  Existing live buffer.
6325         (sql-comint-postgres): Add port parameter.
6327 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6329         * emacs-lisp/warnings.el: Fix commenting convention.
6330         (display-warning): Use special mode and make the buffer read-only.
6332 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6334         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6335         empty string when it follows a repeated or optional pattern.
6337 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6339         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6340         (indent-region): Use indent-according-to-mode.
6342 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6344         * fringe.el (fringe-mode): Doc fix.
6346 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6348         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6349         refreshing the preview buffer.
6351 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6353         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6354         (latex-syntax-propertize-rules): New consts; replace
6355         tex-font-lock-syntactic-keywords.
6356         (tex-env-mark, latex-env-before-change): New functions.
6357         (latex-electric-env-pair-mode): New minor mode.
6358         (tex-font-lock-verb): Change arguments; do move point.
6359         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6360         representation as a form of comment.
6361         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6362         (doctex-syntax-propertize-rules): New const; replaces
6363         doctex-font-lock-syntactic-keywords.
6364         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6366         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6367         (fortran-make-syntax-propertize-function): New function; replaces
6368         fortran-font-lock-syntactic-keywords.
6369         (fortran-mode): Use it.
6370         (fortran-line-length): Use it.  Improve interactive spec.
6372         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6373         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6374         when adding surrounding \(..\).
6376         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6378 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6380         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6381         Use with-current-buffer.
6383         * isearch.el (isearch-face): Rename from `isearch'.
6384         (isearch-highlight): Use new name.
6386 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6388         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6389         5, for `half' width fringes.  (Bug#6933)
6391 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6393         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6394         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6396         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6398 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6400         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6401         in calculating new frame position.  Add more space between new and
6402         parent on the left (Bug#7048).
6404 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6406         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6407         defmacro.
6409 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6411         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6413         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6414         obsolete alias for x-selection-value.
6416         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6418 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6420         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6421         cookie.
6423 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6425         * net/tramp-compat.el (tramp-compat-with-temp-message)
6426         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6427         (tramp-compat-process-put): New defuns.
6429         * net/tramp.el (top):
6430         * net/tramp-gvfs.el (top):
6431         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6433         * net/tramp.el (tramp-progress-reporter-update):
6434         Use `tramp-compat-funcall'.
6436         * net/tramp.el (tramp-process-actions):
6437         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6438         * net/tramp-sh.el (tramp-handle-vc-registered)
6439         (tramp-get-remote-stat, tramp-get-remote-readlink):
6440         Use `tramp-compat-with-temp-message'.
6442         * net/tramp-sh.el (top): Require 'cl.
6443         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6444         (tramp-open-connection-setup-interactive-shell):
6445         Use `tramp-compat-process-put'.
6447 2010-09-15  Alan Mackenzie  <acm@muc.de>
6449         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6450         indentation.
6451         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6453 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6455         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6456         `lexical' for warnings related to lexical scoping.
6457         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6458         global vars which don't have a prefix and could hence affect lexical
6459         scoping in unrelated files.
6461 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6463         * net/imap.el: Revert back to version
6464         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6465         seem problematic.
6467 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6469         * obsolete/old-whitespace.el (whitespace-unload-function):
6470         Explicitly pass `obarray' to `unintern' to avoid a warning.
6472 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6474         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6475         Add `when' argument.  Update callers.
6477         * subr.el (unintern): Declare the obarray arg mandatory.
6479 2010-09-14  Glenn Morris  <rgm@gnu.org>
6481         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6482         Doc fixes.
6484         * calendar/diary-lib.el (diary-included-files): New variable.
6485         (diary-list-entries): Maybe initialize diary-included-files.
6486         (diary-include-other-diary-files): Append to diary-included-files.
6487         * calendar/appt.el (appt-update-list): Also check the members of
6488         diary-included-files.  (Bug#6999)
6489         (appt-check): Doc fix.
6491 2010-09-14  David Reitter  <david.reitter@gmail.com>
6493         * simple.el (line-move-visual): Do not truncate goal column to
6494         integer size.  (Bug#7020)
6496 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6498         * repeat.el (repeat): Allow repeating when the last event is a click.
6499         Suggested by Drew Adams (bug#6256).
6501 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6503         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6504         Replace setting HGRCPATH to "" by some less invasive --config options.
6506 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6508         * font-lock.el (font-lock-beginning-of-syntax-function):
6509         Mark as obsolete.
6511 2010-09-14  Glenn Morris  <rgm@gnu.org>
6513         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6514         and tool-bar modes.  (Bug#6211)
6515         (menu-bar-mode): Move setting of standard-value after the
6516         minor-mode definition, otherwise it seems to have no effect.
6518 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6520         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6521         Fix typo.  (Bug#6976)
6523 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6525         * whitespace.el: Allow cleaning up blanks without blank
6526         visualization (Bug#6651).  Adjust help window for
6527         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6528         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6529         (whitespace-style): Add new value 'face.  Adjust docstring.
6530         (whitespace-space, whitespace-hspace, whitespace-tab):
6531         Adjust foreground property face.
6532         (whitespace-line-column): Adjust docstring and type declaration.
6533         (whitespace-style-value-list, whitespace-toggle-option-alist)
6534         (whitespace-help-text): Adjust const initialization.
6535         (whitespace-toggle-options, global-whitespace-toggle-options):
6536         Adjust docstring.
6537         (whitespace-display-window, whitespace-interactive-char)
6538         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6539         (whitespace-help-scroll): New fun.
6541 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6543         * calendar/time-date.el (format-seconds): Comment fix.
6545 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6547         * progmodes/sql.el: Version 2.7.
6548         (sql-buffer-live-p): Improve detection.
6549         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6550         (sql-set-sqli-buffer): Use it.
6551         (sql-product-interactive): Run `sql-set-sqli-hook'.
6552         (sql-rename-buffer): Code cleanup.
6553         (sql-redirect, sql-redirect-value): New functions.  More to come.
6555 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6557         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.
6558         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6559         (TRAMP_SRC): New macro.
6560         ($(lisp)/net/tramp-loaddefs.el): New target.
6562 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6564         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6566         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6568         * net/tramp.el (top): Don't show loading message.  Require just
6569         'tramp-compat, everything else is required there.
6570         Use `ignore-errors' where appropriate.
6571         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6572         (tramp-terminal-type, tramp-end-of-output)
6573         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6574         (tramp-completion-function-alist-ssh)
6575         (tramp-completion-function-alist-telnet)
6576         (tramp-completion-function-alist-su)
6577         (tramp-completion-function-alist-putty, tramp-remote-path)
6578         (tramp-remote-process-environment, tramp-sh-extra-args)
6579         (tramp-actions-before-shell, tramp-uudecode)
6580         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6581         (tramp-perl-file-attributes)
6582         (tramp-perl-directory-files-and-attributes)
6583         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6584         (tramp-perl-encode, tramp-perl-decode)
6585         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6586         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6587         (tramp-handle-make-symbolic-link, tramp-handle-load)
6588         (tramp-handle-file-name-as-directory)
6589         (tramp-handle-file-name-directory)
6590         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6591         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6592         (tramp-do-file-attributes-with-ls)
6593         (tramp-do-file-attributes-with-perl)
6594         (tramp-do-file-attributes-with-stat)
6595         (tramp-handle-set-visited-file-modtime)
6596         (tramp-handle-verify-visited-file-modtime)
6597         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6598         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6599         (tramp-handle-file-selinux-context)
6600         (tramp-handle-set-file-selinux-context)
6601         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6602         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6603         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6604         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6605         (tramp-handle-file-ownership-preserved-p)
6606         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6607         (tramp-handle-directory-files-and-attributes)
6608         (tramp-do-directory-files-and-attributes-with-perl)
6609         (tramp-do-directory-files-and-attributes-with-stat)
6610         (tramp-handle-file-name-all-completions)
6611         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6612         (tramp-handle-copy-file, tramp-handle-copy-directory)
6613         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6614         (tramp-do-copy-or-rename-file-via-buffer)
6615         (tramp-do-copy-or-rename-file-directly)
6616         (tramp-do-copy-or-rename-file-out-of-band)
6617         (tramp-handle-make-directory, tramp-handle-delete-directory)
6618         (tramp-handle-delete-file)
6619         (tramp-handle-dired-recursive-delete-directory)
6620         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6621         (tramp-handle-insert-directory)
6622         (tramp-handle-unhandled-file-name-directory)
6623         (tramp-handle-expand-file-name)
6624         (tramp-handle-substitute-in-file-name)
6625         (tramp-handle-executable-find, tramp-process-sentinel)
6626         (tramp-handle-start-file-process, tramp-handle-process-file)
6627         (tramp-handle-call-process-region, tramp-handle-shell-command)
6628         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6629         (tramp-handle-insert-file-contents)
6630         (tramp-handle-insert-file-contents-literally)
6631         (tramp-handle-find-backup-file-name)
6632         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6633         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6634         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6635         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6636         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6637         (tramp-find-file-exists-command, tramp-open-shell)
6638         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6639         (tramp-open-connection-setup-interactive-shell)
6640         (tramp-local-coding-commands, tramp-remote-coding-commands)
6641         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6642         (tramp-inline-compress-commands, tramp-find-inline-compress)
6643         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6644         (tramp-send-command, tramp-wait-for-output)
6645         (tramp-send-command-and-check, tramp-barf-unless-okay)
6646         (tramp-send-command-and-read, tramp-mode-string-to-int)
6647         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6648         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6649         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6650         (tramp-method-out-of-band-p, tramp-local-host-p)
6651         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6652         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6653         (tramp-get-test-command, tramp-get-test-nt-command)
6654         (tramp-get-file-exists-command, tramp-get-remote-ln)
6655         (tramp-get-remote-perl, tramp-get-remote-stat)
6656         (tramp-get-remote-readlink, tramp-get-remote-trash)
6657         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6658         (tramp-get-local-uid, tramp-get-local-gid)
6659         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6660         tramp-sh.el.
6661         (tramp-methods, tramp-default-method-alist)
6662         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6663         Move initialization to tramp-sh.el.
6664         (tramp-temp-name-prefix): Make it a defconst.
6665         (tramp-dissect-file-name): Don't check anymore for multi-hop
6666         methods.
6667         (tramp-debug-outline-regexp): Add a docstring.
6668         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6669         (tramp-get-debug-buffer): Use it.
6671         * net/tramp-cache.el (top): Set tramp-autoload cookie for
6672         initialization forms.
6673         (tramp-set-connection-property): Don't protect `tramp-message'
6674         call, it isn't necessary any longer.
6675         (tramp-dump-connection-properties): Use `ignore-errors'.
6677         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6678         'password-cache and 'auth-source.
6680         * net/tramp-gvfs.el (top):
6681         * net/tramp-smb.el (top): Require 'tramp-sh.
6683         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6685         * net/tramp-sh.el: New file, derived from tramp.el.
6686         (top): Initialize `tramp-methods', `tramp-default-method-alist',
6687         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6688         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6689         Use `ignore-errors' where appropriate.
6690         (tramp-sh-file-name-handler-alist): Rename from
6691         `tramp-file-name-handler-alist'.
6692         (tramp-send-command-and-check): Return t or nil.  Remove all
6693         `zerop' checks, where called.
6694         (tramp-handle-set-file-modes)
6695         (tramp-do-copy-or-rename-file-directly)
6696         (tramp-handle-delete-directory, tramp-handle-delete-file)
6697         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6698         (tramp-sh-file-name-handler, tramp-send-command-and-check)
6699         (tramp-get-remote-ln): Set tramp-autoload cookie.
6701         * net/tramp-fish.el: Remove file.
6703 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
6705         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6706         buffer-file-name to avoid file-locking.  (Bug#7026)
6708 2010-09-13  Julien Danjou  <julien@danjou.info>
6710         * notifications.el (notifications-notify): Add support for
6711         image-path and sound-name.
6712         (notifications-specification-version): Add this variable.
6714 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6716         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6718 2010-09-12  Leo  <sdl.web@gmail.com>
6720         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6721         (rcirc-completion-start): New variables.
6722         (rcirc-nick-completions): Rename to rcirc-completions.
6723         (rcirc-nick-completion-start-offset): Delete.
6724         (rcirc-completion-at-point): New function for constructing
6725         completion data for both nicks and irc commands.  Add to
6726         completion-at-point-functions in rcirc mode.
6727         (rcirc-complete): Rename from rcirc-nick-complete; use
6728         rcirc-completion-at-point.
6729         (defun-rcirc-command): Update rcirc-client-commands.
6731 2010-09-11  Glenn Morris  <rgm@gnu.org>
6733         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6734         atomically, to avoid parallel build errors.  (Bug#4196)
6736 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
6738         * progmodes/sql.el: Version 2.6
6739         (sql-dialect): Synonym for "sql-product".
6740         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6741         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6742         Set "sql-buffer" to buffer name not buffer object so multiple sql
6743         interactive buffers work properly.  Reverts misguided changes in
6744         earlier work.
6745         (sql-comint): Make sure different buffer name is used if "*SQL*"
6746         buffer is for a different product.
6747         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6748         login param.
6749         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6750         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6751         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6752         Accept new buffer name or prompt for one.
6753         (sql-port): Default to zero.
6754         (sql-comint-mysql): Handle "sql-port" as a numeric.
6755         (sql-port-history): Delete unused variable.
6756         (sql-get-login): Default "sql-port" to a number.
6757         (sql-product-alist): Correct Postgres prompt and terminator regexp.
6758         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6759         "sqlite3" executables.
6760         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6761         (sql-buffer-live-p): New function.
6762         (sql-mode-menu, sql-send-string): Use it.
6763         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6764         syntax pattern.
6765         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6766         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6768 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6770         * net/netrc.el (netrc-credentials): New convenience function.
6772 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6774         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6775         to replace texinfo-font-lock-syntactic-keywords.
6776         (texinfo-mode): Use it.
6778         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6779         Use syntax-propertize-function.
6781         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6782         replace sgml-font-lock-syntactic-keywords.
6783         (sgml-mode): Use it.
6785         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6786         since we don't use it.
6788         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6790         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6791         if available.
6792         (vhdl-fontify-buffer): Adjust.
6794         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6795         replace tcl-font-lock-syntactic-keywords.
6796         (tcl-mode): Use it.
6798         * progmodes/simula.el (simula-syntax-propertize-function): New var to
6799         replace simula-font-lock-syntactic-keywords.
6800         (simula-mode): Use it.
6802         * progmodes/sh-script.el (sh-st-symbol): Remove.
6803         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6804         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6805         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6806         (sh-font-lock-paren): Set syntax-multiline.
6807         (sh-font-lock-syntactic-keywords): Remove.
6808         (sh-syntax-propertize-function): New function to replace it.
6809         (sh-mode): Use it.
6811         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6812         Define while compiling.
6813         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6814         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6815         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6816         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6817         (ruby-here-doc-end-syntax): Only define when
6818         syntax-propertize is not available.
6819         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6820         New functions.
6821         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6822         (electric-indent-chars): Silence bytecompiler.
6823         (ruby-mode): Use prog-mode, syntax-propertize-function, and
6824         electric-indent-chars.
6826         * progmodes/python.el (python-syntax-propertize-function): New var to
6827         replace python-font-lock-syntactic-keywords.
6828         (python-mode): Use it.
6829         (python-quote-syntax): Simplify and adjust to new use.
6831         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6832         replace perl-font-lock-syntactic-keywords.
6833         (perl-syntax-propertize-special-constructs): New fun to replace
6834         perl-font-lock-special-syntactic-constructs.
6835         (perl-font-lock-syntactic-face-function): New fun.
6836         (perl-mode): Use it.
6838         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6839         to replace octave-font-lock-close-quotes.
6840         (octave-syntax-propertize-function): New function to replace
6841         octave-font-lock-syntactic-keywords.
6842         (octave-mode): Use it.
6844         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6845         replaces mixal-font-lock-syntactic-keywords.
6846         (mixal-mode): Use it.
6848         * progmodes/make-mode.el (makefile-syntax-propertize-function):
6849         New var; replaces makefile-font-lock-syntactic-keywords.
6850         (makefile-mode): Use it.
6851         (makefile-imake-mode): Adjust.
6853         * progmodes/js.el (js--regexp-literal): Define while compiling.
6854         (js-syntax-propertize-function): New var; replaces
6855         js-font-lock-syntactic-keywords.
6856         (js-mode): Use it.
6858         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6859         replaces gdb-script-font-lock-syntactic-keywords.
6860         (gdb-script-mode): Use it.
6862         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6863         (fortran--font-lock-syntactic-keywords): New var.
6864         (fortran-line-length): Update syntax-propertize-function and
6865         fortran--font-lock-syntactic-keywords.
6867         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6869         * progmodes/cfengine.el (cfengine-mode):
6870         Use syntax-propertize-function.
6871         (cfengine-font-lock-syntactic-keywords): Remove.
6873         * progmodes/autoconf.el (autoconf-mode):
6874         Use syntax-propertize-function.
6875         (autoconf-font-lock-syntactic-keywords): Remove.
6877         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6878         (ada-after-change-function, ada-initialize-syntax-table-properties)
6879         (ada-handle-syntax-table-properties): Only define when
6880         syntax-propertize is not available.
6881         (ada-mode): Use syntax-propertize-function.
6883         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6884         (font-lock-fontify-syntactic-keywords-region): Move handling of
6885         font-lock-syntactically-fontified to...
6886         (font-lock-default-fontify-region): ...here.
6887         Let syntax-propertize-function take precedence.
6888         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6890         * emacs-lisp/syntax.el (syntax-propertize-function)
6891         (syntax-propertize-chunk-size, syntax-propertize--done)
6892         (syntax-propertize-extend-region-functions): New vars.
6893         (syntax-propertize-wholelines, syntax-propertize-multiline)
6894         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6895         (syntax-propertize): New functions.
6896         (syntax-propertize-rules): New macro.
6897         (syntax-ppss-flush-cache): Set syntax-propertize--done.
6898         (syntax-ppss): Call syntax-propertize.
6900         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6902 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
6904         * textmodes/ispell.el (ispell-init-process): Improve comments.
6905         XEmacs compatibility changes regarding (add-hook) 'local option
6906         and (set-process-query-on-exit-flag).
6908 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
6910         * net/tramp-cache.el (tramp-parse-connection-properties):
6911         Set tramp-autoload cookie.
6913 2010-09-09  Glenn Morris  <rgm@gnu.org>
6915         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6916         (imagemagick-register-types): Doc fix.
6918 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6920         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6922         * progmodes/js.el (require): Require is already "eval-and-compile".
6923         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
6924         (js--re-search-backward): Use js--re-search-forward.
6926         * progmodes/fortran.el (fortran-line-length): Don't recompute
6927         syntactic keywords redundantly a second time.
6929         * progmodes/ada-mode.el: Replace "(set '" with setq.
6930         (ada-mode): Simplify.
6931         (ada-create-case-exception, ada-adjust-case-interactive)
6932         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6933         (ada-search-ignore-string-comment, ada-move-to-start)
6934         (ada-move-to-end): Use with-syntax-table.
6936         * font-lock.el (save-buffer-state): Remove `varlist' arg.
6937         (font-lock-unfontify-region, font-lock-default-fontify-region):
6938         Update usage correspondingly.
6939         (font-lock-fontify-syntactic-keywords-region):
6940         Set parse-sexp-lookup-properties buffer-locally here.
6941         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6943         * simple.el (blink-matching-open): Don't burp if we can't find a match.
6945 2010-09-08  Glenn Morris  <rgm@gnu.org>
6947         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6948         Error if not compiled with -DBYTE_CODE_METER.
6950         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6951         Ignore dir-locals-file.
6953 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6955         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6956         Not a const.
6957         (compilation-error-regexp-alist-alist): Rule out ": " in file names
6958         for the `gnu' messages.
6959         (compilation-set-skip-threshold): New command.
6960         (compilation-start): Use \' rather than $.
6961         (compilation-forget-errors): Use clrhash.
6963 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
6965         * textmodes/ispell.el (ispell-valid-dictionary-list):
6966         Simplify logic.
6968 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
6970         Migrate to Tramp 2.2.  Rearrange load dependencies.
6971         (Bug#1529, Bug#5448, Bug#5705)
6973         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6974         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6975         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6977         * net/tramp.el (top): Remove all other tramp-* loads except
6978         tramp-compat.el.  Remove all changes to tramp-unload-hook for
6979         other tramp-* packages.  Rearrange defun order.  Change calls of
6980         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6981         `tramp-compat-octal-to-decimal' to new function names.
6982         (tramp-terminal-type, tramp-initial-end-of-output)
6983         (tramp-methods, tramp-foreign-file-name-handler-alist)
6984         (tramp-tramp-file-p, tramp-completion-mode-p)
6985         (tramp-send-command-and-check, tramp-get-remote-path)
6986         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6987         (tramp-shell-quote-argument): Set tramp-autoload cookie.
6988         (with-file-property, with-connection-property): Move to
6989         tramp-cache.el.
6990         (tramp-local-call-process, tramp-decimal-to-octal)
6991         (tramp-octal-to-decimal): Move to tramp-compat.el.
6992         (tramp-handle-shell-command): Do not require 'shell.
6993         (tramp-compute-multi-hops): No special handling for tramp-gw-*
6994         symbols.
6995         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6997         * net/tramp-cache.el (top): Require 'tramp.  Add to
6998         `tramp-unload-hook'.
6999         (tramp-cache-data, tramp-get-file-property)
7000         (tramp-set-file-property, tramp-flush-file-property)
7001         (tramp-flush-directory-property, tramp-get-connection-property)
7002         (tramp-set-connection-property, tramp-flush-connection-property)
7003         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7004         cookie.
7005         (with-file-property, with-connection-property): New defuns, moved
7006         from tramp.el.
7007         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7008         macro.
7010         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7011         (tramp-version): Set tramp-autoload cookie.
7013         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
7014         changes to tramp-unload-hook for other tramp-* packages.  Add to
7015         `tramp-unload-hook'.
7016         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7017         (tramp-compat-call-process): New defuns, moved from tramp.el.
7019         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
7020         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7021         Add to `tramp-unload-hook'.  Change call of
7022         `tramp-compat-decimal-to-octal' to new function name.
7023         (tramp-fish-method): Make it a defconst.
7024         (tramp-fish-file-name-p): Make it a defsubst.
7025         (tramp-fish-method, tramp-fish-file-name-handler)
7026         (tramp-fish-file-name-p): Set tramp-autoload cookie.
7028         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7029         `tramp-foreign-file-name-handler-alist'.  Add to
7030         `tramp-unload-hook'.
7031         (tramp-ftp-method): Make it a defconst.
7032         (tramp-ftp-file-name-p): Make it a defsubst.
7033         (tramp-ftp-method, tramp-ftp-file-name-handler)
7034         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7036         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7037         `tramp-foreign-file-name-handler-alist'.  Add to
7038         `tramp-unload-hook'.  Change checks, whether package can be
7039         loaded.
7040         (tramp-gvfs-file-name-p): Make it a defsubst.
7041         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7042         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7043         (tramp-gvfs-handle-file-directory-p): New defun.
7044         (tramp-gvfs-file-name-handler-alist): Use it.
7046         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7047         `tramp-foreign-file-name-handler-alist'.  Add to
7048         `tramp-unload-hook'.
7049         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7050         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7051         defconst.
7052         (tramp-gw-tunnel-method, tramp-gw-socks-method)
7053         (tramp-gw-open-connection): Set tramp-autoload cookie.
7055         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
7056         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7057         Add to `tramp-unload-hook'.  Change checks, whether package can be
7058         loaded.
7059         (tramp-imap-file-name-p): Make it a defsubst.
7060         (tramp-imap-method, tramp-imaps-method)
7061         (tramp-imap-file-name-handler)
7062         (tramp-imap-file-name-p): Set tramp-autoload cookie.
7064         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
7065         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7066         Add to `tramp-unload-hook'.  Change checks, whether package can be
7067         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
7068         function name.
7069         (tramp-smb-tunnel-method): Make it a defconst.
7070         (tramp-smb-file-name-p): Make it a defsubst.
7071         (tramp-smb-method, tramp-smb-file-name-handler)
7072         (tramp-smb-file-name-p): Set tramp-autoload cookie.
7074         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7075         (tramp-uuencode-region): Set tramp-autoload cookie.
7077         * net/trampver.el (top) Add to `tramp-unload-hook'.
7078         (tramp-version, tramp-bug-report-address): Set tramp-autoload
7079         cookie.  Update release number.
7081 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
7083         * textmodes/ispell.el (ispell-start-process): Make sure original
7084         arg list is properly initialized (Bug#6993, Bug#6994).
7086 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7088         * files.el (directory-abbrev-alist): Use \` as default regexp.
7090         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7091         chars like - or ] (bug#6984).
7092         (rx-any-condense-range): Explode 2-char ranges.
7094 2010-09-06  Glenn Morris  <rgm@gnu.org>
7096         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7098 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7100         * textmodes/bibtex.el:
7101         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7103 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7105         * net/imap.el (imap-message-map): Remove optional buffer parameter,
7106         since no callers use it.
7107         (imap-message-get): Ditto.
7108         (imap-message-put): Ditto.
7109         (imap-mailbox-map): Ditto.
7110         (imap-mailbox-put): Ditto.
7111         (imap-mailbox-get): Ditto.
7112         (imap-mailbox-get): Revert last change for this function.
7114 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7116         * net/imap.el (imap-fetch-safe): Remove function, and alter all
7117         callers to use `imap-fetch' instead.  According to the comments, this
7118         should be safe, since all other IMAP clients use the 1:* syntax.
7119         (imap-enable-exchange-bug-workaround): Remove.
7120         (imap-debug): Remove -- doesn't seem very useful.
7122 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7124         * net/imap.el (imap-log): New convenience function used throughout
7125         instead of repeating the same code all over the place.
7127 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
7129         * mouse.el (mouse-save-then-kill): Save region to kill-ring
7130         when mouse-drag-copy-region is non-nil (Bug#6956).
7132 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
7134         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7135         Improve regexps (Bug#6987).
7136         (dired-sort-toggle): Search more robustly for -t flag.
7138         * files.el (get-free-disk-space): Search more robustly for
7139         "available" column.  Suggested by Ehud Karni
7140         <ehud@unix.mvs.co.il>.
7142 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
7144         * international/uni-bidi.el:
7145         * international/uni-category.el:
7146         * international/uni-combining.el:
7147         * international/uni-decimal.el:
7148         * international/uni-mirrored.el:
7149         * international/uni-name.el: Regenerate.
7151 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7153         * electric.el (electric-indent-post-self-insert-function):
7154         Don't reindent with a sloppy indentation function.
7156         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7157         border case in change-log-mode.
7159 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
7161         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7162         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7163         Recognize leading tab in gcc-include regexp.  Ignore names with
7164         leading "from" or "in" in gnu regexp (Bug#6937).
7166 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7168         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7169         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7170         (ispell-start-process): Avoid setq and simplify logic.
7171         (ispell-init-process): Setup kill-buffer-hook locally when needed.
7172         (kill-buffer-hook): Don't use it globally with code that uses
7173         expand-file-name since that may call kill-buffer via
7174         code_conversion_restore.
7176 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
7178         * emacs-lisp/package.el (package-directory-list): Only call
7179         file-name-nondirectory on a string.
7181 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7183         * emacs-lisp/package.el (package--download-one-archive):
7184         Ensure that archive-contents is valid before saving it.
7185         (package-activate-1, package-mark-obsolete, define-package)
7186         (package-compute-transaction, package-list-maybe-add): Use push.
7188 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7190         Use SMIE's blink-paren for octave-mode.
7191         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7192         Backslashes do not escape single-quotes, single-quotes do.
7193         (octave-block-else-regexp, octave-block-end-regexp)
7194         (octave-block-match-alist): Remove.
7195         (octave-smie-bnf-table): New var, with old content.
7196         (octave-smie-op-levels): Use it.
7197         (octave-smie-closer-alist): New var.
7198         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
7199         (octave-blink-matching-block-open): Remove.
7200         (octave-reindent-then-newline-and-indent, octave-electric-semi)
7201         (octave-electric-space): Let self-insert-command run expand-abbrev and
7202         blink parens.
7204         * electric.el (electricity): New group.
7205         (electric-indent-chars): New var.
7206         (electric-indent-post-self-insert-function): New fun.
7207         (electric-indent-mode): New minor mode.
7208         (electric-pair-skip-self): New custom.
7209         (electric-pair-post-self-insert-function): New function.
7210         (electric-pair-mode): New minor mode.
7212         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7213         calcAlg-blink-matching-open.
7214         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7215         (calc-do-alg-entry): Only touch the part of the keymap that varies.
7216         Use the new blink-matching-check-function.
7218         Provide blink-matching support to SMIE.
7219         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7220         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7221         (smie-blink-matching-check, smie-blink-matching-open): New functions.
7223         * simple.el (newline): Fix last change to properly remove itself from
7224         the hook.
7226 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7228         * simple.el (newline): Eliminate optimization.
7229         Use post-self-insert-hook to set hard-newline and things before
7230         running post-self-insert-hook.
7231         (blink-matching-check-mismatch): New function.
7232         (blink-matching-check-function): New variable.
7233         (blink-matching-open): Use them.
7234         Skip back forward over prefix chars skipped by forward-sexp.
7235         Don't check if the parens are backslash escaped.
7236         (blink-paren-post-self-insert-function): Check backslash escaping here.
7238 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
7240         * emacs-lisp/package.el (package-menu-mode-map):
7241         Change package-menu-revert bindings to revert-buffer.
7242         (package-menu-mode): Set revert-buffer-function.
7243         (package-menu-revert): Doc fix.
7245 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7247         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7248         `default-directory' unless using Ispell per-directory personal
7249         dictionaries and not in a mini-buffer under XEmacs.
7250         (kill-buffer-hook): Do not kill ispell process on exit when
7251         `ispell-process-directory' is "~/".  (Bug#6143)
7253 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7255         * simple.el (kill-new): Call interprogram-cut-function with only
7256         one argument.
7258         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7259         Remove cut buffer from error message.
7261         * term/x-win.el (x-select-text):
7262         * term/pc-win.el (x-selection-value):
7263         * term/ns-win.el (x-selection-value):
7264         * eshell/em-term.el:
7265         * w32-fns.el (x-get-selection-value):
7266         * mouse-sel.el (mouse-sel-set-selection-function):
7267         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7269         * term/x-win.el: Update documentation for x-last-selected-text-*.
7270         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7271         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7272         (x-select-text): Remove argument PUSH, update documentation.
7273         Remove cut-buffer code.
7274         (x-selection-value-internal): Was previously x-selection-value.
7275         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7276         Update documentation, remove cut-buffer code.
7277         Call x-selection-value-internal.
7278         (x-clipboard-yank): Call x-selection-value-internal.
7279         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7281         * term/pc-win.el (x-last-selected-text):
7282         x-cut-buffer-or-selection-value renamed to x-selection-value
7283         (x-select-text): Remove argument PUSH, update documentation.
7285         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7286         x-cut-buffer-or-selection-value renamed to x-selection-value
7287         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7288         (x-select-text): Remove argument PUSH, update documentation.
7290         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7292         * w32-fns.el (x-last-selected-text):
7293         x-cut-buffer-or-selection-value renamed to x-selection-value.
7294         (x-cut-buffer-max): Remove.
7295         (x-select-text): Remove argument PUSH, update documentation.
7297         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7299         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7301         * mouse-sel.el (mouse-sel-get-selection-function):
7302         x-cut-buffer-or-selection-value renamed to x-selection-value.
7303         (x-select-text): Remove optional push.
7305 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7307         * simple.el (blink-paren-function): Move from C to here.
7308         (blink-paren-post-self-insert-function): New function.
7309         (post-self-insert-hook): Use it.
7311         * emacs-lisp/pcase.el (pcase-split-memq):
7312         Fix overenthusiastic optimisation.
7313         (pcase-u1): Handle the case of a lambda pred.
7315 2010-08-31  Kenichi Handa  <handa@m17n.org>
7317         * international/mule-cmds.el (standard-display-european-internal):
7318         Setup standard-display-table for 8-bit characters by storing 8-bit
7319         characters in the element vector.
7321         * disp-table.el (standard-display-8bit):
7322         Setup standard-display-table for 8-bit characters by storing 8-bit
7323         characters in the element vector.
7324         (standard-display-european): Likewise.
7326 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7328         * textmodes/nroff-mode.el (nroff-view): New command.
7329         (nroff-mode-map): Bind it to C-c C-c.
7331 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7333         * emacs-lisp/smie.el (smie-down-list): New command.
7335         Remove old indentation and navigation code on octave-mode.
7336         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7337         smie-down-list rather than add a binding for octave-down-block.
7338         (octave-mark-block, octave-blink-matching-block-open):
7339         Rely on forward-sexp-function.
7340         (octave-fill-paragraph): Don't narrow, so you can use
7341         indent-according-to-mode.
7342         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7343         (octave-in-block-p, octave-re-search-forward-kw)
7344         (octave-re-search-backward-kw, octave-indent-calculate)
7345         (octave-end-as-array-index-p, octave-block-end-offset)
7346         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7347         (octave-down-block, octave-backward-up-block, octave-up-block)
7348         (octave-before-magic-comment-p, octave-indent-line): Remove.
7350 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7352         * emacs-lisp/package.el (package--read-archive-file): Just use
7353         `read', to avoid copying an additional string.
7354         (package-menu-mode): Set header-line-format here.
7355         (package-menu-refresh, package-menu-revert): Signal an error if
7356         not in the Package Menu.
7357         (package-menu-package-list): New var.
7358         (package--generate-package-list): Operate on the current buffer;
7359         don't assume that it is *Packages*, since the user may rename it.
7360         Allow persistent package listings and sort keys using
7361         package-menu-package-list and package-menu-package-sort-key.
7362         (package-menu--version-predicate): Fix version calculation.
7363         (package-menu-sort-by-column): Don't select the window.
7364         (package--list-packages): Create the *Packages* buffer.
7365         Set package-menu-package-list-key.
7366         (list-packages): Sorting by status is now the default.
7367         (package-buffer-info): Use match-string-no-properties.
7368         (define-package): Add a &rest argument for future proofing, but
7369         don't use it yet.
7370         (package-install-from-buffer, package-install-buffer-internal):
7371         Merge into a single function, package-install-from-buffer.
7372         (package-install-file): Change caller.
7374         * finder.el: Load finder-inf using `require'.
7375         (finder-list-matches): Sorting by status is now the default.
7376         (finder-compile-keywords): Simpify printing.
7378 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7380         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7381         (octave-mode-map): Remove special bindings for forward/backward-block
7382         and octave-backward-up-block.  Use smie-close-block.
7383         (octave-continuation-marker-regexp): New var.
7384         (octave-continuation-regexp): Use it.
7385         (octave-operator-table, octave-smie-op-levels)
7386         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7387         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7388         (octave-mode): Use SMIE.
7389         (octave-close-block): Delete.
7391 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7393         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7394         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7396 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7398         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7399         a list of parents.
7400         (smie-indent-column): Allow indirection through variables.
7402         * composite.el (save-buffer-state): Delete, unused.
7403         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7404         (font-lock-default-fontify-region): Use with-syntax-table.
7405         * jit-lock.el (with-buffer-unmodified): Remove.
7406         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7408         Use `declare' in defmacros.
7409         * window.el (save-selected-window):
7410         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7411         * progmodes/python.el (def-python-skeleton):
7412         * net/dbus.el (dbus-ignore-errors):
7413         * jka-cmpr-hook.el (with-auto-compression-mode):
7414         * international/mule.el (with-category-table):
7415         * emacs-lisp/timer.el (with-timeout):
7416         * emacs-lisp/lisp-mnt.el (lm-with-file):
7417         * emacs-lisp/eieio.el (with-slots):
7418         * emacs-lisp/easymenu.el (easy-menu-define):
7419         * emacs-lisp/debug.el (debugger-env-macro):
7420         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7421         (Multiple-value-call, Multiple-value-prog1):
7422         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7423         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7424         edebug rule to definition.
7425         * emacs-lisp/lisp-mode.el (save-selected-window)
7426         (with-current-buffer, combine-after-change-calls)
7427         (with-output-to-string, with-temp-file, with-temp-buffer)
7428         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7429         (dolist, dotimes, when, unless):
7430         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7432 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7434         * finder.el: Require `package'.
7435         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7436         (finder-package-info): Var deleted.
7437         (finder-keywords-hash, finder--builtins-alist): New vars.
7438         (finder-compile-keywords): Compute package--builtins and
7439         finder-keywords-hash instead of finder-keywords-hash, respecting
7440         the "Package" header.
7441         (finder-unknown-keywords, finder-list-matches):
7442         Use finder-keywords-hash and package--list-packages.
7443         (finder-mode): Don't set font-lock-defaults.
7444         (finder-exit): We don't use "*Finder-package*" and "*Finder
7445         Category*" buffers anymore.
7447         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7448         (package--builtins): Set default value to nil.
7449         (package-initialize): Load precomputed value of package--builtins
7450         from finder-inf.el.
7451         (package-alist, package-compute-transaction)
7452         (package-download-transaction): Improve docstring.
7453         (package-read-all-archive-contents): Do not change
7454         package--builtins here.
7455         (list-packages): Make package-list-packages an alias for this.
7456         Sort by status by default.
7457         (package--list-packages): Add optional PACKAGES arg.
7458         (describe-package-1): Use font-lock-face property.  For built-in
7459         packages, insert file commentary.
7460         (package--generate-package-list): Rename from
7461         package-list-packages-internal; all callers changed.  Add optional
7462         PACKAGES arg.  Add alphabetical sort fallbacks.
7463         (package-menu--version-predicate, package-menu--status-predicate)
7464         (package-menu--description-predicate)
7465         (package-menu--name-predicate): New functions.
7467         * info.el (Info-finder-find-node): Search package-alist instead of
7468         finder-package-info.
7470 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7472         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7473         "alpha" and "beta".
7474         (version-to-list): Handle versions like "10.3d".
7476 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7478         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7479         (macroexp-accumulate): Use `declare'.
7481 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7483         * whitespace.el (whitespace-style): Adjust type declaration.
7485 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7487         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7489 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7491         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7492         (Bug#6907).
7494 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7496         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7497         (js-paren-indent-offset, js-square-indent-offset)
7498         (js-curly-indent-offset): New options.
7499         (js--proper-indentation): Use them.
7501 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7503         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7504         instead of inspecting font-lock properties (Bug#6916).
7506 2010-08-26  David Reitter  <david.reitter@gmail.com>
7508         * server.el (server-visit-files): Run pre-command-hook and
7509         post-command-hook for each buffer while it is current (Bug#6910).
7510         (server-execute): Do not run hooks here.
7512 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7514         Sync with Tramp 2.1.19.
7516         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7517         deleting tmpfile.
7518         (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7520         * net/tramp.el (tramp-handle-expand-file-name)
7521         (tramp-completion-handle-file-name-all-completions)
7522         (tramp-completion-handle-file-name-completion):
7523         Use `tramp-connectable-p'.
7525         * net/trampver.el: Update release number.
7527 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7529         * help.el (help-map): Bind `C-h P' to describe-package.
7531         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7533         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7534         when downloading archives.
7535         (describe-package-1): Add package commentary.
7536         (package-install-button-action): New function.
7537         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7538         (package-menu-view-commentary): Function removed.
7539         (package-list-packages-internal): Hide the `package' package too.
7541 2010-08-25  Kenichi Handa  <handa@m17n.org>
7543         * language/misc-lang.el ("Arabic"): New language environment.
7544         Setup composition-function-table for Arabic characters.
7546         * international/fontset.el (setup-default-fontset): Fix typo for
7547         arabic OTF spec (fini->fina).
7549 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7551         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7552         on all frames.
7554 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7556         * whitespace.el: Allow cleaning up blanks without blank
7557         visualization (Bug#6651).  Adjust help window for
7558         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7559         instead of whitespace-line-column (from EmacsWiki).  New version
7560         13.1.
7561         (whitespace-style): Add new value 'face.  Adjust docstring.
7562         (whitespace-space, whitespace-hspace, whitespace-tab):
7563         Adjust foreground property face.
7564         (whitespace-line-column): Adjust docstring and type declaration.
7565         (whitespace-style-value-list, whitespace-toggle-option-alist)
7566         (whitespace-help-text): Adjust const initialization.
7567         (whitespace-toggle-options, global-whitespace-toggle-options):
7568         Adjust docstring.
7569         (whitespace-display-window, whitespace-interactive-char)
7570         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7571         (whitespace-help-scroll): New fun.
7573 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7575         * emacs-lisp/package.el (list-packages): Alias for
7576         package-list-packages.
7578 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7580         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7581         (Bug#5651).
7583         * progmodes/ruby-mode.el (ruby): Add defgroup.
7585 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7587         * progmodes/python.el: Add Ipython support (Bug#5390).
7588         (python-shell-prompt-alist)
7589         (python-shell-continuation-prompt-alist): New options.
7590         (python--set-prompt-regexp): New function.
7591         (inferior-python-mode, run-python, python-shell):
7592         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7593         prompt based on the Python interpreter.
7594         (python--prompt-regexp): New var.
7595         (python-check-comint-prompt)
7596         (python-comint-output-filter-function): Use it.
7597         (run-python): Use a pipe (Bug#5694).
7599 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7601         * progmodes/python.el (python-send-region): Send a different
7602         Python command if Ipython is in use.
7603         (python-check-version): Use a Python command to find the version.
7605 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7607         * mouse.el (mouse-yank-primary): Avoid setting primary when
7608         deactivating the mark (Bug#6872).
7610 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7612         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7613         with "else" (Bug#3991).
7615 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7617         * net/dbus.el: Accept UNIX domain sockets as bus address.
7618         (top): Don't initialize `dbus-registered-objects-table' anymore,
7619         this is done in dbusbind,c.
7620         (dbus-check-event): Adapt test for bus.
7621         (dbus-return-values-table, dbus-unregister-service)
7622         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7623         Adapt doc string.
7625 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7627         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7629 2010-08-22  Juri Linkov  <juri@jurta.org>
7631         * simple.el (read-extended-command): New function with the logic
7632         for `completing-read' moved to Elisp from `execute-extended-command'.
7633         Use `function-called-at-point' in `minibuffer-default-add-function'
7634         to get a command name for M-n (bug#5364, bug#5214).
7636 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7638         * startup.el (command-line-1): Issue warning for ignored arguments
7639         --unibyte, etc (Bug#6886).
7641 2010-08-22  Leo  <sdl.web@gmail.com>
7643         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7644         (ignore, bright, dim, keyword): Split list of nicknames before
7645         passing to rcirc-add-or-remove (Bug#6894).
7647 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7649         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7651 2010-08-22  Leo  <sdl.web@gmail.com>
7653         Fix buffer-list rename&refresh after killing a buffer in ido.
7654         * ido.el: Revert Óscar's.
7655         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7656         Remember the buffers at head, rather than their name.
7657         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7659 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
7660             Stefan Monnier  <monnier@iro.umontreal.ca>
7662         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7663         extra backslash added to each line (bug#6890).
7665 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7667         * subr.el (read-key): Don't echo keystrokes (bug#6883).
7669 2010-08-22  Glenn Morris  <rgm@gnu.org>
7671         * menu-bar.el (menu-bar-games-menu): Add landmark.
7673 2010-08-22  Glenn Morris  <rgm@gnu.org>
7675         * align.el (align-regexp): Make group and spacing arguments
7676         use the interactive defaults when non-interactive.  (Bug#6698)
7678         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7679         expansion, so as not to need sendmail.
7680         (mail-text-start): Remove declaration.
7681         (rmail-retry-failure): Require sendmail.
7683 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7685         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7687 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
7689         * progmodes/flymake.el (flymake-start-syntax-check-process):
7690         Use `start-file-process' in order to let it run also on remote hosts.
7692 2010-08-22  Kenichi Handa  <handa@m17n.org>
7694         * files.el: Add `word-wrap' as safe local variable.
7696 2010-08-22  Glenn Morris  <rgm@gnu.org>
7698         * woman.el (woman-translate): Case matters.  (Bug#6849)
7700 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7702         * simple.el (kill-region): Doc fix (Bug#6787).
7704 2010-08-22  Glenn Morris  <rgm@gnu.org>
7706         * calendar/diary-lib.el (diary-header-line-format):
7707         Fit it to the window, not the frame.
7709 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
7711         * subr.el (ignore-errors): Add debug declaration.
7713 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
7715         * whitespace.el (whitespace-color-off): Remove post-command-hook
7716         locally.
7718 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7720         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7722 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7724         * cus-edit.el (custom-group-value-create): Add extra newline
7725         before end line (Bug#6876).
7727 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7729         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7730         when extending it.  Before killing on the second click, check if
7731         the buffer is the correct one.  Doc fix.
7732         (mouse-secondary-save-then-kill): Allow usage without first
7733         calling mouse-start-secondary, by defaulting to point.  Don't save
7734         an empty secondary selection.  Doc fix.
7736 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7738         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
7739         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7740         New version 13.0.
7741         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7742         Adjust initialization.
7743         (whitespace-bob-marker, whitespace-eob-marker)
7744         (whitespace-buffer-changed): New vars.
7745         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7746         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7747         (whitespace-post-command-hook, whitespace-display-char-on):
7748         Adjust code.
7749         (whitespace-looking-back, whitespace-buffer-changed): New funs.
7750         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7752 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7754         * files.el (locate-file-completion-table): Only list the .el and .elc
7755         extensions if there's no other choice (bug#5955).
7757         * facemenu.el (facemenu-self-insert-data): New var.
7758         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7759         New functions.
7760         (facemenu-add-face): Use them.
7762         * simple.el (blink-matching-open): Obey forward-sexp-function.
7764 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7766         * simple.el (prog-mode-map): New var.
7767         (prog-indent-sexp): New command.
7769         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7771         * progmodes/prolog.el (smie): Require.
7773         * emacs-lisp/smie.el (smie-default-backward-token)
7774         (smie-default-forward-token): Strip properties.
7775         (smie-next-sexp): Be more careful with associative operators.
7776         (smie-forward-sexp-command): Generalize.
7777         (smie-backward-sexp-command): Simplify.
7778         (smie-closer-alist): New var.
7779         (smie-close-block): New command.
7780         (smie-indent-debug-log): New var.
7781         (smie-indent-offset-rule): Add a few more cases.
7782         (smie-indent-column): New function.
7783         (smie-indent-after-keyword): Use it.
7784         (smie-indent-keyword): Use it.
7785         Fix up the opener code's point position.
7786         (smie-indent-comment): Only applies at BOL.
7787         (smie-indent-debug): New command.
7789         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7790         declarations that are useful before running the macro.
7792 2010-08-18  Joakim Verona  <joakim@verona.se>
7794         * image.el (imagemagick-types-inhibit): New variable.
7795         (imagemagick-register-types): New function.
7796         * image-mode.el (image-transform-properties): New function.
7797         (image-transform-set-scale, image-transform-fit-to-height)
7798         (image-transform-set-rotation, image-transform-set-resize)
7799         (image-transform-fit-to-width, image-transform-fit-to-height):
7800         New functions.
7801         (image-toggle-display-image): Support image transforms.
7803 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
7805         * image.el (create-animated-image): Don't add heuristic mask to image
7806         (Bug#6839).
7808 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
7810         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7811         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7813 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7815         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7817         Font-lock '...' strings, plus various simplifications and fixes.
7818         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7819         (octave-font-lock-close-quotes): New function.
7820         (octave-font-lock-syntactic-keywords): New var.
7821         (octave-mode): Use it.  Set beginning-of-defun-function.
7822         (octave-mode-map): Don't override the <foo>-defun commands.
7823         (octave-mode-menu): Pass it directly to easy-menu-define;
7824         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7825         (octave-block-match-alist): Fix up last change so that
7826         octave-close-block uses the more specific keyword.
7827         (info-lookup-mode): Silence byte-compiler.
7828         (octave-beginning-of-defun): Not interactive any more.
7829         Optimize slightly.
7830         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7831         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7832         (octave-completion-at-point-function): Make sure point is within
7833         beg..end.
7834         (octave-reindent-then-newline-and-indent):
7835         Use reindent-then-newline-and-indent.
7836         (octave-add-octave-menu): Remove.
7838 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
7840         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7841         (report-emacs-bug-can-use-xdg-email): New functions.
7842         (report-emacs-bug): Set can-xdg-email to result of
7843         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
7844         \C-cm to report-emacs-bug-insert-to-mailer and add help text
7845         about it.
7847         * net/browse-url.el (browse-url-default-browser): Add cond
7848         for browse-url-xdg-open.
7849         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7851 2010-08-17  Glenn Morris  <rgm@gnu.org>
7853         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7854         (c-fontify-recorded-types-and-refs): Define for compiler.
7855         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7856         before use.
7858         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7859         Fix format call.
7861 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
7863         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7864         properties.
7865         (tramp-handle-process-file): Call the program in a subshell, in
7866         order to preserve working directory.
7867         (tramp-action-password): Hide password prompt before next run.
7868         (tramp-process-actions): Widen connection buffer for the trace.
7870 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7872         * net/rcirc.el (rcirc-log-process-buffers): New option.
7873         (rcirc-print): Use it.
7874         (rcirc-generate-log-filename): New function.
7875         (rcirc-log-filename-function): Change default to
7876         rcirc-generate-log-filename (Bug#6828).
7878 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
7880         * simple.el (deactivate-mark): If select-active-regions is `only',
7881         only set selection for temporarily active regions.
7883         * cus-start.el: Change defcustom for select-active-regions.
7885 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7887         * mouse.el (mouse--drag-set-mark-and-point): New function.
7888         (mouse-drag-track): Use LOCATION arg to push-mark.
7889         Use mouse--drag-set-mark-and-point to take click-count into
7890         consideration when updating point and mark (Bug#6840).
7892 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7894         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7895         Give the Ruby rule a lower priority than Gnu (Bug#6778).
7897 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7899         * font-lock.el (lisp-font-lock-keywords-2):
7900         Add combine-after-change-calls, condition-case-no-debug,
7901         with-demoted-errors, and with-silent-modifications (Bug#6025).
7903 2010-08-14  Kevin Ryde  <user42@zip.com.au>
7905         * emacs-lisp/copyright.el (copyright-update-year)
7906         (copyright-update): Temporary switch-to-buffer to ensure the
7907         buffer change being queried is visible (Bug#5394).
7909 2010-08-14  Tom Tromey  <tromey@redhat.com>
7911         * progmodes/etags.el (tags-file-name): Mark safe if stringp
7912         (Bug#6733).
7914 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
7916         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7917         MS-DOS.  (Bug#6689)
7919 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
7921         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7922         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7923         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7924         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7925         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7926         Call menu-bar-set-tool-bar-position.
7928 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7930         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7931         comment style (bug#6834).
7932         * progmodes/scheme.el (scheme-mode-syntax-table):
7933         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7934         "b" flag in "' 14b" syntax.
7936         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7937         for (un)commenting the region and performing completion.
7938         (octave-mode-menu): Use standard commands for help and completion.
7939         (octave-mode-syntax-table): Support %{..%} comments (sort of).
7940         (octave-mode): Use define-derived-mode.
7941         Set completion-at-point-functions and don't set columns.
7942         Don't disable adaptive-fill-regexp.
7943         (octave-describe-major-mode, octave-comment-region)
7944         (octave-uncomment-region, octave-comment-indent)
7945         (octave-indent-for-comment): Remove.
7946         (octave-indent-calculate): Rename from calculate-octave-indent.
7947         (octave-indent-line, octave-fill-paragraph): Update caller.
7948         (octave-initialize-completions): No need to make an alist.
7949         (octave-completion-at-point-function): New function.
7950         (octave-complete-symbol): Use it.
7951         (octave-insert-defun): Use define-skeleton.
7953         * progmodes/octave-mod.el (octave-mode): Set comment-add.
7954         (octave-mode-map): Use comment-dwim (bug#6829).
7956 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
7958         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7959         indentation of inserted comment.
7961 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
7963         * faces.el (region): Add type gtk that uses gtk colors.
7965         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7966         Handle theme-name change.
7968 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
7970         * progmodes/sql.el: Version 2.5
7971         (sql-product-alist): Add :prompt-cont-regexp property for several
7972         database products.
7973         (sql-prompt-cont-regexp): New variable.
7974         (sql-output-newline-count, sql-output-by-send):
7975         New variables.  Record number of newlines in input text.
7976         (sql-send-string): Handle multiple filters and count newlines.
7977         (sql-send-magic-terminator): Count terminator newline.
7978         (sql-interactive-remove-continuation-prompt): Filters output to
7979         remove continuation prompts; one for each newline.
7980         (sql-interactive-mode): Set up new variables, prompt regexp and
7981         output filter.
7982         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7983         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7985 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7987         * emacs-lisp/pcase.el: New file.
7989 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
7991         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7992         as here-document, otherwise the command could exceed maximum
7993         length of command line.
7994         (tramp-handle-vc-registered): Call script accordingly.
7995         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7997 2010-08-10  Kenichi Handa  <handa@m17n.org>
7999         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8000         composable pattern.
8002 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
8004         * emacs-lisp/package.el (package-version-split)
8005         (package--version-first-nonzero, package-version-compare):
8006         Functions removed.
8007         (package-directory-list, package-load-all-descriptors)
8008         (package--built-in, package-activate, define-package)
8009         (package-installed-p, package-compute-transaction)
8010         (package-read-all-archive-contents)
8011         (package--add-to-archive-contents, package-buffer-info)
8012         (package-tar-file-info, package-list-packages-internal):
8013         Use version-to-list and version-list-*.
8015         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8016         Use version-to-list.
8017         (package-upload-buffer-internal): Use version-list-<=.
8019 2010-08-09  Kenichi Handa  <handa@m17n.org>
8021         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8022         composable pattern.
8024 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8026         * tutorial.el (tutorial--default-keys): C-d is now bound to
8027         delete-forward-char (Bug#6826).
8029         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8030         for `double' value of mouse-1-click-follows-link (Bug#6807).
8032 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8034         * replace.el (replace-highlight): Bind isearch-forward and
8035         isearch-error, ensuring that highlighting is updated if the user
8036         switches the search direction (Bug#6808).
8038         * isearch.el (isearch-lazy-highlight-forward): New var.
8039         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8040         (isearch-lazy-highlight-update): Use it.
8042 2010-08-08  Kenichi Handa  <handa@m17n.org>
8044         * international/mule.el (define-charset): Store NAME as :base property.
8045         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8046         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8047         current priority.  Force using the designation of the specific
8048         charset by adding `charset' text property.  Improve the whole algorithm.
8050 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8052         * emulation/pc-select.el (pc-selection-mode-hook)
8053         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8054         (pc-selection-mode): Fix typos in docstrings.
8056 2010-08-08  Kenichi Handa  <handa@m17n.org>
8058         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8059         ctext-non-standard-encodings-alist here.
8061         * international/mule.el (ctext-non-standard-encodings-alist):
8062         Add "koi8-r" and "microsoft-cp1251".
8063         (ctext-standard-encodings): New variable.
8064         (ctext-non-standard-encodings-table): List only elements for
8065         non-standard encodings.
8066         (ctext-pre-write-conversion): Adjust for the above change.
8067         Check ctext-standard-encodings.
8069         * international/mule-conf.el (compound-text): Doc fix.
8070         (ctext-no-compositions): Doc fix.
8071         (compound-text-with-extensions): Doc fix.
8073 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8075         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8077 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8079         * progmodes/which-func.el (which-func-format): Split help-echo text
8080         into lines, like other mode-line tooltips.
8082         * server.el (server-start): When using TCP sockets, force IPv4
8083         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8085 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8087         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8089 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8091         * term.el (term-delimiter-argument-list): Reflow docstring.
8092         (term-read-input-ring, term-write-input-ring, term-send-input)
8093         (term-bol, term-erase-in-display, serial-supported-or-barf):
8094         Fix typos in docstrings.
8096 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8098         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8100 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8102         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8104 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8106         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8107         Fix typo in docstring (bug#6747).
8109 2010-08-08  Leo  <sdl.web@gmail.com>
8111         * eshell/esh-io.el (eshell-get-target): Better detection of
8112         read-only file (Bug#6762).
8114 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8116         * align.el (align-default-spacing): Doc fix.
8117         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8119 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8121         * calendar/icalendar.el
8122         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8123         (icalendar--get-weekday-numbers): New.
8124         (icalendar--convert-recurring-to-diary): Handle multiple byday
8125         values in weekly rules.  (Bug#6766)
8127 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8129         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8130         (icalendar--create-uid, icalendar-export-region)
8131         (icalendar--parse-summary-and-rest): Code formatting.
8133 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8135         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8136         to italicize headers.
8137         (calc-highlight-selections-with-faces): New variable.
8138         (calc-selected-face, calc-nonselected-face): New faces.
8140         * calc/calccomp.el (math-comp-highlight-string): Use
8141         `calc-highlight-selections-with-faces' to determine how to highlight
8142         sub-formulas.
8144         * calc/calc-sel.el (calc-show-selections): Change message to when
8145         using faces to highlight selections.
8147 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8149         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8150         Add SQLite 3 keywords, functions and datatypes.
8151         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8152         (Bug#6686).
8154 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8156         * simple.el (select-active-regions): Move to keyboard.c.
8157         (deactivate-mark): Used saved-region-selection.
8158         (select-active-region): Function removed.
8159         (activate-mark, set-mark, push-mark-command)
8160         (handle-shift-selection): Don't call it.
8161         (keyboard-quit): Avoid adding the region to the window selection.
8163         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8164         select-active-regions implementation.
8165         (mouse-yank-at-click): Doc fix.
8167         * cus-start.el: Add custom declaration for select-active-regions.
8169 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8171         * simple.el (delete-forward-char): Doc fix.
8173         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8174         after reading the tutorial.
8176 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8178         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8179         Fix for the case that a C style comment has its delimiters alone on
8180         their respective lines.
8182 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8184         * net/tramp.el (tramp-handle-start-file-process): Set connection
8185         property "vec".
8186         (tramp-process-sentinel): Use it for flushing the cache.
8187         We cannot do it via the process buffer, the buffer could be deleted
8188         already when running the sentinel.
8190 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8192         * comint.el (comint-mode): Make directory tracking functions
8193         functional on remote files.  (Bug#6764)
8195 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8197         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8199 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8201         * emacs-lisp/find-gc.el (find-gc-source-files):
8202         Rename unexec.c => unexcoff.c.
8204         * emacs-lisp/authors.el (authors-fixed-entries):
8205         Rename unexec.c => unexcoff.c.
8207 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8209         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8210         cache, not only file cache.
8211         (tramp-process-sentinel): New defun.
8212         (tramp-handle-start-file-process): Use it, in order to invalidate
8213         file caches.
8215 2010-08-03  Leo  <sdl.web@gmail.com>
8217         * server.el (server-start): Simplify loop.
8219 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8221         * frame.el (screen-height, screen-width, set-screen-width)
8222         (set-screen-height): Remove ancient compatibility aliases.
8224         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8225         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8227         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8228         that change current buffer.
8230 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8232         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8233         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8235 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8237         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8239 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8241         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8242         (package--builtins): Tweak descriptions.
8243         (package-print-package): Upcase descriptions if necessary.
8244         Show all built-in packages in font-lock-builtin-face.
8245         (package-list-packages-internal): Omit "emacs" package.
8246         Show status of built-in packages as "built-in".
8248 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8250         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8251         before killing to preserve the primary selection (Bug#6701).
8253         * term/x-win.el (x-select-text): Doc fix.
8255 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8257         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8258         (objc-font-lock-extra-types):
8259         * progmodes/cc-mode.el (c-basic-common-init):
8260         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8261         (c++-make-template-syntax-table)
8262         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8263         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8264         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8265         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8266         * progmodes/cc-fonts.el (c-make-inverse-face)
8267         (c-basic-matchers-after):
8268         * progmodes/cc-engine.el (c-forward-keyword-clause)
8269         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8270         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8271         (c-guess-continued-construct, c-guess-basic-syntax):
8272         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8273         The above functions were modified or created.
8275 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8277         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8279 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8281         * files.el (bidi-paragraph-direction): Define safe local values.
8283         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8284         language-info-alist.  Remove outdated FIXME in a comment.
8286 2010-07-31  Alan Mackenzie  <acm@muc.de>
8288         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8289         Auto-fill broken in C/C++ modes.
8291 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8293         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8294         (menu-bar-showhide-tool-bar-menu-customize-disable)
8295         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8296         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8297         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8298         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8299         make a menu for Options => toolbar that can move it.
8301 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8303         * emacs-lisp/package-x.el (package--make-rss-entry):
8304         (package-maint-add-news-item, package--update-news)
8305         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8307         * emacs-lisp/package.el (package-archive-url): Rename from
8308         package-archive-id.
8309         (package-install): Doc fix.
8310         (package-download-single, package-download-tar, package-install)
8311         (package-menu-view-commentary): Callers changed.
8313 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8315         * net/tramp.el (tramp-handle-start-file-process): Check only for
8316         `remote-tty' process property.
8317         (tramp-open-shell): Don't check for tty.
8318         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8319         process property.
8321         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8322         host.
8324 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8326         * emacs-lisp/package.el (package-load-list, package-archives)
8327         (package-archive-contents, package-user-dir)
8328         (package-directory-list, package--builtins, package-alist)
8329         (package-activated-list, package-obsolete-alist): Mark as risky.
8331 2010-07-28  Phil Hagelberg  <phil@evri.com>
8333         Add support for non-default package repositories.
8334         * emacs-lisp/package.el (package-archive-base): Var deleted.
8335         (package-archives): New variable.
8336         (package-archive-contents): Doc fix.
8337         (package-load-descriptor): Do nothing if descriptor file is missing.
8338         (package--write-file-no-coding): New function.
8339         (package-unpack-single): Use it.
8340         (package-archive-id): New function.
8341         (package-download-single, package-download-tar)
8342         (package-menu-view-commentary): Use it.
8343         (package-installed-p): Make second argument optional.
8344         (package-read-all-archive-contents): New function.
8345         (package-initialize): Use it.
8346         (package-read-archive-contents): Add ARCHIVE argument.
8347         (package--add-to-archive-contents): New function.
8348         (package-install): Don't call package-read-archive-contents.
8349         (package--download-one-archive): Store archive file in a
8350         subdirectory of package-user-dir.
8351         (package-menu-execute): Remove spurious line movement.
8353 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8355         * cus-start.el (tool-bar-style): Add text-image-horiz.
8357 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8359         * progmodes/gud.el (gud-common-init): Check for remoteness of
8360         `file', and not of `default-directory'.
8362 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8364         * net/tramp.el (tramp-methods): Move hostname to the end in all
8365         ssh `tramp-login-args'.
8366         (tramp-verbose): Describe verbose level 9.
8367         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8368         (tramp-open-connection-setup-interactive-shell): Trace stty
8369         settings if `tramp-verbose' >= 9.
8370         (tramp-handle-start-file-process): Implement tty setting.
8371         (Bug#4604, Bug#6360)
8373         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8374         `tramp-verbose' to 9.
8376 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8378         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8379         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8380         Remove references to package `lisp-re' (bug#4369).
8382 2010-07-27  Tom Tromey  <tromey@redhat.com>
8384         * progmodes/js.el (js-mode):
8385         * progmodes/make-mode.el (makefile-mode):
8386         * progmodes/simula.el (simula-mode):
8387         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8389 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8391         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8393         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8394         (display-time-world-buffer-name, display-time-world-mode-map):
8395         Fix typos in docstrings.
8397 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8399         * image-mode.el (image-display-size): New function.
8400         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8401         (image-mode-fit-frame): Use it (Bug#6639).
8403 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8405         * dired.el (dired-buffers-for-dir): Handle list values of
8406         dired-directory (Bug#6636).
8408 2010-07-26  Sam Steingold  <sds@gnu.org>
8410         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8411         Do not call `x-get-selection' the second time, reuse the value.
8413 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8415         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8416         which consist of control chars only.  Suggested by Richard Stallman.
8418 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8420         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8421         exists before passing an error to find-file-not-found-functions
8422         (bug#6723).
8424 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8426         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8427         Remove leading nil element, adjust values.
8428         (tetris-shapes, tetris-shape-scores):
8429         Change representation of shapes and remove some redundancy.
8430         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8431         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8432         Adjust for working with new representation of shapes.
8433         (tetris-shape-rotations): New function.
8434         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8435         (tetris-rotate-prev, tetris-rotate-next):
8436         Adjust for working with the new version of tetris-test-shape.
8438 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8440         * progmodes/ps-mode.el: Use comint (bug#5954).
8441         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8442         (ps-mode-other-newline): Simplify.
8443         (ps-run-mode): Derive from comint-mode instead of
8444         fundamental-mode, yielding input history etc.
8445         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8446         (ps-run-send-string): Adapt for comint-mode.
8447         (ps-run-newline): Remove now unneeded function.
8449 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8451         * net/tramp.el (tramp-methods): Move hostname to the end in all
8452         plink `tramp-login-args'.
8454 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8456         * net/tramp.el (tramp-open-shell): New defun.
8457         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8458         Use it.
8460 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8462         * net/tramp.el (tramp-file-name-regexp-unified)
8463         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8464         not regard the volume letter as remote filename.  (Bug#5447)
8466 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8468         * custom.el (custom-declare-variable): Give a clearer error message
8469         when the docstring is missing (bug#6476).
8471 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8473         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8474         (sql-login-params): New widget definition.
8475         (sql-oracle-login-params, sql-mysql-login-params)
8476         (sql-solid-login-params, sql-sybase-login-params)
8477         (sql-informix-login-params, sql-ingres-login-params)
8478         (sql-ms-login-params, sql-postgres-login-params)
8479         (sql-interbase-login-params, sql-db2-login-params)
8480         (sql-linter-login-params): Use it.
8481         (sql-sqlite-login-params): Use it; Define "database" parameter as
8482         a file name.
8483         (sql-sqlite-program): Change to "sqlite3".
8484         (sql-comint-sqlite): Make sure database name is complete.
8485         (sql-for-each-login): New function.
8486         (sql-connect, sql-save-connection): Use it.
8487         (sql-get-login-ext): New function.
8488         (sql-get-login): Use it.
8489         (sql-make-alternate-buffer-name): Handle :file parameters.
8491 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8493         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8494         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8496 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8498         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8500 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8502         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8504 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8506         * net/tramp.el (tramp-get-ls-command)
8507         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8508         instead of "/".
8510 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8512         * progmodes/sql.el: Version 2.3.
8513         (sql-connection-alist): Change keys from symbols to strings;
8514         enhanced the widget definition.
8515         (sql-mode-menu): Add submenu to select connections.
8516         (sql-interactive-mode-menu): Add "Save Connection" item.
8517         (sql-add-product): Fix menu item.
8518         (sql-get-product-feature): Improved error handling.
8519         (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8520         (sql-make-alternate-buffer-name): Simplified.
8521         (sql-product-interactive): Handle missing product.
8522         (sql-connect): Support string keys, minor improvements.
8523         (sql-save-connection): New function.
8524         (sql-connection-menu-filter): New function.
8526 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8528         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8529         (tramp-open-connection-setup-interactive-shell):
8530         Apply workaround for IRIX64 bug.  Move argument of last
8531         `tramp-send-command' where it belongs to.
8533 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8535         * net/tramp.el (tramp-perl-file-attributes)
8536         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8537         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8538         front of `login-args'.
8540 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8542         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8543         Set `show-trailing-whitespace' to nil.
8544         (display-time-world-display): Simplify.
8546 2010-07-18  Alan Mackenzie  <acm@muc.de>
8548         Enhance `c-file-style' in file/directory local variables.
8549         * progmodes/cc-mode.el (c-count-cfss): New function.
8550         (c-before-hack-hook): Call `c-set-style' differently according to
8551         whether c-file-style was set in file or directory local
8552         variables.
8554 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8556         * progmodes/sql.el: Version 2.2.
8557         (sql-product, sql-user, sql-database, sql-server, sql-port):
8558         Use defcustom :safe keyword rather than putting safe-local-variable
8559         property.
8560         (sql-password): Use defcustom :risky keyword rather than putting
8561         risky-local-variable property.
8562         (sql-oracle-login-params, sql-sqlite-login-params)
8563         (sql-solid-login-params, sql-sybase-login-params)
8564         (sql-informix-login-params, sql-ingres-login-params)
8565         (sql-ms-login-params, sql-postgres-login-params)
8566         (sql-interbase-login-params, sql-db2-login-params)
8567         (sql-linter-login-params): Add `port' option.
8568         (sql-get-product-feature): Add NO-INDIRECT parameter.
8569         (sql-comint-oracle, sql-comint-sybase)
8570         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8571         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8572         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8573         (sql-comint-linter): Rename sql-connect-* functions to
8574         sql-comint-*.
8575         (sql-product-alist, sql-mode-menu): Rename as above and
8576         :sqli-connect-func to :sqli-comint-func.
8577         (sql-connection): New variable.
8578         (sql-interactive-mode): Set it.
8579         (sql-connection-alist): New variable.
8580         (sql-connect): New function.
8581         (sql--alt-buffer-part, sql--alt-if-not-empty)
8582         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8584 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8586         * image-mode.el (image-bookmark-make-record): Do not set context
8587         in an image (Bug#6650).
8589 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8591         * simple.el (select-active-region): New function.
8592         (push-mark-command, set-mark, activate-mark)
8593         (handle-shift-selection): Use it.
8594         (deactivate-mark): Don't check for size of region.
8596         * mouse.el (mouse-drag-track): Use select-active-region.
8598 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8600         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8601         "--dired" stronger.
8603 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8605         * term/x-win.el (x-select-enable-primary): Change default to nil.
8606         (x-select-enable-clipboard): Add :version keyword.
8608         * mouse.el (mouse-drag-copy-region):
8609         * simple.el (select-active-regions): Likewise.
8611 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8613         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8614         (vc-coding-system-for-diff): Use it to decide whether to inherit
8615         from the file the EOL format for reading the diffs of that file.
8616         (Bug#4451)
8618 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8620         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8621         unibyte, so compressed attachments are not compressed again.
8623 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8625         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8626         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8627         (tramp-find-shell): Simplify setting connection property.
8628         (tramp-get-ls-command): Make test for "--color=never" stronger.
8630 2010-07-15  Simon South  <ssouth@member.fsf.org>
8632         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8633         blocks within record declarations (i.e. variant parts) correctly.
8635 2010-07-15  Simon South  <ssouth@member.fsf.org>
8637         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8638         over literal tokens when parsing so newlines aren't "absorbed" by
8639         single-line comments.  Corrects the indentation of case blocks
8640         that have a comment on the first line.
8642 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8644         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8645         by Drew Adams (Bug#5504).
8647 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8649         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8650         now that Unicode is used (Bug#6594).
8652 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8654         * term/x-win.el (x-select-enable-clipboard): Default to t.
8655         (x-initialize-window-system): Don't overwrite Paste menu item.
8657         * simple.el (select-active-regions): Default to t.
8658         (push-mark-command): Don't overwrite primary with empty string.
8660         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8661         (mouse-drag-copy-region): Default to nil.
8663         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8664         Cut/Copy/Paste menu bar items.
8666 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8668         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8669         Patch applied by Karl Fogel.
8671         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8672         and `bookmark-current-buffer' if they have been already set in
8673         another buffer (e.g gnus-art).
8675 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8676             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8678         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8680         * bookmark.el (bookmark-make-record-default): Allow unneeded
8681         information to be omitted from the record.
8683         Adjust declarations and calls:
8685         * info.el (bookmark-make-record-default): Adjust declaration.
8686         (Info-bookmark-make-record): Adjust call.
8688         * woman.el (bookmark-make-record-default): Adjust declaration.
8689         (woman-bookmark-make-record): Adjust call.
8691         * man.el (bookmark-make-record-default): Adjust declaration.
8692         (Man-bookmark-make-record): Adjust call.
8694         * image-mode.el (bookmark-make-record-default): Adjust declaration.
8696         * doc-view.el (bookmark-make-record-default): Adjust declaration.
8698 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8700         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8701         This is also from Thierry Volpiatto's patch in bug #6444.  However,
8702         because it was extraneous to the functional change in that patch,
8703         and causes a re-indendation, I am committing it separately.
8705 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8707         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8708         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8709         Patch applied by Karl Fogel (Bug#6444).
8711 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
8713         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8715 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
8717         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8718         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
8719         (ns-alternatives-map): Change S-tab binding to backtab
8720         (bug#6616).
8722         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8723         under ns.
8725 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
8727         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8728         (Bug#5806)
8730         * language/tv-util.el (tai-viet-re): Remove format.
8732 2010-07-12  Kenichi Handa  <handa@m17n.org>
8734         * language/hebrew.el: Remove no-byte-compile declaration.
8735         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
8736         composition-function-table for 3-character looking back.
8737         (hebrew-font-get-precomposed): New function.
8738         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8740 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
8742         * mouse.el (mouse-drag-track): Handle select-active-regions
8743         (Bug#6612).
8745 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
8747         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8748         empty argument to gvfs-copy.
8750 2010-07-10  Glenn Morris  <rgm@gnu.org>
8752         * calendar/calendar.el (calendar-week-end-day): New function.
8753         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8754         Respect calendar-week-start-day.  (Bug#6606)
8755         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8756         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8757         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8758         respect calendar-week-start-day.
8760 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
8762         * simple.el (use-region-p): Doc fix (Bug#6607).
8764 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
8766         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8767         Add regexps for cucumber and ruby.
8769 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
8771         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8772         (epa-file-insert-file-contents): Hack to prevent
8773         find-file from opening empty buffer when decryption failed
8774         (bug#6568).
8776 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
8778         * textmodes/ispell.el (ispell-alternate-dictionary):
8779         Use file-readable-p.
8780         Return nil if no word-list is found at default locations.
8781         (ispell-complete-word-dict): Default to nil.
8782         (ispell-command-loop): Use 'word-list' when using lookup-words.
8783         (lookup-words): Use ispell-complete-word-dict or
8784         ispell-alternate-dictionary.  Check for word-list availability
8785         and handle errors if needed with better messages (Bug#6539).
8786         (ispell-complete-word): Use ispell-complete-word-dict or
8787         ispell-alternate-dictionary.
8789 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
8791         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8792         builtins (BufferError, BytesWarning, WindowsError; callables
8793         bin, bytearray, bytes, format, memoryview, next, print; __package__).
8795 2010-07-07  Glenn Morris  <rgm@gnu.org>
8797         * play/zone.el (top-level): Do not require timer, tabify, or cl.
8798         (zone-shift-left): Ignore intangibility, and any errors from
8799         forward-char.
8800         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
8801         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8802         deleting, and copying text properties.
8803         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8804         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8805         to point-max is hard.
8806         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8807         (zone-fill-out-screen): Ignore intangibility.
8809 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
8811         * menu-bar.el (menu-bar-mode):
8812         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8813         if it has been set.
8815         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8816         word/line selection (Bug#6565).
8818 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
8820         * net/dbus.el (dbus-send-signal): Declare function.
8822 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
8824         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8825         (dbus-register-property): New optional argument EMITS-SIGNAL.
8826         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8828 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
8830         * mouse.el (mouse-drag-overlay): Variable deleted.
8831         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8832         (mouse--remap-link-click-p): New function.
8833         (mouse-drag-track): Handle dragging by using temporary Transient
8834         Mark mode, instead of a special overlay.
8835         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8836         mouse-show-mark.
8838         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8839         deleted.
8841 2010-07-02  Juri Linkov  <juri@jurta.org>
8843         * autoinsert.el (auto-insert-alist): Fix readability
8844         by using dotted pair notation for lambda.
8846 2010-07-02  Juri Linkov  <juri@jurta.org>
8848         * faces.el (read-face-name): Rename arg `string-describing-default'
8849         to `default'.  Doc fix.  Display the default value in quotes
8850         in the prompt.  With empty input, return the `default' arg,
8851         unless the default value is a string (in which case return nil).
8852         (describe-face): Replace the string `default' arg of `read-face-name'
8853         with the symbol `default'.
8855 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
8857         * emulation/viper-cmd.el (viper-delete-backward-char)
8858         (viper-del-backward-char-in-insert)
8859         (viper-del-backward-char-in-replace, viper-change)
8860         (viper-backward-indent): Replace delete-backward-char with
8861         delete-char (Bug#6552).
8863 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
8865         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8867 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8869         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8870         argument passed to frame-creation-function (Bug#5378).
8872         * faces.el (x-handle-named-frame-geometry)
8873         (x-handle-reverse-video, x-create-frame-with-faces)
8874         (face-set-after-frame-default, tty-create-frame-with-faces):
8875         Don't separately consult default-frame-alist.  It is now passed as the
8876         PARAMETER argument.
8878 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
8880         * startup.el (command-line): Don't call tool-bar-setup in a
8881         tty-only build.
8883 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8885         * ruler-mode.el (ruler--save-header-line-format): New fun.
8886         (ruler-mode): Use it as a setter function, so as not to overwrite
8887         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8889 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
8891         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
8892         (vc-root-diff, vc-print-root-log, vc-log-incoming)
8893         (vc-log-outgoing): Use it.
8894         (vc-diff-internal): Set diff-vc-backend.
8896         * vc/diff-mode.el (diff-vc-backend): New var.
8898 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
8900         * dynamic-setting.el (font-setting-change-default-font):
8901         Remove call to message.
8903 2010-06-28  Kenichi Handa  <handa@m17n.org>
8905         * international/quail.el (quail-insert-kbd-layout): Fix the
8906         showing of untranslated characters.
8908 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
8910         * simple.el (delete-active-region): New option.
8911         (delete-backward-char): Implement in Lisp.
8912         (delete-forward-char): New command.
8914         * mouse.el (mouse-region-delete-keys): Delete.
8915         (mouse-show-mark): Simplify.
8917         * bindings.el (global-map): Bind delete and DEL, the former to
8918         delete-forward-char.
8920 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
8922         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8923         (ruby-mode): Bind indent-line-function (Bug#5119).
8925 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8927         * startup.el (command-line): Recognize "0" X resource value.
8929 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8931         * startup.el (command-line): Use X resources to set the value of
8932         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8934         * menu-bar.el (menu-bar-mode):
8935         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8936         Set init-value to t.
8938         * frame.el (frame-notice-user-settings): Don't change
8939         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8940         vice versa (Bug#2249).
8942 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
8944         * w32-fns.el (w32-convert-standard-filename): Doc fix.
8946 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
8948         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8949         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8951         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8952         default directories are expanded (Bug#6143).
8954 2010-06-24  Juri Linkov  <juri@jurta.org>
8956         * minibuffer.el (completions-format): Change default from nil to
8957         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
8959 2010-06-24  Juri Linkov  <juri@jurta.org>
8961         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8962         buffer-locally to lambda that re-runs the vc diff command.
8963         (Bug#6447)
8965 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
8967         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8968         echo area is in use (Bug#3412).
8970 2010-06-22  Glenn Morris  <rgm@gnu.org>
8972         * textmodes/texinfmt.el (texinfo-format-region)
8973         (texinfo-raise-lower-sections, texinfo-format-separate-node)
8974         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8975         (texinfo-format-option, texinfo-noindent):
8976         Use line-beginning-position and line-end-position.
8978         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8979         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8980         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8981         utf-8 characters.
8983 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
8985         * play/zone.el (zone-fall-through-ws): Fix next-line ->
8986         forward-line fallout.
8988 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
8990         * mouse.el (mouse-appearance-menu): Add docstring.
8992         * help.el (describe-key): Print up-event using key-description.
8994 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
8996         * net/zeroconf.el (zeroconf-resolve-service)
8997         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8998         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9000 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
9002         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9004 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
9006         Avoid displaying files with a nil state in vc-dir.
9007         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9008         cases that cause insertion.
9009         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9010         with a nil state.
9012 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9014         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9016 2010-06-29  Leo  <sdl.web@gmail.com>
9018         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9020 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9022         * generic-x.el (bat-generic-mode): Fix regexp for command line
9023         switches (Bug#5719).
9025 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9027         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9028         of nconc to avoid pure storage error (Bug#6239).
9030 2010-06-27  Christoph Scholtes  <cschol2112@googlemail.com>
9032         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9033         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9034         bindings of bookmark-automatically-show-annotations (Bug#6515).
9036 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9038         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9039         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9041 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9043         * comint.el (make-comint, make-comint-in-buffer): Mention return
9044         value in the docstrings.  (Bug#6498)
9046 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9048         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9049         since it is not present when using some non-default switches.
9051 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9053         * simple.el (compose-mail): Fix doc string to refer to
9054         `compose-mail-user-agent-warnings', instead of to the
9055         nonexistent `compose-mail-check-user-agent'.
9057 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9059         Fix an indentation bug:
9061         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9062         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9063         of existing values.
9065         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9066         (c-clear->-pair-props-if-match-before): now return t when they've
9067         cleared properties, nil otherwise.
9068         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9069         by taking account of the existing value.
9071         * progmodes/cc-defs.el
9072         (c-clear-char-property-with-value-function): Fix this to clear the
9073         property rather than overwriting it with nil.
9075 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9077         * emacs-lisp/package.el (package-print-package): Add link to
9078         package description via describe-package.
9079         (describe-package-1): List package requirements.  Add button to
9080         perform installation.
9081         (package-menu-describe-package): New command.
9083         * help-mode.el (help-package): New button type.
9085 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9087         * emacs-lisp/package.el: Move package-list-packages binding to
9088         menu-bar.el.
9089         (describe-package, describe-package-1, package--dir): New funs.
9090         (package-activate-1): Use package--dir.
9092         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9094         * help-mode.el (help-package-def): New button type.
9096         * menu-bar.el: Move package-list-packages binding here from
9097         package.el.
9099 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9101         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9103 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9105         * emacs-lisp/edebug.el (edebug-read-list):
9106         Phase out old-style backquotes.
9108 2010-06-17  Juri Linkov  <juri@jurta.org>
9110         * help-mode.el (help-mode): Set buffer-local variable
9111         revert-buffer-function to help-mode-revert-buffer.
9112         (help-mode-revert-buffer): New function.
9114         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9115         before popping to "*info*" (like in other Info functions).
9116         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9117         old-history-forward.  Pop to old-buffer-name or "*info*" to
9118         recreate the killed buffer.  Set Info-history-forward from
9119         old-history-forward.
9120         (Info-breadcrumbs-depth): Add :group and :version.
9122 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9124         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9126 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9128         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9129         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9131 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9133         * emacs-lisp/package.el (package-menu-mode-map):
9134         Move initialization into declaration.
9136         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9138 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9140         * emacs-lisp/package.el (package-archive-base): Point to
9141         elpa.gnu.org.
9142         (package-enable, package-load-list): New defcustoms.
9143         (package-user-dir, package-directory-list): Turn into defcustoms.
9144         Don't include package-user-dir in package-directory-list.
9145         (package--builtins-base): Don't include Emacs as a "package".
9146         (package-subdirectory-regexp): New var.
9147         (package-load-all-descriptors, package-compute-transaction)
9148         (package-download-transaction): Obey package-load-list.
9149         (package-activate-1): Rename from package-do-activate.
9150         (package-list-packages-internal): Check package-load-list.
9151         (package-load-descriptor, package-generate-autoloads)
9152         (package-unpack, package-unpack-single)
9153         (package--read-archive-file, package-delete):
9154         Use expand-file-name.
9156         * emacs-lisp/package-x.el: New file.  Package uploading
9157         functionality split out from package.el.
9159         * startup.el (command-line): Load packages after reading init file.
9161 2010-06-17  Tom Tromey  <tromey@redhat.com>
9163         * emacs-lisp/package.el: New file.
9165 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9167         Fix vc-annotate for renamed files when using Git.
9168         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9169         ls-files.  Doe not pass the object as a file name to cat-file, it
9170         is not a file name.
9171         (vc-git-annotate-command): Pass the file name using -- to avoid
9172         ambiguity with the revision.
9173         (vc-git-previous-revision): Pass a relative file name.
9175 2010-06-22  Glenn Morris  <rgm@gnu.org>
9177         * progmodes/js.el (js-mode-map): Use standard capitalization and
9178         ellipses for menu entries.
9180         * wid-edit.el (widget-complete): Doc fix.
9182 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9184         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9186 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9188         Fix annotating other revisions for renamed files in vc-annotate.
9189         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9190         VC backend.  Use it when non-nil.
9191         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9192         (Bug#6487).
9194         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9195         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9196         Do not pass the file name to the 'previous-revision call when we
9197         don't want a file diff.  (Bug#6489)
9199 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9201         Fix finding revisions for renamed files in vc-annotate.
9202         * vc/vc.el (vc-find-revision): Add an optional argument for
9203         the VC backend.  Use it when non-nil.
9204         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9205         backend to vc-find-revision.  (Bug#6487)
9207 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9209         Fix reading file names in Git annotate buffers.
9210         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9211         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9213 2010-06-20  Alan Mackenzie  <acm@muc.de>
9215         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9216         in file local variables, set it first.
9218 2010-06-19  Glenn Morris  <rgm@gnu.org>
9220         * descr-text.el (describe-char-unicode-data): Insert separating
9221         space when needed.  (Bug#6422)
9223         * progmodes/idlwave.el (idlwave-action-and-binding):
9224         Fix typo in 2009-12-03 change.  (Bug#6450)
9226 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9228         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9229         handling for `lambda' (misunderstanding).
9231 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9233         * calc/calc-poly.el (math-accum-factors): Make sure that
9234         constants aren't distributed after they are factored out.
9236 2010-06-16  Juri Linkov  <juri@jurta.org>
9238         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9239         `list-colors-print'.  (Bug#6332)
9241         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9243 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9245         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9246         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9248         * font-lock.el (font-lock-major-mode): Rename from
9249         font-lock-mode-major-mode to distinguish it from
9250         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9251         (font-lock-set-defaults):
9252         * font-core.el (font-lock-default-function): Adjust users.
9253         (font-lock-mode): Don't set it at all.
9255 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9257         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9259 2010-06-16  Glenn Morris  <rgm@gnu.org>
9261         * calendar/appt.el (appt-time-msg-list): Doc fix.
9262         (appt-check): Let-bind appt-warn-time.
9263         (appt-add): Make the 3rd argument optional.
9264         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9265         Only add WARNTIME to the output list if non-nil.
9267 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9269         * calendar/appt.el (appt-check): Let the 3rd element of
9270         appt-time-msg-list specify the warning time.
9271         (appt-add): Add new argument with the warning time.  (Bug#5176)
9273 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9275         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9276         older than version 1.6.  (Bug#6361)
9278 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9280         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9281         used by cl-do-arglist.  (Bug#6408)
9283 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9285         * textmodes/ispell.el (ispell-dictionary-base-alist):
9286         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9287         Suggested by Rolando Pereira (bug#6434).
9289 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9291         * facemenu.el (list-colors-sort): Doc fix.
9293 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9295         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9297 2010-06-14  Juri Linkov  <juri@jurta.org>
9299         Add sort option `list-colors-sort'.  (Bug#6332)
9300         * facemenu.el (color-rgb-to-hsv): New function.
9301         (list-colors-sort): New defcustom.
9302         (list-colors-sort-key): New function.
9303         (list-colors-display): Doc fix.  Sort list according to the option
9304         `list-colors-sort'.
9305         (list-colors-print): Add HSV values to `help-echo' property of
9306         RGB strings.
9308 2010-06-14  Juri Linkov  <juri@jurta.org>
9310         * compare-w.el: Move to the "vc" subdirectory.
9312 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9314         * image-mode.el (image-mode-map): Remap left-char and right-char.
9316         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9318 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9320         * term/common-win.el (x-colors): Add all the color names defined
9321         in rgb.txt (Bug#6332).
9323         * facemenu.el (list-colors-print): Don't print extra names if it
9324         will overflow the window width.
9326         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9327         change (Bug#6343).
9329 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9331         * files.el (make-directory): Doc fix (bug#6396).
9333 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9335         * net/tramp.el (tramp-remote-process-environment): Protect version
9336         string by apostroph.
9337         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9338         XEmacs.
9339         (tramp-file-name-for-operation): Add `call-process-region'.
9340         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9342         * net/tramp-compat.el (top): Do not autoload
9343         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9344         only when `start-file-process' is not bound.
9345         (tramp-advice-file-expand-wildcards): Do not use
9346         `tramp-handle-file-remote-p'.
9347         (tramp-compat-make-temp-file): Handle the case, that
9348         `make-temp-file' has no third argument EXTENSION.
9350 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9352         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9354         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9356 2010-06-11  Juri Linkov  <juri@jurta.org>
9358         * finder.el (finder-known-keywords): Add keyword "vc"
9359         for version control.
9361         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9362         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9363         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9364         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9366 2010-06-11  Juri Linkov  <juri@jurta.org>
9368         Move version control related files to the "vc" subdirectory.
9369         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9370         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9371         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9372         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9373         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9374         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9375         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9376         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9377         Move files to the "vc" subdirectory.
9379 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9381         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9382         (Bug#6367).
9384 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9386         * shell.el: Bind `shell-resync-dirs' to M-RET.
9388 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9390         * notifications.el: Move file from lisp/net, because it is
9391         supposed to talk locally to the user.
9393 2010-06-10  Julien Danjou  <julien@danjou.info>
9395         * net/notifications.el (notifications-on-action-signal)
9396         (notifications-on-closed-signal): Pass notification id as first
9397         argument to the callback functions.  Add docstrings.
9398         (notifications-notify): Fix docstring.
9400 2010-06-10  Glenn Morris  <rgm@gnu.org>
9402         * emacs-lisp/authors.el (authors-ignored-files)
9403         (authors-valid-file-names): Add some files.
9405 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9407         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9408         merge conflict, giving preference to the emacs-23 version of the code.
9410 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9412         * emacs-lisp/advice.el (ad-compile-function):
9413         Define warning-suppress-types before we let-bind it (bug#6275).
9415         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9416         declare it, make it buffer-local and permanent-local (bug#6324).
9417         (vc-resynch-window): Adjust name.
9418         * vc-hooks.el (vc-find-file-hook): Adjust name.
9420 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9422         * net/notifications.el (notifications-notify): Fix docstring.
9424 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9426         Update to Unicode 6.0.0 beta.
9427         * international/charprop.el: Update copyright.
9428         * international/mule-cmds.el (ucs-names): Update character ranges.
9429         * international/uni-bidi.el:
9430         * international/uni-category.el:
9431         * international/uni-combining.el:
9432         * international/uni-comment.el:
9433         * international/uni-decimal.el:
9434         * international/uni-decomposition.el:
9435         * international/uni-digit.el:
9436         * international/uni-lowercase.el:
9437         * international/uni-mirrored.el:
9438         * international/uni-name.el:
9439         * international/uni-numeric.el:
9440         * international/uni-old-name.el:
9441         * international/uni-titlecase.el:
9442         * international/uni-uppercase.el: Regenerate.
9444 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9446         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9447         (smie-precs-precedence-table): Fix typo in docstring.
9449         * vc-mtn.el (log-edit-extract-headers): Declare function.
9451         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9453         * net/notifications.el (dbus-register-signal): Declare function.
9454         (notifications-notify): Fix typos and reflow docstring.
9456 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9458         Improve VC create/retrieve tag/branch.
9459         * vc.el (vc-create-tag): Do not read the directory name for VCs
9460         with repository revision granularity.  Adjust the tag/branch
9461         prompt.  Reset VC properties.
9462         (vc-retrieve-tag): Do not read the directory name for VCs
9463         with repository revision granularity.  Reset VC properties.
9465 2010-06-09  Julien Danjou  <julien@danjou.info>
9467         * net/notifications.el: New file.
9469 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9471         Add optional support for resetting VC properties.
9472         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9473         call vc-file-clearprops when true.
9474         (vc-resynch-buffer): Add new optional argument, pass it down.
9475         (vc-resynch-buffers-in-directory): Likewise.
9477         Improve support for special markup in the VC commit message.
9478         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9479         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9480         * vc-git.el (vc-git-checkin):
9481         * vc-bzr.el (vc-bzr-checkin): Likewise.
9483 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9485         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9486         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9488 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9490         * iimage.el: Remove images as soon as the underlying text is modified.
9491         (iimage-modification-hook): New function.
9492         (iimage-mode-buffer): Use it.
9494 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9496         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9497         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9498         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9499         (smie-indent-keyword): Add handling of open-paren keywords.
9500         (smie-indent-comment-continue): Don't assume comment-continue.
9502 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9504         * window.el (pop-to-buffer): Remove the conditional that
9505         compares new-window and old-window, so it will reselect
9506         the selected window unconditionally.
9507         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9509 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9511         * emacs-lisp/smie.el (smie-indent-offset-after)
9512         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9513         (smie-indent-after-keyword): Use them.
9514         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9515         (smie-indent-keyword): Tweak the black magic.
9516         (smie-indent-comment-continue): Strip comment-continue before use.
9517         (smie-indent-functions): Indent comments before keywords.
9519 2010-06-06  Juri Linkov  <juri@jurta.org>
9521         * isearch.el (isearch-lazy-highlight-search): Fix looping
9522         by checking for empty match.  This syncs this loop with the
9523         similar loop in `isearch-search'.  (Bug#6362)
9525 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9527         * net/dbus.el (dbus-register-method): Declare function.
9528         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9529         (dbus-introspect): Doc fix.
9530         (dbus-event-bus-name, dbus-introspect-get-interface)
9531         (dbus-introspect-get-argument): Reflow docstrings.
9533 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9535         vc-log-incoming/vc-log-outgoing fixes for Git.
9536         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9537         incoming/outgoing logs.
9538         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9539         instead of vc-git-compute-remote.
9540         (vc-git-compute-remote): Remove.
9542 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9544         * term/common-win.el (x-colors): Add "dark green" and "dark
9545         turquoise" (Bug#6332).
9547 2010-06-04  Juri Linkov  <juri@jurta.org>
9549         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9550         Instead of setting `replace' to t and replacing the same string
9551         with itself, don't do certain actions when
9552         kill-do-not-save-duplicates is non-nil and string is equal to car
9553         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9554         interprogram-paste strings to kill-ring, and don't push the input
9555         argument `string' to kill-ring.
9556         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9558 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9560         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9562 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9564         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9565         (tramp-gvfs-handler-mounted-unmounted)
9566         (tramp-gvfs-connection-mounted-p): Handle default-location.
9568         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9569         move files to trash.
9571 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9573         * international/mule-cmds.el (nonascii-insert-offset)
9574         (nonascii-translation-table): Add obsolescence information.
9576         * international/mule.el (make-translation-table-from-vector): Doc fix.
9578 2010-06-03  Glenn Morris  <rgm@gnu.org>
9580         * desktop.el (desktop-clear-preserve-buffers):
9581         Add "*Warnings*" buffer.  (Bug#6336)
9583 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9585         vc-log-incoming/vc-log-outgoing improvements for Git.
9586         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9587         short log.
9588         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9590         Add bindings for vc-log-incoming and vc-log-outgoing.
9591         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9592         and vc-log-outgoing.
9593         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9594         and vc-log-outgoing.
9596 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9598         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9599         (rcirc-handler-366): Always sort nicknames.
9601 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9603         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9605 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9607         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9609 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9611         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9612         (rcirc-sort-nicknames-join): Avoid setq.
9614 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9616         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9617         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9618         (rcirc-handler-366): Use them.
9620 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9622         Split smie-indent-calculate into more manageable chunks.
9623         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9624         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9625         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9626         (smie-indent-exps): Extract from smie-indent-calculate.
9627         (smie-indent-functions): New var.
9628         (smie-indent-functions): Use them.
9630 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9632         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9633         (smie-indent-calculate): Simplify and cleanup.
9635 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9637         * net/tramp-gvfs.el (top): Require url-util.
9638         (tramp-gvfs-mount-point): Remove.
9639         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9640         New defuns.
9641         (with-tramp-dbus-call-method): Format trace message.
9642         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9643         Implement backup call, when operation on local files fails.
9644         Use progress reporter.  Flush properties of changed files.
9645         (tramp-gvfs-handle-make-directory): Make more traces.
9646         (tramp-gvfs-url-file-name): Hexify file name in url.
9647         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9648         into account for the resulting file name.
9649         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9650         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9651         (tramp-gvfs-handler-mounted-unmounted)
9652         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9653         attribute "default_location".  Set "prefix" property.
9654         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9655         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9656         exists.  Raise an error, if not (due to a corresponding answer
9657         "no" in interactive questions, for example).
9659 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9661         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9663 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9665         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9666         right-*.  (Bug#6265)
9668 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
9670         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9671         * vc-git.el (vc-git-compute-remote): New function.
9672         (vc-git-log-outgoing): Use it instead of hard coding a value.
9673         (vc-git-log-incoming): New function.
9675         Improve state updating for VC tag commands.
9676         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9677         to update the state of all buffers in the directory.
9679         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9681 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9683         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9684         `file-directory-p' to the filename part rather than to the whole text.
9686 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9688         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9690 2010-05-31  Drew Adams  <drew.adams@oracle.com>
9692         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9694 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
9696         * subr.el (momentary-string-display): Just use read-event to read
9697         the exit event (Bug#6238).
9699 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
9701         * international/mule.el (define-coding-system): Doc fix (bug#6313).
9703 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9705         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9706         Suggested by Eli Zaretskii <eliz@gnu.org>.
9708 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9710         * minibuffer.el (completion-file-name-table): Don't return a boundary
9711         past the end of `string' (bug#6299).
9712         (completion--file-name-table): Delegate to completion-file-name-table
9713         for the `boundaries' case.
9715 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9717         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9718         movement commands.
9720         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9721         `path-separator', but maintain compatibility with Emacs 20.2.
9723 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9725         * server.el (server-process-filter): Receive parent-id argument
9726         from emacsclient.
9727         (server-create-window-system-frame): New arg.  Pass parent-id as
9728         frame parameter.
9730 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
9732         Bidi-sensitive word movement with arrow keys.
9733         * subr.el (right-arrow-command, left-arrow-command): Move to
9734         bindings.el.
9736         * bindings.el (right-char, left-char): Move from subr.el and
9737         rename from right-arrow-command and left-arrow-command.
9738         (right-word, left-word): New functions.
9739         (global-map) <right>: Bind to right-char.
9740         (global-map) <left>: Bind to left-char.
9741         (global-map) <C-right>: Bind to right-word.
9742         (global-map) <C-left>: Bind to left-word.
9744         * ls-lisp.el (ls-lisp-classify-file): New function.
9745         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9746         (ls-lisp-classify): Call ls-lisp-classify-file.
9747         (insert-directory): Remove blanks from switches.
9749 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9751         * ansi-color.el: Delete unused escape sequences (Bug#6085).
9752         (ansi-color-drop-regexp): New constant.
9753         (ansi-color-apply, ansi-color-filter-region)
9754         (ansi-color-apply-on-region): Delete unrecognized control sequences.
9755         (ansi-color-apply): Build string list before calling concat.
9757 2010-05-28  Juri Linkov  <juri@jurta.org>
9759         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9760         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9761         (Bug#5270)
9763 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9765         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9766         to ignored backtrace functions.
9767         (with-progress-reporter): Expand docstring.
9768         (tramp-handle-delete-file): Implement TRASH argument.
9769         (tramp-get-remote-trash): New defun.
9771 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9773         * net/tramp-compat.el (tramp-compat-delete-file):
9774         Use `symbol-value' for backward compatibility.
9776         * net/tramp.el (tramp-handle-make-symbolic-link)
9777         (tramp-handle-load)
9778         (tramp-do-copy-or-rename-file-via-buffer)
9779         (tramp-do-copy-or-rename-file-directly)
9780         (tramp-do-copy-or-rename-file-out-of-band)
9781         (tramp-handle-process-file, tramp-handle-call-process-region)
9782         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9783         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9784         (tramp-delete-temp-file-function): Use `delete-file' instead
9785         of `tramp-compat-delete-file'.
9787         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9788         (tramp-fish-handle-make-symbolic-link)
9789         (tramp-fish-handle-process-file): Use `delete-file' instead
9790         of `tramp-compat-delete-file'.
9792         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9793         Use `delete-file' instead of `tramp-compat-delete-file'.
9795         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
9796         `delete-file' instead of `tramp-compat-delete-file'.
9798         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9799         Use `delete-file' instead of `tramp-compat-delete-file'.
9801         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9802         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9803         (tramp-smb-handle-write-region): Use `delete-file' instead of
9804         `tramp-compat-delete-file'.
9805         (tramp-smb-handle-delete-directory): Use 'trash as arg.
9807 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9809         * dired.el (dired-delete-file): New arg TRASH.
9810         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
9811         (dired-do-flagged-delete, dired-do-delete): Use trash.
9813         * speedbar.el (speedbar-item-delete): Allow trashing.
9815         * files.el (delete-directory): New arg TRASH.
9817         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9818         (ange-ftp-rename-remote-to-remote)
9819         (ange-ftp-rename-local-to-remote)
9820         (ange-ftp-rename-remote-to-local, ange-ftp-load)
9821         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9822         `delete-file'.
9823         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9824         allow trashing.
9826         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9827         handle new TRASH arg of `delete-file'.
9829         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9830         (tramp-handle-make-symbolic-link, tramp-handle-load)
9831         (tramp-do-copy-or-rename-file-via-buffer)
9832         (tramp-do-copy-or-rename-file-directly)
9833         (tramp-do-copy-or-rename-file-out-of-band)
9834         (tramp-handle-process-file, tramp-handle-call-process-region)
9835         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9836         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9837         (tramp-delete-temp-file-function): Use null TRASH arg in
9838         tramp-compat-delete-file call.
9840         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9841         (tramp-fish-handle-delete-file)
9842         (tramp-fish-handle-make-symbolic-link)
9843         (tramp-fish-handle-process-file): Use null TRASH arg in
9844         `tramp-compat-delete-file' call.
9846         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9847         arg in `tramp-compat-delete-file' call.
9849         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9850         (tramp-gvfs-handle-write-region): Use null TRASH arg in
9851         `tramp-compat-delete-file' call.
9853         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9854         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9855         `tramp-compat-delete-file' call.
9857         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9858         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9859         (tramp-smb-handle-write-region): Use null TRASH arg in
9860         tramp-compat-delete-file call.
9861         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9862         (tramp-smb-handle-delete-file): Rename arg.
9864         * diff.el (diff-sentinel):
9865         * epg.el (epg--make-temp-file, epg-decrypt-string)
9866         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9867         * jka-compr.el (jka-compr-partial-uncompress)
9868         (jka-compr-call-process, jka-compr-write-region):
9869         * server.el (server-sentinel): Remove optional arg from
9870         delete-file, reverting 2010-05-03 change.
9872 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9874         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9875         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9877 2010-05-27  Kenichi Handa  <handa@m17n.org>
9879         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9880         element of GSTRING is nil.
9882 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9884         * emacs-lisp/smie.el (smie-forward-token-function)
9885         (smie-backward-token-function): New vars.
9886         (smie-backward-sexp, smie-forward-sexp)
9887         (smie-indent-hanging-p, smie-indent-calculate): Use them.
9888         (smie-default-backward-token): Rename from smie-backward-token and
9889         skip comments.
9890         (smie-default-forward-token): Rename from smie-forward-token and
9891         skip comments.
9892         (smie-next-sexp): Handle nil results from next-token.
9893         (smie-indent-calculate): Add a new case for special `fixindent' comments.
9895 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9897         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9898         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9900 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
9902         * htmlfontify.el (hfy-face-resolve-face): New function.
9903         (hfy-face-to-style): Use it (Bug#6279).
9905 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9907         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9908         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9910 2010-05-26  Glenn Morris  <rgm@gnu.org>
9912         * emulation/edt.el (edt-load-keys): Use locate-library.
9914 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
9916         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9917         (log-edit-changelog-entries): Doc fix.
9918         (log-edit-changelog-insert-entries): Args changed.
9919         Rename relative filenames in ChangeLog entries.  Delete tabs.
9920         (log-edit-insert-changelog-entries): Reorganize return value of
9921         `log-edit-changelog-entries' to pass filenames to
9922         log-edit-changelog-insert-entries.
9924 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9926         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9927         `image-dired-dired-insert-marked-thumbs' to
9928         `image-dired-dired-toggle-marked-thumbs'.
9930         * image-dired.el: Require cl when compiling.
9931         (image-dired-dired-toggle-marked-thumbs): Rename from
9932         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
9933         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
9934         to 'no-dir.  Skip files whose names don't match
9935         `image-file-name-regexp'.  When file has a thumbnail overlay,
9936         delete it.  (Bug#5270)
9938 2010-05-25  Juri Linkov  <juri@jurta.org>
9940         * image-mode.el (image-mode): Add image-after-revert-hook to
9941         after-revert-hook.
9942         (image-after-revert-hook): New function.  (Bug#5669)
9944 2010-05-25  Juri Linkov  <juri@jurta.org>
9946         * image.el (image-animated-p): When delay between animated images
9947         is 0, set it to 10 (0.1 sec).  (Bug#6258)
9949 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
9951         * net/tramp.el (tramp-handle-insert-directory): Don't use
9952         `forward-word', its default syntax could be changed.
9954 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
9956         * net/tramp.el (tramp-progress-reporter-update): New defun.
9957         (with-progress-reporter): Use it.
9958         (tramp-process-actions):
9959         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9960         Preserve current message, in order to let progress reporter continue
9961         afterwards.  (Bug#6257)
9963 2010-05-25  Glenn Morris  <rgm@gnu.org>
9965         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9966         Add :version.
9968 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9970         * net/rcirc.el (rcirc-default-user-name): Change to "user".
9971         (rcirc-default-full-name): Change to "unknown".
9972         (rcirc-user-name-history): Add variable.
9974 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9975             Jonathan Rockway  <jon@jrock.us>
9977         * net/rcirc.el (rcirc-server-alist): Add :pass.
9978         (rcirc): When prompting for connection parameters, also prompt for
9979         username and password.
9980         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
9981         value to server when connecting.
9983 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9985         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9986         (smie-merge-prec2s): Pass the tables as separate args.
9987         (smie-bnf-precedence-table): Adjust call accordingly.
9988         (smie-prec2-levels): Set levels at the end.
9990         Replace Lisp calls to delete-backward-char by delete-char.
9991         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9992         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9993         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9994         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9995         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9996         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9997         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9998         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9999         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10000         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10001         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10002         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10003         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10004         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10005         delete-backward-char by calls to delete-char.
10007 2010-05-25  Kenichi Handa  <handa@m17n.org>
10009         * language/hebrew.el (hebrew-shape-gstring): New function.
10010         Register it in composition-function-table for all Hebrew combining
10011         characters.
10013 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10015         * epa.el (epa--select-keys): Don't explicitly delete the window since
10016         that can fail (e.g. sole window in frame).  Use dedication instead.
10018 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10020         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10022 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10024         * image.el (image-refresh): Define as an alias for image-flush.
10026         * image-mode.el (image-toggle-display-image): Caller changed.
10028 2010-05-21  Juri Linkov  <juri@jurta.org>
10030         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10031         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10032         whitespace, call wildcard-to-regexp on substrings and concat them
10033         with "\\|".  (Bug#6114)
10035 2010-05-21  Alan Mackenzie  <acm@muc.de>
10037         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10038         Replace parameter `here' with `here-' and `here-plus', which sandwich
10039         any pertinent CPP construct.
10040         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10041         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10042         CPP construct from taking part in the scanning.
10044 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10046         * net/tramp.el (tramp-do-copy-or-rename-file)
10047         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10048         Tune `with-progress-reporter' messages.
10049         (tramp-handle-vc-registered):
10050         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10051         (tramp-fish-handle-insert-file-contents)
10052         (tramp-fish-maybe-open-connection):
10053         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10054         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10055         (tramp-imap-handle-insert-file-contents)
10056         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10058 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10060         * add-log.el (change-log-font-lock-keywords):
10061         Highlight all authors in multi-author entries.
10063         * smerge-mode.el (smerge-refine-ignore-whitespace)
10064         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10065         Fix typos in docstrings.
10066         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10068 2010-05-21  Glenn Morris  <rgm@gnu.org>
10070         * progmodes/fortran.el (fortran-mode):
10071         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10073         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10074         having a relative path in src/Makefile.in.
10076 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10078         * help-mode.el (help-make-xrefs): For Info node links turn
10079         newlines into spaces.  Link node names with newlines are matched
10080         by help-xref-info-regexp and buttonized, this change ensures they
10081         can be followed successfully with RET.  (Bug#6206)
10083 2010-05-20  Juri Linkov  <juri@jurta.org>
10085         * locate.el (locate): Use pop-to-buffer instead of
10086         switch-to-buffer-other-window.  (Bug#6204)
10088 2010-05-20  Juri Linkov  <juri@jurta.org>
10090         * replace.el (replace-highlight): Fix lazy-highlighting
10091         for `M-s w str M-% str RET'.
10093 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10095         * isearch.el (isearch-yank-word-or-char): Pull next subword
10096         when `subword-mode' is activated.  (Bug#6220)
10098 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10100         * isearch.el (isearch-update-post-hook): New hook.
10101         (isearch-update): Use the new hook.  (Bug#6225)
10103 2010-05-20  Juri Linkov  <juri@jurta.org>
10105         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10106         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10107         (Bug#6222)
10109 2010-05-20  Juri Linkov  <juri@jurta.org>
10111         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10112         (Bug#6223)
10114 2010-05-20  Juri Linkov  <juri@jurta.org>
10116         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10117         FILE-NAME to read from the minibuffer when called interactively
10118         with prefix argument instead of using buffer-file-name.
10119         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10121         * dired.el: Update autoloads.
10123 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10125         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10126         nxml-finish-element, for consistency with SGML mode.
10128         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10129         octave-close-block.
10131 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10133         * composite.el: Require cl when compiling.
10134         (reference-point-alist, compose-gstring-for-graphic)
10135         (compose-gstring-for-terminal): Fix typos in docstrings.
10137 2010-05-19  Juri Linkov  <juri@jurta.org>
10139         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10140         set-window-parameter.
10142 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10144         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10145         where appropriate.
10146         (tramp-maybe-open-connection): Use it.
10148 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10150         * simple.el (move-end-of-line): Make sure we are at line beginning
10151         before backing up to end of previous line.
10153 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10155         * password-cache.el (password-cache-remove): Fix docstring.
10157         * net/secrets.el: Autoload the widget functions.
10158         (secrets-search-items, secrets-create-item)
10159         (secrets-get-attributes, secrets-expand-item): Attributes will be
10160         stored on the password database without leading ":", as all other
10161         clients do as well.
10162         (secrets-mode): Fix docstring.
10163         (secrets-show-secrets): Provide it as autoloaded command only when
10164         D-Bus support is available.  Check existence of Secret Service API.
10166 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10168         * indent.el (indent-region): Deactivate region (bug#6200).
10170 2010-05-19  Glenn Morris  <rgm@gnu.org>
10172         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10174 2010-05-19  Kenichi Handa  <handa@m17n.org>
10176         * composite.el: Register compose-gstring-for-graphic in
10177         composition-function-table only for combining characters (Mn, Mc, Me).
10179 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10181         * calc/calc-trail.el (calc-trail-isearch-forward)
10182         (calc-trail-isearch-backward): Ensure that the new window
10183         point is set correctly.
10185 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10187         * subr.el (read-quoted-char): Resolve modifiers after key
10188         remapping (bug#6212).
10190 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10192         Add visualization code for secrets.
10193         * net/secrets.el (secrets-mode): New major mode.
10194         (secrets-show-secrets, secrets-show-collections)
10195         (secrets-expand-collection, secrets-expand-item)
10196         (secrets-tree-widget-after-toggle-function)
10197         (secrets-tree-widget-show-password): New defuns.
10199 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10201         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10202         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10203         handled in smie-next-sexp.
10204         (smie-indent-calculate): Provide a starting indentation (so the
10205         recursion is well-founded ;-).
10207         Fix handling of non-associative equal levels.
10208         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10209         when it's not needed.
10210         (smie-op-left, smie-op-right): New functions.
10211         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10212         Better handle equal levels to distinguish the associative case from
10213         the "multi-keyword construct" case.
10214         (smie-backward-sexp, smie-forward-sexp): Use it.
10216 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10218         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10220         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10221         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10223 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10225         Provide a simple generic indentation engine and use it for Prolog.
10226         * emacs-lisp/smie.el: New file.
10227         * progmodes/prolog.el (prolog-smie-op-levels)
10228         (prolog-smie-indent-rules): New var.
10229         (prolog-mode-variables): Use them to configure SMIE.
10230         (prolog-indent-line, prolog-indent-level): Remove.
10232 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10234         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10235         order before computing the averages.
10237 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10239         * calc/calc-vec.el (calc-histogram):
10240         (calcFunc-histogram): Allow vectors as inputs.
10241         (math-vector-avg): New function.
10243         * calc/calc-ext.el (math-group-float): Have the number of digits
10244         being grouped depend on the radix (Bug#6189).
10246 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10248         * version.el (emacs-copyright, emacs-version): Don't define here,
10249         now that emacs.c defines it.
10251 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10253         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10254         "Describe Language Environment" menu item.
10256         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10258         Bidi-sensitive movement with arrow keys.
10259         * subr.el (right-arrow-command, left-arrow-command): New functions.
10261         * bindings.el (global-map): Bind them to right and left arrow keys.
10263         Don't override standard definition of convert-standard-filename.
10264         * files.el (convert-standard-filename):
10265         Call w32-convert-standard-filename and dos-convert-standard-filename on
10266         the corresponding systems.
10268         * w32-fns.el (w32-convert-standard-filename): Rename from
10269         convert-standard-filename.  Doc fix.
10271         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10272         (convert-standard-filename): Don't defalias.
10273         (register-name-alist, make-register, register-value)
10274         (set-register-value, intdos): Obsolete aliases for the
10275         corresponding dos-* functions and variables.
10276         (dos-intdos): Add a doc string.
10278 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10280         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10281         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10282         (math-compose-tex-func):
10283         * calc/calccomp.el (math-compose-expr):
10284         * calc/calc-ext.el (math-format-flat-expr-fancy):
10285         * calc/calc-store.el (calc-read-var-name):
10286         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10288         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10289         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10290         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10291         (math-standard-units): Add units.
10293 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10295         * progmodes/asm-mode.el (asm-mode):
10296         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10298         * pcomplete.el (pcomplete-completions-at-point): New function,
10299         extracted from pcomplete-std-complete.
10300         (pcomplete-std-complete): Use it.
10302 2010-05-15  Glenn Morris  <rgm@gnu.org>
10304         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10305         Remove references to CVS, RCS and Old directories.
10307 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10309         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10310         appropriate.
10312 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10314         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10315         (sh-mode-syntax-table): Give it a default value instead.
10316         (sh-header-marker): Make buffer-local.
10317         (sh-mode): Move make-local-variable to the corresponding setq.
10318         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10319         Use complete-with-action.
10321         * simple.el (prog-mode): New (abstract) major mode.
10322         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10323         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10325 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10327         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10328         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10329         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10330         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10331         (sql-escape-newlines-filter, sql-input-sender)
10332         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10334 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10336         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10338         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10339         latex-open-block and C-c / to latex-close-block.
10341         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10342         and C-c C-e to sgml-close-tag.
10344 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10346         * net/tramp.el (with-progress-reporter): Create reporter object
10347         only when the message would be displayed.  Handle nested calls.
10348         (tramp-handle-load, tramp-handle-file-local-copy)
10349         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10350         (tramp-maybe-send-script, tramp-find-shell):
10351         Use `with-progress-reporter'.
10352         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10353         Fix message text.
10355         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10356         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10357         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10358         Use `with-progress-reporter'.
10360 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10362         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10363         process everytime when spellchecking from the minibuffer (bug#6143).
10365 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10367         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10369         * dos-fns.el: Add "dos-" prefix for namespace control.
10370         (convert-standard-filename): Define as alias for
10371         dos-convert-standard-filename but only if applicable.
10373 2010-05-12  Alan Mackenzie  <acm@muc.de>
10375         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10376         Push the mark at the start of these functions when appropriate.
10378 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10380         * minibuffer.el (completion-cycle-threshold): New custom var.
10381         (completion--do-completion): Use it.
10382         (minibuffer-complete): Use cycling if appropriate.
10384 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10386         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10387         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10389 2010-05-11  Juri Linkov  <juri@jurta.org>
10391         * scroll-all.el (scroll-all-check-to-scroll):
10392         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10394 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10396         * iimage.el (iimage-mode-map): Move initialization into declaration.
10397         (iimage-mode-buffer): Use with-silent-modifications.
10398         Simplify calling convention.  Adjust callers.
10399         (iimage-mode): Don't run hook redundantly.
10401         * minibuffer.el (completion-pcm--pattern->regex):
10402         Fix last change (bug#6160).
10404 2010-05-10  Juri Linkov  <juri@jurta.org>
10406         Remove nodes visited during Isearch from the Info history.
10407         * info.el (Info-isearch-initial-history)
10408         (Info-isearch-initial-history-list): New variables.
10409         (Info-isearch-start): Record initial values of
10410         Info-isearch-initial-history and Info-isearch-initial-history-list.
10411         Add Info-isearch-end to isearch-mode-end-hook.
10412         (Info-isearch-end): New function.
10414 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10416         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10417         format string, in order to work around a bug in pdksh.
10418         Reported by Gilles Pion <gpion@lfdj.com>.
10419         (tramp-handle-verify-visited-file-modtime): Do not send a command
10420         when the connection is not established.
10421         (tramp-handle-set-file-times): Simplify the check for utc.
10423 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10425         Fix use of `filter-buffer-substring' (rework previous change).
10426         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10427         (cua-repeat-replace-region):
10428         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10429         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10430         (cua-cut-region-to-global-mark): Use it.
10432 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10434         * progmodes/sql.el: Version 2.1.
10435         (sql-product-alist): Redesign structure of product info.
10436         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10437         (sql-port, sql-port-history): New variables.
10438         (sql-interactive-product): New variable.
10439         (sql-send-terminator): New variable.
10440         (sql-imenu-generic-expression): Add "Types" imenu entry.
10441         (sql-oracle-login-params, sql-sqlite-login-params)
10442         (sql-mysql-login-params, sql-solid-login-params)
10443         (sql-sybase-login-params, sql-informix-login-params)
10444         (sql-ingres-login-params, sql-ms-login-params)
10445         (sql-postgres-login-params, sql-interbase-login-params)
10446         (sql-db2-login-params, sql-linter-login-params)
10447         (sql-oracle-scan-on): New variables.
10448         (sql-mode-map): Add C-c C-i to start interactive mode.
10449         (sql-mode-menu): Update existing menu entries.
10450         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10451         (sql-mode-oracle-font-lock-keywords)
10452         (sql-mode-postgres-font-lock-keywords)
10453         (sql-mode-ms-font-lock-keywords)
10454         (sql-mode-sybase-font-lock-keywords)
10455         (sql-mode-informix-font-lock-keywords)
10456         (sql-mode-interbase-font-lock-keywords)
10457         (sql-mode-ingres-font-lock-keywords)
10458         (sql-mode-solid-font-lock-keywords)
10459         (sql-mode-mysql-font-lock-keywords)
10460         (sql-mode-sqlite-font-lock-keywords)
10461         (sql-mode-db2-font-lock-keywords)
10462         (sql-mode-linter-font-lock-keywords): Update initialization to
10463         reduce run-time complexity.
10464         (sql-add-product, sql-del-product): New functions.
10465         (sql-set-product-feature, sql-get-product-feature): New functions.
10466         (sql-product-font-lock): Update product API.
10467         (sql-add-product-keywords): New function.
10468         (sql-highlight-product): Update product API.
10469         (sql-help-list-products): New function.
10470         (sql-help): Dynamically lists free and non-free products.
10471         (sql-get-login): Correct bug in handling history and added
10472         prompt for port.
10473         (sql-copy-column): Copy without properties.
10474         (sqli-input-sender): Apply filters to SQLi input.
10475         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10476         Implement as a filter.
10477         (sql-escape-newlines-filter): Implement as a filter.
10478         (sql-remove-tabs-filter): New function.
10479         (sql-send-magic-terminator): New function.
10480         (sql-send-string): Implement magic terminator.
10481         (sql-send-region): Use `sql-send-string'.
10482         (sql-interactive-mode): Use product API.
10483         (sql-product-interactive): Use product API.
10484         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10485         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10486         (sql-db2, sql-linter): Use `sql-product-interactive'.
10487         (sql-connect): New function.
10488         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10489         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10490         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10491         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10492         Use `sql-connect'.
10494 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10496         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10497         New custom variable.
10498         (completion-pcm--string->pattern): Use it.
10499         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10500         Make it handle any symbol as `any'.
10501         (completion-pcm--merge-completions): Extract common suffix for the new
10502         `prefix' symbol as well.
10503         (completion-substring--all-completions): Use the new `prefix' symbol.
10505 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10507         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10508         not bound.
10509         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10510         (tramp-compat-funcall): New defmacro.
10511         (tramp-compat-line-beginning-position)
10512         (tramp-compat-line-end-position)
10513         (tramp-compat-temporary-file-directory)
10514         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10515         (tramp-compat-copy-file, tramp-compat-copy-directory)
10516         (tramp-compat-delete-file, tramp-compat-delete-directory)
10517         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10518         * net/tramp.el (top, with-progress-reporter)
10519         (tramp-rfn-eshadow-setup-minibuffer)
10520         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10521         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10522         (tramp-completion-mode-p, tramp-check-for-regexp)
10523         (tramp-open-connection-setup-interactive-shell)
10524         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10525         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10526         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10527         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10528         (tramp-reporter-dump-variable, tramp-load-report-modules)
10529         (tramp-append-tramp-buffers)
10530         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10532         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10534 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10536         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10537         buffer-modtime.  Adjust users.
10539 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10541         * international/mule.el (auto-coding-alist): Only purecopy
10542         car of each item, not the whole list (Bug#6083).
10544 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10546         * progmodes/js.el (js-mode): Make paragraph variables local before
10547         calling c-setup-paragraph-variables (Bug#6071).
10549 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10551         * composite.el (compose-region, reference-point-alist): Fix typos
10552         in the doc strings.
10554 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10556         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10557         gnuplot's "set" command.
10559 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10561         * abbrev.el (last-abbrev-text): Doc fix.
10562         (abbrev-prefix-mark): Don't escape parenthesis.
10564 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10566         * composite.el (find-composition): Doc fix.
10568 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10570         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10571         (sql-oracle-program, sql-sqlite-options)
10572         (sql-query-placeholders-and-send): Doc fixes.
10573         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10574         (sql-imenu-generic-expression, sql-buffer)
10575         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10576         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10577         (sql-mode-sybase-font-lock-keywords)
10578         (sql-mode-informix-font-lock-keywords)
10579         (sql-mode-interbase-font-lock-keywords)
10580         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10581         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10582         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10583         (sql-product-feature, sql-highlight-product)
10584         (comint-line-beginning-position, sql-rename-buffer)
10585         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10586         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10587         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10588         Fix typos in docstrings.
10590 2010-05-08  Juri Linkov  <juri@jurta.org>
10592         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10593         property instead of `invisible' and `after-string' (bug#5998).
10595 2010-05-08  Juri Linkov  <juri@jurta.org>
10597         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10599 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10601         * filecache.el (file-cache-add-directory-list)
10602         (file-cache-add-directory-recursively): Fix typos in docstrings.
10604 2010-05-08  Kenichi Handa  <handa@m17n.org>
10606         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10607         (gujarati-composable-pattern): Fix typo.
10609 2010-05-08  Kenichi Handa  <handa@m17n.org>
10611         * language/indian.el (oriya-composable-pattern)
10612         (tamil-composable-pattern, malayalam-composable-pattern):
10613         Add two-part vowels to "v" (vowel sign).
10615 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10617         * files.el (copy-directory): Handle symlinks (Bug#5982).
10619 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10621         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10622         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10623         (Bug#5846).
10625 2010-05-08  Glenn Morris  <rgm@gnu.org>
10627         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10629         * minibuffer.el (completion-at-point): Doc fix.
10631 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10633         * electric.el (Electric-command-loop): Minor tweak.
10635         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10636         better with dedicated windows.
10638 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10640         * Version 23.2 released.
10642 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
10643             Stefan Monnier  <monnier@iro.umontreal.ca>
10645         Highlight vendor specific properties.
10646         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10647         (css-proprietary-property): New face.
10648         (css-font-lock-keywords): Use them.
10650 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10652         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10654 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10656         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10657         * files.el (auto-mode-alist): Remove redundant entries.
10659         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10660         * simple.el (auto-save-mode): Move from files.el.
10661         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10663 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10665         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10667 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
10669         * mail/binhex.el (binhex-decode-region-internal)
10670         * mail/uudecode.el (uudecode-decode-region-internal)
10671         * net/dns.el (dns-read-string-name, dns-write, dns-read)
10672         (dns-read-type, dns-query)
10673         * pgg-parse.el (pgg-parse-armor)
10674         * pgg.el (pgg-verify-region)
10675         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10676         XEmacs.
10678         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10680 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
10682         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10684         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10685         * emulation/cua-base.el (cua-repeat-replace-region):
10686         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10687         (cua-cut-region-to-global-mark):
10688         Remove text properties with `set-text-properties'.
10690 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
10692         * net/tramp.el (top, with-progress-reporter):
10693         Use `symbol-function' inside `funcall'.
10695         * net/tramp-compat.el (tramp-compat-file-attributes)
10696         (tramp-compat-delete-file, tramp-compat-delete-directory):
10697         Handle only `wrong-number-of-arguments' error.
10699         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10700         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10701         inside `funcall'.
10703 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10705         * minibuffer.el (completion--sreverse, completion--common-suffix):
10706         New functions.
10707         (completion-pcm--merge-completions): Extract common suffix when safe.
10709         * emacs-lisp/easy-mmode.el (define-minor-mode):
10710         Make :variable more flexible.
10711         * files.el (auto-save-mode): Use it to define using define-minor-mode.
10713 2010-05-05  Juri Linkov  <juri@jurta.org>
10715         Add `slow' and `history' tags to the desktop data.
10717         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10718         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10719         (Info-finder-find-node): Require `finder.el' to be able
10720         to restore node from the desktop.
10721         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
10722         data `Info-history' and `slow' tag in the assoc list.
10723         (Info-restore-desktop-buffer): Don't restore nodes with the
10724         `slow' tag.  Restore `Info-history'.
10726 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
10728         Add FORCE argument to `delete-file'.
10730         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10731         forcing to delete the temporary file.
10732         (ange-ftp-delete-file): Add FORCE arg.
10733         (ange-ftp-rename-remote-to-remote)
10734         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10735         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10736         Force file deletion.
10738         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10740         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10741         (tramp-handle-make-symbolic-link, tramp-handle-load)
10742         (tramp-do-copy-or-rename-file-via-buffer)
10743         (tramp-do-copy-or-rename-file-directly)
10744         (tramp-do-copy-or-rename-file-out-of-band)
10745         (tramp-handle-process-file, tramp-handle-call-process-region)
10746         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10747         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10748         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10750         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10751         (tramp-fish-handle-make-symbolic-link)
10752         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10754         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10755         Use `tramp-compat-delete-file'.
10757         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10758         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10760         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10761         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10763         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10764         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10765         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10766         Use `tramp-compat-delete-file'.
10768 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10770         Minor cleanups.
10771         * subr.el (add-minor-mode): Use push.
10772         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10773         * emulation/edt.el (edt-select-mode): Simplify.
10775         Use define-minor-mode in more cases.
10776         * term/tvi970.el (tvi970-set-keypad-mode):
10777         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10778         (normal-erase-is-backspace-mode):
10779         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10780         (set-scroll-bar-mode-1): (Re)move to its sole caller.
10781         (get-scroll-bar-mode): New function.
10782         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10784         Use define-minor-mode for less obvious cases.
10785         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10786         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10787         * international/iso-ascii.el (iso-ascii-mode):
10788         * frame.el (auto-raise-mode, auto-lower-mode):
10789         * composite.el (global-auto-composition-mode): Use define-minor-mode.
10791 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
10793         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10794         in order to see error messages for failed logins.
10796 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
10798         * diff.el (diff-sentinel):
10800         * epg.el (epg--make-temp-file, epg-decrypt-string)
10801         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10803         * jka-compr.el (jka-compr-partial-uncompress)
10804         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10806         * server.el (server-sentinel): Use delete-file's new FORCE arg
10807         (Bug#6070).
10809 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10811         Use define-minor-mode where applicable.
10812         * view.el (view-mode):
10813         * type-break.el (type-break-query-mode)
10814         (type-break-mode-line-message-mode):
10815         * textmodes/reftex.el (reftex-mode):
10816         * term/vt100.el (vt100-wide-mode):
10817         * tar-mode.el (tar-subfile-mode):
10818         * savehist.el (savehist-mode):
10819         * ibuf-ext.el (ibuffer-auto-mode):
10820         * composite.el (auto-composition-mode):
10821         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10822         Use define-minor-mode.
10823         (vhdl-mode): Use static mode-line format.
10824         (vhdl-mode-line-update): Delete.
10825         (vhdl-create-mode-menu, vhdl-activate-customizations)
10826         (vhdl-hs-minor-mode): Don't bother calling it.
10828 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10830         * simple.el (with-wrapper-hook): Move.
10831         (buffer-substring-filters): Mark obsolete.
10832         (filter-buffer-substring-functions): New variable.
10833         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
10835 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
10836             Michael Albinus  <michael.albinus@gmx.de>
10838         Implement compression for inline methods.
10840         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10841         (tramp-copy-size-limit): Allow also nil.
10842         (tramp-inline-compress-commands): New defconst.
10843         (tramp-find-inline-compress, tramp-get-inline-compress)
10844         (tramp-get-inline-coding): New defuns.
10845         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10846         replaced by `tramp-get-inline-coding'.
10847         (tramp-handle-file-local-copy, tramp-handle-write-region)
10848         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10850 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10852         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10853         Remove unused functions.
10855         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10856         Set find-tag-default-function as a variable rather than a property.
10858         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10859         * progmodes/etags.el (tags-completion-at-point-function):
10860         Remove left over interactive spec.  Add autoloading stub.
10861         (complete-tag): Use tags-completion-at-point-function.
10863 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
10865         * minibuffer.el (tags-completion-at-point-function): Fix return value.
10867 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10869         * ido.el (ido-init-completion-maps): Remove C-v binding.
10870         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10872 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10874         * minibuffer.el (tags-completion-at-point-function): New function.
10875         (completion-at-point-functions): Use it.
10877         * progmodes/etags.el (complete-tag): Revert last change.
10879 2010-04-29  Alan Mackenzie  <acm@muc.de>
10881         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10882         off-by-one error (in end of macro position).
10884 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10886         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10887         firefox is absent.  Don't autoload.
10888         (browse-url-galeon-program): Don't autoload.
10890 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10892         * bindings.el (complete-symbol): Move into minibuffer.el.
10894         * minibuffer.el (complete-tag): Move from etags.el.  If tags
10895         completion cannot be performed, return nil instead of signalling
10896         an error.
10897         (completion-at-point): Make it an alias for complete-symbol.
10898         (complete-symbol): Move from bindings.el, and replace with the
10899         body of completion-at-point.
10901         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10903 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
10905         * net/tramp.el (tramp-remote-selinux-p): New defun.
10906         (tramp-handle-file-selinux-context)
10907         (tramp-handle-set-file-selinux-context): Use it.
10909 2010-04-28  Sam Steingold  <sds@gnu.org>
10911         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10912         `safe-local-variable' if the value is a string or a symbol with
10913         the property `bug-reference-url-format'.
10915 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10917         * progmodes/bug-reference.el (bug-reference-url-format):
10918         Revert 2010-04-27 change due to security risk.
10920 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10922         Make it possible to locally disable a globally enabled mode.
10923         * simple.el (fundamental-mode): Run fundamental-mode-hook.
10924         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10925         rather than kill-all-local-variables so it runs fundamental-mode-hook.
10926         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10927         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10928         that subsequent hooks get a chance to disable it.
10930 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10932         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10933         Avoid re-enabling a minor mode after the user turned the minor mode
10934         off if MODE-enable-in-buffers is run twice (typically once from
10935         fundamental-mode's after-change-major-mode-hook and a second time from
10936         run-mode-hook's own after-change-major-mode-hook).
10938         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10940 2010-04-27  Sam Steingold  <sds@gnu.org>
10942         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10943         `safe-local-variable' if the value is a string or a function, as
10944         documented and implemented on 2010-04-02.
10946 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
10948         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10949         when method is 'kill.
10951 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
10953         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10954         condition in default directory check.
10955         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10956         Kill ispell process when killing its associated buffer.
10958 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
10960         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10961         but we aren't using it.
10963 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
10965         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10966         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10968 2010-04-24  Glenn Morris  <rgm@gnu.org>
10970         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10971         Ignore VCS-ignore files, and deleted nextstep preferences files.
10972         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10973         (authors-ambiguous-files): New list.
10974         (authors-valid-file-names): Add some deleted files.
10975         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10976         (authors-disambiguate-file-name): New function.  (Bug#5501)
10977         (authors-canonical-file-name): Doc fix.
10978         Don't warn about obsolete files.
10979         (authors-canonical-file-name, authors-scan-el):
10980         Use authors-disambiguate-file-name.
10982         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10983         Add autoload cookies.
10984         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10985         (generated-autoload-file): Set file-local value to "htmlfontify.el".
10986         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10987         They have definitions / compiler macros in cl.el.
10988         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10989         Replace manual autoloads with generated ones.
10990         (htmlfontify-unload-rgb-file): Remove autoload.
10991         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10993 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10995         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10996         (byte-compile-setq-default): Optimize for the
10997         single-var case and don't call byte-compile-form in this case to avoid
10998         inf-loop with byte-compile-set-default.
11000         * progmodes/compile.el (compilation-start): Abbreviate default directory.
11002 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
11004         Implement SELINUX backends.
11006         * net/tramp.el (tramp-file-name-handler-alist):
11007         Add `file-selinux-context' and `set-file-selinux-context'.
11008         (tramp-handle-file-selinux-context)
11009         (tramp-handle-set-file-selinux-context): New defuns.
11010         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11011         Handle PRESERVE-SELINUX-CONTEXT.
11013         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11014         Add `file-selinux-context' and `set-file-selinux-context'.
11015         (tramp-gvfs-handle-file-selinux-context)
11016         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11017         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11019         * net/ange-ftp.el (ange-ftp-copy-file):
11020         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11021         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11022         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11023         Add PRESERVE-SELINUX-CONTEXT.
11025 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11027         Synchronize with Tramp repository.
11029         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11030         (tramp-action-process-alive, tramp-action-out-of-band)
11031         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11032         (tramp-exists-file-name-handler): Fix docstring.
11033         (with-progress-reporter): New defmacro.
11034         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11035         (tramp-maybe-open-connection): Use it.
11037 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11039         Detect ssh 'ControlMaster' argument automatically in some cases.
11041         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11042         (tramp-default-method): Use it.
11044 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11046         * net/tramp.el (tramp-handle-copy-file): Add new optional
11047         parameter `preserve-selinux-context'.
11048         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11050 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11052         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11053         Ensure, that non remote files are still checked.  Oops.
11055 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11057         Fix Bug#5840.
11059         * icomplete.el (icomplete-completions): Use `non-essential'.
11061         * net/tramp.el (tramp-connectable-p): New defun.
11062         (tramp-handle-expand-file-name)
11063         (tramp-completion-handle-file-name-all-completions)
11064         (tramp-completion-handle-file-name-completion): Use it.
11066 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11068         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11070 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11072         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11074         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11076         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11077         is present.
11079         * info.el (info-tool-bar-map): Add labels.
11081         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11083         * cus-edit.el (custom-commands): Add labels for tool bar.
11084         (custom-buffer-create-internal, Custom-mode): Adjust for
11085         labels in custom-commands.
11087         * dynamic-setting.el: Renamed from font-setting.el.
11089 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11091         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11092         toggles the use of virtual buffers.
11093         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11094         (ido-toggle-virtual-buffers): New function.
11096 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11098         Use `define-derived-mode'; fix window selection; doc fixes.
11099         * play/tetris.el (tetris, tetris-update-speed-function)
11100         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11101         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11102         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11103         (tetris-pause-game): Fix typos in docstrings.
11104         (tetris-mode-map, tetris-null-map):
11105         Move initialization into declaration.
11106         (tetris-mode): Define with `define-derived-mode';
11107         set show-trailing-whitespace to nil.
11108         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11110 2010-04-21  Karel Klíč  <kklic@redhat.com>
11112         * files.el (backup-buffer): Handle SELinux context, and return it
11113         if a backup was made by renaming.
11114         (backup-buffer-copy): Set SELinux context to the target file.
11115         (basic-save-buffer): Set SELinux context of the newly written file.
11116         (basic-save-buffer-1): Now it also returns any SELinux context.
11117         (basic-save-buffer-2): Set SELinux context of the newly created file,
11118         and return it.
11119         * net/tramp.el (tramp-file-name-for-operation):
11120         Add file-selinux-context.
11122 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11124         Make the log-edit comments use RFC822 format throughout.
11126         * vc.el (vc-checkin, vc-modify-change-comment):
11127         Adjust to new vc-start/finish-logentry.
11128         (vc-find-conflicted-file): New command.
11129         (vc-transfer-file): Adjust to new vc-checkin.
11130         (vc-next-action): Improve scoping.
11132         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11133         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11135         * vc-git.el (vc-git-log-edit-mode): Remove.
11136         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11137         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11139         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11140         (vc-start-logentry): Remove argument `extra'.
11141         (vc-finish-logentry): Remove extra args.
11143         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11144         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11145         (vc-bzr-conflicted-files): New function.
11147         * log-edit.el (log-edit-extra-flags)
11148         (log-edit-before-checkin-process): Remove.
11149         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11150         (log-edit-headers-alist): New var.
11151         (log-edit-header-contents-regexp): New const.
11152         (log-edit-match-to-eoh): New function.
11153         (log-edit-font-lock-keywords): Use them.
11154         (log-edit): Insert a "Summary:" header as default.
11155         (log-edit-mode): Mark font-lock rules as case-insensitive.
11156         (log-edit-done): Cleanup headers.
11157         (log-view-process-buffer): Remove.
11158         (log-edit-extract-headers): New function to replace it.
11160 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11162         * subr.el (default-direction-reversed): Remove obsolescence info.
11164 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11166         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11167         windows/frames.
11169         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11170         I.e. include text after point in the completion region.
11171         Also, return nil when we're not after/in a symbol.
11173         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11174         default enable-multibyte-characters.
11176 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11178         * international/mule.el: Help the user choose a valid coding-system.
11179         (read-buffer-file-coding-system): New function.
11180         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11181         coding-system cannot encode all the chars.
11183         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11184         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11185         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11186         Don't use *vc-bzr-shelve*.
11188 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11190         Fix the version number for added files.
11191         * vc-hg.el (vc-hg-working-revision): Check if the file is
11192         registered after hg parent fails (Bug#5961).
11194 2010-04-19  Glenn Morris  <rgm@gnu.org>
11196         * htmlfontify.el (htmlfontify-buffer)
11197         (htmlfontify-copy-and-link-dir): Autoload entry points.
11199 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11201         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11202         name relative to the project root (Bug#5960).
11204 2010-04-19  Glenn Morris  <rgm@gnu.org>
11206         * vc-git.el (vc-git-print-log): Doc fix.
11208 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11210         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11212 2010-04-19  Christoph Scholtes  <cschol2112@googlemail.com>
11214         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11215         default settings (Bug#5928).
11217 2010-04-19  Glenn Morris  <rgm@gnu.org>
11219         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11220         New function.
11221         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11223 2010-04-19  Kenichi Handa  <handa@m17n.org>
11225         * language/indian.el (malayalam-composable-pattern): Fix previous
11226         change (add U+0D4D "SIGN VIRAMA").
11227         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11228         (tamil-composable-pattern): Fix typo in the regexp.
11229         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11230         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11231         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11233 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11235         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11236         paragraph-separate (Bug#5821).
11238 2010-04-19  Juri Linkov  <juri@jurta.org>
11240         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11242         * info.el (Info-find-node-2): Comment out code that skips
11243         breadcrumbs line.
11244         (Info-mouse-follow-link): New command.
11245         (Info-link-keymap): New keymap.
11246         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11247         Return a string with links instead of inserting breadcrumbs
11248         to the Info buffer.
11249         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11250         Instead of putting the `invisible' text property over the Info
11251         header, make an overlay over the Info header with the `invisible'
11252         property and `after-string' set to the string returned by
11253         `Info-breadcrumbs'.
11255 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11257         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11258         Reported by monkey@sandpframing.com.
11260 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11262         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11263         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11264         available in the "keyseq cache" any more.
11266         * custom.el (defcustom): Add edebug spec.
11268 2010-04-18  Juri Linkov  <juri@jurta.org>
11270         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11272         * view.el (view-file, view-buffer): Move test for special mode-class
11273         from view-file to view-buffer.
11275         * tar-mode.el (tar-extract): Turn if's into one cond
11276         like in arc-mode.el.
11278 2010-04-18  Juri Linkov  <juri@jurta.org>
11280         Add 7z archive format support (bug#5475).
11282         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11283         (archive-7z-extract): New defcustom.
11284         (archive-find-type): Add magic string for 7z.
11285         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11286         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11287         `buffer' arg of `call-process'.
11288         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11289         call the function `archive-7z-extract' with the variable
11290         `archive-7z-extract' let-bound to `archive-zip-extract'.
11291         (archive-7z-summarize, archive-7z-extract): New functions.
11293         * international/mule.el (auto-coding-alist):
11294         * files.el (auto-mode-alist): Add 7z file extension.
11296 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11298         * loadup.el: Setup hash-cons for pure data.
11300         Fix duplicate entries in cedet's loaddefs.el files.
11301         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11302         Should make most file-local generated-autoload-file unnecessary.
11303         (print-readably): Silence warnings.
11304         (autoload-find-destination): Take load-name as an arg to make sure
11305         it's the same as the one that will be in the file.
11306         (autoload-generate-file-autoloads): Adjust to above changes.
11307         Try to make the dataflow a bit simpler.
11309         * cvs-status.el (cvs-refontify): Remove unused.
11311 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11313         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11315         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11316         twos-complement mode.
11318 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11320         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11321         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11322         (calc-inverse): Add "Option" to message, as appropriate.
11323         (calc-hyperbolic): Add "Option" to message, as appropriate.
11324         (calc-option, calc-is-option): New functions.
11326         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11327         (calc-option-prefix-help): New function.
11329         * calc/calc-misc.el (calc-help): Add "Option" entry.
11331         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11332         (calc-option-flag): New variable.
11333         (calc-do): Set `calc-option-flag to nil.
11334         (calc-set-mode-line): Add "Opt " as appropriate.
11336 2010-04-16  Juri Linkov  <juri@jurta.org>
11338         Move scrolling commands from simple.el to window.el
11339         because their primitives are implemented in window.c.
11341         * simple.el (scroll-error-top-bottom)
11342         (scroll-up-command, scroll-down-command, scroll-up-line)
11343         (scroll-down-line, scroll-other-window-down)
11344         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11345         * window.el (scroll-error-top-bottom)
11346         (scroll-up-command, scroll-down-command, scroll-up-line)
11347         (scroll-down-line, scroll-other-window-down)
11348         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11349         Move from simple.el to window.el because their primitives are
11350         implemented in window.c.
11352 2010-04-16  Juri Linkov  <juri@jurta.org>
11354         * isearch.el (isearch-lookup-scroll-key): Check both
11355         `isearch-scroll' and `scroll-command' properties.
11356         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11358         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11360         * simple.el (scroll-up-command, scroll-down-command)
11361         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11363 2010-04-15  Juri Linkov  <juri@jurta.org>
11365         * simple.el (scroll-up-command, scroll-down-command)
11366         (scroll-up-line, scroll-down-line): Put `scroll-command'
11367         property on the these symbols.  Remove them from
11368         `scroll-preserve-screen-position-commands'.
11370         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11371         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11372         Remove it from `scroll-preserve-screen-position-commands'.
11374         * isearch.el (isearch-allow-scroll): Doc fix.
11376 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11378         * net/tramp.el (tramp-error-with-buffer): Don't show the
11379         connection buffer when we are in completion mode.
11380         (tramp-file-name-handler): Catch the error for some operations
11381         when we are in completion mode.  This gives the user the chance to
11382         correct the file name in the minibuffer.
11384 2010-04-15  Glenn Morris  <rgm@gnu.org>
11386         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11388 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11390         Simplify by using `define-derived-mode'.
11391         * info.el (Info-mode):
11392         * calendar/todo-mode.el (todo-mode):
11393         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11394         (gomoku-mode-map): Move initialization into declaration.
11396 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11398         Fix Bug#5840.
11399         * ido.el (ido-file-name-all-completions-1):
11400         * minibuffer.el (minibuffer-completion-help):
11401         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11403 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11405         * simple.el (non-essential): New var.
11407         Add a new field `location' to bookmarks for non-file bookmarks.
11408         * bookmark.el (bookmark-location): Use the new field, if present.
11409         (bookmark-insert-location): Undo last change, not needed any more.
11410         * man.el (Man-bookmark-make-record):
11411         * woman.el (woman-bookmark-make-record): Add `location' field.
11413 2010-04-14  Juri Linkov  <juri@jurta.org>
11415         * simple.el (scroll-error-top-bottom): New defcustom.
11416         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11418         * emulation/pc-select.el (pc-select-override-scroll-error):
11419         Obsolete in favor of `scroll-error-top-bottom'.
11421 2010-04-14  Juri Linkov  <juri@jurta.org>
11423         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11424         `scroll-up-command' and `M-v' to `scroll-down-command'.
11426         * emulation/cua-rect.el (cua--init-rectangles):
11427         * forms.el (forms--change-commands):
11428         * image-mode.el (image-mode-map):
11429         Remap scroll-down-command and scroll-up-command
11430         in addition to scroll-down and scroll-up.
11432 2010-04-14  Juri Linkov  <juri@jurta.org>
11434         * mwheel.el (scroll-preserve-screen-position-commands):
11435         Add mwheel-scroll to this list of commands.
11437         * simple.el (scroll-preserve-screen-position-commands):
11438         Add scroll-up-command, scroll-down-command, scroll-up-line,
11439         scroll-down-line to this list of commands.
11441 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11443         * obsolete/complete.el: Move from lisp/complete.el.
11445         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11447         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11448         to the minor mode function now turns the mode ON unconditionally.
11450 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11452         * vc-dir.el (vc-dir-kill-line): New command.
11453         (vc-dir-mode-map): Bind it to C-k.
11455         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11457         * woman.el: Add bookmark declarations to silence the compiler.
11458         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11459         step to compatibility between man and woman bookmarks.
11460         Adjust for Man-default-bookmark-title renaming.
11461         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11463         * man.el: Add bookmark declarations to silence the compiler.
11464         (Man-name-local-regexp): Make it match NAME as well.
11465         (Man-getpage-in-background): Return the buffer.
11466         (Man-notify-when-ready): Use `case'.
11467         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11468         Don't hardcode "NAME".  Simplify.
11469         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11470         Rename from Man-bookmark-make-record.
11471         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11472         we have the actual man-args.  Use Man-getpage-in-background rather
11473         than `man' since the arg is already processed.  Let bookmark.el do the
11474         window handling.  Only wait for the relevant process.
11475         Don't forget to autoload.
11477         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11479 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11481         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11482         New functions.
11483         (woman-mode): Setup bookmark support.
11485         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11486         (man-bookmark-jump): New functions.
11487         (Man-mode): Setup bookmark support.
11489 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11491         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11492         recognize ssh-keygen prompt (Bug#2817).
11494 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11496         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11498 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11500         Synchronize with Tramp repository.
11502         * net/tramp.el (tramp-completion-function-alist)
11503         (tramp-file-name-regexp, tramp-chunksize)
11504         (tramp-local-coding-commands, tramp-remote-coding-commands):
11505         Fix docstring.
11506         (tramp-remote-process-environment): Use `format' instead of `concat'.
11507         (tramp-handle-directory-files-and-attributes)
11508         (tramp-get-remote-path): Use `copy-tree'.
11509         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11510         compatibility: Use `completion-ignore-case' if
11511         `read-file-name-completion-ignore-case' does not exist.
11512         (tramp-do-copy-or-rename-file-directly): Do not use
11513         `tramp-handle-file-remote-p'.
11514         (tramp-do-copy-or-rename-file-out-of-band):
11515         Use `tramp-compat-delete-directory'.
11516         (tramp-do-copy-or-rename-file-out-of-band)
11517         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11518         Use `format-spec-make'.
11519         (tramp-find-foreign-file-name-handler)
11520         (tramp-advice-make-auto-save-file-name)
11521         (tramp-set-auto-save-file-modes): Remove superfluous check for
11522         `stringp'.  This is done inside `tramp-tramp-file-p'.
11523         (tramp-debug-outline-regexp): New defconst.
11524         (tramp-get-debug-buffer): Use it.
11525         (tramp-check-for-regexp): Use (forward-line 1).
11526         (tramp-set-auto-save-file-modes): Adapt version check.
11528         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11529         Wrap call of `featurep' for 2nd argument.
11530         (tramp-compat-make-temp-file): Simplify fallback implementation.
11531         (tramp-compat-copy-tree): Remove function.
11532         (tramp-compat-delete-directory): Provide implementation for older
11533         Emacsen.
11535         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11536         Do not use `tramp-fish-handle-file-attributes.
11538         * net/trampver.el: Update release number.
11540 2010-04-10  Glenn Morris  <rgm@gnu.org>
11542         * progmodes/compile.el (compilation-save-buffers-predicate):
11543         Add missing :version tag.
11545 2010-04-09  Sam Steingold  <sds@gnu.org>
11547         * progmodes/compile.el (compilation-save-buffers-predicate):
11548         Remove the "autoload" cookie.
11550         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11551         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11552         and `bug-reference-prog-mode' can be used in hooks directly.
11554 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11556         Add --author support to git commit.
11557         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11558         (vc-git-log-edit-mode): New minor mode.
11559         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11560         New declarations.
11562 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11564         * vc-hooks.el, vc-git.el: Improve documentation comments.
11566 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11568         Fix some of the problems in defsubst* (bug#5728).
11569         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11570         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11572 2010-04-07  Sam Steingold  <sds@gnu.org>
11574         * progmodes/compile.el (compilation-save-buffers-predicate):
11575         New custom variable.
11576         (compile, recompile): Pass it to `save-some-buffers'.
11578 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11580         * wid-edit.el (widget-choose): Move cursor to the second line of
11581         the buffer (Bug#5695).
11583 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11585         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11586         * vc.el (vc-print-log-setup-buttons): New function split out from
11587         vc-print-log-internal.
11588         (vc-log-internal-common): New function, a parametrized version of
11589         vc-print-log-internal.
11590         (vc-print-log-internal): Just call vc-log-internal-common with the
11591         right arguments.
11592         (vc-incoming-outgoing-internal):
11593         (vc-log-incoming, vc-log-outgoing): New functions.
11594         (vc-log-view-type): New permanent local variable.
11596         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11598         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11599         of the dynamic bound vc-short-log.
11600         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11602         * vc-git.el (vc-git-log-outgoing): New function.
11603         (vc-git-log-view-mode): Use vc-log-view-type instead
11604         of the dynamic bound vc-short-log.
11606         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11607         of the dynamic bound vc-short-log.  Highlight the tag.
11608         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11609         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11610         (vc-hg-incoming-mode): Remove.
11611         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11613 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11615         Fix default-directory for vc-root-diff.
11616         * vc.el (vc-root-diff): Bind default-directory to the root
11617         directory for the diff command.
11619 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11621         * progmodes/verilog-mode.el (verilog-forward-sexp):
11622         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11623         word keywords, suggested by Steve Pearlmutter.
11624         (verilog-pretty-declarations): Support lineup of declarations in
11625         port lists.
11626         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11627         fix bug for /* / comments.
11628         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11629         Speed up and simplfy as this is never called with a bound.
11630         (verilog-pretty-declarations): Enhance to line up declarations
11631         inside a parameter list, suggested by Alan Morgan.
11632         (verilog-pretty-expr): Tune assignment regular expression match
11633         string for corner cases; also use markers instead of character
11634         number as indent changes the later.
11636 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11638         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11639         as missing keyword.
11640         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11641         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11642         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11643         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11644         Tennant.
11645         (verilog-keywords):
11646         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11647         1800-2009 keywords, including "global.".
11649 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11651         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11652         appearing in buffer list (if a live buffer name matched a recentf
11653         file basename).  Should use uniquify to offer a real solution.
11655 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11657         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11658         comment to code, and add a :version tag.
11659         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11661 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11663         Enable recentf-mode if using virtual buffers.
11664         * ido.el (recentf-list): Declare for byte-compiler.
11665         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11666         (ido-make-buffer-list): Simplify.
11667         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
11669 2010-04-05  Juri Linkov  <juri@jurta.org>
11671         Scrolling commands which scroll a line instead of full screen.
11672         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11674         * simple.el (scroll-up-line, scroll-down-line): New commands.
11675         Put property isearch-scroll=t on them.
11677         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11678         Remove commands.
11680 2010-04-05  Juri Linkov  <juri@jurta.org>
11682         Scrolling commands which do not signal errors at top/bottom.
11683         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11685         * simple.el (scroll-up-command, scroll-down-command): New commands.
11686         Put property isearch-scroll=t on them.
11688         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11689         `scroll-down-command' and [next] from `scroll-up' to
11690         `scroll-up-command'.
11692         * emulation/cua-base.el: Put property CUA=move on
11693         `scroll-up-command' and `scroll-down-command'.
11694         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11695         and `scroll-down-command' to `cua-scroll-down'.
11697 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
11699         * help.el (describe-mode): Return nil.
11701 2010-04-04  John Wiegley  <jwiegley@gmail.com>
11703         * ido.el (ido-use-virtual-buffers): New variable to indicate
11704         whether "virtual buffer" support is enabled for IDO.
11705         (ido-virtual): Face used to indicate virtual buffers in the list.
11706         (ido-buffer-internal): If a buffer is chosen, and no such buffer
11707         exists, but a virtual buffer of that name does (which would be why
11708         it was in the list), recreate the buffer by reopening the file.
11709         (ido-make-buffer-list): If virtual buffers are being used, call
11710         `ido-add-virtual-buffers-to-list' before the make list hook.
11711         (ido-virtual-buffers): New variable which contains a copy of the
11712         current contents of the `recentf-list', albeit pared down for the
11713         sake of speed, and with proper faces applied.
11714         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11715         create a list of "virtual buffers" to present to the user in
11716         addition to the currently open set.  Note that this logic could
11717         get rather slow if that list is too large.  With the default
11718         `recentf-max-saved-items' of 200, there is little speed penalty.
11720 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11722         * font-lock.el: Require CL when compiling.
11723         (font-lock-turn-on-thing-lock): Use `case'.
11725 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
11727         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11728         Zaretskii.
11730 2010-04-02  Juri Linkov  <juri@jurta.org>
11732         * ehelp.el (electric-help-orig-major-mode):
11733         New buffer-local variable.
11734         (electric-help-mode): Set it to original major-mode.  Doc fix.
11735         (with-electric-help): Use `electric-help-orig-major-mode' instead
11736         of (default-value 'major-mode).  Doc fix.
11737         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11739 2010-04-02  Sam Steingold  <sds@gnu.org>
11741         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11742         `vc-hg-command' with a list of flags.
11744         * progmodes/bug-reference.el (bug-reference-bug-regexp):
11745         Also accept "patch" and "RFE".
11746         (bug-reference-fontify): `bug-reference-url-format' can also be a
11747         function to be able to handle the bug kind.
11748         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11750 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
11752         * tmm.el (tmm-get-keymap): Check with symbolp before passing
11753         value to fboundp, it may not be a symbol.
11755 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11757         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11759 2010-03-31  Juri Linkov  <juri@jurta.org>
11761         * simple.el (next-line, previous-line): Re-throw a signal
11762         with `signal' instead of using `ding'.
11763         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11765 2010-03-31  Juri Linkov  <juri@jurta.org>
11767         * simple.el (keyboard-escape-quit): Raise deselecting the active
11768         region higher than exiting the minibuffer.
11769         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11771 2010-03-31  Juri Linkov  <juri@jurta.org>
11773         * image.el (image-animated-p): Use `image-metadata' instead of
11774         `image-extension-data'.  Get GIF extenstion data from metadata
11775         property `extension-data'.
11777 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11779         * simple.el (append-to-buffer): Simplify.
11781 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
11783         * textmodes/artist.el (artist-mode): Fix typo in docstring.
11784         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
11786 2010-03-31  Kenichi Handa  <handa@m17n.org>
11788         * language/sinhala.el (composition-function-table): Fix regexp for
11789         the new Unicode specification.
11791         * language/indian.el (devanagari-composable-pattern)
11792         (tamil-composable-pattern, kannada-composable-pattern)
11793         (malayalam-composable-pattern): Adjust for the new Unicode
11794         specification.
11795         (bengali-composable-pattern, gurmukhi-composable-pattern)
11796         (gujarati-composable-pattern, oriya-composable-pattern)
11797         (telugu-composable-pattern): New variables to cope with the new
11798         Unicode specification.  Use them in composition-function-table.
11800 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11802         Make tmm-menubar work for the Buffers menu again (bug#5726).
11803         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11804         vectors rather than cons cells, as used in menu-bar-update-buffers.
11806 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11808         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11809         (js-insert-and-indent): Revert 2009-08-15 change, restoring
11810         electric punctuation for "{}();,:" (Bug#5586).
11812         * mail/sendmail.el (mail-default-directory): Doc fix.
11814 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11816         * mail/sendmail.el (mail-default-directory): Doc fix.
11818 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
11820         * subr.el (version-regexp-alist, version-to-list)
11821         (version-list-<, version-list-=, version-list-<=)
11822         (version-list-not-zero, version<, version<=, version=): Doc fix.
11823         (Bug#5744).
11825 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
11827         * vc.el (vc-root-diff): Doc fix.
11829 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11831         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11833         * simple.el (append-to-buffer): Fix last change.
11835 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11837         * simple.el (append-to-buffer): Ensure that point is preserved if
11838         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
11839         (Bug#5749)
11841 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11843         * files.el (auto-mode-case-fold): Change default to t.
11845 2010-03-30  Juri Linkov  <juri@jurta.org>
11847         * dired-x.el (dired-omit-mode): Doc fix.
11849 2010-03-30  Juri Linkov  <juri@jurta.org>
11851         * replace.el (occur-accumulate-lines): Move occur-engine related
11852         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11853         to be located after `occur-engine'.
11855 2010-03-30  Juri Linkov  <juri@jurta.org>
11857         Make occur handle multi-line matches cleanly with context.
11858         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11860         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11861         (occur-engine): Add local variables `ret', `prev-after-lines',
11862         `prev-lines'.  Use more arguments for `occur-context-lines'.
11863         Set first elem of its returned list to `data', and the second elem
11864         to `prev-after-lines'.  Don't print the separator line.
11865         In the end, print remaining context after-lines.
11866         (occur-context-lines): Add new arguments `begpt', `endpt',
11867         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
11868         after-lines of the previous match with before-lines of the
11869         current match and not overlap them.  Return a list with two
11870         values: the output line and the list of context after-lines.
11872 2010-03-30  Juri Linkov  <juri@jurta.org>
11874         * replace.el (occur-accumulate-lines): Fix a bug where the first
11875         context line at the beginning of the buffer was missing.
11877 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
11879         * files.el: Make bidi-display-reordering safe variable for boolean
11880         values.
11882 2010-03-29  Phil Hagelberg  <phil@evri.com>
11883             Chong Yidong  <cyd@stupidchicken.com>
11885         * subr.el: Extend progress reporters to perform "spinning".
11886         (progress-reporter-update, progress-reporter-do-update):
11887         Handle non-numeric value arguments.
11888         (progress-reporter--pulse-characters): New var.
11890 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
11892         * progmodes/compile.el (compilation-start): Fix regexp detection
11893         of initial cd command (Bug#5771).
11895 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
11897         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11899 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
11901         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11902         * progmodes/gdb-mi.el: Restore.
11903         * progmodes/gdb-ui.el: Remove.
11904         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11906 2010-03-25  Glenn Morris  <rgm@gnu.org>
11908         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11909         all dired buffers, even tramp ones.  (Bug#5755)
11911 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11913         Add "union tags" in mpc.el.
11914         * mpc.el: Remove backward compatibility code.
11915         (mpc-browser-tags): Change default.
11916         (mpc--find-memoize-union-tags): New var.
11917         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11918         (mpc-cmd-find): Handle the case where the playlist does not exist.
11919         Handle union-tags.
11920         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
11921         (mpc-cmd-add): Use mpc-cmd-flush.
11922         (mpc-tagbrowser-tag-name): New fun.
11923         (mpc-tagbrowser-buf): Use it.
11924         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
11926 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11928         Misc cleanup.
11929         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11930         Use replace-regexp-in-string.
11931         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11932         (makefile-imake-mode-syntax-table): Move init into defvar.
11933         (makefile-mode): Use define-derived-mode.
11935         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11936         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11937         not be present any more.
11939 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11941         * faces.el (set-face-attribute): Fix typo in docstring.
11942         (face-valid-attribute-values): Reflow docstring.
11944 2010-03-24  Glenn Morris  <rgm@gnu.org>
11946         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11948 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11950         * indent.el (indent-for-tab-command): Doc fix.
11952 2010-03-24  Alan Mackenzie  <acm@muc.de>
11954         * progmodes/cc-engine.el (c-remove-stale-state-cache):
11955         Fix off-by-one error.  Fixes bug #5747.
11957 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11959         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11960         (image-dired-read-comment): Doc fix.
11962         * json.el (json-object-type, json-array-type, json-key-type)
11963         (json-false, json-null, json-read-number):
11964         * minibuffer.el (completion-in-region-functions):
11965         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11966         (cal-tex-cursor-week):
11967         * emacs-lisp/trace.el (trace-function):
11968         * eshell/em-basic.el (eshell/printnl):
11969         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11970         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11971         * obsolete/levents.el (allocate-event, event-key, event-object)
11972         (event-point, event-process, event-timestamp, event-to-character)
11973         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11974         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11975         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11976         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11977         (reftex-highlight-selection): Fix typos in docstrings.
11979 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11981         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11983 2010-03-24  Glenn Morris  <rgm@gnu.org>
11985         * mail/rmail.el (rmail-highlight-face): Restore option deleted
11986         2008-02-13 without comment; mark it obsolete.
11987         (rmail-highlight-headers): Use rmail-highlight-face once more.
11989 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11991         * woman.el (woman2-process-escapes): Only consume the newline if
11992         the filler character is on a line by itself (Bug#5729).
11994 2010-03-24  Kenichi Handa  <handa@m17n.org>
11996         * language/indian.el (devanagari-composable-pattern): Add more
11997         consonants.
11999 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12001         * net/trampver.el: Update release number.
12003 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
12005         * net/tramp.el (tramp-find-executable):
12006         Use `tramp-get-connection-buffer'.  Make the regexp for checking
12007         output of "wc -l" more robust.
12008         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12009         (tramp-open-connection-setup-interactive-shell): Remove workaround
12010         for OpenSolaris bug, it is not needed anymore.
12012 2010-03-24  Glenn Morris  <rgm@gnu.org>
12014         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12016 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12018         * files.el (auto-mode-alist): Accept more verilog file patterns.
12020 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12022         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12024 2010-03-24  Glenn Morris  <rgm@gnu.org>
12026         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12027         log-edit-before-checkin-process.
12029         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12031         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12033         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12034         (log-view-process-buffer, log-edit-extra-flags): Declare.
12036         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12038 2010-03-23  Sam Steingold  <sds@gnu.org>
12040         Fix bug#5620: recalculate all markers on compilation buffer
12041         modifications, not on file modifications.
12042         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12043         variable: the buffer modification time, for buffers not associated with
12044         files.
12045         (compilation-mode): Create it.
12046         (compilation-filter): Update it.
12047         (compilation-next-error-function): Use it instead of
12048         `visited-file-modtime' for timestamp.
12050 2010-03-23  Juri Linkov  <juri@jurta.org>
12052         Implement Occur multi-line matches.
12053         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12055         * replace.el (occur): Doc fix.
12056         (occur-engine): Set `begpt' to the beginning of the first line.
12057         Set `endpt' to the end of the last match line.  At first, count
12058         line numbers between `origpt' and `begpt'.  Split out code from
12059         `out-line' variable to new let-bindings `match-prefix' and
12060         `match-str'.  In `out-line' add non-numeric prefix to all
12061         non-first lines of multi-line matches.  Finally, count lines
12062         between `begpt' and `endpt' and add to `lines'.
12064 2010-03-23  Juri Linkov  <juri@jurta.org>
12066         * replace.el (occur-accumulate-lines, occur-engine):
12067         Use `occur-engine-line' instead of duplicate code.
12068         (occur-engine-line): New function created from duplicate code
12069         in `occur-accumulate-lines' and `occur-engine'.
12071         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12072         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12074 2010-03-23  Juri Linkov  <juri@jurta.org>
12076         * finder.el: Remove TODO tasks.
12078         * info.el (Info-finder-find-node): Add node "all"
12079         with all package info.  Handle a list of multiple keywords
12080         separated by comma.
12081         (info-finder): In interactive use with a prefix argument,
12082         use `completing-read-multiple' to read a list of keywords
12083         separated by comma.
12085 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12087         Add a new completion style `substring'.
12088         * minibuffer.el (completion-basic--pattern): New function.
12089         (completion-basic-try-completion, completion-basic-all-completions):
12090         Use it.
12091         (completion-substring--all-completions)
12092         (completion-substring-try-completion)
12093         (completion-substring-all-completions): New functions.
12094         (completion-styles-alist): New style `substring'.
12096 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12098         Get rid of .elc files after removal of the corresponding .el.
12099         * Makefile.in (compile-clean): New target.
12100         (compile-main): Use it.
12102 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12104         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12105         don't do make there.  When compiling with separate object dir, there
12106         is no Makefile there.
12108 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12110         Get rid of the ELCFILES abomination, again.
12111         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12112         (all, compile): Don't call compile-last.
12113         (compile-main): Build the "elcfiles" list dynamically.
12114         (compile-targets): New (internal) target.
12116 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12118         * Makefile.in (top_srcdir): Define.
12119         (abs_top_builddir): Define.
12120         (srcdir): Don't append `/..'.
12121         (EMACS): Use ${abs_top_builddir}.
12122         (all, compile, compile-always, compile-last): Don't set emacswd.
12123         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12124         $(srcdir).
12125         (lisp): Use $(srcdir) instead of @srcdir@.
12127 2010-03-21  Juri Linkov  <juri@jurta.org>
12129         Fix message of multi-line occur regexps and multi-buffer header lines.
12130         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12132         * replace.el (occur-1): Don't display regexp if it is longer
12133         than window-width.  Use `query-replace-descr' to display regexp.
12134         (occur-engine): Don't display regexp in the buffer header for
12135         multi-buffer occur.  Display a separate header line with total
12136         match count and regexp for multi-buffer occur.
12137         Use `query-replace-descr' to display regexp.
12139 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12141         * net/secrets.el: Fix parenthesis.
12142         (secrets-enabled): Fix parenthesis.
12144 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12146         Use more relative file and directory names.
12147         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12148         (setwins, setwins_almost, setwins_for_subdirs):
12149         Don't `cd'; output relative names.
12150         (all, compile, compile-always, compile-last): Set emacswd.
12151         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12152         Just cd to the lisp source dir so we can use relative file names.
12154         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12156 2010-03-20  Glenn Morris  <rgm@gnu.org>
12158         * textmodes/rst.el: Use faces for font-lock customization, and make the
12159         old -face variables obsolete.
12160         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12161         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12162         (rst-block-face, rst-external-face, rst-definition-face)
12163         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12164         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12165         Make obsolete.
12166         (rst-font-lock-keywords-function): Update for above changes.
12168 2010-03-20  Juri Linkov  <juri@jurta.org>
12170         * s-region.el:
12171         * obsolete/s-region.el: Move to obsolete.
12173 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12175         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12177 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12179         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12181 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12183         Add special markup processing for commit logs.
12184         * log-edit.el (log-edit-extra-flags): New variable.
12185         (log-edit): Add new argument MODE.  Use that mode when non-nil
12186         instead of the log-view-mode.
12187         (log-view-process-buffer): New function.
12189         * vc.el: Document that the checkin method takes optional
12190         arguments.  Document new backend specific method: log-view-mode.
12191         (vc-default-log-edit-mode): New function.
12192         (vc-checkin): Use a backend specific log-view-mode.
12193         Pass extra arguments to the checkin method.
12194         (vc-modify-change-comment): Pass a dummy extra argument.
12196         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12197         log-edit.
12198         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12199         (vc-finish-logentry): Process the log buffer before passing it
12200         down.  Pass log-edit-extra-flags.
12202         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12203         command.
12204         (log-edit-extra-flags, log-edit-before-checkin-process):
12205         New declarations.
12207         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12208         command.
12209         (log-edit-extra-flags, log-edit-before-checkin-process):
12210         New declarations.
12211         (vc-hg-log-edit-mode): New derived mode.
12213         * vc-arch.el (vc-arch-checkin):
12214         * vc-cvs.el (vc-cvs-checkin):
12215         * vc-git.el (vc-git-checkin):
12216         * vc-mtn.el (vc-mtn-checkin):
12217         * vc-rcs.el (vc-rcs-checkin):
12218         * vc-sccs.el (vc-sccs-checkin):
12219         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12221 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12223         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12224         parent typo).
12226 2010-03-19  Glenn Morris  <rgm@gnu.org>
12228         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12230 2010-03-18  Glenn Morris  <rgm@gnu.org>
12232         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12234         * replace.el (query-replace-history): Give it a doc string.
12235         (map-query-replace-regexp): Use query-replace-from-history-variable
12236         and query-replace-to-history-variable.
12238         * mail/hashcash.el (declare-function): Remove duplicate definition.
12240         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12241         Make it an obsolete alias for report-emacs-bug-address.
12242         (message-strip-special-text-properties): Declare.
12243         (report-emacs-bug): Remove test for a pretest bug address.
12244         Combine message-mode-specific code.
12246         * mail/supercite.el: Don't require sendmail.
12247         (mh-in-header-p): Declare rather than using with-no-warnings.
12248         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12249         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12251         * calendar/cal-french.el: Convert to utf-8.
12253         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12254         Emacs scripts.
12256 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12258         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12259         of a subfeature.
12261 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12263         * net/secrets.el (top): Register the D-Bus signals only when the
12264         service "org.freedesktop.secrets" can be pinged.
12265         Provide subfeature `enabled'.
12267 2010-03-14  Juri Linkov  <juri@jurta.org>
12269         Add finder unknown keywords.
12271         * finder.el (finder-unknown-keywords): New function.
12273         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12274         to create a Finder node with unknown keywords.
12276 2010-03-14  Juri Linkov  <juri@jurta.org>
12278         * finder.el (finder-compile-keywords): Replace `princ' with
12279         `prin1' on a list of symbols interned from keyword strings.
12281         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12282         a comma, then split keywords using a comma and optional whitespace.
12283         Otherwise, split by whitespace.
12285         * complete.el:
12286         * face-remap.el:
12287         * log-view.el:
12288         * net/hmac-def.el:
12289         * net/hmac-md5.el:
12290         * net/netrc.el:
12291         * progmodes/mixal-mode.el: Fix keywords.
12293 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12295         * Makefile.in (ELCFILES): Add net/secrets.elc.
12297         * net/secrets.el: New file.
12299 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12301         * facemenu.el (list-colors-display, list-colors-print): New arg
12302         callback.  Use it to allow selecting colors.
12304         * wid-edit.el (widget-image-insert): Insert image prop even if the
12305         current display is non-graphic.
12306         (widget-field-value-set): New fun.
12307         (editable-field): Use it.
12308         (widget-field-value-get): Clean up unused var.
12309         (widget-color-value-create, widget-color--choose-action):
12310         New funs.  Allow using list-colors-display to choose color.
12312 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12314         * cus-edit.el: Resort topmost custom groups.
12315         (custom-buffer-sort-alphabetically): Default to t.
12316         (customize-apropos): Use apropos-parse-pattern.
12317         (custom-search-field): New var.
12318         (custom-buffer-create-internal): Add custom-apropos search field.
12319         (custom-add-parent-links): Don't display parent doc.
12320         (custom-group-value-create): Don't sort top-level custom group.
12321         (custom-magic-value-create): Show visibility button before option name.
12323         (custom-variable-state): New fun, from custom-variable-state-set.
12324         (custom-variable-state-set): Use it.
12325         (custom-group-value-create): Hide options with standard values
12326         using the :hidden-states property.  Use progress reporter.
12328         (custom-show): Simplify.
12329         (custom-visibility): Disable images by default.
12330         (custom-variable): New property :hidden-states.
12331         (custom-variable-value-create): Enable images for
12332         custom-visibility widgets.  Use :hidden-states property to
12333         determine initial visibility.
12335         * wid-edit.el (widget-image-find): Give images center ascent.
12336         (visibility): Add :on-image and :off-image properties.
12337         (widget-visibility-value-create): Use them.
12339 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12341         * cus-edit.el (processes): Remove from development group.
12342         (oop, hypermedia): Delete group.
12343         (comm): Promote to top-level group.
12345         * net/browse-url.el (browse-url):
12346         * net/xesam.el (xesam):
12347         * net/tramp.el (tramp):
12348         * net/goto-addr.el (goto-address):
12349         * net/ange-ftp.el (ange-ftp): Put in comm group.
12351         * view.el (view): Remove from editing group.
12353         * uniquify.el (uniquify): Put in files group.
12355         * net/browse-url.el (browse-url):
12356         * ps-print.el (postscript): Put in external group.
12358         * cus-edit.el (outlines):
12359         * textmodes/text-mode.el (text-mode-hook):
12360         * textmodes/table.el (table):
12361         * textmodes/picture.el (picture):
12362         * outline.el (outlines): Put in wp group.
12364         * nxml/nxml-mode.el (nxml): Remove from wp group.
12366         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12368         * mail/metamail.el (metamail): Remove from hypermedia group.
12370         * cus-edit.el (abbrev):
12371         * whitespace.el (whitespace):
12372         * vcursor.el (vcursor):
12373         * reveal.el (reveal):
12374         * hl-line.el (hl-line): Put in convenience group.
12376         * epg-config.el (epg): Put in data group.
12378         * emulation/pc-select.el (pc-select): Put in emulations group.
12380         * calculator.el (calculator): Put in applications group.
12382 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12384         Add .dir-locals.el support for file-less buffers.
12385         * files.el (hack-local-variables): Split out code to apply local
12386         variable settings ...
12387         (hack-local-variables-apply): ... here.  New function.
12388         (hack-dir-local-variables): Use the default directory for when the
12389         buffer does not have an associated file.
12390         (hack-dir-local-variables-non-file-buffer): New function.
12391         * diff-mode.el (diff-mode):
12392         * vc-annotate.el (vc-annotate-mode):
12393         * vc-dir.el (vc-dir-mode):
12394         * log-edit.el (log-edit-mode):
12395         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12397 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12399         Add support for shelving snapshots and for showing shelves.
12400         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12401         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12402         New functions.
12403         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12404         (vc-bzr-extra-menu-map): Map them.
12406 2010-03-11  Glenn Morris  <rgm@gnu.org>
12408         * cus-edit.el (customize-changed-options-previous-release):
12409         Bump to 23.1.
12411         * image.el (image-animate-max-time): Fix :version tag.
12413 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12415         * Branch for 23.2.
12417 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12419         * vc-git.el (vc-git-revision-table): Include remote branches.
12421 2010-03-10  Kim F. Storm  <storm@cua.dk>
12423         Animated image API.
12424         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12426         * image.el (image-animate-max-time): New defcustom.
12427         (image-animated-types): New defconst.
12428         (create-animated-image, image-animate-timer)
12429         (image-animate-start, image-animate-stop, image-animate-timeout)
12430         (image-animated-p): New functions.
12432         * image-mode.el (image-toggle-display-image):
12433         Replace `create-image' with `create-animated-image'.
12435 2010-03-09  Miles Bader  <miles@gnu.org>
12437         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12438         instead of "format:"; this ensures that the output is
12439         newline-terminated.
12441 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12443         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12444         that all errors are caught, and that the return value is always a
12445         list (Bug#5692).
12447 2010-03-08  Kenichi Handa  <handa@m17n.org>
12449         * language/misc-lang.el (windows-1256): New coding system.
12450         (cp1256): New alias of windows-1256 (bug#5690).
12452 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12454         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12455         call to rfc822-bad-address.  (Bug#5692)
12457 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12459         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12460         Use vc-git-root as default directory for revision path (Bug#5657).
12462 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12464         * calculator.el (calculator): Don't bind split-window-keep-point
12465         (Bug#5674).
12467 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12469         * vc-git.el: Re-flow to fit into 80 columns.
12470         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12471         Remove spurious `quote' element in each case alternative.
12472         (vc-git-show-log-entry): Use prog1.
12473         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12475 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12477         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12479 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12481         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12482         definition, not the name (Bug#5481).
12484 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12486         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12487         argument with a local variable.  (Bug#5670)
12489 2010-03-02  Juri Linkov  <juri@jurta.org>
12491         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12493 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12495         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12496         error when FILENAME and NEWNAME are existing remote directories.
12498         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12499         parameter DIR-FLAG.
12501 2010-03-02  Glenn Morris  <rgm@gnu.org>
12503         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12504         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12506 2010-03-01  Kenichi Handa  <handa@m17n.org>
12508         * language/burmese.el (burmese-composable-pattern): Rename from
12509         myanmar-composable-pattern.
12511         * international/characters.el (script-list):
12512         * international/fontset.el (script-representative-chars):
12513         Change myanmar to burmese.
12514         (otf-script-alist): Likewise.
12515         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12517 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12519         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12521 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12523         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12525 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12527         * net/tramp.el (tramp-handle-write-region): START can be a string.
12528         Take care in the checks.  Reported by Dan Davison
12529         <davison@stats.ox.ac.uk>.
12531 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12533         * net/dbus.el (dbus-introspect, dbus-get-property)
12534         (dbus-set-property, dbus-get-all-properties):
12535         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12537 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12539         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12540         * emacs-lisp/elint.el (elint-add-required-env):
12541         * calendar/icalendar.el (icalendar--add-diary-entry):
12542         * calc/calcalg2.el (math-tracing-integral):
12543         * files.el (recover-session-finish): Use with-current-buffer
12544         instead of save-excursion.
12546 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12548         Fix in-buffer completion when after-change-functions modify the buffer.
12549         * minibuffer.el (completion--replace): New function.
12550         (completion--do-completion): Use it and use relative movement.
12552 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12554         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12556 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12558         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12559         Allow the characters _<> in the stack entry (Bug#5653).
12561 2010-02-26  Kenichi Handa  <handa@m17n.org>
12563         * language/burmese.el: Fix entries in composition-function-table.
12564         (myanmar-composable-pattern): New variable.
12566         * international/fontset.el (setup-default-fontset): Add an entry
12567         for myanmar.
12569         * international/characters.el (script-list): Add Myanmar
12570         Extended-A.
12572 2010-02-26  Glenn Morris  <rgm@gnu.org>
12574         * custom.el (custom-initialize-delay): Doc fix.
12576         * mail/sendmail.el (send-mail-function): Autoload the call
12577         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12579 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12581         * files.el (hack-local-variables-filter): For eval forms, also
12582         check safe-local-variable-p (Bug#5636).
12584 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12586         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12587         setting the modes by `ignore-errors'.  It might fail, for example
12588         if the file is not owned by the user but the group.
12589         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12591 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12593         * files.el (directory-listing-before-filename-regexp):
12594         Use stricter matching for iso-style dates, to avoid false matches with
12595         date-like filenames (Bug#5597).
12597         * htmlfontify.el (htmlfontify): Doc fix.
12599         * eshell/eshell.el (eshell): Doc fix.
12601         * startup.el (fancy-about-screen): In mode-line, apply
12602         mode-line-buffer-id face only to the buffer name (Bug#5613).
12604 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12606         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12607         In `watcom' anchor regexp to start of line, to avoid slowness
12608         (Bug#5599).
12610 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12612         * subr.el (remove-yank-excluded-properties): Explain in a comment
12613         why `category' property is removed.
12615 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12617         * isearch.el (isearch-update-post-hook, isearch-update):
12618         Revert 2010-02-17 change.
12620 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12622         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12623         (icalendar--convert-weekly-to-ical)
12624         (icalendar--convert-yearly-to-ical)
12625         (icalendar--convert-block-to-ical)
12626         (icalendar--convert-cyclic-to-ical)
12627         (icalendar--convert-anniversary-to-ical): Take care of time
12628         specifications where hour has 1-digit only (Bug#5549).
12630 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12632         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12633         of disassemble output in GDB 7.1.
12635 2010-02-19  Glenn Morris  <rgm@gnu.org>
12637         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12638         property.  (Bug#5593)
12640 2010-02-18  Sam Steingold  <sds@gnu.org>
12642         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12644 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12646         Use abbreviated file names in bookmarks (bug#5591).
12647         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12648         calls to expand-file-name.
12649         (bookmark-relocate): Use abbreviated file names in bookmarks.
12650         (bookmark-load): Use abbreviated file names in messages.
12652 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12654         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12655         expand "." and "..".  Reported by Thierry Volpiatto
12656         <thierry.volpiatto@gmail.com>.
12658 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12660         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12661         permissions of the temporary file to "0600".  In case the remote
12662         file has no read permissions for the owner, there might be
12663         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12665 22010-02-18  Glenn Morris  <rgm@gnu.org>
12667         * emacs-lisp/authors.el (authors-renamed-files-alist):
12668         Add entries for INSTALL.CVS.
12670 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
12672         * vc-bzr.el: Fix typo in Known Bugs section.
12674         * isearch.el (isearch-update-post-hook): New hook.
12675         (isearch-update): Use the new hook.
12677 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
12679         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12680         Fix errors in copying directories.
12681         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12682         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12683         (tramp-handle-delete-file)
12684         (tramp-handle-dired-recursive-delete-directory)
12685         (tramp-handle-write-region): Flush also the cache for the upper
12686         directory.
12688 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
12690         * simple.el (save-interprogram-paste-before-kill): Doc fix.
12692         * cus-edit.el (hardware): Doc fix.
12694         * man.el (man): Add to external custom group.
12696         * delim-col.el (columns): Move to wp custom group.
12698         * doc-view.el (doc-view): Add to data custom group.
12700         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12702         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12703         by ispell-parse-output (Bug#5575).
12705 2010-02-16  Kenichi Handa  <handa@m17n.org>
12707         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12708         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12709         (skkdic-convert): Use `euc-japan' coding system for writing.
12711 2010-02-16  Glenn Morris  <rgm@gnu.org>
12713         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12714         tex-main-file before using it.  (Bug#5562)
12716 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12718         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12719         warnings, since it is annoying for the user to see them each time he
12720         runs the code.
12722 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
12724         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12725         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12726         instead of PROC for caching "first-password-request".  Otherwise,
12727         new processes would not profit from passwords already entered.
12729         * net/tramp-cache.el (tramp-dump-connection-properties):
12730         Don't save "first-password-request" property.
12732 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
12734         * outline.el (outline-head-from-level):
12735         * simple.el (with-wrapper-hook):
12736         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12737         (elint-defun, elint-buffer-env, elint-top-form-logged)
12738         (elint-unbound-variable):
12739         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12740         Fix typos in docstrings.
12742 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
12744         * files.el (insert-directory): When WILDCARD-REGEXP and
12745         FULL-DIRECTORY-P are nil, insert the file entry instead of the
12746         whole directory.  (Bug#5551)
12748         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
12749         dired's alignment sanity.  (Bug#5516)
12751 2010-02-14  Juri Linkov  <juri@jurta.org>
12753         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12754         Remove remaining ^H with their preceding chars.  (Bug#5566)
12756 2010-02-13  Glenn Morris  <rgm@gnu.org>
12758         * simple.el (transpose-subr): Give it a doc-string.
12760         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12761         Doc fixes.
12763 2010-02-12  Juri Linkov  <juri@jurta.org>
12765         * arc-mode.el (archive-unique-fname): Make directories for nested
12766         archives.  (Bug#5540)
12768 2010-02-12  Juri Linkov  <juri@jurta.org>
12770         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
12772 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12774         * subr.el (copy-overlay): Handle deleted overlays.
12776         * man.el (Man-completion-table): Don't signal an error if we can't run
12777         manual-program (bug#4056).
12779 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
12781         * textmodes/artist.el (artist-mt): Fix typos in docstring.
12783 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12785         * info.el (Info-bookmark-jump): Simplify.
12787         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12788         (bookmark-default-handler): Accept new bookmark field `buffer'.
12790 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
12792         * iswitchb.el (iswitchb-completions): Revert last change.
12794 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
12796         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12797         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12798         This prevents file names like "~/" being listed literally.
12800 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
12802         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12803         Remove dead code.  (Bug#5546)
12805 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
12807         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12808         correctly (Bug#5548).
12810 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
12812         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12813         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12815 2010-02-08  Kenichi Handa  <handa@m17n.org>
12817         * international/mule-util.el (with-coding-priority): Add autoload
12818         cookie for putting `lisp-indent-function'.
12820 2010-02-07  Glenn Morris  <rgm@gnu.org>
12822         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12823         Move F2003 named interfaces from keywords-2 to keywords-1, and
12824         use function-name-face rather than constant-face.
12825         Simplify "abstract interface" regexp.
12827 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
12829         * eshell/esh-util.el (eshell-file-attributes): New optional arg
12830         ID-FORMAT.  Pass it to `file-attributes'.
12832         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12834 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
12836         * faces.el (set-face-attribute): Allow calling
12837         internal-set-lisp-face-attribute with 'unspecified family and
12838         foundry argument (Bug#5536).
12840 2010-02-07  Glenn Morris  <rgm@gnu.org>
12842         * progmodes/f90.el (f90-font-lock-keywords-2)
12843         (f90-looking-at-type-like, f90-looking-at-program-block-end):
12844         Handle F2003 named interfaces.
12846 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
12848         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12849         beg and end before calling c-get-state-before-change-functions.
12851 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
12853         * vc-bzr.el (vc-bzr-dir-extra-headers):
12854         Disable the pending merges header.
12856 2010-02-05  Juri Linkov  <juri@jurta.org>
12858         * doc-view.el (doc-view-mode):
12859         * image-mode.el (image-mode): Put property mode-class=special.
12860         (Bug#4896)
12862 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
12864         * vc-svn.el (vc-svn-revision-table): New function.
12866 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
12868         * net/ange-ftp.el (ange-ftp-insert-directory):
12869         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12870         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12871         Handle also directories.  (Bug#5478)
12873 2010-02-05  Glenn Morris  <rgm@gnu.org>
12875         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12877 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
12879         * startup.el (command-line-1): Convert options beginning with a
12880         single dash as well (Bug#5519).
12882 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12884         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12885         * minibuffer.el (completion-initials-expand): Only check the presence
12886         of delims *within* the boundaries, since otherwise the / delim is
12887         always found for files.
12889         Fix up various corner case problems.
12890         * doc-view.el (doc-view-last-page-number): New function.
12891         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12892         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12893         (doc-view-kill-proc): Avoid inf-loop in freak cases.
12894         (doc-view-reconvert-doc): Use the new recursive delete-directory.
12895         (doc-view-convert-current-doc): Don't create the resolution.el file
12896         here any more.
12897         (doc-view-pdf/ps->png): Do it here instead.
12898         (doc-view-already-converted-p): Check that resolution.el is present.
12899         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12900         windows that are not yet showing images.
12902 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
12904         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12905         `dired-uncache' for every elemnt which is an absolute file name.
12907         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12908         directory, handle its directory component.
12909         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12910         function is called permanently and creates noise, otherwise.
12912         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12913         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12914         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
12916 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
12918         * macros.el (apply-macro-to-region-lines):
12919         Minor simplification.  (Bug#5485)
12921 2010-02-04  Glenn Morris  <rgm@gnu.org>
12923         * mail/rmail.el (rmail-show-message-1): Handle malformed
12924         quoted-printable text.  (Bug#5441)
12926         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12928         * simple.el (visual-line-mode): Capitalize lighter.
12930 2010-02-03  John Wiegley  <jwiegley@gmail.com>
12932         * iswitchb.el (iswitchb-completions): Add bookmark files to the
12933         list of files considered for "virtual buffer" completions.
12935 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
12937         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12938         also in case of (and (not full) (not wildcard)).  This is needed
12939         when dired is called with a list of files, which are not in
12940         `default-directory'.  (Bug#5478)
12942 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12944         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12946 2010-02-02  Juri Linkov  <juri@jurta.org>
12948         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12949         from unidiff to allow function-line after @@.
12951 2010-02-02  Juri Linkov  <juri@jurta.org>
12953         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12954         '(RCS SCCS) with inverted condition.
12956 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
12958         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12959         messages.
12961 2010-02-01  Juri Linkov  <juri@jurta.org>
12963         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12964         compare with "pkunzip" and "pkzip" instead of only "pkzip".
12965         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12966         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
12968 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12970         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12971         (doc-view-revert-buffer): New command.
12972         (doc-view-mode-map): Use it.
12974 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
12976         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12977         pending merge is detected.
12979 2010-01-31  Juri Linkov  <juri@jurta.org>
12981         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12982         beginning of interactive spec like all other grep commands do.
12983         Put "all" in front of "gz".  (Bug#5260)
12985 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
12987         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12989 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
12991         * dirtrack.el (dirtrack): Warn instead of signalling error if the
12992         regexp is incorrect (Bug#5476).
12994 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
12996         * net/tramp.el (tramp-handle-insert-directory): Handle also
12997         symlinks, when FILENAME is not in `default-directory'.
12999 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13001         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13002         FILE is not in `default-directory'.  (Bug#5478)
13004         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13005         of SWITCHES.  Handle the case, FILENAME is not in
13006         `default-directory'.  (Bug#5478)
13007         (tramp-register-file-name-handlers): Add safe-magic property.
13009 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13011         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13012         unzip (Bug#5475).
13014 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13016         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13017         (flymake-master-make-header-init): Add other C++ filename masks.
13018         (flymake-find-possible-master-files)
13019         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13021 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13023         Fix some busybox annoyances.
13025         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13026         not responding." string.
13027         (tramp-open-connection-setup-interactive-shell): Dump stty
13028         settings.  Enable "neveropen" arg for all `tramp-send-command'
13029         calls.  Handle "=" in variable values properly.
13030         (tramp-find-inline-encoding): Raise an error, when no encoding is
13031         found.
13032         (tramp-wait-for-output): Check, whether PROC buffer is available.
13033         Remove spurious " ^H" sequences, sent by busybox.
13034         (tramp-get-ls-command): Suppress coloring, if possible.
13036 2010-01-28  Glenn Morris  <rgm@gnu.org>
13038         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13040         * log-edit.el (log-edit-strip-single-file-name): Add missing
13041         :safe, :group, and :version tags.
13043 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13045         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13046         buffers.  (Bug#5477)
13048 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13050         * files.el (delete-directory): Handle moving to trash without
13051         first doing recursion (Bug#5436).
13053 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13055         * vc-hooks.el (vc-path): Mark as obsolete.
13057 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13059         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13060         names too.
13062         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13063         for the short log.
13064         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13066 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13068         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13070         * vc-bzr.el (vc-bzr-revision-table): New function.
13072 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13074         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13075         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13077 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13079         Remove support for adding --signoff on commit.
13080         Future support will use an incompatible generic mechanism.
13081         * vc-git.el (vc-git-add-signoff): Remove variable.
13082         (vc-git-toggle-signoff): Remove function.
13083         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13085         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13086         Rename from xterm-set-background-mode.  Return t if the background mode
13087         was set.
13088         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13089         earlier, call it again in case the background mode has changed.
13091 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13093         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13094         (Bug#3541).
13096 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13098         * emacs-lisp/assoc.el (aelement): Doc fix.
13099         (aput, adelete, amake): Use lexical-let (Bug#5450).
13101 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13103         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13104         is the same as subprogram call, not declaration.  (Bug#5435).
13106 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13108         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13109         (tramp-smb-maybe-open-connection): Use it.
13111 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13113         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13115 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13117         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13118         just because we see "encoding: 8bit".
13119         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13121 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13123         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13125 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13127         * jka-compr.el (jka-compr-load): If load-file is not in
13128         load-history, try its file-truename version.  (bug#5447)
13130 2010-01-21  Alan Mackenzie  <acm@muc.de>
13132         Fix a situation where deletion of a cpp construct throws an error.
13133         * progmodes/cc-engine.el (c-invalidate-state-cache):
13134         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13135         special cpp construct is still in the buffer.
13136         (c-parse-state): Record the special cpp with markers, not numbers.
13138 2010-01-21  Kenichi Handa  <handa@m17n.org>
13140         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13141         process last-command-event, as it is now decoded first (Bug#5380).
13143 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13145         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13147 2010-01-20  Glenn Morris  <rgm@gnu.org>
13149         * indent.el (tab-always-indent): Fix custom-type.
13151 2010-01-19  Alan Mackenzie  <acm@muc.de>
13153         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13154         buffer throws "args out of range".
13155         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13156         playing the role of delimiter.
13158 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13160         * progmodes/ada-mode.el: Fix bug#5400.
13161         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13162         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13163         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13164         Improve comments in "is" portion.  Handle null procedure declaration.
13165         (ada-move-to-end): Improve doc string.
13167 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13169         * ido.el (ido-cur-list): Initialize to nil.
13170         Remove obsolete information from commentary.
13171         (ido-choice-list): Initialize to nil.
13172         (ido-get-bufname): Reject minibuffers.
13173         (ido-make-buffer-list): If "default" is a nonexistent
13174         buffer, ignore it, as per the function's comment.
13175         (ido-kill-buffer-internal): New function.
13176         (ido-kill-buffer-at-head): Use it.
13177         (ido-visit-buffer): Likewise.
13179 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13181         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13183 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13185         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13186         Fix typos in chart titles.
13188         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13189         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13190         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13191         (describe-class, eieio-describe-generic, describe-generic):
13192         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13193         (eieio-speedbar-expand):
13194         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13195         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13196         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13197         (viper-del-backward-char-in-replace, viper-backward-indent)
13198         (viper-brac-function, viper-register-to-point, viper-submit-report):
13199         * net/tramp.el (tramp-remote-coding-commands):
13200         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13201         Fix typos in docstrings.
13203 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13205         * mail/sendmail.el (mail-yank-original): Set the mark if the
13206         specified function for yanking does not do it.
13208 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13210         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13212         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13213         resyncing a directory.
13215 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13217         * progmodes/ada-mode.el: Fix bug#1920.
13218         (ada-ident-re): Delete ., allow multibyte characters.
13219         (ada-goto-label-re): New; matches goto labels.
13220         (ada-block-label-re): New; matches block labels.
13221         (ada-label-re): New; matches both.
13222         (ada-named-block-re): Delete; callers changed to use
13223         `ada-block-label-re' instead.
13224         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13225         Use `ada-block-label-re'.
13226         (ada-indent-on-previous-lines): Improve handling of goto labels.
13227         (ada-get-indent-block-start): Special-case block label.
13228         (ada-get-indent-label): Split into `ada-indent-block-label' and
13229         `ada-indent-goto-label'.
13230         (ada-goto-stmt-start, ada-goto-next-non-ws):
13231         Optionally ignore goto labels.
13232         (ada-goto-next-word): Simplify.
13233         (ada-indent-newline-indent-conditional): Insert newline before
13234         trying to fix indentation; doc fix.
13236 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13238         * calc/calc.el (calc-command-flags): Give it an initial value.
13240 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13242         * files.el (minibuffer-with-setup-hook):
13243         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13244         (artist-key-draw-continously, artist-key-do-continously-continously)
13245         (artist-key-set-point-continously, artist-mouse-draw-continously):
13246         Fix typos in docstrings.
13248 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13250         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13251         Never return t (Bug#3898).
13253 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13255         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13256         can parse the output of the external commands (Bug#5279).
13258 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13260         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13262 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13264         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13266         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13268         * startup.el (command-line): Remove unused --icon-type arg.
13269         Handle --display arg, passing it to command-line-1 (Bug#5392).
13271 2010-01-16  Mario Lang  <mlang@delysid.org>
13273         * emacs-lisp/chart.el (chart-translate-namezone):
13274         * textmodes/artist.el (artist-compute-popup-menu-table):
13275         Remove duplicated words in doc-strings.
13277 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13279         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13280         to mairix-search to suppress threading (Bug#5342).
13282 2010-01-15  Kenichi Handa  <handa@m17n.org>
13284         * international/mule-cmds.el (canonicalize-coding-system-name):
13285         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13287 2010-01-15  Glenn Morris  <rgm@gnu.org>
13289         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13291         * wid-edit.el (widget-keymap): Doc fix.
13293         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13294         former seems to be more widely accepted by various svn versions.
13296 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13298         * find-cmd.el (find-constituents):
13299         * vc-arch.el (vc-arch-root):
13300         * window.el (window-body-height, pop-up-frames):
13301         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13302         * progmodes/ada-stmt.el (ada-if):
13303         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13304         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13305         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13306         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13308         * progmodes/flymake.el (flymake-post-syntax-check):
13309         Fix typo in error message.
13311 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13313         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13314         which is always a string.  (Bug#5313)
13316 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13318         * progmodes/ada-xref.el (ada-default-prj-properties):
13319         Simplify previous change.
13321 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13323         * progmodes/ada-xref.el (ada-default-prj-properties):
13324         Default ada_project_path to $ADA_PROJECT_PATH.
13326 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13328         * progmodes/ada-mode.el (ada-create-keymap):
13329         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13331 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13333         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13334         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13335         (ada-get-current-indent, ada-imenu-generic-expression)
13336         (ada-which-function): Check for it.
13338 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13340         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13341         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13343 2010-01-14  Glenn Morris  <rgm@gnu.org>
13345         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13347 2010-01-14  Kenichi Handa  <handa@m17n.org>
13349         * composite.el (auto-composition-mode): Make it a buffer local
13350         variable (permanent-local).
13351         (auto-composition-function): Set the default value to
13352         auto-compose-chars.
13353         (auto-composition-mode): Make it a simple function, not a minor mode.
13354         (global-auto-composition-mode): Likewise.
13355         (turn-on-auto-composition-if-enabled): Delete it.
13357 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13359         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13361 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13363         * files.el (copy-directory): Compute target for recursive
13364         directories with identical names.  (Bug#5343)
13366 2010-01-12  Glenn Morris  <rgm@gnu.org>
13368         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13369         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13371 2010-01-11  Sam Steingold  <sds@gnu.org>
13373         * imenu.el (imenu-default-create-index-function): Detect infinite
13374         loops caused by imenu-prev-index-position-function.
13376 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13378         * htmlfontify.el (htmlfontify-load-rgb-file)
13379         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13380         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13381         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13382         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13383         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13384         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13385         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13386         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13387         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13388         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13389         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13390         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13391         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13392         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13393         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13394         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13395         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13396         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13397         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13398         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13399         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13400         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13401         backslash-quoting from parentheses, etc.
13403 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13405         * progmodes/js.el: Autoload javascript-mode alias.
13407 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13409         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13410         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13411         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13412         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13413         Fix typos in docstrings.
13414         (ffap-url-regexp): Doc fix.
13415         (ffap-at-mouse): Fix typo in message.
13417 2010-01-11  Glenn Morris  <rgm@gnu.org>
13419         * version.el (emacs-copyright): Set copyright year to 2010.
13421 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13423         * format.el (format-annotate-function): Only set
13424         write-region-post-annotation-function after running to-fn so as not to
13425         affect nested write-region calls (bug#5273).
13427 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13429         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13430         wisent/python.el.
13432 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13434         * man.el (Man-goto-section): Signal error if the section is not
13435         found (Bug#5317).
13437 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13439         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13440         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13442 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13444         * progmodes/compile.el: Don't treat compile-command as safe if
13445         compilation-read-command might be nil (Bug#4218).
13447 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13449         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13450         NS options.
13452 2010-01-08  Kenichi Handa  <handa@m17n.org>
13454         * international/fontset.el (build-default-fontset-data):
13455         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13457 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13459         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13460         to `create-file-buffer' as it expects, not just a buffer name.
13461         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13462         to help uniquify.  (Bug#3224)
13464 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13466         * font-setting.el (font-setting-change-default-font): Use user-spec
13467         instead of name.
13469 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13471         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13473 2010-01-05  Tom Tromey  <tromey@redhat.com>
13475         * progmodes/python.el (python-font-lock-keywords):
13476         Handle qualified decorators (Bug#881).
13478 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13480         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13481         in a lightweight checkout.
13483 2010-01-05  Kenichi Handa  <handa@m17n.org>
13485         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13487 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13489         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13491 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13493         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13494         checkouts.  (Bug#618)
13495         (vc-bzr-log-view-mode): Also highlight the author.
13496         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13497         (vc-bzr-shelve-menu-map):
13498         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13499         (vc-bzr-shelve-apply): Make prompt more explicit.
13501 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13503         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13504         They are valid characters in URL paths (rfc3986), and at least
13505         Firefox does not understand the encoded version (Bug#3166).
13507 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13509         * progmodes/octave-mod.el (octave-end-keywords)
13510         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13511         Add "end" keyword (Bug#3061).
13512         (octave-end-as-array-index-p): New function.
13513         (calculate-octave-indent): Use it.
13515 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13517         * bookmark.el: Consistently put the text property on the bookmark name.
13518         (bookmark-bmenu-marks-width): Bump back to 2, to include
13519         annotation marks.
13520         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13521         property on the bookmark name, instead of not putting it at all.
13522         (bookmark-bmenu-list): Fix where we put the text property.
13524 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13526         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13527         for showing buffer modified state (as added in the previous change).
13529 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13531         * bookmark.el: Show modified state of bookmark buffer more accurately.
13532         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13533         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13534         (with-buffer-modified-unmodified): New macro.
13535         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13536         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13537         Use new macro to preserve the buffer modified state.
13539 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13541         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13542         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13543         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13544         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13545         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13546         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13547         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13549 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13551         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13552         Make the lines in the generated doc string shorter.  (Bug#4668)
13554 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13556         * net/rcirc.el: Add follow-link binding (Bug#4738).
13558 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13560         * Makefile.in (bzr-update): Rename from cvs-update.
13561         (cvs-update): New target for backward compatibility.
13563         * makefile.w32-in (bzr-update): Rename from cvs-update.
13564         (cvs-update): New target for backward compatibility.
13566 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13568         * bookmark.el: Remove gratuitous gratitude.
13570 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13572         * bookmark.el (bookmark-bmenu-any-marks): New function.
13573         (bookmark-bmenu-save): Clear buffer modification if no marks.
13575 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13577         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13578         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13579         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13580         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13582         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13583         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13584         To: emacs-devel {_AT_} gnu.org
13585         Subject: bookmark.el bug report
13586         Date: Mon, 28 Dec 2009 14:19:16 +0800
13587         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13589 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13591         * bookmark.el: Improvements suggested by Drew Adams:
13592         (bookmark-bmenu-ensure-position): New name for
13593         `bookmark-bmenu-check-position'.  Just ensure the position,
13594         don't return any meaningful value.
13595         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13596         New constants.
13598 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13600         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13601         (bookmark-yank-point, bookmark-bmenu-check-position):
13602         Fix typos in docstrings.
13603         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13604         (bookmark-name-from-full-record, bookmark-get-position)
13605         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13606         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13607         Remove useless quoting of parenthesis, etc. in docstrings.
13609         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13610         (ediff-append-custom-diff): Fix typo in error message.
13611         (ediff-meta-mark-equal-files): Fix typos in messages.
13613         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13615         * net/imap-hash.el (imap-hash-make): Doc fix.
13616         (imap-hash-test): Fix typo in error message; reflow docstring.
13617         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13618         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13619         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13620         Fix typos in docstrings.
13621         (imap-hash-open-connection): Fix typo in error message.
13623         * play/gomoku.el (gomoku): Fix typos in docstring.
13625         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13626         (gdb-jsonify-buffer): Fix typos in docstring.
13627         (gdb-goto-breakpoint): Fix typo in error message.
13628         ("Display Other Windows"): Fix typo in help message.
13629         (gdb-speedbar-expand-node): Fix typo in question.
13631         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13632         (idlwave-html-system-help-location, idlwave-html-help-location)
13633         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13634         (idlwave-help-browser-generic-args, idlwave-help-directory)
13635         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13636         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13637         (idlwave-online-help, idlwave-help-html-link)
13638         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13639         Fix typos in docstrings.
13640         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13641         Reflow docstrings.
13642         (idlwave-help-assistant-start): Fix typo in error message.
13644         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13645         (octave-electric-space): Fix typos in docstrings.
13647 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13649         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13651 2010-01-01  Juri Linkov  <juri@jurta.org>
13653         * comint.el (comint-input-ring-size): Make it a defcustom and
13654         increase the default to 500 (Bug#5148).
13656 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13658         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13659         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13660         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13662 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13664         Show working revision correctly for mercurial.
13665         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13666         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13668 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
13670         Declare some functions for the byte-compiler.
13671         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13672         (speedbar-timer-fn, speedbar-change-expand-button-char)
13673         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13675 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
13677         This changeset reverts GDB Graphical Interface to use annotations.
13678         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13680 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
13682         Make vc-dir work on subdirectories of the bzr root.
13683         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13684         Return file names relative to it.
13685         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13686         relative directory to vc-bzr-after-dir-status.
13688 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
13690         * font-lock.el (font-lock-refresh-defaults): New function, which
13691         can be used to let font-lock react to external changes in
13692         variables like font-lock-defaults and keywords.
13693         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13695 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
13697         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13699         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13701 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
13703         Supersede color.diff settings in git log (bug#5211).
13705         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13706         escape chars in its output when the user has color.diff set to `always'.
13707         This fix works on git 1.4.2 and newer (released on 2006-08-13).
13709 2009-12-26  Kevin Ryde  <user42@zip.com.au>
13711         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13712         node.  Keep previous "Index" name to work with past coreutils too.
13714         * man.el (man): Revise docstring a bit to show -a and -l as
13715         examples.  Add -k description since support for it has otherwise
13716         been a secret.  (Further to bug#3717.)
13717         (Man-bgproc-sentinel): When "-k foo" produces no output show error
13718         "no matches" rather than "Can't find manpage", as the latter reads
13719         like -k was interpreted as a page name, which is not so.  (Bug#5431)
13721 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
13723         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13724         switches.  Check also for //SUBDIRED// line.
13726 2009-12-25  Kenichi Handa  <handa@m17n.org>
13728         * language/indian.el (devanagari-composable-pattern): Fix to
13729         handle ZWNJ and ZWJ.  Use it in composition-function-table for
13730         Devanagari.
13731         (malayalam-composable-pattern): Fix previous change.
13733 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13735         * ps-print.el (ps-face-attributes): It was not returning the
13736         attribute face for faces specified as string.  Reported by harven
13737         <harven@free.fr>.  (Bug#5254)
13738         (ps-print-version): New version 7.3.5.
13740 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
13742         * calendar/icalendar.el (icalendar--convert-tz-offset):
13743         Fix timezone names.
13744         (icalendar--convert-tz-offset): Fix the "last-day-problem".
13745         (icalendar--add-diary-entry): Remove the trailing blank that
13746         diary-make-entry inserts.
13748 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
13750         Make `file-expand-wildcards' work for remote files.
13752         * files.el (file-expand-wildcards): In case of remote files, check
13753         only local file name part for wildcards.  Provide feature 'files
13754         and subfeature 'remote-wildcards.  (Bug#5198)
13756         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13757         if there is already an established connection.
13758         (tramp-advice-file-expand-wildcards): Remove it.
13760         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13761         (tramp-advice-file-expand-wildcards): Move from tramp.el.
13762         Activate advice for older GNU Emacs versions.  (Bug#5237)
13764 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
13766         Some doc fixes (more needed).
13768         * find-cmd.el (find-constituents): Reflow docstring.
13769         (find-cmd, find-prune, find-command): Fix typos in docstrings.
13770         (find-generic): Doc fix.
13772 2009-12-17  Juri Linkov  <juri@jurta.org>
13774         Fix regression from 23.1 to allow multiple modes in Local Variables.
13776         * files.el (hack-local-variables-filter): While ignoring duplicates,
13777         don't take `mode' into account.
13778         (hack-local-variables-filter, hack-dir-local-variables):
13779         Don't remove duplicate `mode' from local-variables-alist (like `eval').
13781 2009-12-17  Juri Linkov  <juri@jurta.org>
13783         Make `dired-diff' safer.  (Bug#5225)
13785         * dired-aux.el (dired-diff): Signal an error when `file' equals to
13786         `current' or when `file' is a directory of the `current' file.
13788 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
13790         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13791         unconditionally preloaded files.
13793 2009-12-16  Juri Linkov  <juri@jurta.org>
13795         Revert to old 23.1 logic of using the file at the mark as default.
13796         * dired-aux.el (dired-diff): Use the file at the mark as default
13797         if it's not the same as the current file, and the target dir is
13798         the current dir or the mark is active.  Add the current file
13799         as the arg of `dired-dwim-target-defaults'.  Use the default file
13800         in the prompt.  (Bug#5225)
13802 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
13804         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13805         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13806         (tramp-check-for-regexp): Check also, when an echoing shell stops
13807         to echo sent commands.
13809 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13811         * Makefile.in: Revert last change (Bug#5191).
13813 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
13815         * vc-hg.el (vc-hg-print-log): Fix argument order.
13816         (vc-hg-working-revision): Make sure the command is executed in a
13817         known environment so that we can parse the output.  (Bug#4417)
13819 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13821         * progmodes/python.el (python-symbol-completions): Remove text
13822         properties from symbol string before calling python-send-receive.
13824 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
13826         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13827         when there are values for both file and line.  (Bug#5060)
13829 2009-12-14  Juri Linkov  <juri@jurta.org>
13831         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13832         whitespace after the file name of the first line of unified format,
13833         because git-diff doesn't output whitespace and file modification time
13834         after the file name.
13836 2009-12-14  David Kastrup  <dak@gnu.org>
13838         * info.el (Info-hide-cookies-node): Before hiding a cookie,
13839         check if it already has the `display' property added by
13840         `Info-display-images-node', and not put the `invisible' property
13841         in this case.
13843 2009-12-13  Glenn Morris  <rgm@gnu.org>
13845         * mail/emacsbug.el (message-sort-headers): Define for compiler.
13846         (report-emacs-bug): In message-mode, sort manually before storing
13847         original report text.  (Bug#5178)
13848         Remove superfluous save-excursion.
13850 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
13852         * net/dbus.el (dbus-property-handler): Filter lambda forms out
13853         when responding to "GetAll" properties.
13855 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
13857         * simple.el (compose-mail): Remove mail-setup-with-from from
13858         customization checks.
13860 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
13862         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13863         RAR archives created on Unix systems.
13865 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13867         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13868         the varalias that was accidentally removed by the 2009-11-19 change
13869         (bug#5186).
13871 2009-12-12  Kenichi Handa  <handa@m17n.org>
13873         * language/indian.el (indian-compose-regexp): New function.
13874         (malayalam-composable-pattern): Fix the pattern.
13875         (composition-function-table): Set malayalam-composable-pattern for
13876         Malayalam characters.
13878 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
13880         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13881         rather than down-mouse-1, based on follow-link conventions.
13883         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13884         are compiled.
13886 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
13888         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13889         (verilog-vmm-statement-re, verilog-ovm-statement-re)
13890         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13891         (verilog-leap-to-head, verilog-backward-token):
13892         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
13894 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
13896         * progmodes/verilog-mode.el (verilog-auto-lineup)
13897         (verilog-nameable-item-re): Cleanup user-visible spelling and
13898         documentation errors.  One reported by Gary Delp.
13899         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13900         (verilog-read-decls): Fix AUTOWIRE with types declared in a
13901         package, bug195.  Reported by Pierre-David Pfister.
13903 2009-12-11  Glenn Morris  <rgm@gnu.org>
13905         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13907         * mail/emacsbug.el: No longer require sendmail.
13908         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
13909         (report-emacs-bug-orig-text): Doc fix.
13910         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13911         New local variables, to adapt to different mail-user-agents.
13912         (report-emacs-bug): Fix test for a gnu.org address.
13913         Use overlays for emphasis, since font-lock defeats 'face property.
13914         Pretest bugs also end up at the newsgroup these days.
13915         Stop message-mode stripping text properties.
13916         Set and use the new buffer-local variables.
13917         (report-emacs-bug-hook): Add doc-string.
13918         Remove some unnecessary save-excursions and simplify.
13919         Use the appropriate hook and send-command.
13921         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13922         capitalization of some menu entries.
13924 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13926         * whitespace.el (whitespace-display-char-on):
13927         Ensure `buffer-display-table' is unique when two or more windows are
13928         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13929         New version 12.1.
13931 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
13933         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13934         characters in the Attribute field.
13936 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
13938         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
13940 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13942         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13943         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13944         Disregard autoload-excludes.
13945         (update-directory-autoloads): Obey autoload-excludes here instead.
13946         But don't store its contents in no-autoloads and remove entries that
13947         refer to excludes files.
13949 2009-12-10  Glenn Morris  <rgm@gnu.org>
13951         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13952         (expand-mail-aliases): Define for compiler.
13954         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13955         Define for compiler.
13957         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13958         appropriate for the mail-user-agent in use.
13960 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
13962         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13964 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
13966         Fix short log parsing and fontification.
13967         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13968         Fix fontification for the [merge] label.
13970 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
13972         Drop some properties to avoid surprises (bug#5002).
13973         * htmlfontify.el (hfy-ignored-properties): New defcustom.
13974         (hfy-fontify-buffer): Use it.
13976 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13978         Minor cleanup.
13979         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13980         Adjust all callers.
13981         (ffap-locate-file): Remove unused arg `dir-ok' and make other
13982         args compulsory.  Adjust callers.
13983         (ffap-gopher-at-point): Remove unused var `name'.
13985         Get rid of the ELCFILES abomination.
13986         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13987         (compile-elcfiles): New phony target.
13988         (compile-main): Compute ELCFILES dynamically.
13989         (compile-clean): New target to remove left-over elc files.
13990         (compile, all): Use it.
13992 2009-12-09  Kenichi Handa  <handa@etlken>
13994         * international/mule-diag.el: Require help-mode instead of help-fns.
13996 2009-12-09  Kenichi Handa  <handa@m17n.org>
13998         * international/mule-cmds.el (ucs-names): Supply sufficiently
13999         fine ranges instead of pre-calculating accurate ranges.
14000         Iterate with bigger gc-cons-threshold.
14002 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
14004         Add support for stashing a snapshot of the current tree.
14005         * vc-git.el (vc-git-stash-snapshot): New function.
14006         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14008 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14010         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14011         instead of `(beginning|end)-of-line'.
14013 2009-12-08  Glenn Morris  <rgm@gnu.org>
14015         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14017         * Makefile.in (ELCFILES): Regenerate.
14019 2009-12-07  Juri Linkov  <juri@jurta.org>
14021         Don't lazy-highlight the comint output in history Isearch mode.
14023         * comint.el (comint-history-isearch-search): Instead of
14024         `comint-line-beginning-position', use `comint-after-pmark-p'
14025         to check if point if before the process mark, and go to
14026         `process-mark' in this case.
14028 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14030         * textmodes/tex-mode.el (latex-complete)
14031         (latex-indent-or-complete): Remove.
14032         (latex-mode): Set completion-at-point-functions instead.
14034         Provide a standard completion command and hook it into TAB.
14035         * minibuffer.el (completion-at-point-functions): New var.
14036         (completion-at-point): New command.
14037         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14038         * progmodes/python.el (python-mode-map): Use completion-at-point.
14039         (python-completion-at-point): Rename from python-partial-symbol and
14040         adjust for use in completion-at-point-functions.
14041         (python-mode): Setup completion-at-point for Python completion.
14042         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14043         extracted from lisp-complete-symbol.
14044         (lisp-complete-symbol): Use it.
14045         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14046         setup completion-at-point for Elisp completion.
14047         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14048         Use completion-at-point.
14049         * ielm.el (ielm-map): Use completion-at-point.
14050         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14051         * progmodes/sym-comp.el: Move to...
14052         * obsolete/sym-comp.el: Move from progmodes.
14054 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14056         Prevent save-buffer in Rmail buffers from using the coding-system
14057         of the current message, and from clobbering the encoding mnemonics
14058         in the mode line (Bug#4623).
14060         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14061         flag, too.
14062         (rmail-message-encoding): New variable.
14063         (rmail-write-region-annotate): Record the encoding of the current
14064         message in rmail-message-encoding.
14065         (rmail-after-save-hook): New function, restores the encoding of
14066         the current message after the message collection is saved.
14068 2009-12-07  Juri Linkov  <juri@jurta.org>
14070         * progmodes/grep.el (grep-read-files): Use `completing-read'
14071         instead of `read-string'.  Set its `collection' arg to
14072         `read-file-name-internal'.  (Bug#4301)
14074 2009-12-07  Juri Linkov  <juri@jurta.org>
14076         Correctly restore original Isearch point.  (Bug#4994)
14078         * isearch.el (isearch-mode): Move `isearch-push-state' after
14079         `(run-hooks 'isearch-mode-hook)'.
14080         (isearch-cancel): When `isearch-push-state-function' is defined,
14081         let-bind `isearch-cmds' to the first state (the last element of
14082         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14083         function and restores the original point).  Otherwise, move point
14084         to `isearch-opoint'.
14086 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14088         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14089         chars that don't have names, so the table can be built much faster at
14090         run-time.
14092 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14094         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14095         change.  Suggested by David Kastrup.
14097         * simple.el (compose-mail): Check for incompatibilities and warn.
14098         (compose-mail-user-agent-warnings): New option.
14100 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14102         Support showing a single log entry from vc-annotate.
14103         * vc.el (print-log): Add a new argument: START-REVISION.
14104         (vc-print-log-internal): Add a new optional argument and
14105         pass it to the backend.
14106         (vc-print-log, vc-print-root-log): Adjust callers.
14107         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14108         buffer already displays the requested log entry, use it.
14109         Otherwise display only the log entry in question.
14110         * vc-svn.el (vc-svn-print-log):
14111         * vc-mtn.el (vc-mtn-print-log):
14112         * vc-hg.el (vc-hg-state):
14113         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14114         (vc-git-show-log-entry): Return t on success.
14115         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14116         (vc-bzr-show-log-entry): Return t on success.
14117         * vc-rcs.el (vc-rcs-print-log):
14118         * vc-sccs.el (vc-sccs-print-log):
14119         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14121 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14123         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14124         Add menus to the meta mode.  (Bug#5043)
14126 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14128         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14129         event-key.
14131         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14133 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14135         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14136         Berbain <raphael.berbain@gmail.com>.
14138         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14139         characters.
14140         (tramp-initial-end-of-output): New defconst.
14141         (tramp-methods, tramp-find-shell)
14142         (tramp-open-connection-setup-interactive-shell)
14143         (tramp-maybe-open-connection): Use it.
14144         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14145         Handle existence of `#' and `$'.
14147         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14148         Use `tramp-initial-end-of-output'.
14150 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14152         Get the background mode from the terminal for xterm, and set
14153         faces accordingly.
14154         * term/xterm.el (xterm-set-background-mode): New function.
14155         (terminal-init-xterm): Use it in case xterm supports background
14156         color queries.  Recompute faces after getting the background
14157         color.
14159 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14161         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14162         number comment back on its own line, for easier parsing.
14164 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14166         Make it work for non-file buffers (bug#5102).
14167         * doc-view.el (doc-view-current-cache-dir):
14168         Use doc-view-buffer-file-name rather than buffer-file-name.
14169         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14171 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14173         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14174         author field is too short.
14176 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14178         * vc-git.el (vc-git-print-log): Handle a limit argument.
14179         Display the short log in graph form and with labels.
14180         (vc-git-log-view-mode): Handle labels.
14182         Make vc-revert change VC state from 'added to 'unregistered.
14183         * vc-git.el (vc-git-revert): Call git reset first.
14185 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14187         * net/newst-backend.el, net/newst-plainview.el:
14188         * net/newst-reader.el, net/newst-ticker.el:
14189         * net/newst-treeview.el, net/newsticker.el:
14190         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14192 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14194         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14196         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14197         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14198         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14199         Update annotation regexp.
14201         * simple.el (beginning-of-visual-line): Constrain to field
14202         boundaries (Bug#5106).
14204 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14206         * xml.el (xml-substitute-numeric-entities):
14207         Move newsticker--decode-numeric-entities in newst-backend.el to
14208         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14209         * net/newst-backend.el (newsticker--parse-generic-feed)
14210         (newsticker--parse-generic-items)
14211         (newsticker--decode-numeric-entities):
14212         Move newsticker--decode-numeric-entities in newst-backend.el to
14213         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14215 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14217         * progmodes/js.el (js--js-not): Add null to the list of values.
14219 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14221         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14223 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14225         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14226         delimiter if it is at the end of the current line.
14227         (bibtex-generate-url-list): Fix docstring.
14229 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14231         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14232         minibuffer's content with itself.
14233         Fold the confirm-after-completion case into the `confirm' case.
14234         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14236 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14238         * ffap.el (ffap-rfc-path): Make this a defcustom since
14239         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14241         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14242         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14244 2009-12-05  Juri Linkov  <juri@jurta.org>
14246         Save and restore dired buffer's point positions too.  (Bug#4880)
14248         * dired.el (dired-save-positions): Return in the first element
14249         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14250         Doc fix.
14251         (dired-restore-positions): First restore buffer's position.
14252         While restoring window's positions, check if window still displays
14253         the original buffer.
14255 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14257         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14258         if possible.
14260         * shell.el (shell): Require ansi-color (Bug#5113).
14262         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14264         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14266 2009-12-05  Alan Mackenzie  <acm@muc.de>
14268         * progmodes/cc-mode.el (c-before-hack-hook)
14269         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14270         `c-file-style' to work again.  This reversion restores the current
14271         software to its state in Emacs 23.1.  (Bug#4146)
14273 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14275         * textmodes/sgml-mode.el (sgml-lexical-context):
14276         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14278 2009-12-05  Juri Linkov  <juri@jurta.org>
14280         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14281         for virtual nodes.  (Bug#4147)
14282         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14283         when moving from a virtual node.
14284         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14285         (Info-mode): Add `Info-virtual-index' to the docstring.
14287 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14289         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14290         track of the buffer position of the end of a BibTeX entry as this
14291         position may change during reformatting.
14292         (bibtex-format-entry): Remove whitespace before processing
14293         numerical fields so that we recognize the latter properly.
14294         (bibtex-reformat): Do not use push which changes the global value
14295         of bibtex-entry-format.
14296         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14297         (bibtex-field-re-init): Replace only space characters by regexp
14298         for whitespace.
14299         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14300         (bibtex-initialize): Also update bibtex-strings.
14301         (bibtex-kill-field): Preserve white space at end of entry.
14302         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14303         Update bibtex-reference-keys.
14305 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14307         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14308         point after a star, if that's the only place where modifications can
14309         make progress.
14311 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14313         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14314         in docstrings.
14316 2009-12-04  Juri Linkov  <juri@jurta.org>
14318         * proced.el (proced): Call `(proced-update t)' to update process
14319         information instead of only running proced-post-display-hook.
14320         (proced-send-signal): Add a leading space to the buffer name
14321         " *Marked Processes*" to make this buffer ephemeral.
14323 2009-12-04  Juri Linkov  <juri@jurta.org>
14325         * dired.el (dired-auto-revert-buffer): New defcustom.
14326         (dired-internal-noselect): Use it.
14328 2009-12-04  Juri Linkov  <juri@jurta.org>
14330         Change roles of modes and functions in image-mode.el (Bug#5062).
14332         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14333         in `auto-mode-alist'.
14334         (image-mode-previous-major-mode): New variable.
14335         (image-minor-mode-map): Rename from `image-mode-text-map'.
14336         (image-mode): Move graceful error-handling code from
14337         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14338         (image-minor-mode): Remove all image-handling code.
14339         Replace `image-mode-text-map' with `image-minor-mode-map'.
14340         Check for `image-type' in mode-line format string.
14341         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14342         (image-mode-as-text): New function with most code from
14343         `image-mode-maybe'.
14344         (image-toggle-display-text): Move code that removes image
14345         properties from `image-toggle-display' to here.
14346         (image-toggle-display-image): New function with code that adds
14347         image properties copied from `image-toggle-display'.
14348         (image-toggle-display): Remove most code with leaving only code
14349         that toggles between `image-mode-as-text' and `image-mode'.
14351 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14353         * net/newst-treeview.el
14354         (newsticker--treeview-list-highlight-start): Restored call to
14355         save-excursion: Selected item was stuck.
14356         (newsticker--treeview-list-select): New.
14357         (newsticker--treeview-item-show-text)
14358         (newsticker--treeview-item-show)
14359         (newsticker--treeview-item-update): Use new
14360         newsticker-treeview-item-mode.
14361         (newsticker-treeview-update): Keep current item.
14362         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14363         (newsticker--treeview-first-feed): Doc change.
14364         (newsticker-treeview-list-menu)
14365         (newsticker-treeview-item-menu): Add menu entries.
14366         (newsticker-treeview-item-mode): New.
14368         * net/newst-backend.el (newsticker-customize): Delete other
14369         windows.
14371 2009-12-04  Sam Steingold  <sds@gnu.org>
14373         * log-view.el (log-view-mode-map): "q" calls quit-window,
14374         like in all the other non-self-insert buffers.
14376 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14378         Minor cleanup.
14379         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14380         key decoding rather than do it manually via last-input-event +
14381         ascii-character.
14382         (term-exec): Use delete-and-extract-region.
14383         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14384         (term-process-pager): Remove unused var `i'.
14385         (term-dynamic-simple-complete): Make obsolete.
14386         (serial-update-config-menu): Remove unused vars `y' and `str'.
14387         (term-update-mode-line): Remove unused var `temp'.
14389 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14391         Limit the number of log entries displayed by default.
14392         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14393         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14394         using a prefix argument.
14396 2009-12-03  Glenn Morris  <rgm@gnu.org>
14398         * progmodes/idlwave.el (class): Restore still useful declaration.
14400 2009-12-03  Alan Mackenzie  <acm@muc.de>
14402         Enhance `c-parse-state' to run efficiently in "brace deserts".
14404         * progmodes/cc-mode.el (c-basic-common-init):
14405         Call c-state-cache-init.
14406         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14407         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14408         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14410         * progmodes/cc-langs.el (c-before-font-lock-function):
14411         c-extend-and-neutralize-syntax-in-CPP has been renamed
14412         c-neutralize-syntax-in-and-mark-CPP.
14414         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14415         with `category' properties now, not `syntax-table' ones.
14417         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14418         enhanced (but slower) version of c-end-of-macro that won't land
14419         inside a literal or on another awkward character.
14420         (c-state-cache-too-far, c-state-cache-start)
14421         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14422         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14423         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14424         (c-state-min-scan-pos, c-state-brace-pair-desert)
14425         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14426         buffer local variables.
14427         (c-state-literal-at, c-state-lit-beg)
14428         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14429         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14430         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14431         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14432         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14433         (c-renarrow-state-cache)
14434         (c-append-lower-brace-pair-to-state-cache)
14435         (c-state-push-any-brace-pair, c-append-to-state-cache)
14436         (c-remove-stale-state-cache)
14437         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14438         (c-invalidate-state-cache-1, c-parse-state-1)
14439         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14440         (c-parse-state): Enhance and refactor.
14441         (c-debug-parse-state): Amend to deal with all the new variables.
14443         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14444         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14445         modify to use category text properties rather than syntax-table ones.
14446         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14447         to switch off/on the syntactic paren property of C++ template
14448         delimiters using the category property.
14449         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14450         template delims suppressed.
14451         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14452         New constant/macros which apply category properties to the start
14453         and end of preprocessor constructs.
14454         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14455         "comment out" the syntactic value of characters in preprocessor
14456         constructs.
14457         (c-with-cpps-commented-out)
14458         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14459         with characters in all or all but one preprocessor constructs
14460         "commented out".
14462 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14464         * proced.el (proced-filter-alist): Use regexp-quote.
14466 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14468         Cleanup.
14469         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14470         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14471         arguments.  Expand `default-directory'.
14473         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14474         the benefit of returning an expanded localname.
14475         (tramp-tramp-file-p): Handle the case NAME is not a string.
14477 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14479         Add support for bzr shelve/unshelve.
14480         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14481         (vc-bzr-extra-menu-map): New variables.
14482         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14483         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14484         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14485         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14486         (vc-bzr-dir-extra-headers): Display shelves.
14488         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14490 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14492         * textmodes/bibtex.el (bibtex-complete-internal):
14493         Use completion-in-region.
14494         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14496 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14498         Support applying stashes.  Improve UI.
14499         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14500         (vc-git-stash-apply, vc-git-stash-pop)
14501         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14502         (vc-git-stash-menu): New functions.
14503         (vc-git-stash-menu-map): New variable.
14504         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14506 2009-12-03  Glenn Morris  <rgm@gnu.org>
14508         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14509         (vc-print-log-internal): Fix previous change.
14510         (vc-revert): Correct pluralization.
14512 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14514         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14515         it to be an alist any more.
14516         (makefile-complete): Use completion-in-region.
14518         * progmodes/octave-mod.el (octave-complete-symbol):
14519         Use completion-in-region.
14521         Misc cleanup.
14522         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14523         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14524         (idlwave-complete-class): Don't quote lambda.
14525         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14526         (idlwave-mode-map): Move initialization into declaration.
14527         (idlwave-action-and-binding): Use backquotes.
14528         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14529         Simplify.
14530         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14531         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14532         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14533         `parts', and `all-parts'.
14534         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14535         (idlwave-convert-xml-system-routine-info): Remove unused string
14536         `version-string'.
14537         (idlwave-display-user-catalog-widget): Use dolist.
14538         (idlwave-scanning-lib): Declare dynamically-scoped var.
14539         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14540         (completion-highlight-first-word-only): Declare to silence bytecomp.
14541         (idlwave-popup-select): Tighten scope of `resp'.
14542         (idlwave-find-struct-tag): Remove unused var `beg'.
14543         (idlwave-after-load-rinfo-hook): Declare.
14544         (idlwave-sintern-class-info): Remove unused var `taglist'.
14545         (idlwave-find-class-definition): Remove unused var `list'.
14546         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14547         (idlwave-what-module-find-class): Remove unused var `classes'.
14549 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14551         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14553 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14555         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14556         buffers visited.  Remove redundant current-buffer-saving.
14558 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14560         Use completion-in-buffer and remove uses of dynamic scoping.
14561         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14562         (pascal-buffer-to-use, pascal-flag): Don't declare.
14563         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14564         (pascal-get-completion-decl, pascal-keyword-completion):
14565         Add `pascal-str' argument, save-excursion,
14566         return the found completions, and don't filter with pascal-pred.
14567         (pascal-completion-cache): New var.
14568         (pascal-completion): Don't switch buffer any more (it was never
14569         necessary).  Don't save-excursion any more (it's done by the called
14570         subroutines).  Use a cache to avoid redundant computations.
14571         Use complete-with-action rather than pascal-completion-response and
14572         let it apply the predicate as well.
14573         (pascal-complete-word): Use completion-in-buffer when
14574         pascal-toggle-completions is nil.
14575         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14576         not used any more.
14577         (pascal-comp-defun): Don't change buffer any more.
14578         Use complete-with-action rather than pascal-completion-response and
14579         let it apply the predicate as well.
14580         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14581         when neded.
14583 2009-12-02  Kenichi Handa  <handa@m17n.org>
14585         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14586         shape for all Indic scripts.
14588 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14590         Use completion-in-buffer.
14591         * wid-edit.el (widget-field-text-end): New function.
14592         (widget-field-value-get): Use it.
14593         (widget-string-complete, widget-file-complete)
14594         (widget-color-complete): Use it and completion-in-region.
14595         (widget-complete): Don't narrow the buffer.
14597 2009-12-02  Glenn Morris  <rgm@gnu.org>
14599         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14600         (rmail-select-summary): Use rmail-pop-to-buffer.
14601         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14602         rmail-pop-to-buffer, to prevent horizontal splits.
14604         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14605         save-excursion with save-current-buffer.
14606         Widen before searching.  (Bug#5093)
14607         (diary-list-sexp-entries): Remove superfluous save-excursion.
14609 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14611         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14612         name.  (Bug#5038)
14614 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14616         * ido.el (ido-file-internal): Handle filenames at point that do
14617         not have a directory part.  (Bug#5049)
14619 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14621         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14622         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14624 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14626         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14627         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14628         any more.
14630 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14632         * comint.el (comint-insert-input): Ignore clicks to the right of
14633         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14635         * vc.el (vc-print-log-internal): Don't wait for the process to
14636         terminate before setting up the major mode.
14638         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14639         in case.
14641         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14642         the last element.
14644         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14646 2009-12-01  Glenn Morris  <rgm@gnu.org>
14648         * window.el (window--display-buffer-2): Fix previous changes.
14650 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14652         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14654 2009-12-01  Glenn Morris  <rgm@gnu.org>
14656         * Makefile.in (ELCFILES): Add mpc.elc.
14658 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14660         * mpc.el: New file.
14662 2009-12-01  Glenn Morris  <rgm@gnu.org>
14664         * window.el (window-to-use): Define for compiler.
14666         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14667         consistent with others (no final period).
14669         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14670         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
14672 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
14674         Make vc-print-log buttons work.
14675         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14677 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
14679         * savehist.el (savehist-autosave-interval): Allow setting to nil
14680         through customize.  (Bug#5056)
14682 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
14684         Fix references to jit-lock properties.
14685         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14686         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14687         (perl-font-lock-special-syntactic-constructs):
14688         Quote jit-lock-defer-multiline property.
14690 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
14692         * vc-git.el (vc-git-registered): Call vc-git-root only once.
14694 2009-11-30  Juri Linkov  <juri@jurta.org>
14696         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14697         value `buffer' of `multi-isearch-next-buffer-current-function'.
14698         Use `(current-buffer)' when `buffer' is nil.
14699         (multi-isearch-next-buffer-from-list): Don't fallback to
14700         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
14702 2009-11-30  Juri Linkov  <juri@jurta.org>
14704         * misearch.el (multi-isearch-read-buffers): Move canonicalization
14705         of buffers with `get-buffer' to `multi-isearch-buffers'.
14706         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14707         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
14708         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14709         FILES with `expand-file-name' converting relative file names
14710         to absolute.  Doc fix.  (Bug#4727)
14712 2009-11-30  Juri Linkov  <juri@jurta.org>
14714         * misearch.el (multi-isearch-read-buffers)
14715         (multi-isearch-read-matching-buffers): New functions.
14716         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14717         Use them in the `interactive' spec.  Doc fix.
14718         (multi-isearch-read-files, multi-isearch-read-matching-files):
14719         New functions.
14720         (multi-isearch-files, multi-isearch-files-regexp):
14721         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
14723 2009-11-30  Juri Linkov  <juri@jurta.org>
14725         * doc-view.el (doc-view-continuous):
14726         Rename from `doc-view-continuous-mode'.
14727         (doc-view-menu): Move "Toggle display" to the top.
14728         Add submenu "Continuous" with radio buttons "Off"/"On"
14729         and "Save as Default".
14730         (doc-view-scroll-up-or-next-page)
14731         (doc-view-scroll-down-or-previous-page)
14732         (doc-view-next-line-or-next-page)
14733         (doc-view-previous-line-or-previous-page):
14734         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
14736 2009-11-30  Juri Linkov  <juri@jurta.org>
14738         * comint.el (comint-mode-map): Rebind `M-r' from
14739         `comint-previous-matching-input' to
14740         `comint-history-isearch-backward-regexp'.
14741         Unbind `M-s' to allow global key binding `M-s'.
14742         Add menu items for `comint-history-isearch-backward' and
14743         `comint-history-isearch-backward-regexp'.  (Bug#3746)
14745 2009-11-30  Juri Linkov  <juri@jurta.org>
14747         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14748         For def=recenter, replace `recenter' with `recenter-top-bottom'
14749         that is called with `this-command' and `last-command' let-bound
14750         to `recenter-top-bottom'.  When the last `def' was not `recenter',
14751         set `recenter-last-op' to nil.  (Bug#4981)
14753 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14755         Minor cleanup and simplification.
14756         * filecache.el (file-cache-add-directory)
14757         (file-cache-add-directory-recursively)
14758         (file-cache-add-from-file-cache-buffer)
14759         (file-cache-delete-file-regexp, file-cache-delete-directory)
14760         (file-cache-files-matching-internal, file-cache-display): Use dolist.
14761         (file-cache-temp-minibuffer-message): Delete function.
14762         (file-cache-minibuffer-complete): Use minibuffer-message instead.
14764         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14765         Don't signal an error when bumping into EOB in tr, s, or y.
14767 2009-11-29  Juri Linkov  <juri@jurta.org>
14769         * startup.el (fancy-about-text): Fix wording of Guided Tour.
14770         (Bug#4960)
14772         * descr-text.el (describe-char-unidata-list): Use lowercase name
14773         for "Unicode name" like in other tags.
14775 2009-11-29  Juri Linkov  <juri@jurta.org>
14777         * ediff-util.el (ediff-minibuffer-with-setup-hook):
14778         New compatibility macro.
14779         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14781 2009-11-29  Juri Linkov  <juri@jurta.org>
14783         Add defcustom to define the cycling order of `recenter-top-bottom'.
14784         (Bug#4981)
14786         * window.el (recenter-last-op): Doc fix.
14787         (recenter-positions): New defcustom.
14788         (recenter-top-bottom): Rewrite to use `recenter-positions'.
14789         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14791 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
14793         Improve integration of Tramp and ange-ftp in eshell.
14795         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14796         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
14797         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
14799         * eshell/esh-util.el (top): Require also Tramp when compiling.
14800         (eshell-directory-files-and-attributes): Check for FTP remote
14801         connection.
14802         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14803         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14804         (eshell-file-attributes): Handle ".".  Return `entry'.
14806         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14807         (ange-ftp-directory-files-and-attributes)
14808         (ange-ftp-real-directory-files-and-attributes): New defuns.
14810         * net/tramp.el (tramp-maybe-open-connection): Open the remote
14811         shell with "exec" when possible.  This prevents trailing prompts
14812         in `start-file-process'.
14814 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14816         Try and remove assumptions about point-min==1.
14817         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14818         (rng-compute-mode-line-string): Show the validation percentage in
14819         terms of the narrowed text, not the widened text.
14820         (rng-do-some-validation): Don't catch internal errors when debugging.
14821         (rng-first-error): Simplify.
14822         (rng-after-change-function): Remove work around.  AFAIK the bug has
14823         been fixed a while ago.
14825         * image-mode.el (image-minor-mode): Exit more gracefully when the image
14826         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14828         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14830         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14831         `cd' doesn't always do it for us (bug#5067).
14833         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14834         on 2009-10-25 as part of some other change (bug#5067).
14836 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14838         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14839         `suspicious'.
14840         (byte-compile-warnings): Use byte-compile-warning-types.
14841         (byte-compile-save-excursion): Warn about use of set-buffer right
14842         after save-excursion.
14844         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14845         the excursion as well.
14847 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
14849         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14850         providing a Tramp related implementation of "su" and "sudo".
14851         (eshell-unix-initialize): Add "su" and "sudo".
14853 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
14855         * net/socks.el (socks-send-command): Convert binary request to
14856         unibyte before sending.  This fixes mishandling of some port
14857         numbers such as 129.
14859 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14861         * help.el (describe-bindings-internal): Remove `interactive'.
14863         * man.el (Man-completion-table): Trim a terminating "(".
14864         Remove the space between name page a section.
14865         Add the command's description on the `help-echo' property.
14866         Remove `process-connection-type' binding since it's unused by
14867         call-process.
14868         Provide completion for the "<section> <name>" format as well.
14869         (Man-default-man-entry): Remove spurious var shadowing the argument.
14871 2009-11-26  Kevin Ryde  <user42@zip.com.au>
14873         * log-view.el: Add "Keywords: tools", since its other keywords
14874         aren't in finder-known-keywords, and following vc.el.
14876         * sha1.el (sha1-string-external): default-directory "/" in case
14877         otherwise non-existent.  process-connection-type pipe for touch of
14878         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
14880 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14882         Misc coding convention cleanups.
14883         * htmlfontify.el (hfy-init-kludge-hook): Rename from
14884         hfy-init-kludge-hooks.
14885         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14886         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14887         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14888         and push.
14889         (hfy-slant, hfy-weight): Use tables rather than code.
14890         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14891         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14892         (hfy-face-attr-for-class): Initialize `face-spec' directly.
14893         (hfy-face-to-css): Remove `nconc' with single arg.
14894         (hfy-p-to-face-lennart): Use `or'.
14895         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
14896         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14897         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14898         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14899         (hfy-force-fontification): Use run-hooks.
14901 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
14903         Various minor fixes.
14904         * htmlfontify.el (hfy-default-header): Add toggle_invis since
14905         Javascript belongs in the header, not the body.
14906         (hfy-javascript): Remove.
14907         (hfy-fontify-buffer): Don't insert it any more.
14908         (hfy-face-at): Handle (face0 face1 face2) style face properties.
14909         Fix bug in invis handling when there were no invis props in a chunk.
14911 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14913         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14915 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
14917         * finder.el (finder-mode-map): Add a menu.
14919 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
14921         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14922         "unsigned" structs.
14924         (verilog-leap-to-head, verilog-backward-token): Handle "disable
14925         fork" statement better.
14927 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
14929         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14930         (verilog-delete-auto, verilog-delete-empty-auto-pair)
14931         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14932         Reported by Clay Douglass.
14934         (verilog-auto-inst, verilog-auto-star-safe)
14935         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14936         Fix removing "// Interfaces" when saving .* expansions.
14937         Reported by Pierre-David Pfister.
14939 2009-11-26  Glenn Morris  <rgm@gnu.org>
14941         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14942         the scope.
14944 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
14946         * vc-annotate.el (vc-annotate-revision-previous-to-line):
14947         Really use previous revision.
14949 2009-11-25  Kevin Ryde  <user42@zip.com.au>
14951         * man.el (Man-completion-table): default-directory "/" in case
14952         doesn't otherwise exist.  process-environment COLUMNS=999 so as
14953         not to truncate long names.  process-connection-type pipe to avoid
14954         any chance of hitting the pseudo-tty TIOCGWINSZ.
14955         (man): completion-ignore-case t for friendliness and since man
14956         itself is case-insensitive on the command line.
14957         Further to Bug#3717.
14959         * arc-mode.el: Add "Keywords: files", so the details in its
14960         commentary can be reached from finder-by-keyword.
14961         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
14962         editing mode, but it's comms related and sgml-mode.el has "comm"
14963         on that basis too.
14964         * textmodes/bibtex-style.el: Add "Keywords: tex".
14965         * international/isearch-x.el, international/ja-dic-cnv.el:
14966         * international/ja-dic-utl.el, international/kkc.el:
14967         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14969 2009-11-25  Juri Linkov  <juri@jurta.org>
14971         * man.el (Man-completion-table): Modify regexp to include
14972         section names to completion strings.  (Bug#3717)
14974 2009-11-25  Juri Linkov  <juri@jurta.org>
14976         Search recursively in gzipped files.  (Bug#4982)
14978         * progmodes/grep.el (grep-highlight-matches): Add new options
14979         `always' and `auto'.  Doc fix.
14980         (grep-process-setup): Check `grep-highlight-matches' for
14981         `auto-detect' to determine the need to compute grep defaults.
14982         Move Windows/DOS specific --colors settings handling
14983         to `grep-compute-defaults'.  Check `grep-highlight-matches'
14984         to get the value of "--color=".
14985         (grep-compute-defaults): Compute `grep-highlight-matches' when it
14986         has the value `auto-detect'.  Move Windows/DOS specific settings
14987         from `grep-process-setup'.
14988         (zrgrep): New command with alias `rzgrep'.
14990 2009-11-25  Juri Linkov  <juri@jurta.org>
14992         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14993         to nil instead of switching off view-mode.  (Bug#4896)
14995 2009-11-25  Juri Linkov  <juri@jurta.org>
14997         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
14999         * mwheel.el (mwheel-scroll-up-function)
15000         (mwheel-scroll-down-function): New defvars.
15001         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15002         `scroll-up', and `mwheel-scroll-down-function' instead of
15003         `scroll-down'.
15005         * doc-view.el (doc-view-scroll-up-or-next-page)
15006         (doc-view-scroll-down-or-previous-page): Add optional ARG.
15007         Use this ARG in the call to image-scroll-up/image-scroll-down.
15008         Change `interactive' spec to "P".  Goto next/previous page only
15009         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15010         SPC/DEL case).  Doc fix.
15011         (doc-view-next-line-or-next-page)
15012         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15013         for consistency.
15014         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15015         `doc-view-scroll-up-or-next-page', and buffer-local
15016         `mwheel-scroll-down-function' to
15017         `doc-view-scroll-down-or-previous-page'.
15019 2009-11-25  Juri Linkov  <juri@jurta.org>
15021         Provide additional default values (directories at other Dired
15022         windows) via M-n in the minibuffer of some Dired commands.
15024         * dired-aux.el (dired-diff, dired-compare-directories)
15025         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15026         `minibuffer-default' in `minibuffer-with-setup-hook'.
15027         (dired-dwim-target-directory): Find a window that displays Dired
15028         buffer instead of failing when the next window is not Dired.
15029         Use `get-window-with-predicate' to find for the next Dired window.
15030         (dired-dwim-target-defaults): New function.
15032         * ediff-util.el (ediff-read-file-name):
15033         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15034         in `minibuffer-with-setup-hook'.
15036 2009-11-25  Juri Linkov  <juri@jurta.org>
15038         Provide additional default values (file name at point or at the
15039         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15041         * minibuffer.el (read-file-name-defaults): New function.
15042         (read-file-name): Reset `minibuffer-default' to nil when
15043         it duplicates initial input `insdef'.
15044         Bind `minibuffer-default-add-function' to lambda that
15045         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15046         (minibuffer-insert-file-name-at-point): New command.
15048         * files.el (file-name-at-point-functions): New defcustom.
15049         (find-file-default): Remove defvar.
15050         (find-file-read-args): Don't use `find-file-default'.
15051         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15052         to `read-file-name'.
15053         (find-file-literally): Use `read-file-name' with
15054         `confirm-nonexistent-file-or-buffer'.
15056         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15058         * dired.el (dired-read-dir-and-switches):
15059         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15060         to `read-file-name'.
15061         (dired-file-name-at-point): New function.
15062         (dired-mode): Add hook `dired-file-name-at-point' to
15063         `file-name-at-point-functions'.
15065 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15067         Really make the *Completions* window soft-dedicated (bug#5030).
15068         * window.el (window--display-buffer-2): Add `dedicated' argument.
15069         (display-buffer): Pass it when needed so the dedicated flag is set
15070         after calling set-window-buffer, which would otherwise reset it.
15072 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15074         * progmodes/meta-mode.el (meta-complete-symbol):
15075         * progmodes/etags.el (complete-tag):
15076         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15077         Use completion-in-region.
15079         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15080         (dabbrev-completion): Use completion-in-region.
15081         (dabbrev--abbrev-at-point): Simplify regexp.
15083         * abbrev.el (abbrev--before-point): Use word-motion functions
15084         if :regexp is not specified (bug#5031).
15086         * subr.el (string-prefix-p): New function.
15088         * man.el (Man-completion-cache): New var.
15089         (Man-completion-table): Use it.
15091         * vc.el (vc-print-log-internal): Make `limit' optional for better
15092         compatibility (e.g. with vc-annotate.el).
15094 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15096         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15097         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15099         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15100         when .el source file not found or other error.
15102 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15104         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15106 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15108         Handle the [back] button properly (bug#4979).
15109         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15110         Use help-setup-xref, help-buffer, and with-help-window.
15111         (describe-char): Add `buffer' argument.
15112         Pass proper command to help-setup-xref.  Don't meddle with
15113         help-xref-stack-item directly.
15114         (describe-text-category): Use with-help-window and help-buffer.
15116         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15117         for the displayed buffer (bug#4887).
15119         * man.el (Man-completion-table): New function.
15120         (man): Use it.
15122 2009-11-24  David Reitter  <david.reitter@gmail.com>
15124         * vc-git.el (vc-git-registered): Use checkout directory (where
15125         .git is) rather than the file's directory and a relative path spec
15126         to work around a bug in git.
15128 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15130         Improve handling of processes on remote hosts.
15132         * eshell/esh-util.el (eshell-path-env): New defvar.
15133         (eshell-parse-colon-path): New defun.
15134         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15136         * eshell/esh-ext.el (eshell-search-path):
15137         Use `eshell-parse-colon-path'.
15138         (eshell-remote-command): Remove argument HANDLER.
15139         (eshell-external-command): Check for FTP remote connection.
15141         * eshell/esh-proc.el (eshell-gather-process-output):
15142         Use `file-truename', in order to start also symlinked files.
15143         Apply `start-file-process' instead of `start-process'.
15144         Shorten `command' to the local file name part.
15146         * eshell/em-cmpl.el (eshell-complete-commands-list):
15147         Use `eshell-parse-colon-path'.
15149         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15151         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15152         to `eshell-directory-change-hook'.
15154 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15156         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15157         because it could be enabled automatically if view-read-only is non-nil.
15159 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15161         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15162         made on 2009-11-22.
15164 2009-11-24  Glenn Morris  <rgm@gnu.org>
15166         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15167         deleted variable bookmark-bmenu-bookmark-column.
15169 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15171         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15173 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15175         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15176         two slashes to the "file:" prefix.
15177         (browse-url-file-url): De-munge Cygwin filenames before passing
15178         them to Windows browser.
15179         (browse-url-default-windows-browser): Use call-process.
15181 2009-11-23  Juri Linkov  <juri@jurta.org>
15183         Implement DocView Continuous mode.  (Bug#4896)
15184         * doc-view.el (doc-view-continuous-mode): New defcustom.
15185         (doc-view-mode-map): Bind C-n/<down> to
15186         `doc-view-next-line-or-next-page', C-p/<up> to
15187         `doc-view-previous-line-or-previous-page'.
15188         (doc-view-next-line-or-next-page)
15189         (doc-view-previous-line-or-previous-page): New commands.
15191 2009-11-23  Juri Linkov  <juri@jurta.org>
15193         Implement Isearch in comint input history.  (Bug#3746)
15194         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15195         `isearch-mode-hook'.
15196         (comint-history-isearch): New defcustom.
15197         (comint-history-isearch-backward)
15198         (comint-history-isearch-backward-regexp): New commands.
15199         (comint-history-isearch-message-overlay): New buffer-local variable.
15200         (comint-history-isearch-setup, comint-history-isearch-end)
15201         (comint-goto-input, comint-history-isearch-search)
15202         (comint-history-isearch-message, comint-history-isearch-wrap)
15203         (comint-history-isearch-push-state)
15204         (comint-history-isearch-pop-state): New functions.
15206 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15208         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15209         return.
15210         (tramp-handle-make-symbolic-link)
15211         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15212         Quote file names.
15213         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15214         (tramp-handle-process-file): Use it.
15216 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15218         * window.el (move-to-window-line-last-op): Remove.
15219         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15221 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15223         Make M-r mirror the new cycling behavior of C-l.
15224         * window.el (move-to-window-line-last-op): New var.
15225         (move-to-window-line-top-bottom): New command.
15226         (global-map): Bind M-r move-to-window-line-top-bottom.
15228 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15230         * dired-x.el (dired-guess-shell-alist-default):
15231         Support xz format.  (Bug#4953)
15233 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15235         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15236         last-command-char/last-command-event.
15237         (viper-prefix-arg-value): Do correct conversion of event-char for
15238         XEmacs.
15240         * emulation/viper-util.el, emulation/viper.el:
15241         Use viper-last-command-char instead of
15242         last-command-char/last-command-event.
15244         * ediff-init.el, ediff-mult.el, ediff-util.el:
15245         Replace last-command-char and last-command-event
15246         with (ediff-last-command-char) everywhere.
15248         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15249         created in fundamental mode.
15251         * ediff.el (ediff-version): Revert the change of interactive-p to
15252         called-interactively-p.
15254 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15256         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15257         generation from word-movement command names.
15259 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15261         * cus-start.el (all): Add native condition for font-use-system-font.
15263 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15265         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15266         Correct the patch from 2009-11-18.  (Bug#3910)
15268 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15270         * progmodes/subword.el: Rename from lisp/subword.el.
15272         * subword.el: Rename to progmodes/subword.el.
15274         * Makefile.in (ELCFILES): Adapt to subword.el move.
15276 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15277             Stefan Monnier  <monnier@iro.umontreal.ca>
15279         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15280         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15281         (bookmark-bmenu-show-filenames): Use push.
15282         (bookmark-bmenu-hide-filenames): Use local var instead of
15283         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15284         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15285         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15286         filenames now that the bookmark names are always available.
15288 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15290         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15291         (bookmark-search-pattern): Move and leave unbound.
15292         (bookmark-bmenu-mode-map): Change binding.
15293         (bookmark-read-search-input): Simplify.
15294         Don't use text-char-description.  Don't error on non-char events.
15295         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15296         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15297         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15298         Use a local var for the timer.
15299         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15300         (i.e. bookmark-bmenu-search).
15302 2009-11-21  Glenn Morris  <rgm@gnu.org>
15304         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15306 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15308         * net/browse-url.el (browse-url-default-windows-browser):
15309         Use cygstart for cygwin.
15311 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15313         * bookmark.el: Formatting and doc fixes only:
15314         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15315         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15316         Minor grammar and punctuation fixes in doc string.
15317         (bookmark-read-search-input): Adjust to fit within 80 columns.
15319 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15321         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15322         (c-backward-into-nomenclature): Adapt to subword renaming.
15324         * subword.el (subword-forward, subword-backward, subword-mark)
15325         (subword-kill, subword-backward-kill, subword-transpose)
15326         (subword-downcase, subword-upcase, subword-capitalize)
15327         (subword-forward-internal, subword-backward-internal):
15328         Rename from forward-subword, backward-subword, mark-subword,
15329         kill-subword, backward-kill-subword, transpose-subwords,
15330         downcase-subword, upcase-subword, capitalize-subword,
15331         forward-subword-internal, backward-subword-internal.
15333 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15335         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15336         New options.
15337         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15338         New vars.
15339         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15340         (bookmark-bmenu-filter-alist-by-regexp)
15341         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15342         (bookmark-bmenu-search): New command.
15343         (bookmark-bmenu-mode-map): Bind it.
15345 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15347         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15348         backward-subword to quit the byte-compiler.
15350         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15352         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15354         * progmodes/cc-cmds.el (c-update-modeline)
15355         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15356         Refer to subword.el functions instead of cc-subword.el.
15358         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15359         subword.el functions instead of cc-subword.el.
15361         * progmodes/cc-subword.el: Rename to subword.el.
15362         * subword.el: Rename from progmodes/cc-subword.el.
15363         (subword-mode-map): Rename from c-subword-mode-map.
15364         (subword-mode): Rename from c-subword-mode.
15365         (global-subword-mode): New global minor mode.
15366         (forward-subword): Rename from c-forward-subword.
15367         (backward-subword): Rename from c-backward-subword.
15368         (mark-subword): Rename from c-mark-subword.
15369         (kill-subword): Rename from c-kill-subword.
15370         (backward-kill-subword): Rename from c-backward-kill-subword.
15371         (transpose-subwords): Rename from c-tranpose-subword.
15372         (downcase-subword): Rename from c-downcase-subword.
15373         (capitalize-subword): Rename from c-capitalize-subword.
15374         (forward-subword-internal): Rename from c-forward-subword-internal.
15375         (backward-subword-internal): Rename from c-backward-subword-internal.
15377 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15379         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15380         from a dired buffer.
15381         (vc-dired-deduce-fileset): New function.
15382         (vc-root-diff, vc-print-root-log): Use it.
15384         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15385         nil LIMIT argument to vc-print-log-internal.
15387 2009-11-20  Glenn Morris  <rgm@gnu.org>
15389         * Makefile.in (ELCFILES): Regenerate.
15391 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15393         * calc/calc.el (calc-set-mode-line):
15394         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15395         (math-format-number): Rename `math-format-complement-signed' to
15396         `math-format-twos-complement'.
15398         * calc/calc-bin.el (math-format-twos-complement): Rename from
15399         math-format-complement-signed.
15400         (calc-radix): Rename `calc-complement-signed-mode' to
15401         `calc-twos-complement-mode'.
15402         (calc-octal-radix, calc-hex-radix): Add an argument for
15403         two's complement.
15405         * calc/calc-embed.el (calc-embedded-mode-vars):
15406         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15408         * calc/calc-ext.el (calc-init-extensions):
15409         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15410         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15412         * calc/calc-units.el (math-build-units-table-buffer):
15413         Let `calc-twos-complement-mode' be nil.
15415         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15416         entries.
15418         * calc/calc-vec.el (calcFunc-vunpack):
15419         * calc/calc-aent.el (calc-do-calc-eval):
15420         * calc/calc-forms.el (math-format-date):
15421         * calc/calc-graph.el (calc-graph-plot):
15422         * calc/calc-math.el (math-use-emacs-fn):
15423         * calc/calccomp.el (math-compose-expr):
15424         Let `calc-twos-complement-mode' be nil.
15426 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15428         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15429         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15430         * minibuffer.el (completion-in-region-functions): New hook.
15431         (completion-in-region): New function.
15432         * emacs-lisp/lisp.el (lisp-complete-symbol):
15433         * pcomplete.el (pcomplete-std-complete): Use it.
15435 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15437         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15438         (latex-complete-alist): New vars.
15439         (latex-string-prefix-p, latex-complete-bibtex-keys)
15440         (latex-complete-envnames, latex-complete-refkeys)
15441         (latex-complete-data): New functions.
15442         (latex-complete, latex-indent-or-complete): New commands.
15444         * window.el (display-buffer-mark-dedicated): New var.
15445         (display-buffer): Obey it.
15446         * minibuffer.el (minibuffer-completion-help): Use it.
15448         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15450         * filecache.el (file-cache-add-file): Use push and cons.
15451         (file-cache-delete-file-regexp): Use push.
15452         (file-cache-complete): Use completion-in-region.
15454         * simple.el (with-wrapper-hook): Fix thinko.
15456         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15457         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15458         Use with-current-buffer and string-to-number.
15459         (hfy-fallback-colour-values): Use assoc-string.
15460         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15461         (hfy-face-at): Remove unused var `found-face'.
15462         (hfy-compile-stylesheet): Remove unused var `css'.
15463         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15464         and `orig-buffer'.
15465         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15466         Use with-current-buffer.
15467         (hfy-text-p): Use expand-file-name and fewer setq.
15469 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15471         * htmlfontify.el, hfy-cmap.el: New files.
15473 2009-11-19  Juri Linkov  <juri@jurta.org>
15475         * minibuffer.el (completions-format): New defcustom.
15476         (completion--insert-strings): Implement vertical format.
15478         * simple.el (switch-to-completions): Move point to the first
15479         completion when point was at the beginning of the buffer.
15481 2009-11-19  Juri Linkov  <juri@jurta.org>
15483         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15485         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15487 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15489         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15490         (mail-signature): Change default to t.
15491         (mail-from-style): Deprecate `system-default' value.
15492         (mail-insert-from-field): For default value of mail-from-style,
15493         default to `angles' unless `angles' needs quoting and `parens'
15494         does not.
15495         (mail-citation-prefix-regexp): Use citation regexp from
15496         message-mode.
15498 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15500         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15501         Set variables for computing the prompt for reading password.
15503 2009-11-19  Glenn Morris  <rgm@gnu.org>
15505         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15507         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15509         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15510         (newsticker-treeview-listwindow-height): Fix custom type.
15512 2009-11-19  Kenichi Handa  <handa@m17n.org>
15514         * descr-text.el (describe-char-padded-string): Compose with TAB
15515         only if there's a font for CH.
15516         (describe-char): Fix the condition for detecting a trivial composition.
15518 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15520         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15521         more accurate version of the regexp.  (Bug#3910)
15523 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15525         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15527 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15529         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15530         (font-setting-change-default-font): Fix typo in docstring.
15532 2009-11-18  Alan Mackenzie  <acm@muc.de>
15534         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15536 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15538         * font-setting.el (font-use-system-font): Move ...
15540         * cus-start.el (all): ... to here.
15542 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15544         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15545         Don't set `ad-return-value' if `ad-do-it' doesn't.
15547         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15548         modification time.
15550 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15552         * menu-bar.el: Put "Use system font" in Option-menu.
15553         (menu-bar-options-save): Add font-use-system-font.
15555         * loadup.el: If feature system-font-setting or font-render-setting is
15556         there, load font-setting.
15558         * Makefile.in (ELCFILES): Add font-settings.el.
15559         * font-setting.el: New file.
15561 2009-11-17  Glenn Morris  <rgm@gnu.org>
15563         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15565         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15566         Preserve point in the list buffer.  (Bug#4939)
15567         Use point-at-eol.
15568         (newsticker--treeview-list-update-highlight)
15569         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15571 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15573         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15574         Remove.
15576         * calc/calc-ext.el (calc-init-extensions): Remove references to
15577         symclip.
15579         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15581         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15582         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15583         `calc-symclip'.
15585 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15587         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15588         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15590         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15591         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15592         Ignore trailing spaces by omit-nulls to split-string (fixing
15593         regression from Emacs 21 due to the incompatible split-string
15594         change).  (Bug #4928.)
15596 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15598         * vc.el (vc-log-show-limit): Default to 2000.
15599         (vc-print-log-internal): Insert buttons to request more entries
15600         when limiting the output.
15602         * vc-sccs.el (vc-sccs-print-log):
15603         * vc-rcs.el (vc-rcs-print-log):
15604         * vc-cvs.el (vc-cvs-print-log):
15605         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15606         LIMIT is non-nil.
15608 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15610         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15611         error when `tramp-gvfs-dbus-event-vector' is set.
15612         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15614 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15616         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15618 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15620         * net/dbus.el (dbus-unregister-service): New defun.
15621         (dbus-register-property): Register the handlers of
15622         "org.freedesktop.DBus.Properties" for SERVICE.
15623         (dbus-property-handler): Fix docstring.
15625 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15627         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15628         Quote doc string reference in defvaralias as it is not in special form.
15629         (byte-compile-output-docform): Doc fix.
15631 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15633         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15634         (calc-complement-signed-mode): New variables.
15635         (calc-set-mode-line): Add indicator for twos-complements.
15636         (math-format-number): Format twos-complement notation.
15638         * calc/calc-bin.el (calc-word-size): Reset the variables
15639         `math-2-word-size' and `math-half-2-word-size'.
15640         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15641         (calc-symclip): New functions.
15643         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15645         * calc/calc-embed.el (calc-embedded-mode-vars):
15646         Add `calc-complement-signed-mode' to the list of modes.
15648         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15649         (calc-b-oper-keys): Add `calc-symclip' to list.
15651         * calc/calc-ext.el (math-read-number-fancy): Read complement
15652         signed numbers.
15653         (calc-init-extensions): Add binding for `calc-symclip'.
15654         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15656         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15657         `calc-symclip'.
15658         (calc-modes-menu): Add item for twos complement mode.
15660         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15662 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15664         * register.el (jump-to-register, insert-register): Handle Semantic
15665         tags.  From commented-out advice in semantic/senator.el.
15667 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
15669         * vc.el (vc-log-show-limit): New variable.
15670         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
15671         when using a prefix argument.
15672         (vc-print-log-internal): Add new argument LIMIT.
15674         * vc-svn.el (vc-svn-print-log):
15675         * vc-mtn.el (vc-mtn-print-log):
15676         * vc-hg.el (vc-hg-print-log):
15677         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15678         pass it to the log command when set.  Make the BUFFER argument
15679         non-optional.
15681         * vc-sccs.el (vc-sccs-print-log):
15682         * vc-rcs.el (vc-rcs-print-log):
15683         * vc-git.el (vc-git-print-log):
15684         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15685         ignore it.  Make the BUFFER argument non-optional
15687         * bindings.el (mode-line-buffer-identification): Do not purecopy.
15689 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15691         * dired.el (dired-mode-map): Move encryption items to "Operate"
15692         menu (Bug#4703).
15694         * strokes.el (strokes-update-window-configuration): Make strokes
15695         buffer current before erasing (Bug#4906).
15697 2009-11-15  Juri Linkov  <juri@jurta.org>
15699         * simple.el (set-mark-default-inactive): Add :type, :group
15700         and :version.  (Bug#4876)
15702 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
15704         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15705         (archive-unique-fname): ... here.  (Bug#4929)
15707 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15709         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15710         with a real fix.
15712         * novice.el (disabled-command-function): Add useful args.
15713         Setup the help buffer so that [back] works.
15714         Remove redundant call to help-mode.
15715         (disabled-command-function): Use `case'.
15716         (en/disable-command): New function extracted from enable-command.
15717         (enable-command, disable-command): Use it.
15719 2009-11-14  Glenn Morris  <rgm@gnu.org>
15721         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15722         constants.  (Bug#4913)
15724         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15726 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
15728         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15729         defined in C that have no doc-strings.  (Bug#1063)
15731 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
15733         * cus-edit.el (data, files):
15734         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
15736 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
15738         * simple.el (shell-command): Doc fix (Bug#4891).
15740         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15742 2009-11-14  Glenn Morris  <rgm@gnu.org>
15744         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15745         statements for vc-diff, emerge-quit, and rmail-cease-edit.
15746         If they are already loaded, eval-after-load will do the right thing.
15748         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15749         compiling.
15751         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15753         * simple.el (x-selection-owner-p): Declare.
15754         (read-mail-command): Use custom radio type rather than choice.
15755         (completion-no-auto-exit): Doc fix.
15757         * custom.el (defgroup):
15758         * epg-config.el (epg): Doc fixes.
15760 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
15762         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15763         * international/ccl.el (define-ccl-program): Do not purecopy the
15764         docstring, defconst does it anyway.
15766 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15768         * add-log.el (add-change-log-entry): Avoid displaying the changelog
15769         a second time.
15771         * x-dnd.el (x-dnd-maybe-call-test-function):
15772         * window.el (split-window-vertically):
15773         * whitespace.el (whitespace-help-on):
15774         * vc-rcs.el (vc-rcs-consult-headers):
15775         * userlock.el (ask-user-about-lock-help)
15776         (ask-user-about-supersession-help):
15777         * type-break.el (type-break-force-mode-line-update):
15778         * time-stamp.el (time-stamp-conv-warn):
15779         * terminal.el (te-set-output-log, te-more-break, te-filter)
15780         (te-sentinel, terminal-emulator):
15781         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15782         (term-write-input-ring, term-check-source, term-start-output-log):
15783         (term-display-buffer-line, term-dynamic-list-completions):
15784         (term-ansi-make-term, serial-term):
15785         * subr.el (selective-display):
15786         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15787         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15788         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15789         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15790         (speedbar-remove-localized-speedbar-support)
15791         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15792         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15793         (speedbar-buffers-line-directory):
15794         * simple.el (shell-command-on-region, append-to-buffer)
15795         (prepend-to-buffer):
15796         * shadowfile.el (shadow-save-todo-file):
15797         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15798         (scroll-bar-maybe-set-window-start):
15799         * sb-image.el (speedbar-image-dump):
15800         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15801         (load-save-place-alist-from-file):
15802         * ps-samp.el (ps-print-message-from-summary):
15803         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15804         (ps-background-image, ps-begin-job, ps-do-despool):
15805         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15806         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15807         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15808         (pr-call-process, pr-file-list, pr-interface-save):
15809         * novice.el (disabled-command-function)
15810         (enable-command, disable-command):
15811         * mouse.el (mouse-buffer-menu-alist):
15812         * mouse-copy.el (mouse-kill-preserving-secondary):
15813         * macros.el (kbd-macro-query):
15814         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15815         * informat.el (batch-info-validate):
15816         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15817         * hippie-exp.el (try-expand-dabbrev-visible):
15818         * help-mode.el (help-make-xrefs):
15819         * help-fns.el (describe-variable):
15820         * generic-x.el (bat-generic-mode-run-as-comint):
15821         * finder.el (finder-mouse-select):
15822         * find-dired.el (find-dired-sentinel):
15823         * filesets.el (filesets-file-close):
15824         * files.el (list-directory):
15825         * faces.el (list-faces-display, describe-face):
15826         * facemenu.el (list-colors-display):
15827         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15828         * epg.el (epg--process-filter, epg-cancel):
15829         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15830         (epa--read-signature-type):
15831         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15832         (emerge-file-names):
15833         * ehelp.el (electric-helpify):
15834         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15835         * ediff-vers.el (rcs-ediff-view-revision):
15836         * ediff-util.el (ediff-setup):
15837         * ediff-mult.el (ediff-append-custom-diff):
15838         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15839         (ediff-wordify):
15840         * echistory.el (Electric-command-history-redo-expression):
15841         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15842         * disp-table.el (describe-display-table):
15843         * dired.el (dired-find-buffer-nocreate):
15844         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15845         * dabbrev.el (dabbrev--same-major-mode-p):
15846         * chistory.el (list-command-history):
15847         * apropos.el (apropos-documentation):
15848         * allout.el (allout-obtain-passphrase):
15849         (allout-copy-exposed-to-buffer):
15850         (allout-verify-passphrase): Use with-current-buffer.
15852 2009-11-13  Glenn Morris  <rgm@gnu.org>
15854         * Makefile.in (ELCFILES): Regenerate.
15856 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
15858         * net/dbus.el (dbus-registered-objects-table): Rename from
15859         `dbus-registered-functions-table', because it contains also properties.
15860         (dbus-unregister-object): Unregister also properties.
15861         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15862         Use a timeout of 500 msec, in order to not block.
15863         (dbus-register-property, dbus-property-handler): New defuns.
15865 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15867         * simple.el (minibuffer-default-add-completions): Drop deprecated
15868         4th arg.
15870 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
15872         * textmodes/artist.el (artist-mouse-choose-operation):
15873         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15874         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15875         (artist-compute-up-event-key): New function.
15876         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15878 2009-11-13  Kenichi Handa  <handa@m17n.org>
15880         * language/japan-util.el: Make sure that the value of jisx0208
15881         property is jisx0208 character.
15883 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
15885         * international/mule.el (auto-coding-regexp-alist): Only purecopy
15886         car or each item, not the whole list.
15888 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15890         * minibuffer.el (minibuffer-completion-help):
15891         Use minibuffer-hide-completions.
15893 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
15895         * dired.el (dired-save-positions, dired-restore-positions): New funs.
15896         (dired-revert): Use them (bug#4880).
15898 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15900         * tooltip.el (tooltip-frame-parameters): Undo previous change.
15902 2009-11-12  Juri Linkov  <juri@jurta.org>
15904         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15905         New functions.
15906         (find-file-literally-at-point): Alias of `ffap-literally'.
15908 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15910         * textmodes/ispell.el (ispell-skip-region-alist):
15911         * textmodes/css-mode.el (auto-mode-alist):
15912         * progmodes/compile.el (auto-mode-alist):
15913         * international/mule.el (ctext-non-standard-encodings-alist)
15914         (ctext-non-standard-encodings-regexp):
15915         * simple.el (shell-command-switch, text-read-only):
15916         * replace.el (occur-mode-map):
15917         * paths.el (rmail-file-name):
15918         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15919         * find-file.el (ff-special-constructs):
15920         * files.el (file-name-handler-alist):
15921         * composite.el: Purecopy strings.
15923         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15925 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15927         * widget.el (define-widget): Purecopy the docstring.
15928         * international/mule-cmds.el (charset): Do not purecopy the
15929         docstring here, define-widget does it.
15931         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15932         * textmodes/bibtex-style.el (auto-mode-alist):
15933         * progmodes/inf-lisp.el (inferior-lisp-prompt):
15934         * progmodes/compile.el (compile-command):
15935         * language/korea-util.el (default-korean-keyboard):
15936         * international/mule-conf.el (file-coding-system-alist):
15937         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15938         * tooltip.el (tooltip-frame-parameters):
15939         * newcomment.el (comment-end, comment-padding):
15940         * dired.el (dired-trivial-filenames):
15941         * comint.el (comint-file-name-prefix): Purecopy initial values.
15943 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
15945         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15946         (tramp-advice-minibuffer-electric-tilde): Unload advices via
15947         `tramp-unload'.
15948         (tramp-advice-make-auto-save-file-name)
15949         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15950         after removing the advice.
15952 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15954         * progmodes/grep.el (grep-regexp-alist):
15955         * international/mule-cmds.el (iso-2022-control-alist):
15956         * emacs-lisp/timer.el (timer-duration-words):
15957         * subr.el (version-separator, version-regexp-alist):
15958         * minibuffer.el (completion-styles-alist):
15959         * faces.el (face-attribute-name-alist, list-faces-sample-text):
15960         Change defvars to defconsts.
15962         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15963         * loadup.el ("international/mule-conf"): Load the byte compiled version.
15964         * international/mule-conf.el: Allow to be byte compiled.
15966         * international/mule.el (define-charset): Purecopy props.
15967         (load-with-code-conversion): Purecopy doc string and file name.
15968         (put-charset-property): Purecopy strings.
15969         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15971         * international/mule-cmds.el (register-input-method): Purecopy arguments.
15972         (define-char-code-property): Correctly purecopy the table.
15974         * international/ccl.el (define-ccl-program): Purecopy the docstring.
15976         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15978         * subr.el (add-hook): Purecopy strings.
15979         (eval-after-load): Purecopy load-history-regexp and the form.
15981         * custom.el (custom-declare-group): Purecopy load-file-name.
15983         * subr.el (menu-bar-separator): New defconst.
15984         * net/eudc.el (eudc-tools-menu):
15985         * international/mule-cmds.el (set-coding-system-map)
15986         (mule-menu-keymap):
15987         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15988         * vc-hooks.el (vc-menu-map):
15989         * replace.el (occur-mode-map):
15990         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15991         (menu-bar-edit-menu, menu-bar-goto-menu)
15992         (menu-bar-custom-menu, menu-bar-showhide-menu)
15993         (menu-bar-options-menu, menu-bar-tools-menu)
15994         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15995         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15996         (menu-bar-help-menu):
15997         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15998         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16000         * term/x-win.el (x-gtk-stock-map):
16001         * progmodes/vera-mode.el (auto-mode-alist):
16002         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16003         (inferior-lisp-program, inferior-lisp-load-command):
16004         * progmodes/hideshow.el (hs-special-modes-alist):
16005         * progmodes/gud.el (same-window-regexps):
16006         * progmodes/grep.el (grep-program, find-program, xargs-program):
16007         * net/telnet.el (same-window-regexps):
16008         * net/rlogin.el (same-window-regexps):
16009         * language/ethiopic.el (font-ccl-encoder-alist):
16010         * vc-sccs.el (vc-sccs-master-templates):
16011         * vc-rcs.el (vc-rcs-master-templates):
16012         * subr.el (cl-assertion-failed):
16013         * simple.el (next-error-overlay-arrow-position):
16014         * lpr.el (lpr-command):
16015         * locate.el (locate-ls-subdir-switches):
16016         * info.el (same-window-regexps, info)
16017         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16018         * image-mode.el (image-mode, auto-mode-alist):
16019         * hippie-exp.el (hippie-expand-ignore-buffers):
16020         * format.el (format-alist):
16021         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16022         (find-name-arg):
16023         * facemenu.el (facemenu-keybindings):
16024         * dired.el (dired-listing-switches, dired-chown-program):
16025         * diff.el (diff-switches, diff-command):
16026         * cus-edit.el (same-window-regexps):
16027         * bindings.el (mode-line-mule-info)
16028         (mode-line-buffer-identification): Purecopy strings.
16030 2009-11-11  Juri Linkov  <juri@jurta.org>
16032         * simple.el (dired-get-filename) <declare-function>:
16033         Tell the byte-compiler about dired-get-filename.
16034         (shell-command): In Dired mode, get filename from the current line
16035         as the default value.
16037 2009-11-10  Glenn Morris  <rgm@gnu.org>
16039         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16040         * calendar/holidays.el, progmodes/cperl-mode.el:
16041         Update x-popup-menu declarations.
16043         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16044         (list-load-path-shadows): Use dolist.
16045         (list-load-path-shadows): Use with-current-buffer.
16047 2009-11-10  Juri Linkov  <juri@jurta.org>
16049         * minibuffer.el (read-file-name): Support a list of default values
16050         in `default-filename'.  Use the first file name where only one
16051         element is required.  Doc fix.
16053 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16055         * net/dbus.el (dbus-unregister-object): Release service, if no
16056         other method is registered for it.
16058 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16060         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16061         bookmark-sort-flag is non-nil (Bug#4653).
16063 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16065         * emulation/cua-base.el: Add CUA property to some CC mode commands
16066         (Bug#4100).
16068 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16070         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16071         at end of sentence (Bug#4818).
16073 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16075         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16076         Handle "see declaration of" MSFT statements (Bug#4100).
16078 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16080         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16081         (tramp-advice-file-expand-wildcards): Unload via
16082         `ad-remove-advice'.
16084         * net/trampver.el: Update release number.
16086 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16088         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16089         `ad-do-it'.
16091 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16093         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16094         in order to keep context in SELinux.
16096 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16098         * dired-aux.el (dired-query): Place cursor in echo area and allow
16099         C-g.
16101         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16102         menu item if not on a directory (Bug#4701).
16104 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16106         Sync with Tramp 2.1.17.
16108         * net/tramp.el (tramp-handle-copy-directory): Don't use
16109         `file-remote-p' (due to compatibility).
16111         * net/tramp-compat.el (tramp-compat-copy-directory)
16112         (tramp-compat-delete-directory): New defuns.
16114         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16115         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16116         Use `tramp-compat-delete-directory'.
16118         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16119         (tramp-smb-handle-delete-directory):
16120         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16122         * net/trampver.el: Update release number.
16124 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16126         * tar-mode.el (tar-copy): Call write-region on the right buffer
16127         (Bug#4857).
16129         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16130         by hand, if necessary (Bug#4878).
16132 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16134         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16135         align size column (Bug#4839).
16137         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16138         statement.
16140 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16142         * progmodes/ld-script.el (auto-mode-alist):
16143         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16145         * cus-face.el (custom-declare-face): Purecopy face spec.
16147 2009-11-06  Kenichi Handa  <handa@m17n.org>
16149         * international/uni-bidi.el: Re-generated.
16150         * international/uni-category.el: Re-generated.
16151         * international/uni-combining.el: Re-generated.
16152         * international/uni-mirrored.el: Re-generated.
16154 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16156         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16157         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16158         (tex-start-options, slitex-run-command, latex-run-command)
16159         (tex-run-command, tex-directory):
16160         * textmodes/ispell.el (ispell-html-skip-alists)
16161         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16162         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16163         (adaptive-fill-regexp):
16164         * textmodes/dns-mode.el (auto-mode-alist):
16165         * progmodes/python.el (interpreter-mode-alist):
16166         * progmodes/etags.el (tags-compression-info-list):
16167         * progmodes/etags.el (tags-file-name):
16168         * net/browse-url.el (browse-url-galeon-program)
16169         (browse-url-firefox-program):
16170         * mail/sendmail.el (mail-signature-file)
16171         (mail-citation-prefix-regexp):
16172         * international/mule-conf.el (eight-bit):
16173         * international/latexenc.el (latex-inputenc-coding-alist):
16174         * international/fontset.el (x-pixel-size-width-font-regexp):
16175         * emacs-lisp/warnings.el (warning-type-format):
16176         * emacs-lisp/trace.el (trace-buffer):
16177         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16178         (emacs-lisp-mode-map):
16179         * calendar/holidays.el (holiday-solar-holidays)
16180         (holiday-bahai-holidays, holiday-islamic-holidays)
16181         (holiday-christian-holidays, holiday-hebrew-holidays)
16182         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16183         (hebrew-holidays-1, holiday-oriental-holidays)
16184         (holiday-general-holidays):
16185         * x-dnd.el (x-dnd-known-types):
16186         * tool-bar.el (tool-bar):
16187         * startup.el (site-run-file):
16188         * shell.el (shell-dumb-shell-regexp):
16189         * rfn-eshadow.el (file-name-shadow-tty-properties)
16190         (file-name-shadow-properties):
16191         * paths.el (remote-shell-program, news-directory):
16192         * mouse.el ([C-down-mouse-3]):
16193         * menu-bar.el (menu-bar-tools-menu):
16194         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16195         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16196         (jka-compr-compression-info-list):
16197         * isearch.el (search-whitespace-regexp):
16198         * image-file.el (image-file-name-extensions):
16199         * find-dired.el (find-ls-option):
16200         * files.el (directory-listing-before-filename-regexp)
16201         (directory-free-space-args, insert-directory-program)
16202         (list-directory-brief-switches, magic-fallback-mode-alist)
16203         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16204         (automount-dir-prefix):
16205         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16206         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16207         (face-font-registry-alternatives, face-font-registry-alternatives)
16208         (face-font-family-alternatives):
16209         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16210         (facemenu-foreground-menu, facemenu-face-menu):
16211         * epa-hook.el (epa-file-name-regexp):
16212         * dnd.el (dnd-protocol-alist):
16213         * textmodes/rst.el (auto-mode-alist):
16214         * button.el (default-button): Purecopy strings.
16216 2009-11-06  Glenn Morris  <rgm@gnu.org>
16218         * Makefile.in (ELCFILES): Update.
16220 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16222         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16223         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16225         * nxml/xsd-regexp.el (xsdre-gen-categories):
16226         * nxml/xmltok.el (xmltok-parse-entity):
16227         * nxml/rng-parse.el (rng-parse-validate-file):
16228         * nxml/rng-maint.el (rng-format-manual)
16229         (rng-manual-output-force-new-line):
16230         * nxml/rng-loc.el (rng-save-schema-location-1):
16231         * nxml/rng-cmpct.el (rng-c-parse-file):
16232         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16233         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16235 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16237         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16238         Remove extra save-excursions and make-variable-buffer-local's.
16239         Suggested by Stefan Monnier.
16241         (verilog-getopt-file, verilog-module-inside-filename-p)
16242         (verilog-set-define): Merge GNU 1.35 and repair changes from
16243         switching to using with-current-buffer.
16245         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16246         being treated as a number and confusing AUTORESET.
16247         Reported by Dan Dever.
16249         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16250         Add verilog-auto-ignore-concat to fix backward compatibility with
16251         older verilog-modes.  Reported by Dan Katz.
16253         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16254         containing closing anchors "...$".
16256         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16257         Reported by Wade Smith.
16259         (verilog-batch-execute-func): Comment on function usage.
16261 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16263         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16264         for labels.
16266         (verilog-label-re, verilog-calc-1): Support proper indent of named
16267         asserts.
16269         (verilog-backward-token, verilog-basic-complete-re)
16270         (verilog-beg-of-statement, verilog-indent-re): Support proper
16271         indent of the assert statement at the beginning of a block of text.
16273         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16274         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16275         tokens as begins.
16277 2009-11-05  Glenn Morris  <rgm@gnu.org>
16279         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16280         Emacs 19.  (Bug#1531)
16281         (byte-compile-fix-header): Update for the above change.
16282         Drop test for epoch::version.
16284         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16285         * cus-dep.el (custom-make-dependencies):
16286         * finder.el (finder-compile-keywords):
16287         Use autoload-rubric's feature argument.
16289         * calendar/diary-lib.el (top-level): Make load behave more like require.
16291         * vc-git.el (vc-git-stash-map): Move definition before use.
16293 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16295         * custom.el (custom-declare-group): Purecopy standard-value.
16296         (custom-declare-group): Purecopy custom-prefix.
16298         * international/mule.el (load-with-code-conversion):
16299         Call do-after-load-evaluation unconditionally.
16301         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16303 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16305         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16307 2009-11-04  Glenn Morris  <rgm@gnu.org>
16309         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16310         (byte-compile-compatibility): Remove option.
16311         (byte-compile-close-variables, byte-compile-fix-header)
16312         (byte-compile-insert-header, byte-compile-output-docform)
16313         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16314         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16315         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16316         (byte-compile-insert, byte-compile-defun):
16317         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16318         (byte-defop-compiler19): Remove.
16319         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16320         used by anything.  Replace all calls with byte-defop-compiler.
16322 2009-11-04  Juri Linkov  <juri@jurta.org>
16324         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16325         (menu-bar-options-menu): Don't quote the `prop' arg of
16326         `menu-bar-make-mm-toggle'.
16328 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16330         * calendar/calendar.el (cal-loaddefs):
16331         * calendar/diary-lib.el (diary-loaddefs):
16332         * calendar/holidays.el (hol-loaddefs):
16333         * eshell/esh-module.el (esh-groups): Load rather than require.
16335 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16337         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16338         point-min==1.
16339         (todo-top-priorities): Only display-buffer when called interactively.
16340         (todo-item-start): Don't save excursion point.
16341         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16342         (todo-insert-item-here, todo-file-item, todo-remove-item):
16343         Adjust uses of todo-item-start and todo-item-end.
16345         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16346         (autoload-rubric): Don't use any more.
16348         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16349         and only put a prop if it is non-nil.
16351 2009-11-03  Juri Linkov  <juri@jurta.org>
16353         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16354         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16356         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16357         and "Menu" to make top-level menu item visually one unit (like
16358         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16359         multi-word menu items).  Fix :help string for quit-window.
16361 2009-11-03  Glenn Morris  <rgm@gnu.org>
16363         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16364         (byte-compile-file-form-define-abbrev-table)
16365         (byte-compile-file-form-custom-declare-variable)
16366         (byte-compile-variable-ref, byte-compile-defvar):
16367         Whether or not a warning is enabled should only affect whether we issue
16368         the warning, not whether or not we collect the relevant data.
16369         Eg warnings can be turned on and off throughout the course of a file.
16371         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16372         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16374 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16376         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16377         * play/mpuz.el (mpuz-create-buffer):
16378         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16379         (lm-print-y,s,noise, lm-print-w0, lm-init):
16380         * play/gomoku.el (gomoku-prompt-for-move):
16381         * play/fortune.el (fortune-in-buffer):
16382         * play/dissociate.el (dissociated-press):
16383         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16384         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16385         * mail/supercite.el (sc-eref-show):
16386         * mail/smtpmail.el (smtpmail-send-it):
16387         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16388         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16389         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16390         (rmail-summary-goto-msg, rmail-summary-expunge)
16391         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16392         (rmail-summary-add-label, rmail-summary-output-menu)
16393         (rmail-summary-output-body):
16394         * mail/rfc822.el (rfc822-addresses):
16395         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16396         * mail/mailpost.el (post-mail-send-it):
16397         * mail/hashcash.el (hashcash-generate-payment):
16398         * mail/feedmail.el (feedmail-run-the-queue)
16399         (feedmail-queue-send-edit-prompt-help-first)
16400         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16401         (feedmail-deduce-address-list):
16402         * eshell/esh-ext.el (eshell-remote-command):
16403         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16404         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16405         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16406         (viper-save-string-in-file, viper-valid-marker):
16407         * emulation/viper-keym.el (viper-toggle-key):
16408         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16409         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16410         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16411         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16412         (viper-exec-form-in-emacs, viper-brac-function):
16413         * emulation/viper.el (viper-delocalize-var):
16414         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16415         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16416         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16417         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16418         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16419         * emulation/edt.el (edt-electric-helpify):
16420         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16421         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16422         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16423         (cua-indent-to-global-mark-column):
16424         * calendar/diary-lib.el (calendar-mark-1):
16425         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16426         Use with-current-buffer.
16427         * emulation/viper.el (viper-delocalize-var): Use dolist.
16429 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16431         * comint.el (comint-replace-by-expanded-history-before-point):
16432         Replace !! with the previous input string literally (Bug#1795).
16434 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16436         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16437         to be made up of whitespace.
16439 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16441         * minibuffer.el (read-file-name): Don't use file dialogs for
16442         remote directories (Bug#99).
16444 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16446         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16448 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16450         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16451         instead of deleting the window or frame.
16453 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16455         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16456         Support face colors.
16458         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16459         New function.  Support face colors (Bug#1168).
16460         (tex-common-initialization): Use it.
16462         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16463         mode allows it (Bug#1168).
16465 2009-10-31  Juri Linkov  <juri@jurta.org>
16467         * facemenu.el (list-colors-display): Don't mark buffer as
16468         modified (Bug#3948).
16470 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16472         * international/mule-diag.el (list-character-sets-1):
16473         Minor message fix (Bug#3526).
16475         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16476         Fix face property (Bug#4834).
16477         (etags-list-tags, etags-tags-apropos-additional)
16478         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16479         property.
16481         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16482         items.
16484 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16486         * textmodes/two-column.el (2C-split):
16487         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16488         * textmodes/tex-mode.el (tex-set-buffer-directory):
16489         * textmodes/spell.el (spell-region, spell-string):
16490         * textmodes/reftex.el (reftex-erase-buffer):
16491         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16492         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16493         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16494         (reftex-select-item):
16495         * textmodes/reftex-ref.el (reftex-label-info-update)
16496         (reftex-offer-label-menu):
16497         * textmodes/reftex-index.el (reftex-index-change-entry)
16498         (reftex-index-phrases-info):
16499         * textmodes/reftex-global.el (reftex-create-tags-file)
16500         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16501         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16502         (reftex-view-crossref-from-bibtex):
16503         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16504         (reftex-extract-bib-entries-from-thebibliography)
16505         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16506         * textmodes/refbib.el (r2b-capitalize-title):
16507         (r2b-convert-buffer, r2b-help):
16508         * textmodes/page-ext.el (pages-directory)
16509         (pages-directory-goto-with-mouse):
16510         * textmodes/bibtex.el (bibtex-validate-globally):
16511         * textmodes/bib-mode.el (bib-capitalize-title):
16512         * textmodes/artist.el (artist-clear-buffer, artist-system):
16513         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16514         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16515         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16516         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16517         (xscheme-send-control-g-interrupt, xscheme-start-process)
16518         (xscheme-process-sentinel, xscheme-cd):
16519         * progmodes/verilog-mode.el (verilog-read-always-signals)
16520         (verilog-set-define, verilog-getopt-file)
16521         (verilog-module-inside-filename-p):
16522         * progmodes/sh-script.el:
16523         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16524         (python-pdbtrack-grub-for-buffer, python-execute-file):
16525         * progmodes/octave-inf.el (inferior-octave):
16526         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16527         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16528         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16529         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16530         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16531         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16532         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16533         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16534         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16535         (idlwave-shell-examine-display, idlwave-shell-run-region)
16536         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16537         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16538         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16539         (idlwave-help-get-help-buffer):
16540         * progmodes/gud.el (gud-basic-call, gud-find-class)
16541         (gud-tooltip-activate-mouse-motions-if-enabled):
16542         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16543         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16544         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16545         (ebrowse-tags-next-file):
16546         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16547         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16548         (ebnf-eps-finish-and-write):
16549         * progmodes/cpp.el (cpp-edit-save):
16550         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16551         * progmodes/cc-defs.el (c-emacs-features):
16552         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16553         (antlr-directory-dependencies):
16554         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16555         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16556         (ada-find-any-references, ada-make-filename-from-adaname)
16557         (ada-make-body-gnatstub):
16558         * obsolete/rnews.el (news-list-news-groups):
16559         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16560         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16561         * net/rcirc.el (rcirc-debug):
16562         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16563         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16564         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16565         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16566         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16567         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16568         (newsticker--treeview-list-clear-highlight)
16569         (newsticker--treeview-list-update-highlight)
16570         (newsticker--treeview-list-highlight-start)
16571         (newsticker--treeview-tree-update-highlight)
16572         (newsticker--treeview-get-selected-item)
16573         (newsticker-treeview-mark-list-items-old)
16574         (newsticker--treeview-set-current-node):
16575         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16576         * net/newst-backend.el (newsticker--get-news-by-funcall)
16577         (newsticker--get-news-by-wget, newsticker--image-get)
16578         (newsticker--image-sentinel):
16579         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16580         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16581         (eudc-ph-close-session):
16582         * net/eudc.el (eudc-save-options):
16583         * language/thai-word.el (thai-update-word-table):
16584         * language/japan-util.el (japanese-string-conversion):
16585         * international/titdic-cnv.el (tsang-quick-converter)
16586         (ziranma-converter, ctlau-converter):
16587         * international/mule-cmds.el (describe-language-environment):
16588         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16589         (skkdic-convert-postfix, skkdic-convert-prefix):
16590         (skkdic-convert-okuri-nasi, skkdic-convert):
16591         * emacs-lisp/re-builder.el (reb-update-overlays):
16592         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16593         * emacs-lisp/gulp.el (gulp-send-requests):
16594         * emacs-lisp/find-gc.el (trace-call-tree):
16595         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16596         (eieio-describe-generic):
16597         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16598         * emacs-lisp/edebug.el (edebug-outside-excursion):
16599         * emacs-lisp/debug.el (debugger-make-xrefs):
16600         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16601         * emacs-lisp/chart.el (chart-new-buffer):
16602         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16603         Use with-current-buffer.
16604         * textmodes/artist.el (artist-system): Don't call
16605         copy-sequence on a fresh string.
16606         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16608 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16610         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16611         is no item to edit.  (Bug#4820)
16612         (todo-top-priorities): Restore point and restore narrowing in Todo
16613         buffer.  (Bug#4820)
16615 2009-10-31  Glenn Morris  <rgm@gnu.org>
16617         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16618         (comint-last-output-start, comint-last-input-start)
16619         (comint-last-input-end): Don't defvar when compiling.
16620         (ange-ftp-process-file): Use bound-and-true-p.
16622         * pcmpl-rpm.el (top-level): Move provide statement to end.
16623         (pcmpl-rpm): Remove unused custom group.
16625         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16627         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16629         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16630         (byte-compile-warnings): Add `constants' as an option.
16631         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16632         (display-call-tree): Update for byte-compile-fdefinition possibly
16633         returning `(macro lambda ...)'.  (Bug#4778)
16634         (byte-compile-variable-ref, byte-compile-setq-default):
16635         Respect `constants' member of byte-compile-warnings.
16637 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16639         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16640         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16641         to "submit:".
16643 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16645         * textmodes/ispell.el (ispell-skip-region-alist):
16646         * international/mule-conf.el (eight-bit):
16647         * international/fontset.el (font-encoding-alist):
16648         * startup.el (pure-space-overflow-message):
16649         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16650         * paths.el (gnus-nntp-service, rmail-spool-directory)
16651         (term-file-prefix):
16652         * files.el (save-some-buffers-action-alist):
16653         * cmuscheme.el (same-window-buffer-names):
16654         * ielm.el (same-window-buffer-names):
16655         * shell.el (same-window-buffer-names):
16656         * mail/sendmail.el (same-window-buffer-names):
16657         * progmodes/inf-lisp.el (same-window-buffer-names):
16658         * bindings.el (mode-line-client)
16659         (mode-line-column-line-number-mode-map):
16660         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16661         (tibetan-precomposed-regexp): Purecopy string arguments.
16663 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16665         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16666         (calcDigit-nondigit):
16667         * calc/calc-yank.el (calc-copy-to-buffer):
16668         * calc/calc-units.el (calc-invalidate-units-table):
16669         * calc/calc-trail.el (calc-trail-yank):
16670         * calc/calc-store.el (calc-insert-variables):
16671         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16672         * calc/calc-prog.el (calc-read-parse-table):
16673         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16674         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16675         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16676         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16677         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16678         (calc-graph-name, calc-graph-find-command, calc-graph-view)
16679         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16680         * calc/calc-ext.el (calc-realign):
16681         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16682         (calc-embedded-finish-edit, calc-embedded-make-info)
16683         (calc-embedded-finish-command, calc-embedded-stack-change):
16684         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16686         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16687         shell-dynamic-complete-filename in preference to
16688         comint-dynamic-complete-filename.
16690         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16691         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16692         Don't consider whether the display supports colors.
16693         (bookmark-import-new-list): Use dolist.
16694         (bookmark-bmenu-mode-map): Move initialization into declaration.
16695         (bookmark-bmenu-list): Use dolist, simplify.
16696         (bookmark-show-all-annotations): Use save-selected-window and dolist.
16697         (menu-bar-final-items): Use push.
16699 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16701         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16702         it works on remote files.
16703         (vc-hg-diff): Don't pass any `--cwd' argument.
16705 2009-10-27  Kevin Ryde  <user42@zip.com.au>
16707         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16708         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16709         (Further to Bug#3921).
16711 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
16713         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16714         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16715         calling `tramp-imap-put-file'.  Add file size to the call.
16716         (tramp-imap-get-file-entries): Compute also user name, file size,
16717         and date.
16718         (tramp-imap-handle-insert-directory): Insert uid and gid.
16719         (tramp-imap-handle-file-attributes): Transform uid and gid
16720         according to `id-format'.
16721         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
16722         size in header X-Size.
16724 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
16726         * simple.el (transpose-subr): Give clearer error when the mark
16727         is not set.  (Bug#4807)
16729 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
16731         * net/tramp.el (tramp-perl-file-truename): New defconst.
16732         Perl code contributed by yary <not.com@gmail.com> (tiny change).
16733         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16734         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16735         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16737         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16738         Ignore `dired-call-process'.
16739         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16741 2009-10-26  Julian Scheid  <julians37@gmail.com>
16743         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16744         (tramp-get-remote-readlink): New defun.
16745         (tramp-handle-file-truename): Use it.
16746         (tramp-handle-file-exists-p): Check file-attributes cache, assume
16747         file exists if cache value present.
16748         (tramp-check-cached-permissions): New defun.
16749         (tramp-handle-file-readable-p): Use it.
16750         (tramp-handle-file-writable-p): Likewise.
16751         (tramp-handle-file-executable-p): Likewise.
16752         (tramp-handle-file-name-all-completions): Try using Perl to get
16753         partial completions.  When perl not available, combine `cd' and
16754         `ls' into single remote operation and use shell expansion to get
16755         partial remote directory contents.  Set `file-exists-p' cache for
16756         directory and any files returned by ls.  Change cache handling to
16757         support partial directory contents.  Use error message emitted by
16758         remote `cd' or Perl code for local tramp-error.
16759         (tramp-do-copy-or-rename-file-directly): Avoid separate
16760         tramp-send-command-and-check call.
16761         (tramp-handle-process-file): Merge three remote ops into one.
16762         Do not flush all caches when `process-file-side-effects' is set.
16763         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16764         file-attributes shows uid/gid to be set already.
16766 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
16768         * textmodes/tex-mode.el (tex-dvi-view-command)
16769         (tex-show-queue-command, tex-open-quote):
16770         * progmodes/ruby-mode.el (auto-mode-alist)
16771         (interpreter-mode-alist): Purecopy strings.
16773         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16775         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16776         string for the hook, keymap and abbrev table.
16778         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16780         * x-dnd.el (x-dnd-xdnd-to-action):
16781         * startup.el (fancy-startup-text, fancy-about-text): Change to
16782         defconst from defvar.
16784         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16786         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16787         Purecopy initialization strings.
16789         * mail/sendmail.el (mail-header-separator)
16790         (mail-personal-alias-file):
16791         * mail/rmail.el (rmail-default-dont-reply-to-names)
16792         (rmail-ignored-headers, rmail-retry-ignored-headers)
16793         (rmail-highlighted-headers, rmail-secondary-file-directory)
16794         (rmail-secondary-file-regexp):
16795         * files.el (null-device, file-name-invalid-regexp)
16796         (locate-dominating-stop-dir-regexp)
16797         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16798         (interpreter-mode-alist): Use mapcar instead of mapc.
16800         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16802         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16803         (completion-ignored-extensions):
16804         (debug-ignored-errors): Purecopy strings.
16806 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16808         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16809         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16810         (pcomplete--here): Use push.
16812         * subr.el (all-completions): Declare the 4th arg obsolete.
16814 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16816         * pcomplete.el (pcomplete-unquote-argument-function): New var.
16817         (pcomplete-unquote-argument): New function.
16818         (pcomplete--common-suffix): Always pay attention to case.
16819         (pcomplete--table-subvert): Quote and unquote the text.
16820         (pcomplete--common-quoted-suffix): New function.
16821         (pcomplete-std-complete): Use it and pcomplete-begin.
16823         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16824         we're inside a dedicated or minibuffer window.
16826 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
16828         * bookmark.el: Update documentation, especially documentation
16829         of `bookmark-alist' and of the bookmark file format.
16830         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
16832 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
16834         * mail/emacsbug.el (report-emacs-bug): Clarify that the
16835         keybindings apply to the mail buffer (Bug#4003).  Shrink help
16836         window to buffer.
16838         * whitespace.el (whitespace-mode, whitespace-newline-mode)
16839         (global-whitespace-mode, global-whitespace-newline-mode)
16840         (whitespace-toggle-options, global-whitespace-toggle-options):
16841         Doc fix (Bug#3660).
16843         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16844         of xmltok-start before the end tag was inserted (Bug#2840).
16846         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16847         patterns that are preceded by an open-paren (Bug#1320).
16849 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
16851         * files.el (delete-directory): Delete symlinks to directories with
16852         delete-file (Bug#4739).
16854 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
16856         * vc.el (vc-backend-for-registration): Rename from
16857         vc-get-backend-for-registration.  Update callers.
16859         * international/mule-cmds.el (set-language-info-alist):
16860         Purecopy lang-env.
16861         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16862         (charset): Purecopy the name.
16863         (define-char-code-property): Purecopy string arguments.
16865         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16866         Purecopy string arguments.
16868         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16869         * ediff-hook.el (menu-bar-ediff-menu):
16870         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16871         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16873 2009-10-24  Glenn Morris  <rgm@gnu.org>
16875         * comint.el (comint-dynamic-list-completions):
16876         * term.el (term-dynamic-list-completions): Use choose-completion rather
16877         than obsolete alias mouse-choose-completion.
16879         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16880         file-cache-choose-completion.
16881         (file-cache-choose-completion): Handle an optional event argument.
16882         (file-cache-mouse-choose-completion): Make it an obsolete alias.
16884         * progmodes/octave-mod.el (octave-complete-symbol):
16885         Use choose-completion if mouse-choose-completion is ever removed.
16887         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16888         use.
16890         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16891         compiler.
16893         * vc-hooks.el (vc-responsible-backend): Fix declaration.
16895 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16897         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16898         Ignore `pred' now that we receive one.
16899         Handle test-completion specially.
16901 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16903         * vc.el (vc-responsible-backend): Throw an error if not backend is
16904         found.  Remove the REGISTER argument.  Move the code dealing with
16905         REGISTER ...
16906         (vc-get-backend-for-registration): ... here.  New function.
16907         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16908         of vc-responsible-backend, pass the file name instead of the
16909         directory name.
16911 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16913         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16914         New funs.
16915         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
16916         (pcomplete-comint-setup): Don't modify a global var via
16917         accidental side-effects.
16918         (pcomplete-shell-setup): Adjust call accordingly.
16919         (pcomplete-parse-comint-arguments): Use push.
16921 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
16923         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16924         Allow uncapitalized info node names (Bug#3921).
16926         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16927         to the DEBUG file (Bug#3781).
16929 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
16931         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16932         dictionary entry (Bug#4579).
16934 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
16936         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16937         from `rfn-eshadow-update-overlay-hook' when unloading.
16938         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16939         "rsyncc".  Adjust doc string.
16940         (tramp-temp-buffer-file-name): New buffer-local defvar.
16941         (tramp-handle-insert-file-contents, tramp-handle-write-region):
16942         Keep temporary file when indicated by method ("rsync" and
16943         "rsyncc").
16944         (tramp-handle-write-region): Handle APPEND.
16945         (tramp-delete-temp-file-function): New defun.  Added to
16946         `kill-buffer-hook'.
16948 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
16950         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16952 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16954         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16955         (color-name-rgb-alist, tty-standard-colors)
16956         (tty-color-mode-alist): Change to defconst.
16958         * simple.el (mark-inactive): Purecopy message.
16960         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16961         (global-map, yank-menu):
16962         * textmodes/ispell.el (ispell-menu-map):
16963         * net/eudc.el (eudc-tools-menu):
16964         * international/mule-cmds.el (describe-language-environment-map)
16965         (setup-language-environment-map, set-coding-system-map)
16966         (mule-menu-keymap):
16967         * vc-hooks.el (vc-menu-entry, vc-menu-map):
16968         * replace.el (occur-mode-map):
16969         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16971 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
16973         * calc/calc.el (math-read-number, math-read-number-simple):
16974         Use `save-match-data'.
16976 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16978         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16979         rather than fiddling with global-map bindings, since it should only
16980         affect per-terminal settings.
16981         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16983         * minibuffer.el (completion-table-with-terminator): Allow to specify
16984         the terminator-regexp.
16986         * simple.el (switch-to-completions): Look for *Completions* in other
16987         frames as well.
16989         * pcomplete.el: Allow the use of completion-tables.
16990         (pcomplete-std-complete): New command.
16991         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16992         (pcomplete--here): Use a function for `form' rather than an expression,
16993         so it can be byte-compiled.
16994         (pcomplete-here, pcomplete-here*): Adjust accordingly.
16995         Add edebug declaration.
16996         (pcomplete-show-completions): Remove unused var `curbuf'.
16997         (pcomplete-do-complete, pcomplete-stub):
16998         Don't assume `completions' is a list of strings any more.
17000 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
17002         * find-dired.el (find-name-arg): Fix typo in docstring.
17004 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17006         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17007         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17009         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17010         pcomplete-entries.
17012         * comint.el (comint-read-input-ring, comint-write-input-ring)
17013         (comint-substitute-in-file-name)
17014         (comint-dynamic-complete-as-filename)
17015         (comint-dynamic-simple-complete)
17016         (comint-dynamic-list-filename-completions)
17017         (comint-dynamic-list-completions)
17018         (comint-redirect-results-list-from-process): Minor simplifications.
17020 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17022         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17023         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17024         the first form.  And insert a blank line after ";;; Code" since
17025         that's usual style.  (Bug#4612)
17027         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17029 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17031         * minibuffer.el (completion-table-with-terminator): Properly implement
17032         boundaries, in case `terminator' appears in the suffix.
17033         (completion--embedded-envvar-table): Don't return boundaries if
17034         there's no valid completion.  Simplify.
17035         (completion-file-name-table): New completion table extracted from
17036         completion--file-name-table.
17037         (completion--file-name-table): Use it.
17038         (read-file-name-predicate): Declare obsolete.
17039         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17040         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17041         completion-file-name-table, and use the `pred' argument.
17042         * files.el (locate-file-completion-table): Use the `pred' arg rather
17043         than read-file-name-predicate.
17044         (abbreviate-file-name): Use \` rather than ^ for BOS.
17046 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17048         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17049         vc-responsible-backend to register, it causes problems.
17051 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17053         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17055 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17057         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17058         (tramp-smb-handle-file-attributes): Use it.
17059         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17060         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17061         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17062         Add `dired-filename' text properties.
17063         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17064         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17065         version.
17067 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17069         * subr.el (read-key-delay): Reduce to 0.01.
17070         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17071         (bug#4751).
17073 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17075         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17077         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17078         (Info-menu): Remove unused vars `last' and `completions'.
17079         (Info-index-nodes): Remove unused var `node'.
17081         * info.el (Info-complete-menu-item): Use complete-with-action.
17083 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17085         Make vc-annotate work through copies and renames.
17086         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17087         Return the file name too.
17088         (vc-annotate-revision-at-line)
17089         (vc-annotate-find-revision-at-line)
17090         (vc-annotate-revision-previous-to-line)
17091         (vc-annotate-show-log-revision-at-line): Update to get the file
17092         name from vc-annotate-extract-revision-at-line.
17093         (vc-annotate-show-diff-revision-at-line-internal): Change the
17094         argument to mean whether to show a file diff or not.  Get the file
17095         name from vc-annotate-extract-revision-at-line.
17096         (vc-annotate-show-diff-revision-at-line):
17097         Update vc-annotate-show-diff-revision-at-line call.
17098         (vc-annotate-warp-revision): Add an optional file argument.
17100         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17101         (vc-git-annotate-extract-revision-at-line): Also return the file
17102         name if found.
17104         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17105         command.  Remove unused code.
17106         (vc-hg-annotate-re): Update to match --follow output.
17107         (vc-hg-annotate-extract-revision-at-line): Also return the file
17108         name if found.
17110         * vc.el: Update annotate-extract-revision-at-line documentation.
17112 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17114         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17115         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17117         * net/browse-url.el (browse-url): Identify alist with "consp and
17118         not functionp" and let all other things go down the `apply' leg,
17119         as suggested by Stefan.  (Further to bug#4531.)
17121 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17123         * minibuffer.el (read-file-name): Check for repeat before putting
17124         a default argument in file-name-history (Bug#4657).
17126         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17127         read syntax (Bug#4737).
17129         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17131 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17133         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17134         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17135         entries and make note of obsolete tags.
17137 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17139         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17141 2009-10-18  Glenn Morris  <rgm@gnu.org>
17143         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17144         grep, so that binary files (eg international/uni-bidi.el) can match.
17145         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17146         now, and in any case the file header format has changed.
17148 2009-10-17  Glenn Morris  <rgm@gnu.org>
17150         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17151         (flyspell-get-word, flyspell-large-region)
17152         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17154 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17156         * Makefile.in (ELCFILES): Add ede/shell.
17158 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17160         * term/common-win.el (x-colors): Purecopy it.
17162 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17164         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17165         permissive for when the buffer is empty.
17166         (tar-header-block-tokenize): Decode the username and groupname.
17167         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17169 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17171         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17172         contains multibyte characters, choose first applicable coding
17173         system automatically.
17175 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17177         * international/mule-cmds.el (select-safe-coding-system): If the file
17178         has a coding cookie, use it regardless of any other setting (bug#4712).
17180 2009-10-17  Glenn Morris  <rgm@gnu.org>
17182         * foldout.el (foldout-mouse-swallow-events):
17183         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17185         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17186         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17187         (dired-keep-marker-symlink, dired-dwim-target)
17188         (dired-copy-preserve-time): Do not autoload these defcustoms.
17190         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17191         messages from messing up the file coding.  (Bug#4623)
17193 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17195         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17196         if no match is found for the current dictionary.  (Bug#4578)
17198         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17199         optional, since that is how it is documented, and this is often called
17200         with a nil argument.  (Bug#4577)
17201         (flyspell-external-point-words, flyspell-auto-correct-word)
17202         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17203         (flyspell-word-search-backward): Remove nil argument in calls to
17204         flyspell-get-word, since it is not needed now.
17206 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17208         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17210 2009-10-16  Glenn Morris  <rgm@gnu.org>
17212         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17214 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17216         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17217         (ange-ftp-file-size): New function.
17218         (ange-ftp-file-attributes): Use it.
17220 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17222         * net/tramp-smb.el (tramp-smb-version): New defvar.
17223         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17224         repeated checks.
17226 2009-10-16  Glenn Morris  <rgm@gnu.org>
17228         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17229         Maybe copy some custom properties from old to new name.  (Bug#4706)
17231 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17233         * subr.el (error, sit-for, start-process-shell-command)
17234         (start-file-process-shell-command): Set the calling convention
17235         after the function definition.
17237 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17239         * subr.el (error, sit-for, start-process-shell-command)
17240         (start-file-process-shell-command): Use the new
17241         set-advertised-calling-convention feature.
17243 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17245         * international/ucs-normalize.el (ucs-normalize-version):
17246         Change to 1.2.
17247         (check-range): Adjust for Unicode 5.2.
17249 2009-10-15  Juri Linkov  <juri@jurta.org>
17251         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17252         to the `menu-item' format.
17254 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17256         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17257         if the environment variable does not exist.
17259         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17260         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17261         parameter.
17262         (tramp-smb-handle-add-name-to-file)
17263         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17264         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17265         (tramp-smb-handle-file-attributes)
17266         (tramp-smb-do-file-attributes-with-stat)
17267         (tramp-smb-handle-file-local-copy)
17268         (tramp-smb-handle-insert-directory)
17269         (tramp-smb-handle-make-directory)
17270         (tramp-smb-handle-make-directory-internal)
17271         (tramp-smb-handle-make-symbolic-link)
17272         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17273         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17274         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17275         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17276         Handle long file names.
17277         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17278         process is running.
17279         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17280         Read share names with "-g" option.
17282 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17284         * net/rcirc.el (rcirc-view-log-file): New command.
17285         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17286         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17287         specified.
17289 2009-10-15  Glenn Morris  <rgm@gnu.org>
17291         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17292         from the second command-line argument.
17293         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17294         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17295         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17296         w32-batch-update-autoloads.
17297         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17298         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17300         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17301         the headers cannot be located.  Simplify, subtracting superflous
17302         save-excursions.
17304 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17306         Replace completion-base-size by completion-base-position to fix bugs
17307         such as (bug#4699).
17308         * simple.el (completion-base-position): New var.
17309         (completion-base-size): Mark as obsolete.
17310         (choose-completion): Make it work for mouse events as well.
17311         Pass the new base-position to choose-completion-string.
17312         (choose-completion-guess-base-position): New function, extracted from
17313         choose-completion-delete-max-match.
17314         (choose-completion-delete-max-match): Use it.  Make obsolete.
17315         (choose-completion-string): Use the new base-position info.
17316         (completion-root-regexp): Delete.
17317         (completion-setup-function): Preserve completion-base-position.
17318         Eliminate obsolete base-size manipulation.
17319         * minibuffer.el (display-completion-list): Don't mess with base-size.
17320         (minibuffer-completion-help): Set completion-base-position instead.
17321         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17322         choose-completion.
17323         * textmodes/bibtex.el (bibtex-complete):
17324         * emacs-lisp/crm.el (crm--choose-completion-string):
17325         Adjust to new calling convention.
17326         * complete.el (partial-completion-mode): Use minibufferp to avoid
17327         bumping into incompatible change to choose-completion-string-functions.
17328         * ido.el (ido-choose-completion-string): Make its calling convention
17329         more permissive.
17330         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17331         base-size manipulation.
17332         (comint-dynamic-list-input-ring): Use dotimes and push.
17333         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17334         fundamental-mode.  Use `or'.
17336 2009-10-14  Juri Linkov  <juri@jurta.org>
17338         * misearch.el (multi-isearch-next-buffer-from-list)
17339         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17341 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17343         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17344         `bytecomp.el'.
17346         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17347         string we return is all made up of text from the completions rather
17348         than part from the completions and part from the input (bug#4219).
17350         * ido.el (ido-everywhere): Use define-minor-mode.
17352         * buff-menu.el (list-buffers, ctl-x-map):
17353         Mark the entry points with ;;;###autoload cookies.
17355 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17357         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17358         correctly in the detached head case.
17359         (vc-git-print-log): Remove unused binding.
17361         * vc.el (vc-responsible-backend): When a directory is passed for
17362         for registration create a VC repository if no backend is
17363         responsible for the directory argument.
17364         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17366         * vc.el: Move comments about RCS and SCCS ...
17367         * vc-rcs.el:
17368         * vc-sccs.el: ... here, respectively.
17370 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17372         * minibuffer.el (completion--file-name-table): Return nil if there's
17373         no file completion, even if substitute-in-file-name changed
17374         the string (bug#4708).
17376 2009-10-13  Juri Linkov  <juri@jurta.org>
17378         * files-x.el (read-file-local-variable-value): Don't filter out
17379         minor modes from mode name completion (bug#4664).
17381 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17383         * international/mule-cmds.el (ucs-names): Remove exclusion of
17384         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17386 2009-10-13  Kenichi Handa  <handa@m17n.org>
17388         * international/uni-name.el: Regenerated.
17390 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17392         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17393         should be automatically buffer-local, but isn't.)
17395 2009-10-12  Sam Steingold  <sds@gnu.org>
17397         * progmodes/compile.el (compilation-next-error-function): Fix the
17398         timestamps if the buffer has been visited before.
17399         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17400         non-anchored patterns, like the perl one (bug#3928).
17402 2009-10-12  Glenn Morris  <rgm@gnu.org>
17404         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17405         Let-bind `size'.
17407 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17409         * proced.el (proced-unload-function): New function.
17411         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17412         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17413         Doc fix.
17415         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17417 2009-10-11  Juri Linkov  <juri@jurta.org>
17419         * files-x.el (read-file-local-variable-value):
17420         Provide default value only for bound variables (bug#4664).
17422 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17424         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17425         connection methods like smb.
17427         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17428         can be empty.
17430         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17431         (tramp-smb-file-name-handler-alist): Add handlers for
17432         `add-name-to-file', `make-symbolic-link'.
17433         (tramp-smb-handle-add-name-to-file)
17434         (tramp-smb-do-file-attributes-with-stat)
17435         (tramp-smb-handle-make-symbolic-link)
17436         (tramp-smb-get-cifs-capabilities): New defuns.
17437         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17438         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17439         (tramp-smb-handle-file-local-copy)
17440         (tramp-smb-handle-make-directory-internal)
17441         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17442         The file name syntax depends on cifs capabilities.
17443         (tramp-smb-handle-file-attributes):
17444         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17445         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17446         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17448 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17450         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17451         (eieio-defclass): Apply deftype handler and setf-method properties
17452         directly.
17453         (eieio-add-new-slot): Avoid union function from cl library.
17454         (eieio--typep): New function.
17455         (eieio-perform-slot-validation): Use it.
17457 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17459         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17460         Update documentation to refer to the variables documented in r1.135.
17461         (Bug#4188)
17463 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17465         * bookmark.el (Info-suffix-list): Remove this unused variable.
17466         (bookmark-current-point): Remove this obsolete variable.
17467         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17468         Adjust for removal of bookmark-current-point.
17470         (bookmarks-already-loaded, bookmark-current-buffer)
17471         (bookmark-yank-point): Document.  (Bug#4188)
17473 2009-10-10  Glenn Morris  <rgm@gnu.org>
17475         * frame.el (frame-height): Doc fix.
17477         * calendar/calendar.el (calendar-split-width-threshold): New option.
17478         (calendar-basic-setup): Use calendar-split-width-threshold.
17480 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17482         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17483         Ideographic Supplement" range (U+1F200..U+1F2FF).
17485 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17487         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17488         since the list will have been rebuilt anyway.  (Bug#4349)
17490 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17492         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17493         (bookmark-bmenu-execute-deletions): Don't save here, as
17494         bookmark-delete will now do so if necessary.
17495         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17496         (Bug#4348)
17498 2009-10-09  Glenn Morris  <rgm@gnu.org>
17500         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17502 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17504         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17505         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17506         argument now, so the two function's behaviors will match.  (Bug#3645)
17508 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17510         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17511         (tramp-file-name-real-host, tramp-file-name-port):
17512         Apply `save-match-data'.
17514         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17515         case both directories are remote.
17516         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17517         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17519 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17521         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17523 2009-10-07  Glenn Morris  <rgm@gnu.org>
17525         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17526         of concat.
17528 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17530         * files-x.el (read-file-local-variable): Include some
17531         non-user-variables in the completion table (bug#4664).
17533 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17535         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17536         message.
17538         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17539         (tramp-smb-file-name-handler-alist): Add handler for
17540         `copy-directory', `expand-file-name', `set-file-modes'.
17541         (tramp-smb-handle-copy-directory)
17542         (tramp-smb-handle-expand-file-name)
17543         (tramp-smb-handle-set-file-modes): New defuns.
17544         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17545         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17546         entry.
17547         (tramp-smb-handle-insert-directory): Don't flush the cache.
17548         (tramp-smb-maybe-open-connection): Check for samba client and
17549         server versions.
17551 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17553         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17554         to not error out of search for "^lisp=" fails.
17556 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17558         * makefile.w32-in (WINS_UPDATES): New macro.
17559         (custom-deps, finder-data, autoloads): Use it.
17561 2009-10-07  Glenn Morris  <rgm@gnu.org>
17563         * Makefile.in (autoloads): Revert previous change.
17564         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17565         the list of preloaded files passed on the command-line, get
17566         it from src/Makefile.
17568         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17569         show the original buffer rather than a random one.
17571 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17573         * help.el (describe-no-warranty): Place point in a slightly better
17574         position in the GPLv3 text.
17576 2009-10-06  Sam Steingold  <sds@gnu.org>
17578         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17579         the comm attribute is present before calling regexp-quote.
17581 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17583         * play/animate.el (animate-string): For good effect, make sure
17584         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17586         * play/animate.el (animate-sequence, animate-birthday-present):
17587         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17589 2009-10-06  Glenn Morris  <rgm@gnu.org>
17591         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17593         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17594         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17595         (batch-update-autoloads): Process a string value of autoload-excludes,
17596         set during the build process.
17597         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17599         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17600         inside with-parsed...  macro so that `v' is defined.
17602         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17603         * progmodes/fortran.el (fortran-end-of-block)
17604         (fortran-beginning-of-block):
17605         Also push mark in the macro case.
17607         * emerge.el (emerge-show-file-name):
17608         * calc/calc.el (calc-quit):
17609         * calc/calc-misc.el (calc-big-or-small):
17610         * calc/calc-graph.el (calc-graph-view):
17611         * calc/calc-ext.el (calc-reset):
17612         * calendar/calendar.el (calendar-basic-setup):
17613         Use window-full-height-p.
17615         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17616         header we don't understand, don't insert another.  (Bug#4624)
17617         If changing mime charset, insert the new one in the right place.
17619 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17621         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17622         (cal-tex-cursor-month): Correctly increment the end date for diary and
17623         holiday listing.  (Bug#4626)
17625 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17627         * help-fns.el (describe-function-1): Don't burp if the function is not
17628         a symbol.
17630 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17632         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17633         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17634         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17635         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17637         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17638         (eieio-default-superclass): Reflow docstrings.
17639         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17640         (eieio-unbind-method-implementations, defmethod)
17641         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17642         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17643         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17644         (eieio-slot-originating-class-p, eieio-slot-name-index)
17645         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17646         (constructor, initialize-instance, no-next-method, object-print)
17647         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17648         Fix typos in docstrings.
17649         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17650         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17651         (next-method-p): Doc fixes.
17652         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17653         Fix typos in error messages.
17654         (eieio-defmethod): Fix typo in description of generic method.
17656         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17657         (eieio-persistent-save-interactive, slot-missing):
17658         Fix typos in docstrings.
17659         (eieio-instance-inheritor-slot-boundp): Doc fix.
17661         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17662         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17664         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17665         (eieio-custom-object-apply-reset):
17666         Fix typos in docstrings and error messages.
17668         * emacs-lisp/eieio-datadebug.el (data-debug-show):
17669         Fix typo in docstring.
17671         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17672         (eieio-browse-tree): Doc fix.
17673         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17674         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17675         Fix typos in docstrings.
17677         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17678         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17679         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17680         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17681         Reflow docstrings.
17683 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
17685         * vc-hg.el (log-view-vc-backend): Declare for compiler.
17686         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17687         Set log-view-vc-backend so that diff can work.
17689         * log-view.el (log-view-diff): Use vc-diff-internal instead of
17690         vc-version-diff.
17691         (vc-diff-internal): Autoload this instead of vc-version-diff.
17693 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
17695         * simple.el (eval-expression): Doc fix.
17697         * progmodes/cwarn.el (cwarn-mode): Doc fix.
17699 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
17701         * files.el (directory-files-no-dot-files-regexp): New defconst.
17702         (delete-directory): Use it.
17703         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
17705         * net/tramp.el (tramp-verbose): Fix docstring.
17706         (tramp-methods): Add recursive option to `tramp-copy-args'.
17707         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
17708         "scp1_old", "scp2_old", "rsync", "rsyncc".
17709         (tramp-default-method): Check also for `auth-source-user-or-password'.
17710         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17711         Add handler for `copy-directory'.
17712         (tramp-handle-copy-directory): New defun.
17713         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17714         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17715         Optimize sent command.
17717 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17719         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17720         window if necessary.
17722         * calendar/calendar.el (calendar-basic-setup): Don't call
17723         switch-to-buffer in a dedicated window.
17725 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
17727         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17728         don't do anything related to relocating, just return nil.
17729         (bookmark-error-no-filename): New error.
17730         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17731         bookmark has no file.  Don't even attempt to handle things that
17732         are not files; the whole point of custom handlers is to keep that
17733         knowledge elsewhere anyway.  Tighten some comments.
17734         (bookmark-file-or-variation-thereof): Remove now-unused function.
17735         (bookmark-location): Doc string fix.
17736         (Bug#4250)
17738 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17740         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17741         don't use a file dialog, because they usually don't know how to read
17742         a directory target from the user.  (Bug#4230)
17743         Also, make sure the prompt can display directories as well as files.
17745 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17747         * bookmark.el (bookmark-set, bookmark-buffer-name):
17748         Improve doc strings.  (Bug#1193)
17750 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17752         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17753         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17754         (bookmark-get-annotation, bookmark-set-annotation)
17755         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17756         (bookmark-set-position, bookmark-get-front-context-string)
17757         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17758         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17759         (bookmark-jump-other-window, bookmark-handle-bookmark)
17760         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17761         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17762         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17763         Improve doc strings to say whether bookmark can be a string or
17764         a record or both, and make other consistency and clarity fixes.
17765         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17766         (bookmark-default-annotation-text, bookmark-yank-word)
17767         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17768         (bookmark-import-new-list, bookmark-maybe-rename)
17769         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17770         (bookmark-bmenu-bookmark): Give these doc strings.
17771         (bookmark-bmenu-check-position): Give this a doc string, but also
17772         add a FIXME comment about how the function may be pointless.
17773         (bookmark-default-handler): Rework doc string and change a
17774         parameter name, to clarify that this takes a bookmark record
17775         not a bookmark name.
17776         (bookmark-set): Change a parameter name to indicate its meaning,
17777         and improve the doc string a bit.
17778         (Bug#4188)
17780 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17782         * bookmark.el (bookmark-alist): Document the new `handler' element
17783         in the param alist.
17784         (bookmark-make-record-function): Adjust documentation for above.
17785         (Bug#4193)
17787 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17789         * info.el (Info-bookmark-make-record): Document this function.
17790         (Info-bookmark-jump): Document with a doc string, not just a comment.
17791         (Bug#4203)
17793 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
17795         * files.el (copy-directory): New defun.
17797         * dired-aux.el (dired-copy-file-recursive): Use it.
17799 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
17801         * files-x.el (modify-dir-local-variable)
17802         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17803         docstrings.
17805         * recentf.el (recentf-unload-function): New function.
17807 2009-10-04  Glenn Morris  <rgm@gnu.org>
17809         * window.el (window-full-height-p): Add doc string.
17811 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
17813         * window.el (window-full-height-p): New function.  (Bug#4543)
17815 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
17817         * vc.el: Remove commented out code.
17818         (vc-derived-from-dir-mode): Remove, unused.
17819         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17821 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
17823         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17824         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
17825         there could be recursive loading when `default-directory' is a
17826         remote file name.  (Bug#4614)
17828 2009-10-03  Glenn Morris  <rgm@gnu.org>
17830         * calendar/calendar.el (calendar-basic-setup): Handle the case where
17831         the frame is wide.
17832         (calendar-generate-window): Test for shrinkability rather than width.
17834         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17835         reusing existing buffers, in case we happen to visit two files with the
17836         same basename.  (Bug#4593)
17838 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17840         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17841         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17842         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17843         subdirs of cedet as well.
17844         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17846 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17848         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17849         Obey advertised-signature-table.
17851         * help-fns.el (help-function-arglist): Don't check
17852         advertised-signature-table.
17853         (describe-function-1): Do it here instead so it also applies to subrs.
17855 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
17857         * simple.el (start-file-process): Say in the doc-string, that file
17858         handlers might not support pty association, if PROGRAM is nil.
17860         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17861         HOST and USER are strings.  They are nil, when there are
17862         incomplete entries in ~/.netrc, for example.
17863         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
17864         root directory ("device busy" error otherwise).
17866         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17867         Flush file properties of created directory.
17869 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17871         * makefile.w32-in (WINS_BASIC): Remove cedet.
17872         (WINS_CEDET): Add cedet.
17873         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17875 2009-10-02  Kevin Ryde  <user42@zip.com.au>
17877         * net/browse-url.el (browse-url): Pass any symbol in
17878         browse-url-browser-function to `apply', since if you've mistakenly put
17879         an unbound symbol then the error is clearer.  (Bug#4531)
17881 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17883         * allout.el (allout-init, allout-back-to-current-heading)
17884         (allout-beginning-of-current-entry, allout-ascend-to-depth)
17885         (allout-ascend, allout-up-current-level, allout-end-of-level)
17886         (allout-previous-visible-heading, allout-forward-current-level)
17887         (allout-backward-current-level, allout-show-children):
17888         * apropos.el (apropos-describe-plist):
17889         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17890         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17891         * completion.el (add-completion, add-permanent-completion):
17892         * descr-text.el (describe-text-category, describe-char):
17893         * desktop.el (desktop-lazy-abort):
17894         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17895         * dired.el (dired-build-subdir-alist):
17896         * ediff.el (ediff-version):
17897         * elide-head.el (elide-head, elide-head-show):
17898         * emerge.el (emerge-version):
17899         * env.el (getenv):
17900         * face-remap.el (variable-pitch-mode):
17901         * faces.el (describe-face):
17902         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17903         (dired-at-point):
17904         * files.el (find-file-existing, auto-save-mode):
17905         * font-lock.el (font-lock-fontify-buffer):
17906         * help-fns.el (describe-function, describe-variable)
17907         (describe-syntax, describe-categories):
17908         * help.el (view-lossage, describe-bindings, describe-key)
17909         (describe-mode):
17910         * hexl.el (hexl-current-address):
17911         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17912         * info.el (Info-goto-emacs-key-command-node):
17913         * log-edit.el (log-edit-insert-cvs-template)
17914         (log-edit-insert-cvs-rcstemplate):
17915         * menu-bar.el (menu-bar-mode):
17916         * mouse.el (mouse-appearance-menu):
17917         * newcomment.el (comment-indent-new-line):
17918         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17919         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17920         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17921         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17922         * recentf.el (recentf-mode):
17923         * savehist.el (savehist-mode, savehist-save):
17924         * shadowfile.el (shadow-copy-files):
17925         * simple.el (kill-ring-save, next-line, previous-line)
17926         (normal-erase-is-backspace-mode):
17927         * strokes.el (strokes-update-window-configuration)
17928         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17929         (strokes-xpm-for-stroke):
17930         * time.el (emacs-uptime, emacs-init-time):
17931         * tutorial.el (tutorial--describe-nonstandard-key)
17932         (tutorial--detailed-help):
17933         * type-break.el (type-break-mode)
17934         (type-break-mode-line-message-mode, type-break-query-mode)
17935         (type-break-guesstimate-keystroke-threshold):
17936         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17937         * version.el (emacs-version):
17938         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17939         * winner.el (winner-mode):
17940         * calendar/timeclock.el (timeclock-in, timeclock-out)
17941         (timeclock-status-string, timeclock-change)
17942         (timeclock-workday-remaining-string)
17943         (timeclock-workday-elapsed-string)
17944         (timeclock-when-to-leave-string):
17945         * calendar/todo-mode.el (todo-add-category):
17946         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17947         * emacs-lisp/autoload.el (update-file-autoloads):
17948         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17949         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17950         (checkdoc-message-text, checkdoc-defun):
17951         * emacs-lisp/debug.el (debugger-list-functions):
17952         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17953         * emacs-lisp/eieio-opt.el (eieio-describe-class)
17954         (eieio-describe-generic):
17955         * emacs-lisp/lisp-mnt.el (lm-synopsis):
17956         * emacs-lisp/shadow.el (list-load-path-shadows):
17957         * emulation/cua-base.el (cua-mode):
17958         * emulation/edt.el (edt-set-scroll-margins):
17959         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17960         (tpu-toggle-regexp, tpu-toggle-search-direction)
17961         (tpu-toggle-rectangle, tpu-toggle-control-keys):
17962         * emulation/tpu-extras.el (tpu-set-scroll-margins):
17963         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17964         (viper-set-parsing-style-toggling-macro)
17965         (viper-set-emacs-state-searchstyle-macros):
17966         * emulation/viper.el (viper-set-hooks):
17967         * eshell/esh-mode.el (eshell-truncate-buffer):
17968         * international/mule-cmds.el (prefer-coding-system)
17969         (describe-input-method, describe-language-environment):
17970         * international/mule-diag.el (list-character-sets)
17971         (describe-character-set, describe-coding-system)
17972         (describe-fontset, list-fontsets, list-input-methods):
17973         * mail/sendmail.el (mail-signature):
17974         * net/ange-ftp.el (ange-ftp-copy-file):
17975         * net/browse-url.el (browse-url):
17976         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17977         * net/quickurl.el (quickurl-add-url):
17978         * net/rcirc.el (names, topic):
17979         * net/xesam.el (xesam-mode):
17980         * play/5x5.el (5x5-new-game):
17981         * play/yow.el (apropos-zippy):
17982         * progmodes/ada-mode.el (ada-mode-version):
17983         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17984         (f90-end-of-block)
17985         (f90-beginning-of-block):
17986         * progmodes/fortran.el (fortran-end-of-block)
17987         (fortran-beginning-of-block):
17988         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17989         * progmodes/python.el (python-describe-symbol, python-shell):
17990         * term/ns-win.el (ns-print-buffer):
17991         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17992         * textmodes/flyspell.el (flyspell-mode-on):
17993         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17994         (pages-directory-for-addresses):
17995         * textmodes/table.el (table-recognize-cell)
17996         (table-query-dimension, table-generate-source)
17997         (table-insert-sequence, table--warn-incompatibility):
17998         * textmodes/tex-mode.el (tex-validate-buffer):
17999         * textmodes/texinfmt.el (texinfmt-version)
18000         (texinfo-format-buffer):
18001         Use `called-interactively-p' instead of `interactive-p'.
18003 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
18005         * image-mode.el (image-toggle-display):
18006         * emacs-lisp/elp.el (elp-instrument-function):
18007         * emacs-lisp/advice.el (ad-make-advised-definition):
18008         * emacs-lisp/easy-mmode.el (define-minor-mode):
18009         * net/browse-url.el (browse-url-maybe-new-window):
18010         * progmodes/sh-script.el (sh-learn-buffer-indent):
18011         Pass new argument 'any to `called-interactively-p'.
18013 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18015         * international/uni-bidi.el:
18016         * international/uni-category.el:
18017         * international/uni-combining.el:
18018         * international/uni-comment.el:
18019         * international/uni-decimal.el:
18020         * international/uni-decomposition.el:
18021         * international/uni-digit.el:
18022         * international/uni-lowercase.el:
18023         * international/uni-mirrored.el:
18024         * international/uni-name.el:
18025         * international/uni-numeric.el:
18026         * international/uni-old-name.el:
18027         * international/uni-titlecase.el:
18028         * international/uni-uppercase.el:
18029         Regenerate from Unicode 5.2.0 data.
18031 2009-10-01  Glenn Morris  <rgm@gnu.org>
18033         * Makefile.in (ELCFILES): Regenerate.
18035 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18037         * subr.el (interactive-p): Mark obsolete.
18038         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18039         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18040         advertised-signature-table for subroutines as well.
18042         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18043         (set-advertised-calling-convention): New function.
18044         (make-obsolete, define-obsolete-function-alias)
18045         (make-obsolete-variable, define-obsolete-variable-alias):
18046         Make the optional-ness of `when' obsolete.
18047         (define-obsolete-face-alias): Make `when' non-optional.
18048         * help-fns.el (help-function-arglist):
18049         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18050         Use advertised-signature-table.
18052 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18054         * files.el (delete-directory): New defun.  The original function
18055         in fileio.c has been renamed to `delete-directory-internal'.
18057         * dired.el (dired-delete-file): Call `delete-directory' with
18058         RECURSIVE parameter.
18060         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18061         parameter RECURSIVE.  Implementation is missing.
18063         * net/tramp.el (tramp-handle-make-directory): Flush upper
18064         directory's file properties.
18065         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18066         (tramp-handle-dired-recursive-delete-directory): Flush directory
18067         properties after the remove command only.
18069         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18070         Handle optional parameter RECURSIVE.
18072         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18073         Handle optional parameter RECURSIVE.
18075         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18076         connection timeout.
18077         (tramp-smb-handle-delete-directory): Handle optional parameter
18078         RECURSIVE.
18080 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18082         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18083         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18084         (byte-compile-defmacro): Use backquotes.
18086         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18088         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18089         has no associated file.
18090         (vc-resynch-buffer): Use vc-dir-buffers.
18092 2009-10-01  Glenn Morris  <rgm@gnu.org>
18094         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18095         (chart-file-count):
18096         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18097         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18098         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18099         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18100         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18101         (eieio-copy-parents-into-subclass, make-instance, class-children)
18102         (eieio-generic-form):
18104         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18105         match-data.  (Bug#4555).
18107         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18108         rather than parsing it as a regexp.  This relaxes the layout
18109         requirements and makes errors easier to detect.
18110         (check-declare-verify): Check file is regular.
18111         (check-declare-directory): Doc fix.
18112         * subr.el (declare-function): Doc fix.
18114         * ibuffer.el (ibuffer-format-qualifier):
18115         * isearch.el (hi-lock-regexp-okay):
18116         * calc/calc.el (math-zerop):
18117         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18118         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18119         Remove unused declarations.
18121 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18123         * emacs-lisp/eieio.el (boolean-p): Delete.
18125 2009-09-30  Glenn Morris  <rgm@gnu.org>
18127         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18129         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18130         filename is not a string.
18132 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18134         * files.el (safe-local-eval-forms): Fix typo.
18136 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18138         * vc-hooks.el (vc-dir-buffers): New var.
18139         (vc-state-refresh): New function.
18140         (vc-state): Use it.
18141         (vc-after-save): Always ask the backend to recompute the new state.
18142         Always call vc-dir if necessary, using vc-dir-buffers.
18143         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18144         Use vc-dir-buffers.
18145         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18146         (vc-dir-prepare-status-buffer, vc-dir-update)
18147         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18148         Don't call expand-file-name on default-directory.
18150 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18152         * speedbar.el (speedbar-item-delete):
18153         * calc/calc-prog.el (calc-kbd-if):
18154         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18156         * epa.el (epa-key-list-mode-map):
18157         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18159         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18160         (hs-show-hook): Fix typo in docstring.
18162 2009-09-29  Glenn Morris  <rgm@gnu.org>
18164         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18165         file-name-nondirectory call preventing location of cedet files.
18166         (check-declare-verify): Use literal search rather than re-search.
18167         Add basic defmethod and defclass, and define-overloadable-function.
18169         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18170         Use tramp-compat-file-attributes rather than nonexistent
18171         tramp-compat-handle-file-attributes.
18173         * Makefile.in (lisptagsfiles4): New.
18174         (AUTOGENEL): Add cedet loaddefs files.
18175         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18176         (update-elclist, compile-always, backup-compiled-files)
18177         (bootstrap-clean): Add yet another directory level.
18178         (update-elclist): Use LC_COLLATE rather than COLLATE.
18179         (ELCFILES): Update, via `make update-elclist'.
18181 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18183         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18184         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18185         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18187 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18189         * Makefile.in (lisptagsfiles3): Define.
18190         (TAGS, TAGS-LISP): Use it.
18191         (update-elclist): Add third directory level to look for elc files.
18192         (compile-always): Likewise.
18193         (backup-compiled-files): Likewise.
18194         (bootstrap-clean): Likewise.
18195         (ELCFILES): Update.
18197 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18199         * Makefile.in (ELCFILES): Add CEDET files.
18201 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18203         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18205         * net/tramp.el (top): Require tramp-imap.
18207         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18208         Use `tramp-compat-handle-file-attributes'.
18210 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18212         * net/tramp-imap.el: New package.
18214 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18216         * emacs-lisp/chart.el:
18217         * emacs-lisp/eieio-base.el:
18218         * emacs-lisp/eieio-comp.el:
18219         * emacs-lisp/eieio-custom.el:
18220         * emacs-lisp/eieio-datadebug.el:
18221         * emacs-lisp/eieio-opt.el:
18222         * emacs-lisp/eieio-speedbar.el:
18223         * emacs-lisp/eieio.el: New files.
18225 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18227         * whitespace.el (whitespace-trailing-regexp)
18228         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18229         Fix doc string.
18231 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18233         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18234         menu.
18236         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18237         menu-bar-ediff-menu.
18239         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18240         define-overloadable-function.
18242         * progmodes/autoconf.el: Provide autoconf as well, so that this
18243         file can be `require'd.
18245         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18247         * emacs-lisp/autoload.el (generated-autoload-feature)
18248         (generated-autoload-load-name): New vars.
18249         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18250         (make-autoload): Recognize define-overloadable-function and
18251         defclass forms (for EIEIO).
18253         * Makefile.in (update-subdirs): Exclude cedet directory.
18255 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18257         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18259         * faces.el: Default light-background background for region face to
18260         ns_selection_color under NS.
18262 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18264         * net/imap-hash.el: New library, see NEWS.
18266         * Makefile.in (ELCFILES): Add imap-hash.el.
18268 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18270         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18271         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18272         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18273         definition where the docstring could be taken for the return value.
18275 2009-09-26  Glenn Morris  <rgm@gnu.org>
18277         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18278         Add option to only show images below a certain size.
18279         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18280         save-excursion calls.
18282 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18284         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18285         subdirectories) and eieio.
18287 2009-09-26  Alan Mackenzie  <acm@muc.de>
18289         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18290         Correct buggy bracketing.  (Bug#4289)
18292         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18293         character constants (as case labels).  (Bug#4289)
18295 2009-09-25  Juri Linkov  <juri@jurta.org>
18297         * files.el (safe-local-eval-forms): Allow time-stamp in
18298         before-save-hook (Bug#4554).
18300 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18302         * menu-bar.el (list-buffers-directory): Doc fix.
18304 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18306         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18307         Try and avoid copying twice the same paragraph.
18308         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18309         Remove save-excursion.
18310         (log-edit-changelog-entry): Do it here instead.
18312 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18314         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18315         when available, instead of hardcoding mode names.  Doc fix.
18317         * menu-bar.el (list-buffers-directory): Add docstring.
18318         Make automatically buffer-local.
18320         * dired.el (dired-mode):
18321         * files.el (cd-absolute):
18322         * pcvs.el (cvs-temp-buffer):
18323         * pcvs-util.el (cvs-get-buffer-create):
18324         * shell.el (shell-mode):
18325         * vc-dir.el (vc-dir-mode):
18326         Don't make `list-buffers-directory' buffer local.
18328 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18330         * comint.el (comint-exec, comint-run, make-comint):
18331         Doc fixes (Bug#4542).
18333 2009-09-25  Glenn Morris  <rgm@gnu.org>
18335         * mail/rmailmm.el (rmail-mime): New custom group.
18336         Move all defcustoms in this file into this group.
18337         (rmail-mime-media-type-handlers-alist): Revert previous change.
18338         (rmail-mime-show-images): New option.
18339         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18340         references to it, since it wasn't actually used for anything.
18341         (rmail-mime-insert-image): New function.
18342         (rmail-mime-image): Use rmail-mime-insert-image.
18343         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18344         obey the value of `rmail-mime-show-images' option.  Print the size of
18345         attachments.
18347 2009-09-25  David Engster  <deng@randomsample.de>
18349         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18351 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18353         * whitespace.el: Does not highlight trailing spaces While point is
18354         at end of line.  Does not highligt spaces at beginning of buffer
18355         while point is at beginning of buffer.  Does not highlight spaces
18356         at end of buffer while point is at end of buffer.  (Bug#4177)
18357         New version 12.0.
18358         (whitespace-display-mappings): Adjust initialization.
18359         (whitespace-point, whitespace-font-lock-refontify): New vars.
18360         (whitespace-color-on, whitespace-color-off): Adjust code.
18361         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18362         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18363         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18365 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18367         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18369         * textmodes/sgml-mode.el: Remove xml-mode alias.
18371         * files.el (auto-mode-alist, conf-mode-maybe)
18372         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18374 2009-09-24  Alan Mackenzie  <acm@muc.de>
18376         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18377         c-forward-conditionals, but it doesn't move point and doesn't set
18378         the mark.
18379         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18380         (c-down-conditional-with-else, c-backward-conditional)
18381         (c-forward-conditional): Refactor to use c-scan-conditionals.
18383 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18385         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18386         (help-default-arg-highlight): Remove.
18387         (help-highlight-arg): New function.
18388         (help-do-arg-highlight): Use it.
18389         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18391 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18393         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18394         Undo last change, which didn't fix the problem and introduced others.
18396 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18398         * progmodes/gdb-mi.el: Don't require speedbar.
18399         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18401 2009-09-24  Glenn Morris  <rgm@gnu.org>
18403         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18405         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18407         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18408         there is no newline after the final mime boundary.  (Bug#4539)
18409         Move markers on insertion so that any buttons inserted don't end up in
18410         the next part of a multipart message.
18411         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18412         (rmail-mime-bulk-handler): Optionally handle images.
18413         (rmail-mime-image): New button action.
18414         (rmail-mime-image-handler): New function.
18415         (rmail-mime-mode): New mode.
18416         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18418 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18420         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18421         than just dropping elements from it (bug#4504).
18423         * term.el (term-set-scroll-region): Don't move cursor any more.
18424         (term-handle-ansi-escape): Call term-goto here instead.
18425         Suggested by Ivan Kanis <apple@kanis.eu>.
18427         * term.el: Require CL.
18428         (term-ansi-reset): New function.
18429         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18430         (term-handle-colors-array): Simplify.
18432 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18434         * allout.el (allout-overlay-interior-modification-handler)
18435         (allout-obtain-passphrase):
18436         * epa-file.el (epa-file-write-region):
18437         * ps-print.el (ps-begin-job):
18438         * vc-hooks.el (vc-toggle-read-only):
18439         * vc-rcs.el (vc-rcs-rollback):
18440         * vc-sccs.el (vc-sccs-rollback):
18441         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18442         (vc-version-diff, vc-revert, vc-rollback):
18443         * wdired.el (wdired-check-kill-buffer):
18444         * emacs-lisp/authors.el (authors):
18445         * net/socks.el (socks-open-connection):
18446         * net/zeroconf.el (zeroconf-service-add-hook):
18447         * obsolete/vc-mcvs.el (vc-mcvs-register):
18448         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18449         (gdb-select-frame):
18450         * progmodes/grep.el (lgrep, rgrep):
18451         * progmodes/idlw-help.el (idlwave-help-check-locations)
18452         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18453         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18454         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18455         (reftex-toc-rename-label): Fix typos in error messages.
18457         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18458         (dired-copy-how-to-fn): Doc fix.
18459         (dired-files-attributes, dired-read-shell-command):
18460         Fix typos in docstrings.
18462         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18463         (dired-x-find-file-other-window): Reflow docstrings.
18464         (dired-omit-marker-char, dired-read-shell-command)
18465         (dired-x-submit-report): Fix typos in docstrings.
18467         * shell.el (shell-mode-hook):
18468         * view.el (View-scroll-line-forward):
18469         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18470         Fix typos in docstrings.
18472         * net/dig.el (dig-invoke): Fix typo in docstring.
18473         (query-dig): Reflow docstring.
18475         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18476         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18477         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18478         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18479         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18480         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18481         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18482         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18483         (idlwave-completion-map, idlwave-current-indent)
18484         (idlwave-custom-ampersand-surround, idlwave-customize)
18485         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18486         (idlwave-define-abbrev, idlwave-determine-class-special)
18487         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18488         (idlwave-end-block-reg, idlwave-end-of-statement)
18489         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18490         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18491         (idlwave-explicit-class-listed, idlwave-file-header)
18492         (idlwave-fill-paragraph, idlwave-find-class-definition)
18493         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18494         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18495         (idlwave-in-quote, idlwave-indent-action-table)
18496         (idlwave-indent-expand-table, idlwave-indent-line)
18497         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18498         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18499         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18500         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18501         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18502         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18503         (idlwave-outlawed-buffers, idlwave-popup-select)
18504         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18505         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18506         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18507         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18508         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18509         (idlwave-statement-type, idlwave-struct-skip)
18510         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18511         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18512         (idlwave-what-module-find-class): Fix typos in docstrings.
18513         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18514         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18515         (idlwave-find-module, idlwave-find-structure-definition)
18516         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18517         (idlwave-list-load-path-shadows, idlwave-next-statement)
18518         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18519         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18520         (idlwave-template): Reflow docstrings.
18522         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18523         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18524         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18525         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18526         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18527         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18528         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18529         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18530         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18531         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18532         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18533         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18534         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18535         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18536         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18537         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18538         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18539         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18540         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18541         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18542         Fix typos in docstrings.
18543         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18544         (idlwave-shell-hide-output, idlwave-shell-mode)
18545         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18546         Reflow docstrings.
18548         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18550 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18552         * term.el (term-bold-attribute): New var.
18553         (term-handle-colors-array): Use it.
18555 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18557         * progmodes/gdb-mi.el (gdb-version): New variable.
18558         (gdb-non-stop-handler): Set gdb-version.
18559         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18560         Condition "--thread" option on gdb-version.
18561         (gdb-invalidate-threads): Remove unused argument.
18563 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18565         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18566         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18568 2009-09-23  Glenn Morris  <rgm@gnu.org>
18570         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18571         replying to mail without References or Message-Id.  (Bug#4525)
18573 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18575         * term/ns-win.el (ns-reg-to-script): New variable.
18577 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18579         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18581 2009-09-22  Sam Steingold  <sds@gnu.org>
18583         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18584         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18585         to 1 because hg returns status 1 when nothing is found.
18586         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18588 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18590         * textmodes/fill.el: Convert to utf-8 encoding.
18591         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18592         pre-Unicode days.
18594         * add-log.el (change-log-fill-forward-paragraph): New function.
18595         (change-log-mode): Use it so fill-region DTRT.
18596         Set fill-indent-according-to-mode here rather than in
18597         change-log-fill-paragraph.
18598         (change-log-fill-paragraph): Remove.
18600 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18602         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18603         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18605 2009-09-22  Glenn Morris  <rgm@gnu.org>
18607         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18608         the scroll-bar scroll the calendar window rather than the buffer.
18610         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18611         commands that move point (as opposed to scrolling).
18613         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18615         * emacs-lisp/elint.el (elint): New custom group.
18616         (elint-log-buffer): Make it a defcustom.
18617         (elint-scan-preloaded, elint-ignored-warnings)
18618         (elint-directory-skip-re): New options.
18619         (elint-builtin-variables): Doc fix.
18620         (elint-preloaded-env): New variable.
18621         (elint-unknown-builtin-args): Add an entry for encode-time.
18622         (elint-extra-errors): Make it a variable rather than a constant.
18623         (elint-preloaded-skip-re): New constant.
18624         (elint-directory): Skip files matching elint-directory-skip-re.
18625         (elint-features): New variable, local to linted buffers.
18626         (elint-update-env): Initialize elint-features.  Possibly add
18627         elint-preloaded-env to the buffer's environment.
18628         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18629         Skip quoted forms.
18630         (elint-init-form): New function, extracted from elint-init-env.
18631         Make non-list forms a warning rather than an error.
18632         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18633         easy-menu-define, put that adds an error-condition, and provide.
18634         When requiring cl, also require cl-macs.  Really require cl, to handle
18635         some cl macros.  Store required libraries in the list elint-features,
18636         so as not to re-load them.  Treat cc-require like require.
18637         (elint-init-env): Call elint-init-form to do the work.
18638         Handle eval-and-compile and such like.
18639         (elint-add-required-env): Do not clear messages.
18640         (elint-special-forms): Add handlers for function, defalias, if, when,
18641         unless, and, or.
18642         (elint-form): Add optional argument to ignore elint-special-forms,
18643         useful to prevent recursive calls from handlers.  Doc fix.
18644         Respect elint-ignored-warnings.
18645         (elint-form): Respect elint-ignored-warnings.
18646         (elint-bound-variable, elint-bound-function): New variables.
18647         (elint-unbound-variable): Respect elint-bound-variable.
18648         (elint-get-args): Respect elint-bound-function.
18649         (elint-check-cond-form): Add some simple handling for (f)boundp and
18650         featurep tests.
18651         (elint-check-defalias-form): New handler.
18652         (elint-check-let-form): Make an empty let a warning rather than an
18653         error.
18654         (elint-check-setq-form): Make an empty setq a warning rather than an
18655         error.  Respect elint-ignored-warnings.
18656         (elint-check-defvar-form): Accept null doc-strings.
18657         (elint-check-conditional-form): New handler.  Does some simple-minded
18658         checking of featurep and (f)boundp tests.
18659         (elint-put-function-args): New function.
18660         (elint-initialize): Use elint-scan-doc-file rather than
18661         elint-find-builtin-variables.  Use elint-put-function-args.
18662         Possibly scan preloaded-file-list.
18663         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18664         extend to handle functions as well.
18666 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
18668         * linum.el (linum-delete-overlays, linum-update-window):
18669         Do not modify the right margin.  (Bug#3971)
18671 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
18673         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18674         Use nxml-mode instead of xml-mode.
18676 2009-09-21  Kevin Ryde  <user42@zip.com.au>
18678         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
18680 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18682         * net/dig.el (dig-mode): Use define-derived-mode.
18684 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
18686         * vc-dispatcher.el (vc-do-command): Return the process object in
18687         the asynchronous case.  Use when instead of if.  Do not run
18688         vc-exec-after to display a message if not enabled.  (Bug#4463)
18690         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18691         properties to the stash strings.
18692         (vc-git-stash-list): Return a list of strings.
18693         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18694         (vc-git-stash-show-at-point): New functions.
18695         (vc-git-stash-map): New keymap.
18697         * register.el (ctl-x-r-map): Define the keys here instead of
18698         using autoload.
18700 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
18702         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18703         list, to workaround performance problem (bug#4485).
18705 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
18707         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18709 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
18711         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18712         Document that this option is not recommended to use.
18714 2009-09-19  Glenn Morris  <rgm@gnu.org>
18716         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18717         variable `var'.
18719         * calc/calc-alg.el (var):
18720         * calc/calcalg2.el (var): Define for compiler.
18722 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
18724         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18725         Doc fix (Bug#3932).
18727         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18729         * time-stamp.el (time-stamp-month-dd-yyyy)
18730         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18731         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18732         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18733         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18734         Remove functions that have been obsolete since 1995 (Bug#4436).
18736         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18737         indent buffer only if called interactively (Bug#4452).
18739 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
18740             Eli Zaretskii  <eliz@gnu.org>
18742         This fixes bug#4197 (merged to bug#865, though not identical).
18743         * server.el (server-auth-dir): Add docstring note about FAT32.
18744         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18745         but warn against using them.
18747 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
18749         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18750         older GDB where there is no has_more field.
18752 2009-09-19  Glenn Morris  <rgm@gnu.org>
18754         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18756 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
18758         * files.el (auto-mode-alist): Change default for XML files to nXML
18759         mode (Bug#4169).
18761 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
18763         * server.el (server-ensure-safe-dir): Pass 'integer
18764         to `file-attributes', as suggested.
18766 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18768         * dired-aux.el (dired-query-alist): Remove spurious backslash.
18769         (dired-query): Use read-key.
18771 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
18773         * cus-start.el (ns-use-qd-smoothing): Remove.
18775 2009-09-18  Glenn Morris  <rgm@gnu.org>
18777         * allout.el (top-level): Remove unnecessary progn.
18779         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18781         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18782         definition of abbrev table.
18784         * speedbar.el (speedbar-track-mouse):
18785         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18786         * net/eudc.el (eudc-expand-inline):
18787         * net/newst-backend.el (newsticker--cache-read-feed):
18788         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18789         condition-case handlers.
18791 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
18793         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18794         (gdb-var-list): Add an element for has_more field.
18795         (gdb-non-stop-handler): Enable pretty printing for STL containers.
18796         (gdb-var-create-handler, gdb-var-list-children-handler-1)
18797         (gdb-var-update-handler-1): Parse output of dynamic variable
18798         objects (STL containers).
18799         (gdb-var-delete-1): Pass var1 as an explicit second argument.
18800         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
18802         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18803         gdb-var-list.
18804         (gud-speedbar-buttons): Make node expandable if expression "has more"
18805         children.
18807 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
18809         * startup.el (emacs-quick-startup): Remove variable and all uses.
18810         (command-line): Set `inhibit-x-resources' instead.
18811         (command-line-1): Use `inhibit-x-resources' instead.
18813 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
18815         * subr.el: Fix last change to avoid using the `unless' macro,
18816         which breaks bootstrapping.
18818 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18820         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18821         extended definitions, in case we reload subr.el after having
18822         loaded CL.
18823         (eval-next-after-load): Mark as obsolete.
18825 2009-09-17  Juri Linkov  <juri@jurta.org>
18827         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18828         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18829         (menu-bar-showhide-menu, menu-bar-tools-menu)
18830         (menu-bar-describe-menu, menu-bar-help-menu)
18831         (minibuffer-local-completion-map, minibuffer-local-map):
18832         Fix list quoting.
18834 2009-09-17  Glenn Morris  <rgm@gnu.org>
18836         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18837         arguments, whether or not it has a handler.
18839         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18841         * simple.el (hard-newline): Give it a doc-string.
18843         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18844         (lisp-mode-syntax-table): Give them doc-strings.
18846 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
18848         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18849         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18850         (menu-bar-options-menu, menu-bar-showhide-menu)
18851         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18852         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18853         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18854         (menu-bar-options-menu, menu-bar-tools-menu)
18855         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18856         (menu-bar-help-menu):
18857         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18858         string arguments.
18860         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18861         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18862         calls for the menu names and :help.
18864 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18866         * mouse.el (minor-mode-menu-from-indicator): Pay attention
18867         to :minor-mode-function (bug#4455).
18869 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18871         * startup.el (command-line): Initialize the window-system after
18872         processing the command-line.
18874         * textmodes/page.el (what-page): Make sure we don't inf-loop if
18875         page-delimiter matches the empty string.
18877 2009-09-16  Glenn Morris  <rgm@gnu.org>
18879         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18880         byte-compile-not-obsolete-var.  It's a list now.
18881         (byte-compile-not-obsolete-funcs): New variable.
18882         (byte-compile-warn-obsolete): Don't warn about functions if they are in
18883         byte-compile-not-obsolete-funcs.
18884         (byte-compile-variable-ref, byte-compile-defvar): Update for
18885         byte-compile-not-obsolete-vars name-change and list nature.
18886         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18887         and variables behind (f)boundp tests.
18888         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18890 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18892         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18894 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18896         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18897         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18898         Don't autoload.
18900 2009-09-15  Stephen Eglen  <stephen@gnu.org>
18902         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18903         the virtual-buffers, use the name of the buffer specified by
18904         find-file-noselect, as the match may be a symlink.  (This was a
18905         problem if the target and the symlink had different names.)
18907 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18909         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18911         * desktop.el (desktop-path): Check user-emacs-directory.
18913         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18915         * loadup.el: Use after-load-functions to GC after loading each file.
18916         Remove the explicit GC calls that used to be sprinkled around.
18918         * subr.el (after-load-functions): New hook.
18919         (do-after-load-evaluation): Run it.  Use string-match-p to detect
18920         `obsolete' packages, rather than painfully extracting the relevant
18921         directory name.
18923 2009-09-15  Glenn Morris  <rgm@gnu.org>
18925         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18926         free variable `doc'.
18928         * dired.el (dired-mode-map): Add menu entry for async shell command.
18930         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18931         variables, also consider the .elc files, since the .el files are
18932         normally gzipped (subsequent code locates the .el.gz from the .elc).
18934         * calc/calc-prog.el (arglist): Define for compiler.
18936         * calendar/diary-lib.el (diary-display-function): Change the default to
18937         fancy display.
18938         (body): Define for compiler.
18940         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18941         (byte-compile-file-form, byte-compile-lambda)
18942         (byte-compile-top-level-body, byte-compile-form)
18943         (byte-compile-variable-ref, byte-compile-setq)
18944         (byte-compile-setq-default, byte-compile-body)
18945         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18946         (batch-byte-compile): Give some more local variables with common names
18947         a "bytecomp-" prefix to avoid masking warnings about free variables.
18949         * startup.el (command-line-1): Give local variables with common names a
18950         distinguishing prefix, so as not to hide free variable warnings during
18951         bootstrap.
18953         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18954         clever and add a suffix to make a unique name, just let the user decide
18955         whether or not to overwrite it.  If the input is a directory, write the
18956         default filename to that directory.  (Bug#4388)
18957         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18958         is a filename-as-a-directory.
18960 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18962         * textmodes/page.el (what-page): Don't move to beginning of line.
18963         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18965 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18967         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18969 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
18971         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18972         * help.el (help-for-help-internal): Add purecopy calls for text.
18974         * vc.el (top): print-log method now takes an optional SHORTLOG
18975         argument.  Add a new method: root.
18976         (vc-root-diff, vc-print-root-log): New functions.
18977         (vc-log-short-style): New variable.
18978         (vc-print-log-internal): Add support for showing short logs.
18980         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18981         vc-print-root-log and vc-print-root-diff.
18983         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18984         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18985         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18986         short logs.
18988         * vc-cvs.el (vc-cvs-print-log):
18989         * vc-mtn.el (vc-mtn-print-log):
18990         * vc-rcs.el (vc-rcs-print-log):
18991         * vc-sccs.el (vc-sccs-print-log):
18992         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18993         that is ignored for now.
18995         * vc-mtn.el (vc-mtn-annotate-command):
18996         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18998 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19000         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19001         to function-key-map, and give them ascii-character property.
19002         * term/x-win.el (x-alternatives-map):
19003         * term/ns-win.el (ns-alternatives-map):
19004         * term/internal.el (msdos-key-remapping-map):
19005         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19007 2009-09-14  Glenn Morris  <rgm@gnu.org>
19009         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19010         temp-buffers (2009-09-12).
19012 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19014         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19015         the new read-key function.
19017 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19019         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19020         is defined (Bug#4405).
19022 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19024         * recentf.el (recentf-cleanup): Use a hash table to find
19025         duplicates (Bug#4407).
19027 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19029         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19030         kp-0 to ascii equivalents (Bug#4325).
19032 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19034         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19036         * eshell/em-hist.el:
19037         * eshell/em-dirs.el (eshell-complete-user-reference):
19038         Declare pcomplete functions and variables to avoid compiler warnings.
19040 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19042         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19043         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19044         * eshell/em-alias.el (eshell-aliases-file):
19045         * eshell/em-hist.el (eshell-history-file-name):
19046         Use expand-file-name instead of concat to make file names (Bug#4308).
19048 2009-09-13  Glenn Morris  <rgm@gnu.org>
19050         * ediff-merg.el (ediff-do-merge):
19051         * filesets.el (filesets-run-cmd):
19052         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19053         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19054         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19055         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19056         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19057         Replace empty `let's with `progn'.
19059 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19061         * mail/sendmail.el (send-mail-function):
19062         * tooltip.el (tooltip-mode):
19063         * simple.el (transient-mark-mode):
19064         * rfn-eshadow.el (file-name-shadow-mode):
19065         * frame.el (blink-cursor-mode):
19066         * font-core.el (global-font-lock-mode):
19067         * files.el (temporary-file-directory)
19068         (small-temporary-file-directory, auto-save-file-name-transforms):
19069         * epa-hook.el (auto-encryption-mode):
19070         * composite.el (global-auto-composition-mode):
19071         Use custom-initialize-delay.
19072         * startup.el (command-line): Don't explicitly call
19073         custom-reevaluate-setting for all the above vars.
19074         * custom.el (custom-initialize-safe-set)
19075         (custom-initialize-safe-default): Delete.
19077 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19079         * term/x-win.el (x-initialize-window-system):
19080         * term/w32-win.el (w32-initialize-window-system):
19081         * term/ns-win.el (ns-initialize-window-system): Don't call
19082         mouse-wheel-mode since it's enabled globally by default already.
19084         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19085         actually define the variable, but only silences the byte-compiler.
19086         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19087         before looking it up.
19088         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19089         is changed.
19091 2009-09-12  Glenn Morris  <rgm@gnu.org>
19093         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19094         1000.
19095         (elint-add-required-env): Don't beep on error.
19096         (elint-forms): In case of error, return ENV unchanged.
19097         (elint-init-env): Skip non-list forms.
19098         (elint-log): Handle unknown file positions.
19100 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19102         * epg.el (epg-make-context): Add autoload cookie.
19103         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19104         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19105         (epg-verify-string, epg-start-sign, epg-sign-file)
19106         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19107         (epg-encrypt-string, epg-start-export-keys)
19108         (epg-export-keys-to-file, epg-export-keys-to-string)
19109         (epg-start-import-keys, epg-import-keys-from-file)
19110         (epg-import-keys-from-string, epg-start-receive-keys)
19111         (epg-receive-keys, epg-import-keys-from-server)
19112         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19113         (epg-sign-keys, epg-start-generate-key)
19114         (epg-generate-key-from-file, epg-generate-key-from-string):
19115         Remove autoload cookie.
19117 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19119         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19120         reevaluation of trash-directory.
19122         * mwheel.el: Fix last change.
19123         (mouse-wheel-mode): New defvar.
19124         (mouse-wheel-mode): Remove autoload cookie.
19126 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19128         * mwheel.el (mwheel-installed-bindings): New var.
19129         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19130         the bindings we set last time.  Use custom-initialize-delay.
19131         * loadup.el: Load mwheel after term/*-win.el.
19132         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19133         and mouse-wheel-up-event now that their first evaluation is done
19134         sufficiently late to be correct.
19136         * startup.el (tutorial-directory): Make it a defcustom.
19137         Use custom-initialize-delay rather than eval-at-startup to set it.
19138         * image.el (image-load-path): Make it a defcustom.
19139         Use custom-initialize-delay rather than eval-at-startup to set it.
19140         * subr.el (eval-at-startup): Remove.
19141         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19143         * subr.el (do-after-load-evaluation): Warn the user after loading an
19144         obsolete package.
19146 2009-09-12  Glenn Morris  <rgm@gnu.org>
19148         * proced.el (proced-mark-alt): Remove alias.
19149         (proced-mode-map): Remove proced-mark-alt.
19151         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19152         Elint file and directory.  Remove initialization entry.
19154         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19155         commands.
19156         (elint-current-buffer): Set mode-line-process.
19157         (elint-init-env): Handle define-derived-mode.
19158         Fix declare-function with unspecified arglist.  Guard against odd
19159         defalias statements (eg iso-insert's 8859-1-map).
19160         (elint-add-required-env): Use a temp buffer.
19161         (elint-form): Just print the function/macro name, not the whole form.
19162         Return env unchanged if we fail to parse a macro.
19163         (elint-forms): Guard against parse errors.
19164         (elint-output): New function, to handle batch mode.
19165         (elint-log-message): Add optional argument.  Use elint-output.
19166         (elint-set-mode-line): New function.
19168 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19170         * emacs-lisp/elp.el (elp-not-profilable): Add more
19171         functions (Bug#4233).
19173 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19175         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19176         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19178 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19180         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19181         (gdb-var-list-children): Use json parsing.
19183 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19185         * progmodes/js.el (js--proper-indentation): Handle the case where
19186         char-before is null.  Reported by Deniz Dogan.
19188 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19190         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19192 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19194         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19195         (epg-digest-algorithm-alist): Add SHA224.
19196         (epg-context-set-passphrase-callback)
19197         (epg-context-set-progress-callback): Add description about
19198         callback function.
19200 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19202         * custom.el (custom-delayed-init-variables): New var.
19203         (custom-initialize-delay): New function.
19204         * startup.el (command-line): "Re"evaluate all vars in
19205         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19206         explicitly any more.
19207         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19208         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19210         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19212 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19214         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19215         (gdb-var-update-handler): Use json parsing.
19217 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19219         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19220         decode annotated text, regardless of language environment.  (Bug#2741)
19222 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19224         * Makefile.in (autoloads): Make rmail.el writable as well.
19226 2009-09-11  Glenn Morris  <rgm@gnu.org>
19228         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19229         loaddefs.el.
19230         * dired.el: Regenerate with extracted autoloads.
19231         * Makefile.in (autoloads): Make dired.el writable.
19233         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19234         * ibuffer.el: Regenerate with extracted autoloads.
19235         * Makefile.in (autoloads): Make ibuffer.el writable.
19237         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19238         * version.el (emacs-copyright, emacs-major-version)
19239         (emacs-minor-version): Reformat doc-strings for make-docfile.
19241         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19242         functions and variables, since they must be stuff specific to some other
19243         platform.
19244         (apropos-print): Make mouse-click message less specific about button.
19246         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19247         that records where a macro was defined.
19248         * help-fns.el (describe-function-1): Mention if a function has a
19249         compiler-macro.
19250         * help-mode.el (help-function-cmacro): New button.
19252         * locate.el (top-level): Always require dired.
19253         (locate-mode-map): Initialize inside the defvar.
19255         * net/ange-ftp.el (dired-compress-file): Declare.
19256         (ange-ftp-dired-compress-file): Add doc string.
19258         * term/ns-win.el (x-display-name, x-setup-function-keys):
19259         Unify doc-strings with X versions.
19261 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19263         * emulation/crisp.el (crisp-mode-map): Move initialization
19264         into declaration.
19265         (crisp-mode): Use define-minor-mode.
19267         * progmodes/xscheme.el (xscheme-evaluation-commands):
19268         Put a :advertised-binding property rather than using
19269         advertised-xscheme-send-previous-expression.
19270         (advertised-xscheme-send-previous-expression): Declare obsolete.
19271         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19272         `advertised-undo'.
19273         (crisp-mode): Add corresponding bindings to
19274         undo's :advertised-binding instead.
19275         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19276         than using dired-advertised-find-file.
19277         (dired-advertised-find-file):
19278         * simple.el (advertised-undo):
19279         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19280         (widget-keymap): Put a :advertised-binding property rather
19281         than using advertised-widget-backward.
19282         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19283         than using advertised-undo.
19284         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19286 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19288         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19289         Mark mode is enabled and region is active; otherwise indent or
19290         insert TAB as usual.
19291         (delphi-mode): Update description of TAB-key binding.
19293 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19295         * subr.el (define-key-rebound-commands): Mark obsolete.
19296         * startup.el (precompute-menubar-bindings): Remove.
19297         (normal-top-level): Remove obsolete code that tried to precompute
19298         menubar bindings.
19299         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19300         define-key-rebound-commands and precompute-menubar-bindings.
19302 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19304         * net/imap.el (imap-interactive-login): Better messages.
19305         (imap-open): Fix bug with renamed buffer on reconnect.
19306         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19307         for easier debugging and cleaner code.  On successful (guessed based on
19308         server capabilities) secondary authentication, set imap-state
19309         correctly.
19310         (imap-last-authenticator): Define imap-last-authenticator as a variable
19311         to avoid warnings.
19313 2009-09-10  Glenn Morris  <rgm@gnu.org>
19315         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19317         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19318         (byte-compile-file-form-autoload): Don't warn about unknown functions
19319         where the autoload statement comes after the use.
19320         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19321         that any handlers inside the body (eg require) are in turn respected.
19323         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19324         effects.
19326         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19327         and syntax and abbrev tables basic docs, if they don't have any.
19329         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19331         * international/mule-cmds.el (top-level): Require cl when compiling.
19332         (view-hello-file): Use default-value rather than
19333         default-enable-multibyte-characters.
19335         * progmodes/fortran.el: Move all safe and risky properties into the
19336         defcustoms.
19338         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19339         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19340         * mail/undigest.el:
19341         Put autoloads in rmail.el rather than loaddefs.el.
19342         * mail/rmail.el: Regenerate with extracted autoloads.
19344         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19345         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19347 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19349         Reported in thread for Bug#4375.
19350         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19351         "-data-evaluate-expression" instead of print.
19352         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19353         (gdb-tooltip-print): Parse output from above MI command.
19354         (gdb): Revert 2009-08-11 change.  User should detach inferior
19355         manually.
19357         Remove the word "separate" from IO functions as inferior
19358         output is now never displayed in the GUD buffer.
19360 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19362         * startup.el (command-line-normalize-file-name): On Windows and
19363         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19365 2009-09-10  Juri Linkov  <juri@jurta.org>
19367         * isearch.el (isearch-text-char-description): Propertize escape
19368         character sequences with the `escape-glyph' face.  (Bug#4344)
19370         * simple.el (shell-command): Set asynchronous process filter to
19371         `comint-output-filter'.  (Bug#4343)
19373         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19374         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19375         the list.  Move "asm" to the bottom.
19376         (grep-find-ignored-directories): Add `choice' with nil value
19377         to empty the list easily.
19378         (grep-find-ignored-files): New option.
19379         (grep-files-history): Set to nil by default instead of '("ch" "el").
19380         (grep-compute-defaults): Add "<X>" to `grep-template'.
19381         (grep-read-files): Bind new local variables `default-alias' and
19382         `default-extension'.  Use a list of default values for the file prompt.
19383         (lgrep): Add `--exclude=' command line options composed from
19384         `grep-find-ignored-files'.
19385         (rgrep): Add `-name' command line options composed from
19386         `grep-find-ignored-files'.  (Bug#4301)
19388 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19390         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19391         (bug#4368).
19393 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19395         * calendar/time-date.el (autoload):
19396         Expand define-obsolete-function-alias into defalias and make-obsolete
19397         for old Emacsen that Gnus supports.
19398         (with-no-warnings): Define it for old Emacsen.
19399         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19400         is available.
19401         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19402         float-time is available; suppress compile warning for time-to-seconds.
19404 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19406         * net/imap.el (imap-message-map): Docstring fix.
19408 2009-09-09  Glenn Morris  <rgm@gnu.org>
19410         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19411         line numbers too.  (Bug#4374)
19413 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19415         * smerge-mode.el (smerge-remove-props, smerge-refine):
19416         Use with-silent-modifications (bug#4342).
19418         * subr.el (with-silent-modifications): New macro.
19420 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19422         * files.el (top-level): Require `cl' when compiling.
19424 2009-09-07  Glenn Morris  <rgm@gnu.org>
19426         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19428         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19429         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19431 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19433         * vc-git.el (vc-git-annotate-command): Use separator to parse
19434         arguments correctly.
19436 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19438         * proced.el (proced-mode): Doc fix.
19440 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19442         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19443         lstat fails.
19444         (tramp-do-file-attributes-with-ls): Check for file existence at
19445         remote end.
19446         (tramp-do-file-attributes-with-stat): Likewise.
19447         (tramp-convert-file-attributes): Return nil when attr is nil.
19449 2009-09-05  Glenn Morris  <rgm@gnu.org>
19451         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19452         properties to this button.
19453         (diary-fancy-display): Don't extend the button to the final newline.
19454         (diary-fancy-display-mode): Continue to define "q" as a local key.
19456         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19457         efficient.
19459         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19461         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19462         (byte-compile-dest-file-function): New option.
19463         (byte-compile-dest-file): Doc fix.
19464         Obey byte-compile-dest-file-function.
19465         (byte-compile-cl-file-p): New function.
19466         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19467         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19468         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19469         than for file being previously loaded.
19470         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19471         (byte-compile-file-form-require): Handle the case where requiring a file
19472         indirectly causes CL to be loaded.
19474 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19476         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19477         before killing the old buffer, since by the time `kill-buffer' is
19478         run so many buffer variables have been set to nil that it may not
19479         behave as expected.  (Bug#4061)
19481 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19483         * files.el (find-alternate-file): If the old buffer is modified
19484         and visiting a file, behave similarly to `kill-buffer' when
19485         killing it, thus reverting to the pre-1.878 behavior; see
19486         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19487         for discussion.  Also, consult `buffer-file-name' as a variable
19488         not as a function, for consistency with the rest of the code.
19490 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19492         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19493         also when adding a new directory.
19495         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19496         New defun.
19498 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19500         * files.el (locate-file-completion-table): Make it provide boundary
19501         information, so partial-completion works better.
19503 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19505         * mail/footnote.el (Footnote-text-under-cursor):
19506         Check footnote-text-marker-alist before using it (bug#4324).
19508 2009-09-04  Glenn Morris  <rgm@gnu.org>
19510         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19511         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19512         * play/solitaire.el, play/tetris.el:
19513         Remove leading * from defcustom and defface docs.
19515         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19516         necessary.
19517         (diary-fancy-overriding-map): New variable.
19518         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19519         Use view-mode.
19521         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19522         goto-line.
19524 2009-09-03  Glenn Morris  <rgm@gnu.org>
19526         * arc-mode.el (archive-mode):
19527         * dos-fns.el (set-default-process-coding-system):
19528         * man.el (Man-getpage-in-background):
19529         * menu-bar.el (menu-bar-describe-menu):
19530         * server.el (server-process-filter):
19531         * startup.el (command-line):
19532         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19533         * w32-fns.el (set-default-process-coding-system):
19534         * x-dnd.el (x-dnd-handle-file-name):
19535         * international/mule-cmds.el (mule-menu-keymap)
19536         (set-default-coding-systems, language-info-alist, set-language-info)
19537         (set-language-environment, standard-display-european-internal)
19538         (set-locale-environment):
19539         * international/mule-diag.el (mule-diag):
19540         * mail/emacsbug.el (report-emacs-bug):
19541         * mail/rmail.el (rmail-mode):
19542         * mail/sendmail.el (mail-setup):
19543         Use default-value rather than default-enable-multibyte-characters.
19545         * progmodes/f90.el: Move all safe properties into the defcustoms.
19546         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19548         * calendar/appt.el (appt-check):
19549         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19550         (diary-check-diary-file, diary-list-entries)
19551         (diary-include-other-diary-files, diary-simple-display)
19552         (diary-fancy-display, diary-print-entries)
19553         (diary-mark-included-diary-files, diary-make-entry):
19554         Don't call substitute-in-file-name on diary-file.
19556 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19557             Stefan Monnier  <monnier@iro.umontreal.ca>
19559         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19560         (footnote-mode-map): Move initialization into the declaration.
19561         (footnote-minor-mode-map): Define it rather than changing global-map.
19562         (footnote-mode): Use define-minor-mode.
19564 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19566         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19567         (tramp-do-file-attributes-with-perl)
19568         (tramp-do-file-attributes-with-stat): Rename from
19569         `tramp-handle-file-attributes-with-*'.
19570         (tramp-handle-file-attributes): Use them.
19571         (tramp-do-directory-files-and-attributes-with-perl)
19572         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19573         `tramp-handle-directory-files-and-attributes-with-*'.
19574         (tramp-handle-directory-files-and-attributes): Use them.
19575         (tramp-method-out-of-band-p): Additional parameter SIZE.
19576         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19577         (tramp-handle-write-region): Use it.
19578         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19579         (tramp-handle-vc-registered): Check, whether the first run did
19580         return files to be tested.
19581         (tramp-advice-make-auto-save-file-name): Do not call directly
19582         `tramp-handle-make-auto-save-file-name', because this would bypass
19583         the locking mechanism.
19585         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19586         (file-remote-p, process-file, start-file-process, set-file-times)
19587         (tramp-compat-file-attributes): Compatibility functions shall not
19588         call directly `tramp-handle-*', because this would bypass the
19589         locking mechanism.
19590         (tramp-compat-number-sequence): New defun.
19592 2009-09-02  Glenn Morris  <rgm@gnu.org>
19594         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19595         alias for float-time.
19596         (time-to-number-of-days): In Emacs, use float-time.
19597         * net/newst-backend.el (time-add): Suppress warnings from compat
19598         function.
19599         * time.el (emacs-uptime, emacs-init-time):
19600         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19601         Use float-time rather than time-to-seconds.
19603         * minibuffer.el (completion-initials-expand): Fix typo.
19605         * faces.el (modeline, modeline-inactive, modeline-highlight)
19606         (modeline-buffer-id):
19607         * info.el (info-menu-5): Mark these face aliases as obsolete.
19609 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19611         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19612         space ...
19613         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19614         no "--thread" option.
19615         (gdb-stopped): Don't print "Switched to thread" message when it is
19616         unchanged.
19618 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19620         * minibuffer.el (completion-try-completion)
19621         (completion-all-completions): Remove ill-defined (and
19622         mistakenly installed and luckily never used nor documented)
19623         `completion-styles' property.
19624         (completion-initials-expand, completion-initials-all-completions)
19625         (completion-initials-try-completion): New functions.
19626         (completion-styles-alist): Add doc to each entry.
19627         Add new `initials' entry.
19629 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19631         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19632         MI command -var-evaluate-expression.
19633         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19634         and tweak for case of string child.
19635         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19637 2009-09-01  Glenn Morris  <rgm@gnu.org>
19639         * add-log.el (change-log-date-face, change-log-name-face)
19640         (change-log-email-face, change-log-file-face, change-log-list-face)
19641         (change-log-conditionals-face, change-log-function-face)
19642         (change-log-acknowledgement-face):
19643         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19644         (custom-modified-face, custom-set-face, custom-changed-face)
19645         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19646         (custom-documentation-face, custom-state-face, custom-comment-face)
19647         (custom-comment-tag-face, custom-variable-tag-face)
19648         (custom-variable-button-face, custom-face-tag-face)
19649         (custom-group-tag-face-1, custom-group-tag-face):
19650         * diff-mode.el (diff-header-face, diff-file-header-face)
19651         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19652         (diff-added-face, diff-changed-face, diff-function-face)
19653         (diff-context-face, diff-nonexistent-face):
19654         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19655         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19656         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19657         (Info-title-4-face):
19658         * isearch.el (isearch-lazy-highlight-face):
19659         * log-view.el (log-view-file-face, log-view-message-face):
19660         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19661         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19662         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19663         (cvs-msg-face):
19664         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19665         (smerge-base-face, smerge-markers-face):
19666         * wid-edit.el (widget-documentation-face, widget-button-face)
19667         (widget-field-face, widget-single-line-field-face)
19668         (widget-inactive-face, widget-button-pressed-face):
19669         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19670         (woman-addition-face):
19671         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19672         (eshell-ls-executable-face, eshell-ls-readonly-face)
19673         (eshell-ls-unreadable-face, eshell-ls-special-face)
19674         (eshell-ls-missing-face, eshell-ls-archive-face)
19675         (eshell-ls-backup-face, eshell-ls-product-face)
19676         (eshell-ls-clutter-face):
19677         * eshell/em-prompt.el (eshell-prompt-face):
19678         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19679         * obsolete/old-whitespace.el (whitespace-highlight-face):
19680         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19681         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19682         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19683         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19684         (antlr-font-lock-literal-face):
19685         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19686         (ebrowse-root-class-face, ebrowse-file-name-face)
19687         (ebrowse-default-face, ebrowse-member-attribute-face)
19688         (ebrowse-member-class-face, ebrowse-progress-face):
19689         * progmodes/make-mode.el (makefile-space-face):
19690         * progmodes/sh-script.el (sh-heredoc-face):
19691         * textmodes/flyspell.el (flyspell-incorrect-face)
19692         (flyspell-duplicate-face):
19693         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19694         * textmodes/texinfo.el (texinfo-heading-face):
19695         Mark face aliases with "-face" suffix as obsolete.
19697         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19698         compiler.
19700         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19701         (eudc-bob-sound-menu): Use defvar rather than defconst, since
19702         easy-menu-define wants to modify these.
19704         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19706         * net/browse-url.el (browse-url-file-url):
19707         * term/internal.el (dos-codepage-setup):
19708         Use default-value rather than default-enable-multibyte-characters.
19710         * progmodes/etags.el (etags-goto-tag-location):
19711         * progmodes/flymake.el (flymake-highlight-line)
19712         (flymake-goto-file-and-line, flymake-goto-line):
19713         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19714         (gdb-goto-breakpoint):
19715         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19716         * progmodes/python.el (python-find-function)
19717         (python-pdbtrack-track-stack-file):
19718         * progmodes/verilog-mode.el (verilog-surelint-off):
19719         * term/ns-win.el (ns-open-file-select-line):
19720         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19721         Use forward-line rather than goto-line.
19723         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19724         * textmodes/reftex-index.el (reftex-display-index):
19725         * textmodes/reftex-ref.el (reftex-offer-label-menu):
19726         * textmodes/reftex-toc.el (reftex-toc):
19727         Remove unnecessary bindings of default-major-mode (all are followed by
19728         major-mode check and possible mode switch).
19730 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19732         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19733         Handle watchpoints (bug#4282).
19734         (def-gdb-thread-buffer-command): Enable thread to be selected by
19735         clicking without selecting threads buffer first.
19736         (gdb-current-context-command): Use selected frame so that "up",
19737         "down" etc work in the GUD buffer.
19738         (gdb-update): Find selected frame before rendering stack buffer.
19739         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19741 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19743         * progmodes/sym-comp.el (displayed-completions): Remove.
19744         (symbol-complete): Use minibuffer-complete.
19746 2009-08-31  Glenn Morris  <rgm@gnu.org>
19748         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19750         * apropos.el (apropos-symbols-internal):
19751         Handle (obsolete) face aliases.
19753         * faces.el (describe-face): Adjust the output format to be more like
19754         describe-variable, and to mention (obsolete) face aliases.
19755         Adjust the whitespace so that help-setup-xref works.
19757         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19758         * calendar/diary-lib.el (diary-button-face):
19759         Mark these face aliases as obsolete.
19761         * calendar/calendar.el (calendar-today): Doc fix.
19763 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19765         * progmodes/gdb-mi.el (gdb-control-all-threads)
19766         (gdb-control-current-thread): Force tool bar update.
19767         (gdb-non-stop-handler): New function.
19768         (gdb-init-1): Use it to test if non-stop mode is supported.
19769         Remove unused gdbmi buffer type.
19771 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
19773         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19774         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
19776 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
19778         * comint.el (comint-exec-1): Check command is non-null first.
19779         Part of gdb-mi.el change (2009-08-28).
19781 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19783         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19785 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
19787         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19788         instead of `dolist' to avoid a recursive require when bootstrapping.
19790 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19792         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19794         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19796         * net/imap.el (imap-send-command): Simplify.
19797         (imap-wait-for-tag): point-max -> buffer-size.
19799         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19801         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19802         with constant argument.
19804         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19806         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19808         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19809         Change default, since most of our files don't have a history.
19810         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19811         the user.
19813         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19814         Add comint-run.
19816         * calc/calc.el: Improve commenting convention.
19817         (calc-digit-map, toplevel): Simplify.
19819         * comint.el (comint-insert-input): Be careful to only set point if we
19820         don't delegate to some other command.
19822         * proced.el (proced-signal-list): Make it an alist.
19823         (proced-grammar-alist): Capitalize names.
19824         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19825         Disable undo manually and make it read-only.
19826         Use completion-annotate-function.
19828         * minibuffer.el (minibuffer-message): If the current buffer is not
19829         a minibuffer, insert the message in the echo area rather than at the
19830         end of the buffer.
19831         (completion-annotate-function): New variable.
19832         (minibuffer-completion-help): Use it.
19833         (completion--embedded-envvar-table): Environment vars are
19834         always case-sensitive.
19836 2009-08-30  Glenn Morris  <rgm@gnu.org>
19838         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19839         from fortran-current-defun.
19840         (fortran-beginning-of-subprogram): Be more precise about finding the
19841         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
19842         (fortran-end-of-subprogram): Simplify.
19843         (fortran-current-defun): Use fortran-start-prog-re.
19845 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
19847         * subr.el (do-after-load-evaluation): Simplify.
19849 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
19851         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19853         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
19854         (vc-rcs-print-log): Use it.
19856         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19858 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19860         * paths.el (abbrev-file-name): Move to abbrev.el.
19861         * abbrev.el (abbrev-file-name): Move from paths.el.
19862         Obey user-emacs-directory.
19863         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19864         user-emacs-directory.
19865         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19866         abbrev-file-name and calc-settings-file any more.
19867         * startup.el (command-line): Recompute abbrev-file-name and
19868         abbreviated-home-dir.
19869         (normal-no-mouse-startup-screen): Improve the generic code and get rid
19870         of the special code for when C-h bindings haven't been changed.
19871         (display-startup-echo-area-message): Use with-current-buffer.
19872         (command-line-1): Use a list of strings, rather than a list of lists
19873         of strings for longopts.
19875         * files.el (get-free-disk-space): Use / for default-directory.
19877         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19878         Use with-current-buffer.
19880         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19881         Recognize immutable variables like most-positive-fixnum.
19882         (byte-compile-setq-default): Check and warn if trying to assign
19883         to an immutable variable, or a non-variable.
19885         * progmodes/cc-vars.el (c-comment-continuation-stars):
19886         * progmodes/cc-engine.el (c-looking-at-bos):
19887         * progmodes/cc-cmds.el (c-toggle-auto-state)
19888         (c-forward-into-nomenclature, c-backward-into-nomenclature)
19889         (c-comment-line-break-function): Add version of obsolescence.
19891 2009-08-28  Juri Linkov  <juri@jurta.org>
19893         * files.el (magic-fallback-mode-alist): Add ZIP magic number
19894         associated with `archive-mode'.
19896         * image.el (image-type-header-regexps): Use only JPEG magic number
19897         to determine JPEG images, and don't use `image-jpeg-p' because
19898         Emacs can display non-JFIF non-Exif JPEG images.
19900 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19902         * arc-mode.el (archive-mode):
19903         * emacs-lisp/re-builder.el (re-builder-unload-function):
19904         Protect against the default value of `major-mode' being nil.
19906 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19908         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19909         Fix typos in docstrings.
19911         * progmodes/js.el (js--macro-decl-re): Doc fix.
19912         (js--plain-method-re, js--split-name): Refloc docstring.
19913         (js--class-styles, js--make-merged-item, js--splice-into-items):
19914         Fix typos in docstrings; reflow docstrings.
19915         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19916         (js--variable-decl-matcher, js--inside-pitem-p)
19917         (js--parse-state-at-point, js--get-all-known-symbols)
19918         (js--symbol-history, js-find-symbol, js--js-references)
19919         (js--moz-interactor, js--js-encode-value, js--read-tab):
19920         Fix typos in docstrings.
19922 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19924         * textmodes/reftex.el (reftex-get-file-buffer-force):
19925         * progmodes/verilog-mode.el (verilog-batch-execute-func):
19926         * emulation/viper.el (viper-go-away, viper-set-hooks):
19927         * emacs-lisp/re-builder.el (re-builder-unload-function):
19928         * emacs-lisp/bytecomp.el (byte-compile-file):
19929         * ses.el (ses-unload-function):
19930         * hexl.el (hexl-find-file):
19931         * files.el (normal-mode):
19932         * ehelp.el (with-electric-help):
19933         * autoinsert.el (auto-insert-alist):
19934         * arc-mode.el (archive-mode):
19935         Use (default-value 'major-mode) instead of default-major-mode.
19937         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19938         * international/mule.el (load-with-code-conversion):
19939         * emacs-lisp/debug.el (debug):
19940         * ediff-vers.el (ediff-rcs-get-output-buffer):
19941         * dired.el (dired-internal-noselect): Don't let-bind
19942         default-major-mode around code that doesn't use it.
19943         E.g. buffer creation via get-buffer-create doesn't use it.
19945 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
19947         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19948         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19949         when writing the temp file.  Otherwise, epa-file gets confused.
19950         (tramp-register-file-name-handlers): Make it a defun.  Move also
19951         `epa-file-handler' to the front of `file-name-handler-alist'.
19953 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19955         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19956         start right after a ^M.
19957         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19958         (tramp-completion-file-name-regexp-separate)
19959         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19960         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19961         Don't modify last-coding-system-used by accident.
19962         (tramp-completion-file-name-handler): Apply the checks here,
19963         instead during registration.
19964         (tramp-register-file-name-handlers): Rename from
19965         `tramp-register-file-name-handler'.  Register both
19966         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19967         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
19969 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
19971         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19972         Remove variable ...
19973         (gdb-init-1, gdb-display-separate-io-buffer)
19974         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19975         references to it.
19976         (gdb-inferior-io-mode): Use make-comint-in-buffer.
19977         (gdb-inferior-filter): Use comint-output-filter to stop
19978         echoing and remove ^M characters.
19980 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19982         * emulation/viper-init.el (viper-restore-cursor-type):
19983         * emulation/cua-base.el (cua--update-indications):
19984         Replace default-cursor-type with (default-value 'cursor-type).
19986         * mail/sendmail.el (mail-recover-1):
19987         * international/mule-diag.el (describe-current-coding-system-briefly)
19988         (describe-current-coding-system):
19989         * international/mule-cmds.el (select-safe-coding-system)
19990         (select-message-coding-system)
19991         (set-language-environment-coding-systems, set-locale-environment):
19992         * hexl.el (hexl-insert-multibyte-char):
19993         * dos-w32.el (find-buffer-file-type-coding-system):
19994         * simple.el (what-cursor-position):
19995         Replace uses of default-buffer-file-coding-system
19996         with (default-value 'buffer-file-coding-system).
19998         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19999         Replace uses of default-cursor-in-non-selected-windows
20000         with (default-value 'cursor-in-non-selected-windows).
20001         Use with-current-buffer.
20003         * mail/feedmail.el: Use CL macros.
20004         (feedmail-run-the-queue, feedmail-send-it-immediately):
20005         * dos-w32.el (find-buffer-file-type): Replace uses of
20006         default-buffer-file-type with (default-value 'buffer-file-type).
20008 2009-08-28  Glenn Morris  <rgm@gnu.org>
20010         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20011         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20012         Use default-value of major-mode rather than default-major-mode.
20014 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20016         * Makefile.in (update-elcfiles): Report left over elc files.
20018         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20019         expand-file-name and with-current-buffer.
20020         (mail-get-names, mail-directory): Use with-current-buffer.
20022         * vc.el (vc-read-revision): New function.
20023         (vc-version-diff, vc-merge): Use it.
20025 2009-08-27  Sam Steingold  <sds@gnu.org>
20027         * simple.el (kill-do-not-save-duplicates): New user option.
20028         (kill-new): When it is non-nil, and the new string is the same as
20029         the latest kill, set replace to t to avoid duplicates in kill-ring.
20031 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20033         * net/tramp.el (tramp-handle-process-file): Do not flush all
20034         caches when `process-file-side-effects' is set.
20035         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20036         instead of `tramp-find-file-exists-command'.
20037         Unset `process-file-side-effects'.
20039 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20041         * net/tramp.el (tramp-methods): New method "rsyncc".
20042         (top): Add completion function for "rsyncc".
20043         (tramp-message-show-message): New defvar.
20044         (tramp-message, tramp-error): Use it.
20045         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20046         remote copying.
20047         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20048         `tramp-methods' entry `copy-env' of "rsyncc".
20049         (tramp-vc-registered-read-file-names): New defconst.
20050         (tramp-vc-registered-file-names): New defvar.
20051         (tramp-handle-vc-registered): Implement optimization strategy.
20052         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20053         (tramp-vc-file-name-handler): New defun.
20054         (tramp-get-ls-command, tramp-get-test-command)
20055         (tramp-get-file-exists-command, tramp-get-remote-ln)
20056         (tramp-get-remote-perl, tramp-get-remote-stat)
20057         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20059         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20060         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20061         timestamps.
20062         (tramp-get-file-property): Check for timestamps in
20063         `tramp-cache-inhibit-cache'.
20064         (tramp-set-file-property): Write timestamp.
20066 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20068         * language/japan-util.el (japanese-symbol-table): Add entries for
20069         cp932-2-byte.
20071         * international/characters.el: Add category `j' to cp932-2-byte.
20073 2009-08-27  Kenichi Handa  <handa@m17n.org>
20075         * international/fontset.el (build-default-fontset-data): New macro.
20076         (setup-default-fontset): Use build-default-fontset-data for CJK,
20077         tibetan, ethiopic, and ipa.
20079 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20081         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20082         (enable-multibyte-characters): Not customizable any more.
20084         * subr.el (default-mode-line-format, default-header-line-format)
20085         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20086         (default-direction-reversed, default-truncate-lines)
20087         (default-left-margin, default-tab-width, default-case-fold-search)
20088         (default-left-margin-width, default-right-margin-width)
20089         (default-left-fringe-width, default-right-fringe-width)
20090         (default-fringes-outside-margins, default-scroll-bar-width)
20091         (default-vertical-scroll-bar, default-indicate-empty-lines)
20092         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20093         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20094         (default-scroll-down-aggressively, default-fill-column)
20095         (default-cursor-type, default-buffer-file-type)
20096         (default-cursor-in-non-selected-windows)
20097         (default-buffer-file-coding-system, default-major-mode)
20098         (default-enable-multibyte-characters): Mark as obsolete.
20100 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20102         * vc-dir.el (vc-dir-update): Remove debug helper.
20104         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20106 2009-08-26  Sam Steingold  <sds@gnu.org>
20108         * simple.el (save-interprogram-paste-before-kill): New user option.
20109         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20110         save the interprogram-paste into kill-ring before overriding it
20111         with the Emacs kill.
20113 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20115         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20116         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20117         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20118         and move to vc-rcs.el.
20119         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20120         move to vc-rcs.el.
20121         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20122         (vc-rcs-update-changelog): Remove.
20123         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20124         and move to vc-rcs.el.
20126         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20127         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20128         renaming.
20129         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20130         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20131         vc.el, renamed to be RCS specific.
20133         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20134         New functions.
20135         (vc-cvs-update-changelog): Move here from vc.el.
20137         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20138         New functions.
20140 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20142         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20144 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20146         * vc-git.el (vc-git-register): Use "git add" for directories.
20147         (vc-git-stash, vc-git-stash-show): New functions.
20148         (vc-git-extra-menu-map): Bind them.
20150         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20151         directory correctly in case the item is a directory itself.
20153         * vc.el: Document the desired behavior for reverted files in the
20154         `added' state.
20155         (vc-default-prettify-state-info): Remove function, unused.
20157         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20159 2009-08-26  Glenn Morris  <rgm@gnu.org>
20161         * bindings.el (standard-mode-line-format): Reposition dashes in
20162         which-func entry.  (Bug#4217)
20164         * files.el (enable-local-variables, enable-local-eval)
20165         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20166         the defcustoms.
20167         (auto-mode-alist, ignored-local-variables)
20168         (save-some-buffers-action-alist): Move risky declarations to the
20169         definitions.
20170         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20171         (font-lock-defaults, format-alist, imenu--index-alist)
20172         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20173         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20174         (mode-line-modified, mode-line-mule-info, mode-line-position)
20175         (mode-line-process, mode-line-remote, outline-level)
20176         (parse-time-rules, rmail-output-file-alist)
20177         (special-display-buffer-names, vc-mode):
20178         Move risky declarations to the relevant files.
20179         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20180         (mode-line-modified, mode-line-process, mode-line-position)
20181         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20182         * font-core.el (font-lock-defaults):
20183         * format.el (format-alist):
20184         * vc-hooks.el (vc-mode):
20185         * window.el (special-display-buffer-names):
20186         * international/mule-cmds.el (input-method-alist):
20187         Define riskiness here (dumped file) rather than in files.el.
20188         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20189         * imenu.el (imenu-generic-expression, imenu--index-alist):
20190         * outline.el (outline-level):
20191         * time.el (display-time-string):
20192         * calendar/parse-time.el (parse-time-rules):
20193         * mail/rmailout.el (rmail-output-file-alist):
20194         Autoload riskiness here, rather than placing in files.el.
20196 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20198         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20200 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20202         * simple.el (process-file-side-effects): New defvar.
20204         * dired-aux.el (dired-show-file-type):
20205         * vc.el (vc-diff-internal):
20206         * vc-arch.el (vc-arch-diff):
20207         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20208         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20209         * vc-git.el (vc-git-registered, vc-git-working-revision)
20210         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20211         (vc-git--empty-db-p):
20212         * vc-hooks.el (vc-user-login-name):
20213         * vc-svn.el (vc-svn-registered, vc-svn-state)
20214         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20215         * progmodes/grep.el (grep-probe): Let-bind
20216         `process-file-side-effects' with nil.
20218         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20220         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20221         daemon.  Replace ping by checking for running service for bluez
20222         and zeroconf.  (Bug#4239)
20224 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20226         * net/dig.el (dig): Add autoload cookie.
20228 2009-08-25  Glenn Morris  <rgm@gnu.org>
20230         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20231         load-history for absolute file-names.
20232         (byte-compile-file-form-require): Warn about use of the cl package.
20234         * format.el (format-alist): Doc fix.
20236         * play/bubbles.el (top-level): Don't require cl at run-time.
20238         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20239         run-time cl).
20241 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20243         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20244         from cl package.
20245         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20247 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20249         * calc/calc-alg.el (math-trig-rewrite)
20250         (math-hyperbolic-trig-rewrite): New functions.
20251         (calc-simplify): Simplify trig functions when asked.
20253 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20255         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20257 2009-08-24  Kenichi Handa  <handa@m17n.org>
20259         * language/ind-util.el (mapthread): Delete it.
20260         (combinatorial): New function.
20261         (indian--puthash-cv): Use combinatorial instead of mapthread.
20263 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20265         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20266         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20267         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20268         Clarify docstring that the value is strings not symbols.
20269         (checkdoc-list-of-strings-p): New function.
20271 2009-08-22  Glenn Morris  <rgm@gnu.org>
20273         * files.el (auto-mode-alist):
20274         * hippie-exp.el (he-concat-directory-file-name):
20275         * lpr.el (lpr-windows-system, printer-name):
20276         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20277         * ps-print.el (ps-windows-system):
20278         * startup.el (command-line):
20279         * emulation/viper-ex.el (viper-glob-function):
20280         * international/mule-cmds.el (set-language-environment-coding-systems):
20281         * net/ange-ftp.el (ange-ftp-write-region):
20282         * obsolete/fast-lock.el (fast-lock-cache-name):
20283         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20284         unisoft-unix, vax-vms, win32, w32.
20286         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20287         given name if the pattern is not more specific.
20289         * calendar/lunar.el (lunar-phase-names): New option.
20290         (lunar-phase): Doc fix.
20291         (lunar-cycles-per-year): New constant.
20292         (lunar-index): New function.
20293         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20294         (lunar-phase-name): Use lunar-phase-names.
20295         (calendar-lunar-phases): Use format.
20296         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20298         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20299         Copy imenu-example--name-and-position function here for own use.
20300         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20302         * bs.el (bs--redisplay):
20303         * cus-edit.el (custom-redraw):
20304         * ibuffer.el (ibuffer-bury-buffer):
20305         * server.el (server-goto-line-column):
20306         * startup.el (command-line-1):
20307         * strokes.el (strokes-xpm-for-stroke):
20308         * term.el (term-display-buffer-line):
20309         * view.el (View-goto-line):
20310         * calc/calc.el (calc-do, calc-trail-buffer):
20311         * play/gamegrid.el (gamegrid-add-score-insecure):
20312         * progmodes/ada-mode.el (ada-compile-goto-error):
20313         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20314         (ebrowse-select-1st-to-9nth):
20315         * progmodes/cperl-mode.el (cperl-time-fontification):
20316         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20317         * progmodes/gud.el (gud-display-line):
20318         (idlwave-shell-display-line):
20319         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20320         * progmodes/make-mode.el (makefile-browser-toggle):
20321         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20322         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20323         * textmodes/picture.el (picture-draw-rectangle):
20324         * textmodes/reftex-index.el (reftex-index-goto-letter):
20325         (reftex-select-jump-to-previous):
20326         * textmodes/reftex-sel.el (reftex-find-start-point)
20327         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20328         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20329         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20330         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20331         * textmodes/two-column.el (2C-associated-buffer):
20332         Use forward-line rather than goto-line.
20334         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20335         goto-line.
20337         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20338         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20339         (quick-check-list-to-regexp): Declare.
20341         * progmodes/make-mode.el (makefile-browser-insert-selection):
20342         Use goto-char rather than goto-line.
20344         * progmodes/prolog.el (compilation-error-regexp-alist)
20345         (compilation-forget-errors): Declare.
20347 2009-08-22  Juri Linkov  <juri@jurta.org>
20349         * progmodes/grep.el (lgrep, rgrep): At the beginning
20350         set `dir' to `default-directory' unless `dir' is a non-nil
20351         readable directory.  (Bug#4052)
20352         (lgrep, rgrep): Change a weird way to report an error
20353         from using `read-string' to using `error'.
20354         Instead of using interactive arguments in the function body,
20355         add new argument `confirm'.
20357 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20359         * textmodes/remember.el (remember-buffer):
20360         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20361         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20362         (icalendar-extract-ical-from-buffer):
20363         * net/newst-treeview.el (newsticker-groups-filename):
20364         * net/newst-backend.el (newsticker-cache-filename):
20365         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20366         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20367         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20368         (speedbar-buffers-line-path, speedbar-path-line)
20369         (speedbar-buffers-line-path):
20370         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20371         (epg-sign-keys):
20372         * epa.el (epa-display-verify-result):
20373         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20375 2009-08-21  Glenn Morris  <rgm@gnu.org>
20377         * progmodes/js.el (inferior-moz-process): Fix declaration.
20379         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20381         * obsolete/rnewspost.el (news-mail-reply):
20382         Use goto-char rather than goto-line.
20384         * term/ns-win.el (ns-open-file-select-line):
20385         Use line-beginning-position rather than goto-line.
20387         * apropos.el (apropos-command):
20388         * ehelp.el (electric-helpify):
20389         * printing.el (pr-show-setup):
20390         * strokes.el (strokes-help):
20391         * tutorial.el (tutorial--describe-nonstandard-key)
20392         (tutorial--detailed-help):
20393         * woman.el (woman-mini-help, woman-display-extended-fonts):
20394         * calc/calc-help.el (calc-describe-key):
20395         * emulation/edt.el (edt-electric-helpify):
20396         * international/mule-diag.el (mule-diag):
20397         * play/yow.el (apropos-zippy):
20398         * progmodes/python.el (python-describe-symbol):
20399         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20400         * textmodes/table.el (*table--cell-describe-mode)
20401         (*table--cell-describe-bindings):
20402         Use help-print-return-message rather than the now obsolete alias.
20404         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20405         (calendar-cursor-to-visible-date):
20406         * play/5x5.el (5x5-position-cursor):
20407         * play/decipher.el (decipher):
20408         * play/gomoku.el (gomoku-goto-xy):
20409         * play/landmark.el (lm-goto-xy):
20410         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20411         (mpuz-paint-digit):
20412         Use forward-line, not goto-line.
20414         * mail/rmail.el (rmail-obsolete): Delete custom group.
20415         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20416         (rmail-remote-password, rmail-remote-password-required):
20417         Remove unneeded :set-after and :set properties.
20419 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20421         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20423 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20425         * loadup.el: Remove leftover macos code.
20427         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20428         Explicitly pass the date format to git blame so that user local
20429         so that the output format can be parsed.
20431 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20433         * net/dbus.el (top): Don't check for (getenv
20434         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20436 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20438         * log-edit.el (log-edit-strip-single-file-name): New var.
20439         (log-edit-insert-changelog): Use it.  Bug#3571
20441 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20443         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20444         Bug#3287
20446         * help.el (help-print-return-message): Rename from
20447         print-help-return-message.
20449         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20450         cvs-mode-map parent hack.
20451         (log-view-mode): Derive from special-mode.
20453         * linum.el (linum-mode): window-size-change-functions is redundant.
20454         Adapt to new window-configuration-change-hook behavior.
20455         (linum-after-size, linum-after-config): Remove.
20457         * imenu.el (imenu-example--name-and-position)
20458         (imenu-example--lisp-extract-index-name)
20459         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20460         Mark as obsolete.
20462         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20463         (inferior-prolog-mode): Use it.
20464         (inferior-prolog-load-file): Reset list of errors.
20466 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20468         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20470         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20472 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20474         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20475         is running already.
20477 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20479         * subr.el (listify-key-sequence-1): Use normal syntax since those
20480         integers are nowadays always represented by the same (positive) number
20481         on all platforms.
20482         (read-key-empty-map): New const.
20483         (read-key-delay): New var.
20484         (read-key): New function.
20485         (force-mode-line-update): Use with-current-buffer.
20486         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20487         (start-process-shell-command, start-file-process-shell-command):
20488         Discourage the use of command-args.
20490 2009-08-19  Glenn Morris  <rgm@gnu.org>
20492         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20494 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20496         * simple.el (choose-completion-string): Don't rely on
20497         minibuffer-completing-file-name and ad-hoc checks to decide whether
20498         to continue completion or not.
20500         * minibuffer.el (minibuffer-hide-completions): New function.
20501         (completion--do-completion): Use it.
20502         (completions-annotations): New face.
20503         (completion--insert-strings): Use it.
20504         (completion-pcm--delim-wild-regex): Add docstring.
20505         (completion-pcm--string->pattern): Add support for 0-width delimiters
20506         in completion-pcm--delim-wild-regex.
20508 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20510         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20511         Remove unused var `buffer-modified-p'.
20513         * minibuffer.el (completion--do-completion): Move point for the #b001
20514         case as well (bug#4176).
20515         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20517 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20519         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20520         and :session buses.
20522 2009-08-18  Kenichi Handa  <handa@m17n.org>
20524         * international/ucs-normalize.el (ucs-normalize-version):
20525         Change to 1.1.
20526         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20527         (utf-8-hfs): Make it perform normalization on encoding too.
20529         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20530         (sentence-end-without-space): Delete duplicated chars.
20531         (sentence-end-base): Likewise.
20533         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20534         (html-mode): Delete duplicated chars from sentence-end-base.
20536         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20537         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20539 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20541         * files.el (hack-one-local-variable): If the mode function is for
20542         a minor mode, pass it an argument (Bug#4148).
20544 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20546         * net/tramp.el (tramp-register-completion-file-name-handler):
20547         Check also for (member 'partial-completion completion-styles).
20549 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20551         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20552         abbrev (Bug#3943).
20554 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20556         * progmodes/cperl-mode.el: Merge upstream 6.2.
20557         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20558         (cperl-forward-re): Check cperl-brace-recursing.
20559         (cperl-highlight-charclass): New function.
20560         (cperl-find-pods-heres): Use it.
20561         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20562         (cperl-beautify-regexp-piece): Fix column calculation.
20563         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20564         (cperl-beautify-level): Don't process entire regexp.
20565         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20566         calling man.
20567         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20568         (cperl-init-faces): Build a list in the normal way.
20570 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20572         * calendar/parse-time.el (parse-time-string-chars): Save match
20573         data.
20575 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20577         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20578         (sql-product): Use it.
20579         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20580         (sql-set-product): Add completion.
20581         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20582         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20583         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20584         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20585         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20586         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20587         (sql-highlight-db2-keywords): Remove.
20588         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20589         (sql-highlight-product): Use derived-mode-p.
20590         (sql-set-sqli-buffer): Use with-current-buffer.
20591         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20592         Simplify.
20594         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20596         * term.el: Fix commenting convention, turn comments into docstrings.
20598 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20600         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20602 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20604         * calendar/parse-time.el (parse-time-string-chars): Compute using
20605         character classes, to handle non-ascii characters (Bug#3190).
20607 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20609         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20610         another heredoc if the user adds another < (Bug#3226).
20612         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20613         Don't initialize based on window-system (Bug#4124).
20615         * facemenu.el (facemenu-read-color): Use a completion function
20616         that accepts any defined color, such as RGB triplets (Bug#3677).
20618         * files.el (get-free-disk-space): Change fallback default
20619         directory to /.  Expand DIR argument before switching to fallback.
20620         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20622 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20624         * files.el (load-library): Doc fix.
20626 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20628         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20629         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20630         incremental search string.
20632         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20633         XEmacs.
20635         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20636         (ediff-merge-region-is-non-clash)
20637         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20638         Also check if the job is really a merge job.
20640         * ediff.el (ediff-current-file): New function.
20642 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20644         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20645         conventions.
20646         (js-insert-and-indent): Delete function.
20647         (js-mode-map): Don't bind keys to js-insert-and-indent.
20648         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20649         (js-end-of-defun): Rename from js--end-of-defun.
20650         (js-auto-indent-flag): Delete variable.
20652 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20654         * progmodes/js.el: Remove proclaim statement.
20655         Defvar which-func-imenu-joiner-function to silence compiler.
20657         * files.el (auto-mode-alist): Use js-mode for .js files.
20659         * progmodes/js2-mode.el: Remove file.
20661         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20663         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20665         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20667 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
20668             Karl Landstrom  <karl.landstrom@brgeight.se>
20670         * progmodes/js.el: New file.
20672 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
20674         * timezone.el (timezone-parse-date): Add ability to understand ISO
20675         basic format (minimal separators) dates in addition to the
20676         already-supported extended format dates.
20678 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
20680         * international/ucs-normalize.el: Add a `coding' file variable.
20682         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20684 2009-08-14  Sam Steingold  <sds@gnu.org>
20686         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20688 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
20690         * faces.el (help-argument-name): Define it here instead of
20691         help-fns.el, because in daemon mode help-fns.el may be loaded when
20692         faces are still uninitialized (Bug#1078).
20694         * help-fns.el (help-argument-name): Move defface to faces.el.
20696 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
20698         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20699         create buffer with a pty but no process so that GDB can make the
20700         inferior the controlling process.
20702 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
20704         * international/ucs-normalize.el: New file.
20706 2009-08-13  Richard Stallman  <rms@gnu.org>
20708         * mail/rmail.el (rmail-get-attr-names):
20709         Accept an attribute header that is too short.
20711         * mail/rmail.el (rmail-forget-messages):
20712         Ignore nil elt in rmail-message-vector.  Use dotimes.
20714         * progmodes/compile.el (compilation-goto-locus):
20715         Use next-error-move-function.
20717         * simple.el (next-error-move-function): New variable.
20719 2009-08-12  Juri Linkov  <juri@jurta.org>
20721         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20722         always non-nil.  (Bug#4052)
20724         * replace.el (read-regexp): Return empty string when
20725         `default-value' is nil.
20726         (keep-lines-read-args): Don't use empty string as the
20727         default value for `read-regexp'.  (Bug#2495)
20729 2009-08-12  Juri Linkov  <juri@jurta.org>
20731         * international/mule-cmds.el (ucs-insert): Change arguments
20732         from `arg' to `character', `count', `inherit' to be the same
20733         as in `insert-char'.  Doc fix.  (Bug#4039)
20735         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20737 2009-08-12  Juri Linkov  <juri@jurta.org>
20739         * files-x.el: New file.
20741         * files.el: Move code that deals with adding/deleting
20742         file/directory-local variables to files-x.el.
20744         * Makefile.in (ELCFILES): Add files-x.elc.
20746 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
20748         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20749         to use `goto-line'.
20750         (gdb-place-breakpoints, gdb-get-location): Rewritten without
20751         `goto-line'.
20752         (gdb-invalidate-disassembly): Do not refresh upon receiving
20753         'update signal.  Instead, update all disassembly buffers only after
20754         threads list.
20755         (gdb): Send -target-detach when buffer is killed (Bug#3794).
20756         (gdb-starting): Move -data-list-register-names...
20757         (gdb-stopped): ...here so it's sent when first thread stops.
20758         (gdb-registers-handler-custom): Do nothing if register names are
20759         unknown yet.
20761         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20762         from `gdb-mi.el' to avoid extra tangling.
20764         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20765         change which breaks `gud-def' definitions used in `gdb'.
20766         (gdb-update-gud-running): No extra fuss for updating frame number.
20768 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20770         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20771         (describe-language-environment-map, setup-language-environment-map)
20772         (set-coding-system-map): Move initialization into declaration.
20773         (set-language-info-alist): Last arg to define-key-after can be skipped.
20775         * international/quail.el (quail-completion-1): Simplify.
20776         (quail-define-rules): Use slightly more compact code.
20777         (quail-insert-decode-map): Propertize keys, compact columns.
20779         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20780         Add goto-line.
20782 2009-08-10  Miles Bader  <miles@gnu.org>
20784         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20785         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20786         (js2-instance-member, js2-private-member, js2-private-function-call)
20787         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20788         (js2-magic-paren, js2-external-variable):
20789         Remove "-face" suffix from face names.
20790         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20791         (js2-highlight-undeclared-vars, js2-peek-token)
20792         (js2-parse-function-params, js2-mode-show-errors)
20793         (js2-mode-show-warnings, js2-make-magic-delimiter)
20794         (js2-mode-highlight-magic-parens): Update to use new face names.
20796 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
20798         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20799         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
20801 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
20803         * subr.el: Provide hashtable-print-readable.
20805         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20806         hs-c-like-adjust-block-beginning.
20807         (hs-hide-block-at-point): Stop hiding at the beginning of
20808         hs-block-end-regexp (Bug#700).
20810 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
20812         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20813         a macro.
20814         (gdb-registers-handler-custom): Do not fail when register names
20815         are unavailable.
20817 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20819         * progmodes/gdb-mi.el (gdb-control-all-threads)
20820         (gdb-control-current-thread): Interactive setters for
20821         `gdb-gud-control-all-threads' to use in menu.
20822         (gdb-show-run-p): Show «Go» when process is not active.
20823         (gud-tool-bar-map): Add non-stop/A,T indicator.
20824         Uses gud/thread.xpm and gud/all.xpm.
20826 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
20828         * net/net-utils.el (net-utils-font-lock-keywords): New var.
20829         (nslookup-font-lock-keywords): Make it a variable.
20830         (net-utils-mode): New mode for viewing diagnostic network output.
20831         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20832         (net-utils-run-simple): New function.
20833         (ifconfig, iwconfig, netstat, arp, route): Use it.
20835 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20837         * progmodes/gdb-mi.el (gdb-read-memory-custom)
20838         (gdb-memory-set-address, def-gdb-set-positive-number)
20839         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20840         after changing settings.
20841         (gdb-invalidate-disassembly): Update when first shown.
20842         (gdb-edit-locals-value): Fix.
20843         (gdb-registers-handler-custom): Print registers in right order and
20844         allow changing register values (only for current thread yet).
20845         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20846         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20847         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20848         (gdb-locals-handler-custom, gdb-registers-handler-custom):
20849         Thread info in mode name.
20850         (gdb-registers-mode-map): TAB to switch to locals.
20852 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
20854         * mail/rmail.el (rmail-add-mbox-headers)
20855         (rmail-set-message-counters-counter): Search for
20856         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
20858 2009-08-08  Glenn Morris  <rgm@gnu.org>
20860         * Makefile.in (ELCFILES): Update.
20862 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20864         * mail/sendmail.el (mail-yank-original):
20865         Set buffer-file-coding-system from the one used by the message whose
20866         text is yanked.
20868         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20869         to "windows" when "pgnuplot" is used.
20870         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20871         Don't call accept-process-output if "pgnuplot" is used.
20872         (calc-graph-init): Don't send -display and -geometry to
20873         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
20874         running "pgnuplot -V" with shell-command-to-string.
20876         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20877         the default.
20879 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20881         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20882         org/org-latex.elc.
20884 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
20886         * vc-dispatcher.el (vc-resynch-window): Update comment.
20888         * term.el (term-handle-ansi-escape): Add comments with the
20889         terminfo capabilities implemented.
20891 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
20893         * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
20894         (gdb-var-create-handler): Rewritten using JSON parser.
20895         (gdb-propertize-header): Move earlier.
20896         (gdb-set-header): Remove to avoid duplication.
20897         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20898         Refresh disassembly buffers only after threads list have been
20899         update.
20900         (gdb-threads-header, gdb-registers-header): Per-buffer header line
20901         variables.
20903 2009-08-04  Juri Linkov  <juri@jurta.org>
20905         * files.el: Commands to add/delete file/directory-local variables.
20906         (read-file-local-variable, read-file-local-variable-value)
20907         (read-file-local-variable-mode, modify-file-local-variable)
20908         (modify-file-local-variable-prop-line)
20909         (modify-dir-local-variable): New functions.
20910         (add-file-local-variable, delete-file-local-variable)
20911         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20912         (add-dir-local-variable, delete-dir-local-variable)
20913         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20914         (copy-dir-locals-to-file-locals-prop-line): New commands.
20916 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
20918         * abbrev.el (insert-abbrev-table-description): Prettify output.
20919         Suggested by Karl Chen.
20921 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
20923         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20924         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20925         (gdb-overlay-arrow-position, gdb-thread-position)
20926         (gdb-disassembly-position): Declare variables.
20927         (gdb-wait-for-pending): Function now.
20928         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20929         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20930         compilation goes smoothly.
20931         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20932         (gdb-non-stop-setting): New customization setting which replaces
20933         `gdb-non-stop' so changing it doesn't break active GDB session.
20934         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20935         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20936         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20937         (gdb-show-threads-by-default): New customization options.
20938         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20939         routines.
20940         (gdb-get-buffer-create): Send buffers update signal when they are
20941         created.
20942         (gdb-invalidate-locals, gdb-invalidate-registers)
20943         (gdb-invalidate-breakpoints)
20944         (gdb-invalidate-threads, gdb-invalidate-disassembly)
20945         (gdb-invalidate-memory): Accept update signal.
20946         (gdb-current-context-command): Use --frame option.
20947         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20948         Implement `gdb-frame-number' selection logic.
20949         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20950         whether to show GUD toolbar buttons.
20951         (gdb-thread-exited): Unselect current thread when it exits.
20952         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20953         (gdb-mark-line): Routine which sets overlay arrow or inverses
20954         video on fringeless displays.
20955         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20956         to build aligned columns of data in GDB buffers and set text
20957         properties line-by-line.
20958         (gdb-invalidate-breakpoints)
20959         (gdb-breakpoints-list-handler-custom)
20960         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20961         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20962         (gdb-registers-handler-custom): Align data columns.
20963         (gdb-locals-handler-custom): Now prints data like in variable
20964         declarations.
20965         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20966         Remove confusing buttons.
20967         (gdb-invalidate-threads): Append --frame.
20968         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20969         between breakpoints/threads buffers.
20970         (gdb-set-window-buffer): Now can ignore dedicated windows.
20971         (gdb-propertize-header): Use `gdb-set-window-buffer'.
20972         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20973         (def-gdb-thread-buffer-gud-command): Replaces
20974         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20975         for fine thread control.
20976         (gdb-preempt-existing-or-display-buffer): New function used to
20977         display bound buffers without breaking window layout.
20978         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20979         (gdb-select-frame): New version of `gdb-frames-select' which now
20980         sets `gdb-frame-number' so commands may use --frame option instead
20981         of inner debugger state.
20982         (gdb-frame-handler): Do not set `gdb-frame-number'.
20983         (gdb-threads-mode-map): Select threads with mouse.
20985         * progmodes/gud.el (gdb-gud-context-call): Declare function to
20986         avoid compilation warning.
20987         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20988         `gdb-show-stop-p`.
20990         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20991         Argument `key' renamed to `buffer-type'.
20992         (gdb-current-context-buffer-name): Do not add thread info to
20993         buffer name when no thread is selected.
20994         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20995         command (bug 3794).
20996         (gdb-thread-selected): Handle `=thread-selected' notification.
20997         (gdb-wait-for-pending): New macro to deal with congestion problems.
20998         (gdb-breakpoints-list-handler-custom): Don't fail on pending
20999         breakpoints.
21000         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21001         This fixes problem similar to one described in bug 3947.
21002         (gud-menu-map): More menu items.
21003         (gdb-init-1): Reset `gdb-thread-number' to nil.
21005         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21006         non-stop settings.
21008         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21009         (gdb-current-context-command): Do not append --thread if
21010         `gdb-thread-number' is nil.
21011         (gdb-running-threads-count, gdb-stopped-threads-count):
21012         New variables.
21013         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21014         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21015         New customization options.
21016         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21017         GUD commands.
21018         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21019         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21020         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21021         set `gdb-thread-number' and update `gud-running' properly.
21022         (gdb-running): Update threads list when new threads appear.
21023         (gdb-stopped): Support non-stop operation and new thread switching
21024         logic.
21025         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21026         (gdb-json-partial-output): New set of JSON routines.
21027         (def-gdb-auto-update-trigger): New `signal-list' optional
21028         argument.
21029         (gdb-thread-list-handler-custom): Update `gud-running',
21030         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21031         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21032         (gdb-continue-thread, gdb-step-thread): New commands for fine
21033         thread execution control.
21034         (gud-menu-map): New menu items to switch non-stop options.
21035         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21036         (gdb-send): Mimic RET properly (bug 3794).
21038         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21039         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21040         gdb-buffer-rules.
21041         (def-gdb-auto-update-handler): New nopreserve optional argument.
21042         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21044         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21045         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21046         (gdb-parent-mode): New mode to derive other GDB modes from.
21047         (gdb-display-disassembly-for-thread)
21048         (gdb-frame-disassembly-for-thread): New commands for threads
21049         buffer.
21051         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21052         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21053         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21054         (gdb-update): We now store all GDB buffers in a list so that they
21055         can be updated by traversing a list instead of calling invalidate
21056         triggers explicitly.
21057         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21058         pair for GDB buffer.
21059         (gdb-stack-buffer-name): Add thread information.
21060         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21061         handle pending triggers.
21062         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21063         (def-gdb-thread-buffer-simple-command)
21064         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21065         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21066         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21067         New commands which show buffers bound to thread.
21068         (gdb-stack-list-locals-regexp): Remove unused regexp.
21070         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21071         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21072         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21073         to (gud-comint-buffer) in *-buffer-name functions
21074         because (gdb-get-target-string) already does that.
21075         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21076         (gdb-changed-registers-handler): Rewritten without regexps.
21078         * progmodes/gdb-mi.el: Basic thread selection support.
21079         (gdb-thread-number): New variable.
21080         (gdb-current-context-command): New macro which adds --thread
21081         option to command.
21082         (gdb-threads-mode-map): Select thread with SPC.
21083         (gdb-thread-list-handler-custom): Mark current thread with overlay
21084         arrow.  Synchronize GDB thread and Emacs thread.
21085         (gdb-select-thread): New command which selects current thread.
21086         (gdb-invalidate-frames, gdb-invalidate-locals)
21087         (gdb-invalidate-registers): Use --thread option.
21089 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21091         * net/tramp.el (top): Make check for tramp-gvfs loading more
21092         robust.  (Bug#3977)
21093         (tramp-handle-insert-file-contents): `unwind-protect' must be
21094         inside `with-parsed-tramp-file-name'.
21096         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21097         fails.
21099 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21101         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21102         directory if CLASSPATH is not set.
21104 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21106         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21107         New defconst.
21108         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21110 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21112         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21113         Update freshmeat link.  Delete newsforge.com as it seems gone.
21115 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21117         * select.el (x-set-selection): Doc fix (Bug#4021).
21119         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21121         * help-fns.el (describe-variable): Treat list return values from
21122         dir-locals-find-file properly (Bug#4005).
21124 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21126         * net/tramp.el (tramp-debug-message): Print also microseconds.
21128 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21130         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21131         or END is non-nil.
21132         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21133         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21134         format.
21136         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21137         (tramp-get-file-property): Use it.
21139         * autorevert.el (auto-revert-handler):
21140         Allow `auto-revert-tail-mode' for remote files.
21142 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21144         * minibuffer.el (read-file-name): Treat confirm options to
21145         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21147 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21149         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21150         (font-lock-variable-name-face, font-lock-constant-face):
21151         Darken the colors for light backgrounds.
21153 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21155         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21156         month names.  (Bug#3987)
21158 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21160         * simple.el (line-move-finish): Pass whole number to
21161         line-move-to-column.
21162         (line-move-visual): Perform hscroll to the recorded position.
21164 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21166         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21168 2009-07-29  Alan Mackenzie  <acm@muc.de>
21170         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21172 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21174         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21175         (gdb-place-breakpoints): Use full path when setting breakpoints.
21177 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21179         * calc/calc.el (calc-mode-map): Add keybinding for
21180         `calc-transpose-lines'.
21182 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21184         * calc/calc-misc.el (calc-transpose-lines): New function.
21186 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21188         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21189         Simplify check for out-of-band methods.
21190         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21191         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21193 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21195         * vc-git.el (vc-git-checkin): Fix typo.
21197 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21199         * progmodes/js2-mode.el: New file.
21201 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21203         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21204         (gud-menu-map): Adjust tooltip accordingly.
21206 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21208         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21209         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21211         * add-log.el (change-log-mode-map): Add a menu.
21213 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21215         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21216         function returns nil.
21217         (dbus-handle-event): Handle special return value :ignore.
21218         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21220 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21222         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21223         it's not needed.
21225 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21227         Fix Bug#3888:
21229         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21231         * term/pc-win.el (x-display-name, x-colors)
21232         (x-select-enable-clipboard, x-select-text): Doc fix.
21234         * term/common-win.el (x-display-name, x-colors): Doc fix.
21236         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21237         (xw-defined-colors): Doc fix.
21239         * w32-fns.el (x-select-text, x-setup-function-keys)
21240         (x-get-selection, x-set-selection): Doc fix.
21242         * term/x-win.el (x-select-text, x-setup-function-keys)
21243         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21245         * select.el (x-set-selection): Doc fix.
21247 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21249         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21250         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21251         "IsNSSSupportAvailable" method is not available.
21252         Reported by Steve Youngs <steve@sxemacs.org>.
21254 2009-07-24  Kenichi Handa  <handa@m17n.org>
21256         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21257         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21258         (build-unicode-category-table): Fix range checks.
21260 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21262         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21263         the buffer we try to sync is current when calling
21264         vc-resynch-buffer.
21266         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21267         not show up to date files.
21269 2009-07-24  Glenn Morris  <rgm@gnu.org>
21271         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21272         Add autoload cookies.  If necessary, initialize.
21273         (elint-log): Handle non-file buffers.
21274         (elint-initialize): Add optional argument to reinitialize.
21275         (elint-find-builtin-variables): Save excursion.
21277 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21279         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21280         for Lint.
21282 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21284         * vc.el (vc-print-log-internal): New function, split out from ...
21285         (vc-print-log): ... here.
21286         (vc-dir-move-to-goal-column): Declare.
21288         * vc-git.el (vc-git-add-signoff): New variable.
21289         (vc-git-checkin): Use it.
21290         (vc-git-toggle-signoff): New function.
21291         (vc-git-extra-menu-map): Bind it to menu.
21292         (vc-git--run-command-string): Accept a nil FILE argument.
21293         (vc-git-stash-list): New function.
21294         (vc-git-dir-extra-headers): Use it.
21296 2009-07-23  Glenn Morris  <rgm@gnu.org>
21298         * help-fns.el (describe-variable): Describe ignored and risky local
21299         variables in a similar way to that in which we describe safe ones.
21301         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21302         (byte-compile-output-file-form, byte-compile-output-docform)
21303         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21304         Give some more local variables with common names a "bytecomp-" prefix,
21305         so as not to shadow things during compilation.
21306         * emacs-lisp/cl-macs.el (load-time-value)
21307         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21308         `outbuffer' to `bytecomp-outbuffer'.
21310         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21311         since the next two variables cover them automatically now.
21312         (elint-builtin-variables, elint-autoloaded-variables): New.
21313         (elint-unknown-builtin-args): Remove all members, since they can be
21314         parsed automatically now.
21315         (elint-extra-errors): New.
21316         (elint-env-add-env, elint-env-add-macro): Use cadr.
21317         (elint-current-buffer): Use or.  Change final message.
21318         (elint-get-top-forms): Use line-end-position.
21319         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21320         and defalias.
21321         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21322         (regexp-assoc): Remove unused function.
21323         (elint-top-form): Set elint-current-pos, to record the start of the
21324         top-level form, for compilation-mode.
21325         (elint-form): Trap errors in macro expansion.  Use dolist.
21326         (elint-unbound-variable): Use elint-builtin-variables and
21327         elint-autoloaded-variables.
21328         (elint-get-args): Use cadr, or.
21329         (elint-check-cond-form): Use dolist, cadr.
21330         (elint-check-condition-case-form): Doc fix.  Use cadr.
21331         Use elint-extra-errors.
21332         (elint-log): New function.
21333         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21334         Distinguish errors and warnings.
21335         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21336         Use a bytecomp-style format.
21337         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21338         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21339         Don't truncate lines.
21340         (elint-initialize): Set builtin and autoloaded variable lists.
21341         Only process elint-unknown-builtin-args if non-nil.
21342         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21343         New functions.
21344         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21346 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21348         * net/newst-backend.el (newsticker--parse-atom-1.0)
21349         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21350         (newsticker--parse-rss-1.0):
21351         * progmodes/idlwave.el (idlwave-mode):
21352         * progmodes/idlw-shell.el (idlwave-shell-mode):
21353         * progmodes/vera-mode.el (vera-mode):
21354         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21355         * progmodes/vhdl-mode.el (vhdl-mode):
21356         * textmodes/table.el (table-generate-source)
21357         (table--warn-incompatibility):
21358         Hyperlink urls in docstrings with URL `...'.
21360 2009-07-22  Glenn Morris  <rgm@gnu.org>
21362         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21363         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21364         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21365         Remove leading * from defcustom docs.
21367         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21369         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21370         defcustom doc.
21371         (list-load-path-shadows): Optionally, just return shadows as a string.
21373         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21375 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21377         * mail/rmailedit.el (rmail-edit-mode):
21378         Use auto-save-include-big-deletions.
21380         * mail/rmail.el (rmail-variables):
21381         Use auto-save-include-big-deletions.
21383         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21384         changes.
21386 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21388         * calc/calc.el (calc-undo-length): New variable.
21389         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21391 2009-07-21  Richard Stallman  <rms@gnu.org>
21393         * files.el (auto-save-mode): Handle buffer-save-size = -2
21394         for toggling mode.
21396 2009-07-21  Glenn Morris  <rgm@gnu.org>
21398         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21400         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21402         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21403         silence compiler.  Instead...
21404         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21405         (ps-print-ensure-fontified): Update for above function name changes.
21407         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21408         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21409         silence compiler.  Instead...
21410         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21411         (mh-show-buffer): Only define for compiler.
21412         (pr-mh-current-message): Update for above function name changes.
21414         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21415         as an argument.
21416         (find-file-noselect, insert-file-1): Update for above change.
21418         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21420         * mail/mailclient.el (mailclient-send-it): Fix message.
21422         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21423         (edebug-eval): Check cl-debug-env is bound.
21424         (print-level, print-circle): Don't redefine built-in variables.
21426         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21427         (custom-print-vectors): Remove old comments from doc.
21429         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21430         (emerge-version): Make the variable an obsolete alias for the
21431         emacs-version variable.  Make the function obsolete.
21432         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21433         Emerge options, rather than merging in into the main Options menu.
21434         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21435         and auto advance modes.  Disable edit/fast items when not relevant.
21437 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21439         * term/vt420.el (terminal-init-vt420): Fix typo.
21441 2009-07-20  Sam Steingold  <sds@gnu.org>
21443         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21444         variable (removed from compile.el on 2004-03-11).
21446 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21448         * files.el (hack-local-variables-filter): Fix last change.
21450 2009-07-19  Juri Linkov  <juri@jurta.org>
21452         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21453         (dir-local-variables-alist): New buffer-local variable.
21454         (hack-local-variables-filter): If variable is not dir-local,
21455         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21456         because file-local overrides dir-local.
21457         (c-postprocess-file-styles) <declare-function>:
21458         Remove obsolete declaration.
21459         (hack-dir-local-variables): Add dir-local variable/value pair to
21460         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21462         * help-fns.el (describe-variable): Add information about
21463         file-local and dir-local variables.
21465 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21467         * files.el (hack-local-variables-filter): Rewrite.
21469 2009-07-19  Glenn Morris  <rgm@gnu.org>
21471         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21472         Silence compiler by only defining on XEmacs.
21474         * international/mule.el (auto-coding-regexp-alist): Only match
21475         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21477         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21478         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21479         (cal-menu-context-mouse-menu): Doc fix.
21481         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21483         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21485 2009-07-18  Juri Linkov  <juri@jurta.org>
21487         * info.el: Virtual Info keyword finder.
21488         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21489         (Info-finder-file): New variable.
21490         (Info-finder-find-file): New function.
21491         (finder-known-keywords, finder-package-info)
21492         (find-library-name, lm-commentary): Use defvar and
21493         declare-function to silence compiler warnings.
21494         (Info-finder-find-node): New function.
21495         (info-finder): New command.
21497         * subr.el (process-kill-buffer-query-function): New function.
21498         (add-hook)<kill-buffer-query-functions>: Add hook
21499         `process-kill-buffer-query-function'.
21501 2009-07-18  Alan Mackenzie  <acm@muc.de>
21503         * progmodes/cc-mode.el (c-before-hack-hook)
21504         (c-postprocess-file-styles): Give invocation of `c-set-style'
21505         DONT-OVERRIDE parameter of t.  Already set style variables will
21506         thus not be overridden by style settings given by `c-file-syle'.
21508         * files.el (hack-local-variables-filter): Remove entries with
21509         duplicate keys from `file-local-variables-alist'.
21511 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21513         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21514         x-set-selection if display-selections-p returns nil for the
21515         current frame.
21517 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21519         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21521 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21523         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21524         Accept nil in addition to a regexp.
21525         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21526         Accept nil in addition to a regexp.
21527         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21528         buffers that have an associated file.  Handle nil values of
21529         desktop-buffers-not-to-save and desktop-files-not-to-save.
21530         (Bug#3833)
21532         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21533         (x-disown-selection-internal): New functions.
21535 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21537         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21538         warning.
21539         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21540         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21542 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21544         * simple.el (set-mark): Revert last change.
21546 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21548         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21549         rendering of pngs is not possible instead of messaging a long
21550         description.
21552 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21554         * w32-fns.el (x-selection-owner-p): New function.
21556         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21557         (mouse-yank-at-click, mouse-yank-primary):
21558         If select-active-regions is non-nil, deactivate the mark before
21559         insertion.
21561         * simple.el (deactivate-mark, set-mark): Only save selection if we
21562         own it.
21564 2009-07-17  Kenichi Handa  <handa@m17n.org>
21566         * case-table.el (describe-buffer-case-table): Fix for the case
21567         that KEY is a cons.
21569 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21571         * vc-rcs.el (vc-rcs-find-file-hook):
21572         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21574 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21576         * net/tramp.el (tramp-wait-for-output): Handle the case when
21577         commands do not return a newline but a null byte before the shell
21578         prompt.  (Bug#3858)
21580 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21582         * term/ns-win.el (ns-set-alpha): Don't declare.
21583         (ns-set-background-alpha): Remove function.
21585 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21587         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21588         y-or-n-p, for safety.
21590 2009-07-16  Richard Stallman  <rms@gnu.org>
21592         * files.el (auto-save-mode): If buffer-saved-size is -2,
21593         don't clobber it.
21595         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21596         (rmail-retry-ignored-headers): Add more uninteresting fields.
21598 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21600         * net/rcirc.el (rcirc): Use history variables.
21601         (rcirc-server-name-history, rcirc-nick-name-history)
21602         (rcirc-server-port-history): New variables.
21604 2009-07-15  Kenichi Handa  <handa@m17n.org>
21606         * international/mule-cmds.el (set-language-environment-charset):
21607         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21608         ignore them.
21610         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21611         Delete unibyte-display.
21613 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21615         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21617 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21619         * simple.el (deactivate-mark): Optional argument FORCE.
21620         (set-mark): Use deactivate-mark.
21622         * info.el (Info-search): No need to check transient-mark-mode
21623         before calling deactivate-mark.
21625         * select.el (x-set-selection): Doc fix.
21626         (x-valid-simple-selection-p): Allow buffer values.
21627         (xselect--selection-bounds): Handle buffer values.
21628         Suggested by David De La Harpe Golden.
21630         * mouse.el (mouse-set-region, mouse-drag-track):
21631         Call copy-region-as-kill before setting the mark, to let
21632         select-active-regions work.
21634 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21636         * simple.el (deactivate-mark): If select-active-regions is
21637         non-nil, copy the selection data into a string.
21638         (activate-mark): If select-active-regions is non-nil, set the
21639         selection to the current buffer.
21640         (set-mark): Update selection if select-active-regions is non-nil.
21642         * select.el (x-valid-simple-selection-p): Allow buffer values.
21644 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21646         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21647         and more featureful message-mode.
21649 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21651         * select.el (x-set-selection): Doc fix.
21652         (x-valid-simple-selection-p): Disallow selection data consisting
21653         of a list or cons of integers, since that is not used.
21654         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21655         (xselect-convert-to-string, xselect-convert-to-length)
21656         (xselect-convert-to-filename, xselect-convert-to-charpos)
21657         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21659 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21661         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21662         output in -break-info command (Emacs bug #3794).
21664 2009-07-14  Glenn Morris  <rgm@gnu.org>
21666         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21667         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21668         (edebug-print-length, edebug-print-level, edebug-print-circle)
21669         (edebug-sit-for-seconds, edebug-view-outside)
21670         (edebug-bounce-point, edebug-set-global-break-condition)
21671         (edebug-Go-nonstop-mode, edebug-trace-mode)
21672         (edebug-Trace-fast-mode, edebug-continue-mode)
21673         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21674         (edebug-visit-eval-list): Doc fixes.
21676         * subr.el (def-edebug-spec): Doc fix.
21678 2009-07-14  Kenichi Handa  <handa@m17n.org>
21680         * international/characters.el: Fix setting of category ?C.
21682 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
21684         * term/ns-win.el (x-select-font): defalias x-select-font to
21685         ns-popup-font-panel instead of generate-fontset-menu.
21687 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
21689         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
21691 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
21693         * arc-mode.el (archive-find-type): Allow for a PK00 string before
21694         the PK\003\004 header (Bug#3770).
21696 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
21698         * pcomplete.el (pcomplete-comint-setup): Check for
21699         shell-dynamic-complete-filename too.
21701 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
21703         * simple.el (temporary-goal-column): Change the value for
21704         line-move-visual to a cons cell.
21705         (line-move-visual): Record or set the window hscroll, if
21706         necessary (Bug#3494).
21707         (line-move-1): Handle cons value of temporary-goal-column.
21709 2009-07-11  Kenichi Handa  <handa@m17n.org>
21711         * international/mule-diag.el (describe-character-set): Don't show
21712         width.
21714 2009-07-10  Sam Steingold  <sds@gnu.org>
21716         * progmodes/compile.el (compilation-mode-font-lock-keywords):
21717         Omake sometimes indents the errors it prints, so allow all
21718         regexps to start with spaces.
21720 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
21722         * cus-edit.el (customize-changed-options-previous-release):
21723         Bump value to 22.1.  (Bug#3804)
21725 2009-07-08  Sam Steingold  <sds@gnu.org>
21727         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21728         to be a cons cell (test . ignored-directory) to selectively ignore
21729         some directories depending on the location of the search.
21731 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
21733         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21734         remote user is root, on the local host.
21735         (tramp-local-host-p): Either the local user or the remote user
21736         must be root.  (Bug#3771)
21738 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21740         * progmodes/gdb-mi.el (gdb): Remove description of
21741         gdb-use-separate-io-buffer.
21742         (menu): Don't allow toggling of or enable
21743         gdb-use-separate-io-buffer from menubar.
21745 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21747         * mail/unrmail.el (unrmail): Make sure the message ends with two
21748         newlines (Bug#3769).
21750 2009-07-08  Glenn Morris  <rgm@gnu.org>
21752         * calendar/calendar.el (calendar-current-date): Rework previous change.
21754 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
21756         * calendar/calendar.el (calendar-current-date):
21757         Add an optional argument giving an offset from today.
21759 2009-07-08  Glenn Morris  <rgm@gnu.org>
21761         * tutorial.el (tutorial--describe-nonstandard-key):
21762         Adjust the message for when a key has been unbound.
21763         (help-with-tutorial): Hide the arch-tag.
21765 2009-07-08  Kenichi Handa  <handa@m17n.org>
21767         * international/fontset.el (setup-default-fontset): For each
21768         script, append (not set) font-specs.
21770         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21771         docstring.
21773 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21775         * progmodes/gdb-mi.el (gdb-init-1): Move sending
21776         -data-list-register-names to ...
21777         (gdb-starting): ... here because GDB 7.0 requires execution to
21778         have started when using this MI command.
21779         (gdb-set-header): New function to distinguish select and
21780         unselected tabs in gdb buffers.
21781         (gdb-propertize-header): New macro that uses gdb-set-header.
21782         (gdb-breakpoints-header, gdb-locals-header): Use it.
21783         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21785 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
21787         * Makefile.in (ELCFILES): Remove fadr.elc.
21789 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
21791         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21792         may contain frame information, so `string-match' should be used.
21793         (gdb-update): Disassembly is invalidated through
21794         `gdb-get-selected-frame'.
21795         (gdb-pad-string): New function to pad string with spaces.
21796         (gdb-invalidate-disassembly): Invalidate only if the buffer
21797         exists.
21798         (gdb-disassembly-handler-custom): Column alignment.
21799         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21800         placing new ones.
21801         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21802         end of line, too.
21803         (gdb-frame-handler): Match convention to for disassembly buffer
21804         mode name.
21805         (gdb-stack-list-frames-handler): Rewritten without regexps.
21806         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21807         not highlight breakpoints without line information.
21808         (gdb-input): Add trailing newline to command.
21810         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21811         buffer properly.
21812         (gdb-breakpoints-list-handler-custom): Replacement for
21813         `gdb-break-list-handler'.  Using real parser instead of regexps
21814         now.
21815         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21816         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21817         to place breakpoints.
21818         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21819         functions.
21820         (gdb-disassembly-handler-custom): Show overlay arrow.
21821         (gdb-disassembly-place-breakpoints): Show breakpoints in
21822         disassembly buffer.
21823         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21824         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21825         instead of parsing breakpoints buffer.  Fixed old menu references
21826         in `gud-menu-map'.
21828         * fadr.el: Remove.
21830         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21831         (gdb-memory-address): New variable which holds top address of
21832         memory page shown in memory buffer.
21833         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21834         New customization variables.
21835         New functions:
21836         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21837         display the memory buffer.
21838         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21839         buffer display parameters.
21840         (def-gdb-memory-format, gdb-memory-format-binary)
21841         (gdb-memory-format-octal, gdb-memory-format-unsigned)
21842         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21843         Functions for setting memory buffer format.
21844         (gdb-memory-unit-word, gdb-memory-unit-halfword)
21845         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21846         unit size used in memory buffer.
21847         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21848         Switch to next/previous page of memory buffer.
21849         Now using (bindat-get-field) instead of fadr functions.
21851 2009-07-07  Sam Steingold  <sds@gnu.org>
21853         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21854         non-top-level files.
21856 2009-07-07  Kenichi Handa  <handa@m17n.org>
21858         * international/mule-cmds.el (reset-language-environment):
21859         Put the highset priority to the charset iso-8859-1.
21861 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21863         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21864         to the end of the line when locating the block (Bug#700).
21866 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
21868         * net/tramp.el (tramp-handle-write-region): Flush file properties
21869         in case of short track.
21871 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
21873         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21874         Coded custom representation of verilog error regular expressions
21875         to work with Emacs-22's new format.
21876         (verilog-error-regexp-xemacs-alist): Coded custom representation
21877         of verilog error regular expressions to work with XEmacs format.
21878         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21879         error recognition into XEmacs.
21880         (verilog-error-regexp-add-emacs): Hook routine to install verilog
21881         error recognition into Emacs-22.
21883 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21885         * woman.el: Remove stand-alone closing parentheses.
21886         (woman-file-name, woman2-format-paragraphs)
21887         (woman-leave-blank-lines): Code cleanup.
21888         (woman-use-own-frame): Change default to nil.
21889         (woman-italic, woman-bold, woman-unknown, woman-addition):
21890         Change defaults to inherit from default faces.
21891         (woman2-process-escapes): Consume the newline after a stand-alone
21892         filler character (Bug#3651).
21894 2009-07-06  Glenn Morris  <rgm@gnu.org>
21896         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21897         (top-level): Move provide to the end.
21898         (ffap): Remove defunct URL from custom group.
21900         * subr.el (eval-after-load): Doc fix.
21902 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
21904         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21905         `calc-embedded-word' is called twice.
21907 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21909         * files.el (find-alternate-file-other-window, find-alternate-file):
21910         Obey confirm-nonexistent-file-or-buffer.
21912 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
21914         * dired-aux.el (dired-show-file-type): Handle remote files.
21916 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
21918         * desktop.el (desktop-globals-to-save):
21919         Add file-name-history (Bug#2750).
21921 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
21923         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21925 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
21927         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21928         property on entire argument since this is what eshell-lisp-command
21929         expects.
21931 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
21933         * net/tramp-gvfs.el (tramp-gvfs-methods)
21934         (tramp-gvfs-zeroconf-domain)
21935         (tramp-bluez-discover-devices-timeout): Add version flag.
21936         (tramp-gvfs-handler-mounted-unmounted)
21937         (tramp-gvfs-connection-mounted-p): Polish handling of
21938         incompatibilities between GVFS 0.2 and 1.0.
21940 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
21942         * cus-start.el (all): Add make-pointer-invisible.
21944 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
21946         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21947         formatted correctly.
21949 2009-07-02  Juri Linkov  <juri@jurta.org>
21951         * info.el: Virtual Info files and nodes.
21952         (Info-virtual-files, Info-virtual-nodes): New variables.
21953         (Info-current-node-virtual): New variable.
21954         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21955         New functions.
21956         (Info-file-supports-index-cookies): Use Info-virtual-file-p
21957         to check for a virtual file instead of checking a fixed list
21958         of node names.
21959         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21960         instead of ad-hoc processing of "dir" and (apropos history toc).
21961         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21962         instead of ad-hoc processing of "dir" and (apropos history toc).
21963         Reread a file when moving from a virtual node.
21964         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21965         (Info-directory-toc-nodes, Info-directory-find-file)
21966         (Info-directory-find-node): New functions.
21967         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21968         (Info-history): Move part of code to
21969         `Info-history-find-node'.
21970         (Info-history-toc-nodes, Info-history-find-file)
21971         (Info-history-find-node): New functions.
21972         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21973         (Info-toc): Move part of code to `Info-toc-find-node'.
21974         (Info-toc-find-node): New function.
21975         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
21976         the current Info file name to references because now the node
21977         "*TOC*" belongs to the same Info manual.
21978         (Info-toc-build): Rename from `Info-build-toc'.
21979         (Info-toc-nodes): Rename input argument `file' to `filename'.
21980         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21981         instead of ad-hoc processing of ("dir" apropos history toc).
21982         (Info-index-nodes): Use Info-virtual-file-p
21983         to check for a virtual file instead of checking a fixed list
21984         of node names.
21985         (Info-index-node): Add check for `Info-current-node-virtual'.
21986         Raise `save-match-data' higher up the tree to contain
21987         `search-forward' too (bug fix).
21988         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21989         (Info-virtual-index-nodes): New variable.
21990         (Info-virtual-index-find-node, Info-virtual-index): New functions.
21991         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21992         (Info-apropos-file, Info-apropos-nodes): New variables.
21993         (Info-apropos-toc-nodes, Info-apropos-find-file)
21994         (Info-apropos-find-node, Info-apropos-matches): New functions.
21995         (info-apropos): Move part of code to `Info-apropos-find-node' and
21996         `Info-apropos-matches'.
21997         (Info-mode-map): Bind "I" to `Info-virtual-index'.
21998         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21999         for a virtual file instead of checking a fixed list of node names.
22001         * simple.el (async-shell-command): New command.
22003         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22005         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22006         instead of `mount-info'.
22008 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22010         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22011         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22013 2009-07-02  Kenichi Handa  <handa@m17n.org>
22015         * international/mule.el (set-keyboard-coding-system): Force *-unix
22016         coding-system to avoid eol conversion.
22018 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22020         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22021         Add handler for `process-file', `shell-command' and
22022         `start-file-process'.
22023         (tramp-gvfs-handle-shell-command)
22024         (tramp-gvfs-handle-start-file-process)
22025         (tramp-gvfs-handle-process-file): New defuns.
22026         (tramp-synce-list-devices): Simplify check for existence of property.
22028 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22030         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22032 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22034         * language/korean.el (set-language-info-alist): Add korean-cp949,
22035         cp949 to spec.
22037 2009-07-01  Kenichi Handa  <handa@m17n.org>
22039         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22041         * international/encoded-kb.el: Deleted.
22043         * international/mule.el (set-keyboard-coding-system): Perform the
22044         necessary setup here instead of calling encoded-kbd-setup-display.
22046 2009-07-01  Glenn Morris  <rgm@gnu.org>
22048         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22050 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22052         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22054 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22056         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22057         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22058         (tramp-default-file-modes): Remove execute permissions.
22060         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22061         (top): Add a default for "synce" in `tramp-default-user-alist'.
22062         Add completion function for "synce" method.
22063         (tramp-hal-service, tramp-hal-path-manager)
22064         (tramp-hal-interface-manager, tramp-hal-interface-device):
22065         New defconst.
22066         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22067         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22068         New defuns.
22070         * net/trampver.el: Update release number.
22072 2009-06-30  Kenichi Handa  <handa@m17n.org>
22074         * international/fontset.el (setup-default-fontset): Add CJK fonts
22075         for symbols and the other miscellaneous characters.
22077         * language/korea-util.el (setup-korean-environment-internal):
22078         Make char-width-table suitable for Korean environments.
22079         (exit-korean-environment): Cancel above.
22081         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22082         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22083         setup-function to make char-width-table suitable for respective
22084         environments, and an exit-function to cancel that.
22086         * language/japan-util.el (setup-japanese-environment-internal):
22087         Call use-cjk-char-width-table with arg `ja_JP'.
22089         * international/characters.el (cjk-char-width-table): Delete it.
22090         (cjk-char-width-table-list): New variable.
22091         (use-cjk-char-width-table): New arg local-name.
22092         (use-default-char-width-table): Fix for the case that Emacs is
22093         already using the default char-width-table.
22095 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22097         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22098         modes mandatory.  (Bug#3712)
22100 2009-06-29  Alan Mackenzie  <acm@muc.de>
22102         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22103         correction between the visible width of TABs and their number of bytes.
22105 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22107         * server.el (server-buffer-done): Prevent kill-buffer from
22108         prompting by clearing the buffer modification flag (Bug#3696).
22110 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22112         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22113         (verilog-endcomment-reason-re): Support unique case and priority case.
22114         (verilog-basic-complete-re): Support localparam lineup.
22115         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22116         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22117         commenting.
22118         (verilog-leap-to-case-head): Now support *nested* unique &
22119         priority case statements.
22120         (verilog-auto-lineup): Make just declarations the default (as it
22121         had been).
22122         (verilog-leap-to-case-head): Support priority/unique case statements.
22123         (verilog-auto-lineup): Rework to give users radio buttons to
22124         select the various styles of automatic lineup.
22125         (verilog-error-regexp-alist): Rework to support the XEmacs style
22126         of error regular expressions from compilers, lint tools &
22127         simulators.  Note that GNU Emacs has made it impossible for a mode
22128         to load such things.
22129         (electric-verilog-terminate-line, verilog-indent-declaration)
22130         (verilog-auto-wiure): Rework for radio button selection of
22131         auto-lineup selection of specification of auto lineup.
22132         (verilog-beg-of-statement-1): Redesign to support proper operation
22133         in additional code, based on testing with auto-lineup.
22134         (verilog-calculate-indent, assignments & declarations)
22135         (verilog-backward-token): Enhance to support auto-lineup of
22136         assignments & declarations.
22137         (verilog-in-directive-p, verilog-at-struct-p): New function for
22138         easy test of whether we are.
22139         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22140         to support safe execution at almost anyline.
22141         (verilog-calc-1): Properly support indenting deep inside generate
22142         blocks.
22143         (verilog-init-font): Remove definition & use of verilog-init-font,
22144         as it is redundant with font-lock-defaults.
22145         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22146         to avoid circular calls if syntax-ppss is a function (as is the
22147         case now in 22.x GNU Emacs) as that function would sometimes call
22148         itself, leading to (nearly) infinite recursion.
22149         (verilog-ovm-begin-re, verilog-ovm-end-re)
22150         (verilog-ovm-statement-re, verilog-leap-to-head)
22151         (verilog-backward-token): Add support for OVM macros.  Some are
22152         complete statements, and others open and close scopes like begin
22153         and end.
22154         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22155         (verilog-defun-level-generate-only-re): Really fix the defun-list
22156         compilation issue.
22157         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22158         coverpoint, constraint and cross statements.
22159         (verilog-defun-level-list, verilog-generate-defun-level-list)
22160         (verilog-all-defun-level-list): Redo these specifications - it is
22161         too hard to support eval-when compile aggregation of lists also
22162         built at when-compile time.
22163         (verilog-defun-level-list): Place defconsts of variables used in
22164         building regular expressions which are built in eval-when-compile
22165         bodies in the same eval-when-compile body to facilitate compile
22166         without load.
22167         (verilog-beg-block-re-ordered): Support indenting
22168         virtual/protected tasks and functions.
22169         (verilog-defun-level-list, verilog-in-generate-region-p)
22170         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22171         indentation of some module items (generate items).
22172         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22173         across virtual/protected tasks and functions.
22175 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22177         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22178         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22179         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22180         in concatenations.  Reported by Yishay Belkind.
22181         (verilog-auto-ascii-enum): Support one-hot state machines in
22182         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22183         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22184         modport in AUTOINST and add vl-modport for users.
22185         Reported by David Rogoff.
22186         (verilog-auto-inout-module, verilog-auto-inst)
22187         (verilog-decls-get-interfaces, verilog-insert-definition)
22188         (verilog-insert-one-definition, verilog-read-decls)
22189         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22190         (verilog-sig-modport, verilog-signals-combine-bus)
22191         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22192         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22193         Suggested by David Rogoff.
22194         (verilog-repair-open-comma): Fix non-insertion of comma when
22195         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22196         (verilog-make-width-expression): Simplify [A-1:0] expression
22197         widths to just {A{1'b0}}.
22198         (verilog-mode): Cleanup checkdoc warnings.
22199         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22200         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22201         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22202         (next-error-last-buffer): Fix byte-compiler warning.
22203         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22204         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22205         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22206         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22207         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22208         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22209         in AUTOINOUT.  Reported by Matthew Lovell.
22210         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22211         causing use of <= assignments.  Reported by Alex Reed.
22212         (verilog-read-decls): Fix triand, trior, wand, wor to be
22213         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22214         (verilog-extended-complete-re): Support import "DPI-C" functions.
22215         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22216         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22217         (verilog-insert-date, verilog-insert-year)
22218         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22219         Windows systems.  Reported by Michael Potts.
22220         (verilog-read-module-name): Fix AUTOINST when the child module
22221         declaration's name is a tick define.  Reported by Elliot Mednick.
22222         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22223         passed to next parameter's definition.  Reported by Bruce T.
22224         (verilog-read-decls): Fix detecting "parameter int" when using
22225         AUTOINSTPARAM.  Reported by Bruce T.
22226         (verilog-goto-defun): Fix goto not finding modules unless first
22227         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22228         (verilog-mode): Expand -f flag arguments on entry to mode so
22229         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22230         (verilog-getopt): Expand environment variables in -f file
22231         arguments.  Suggested by Lawrence Butcher.
22232         (verilog-set-define): Fix "Symbol's value as variable is void"
22233         when reading enumerations.
22234         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22235         Suggested by Stephen Peltan.
22236         (verilog-read-defines): Fix reading of enumerations in include
22237         files.  Reported by Steve Peltan.
22239 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22241         * files.el (trash-directory): Fix defcustom type.
22243 2009-06-28  Juri Linkov  <juri@jurta.org>
22245         * help-fns.el (describe-function-1): Correctly locate adviced
22246         functions in hyperlink (Bug#2438).
22248 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22250         * files.el (trash-directory): Change default to nil.
22251         (move-file-to-trash): If trash-directory is nil and
22252         system-move-file-to-trash is unbound, perform freedesktop-style
22253         trashing.
22255 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22257         * files.el (move-file-to-trash): Add freedesktop trash
22258         support (Bug#973).
22260 2009-06-28  Glenn Morris  <rgm@gnu.org>
22262         * autorevert.el (global-auto-revert-non-file-buffers)
22263         (global-auto-revert-mode): Doc fixes.
22265 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22267         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22269 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22271         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22272         opened an X connection before calling x-get-resource (Bug#3194).
22274         * play/doctor.el: Remove reference to obsolete website.
22275         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22277 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22279         Remove find-file-not-found-hook VC method.  (Bug#2757)
22280         * vc-hooks.el (vc-file-not-found-hook)
22281         (vc-default-find-file-not-found-hook): Remove functions.
22282         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22283         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22284         * vc.el:
22285         * vc-hg.el:
22286         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22288 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22290         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22291         compatibility function for `looking-back'.
22293         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22294         Use `ispell-looking-back'.
22296 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22298         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22299         rather than `filename'.
22301 2009-06-23  Miles Bader  <miles@gnu.org>
22303         * face-remap.el (text-scale-set): New function.
22305 2009-06-23  Glenn Morris  <rgm@gnu.org>
22307         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22309         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22311         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22313         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22315         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22316         Simplify Persian conditionals.
22318         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22319         variable `filename'.
22321         * comint.el (comint-insert-input): Doc fix.
22323         * Makefile.in (ELCFILES): Fix typo in previous change.
22325 2009-06-23  Miles Bader  <miles@gnu.org>
22327         * cus-start.el: Add entry for `recenter-redisplay'.
22329 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22331         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22332         Add an optional argument for the backend, use it instead of
22333         calling vc-backend.
22334         (vc-mode-line): Add an optional argument for the backend.
22335         Pass the backend to vc-state and vc-working-revision.  Move code for
22336         special handling for vc-state being a buffer to ...
22338         * vc-rcs.el (vc-rcs-find-file-hook):
22339         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22341         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22342         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22343         vc-stay-local-p and vc-mode-line calls.
22345         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22346         (vc-cvs-diff, vc-cvs-annotate-command)
22347         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22348         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22349         vc-mode-line calls.
22351         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22352         direct comparison.
22353         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22354         backend when calling vc-mode-line.
22355         (vc-register): Do not create a closure for calling the vc register
22356         function, call it directly.
22358 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22360         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22361         to make it obvious item can be clicked.
22363         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22365 2009-06-23  Kenichi Handa  <handa@m17n.org>
22367         * language/korea-util.el (korean-key-bindings): Change the binding
22368         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22369         same command.
22371 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22373         Sync with Tramp 2.1.16.
22375         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22377         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22378         when a loading of a package fails.  Completion function for rsync
22379         is `tramp-completion-function-alist-ssh'.
22380         (all): Replace all calls of `split-string' and
22381         `tramp-split-string' by `tramp-compat-split-string'.
22382         (tramp-default-method): Use `tramp-compat-process-running-p'.
22383         (tramp-default-proxies-alist): Allow also Lisp forms.
22384         (tramp-remote-path): Add choice "Private Directories".
22385         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22386         (tramp-domain-regexp): Allow also "-", "_" and ".".
22387         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22388         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22389         (tramp-debug-message): Insert header line in debug buffer.
22390         (tramp-handle-directory-files-and-attributes-with-stat):
22391         Care about filenames with spaces, or starting with "-".
22392         (tramp-handle-dired-uncache): New defun.
22393         (tramp-handle-insert-directory): Don't flush the directory from
22394         cache, this is handled by `dired-uncache' now.
22395         (tramp-handle-insert-file-contents): Improve error handling.
22396         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22397         Quote `tramp-end-of-output'.
22398         (tramp-action-password): Improve trace message.
22399         (tramp-check-for-regexp): Both echoes must be present, before removing.
22400         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22401         (tramp-compute-multi-hops): Eval cons cells of
22402         `tramp-default-proxies-alist'.
22403         (tramp-maybe-open-connection): Use the same command pattern for
22404         first hop and further hops.
22405         (tramp-wait-for-output): Remove handling of newlines.
22406         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22407         (tramp-split-string): Remove function.  It is handled in
22408         tramp-compat now.
22410         * net/tramp-cmds.el (tramp-bug):
22411         Recommend `tramp-cleanup-all-connections' in the bug mail.
22413         * net/tramp-compat.el (tramp-compat-split-string)
22414         (tramp-compat-process-running-p): New defuns.
22416         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22417         for `dired-uncache'.
22419         * net/tramp-gvfs.el: New package.
22421         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22422         Add handler for `dired-uncache'.
22423         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22425         * net/trampver.el: Update release number.  Make version check fit
22426         for SXEmacs 22.
22428 2009-06-22  Jim Meyering  <meyering@redhat.com>
22430         Automatically handle .xz suffix (XZ-compressed files), too.
22431         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22432         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22434 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22435             Nick Roberts  <nickrob@snap.net.nz>
22437         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22438         repository (http://sphinx.net.ru/hg/gdb-mi/).
22440 2009-06-22  Glenn Morris  <rgm@gnu.org>
22442         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22443         `mode' and `eval' entries.  (Bug#3430)
22445         * Makefile.in (ELCFILES): Add fadr.elc.
22447         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22448         differing behavior of \n and ^ in strings.  (Bug#3385)
22450         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22452         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22453         property.
22454         (lisp-indent-function): Make it a defcustom.
22456 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22458         * progmodes/gdb-ui.el: Replace with ...
22459         * progmodes/gdb-mi.el: ... this file.
22460         * progmodes/gud.el: Modify for gdb-mi.el.
22462 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22464         * fadr.el: New file.
22466 See ChangeLog.14 for earlier changes.
22468 ;; Local Variables:
22469 ;; coding: utf-8
22470 ;; End:
22472   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22474   This file is part of GNU Emacs.
22476   GNU Emacs is free software: you can redistribute it and/or modify
22477   it under the terms of the GNU General Public License as published by
22478   the Free Software Foundation, either version 3 of the License, or
22479   (at your option) any later version.
22481   GNU Emacs is distributed in the hope that it will be useful,
22482   but WITHOUT ANY WARRANTY; without even the implied warranty of
22483   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22484   GNU General Public License for more details.
22486   You should have received a copy of the GNU General Public License
22487   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.