startup.el trivia.
[emacs.git] / lisp / ChangeLog
blobfb1246f9fddf52a28c1762e96351aa36d07352ce
1 2010-12-03  Glenn Morris  <rgm@gnu.org>
3         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4         (normal-top-level-add-to-load-path, tty-handle-args):
5         Convert comments to basic doc-strings.
7         * net/browse-url.el (browse-url-url-at-point)
8         (browse-url-default-browser): Remove autoload cookies.
10         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
11         Remove more undefined cl functions.
13         * vc/diff.el (diff-sentinel): Make new arguments optional.
14         * ibuf-ext.el (diff-sentinel): Update declaration.
16 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
18         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
19         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
20         (epg-context-set-passphrase-callback): Mention that the callback
21         is not called when used with GnuPG 2.x.
23 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
25         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
26         (tramp-file-name-port): Check also for `tramp-default-port'.
27         (tramp-get-connection-name): New defun.
28         (tramp-get-connection-process): Use it.
29         (tramp-debug-message): Extend function exclude list.
30         (tramp-drop-volume-letter): Fix doc string.
32         * net/tramp-cmds.el: Remove solved todo item.
34         * net/tramp-efs.el:
35         * net/tramp-ftp.el:
36         * net/tramp-gvfs.el:
37         * net/tramp-gw.el:
38         * net/tramp-imap.el:
39         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
40         and `tramp-default-user-alist', respectively.
42         * net/tramp-gw.el (tramp-gw-open-connection): Use
43         `tramp-get-connection-name' and `tramp-get-connection-buffer'.
45         * net/tramp-imap.el (tramp-imap-make-iht): Use just
46         `tramp-file-name-port'.
48         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
49         and "psftp".  Exchange "%k" marker with options.
50         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
51         Compute size of link target.
52         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
53         `tramp-current-*' up due to gateway methods.  Optimze computing of
54         copy arguments.  Use `tramp-get-connection-name' and
55         `tramp-get-connection-buffer'.  Improve debug messages.
56         (tramp-compute-multi-hops): Remove port determination.
57         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
59         * net/trampver.el: Update release number.
61 2010-12-02  Glenn Morris  <rgm@gnu.org>
63         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
64         Avoid infinite loop over windows.  (Bug#7492)
66         * progmodes/flymake.el (flymake-check-file-limit):
67         Allow nil to mean "no limit".
68         (flymake-check-patch-master-file-buffer): Update for above change.
69         Allow a .tex file-name extension to be optional.
70         (flymake-master-tex-init): Also match \include statements.
72 2010-11-30  Sam Steingold  <sds@gnu.org>
74         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
75         (nxml-parent-document-set): A function to set `nxml-parent-document'.
76         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
77         (nxml-mode-hook): Remove `defcustom' (auto-defined by
78         define-derived-mode').
79         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
80         users who want to call `nxml-parent-document-set'.
82 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
84         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
85         stand-alone lines, since that is handled by log-edit-match-to-eoh
86         (Bug#6465).
88 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
90         * dired.el (dired-get-filename): Replace backslashes with slashes
91         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
92         * locate.el (locate-default-make-command-line): Don't consider
93         drive letter and root directory part of
94         `directory-listing-before-filename-regexp'.  (Bug#7308)
95         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
97 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
99         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
100         of :smie-open/close-alist.
101         (smie-next-sexp): Make it accept a "start token" as argument.
102         (smie-indent-keyword): Be careful not to misidentify tokens that span
103         more than one line, as empty lines.  Add argument `token'.
105 2010-11-27  Kenichi Handa  <handa@m17n.org>
107         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
108         multipart subtypes, insert all as usual.
110         * mail/rmail.el: Require rfc2047.
112 2010-11-27  Kenichi Handa  <handa@m17n.org>
114         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
115         (rmail-mime-entity-disposition)
116         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
117         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
118         (rmail-mime-save): Handle the case that the button's `data' is a
119         MIME entity.
120         (rmail-mime-insert-text): New function.
121         (rmail-mime-insert-image): Handle the case that DATA is a MIME
122         entity.
123         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
124         (rmail-mime-insert-bulk): New function mostly copied from the old
125         rmail-mime-bulk-handler.
126         (rmail-mime-multipart-handler): Just call
127         rmail-mime-process-multipart.
128         (rmail-mime-process-multipart): New funciton mostly copied from
129         the old rmail-mime-multipart-handler.
130         (rmail-mime-show): Just call rmail-mime-process.
131         (rmail-mime-process): New funciton mostly copied from the old
132         rmail-mime-show.
133         (rmail-mime-insert-multipart, rmail-mime-parse)
134         (rmail-mime-insert, rmail-show-mime)
135         (rmail-insert-mime-forwarded-message)
136         (rmail-insert-mime-resent-message): New functions.
137         (rmail-insert-mime-forwarded-message-function): Set to
138         rmail-insert-mime-forwarded-message.
139         (rmail-insert-mime-resent-message-function): Set to
140         rmail-insert-mime-resent-message.
142         * mail/rmailsum.el: Require rfc2047.
143         (rmail-header-summary): Handle multiline Subject: field.
144         (rmail-summary-line-decoder): Change the default to
145         rfc2047-decode-string.
147         * mail/rmail.el (rmail-enable-mime): Change the default to t.
148         (rmail-mime-feature): Change the default to `rmailmm'.
149         (rmail-quit): Delete the specifal code for rmail-enable-mime.
150         (rmail-display-labels): Likewise.
151         (rmail-show-message-1): Check rmail-enable-mime, and use
152         rmail-show-mime-function for a MIME message.  Decode the headers
153         according to RFC2047.
155 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
157         * progmodes/which-func.el (which-func-imenu-joiner-function):
158         Return a string, as expected.
159         (which-function-mode): Make sure we stop any previous timer before
160         starting a new one.
162 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
164         * net/tramp.el (tramp-default-method-alist)
165         (tramp-default-user-alist, tramp-default-proxies-alist):
166         Adapt custom options type.  (Bug#7445)
168 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
170         * progmodes/python.el: Add Ipython support (Bug#5390).
171         (python-shell-prompt-alist)
172         (python-shell-continuation-prompt-alist): New options.
173         (python--set-prompt-regexp): New function.
174         (inferior-python-mode, run-python, python-shell):
175         Require ansi-color.  Use python--set-prompt-regexp to set the comint
176         prompt based on the Python interpreter.
177         (python--prompt-regexp): New var.
178         (python-check-comint-prompt)
179         (python-comint-output-filter-function): Use it.
180         (run-python): Use a pipe (Bug#5694).
182 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
184         * progmodes/python.el (run-python): Doc fix.
185         (python-keep-current-directory-in-path): New var (Bug#7454).
187 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
189         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
190         Prompt user before actually printing.
192 2010-11-27  Glenn Morris  <rgm@gnu.org>
194         * startup.el (package-enable-at-startup, package-initialize):
195         Remove unnecessary declarations.
197 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
199         * international/characters.el (glyphless-char-display-control):
200         Exclude newline and TAB from the c0-control group.
202 2010-11-27  Glenn Morris  <rgm@gnu.org>
204         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
205         (expand-mail-aliases): Remove unnecessary autoload.
207         * allout.el (allout-command-prefix, allout-mode-map): Declare.
209         * shell.el (shell-dir-cookie-re): Move definition before use.
211         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
212         Replace undefined CL functions.
214 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
216         * simple.el (prog-mode): Set bidi-paragraph-direction to
217         left-to-right.
219         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
221 2010-11-26  Glenn Morris  <rgm@gnu.org>
223         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
224         diary-outlook-formats can be sensitive to calendar-date-style.
225         (diary-outlook-formats): Simplify the default setting.
226         (diary-from-outlook-internal): Pass subject and body as arguments.
227         Use dolist rather than dotimes.  Don't save the diary buffer.
228         (diary-from-outlook-gnus, diary-from-outlook-rmail):
229         Pass subject and body as explicit arguments to the -internal function.
231 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
233         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
234         parsing them.  This makes mailto:...?subject=foo\nbar work.
236 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
238         * vc/diff.el (diff): Fix last change.
240 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
242         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
243         (pcase--dontcare-upats): New var.
244         (pcase-let, pcase-let*): Generate better code.
245         Accept the same bodies as `let'.
246         (pcase-dolist): New macro.
247         (pcase--trivial-upat-p): New helper function.
248         (pcase--expand): Strip leading "(let nil" if any.
250 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
252         * mail/mailclient.el (browse-url): Require.
253         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
254         use the external browser function to send the mail (bug#7469).
256         * net/browse-url.el (browse-url-browser-function): Revert the
257         default back to the previous value, since the new value broke
258         mailclient.el.
259         (browse-url-mailto-function): New variable for mailto: URLs.
260         (browse-url): Use the new variable for mailto: URLs.
262 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
264         * eshell/esh-cmd.el (eshell-parse-command):
265         * eshell/esh-arg.el (eshell-parse-arguments):
266         * eshell/em-script.el (eshell-source-file):
267         Use with-silent-modifications.
269 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
271         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
272         for a merge location.
274         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
275         (vc-bzr-merge-branch): Always prompt.
276         (vc-bzr-async-command): Use the full branch filename.
278 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
280         * shell.el (shell): Use current-buffer by default if it's already
281         a shell mode buffer and its process is dead.
282         Suggested by <jemarch@gnu.org>.
284 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
286         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
287         Mention that the keywords should be comma separated.
289 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
291         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
292         Accept optional prefix arg meaning to prompt for a command.
293         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
294         prefix arg meaning to prompt for a command.
295         (vc-pull): Alias for vc-update.
297         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
298         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
299         (vc-bzr-merge-branch): New functions, implementing merge-branch
300         and pull operations.
302 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
304         * Makefile.in: Fix up last merge.
306         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
307         (diff-sentinel): Get them as arguments instead.
308         (diff-old-file, diff-new-file, diff-extra-args): Remove.
309         (diff-file-local-copy, diff-better-file-name): New funs.
310         (diff-no-select): Rename from diff-into-buffer.
311         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
312         Prefer closures to buffer-local variables.
313         (diff): Adjust accordingly.
314         (diff-buffer-with-file): Move from files.el.
315         * files.el (diff-buffer-with-file): Move to vc/diff.el.
316         (diff-buffer-internal): Remove.
317         (diff-buffer-buffer): Remove.
318         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
319         the buffer name used, and so as not to mess up windows and frames.
321 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
323         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
324         (diff-buffer-internal): New function extracted from diff-buffer-with-file
325         (diff-buffer-with-file): Use it.
326         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
327         (diff): Use it.
329 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
331         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
332         \ref's or \pageref's value as default instead of initial input.
334 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
336         * files.el (backup-by-copying-when-mismatch): The default value is
337         now t.
339         * startup.el (normal-top-level):
340         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
341         `backup-by-copying-when-mismatch'.
343 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
345         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
347 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
349         * progmodes/python.el (python-font-lock-keywords):
350         Highlight top-level augmented assignments (Bug#6445).
352 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
354         * term/ns-win.el (ns-right-control-modifier)
355         (ns-right-command-modifier): Defvar them.
357         * cus-start.el (all): Add ns-right-control-modifier and
358         ns-right-command-modifier (Bug#7458).
360 2010-11-20  Glenn Morris  <rgm@gnu.org>
362         * emacs-lisp/authors.el (authors-ignored-files)
363         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
365 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
367         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
368         (report-emacs-bug-parse-query-results)
369         (report-emacs-bug-create-existing-bugs-buffer): Pass through
370         keywords used for querying the bug database to show them in the
371         existing bugs buffer.
373 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
375         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
377         * info.el (info-tool-bar-map): Add some :vert-only keywords.
379 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
381         * international/characters.el (glyphless-char-display-control):
382         Make it a defcustom, with update-glyphless-char-display as its
383         :set attribute.
384         (top level): Don't call update-glyphless-char-display.
386 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
388         Sync with Tramp 2.2.0.
390         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
391         `file-remote-p' (due to compatibility).
393         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
394         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
396         * net/trampver.el: Update release number.
398 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
400         * faces.el (glyphless-char): Define value for `pc'.
402 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
404         Implemented a bug querying mechanism.
405         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
406         (report-emacs-bug-create-existing-bugs-buffer)
407         (report-emacs-bug-parse-query-results)
408         (report-emacs-bug-query-existing-bugs): New functions.
410 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
412         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
413         a \ref{} or \pageref{} macro, then use its value as initial input.
415 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
417         * calc/calc-units.el (math-build-units-table-buffer):
418         calc/README: Mention that the TeX specific units won't use the
419         `tex' prefix in TeX mode.
420         calc/calc-lang.el (math-variable-table): Don't use the `tex'
421         prefix for units in TeX mode.
423 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
425         * simple.el (kill-new, kill-append, kill-region):
426         * comint.el (comint-kill-region): Make the yank-handler argument
427         obsolete.
429 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
431         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
432         that are both openers (resp. closers) and something else.
433         (smie-grammar): Loosen definition of valid values.
434         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
435         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
436         (smie-indent-after-keyword): Adjust users.
437         (smie-indent-keyword): Don't indent empty lines.
439         * vc-hg.el (vc-hg-program): New var.
440         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
441         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
443 2010-11-18  Glenn Morris  <rgm@gnu.org>
445         * emacs-lisp/autoload.el (autoload-find-destination): The function
446         coding-system-eol-type may return non-numeric values.  (Bug#7414)
448 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
450         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
452 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
454         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
456 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
458         * textmodes/picture.el (picture-mouse-set-point): Don't use
459         posn-col-row; explicitly compute the motion based on the posn at
460         the window-start (Bug#7390).
462 2010-11-18  Glenn Morris  <rgm@gnu.org>
464         * novice.el (disabled-command-function):
465         Fix 2009-11-15 change.  (Bug#7384)
467 2010-11-18  Glenn Morris  <rgm@gnu.org>
469         * calendar/calendar.el (diary-iso-date-forms): Make elements
470         mutually exclusive.  (Bug#7377)
472 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
474         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
475         when filling the remaining "unconstrained" values.
477 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
479         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
480         safety predicate.
482         * files.el (safe-local-variable-p): Gracefully handle errors.
484         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
485         Use smie-indent-virtual when indenting relative to an opener.
486         (smie-rule-separator): Use smie-rule-parent.
487         (smie-indent-keyword): Consult rules, even for openers at bol.
488         (smie-indent-comment-close): Try to align closer's content.
490 2010-11-18  Glenn Morris  <rgm@gnu.org>
492         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
494 2010-11-18  Glenn Morris  <rgm@gnu.org>
496         * printing.el (pr-menu-bind): Doc fix.
498         * speedbar.el (speedbar-toggle-images): Doc fix.
500         * progmodes/python.el (python-shell): Doc fix.
502         * wid-edit.el (widget-field-use-before-change)
503         (widget-use-overlay-change): Doc fixes.
505 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
507         Minor cleanup to improve style.
508         * textmodes/rst.el (rst-update-section): Use point-marker.
509         (rst-get-decoration): Eliminate unneeded assignment.
510         (rst-promote-region, rst-straighten-decorations)
511         (rst-section-tree, rst-adjust): Use point-marker.
512         (rst-toc-mode-mouse-goto): Avoid setq.
513         (rst-shift-region-guts, rst-shift-region-left)
514         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
515         (rst-convert-bullets-to-enumeration): Use copy-marker.
517         * minibuffer.el (completion-fail-discreetly): New var.
518         (completion--do-completion): Use it.
520         * electric.el (electric-pair-pairs): New var.
521         (electric-pair-post-self-insert-function): Use it.
522         (electric-layout-post-self-insert-function): Don't insert a before
523         newline unless it's actually needed.
525 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
527         * progmodes/python.el (run-python): Explain why we remove the current
528         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
530         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
532 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
534         * progmodes/octave-mod.el: Rely on elecric-*-modes.
535         (octave-mode-map): Don't bind ;, SPC, and LF.
536         (octave-auto-indent, octave-auto-newline): Remove.
537         (electric-layout-rules): Declare.
538         (octave-mode): Set electric-layout-rules.
539         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
540         (octave-reindent-then-newline-and-indent, octave-electric-semi)
541         (octave-electric-space): Remove.
543         * electric.el (electric-layout-mode): New minor mode.
544         (electric--after-char-pos): New function.
545         (electric-indent-post-self-insert-function): Use it.
546         (electric-layout-rules): New var.
547         (electric-layout-post-self-insert-function): New function.
548         (electric-indent-mode): Make them interact better.
550 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
552         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
553         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
554         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
556 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
558         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
559         Make sure to check inside the word (Bug#6761).
561 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
563         * startup.el (command-line): If the cursorColor resource is set,
564         change the cursor face-spec (Bug#7392).
566 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
568         The main features of the following allout.el changes are:
569         - implement user customization for the allout key bindings
570         - add a customization control by which the user can inhibit use of
571           a trailing Ctrl-H, so by default it's reserved for use with
572           describe-prefix-bindings
573         - adapt to new version of called-interactively-p, while
574           maintaining backwards compatibility with old version
575         - fix hotspot navigation so i works properly with meta-modified keys
577         * allout.el (allout-keybindings, allout-bind-keys)
578         (allout-keybindings-binding, allout-prefixed-keybindings)
579         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
580         (allout-keybindings-list, allout-mode-map-adjustments)
581         (allout-setup-mode-map): Establish allout-mode keymaps as user
582         customizable settings, and also establish a customizable setting which
583         regulates whether or not a trailing control-h is reserved for use with
584         describe-prefix-bindings - and inhibit it by default, so that control-h
585         *is* reserved for describe-prefix-bindings unless the user changes it.
587         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
588         and accurately between modified and unmodified events, and handle
589         modified events more comprehensively.
591         * allout.el (allout-substring-no-properties):
592         Alias to use or provide version of `substring-no-properties'.
593         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
595         * allout.el (allout-next-single-char-property-change):
596         Alias to use or provide version of `next-single-char-property-change'.
597         (allout-annotate-hidden, allout-hide-by-annotation):
598         Use `allout-next-single-char-property-change'.
600         * allout.el (allout-select-safe-coding-system):
601         Alias to use or provide version of `select-safe-coding-system'.
602         (allout-toggle-subtree-encryption):
603         Use `allout-select-safe-coding-system'.
605         * allout.el (allout-set-buffer-multibyte):
606         Alias to use or provide version of `set-buffer-multibyte'.
607         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
609         * allout.el (allout-called-interactively-p): Macro for using the
610         different versions of called-interactively-p identically, depending on
611         the subroutine's argument signature.
612         (allout-back-to-current-heading, allout-beginning-of-current-entry):
613         Use `(interactive "p")' instead of `(called-interactively-p)'.
615         * allout.el (allout-init, allout-ascend, allout-end-of-level)
616         (allout-previous-visible-heading, allout-forward-current-level)
617         (allout-backward-current-level, allout-show-children):
618         Use `allout-called-interactively-p' instead of `called-interactively-p'.
620         * allout.el (allout-before-change-handler):
621         Exempt edits to the (overlaid) character after the allout outline
622         bullet from edit confirmation prompt.
624         * allout.el (allout-add-resumptions):
625         Ensure that it respects correct buffer for keybindings.
627         * allout.el (allout-beginning-of-line):
628         Use `allout-previous-single-char-property-change' alias for the sake of
629         diverse compatibility.
631         * allout.el (allout-end-of-line):
632         Use `allout-mark-active-p' to encapsulate respect for mark activity.
634 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
636         * frame.el (frame-notice-user-settings): Don't clobber other
637         user-set parameters when calling face-set-after-frame-default in
638         response to background-color parameter (Bug#7373).
640 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
642         * international/characters.el (glyphless-char-display-control):
643         Renamed from glyphless-char-control; all users changed.  Doc fix.
644         Signal an error if display method is not one of the recognized
645         symbols.
647 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
649         * net/tramp-compat.el (tramp-compat-line-beginning-position)
650         (tramp-compat-line-end-position): Remove them.
652         * net/tramp.el (tramp-parse-rhosts-group)
653         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
654         (tramp-parse-hosts-group, tramp-parse-passwd-group)
655         (tramp-parse-netrc-group, tramp-parse-putty-group)
656         * net/tramp-cmds.el (tramp-append-tramp-buffers)
657         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
658         (tramp-sh-handle-file-selinux-context)
659         (tramp-sh-handle-file-name-all-completions)
660         (tramp-sh-handle-insert-directory)
661         (tramp-sh-handle-expand-file-name, tramp-find-executable)
662         (tramp-wait-for-output, tramp-send-command-and-read)
663         * net/tramp-smb.el (tramp-smb-read-file-entry)
664         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
666         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
667         `point-at-bol'.
668         (tramp-remote-coding-commands): Add an alternative using "base64
669         -d -i".  This is needed for older base64 versions from GNU
670         coreutils.  Reported by Klaus Reichl
671         <Klaus.Reichl@thalesgroup.com>.
673 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
675         * simple.el (count-words-region): New function.
677 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
679         * shell.el (shell-dir-cookie-re): New custom variable.
680         (shell-dir-cookie-watcher): New function.
682         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
683         and compilation-mode (bug#7350).
685         * vc/smerge-mode.el (smerge-refine): Choose better default part to
686         highlight when one of them is empty.
688         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
689         trailing space.
690         (skeleton-newline): New function.
691         (skeleton-internal-1): Use it.
693         * simple.el (open-line): `newline' may strip trailing space.
695 2010-11-12  Kevin Ryde  <user42@zip.com.au>
697         * international/mule-cmds.el (princ-list): Use mapc.
699 2010-11-12  Glenn Morris  <rgm@gnu.org>
701         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
702         Use it to replace all instances of "*Compile-Log*"
704 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
706         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
707         indentation specs.
709 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
711         * progmodes/modula2.el: Use SMIE and skeleton.
712         (m2-mode-syntax-table): (*..*) can be nested.
713         Add //...\n.  Fix paren syntax.
714         (m2-mode-map): Remove LF and TAB bindings.
715         (m2-indent): Add safety property.
716         (m2-smie-grammar): New var.
717         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
718         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
719         (m2-mode): Use define-derived-mode.
720         (m2-newline, m2-tab): Remove.
721         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
722         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
723         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
724         (m2-import): Use define-skeleton.
726 2010-11-11  Glenn Morris  <rgm@gnu.org>
728         * obsolete/lucid.el: Don't warn about any CL functions in this file.
730         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
731         (ls-lisp-verbosity): Add custom :set-after property.
732         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
733         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
734         (ls-lisp-insert-directory): Update caller.
735         (ls-lisp-set-options): New function.
736         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
737         Doc fix.
739         * play/landmark.el (lm-prompt-for-move):
740         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
742         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
744         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
745         (idlwave-study-twins): Prefix dynamic local variable `name'.
746         (idlwave-routine-twin-compare): Update for above change.
748         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
749         Prefix dynamic local variables `name', `kwd', and `link'.
750         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
751         * progmodes/idlw-complete-structtag.el
752         (idlwave-complete-structure-tag-help):
753         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
754         (idlwave-complete-sysvar-tag-help)
755         (idlwave-complete-class-structure-tag-help):
756         Update for above name changes.
758 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
760         * net/browse-url.el (browse-url-browser-function): Change the
761         default to use `browse-url-mail' on mailto: URLs.
763 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
765         * emacs-lisp/package.el (package-read-all-archive-contents):
766         Reset package-archive-contents to nil before re-reading.
768 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
770         * textmodes/flyspell.el (flyspell-word): Do not re-check words
771         already found as misspellings by (flyspell-large-region), just
772         do highlighting (bug#7322).
774 2010-11-10  Glenn Morris  <rgm@gnu.org>
776         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
778         * emulation/edt.el (edt-with-position): New macro.
779         (edt-find-forward, edt-find-backward, edt-find-next-forward)
780         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
781         (edt-paragraph-forward, edt-paragraph-backward): Use it.
783         * emulation/tpu-extras.el (tpu-with-position): New macro.
784         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
786         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
788         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
789         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
790         (texinfo-master-menu, texinfo-insert-node-lines)
791         (texinfo-multiple-files-update):
792         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
793         Use line-beginning-position.
795         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
796         No recent Emacs supports system-type `emx'.
798         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
799         (ada-command-separator, ada-default-prj-properties)
800         (ada-find-any-references): Update for above name change.
802         * dirtrack.el (dirtrack-directory-function)
803         (dirtrack-canonicalize-function):
804         * filecache.el (file-cache-completion-ignore-case)
805         (file-cache-case-fold-search, file-cache-ignore-case):
806         * term.el (serial-port-is-file-p): Cosmetic change.
808         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
809         Remove non-existent `windows-95' system-type.
810         * dired.el (dired-chown-program): Remove non-existent `linux'
811         system-type.
813         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
814         (ping-program-options): Remove non-existent `linux' system-type.
816         * startup.el (package-initialize): Update declaration.
818         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
819         (ls-lisp-handle-switches): Use time-less-p.
820         (ls-lisp-format-time): Use float-time.
822         * textmodes/remember.el (remember-time-to-seconds): Remove.
823         (remember-store-in-mailbox): Use float-time.
825         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
827         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
828         never a real function.
829         (with-no-warnings): Remove compat stub, now unused.
830         (time-less-p): Doc fix.
831         (time-to-number-of-days): Simplify.
833         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
834         Remove.
835         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
836         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
837         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
838         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
839         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
841         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
842         (eshell-shuffle-files, eshell-shorthand-tar-command)
843         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
844         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
845         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
846         Prefix dynamic local variable `matches'.
848         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
849         Prefix dynamic local variable `skeleton'.
851 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
853         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
854         in mail buffer; make yank-action always a command that yanks original
855         buffer.
857 2010-11-09  Glenn Morris  <rgm@gnu.org>
859         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
861 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
863         * minibuffer.el (minibuffer-completion-help): Specify the end of the
864         completion field (bug#7211).
866         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
867         Fix handling of backslash escapes.
868         (python-quote-syntax): Adjust accordingly.
870 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
872         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
873         (vc-mtn-workfile-branch): Adjust to new output format.
875 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
877         * international/mule-cmds.el (princ-list): Mark as obsolete.
879 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
881         * emacs-lisp/smie.el: New package.
883 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
885         * files.el (backup-by-copying-when-mismatch):
886         Set `permanent-local' property.
888         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
889         `permanent-local' property for `backup-by-copying-when-mismatch'.
891 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
893         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
895 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
897         * progmodes/verilog-mode.el (verilog-insert-one-definition)
898         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
899         AUTOINOUT for SV style multidimensional arrays, bug294.
900         Reported by Eric Mastromarchi.
901         (verilog-preprocess): Use with-current-buffer and
902         font-lock-fontify-buffer to cleanup style issues.
904 2010-11-09  Glenn Morris  <rgm@gnu.org>
906         * locate.el (locate, locate-mode): Doc fixes.
908 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
910         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
911         user for confirmation.
912         (server-force-stop): Use it.
913         (server-start): Use server-force-stop for kill-emacs-hook, to
914         avoid user interaction while killing Emacs.
916 2010-11-09  Glenn Morris  <rgm@gnu.org>
918         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
919         (meta-indent-line): Simplify.
921         * vc/emerge.el (emerge-line-number-in-buf):
922         * textmodes/ispell.el (ispell-region):
923         * textmodes/fill.el (current-fill-column):
924         * progmodes/xscheme.el (xscheme-send-current-line):
925         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
926         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
927         * progmodes/sh-script.el (sh-handle-prev-do):
928         * progmodes/meta-mode.el (meta-indent-line):
929         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
930         (idlwave-in-quote):
931         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
932         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
933         * progmodes/fortran.el (fortran-looking-at-if-then):
934         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
935         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
936         (cperl-find-pods-heres):
937         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
938         * net/quickurl.el (quickurl-list-insert):
939         * net/ldap.el (ldap-search-internal):
940         * net/eudc.el (eudc-expand-inline):
941         * mail/sendmail.el (sendmail-send-it):
942         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
943         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
944         (viper-brac-function):
945         * calc/calc-yank.el (calc-do-grab-region):
946         * calc/calc-keypd.el (calc-keypad-press):
947         * term.el (term-move-columns, term-insert-spaces):
948         * speedbar.el (speedbar-highlight-one-tag-line):
949         * simple.el (current-word):
950         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
951         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
952         (Info-scroll-down):
953         * hippie-exp.el (he-line-beg):
954         * epa.el (epa--marked-keys):
955         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
956         (dired-update-file-line, dired-add-entry, dired-remove-entry)
957         (dired-relist-entry):
958         * buff-menu.el (Buffer-menu-buffer):
959         * array.el (current-line):
960         * allout.el (allout-resolve-xref)
961         (allout-latex-verbatim-quote-curr-line):
962         Replace yet more uses of end-of-line etc with line-end-position, etc.
964 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
966         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
967         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
968         (checkdoc-syntax-table): Initialize in the declaration.
969         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
970         the mode on unconditionally.
972         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
973         (extent-end-position, extent-start-position): Remove setf method for
974         non-existing functions (bug#7319).
976 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
978         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
979         (smie-precs->prec2): Rename from smie-precs-precedence-table.
980         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
981         (smie-prec2->grammar): Rename from smie-prec2-levels.
982         (smie-grammar): Rename from smie-op-levels.
983         (smie-indent--hanging-p): Rename from smie-hanging-p.
984         (smie-rule-hanging-p): New alias.
985         (smie-indent--bolp): Rename from smie-bolp.
986         (smie-indent--hanging-p): New alias.
987         (smie--token): New dynamically bound variable.
988         (smie-indent--parent): New function.
989         (smie-rule-parent-p): Use it; rename from smie-parent-p.
990         (smie-rule-next-p): Rename from smie-next-p.
991         (smie-rule-prev-p): Rename from smie-prev-p.
992         (smie-rule-sibling-p, smie-rule-parent)
993         (smie-indent--separator-outdent, smie-rule-separator): New functions.
994         (smie-rule-separator-outdent): New var.
995         (smie-indent--rule): Merge with smie-indent--column.
996         (smie-indent-forward-token, smie-indent-backward-token):
997         Also recognize close parens.
998         (smie-indent-keyword): Don't use smie-indent--column any more.
999         (smie-indent-after-keyword): Ignore closers by default.
1000         (smie-indent-line): Use with-demoted-errors.
1001         * progmodes/octave-mod.el (octave-smie-grammar):
1002         Rename from octave-smie-op-levels.
1003         (octave-smie-rules): Adjust to new behavior.
1004         * progmodes/prolog.el (prolog-smie-grammar):
1005         Rename from prolog-smie-op-levels.
1007 2010-11-07  Glenn Morris  <rgm@gnu.org>
1009         * eshell/esh-util.el (subst-char-in-string)
1010         (directory-files-and-attributes): These compatibility definitions are
1011         not needed on any version of Emacs since at least 21.4.
1013         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1014         (verilog-get-end-of-line): Remove.
1015         (verilog-within-string, verilog-re-search-forward-substr)
1016         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1017         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1018         Use point-at-bol, point-at-eol.
1019         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1020         Remove.
1021         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1022         (electric-pascal-terminate-line, pascal-set-auto-comments)
1023         (pascal-indent-paramlist, pascal-indent-declaration)
1024         (pascal-get-lineup-indent, pascal-func-completion)
1025         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1026         Use point-at-bol, point-at-eol.
1027         * progmodes/flymake.el (flymake-line-beginning-position)
1028         (flymake-line-end-position): Remove.
1029         (flymake-highlight-line): Use point-at-bol, point-at-eol.
1030         * eshell/esh-util.el (line-end-position, line-beginning-position):
1031         Remove compat definitions.
1033         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1034         Use end-of-line N.
1035         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1036         Use line-end-position.
1038         * emacs-lisp/chart.el (chart-zap-chars):
1039         * play/decipher.el (decipher-set-map):
1040         * progmodes/ada-mode.el (ada-get-current-indent)
1041         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1042         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1043         * progmodes/ada-xref.el (ada-initialize-runtime-library)
1044         (ada-get-all-references):
1045         * progmodes/cperl-mode.el (cperl-electric-paren)
1046         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1047         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1048         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1049         (cperl-word-at-point-hard):
1050         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1051         (idlwave-shell-filename-string, idlwave-shell-batch-command)
1052         (idlwave-shell-display-line):
1053         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
1054         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
1055         * progmodes/js.el (js--re-search-forward-inner)
1056         (js--re-search-backward-inner):
1057         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
1058         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
1059         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
1060         * textmodes/flyspell.el (flyspell-process-localwords):
1061         * textmodes/ispell.el (ispell-buffer-local-parsing)
1062         (ispell-buffer-local-dict, ispell-buffer-local-words):
1063         Use point-at-bol and point-at-eol.
1065         * speedbar.el (speedbar-generic-item-info)
1066         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
1067         (speedbar-add-indicator, speedbar-check-vc-this-line)
1068         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
1069         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
1070         Replace more uses of end-of-line etc with line-end-position.
1072 2010-11-06  Glenn Morris  <rgm@gnu.org>
1074         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
1075         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
1076         (texinfo-delete-existing-pointers, texinfo-find-pointer)
1077         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
1078         (texinfo-multiple-files-update):
1079         * textmodes/table.el (table--probe-cell-left-up)
1080         (table--probe-cell-right-bottom):
1081         * textmodes/picture.el (picture-tab-search):
1082         * textmodes/page-ext.el (pages-copy-header-and-position)
1083         (pages-directory-for-addresses):
1084         * progmodes/vera-mode.el (vera-get-offset):
1085         * progmodes/simula.el (simula-calculate-indent):
1086         * progmodes/python.el (python-pdbtrack-overlay-arrow):
1087         * progmodes/prolog.el (end-of-prolog-clause):
1088         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
1089         * progmodes/icon.el (indent-icon-exp):
1090         * progmodes/etags.el (tag-re-match-p):
1091         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
1092         * progmodes/ebnf2ps.el (ebnf-begin-file):
1093         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
1094         (dcl-save-local-variable):
1095         * play/life.el (life-setup):
1096         * play/gametree.el (gametree-looking-at-ply):
1097         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
1098         * mail/sendmail.el (mail-mode-auto-fill):
1099         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1100         * emacs-lisp/edebug.el (edebug-overlay-arrow):
1101         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
1102         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
1103         (woman-tab-to-tab-stop, WoMan-warn-ignored):
1104         * type-break.el (type-break-file-keystroke-count):
1105         * term.el (term-replace-by-expanded-history-before-point)
1106         (term-skip-prompt, term-extract-string):
1107         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
1108         (speedbar-contract-line, speedbar-toggle-line-expansion)
1109         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
1110         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
1111         * sort.el (sort-skip-fields):
1112         * skeleton.el (skeleton-internal-list):
1113         * simple.el (line-move-finish, line-move-to-column):
1114         * shell.el (shell-forward-command):
1115         * misc.el (copy-from-above-command):
1116         * makesum.el (double-column):
1117         * ebuff-menu.el (electric-buffer-update-highlight):
1118         * dired.el (dired-move-to-end-of-filename):
1119         * dframe.el (dframe-popup-kludge):
1120         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
1121         * arc-mode.el (archive-get-lineno):
1122         Use line-end-position and line-beginning-position.
1124         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
1125         (idlwave-study-twins): Prefix dynamic local `class'.
1126         (idlwave-routine-twin-compare): Update for above name change.
1128         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
1129         Use boundp tests to silence compiler.  Update for changed name of
1130         bytecomp-filename variable.
1132         * emulation/viper-cmd.el (viper-read-string-with-history):
1133         Prefix dynamic local `initial'.
1134         (viper-minibuffer-standard-hook): Update for above name change.
1136         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
1137         (elint-init-form): Update for above name change.
1139         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
1140         local variables `cbeg' and `cend' a prefix.
1141         (mail-extr-voodoo): Update for above name change.
1143         * textmodes/reftex-toc.el (reftex-toc-do-promote)
1144         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
1145         (reftex-toc-promote-action): Doc fix.
1147         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
1148         `prompt', `data' a prefix.
1149         (reftex-select-post-command-hook, reftex-select-callback)
1150         (reftex-select-mouse-accept, reftex-select-read-cite):
1151         Update for above name changes.
1153         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
1154         `refstyle' to reftex-refstyle.
1155         (reftex-offer-label-menu): Update for above name change.
1156         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
1157         `refstyle' name change.
1159         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
1160         with with-current-buffer.
1161         (diff, template): Give dynamic local variables a prefix.
1162         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
1163         (emerge-line-number-in-buf): Update for above name change.
1164         (emerge-combine-versions-internal): Rename local `template' to
1165         emerge-combine-template.
1166         (emerge-combine-versions-edit): Update for above name change.
1168 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
1170         * textmodes/reftex-cite.el
1171         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
1172         entries with whitespace after \bibitem.
1173         (reftex-create-bibtex-file): Match entries containing numbers and
1174         symbol constituents.  Make sure that entries with whitespace at
1175         various places are found.
1177 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
1179         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
1181 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
1183         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
1185 2010-11-05  Glenn Morris  <rgm@gnu.org>
1187         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
1188         (woman2-roff-buffer): Give local variable `request' a prefix.
1189         (woman0-macro): Rename argument `request' in the same way.
1190         (woman-request): New name for `request' dynamic variable.
1191         (woman-unquote, woman-forward-arg): Update for above name change.
1192         (woman1-roff-buffer): Give local variable `unquote' a prefix.
1193         (woman1-unquote): New name for `unquote' dynamic variable.
1194         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
1195         (woman-translations): Rename from `translations'.  No longer global.
1196         (woman2-tr, woman-translate): Update for above name change.
1197         (woman-translate): Check for bound variable.
1198         (woman2-roff-buffer): Give local variable `translations' a prefix.
1200         * play/doctor.el: Give all local variables a prefix.  Update callers.
1201         (doc$, doctor-put-meaning): Use backquote.
1203         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
1204         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
1206         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
1207         variables bytes, ptr, op a prefix.
1208         (disassemble-offset): Update for above change.
1210 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1212         * emacs-lisp/package.el (package-unpack): Remove no-op.
1213         (package--builtins, package--dir): Doc fix.
1214         (package-activate-1, package-activate, package-install)
1215         (package-compute-transaction): Fix error message.
1216         (package-delete): Use delete-directory.  Omit system packages.
1217         (package-initialize): Set package-alist to nil first.
1218         (package-menu-mark-delete, package-menu-mark-install): Don't add
1219         symbols that are inconsistent with the package state.
1220         (package-menu-execute): Perform deletions and installations as
1221         single batch operations.
1223 2010-11-03  Glenn Morris  <rgm@gnu.org>
1225         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1226         (props): Remove unnecessary declaration.
1228         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1229         set-process-query-on-exit-flag.
1231         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1232         (reftex-toc-do-promote): Remove unused local `mpos'.
1233         (reftex-toc-restore-region): Make `mpos' local to this function.
1235         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1237         * play/landmark.el (lm-losing-threshold): Correct spelling.
1238         (lm-human-plays): Use new name.
1240         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1241         (gomoku-human-plays): Use new name.
1243         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1244         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1245         (gomoku-score-trans-table, gomoku-winning-threshold)
1246         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1248 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1250         * emacs-lisp/package.el: Don't put built-in packages in
1251         package-alist, to avoid loading inefficiencies.
1252         (package-built-in-p): Make VERSION optional, and treat it as a
1253         minimum acceptable version.
1254         (package-activate): Search separately for built-in packages.
1255         Emit a warning if a dependency fails.
1256         (define-package): Handle most common case, where there is no
1257         obsolete package, first.
1258         (package-compute-transaction): Print required version in error.
1259         (package--initialized): New variable.
1260         (list-packages): Use it.
1261         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
1262         built-in packages in packages-alist; keep it separate.
1263         Set package--initialized.
1264         (describe-package): Avoid activating packages as a side-effect.
1265         Search separately for built-in packages.
1266         (describe-package-1): Handle the case where an elpa package is
1267         simultaneously built-in and available/installed.
1268         (package-installed-p, package--generate-package-list):
1269         Search separately for built-in packages.
1270         (package-load-descriptor): Doc fix.
1272 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1274         * progmodes/perl-mode.el (perl-syntax-propertize-function):
1275         Handle __DATA__ and __END__.
1277 2010-11-02  Noah Friedman  <friedman@splode.com>
1279         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1280         nil, do not ask to recompile files that are not already compiled,
1281         and do not recompile them.
1283 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
1285         * emacs-lisp/package.el (package-initialize): Ensure that
1286         obsoleted built-in packages are not in package-activated-list
1287         during activation.
1288         (describe-package-1): Make the "installed" status override
1289         "built-in".
1291 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1293         * subr.el (version-separator, version-regexp-alist): Remove '*'
1294         from docstring.
1295         (version-list-<=, version<=, version=): Doc fix.
1297 2010-11-01  Kenichi Handa  <handa@m17n.org>
1299         * faces.el (glyphless-char): Inherit underline for tty.
1301 2010-11-01  Kenichi Handa  <handa@m17n.org>
1303         Implement various display methods for glyphless characters.
1305         * international/characters.el (char-acronym-table): New variable.
1306         (glyphless-char-control): New variable.
1307         (update-glyphless-char-display): New funciton.
1309         * faces.el (glyphless-char): New face.
1311 2010-11-01  Glenn Morris  <rgm@gnu.org>
1313         * calendar/holidays.el (general-holidays, oriental-holidays)
1314         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1315         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1316         the definitions of their targets.
1318         * emacs-lisp/smie.el (smie): New custom group.
1319         (smie-blink-matching-inners, smie-indent-basic): Add :group.
1321         * faces.el (xw-defined-colors, x-setup-function-keys):
1322         * mouse-sel.el (x-select-text):
1323         * term/w32console.el (x-setup-function-keys): Update declarations.
1325         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1327         * textmodes/ispell.el (comment-add): Declare.
1329         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1330         Declare.
1332         * info.el (finder-keywords-hash, package-alist): Declare.
1334 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1336         * finder.el (finder-compile-keywords): Don't use intern-soft,
1337         since package names may not yet exist in the obarray.
1339 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1341         * vc/vc-arch.el (vc-arch-checkin):
1342         * vc/vc-cvs.el (vc-cvs-checkin):
1343         * vc/vc-mtn.el (vc-mtn-checkin):
1344         * vc/vc-rcs.el (vc-rcs-checkin):
1345         * vc/vc-sccs.el (vc-sccs-checkin):
1346         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1347         since 2010-04-21 commit by Stefan Monnier.
1349 2010-11-01  Glenn Morris  <rgm@gnu.org>
1351         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1353         * startup.el (package-enable-at-startup, package-initialize):
1354         Silence compiler.
1356         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1357         Silence compiler.
1359 2010-10-31  Julien Danjou  <julien@danjou.info>
1361         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1362         (byte-recompile-directory):
1363         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1364         Use `byte-recompile-file'.
1366 2010-10-31  Glenn Morris  <rgm@gnu.org>
1368         * cus-start.el: Handle standard values via a keyword.
1369         Only set version property if specified.
1370         (cursor-in-non-selected-windows, menu-bar-mode)
1371         (tool-bar-mode, show-trailing-whitespace):
1372         Do not specify standard values.
1373         (transient-mark-mode, temporary-file-directory): Use :standard.
1375 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
1377         * term/x-win.el (x-get-selection-value): New function that gets
1378         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1380 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
1382         * net/tramp.el (tramp-handle-insert-file-contents): For root,
1383         preserve owner and group when editing files.  (Bug#7289)
1385 2010-10-31  Glenn Morris  <rgm@gnu.org>
1387         * speedbar.el (speedbar-mode):
1388         * play/fortune.el (fortune-in-buffer, fortune):
1389         * play/gomoku.el (gomoku-mode):
1390         * play/landmark.el (lm-mode):
1391         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1392         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
1394         * select.el (x-selection): Mark it as an obsolete alias.
1396 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1398         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1399         major-mode (bug#7284).
1401 2010-10-31  Glenn Morris  <rgm@gnu.org>
1403         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1404         rather than just an unused variable that inherits from the real one.
1406 2010-10-31  Alan Mackenzie  <acm@muc.de>
1408         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1409         This fixes bug #7185.
1411 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
1413         * startup.el (command-line): Search for package directories, and
1414         don't load package.el if none are found.
1416         * emacs-lisp/package.el (describe-package, list-packages):
1417         Call package-initialize if it has not been called yet.
1419 2010-10-30  Alan Mackenzie  <acm@muc.de>
1421         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1422         which fontifies the tail of an enum.
1423         (c-basic-matchers-after): Insert a call to the above new function.
1424         This fixes bug #7264.
1426 2010-10-30  Glenn Morris  <rgm@gnu.org>
1428         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1429         tool-bar-mode, transient-mark-mode.  (Bug#7306)
1430         Include the :set property in the dumped Emacs.
1432 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1434         SMIE: change indent rules format, improve smie-setup.
1435         * emacs-lisp/smie.el (smie-precs-precedence-table)
1436         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1437         Mark them pure so the tables gets built at compile time.
1438         (smie-bnf-precedence-table): Store the closer-alist in the table.
1439         (smie-prec2-levels): Preserve the closer-alist.
1440         (smie-blink-matching-open): Be more forgiving in case of indentation.
1441         (smie-hanging-p): Rename from smie-indent--hanging-p.
1442         (smie-bolp): Rename from smie-indent--bolp.
1443         (smie--parent, smie--after): New dynamic vars.
1444         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1445         (smie-indent-rules): Remove.
1446         (smie-indent--offset-rule): Remove fun.
1447         (smie-rules-function): New var.
1448         (smie-indent--rule): New fun.
1449         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1450         (smie-indent-exps): Use it.
1451         (smie-setup): Setup paren blinking; add keyword args for token
1452         functions; extract closer-alist from op-levels.
1453         (smie-indent-debug-log): Remove var.
1454         (smie-indent-debug): Remove fun.
1455         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1456         (prolog-smie-rules): New fun to replace it.
1457         (prolog-mode-variables): Simplify.
1458         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1459         it's setup automatically.
1460         (octave-smie-indent-rules): Remove.
1461         (octave-smie-rules): New fun to replace it.
1462         (octave-mode): Simplify.
1464 2010-10-29  Glenn Morris  <rgm@gnu.org>
1466         * files.el (temporary-file-directory): Remove (already defined in C).
1467         * cus-start.el: Add temporary-file-directory.
1469         * abbrev.el (abbrev-mode):
1470         * composite.el (auto-composition-mode):
1471         * menu-bar.el (menu-bar-mode):
1472         * simple.el (transient-mark-mode):
1473         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1474         that they do not define the associated variables twice.
1475         * simple.el (transient-mark-mode): Remove defvar.
1476         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1477         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1478         Handle multiple groups, and also custom-delayed-init-variables.
1479         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1481 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1483         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1484         (pcase-if): Add one minor optimization.
1485         (pcase-split-equal): Rename from pcase-split-eq.
1486         (pcase-split-member): Rename from pcase-split-memq.
1487         (pcase-u1): Add strings to the member optimization.
1488         Add `guard' variant of predicates.
1489         (pcase-q1): Add string patterns.
1491 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1493         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1495 2010-10-28  Glenn Morris  <rgm@gnu.org>
1497         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1498         Move menu-bar related settings to ../menu-bar.el.
1499         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1500         Move ns-specific settings here from term/ns-win.el.
1502         * simple.el (x-selection-owner-p): Remove unused declaration.
1504 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1506         * minibuffer.el (completion-cycling): New var (bug#7266).
1507         (minibuffer-complete, completion--do-completion):
1508         Use completion--flush-all-sorted-completions.
1509         (minibuffer-complete): Only cycle if completion-cycling is set.
1510         (completion--flush-all-sorted-completions): Unset completion-cycling.
1511         (minibuffer-force-complete): Set completion-cycling.
1512         (completion-all-sorted-completions): Move declaration before first use.
1514 2010-10-28  Leo  <sdl.web@gmail.com>
1516         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1517         which changes the order of matches seen by users (bug#7231).
1519 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
1521         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1522         Don't confuse -omega as "-o mega".
1524 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1526         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1527         (log-edit-author): New dynamic var.
1528         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1529         to return the author if different from committer.
1530         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1532         * play/landmark.el: Adjust commenting convention.
1533         (lm-nil-score): Rename from nil-score.
1534         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1535         (OOOOscore): Move into a let in lm-score-trans-table.
1536         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1538         * electric.el (electric-indent-chars): Autoload.
1539         * progmodes/octave-mod.el (octave-mode):
1540         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1541         (ruby-mode-abbrev-table): Merge initialization and declaration.
1543 2010-10-27  Glenn Morris  <rgm@gnu.org>
1545         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1546         variable.
1548         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1550         * term/ns-win.el: Restore require of cl when compiling.
1551         (menu-bar-final-items): Remove non-existent `windows' menu.
1552         (ns-handle-nxopen): Optionally handle the temp-case.
1553         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1554         (ns-insert-file, ns-find-file): Use `pop'.
1556 2010-10-26  Glenn Morris  <rgm@gnu.org>
1558         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1560 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
1562         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1563         global map.
1564         * term/common-win.el (x-setup-function-keys): Remove most of the
1565         keymappings.  Comment on the remaining ones.
1567 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
1569         * server.el (server-port): New option.  (Bug#854)
1570         (server-start): Use server-port.
1572 2010-10-26  Glenn Morris  <rgm@gnu.org>
1574         * term/ns-win.el (ns-version-string): Remove unused declaration.
1575         (ns-invocation-args): Change to x-invocation-args.
1576         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1577         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1578         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1579         Use x-invocation-args instead of ns-invocation-args.
1580         (ns-initialize-window-system, handle-args-function-alist):
1581         Use x-handle-args instead of ns-handle-args.
1582         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1583         * startup.el (command-line-ns-option-alist): Replace
1584         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1585         ns-handle-iconic with the x- equivalents.
1587         * term/common-win.el (x-select-enable-clipboard):
1588         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1590         * term/ns-win.el: No need to require cl when compiling.
1591         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1592         (xw-defined-colors): Use the common-win definitions.
1593         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1594         (ns-handle-iconic): Make it an alias for x-handle-iconic.
1595         * term/common-win.el (x-select-text, x-alternatives-map)
1596         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1597         * loadup.el [ns]: Load common-win.
1599 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
1601         * epa-mail.el (epa-mail-encrypt): Handle local-part only
1602         recipients; expand mail aliases (Bug#7280).
1604 2010-10-25  Glenn Morris  <rgm@gnu.org>
1606         * term/common-win.el (x-handle-switch): Simplify with pop.
1607         Optionally handle numeric switches.
1608         (x-handle-numeric-switch): Just call x-handle-switch.
1609         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1610         (x-handle-name-switch, x-handle-display, x-handle-args):
1611         Simplify with pop.
1613         * term/ns-win.el: Do not require easymenu.
1614         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1615         <spell>: Move adjustments to menu-bar.el.
1616         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1617         <separator-undo, spell>: Move ns-win's adjustments here.
1618         * loadup.el [ns]: Do not load easymenu.
1620 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1622         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1623         Delete (Bug#7222).
1625         * startup.el (fancy-startup-tail): Instead of using inline images,
1626         refer to image files from etc/.
1628         * wid-edit.el (checkbox): Likewise.
1629         (widget-image-find): Center image specs.
1631 2010-10-24  Glenn Morris  <rgm@gnu.org>
1633         * term/ns-win.el (x-select-text): Doc fix.
1634         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1635         (x-select-text): Move to term/common-win.
1636         * term/w32-win.el (xw-defined-colors): Move to common-win.
1637         * term/x-win.el (xw-defined-colors, x-alternatives-map)
1638         (x-setup-function-keys, x-select-text): Move to common-win.
1639         * term/common-win.el (x-select-text, x-alternatives-map)
1640         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1641         definitions here.
1643 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
1645         * net/mairix.el (mairix-searches-mode-map):
1646         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1648 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
1650         * verilog-mode.el (verilog-directive-re): Make this variable
1651         auto-built for efficiency of execution and updating.
1652         (verilog-extended-complete-re): Support 'pure' fucntion & task
1653         declarations (these have no bodies).
1654         (verilog-beg-of-statement): General cleanup to enable support of
1655         'pure' fucntion & task declarations (these have no bodies).
1656         These efforts together fix Verilog bug210 from veripool; which was also
1657         noticed by Steve Pearlmutter.
1658         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1659         (verilog-directive-nest-re, verilog-set-auto-endcomments):
1660         Support `elsif.  Reported by Shankar Giri.
1661         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1662         attribute handling for lining up declarations and assignments.
1663         (verilog-beg-of-statement-1): Fix issue where continued declaration
1664         is indented differently if it is after a begin..end clock.
1665         (verilog-in-attribute-p, verilog-skip-backward-comments)
1666         (verilog-skip-forward-comment-p): Support proper treatment of
1667         attributes by indent code. Reported by Jeff Steele.
1668         (verilog-in-directive-p): Fix comment to correctly describe function.
1669         (verilog-backward-up-list, verilog-in-struct-region-p)
1670         (verilog-backward-token, verilog-in-struct-p)
1671         (verilog-in-coverage-p, verilog-do-indent)
1672         (verilog-pretty-declarations): Use verilog-backward-up-list as
1673         wrapper around backward-up-list inorder to properly skip comments.
1674         Reported by David Rogoff.
1675         (verilog-property-re, verilog-endcomment-reason-re)
1676         (verilog-beg-of-statement, verilog-set-auto-endcomments)
1677         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1678         of if). Reported by Max Bjurling and
1679         (verilog-calc-1): Fix for clocking block in modport
1680         declaration. Reported by Brian Hunter.
1682 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
1684         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1685         (verilog-gate-keywords, verilog-read-sub-decls)
1686         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1687         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1688         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
1689         (verilog-read-decls): Fix spaces in V2K module parameters causing
1690         mis-identification as interfaces, bug287.
1691         (verilog-read-decls): Fix not treating "parameter string" as a
1692         parameter in AUTOINSTPARAM.
1693         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1694         treating `elsif similar to `endif inside AUTOSENSE.
1695         (verilog-do-indent): Implement correct automatic or static task or
1696         function end comment highlight. Reported by Steve Pearlmutter.
1697         (verilog-font-lock-keywords-2): Fix highlighting of single
1698         character pins, bug264.  Reported by Michael Laajanen.
1699         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1700         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1701         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1702         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
1703         (verilog-pretty-expr): Fix interactive arguments, bug272.
1704         Reported by Mark Johnson.
1705         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1706         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1707         bug269. Suggested by Gary Delp.
1708         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1709         (verilog-preprocessor, verilog-set-compile-command):
1710         Create verilog-preprocess and verilog-preprocessor to show
1711         preprocessed output.
1712         (verilog-get-beg-of-line, verilog-get-end-of-line)
1713         (verilog-modi-file-or-buffer, verilog-modi-name)
1714         (verilog-modi-point, verilog-within-string): Move defmacro's
1715         before first use to avoid warning. Reported by Steve Pearlmutter.
1716         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1717         (verilog-colorize-region, verilog-highlight-buffer)
1718         (verilog-highlight-includes, verilog-highlight-modules)
1719         (verilog-highlight-region, verilog-mode): Rename colorize to
1720         highlight to match other packages.  Disable module highlighting,
1721         as received speed complaints, reenable for experimentation only
1722         using new verilog-highlight-modules.
1723         (verilog-read-decls): Fix regexp stack overflow in very large
1724         AUTO_TEMPLATEs, bug250.
1725         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1726         (verilog-scan): Create verilog-save-buffer-state to standardize
1727         making insignificant changes that shouldn't call hooks.
1728         (verilog-save-no-change-functions, verilog-save-scan-cache)
1729         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1730         Create verilog-save-no-change-functions to wrap verilog-scan
1731         preservation, and fix to work with nested preserved calls.
1732         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1733         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1734         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
1735         (verilog-submit-bug-report): Update variable list to be complete.
1736         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1737         breaking on-the-fly font-locking.
1738         (verilog-colorize-buffer, verilog-colorize-include-files)
1739         (verilog-colorize-include-files-buffer, verilog-colorize-region)
1740         (verilog-load-file-at-mouse, verilog-load-file-at-point)
1741         (verilog-mode, verilog-read-inst-module-matcher): With point on a
1742         AUTOINST cell instance name, middle mouse button now finds-file on
1743         it.  Suggested by Brad Dobbie.
1744         (verilog-alw-get-temps, verilog-auto-reset)
1745         (verilog-auto-sense-sigs, verilog-read-always-signals)
1746         (verilog-read-always-signals-recurse): Fix loop indexes being
1747         AUTORESET. AUTORESET now assumes any variables in the
1748         initialization section of a for() should be ignored.
1749         Reported by Dan Dever.
1750         (verilog-error-font-lock-keywords)
1751         (verilog-error-regexp-emacs-alist)
1752         (verilog-error-regexp-xemacs-alist): Fix error detection of
1753         Cadence HAL, reported by David Asher.  Repair drift between the
1754         three similar error variables.
1755         (verilog-modi-lookup, verilog-modi-lookup-cache)
1756         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1757         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1758         Fix slow verilog-auto expansion on very large files.
1759         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1760         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1761         "{1*2{...".  Broke in last revision.
1762         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1763         submodule connections with replications "{#{a},#{b}}".
1765 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
1767         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1768         Fix typo in docstring.
1770 2010-10-24  Kenichi Handa  <handa@m17n.org>
1772         * face-remap.el (text-scale-adjust): Call read-event with a proper
1773         prompt.
1775 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1777         * emacs-lisp/unsafep.el: Don't mark functions that display
1778         messages as safe.  Suggested by Johan Bockgård.
1780 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1782         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1783         Turn comments into docstrings.
1785         * minibuffer.el (completion--replace): Move point where it belongs
1786         when there's a common suffix (bug#7215).
1788 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1790         Merge read-color and facemenu-read-color (Bug#7242).
1792         * faces.el (read-color): Use the completion code from
1793         facemenu-read-color.  Require match in completion.  Doc fix.
1795         * facemenu.el (facemenu-read-color): Alias for read-color.
1796         (facemenu-set-foreground, facemenu-set-background):
1797         Use read-color.
1799         * frame.el (set-background-color, set-foreground-color)
1800         (set-cursor-color, set-mouse-color, set-border-color):
1801         Use read-color.
1803 2010-10-24  Leo  <sdl.web@gmail.com>
1805         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1806         argument of delete-file and delete-directory (Bug#7011).
1808 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1810         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1811         button-buffer-map.
1813 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
1815         * emacs-lisp/package.el (package--generate-package-list): Make the
1816         *Packages* buffer read-only.
1818 2010-10-24  Alan Mackenzie  <acm@muc.de>
1820         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1821         result of `c-beginning-of-decl-1' between invocations of a lambda
1822         function (Bug #7265).
1824 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
1826         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1827         executable is not available on the system (Bug#7268).
1829 2010-10-24  Glenn Morris  <rgm@gnu.org>
1831         * select.el (selection-coding-system, next-selection-coding-system):
1832         Sync doc with C versions.
1834         * w32-vars.el (x-select-enable-clipboard):
1835         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1836         * term/common-win.el (x-select-enable-clipboard): Move here.
1838         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1839         definition of C variable.
1841         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1842         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1843         Don't redefine things that are defined in C.
1844         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1845         (show-trailing-whitespace, auto-hscroll-mode)
1846         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1847         Set up the appropriate custom properties.
1849 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1851         Bind "C-c ]" to ...
1852         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1853         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1854         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1855         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1857 2010-10-23  Glenn Morris  <rgm@gnu.org>
1859         * textmodes/flyspell.el (flyspell-mode): If there was an error,
1860         say what it was.
1862         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1863         Sync docs with C version.
1865         * term/ns-win.el (xw-defined-colors):
1866         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1868         * term/pc-win.el (x-select-enable-clipboard):
1869         * term/x-win.el (x-select-enable-clipboard):
1870         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1872         * comint.el (comint-password-prompt-regexp): Make it less vague.
1873         Bump version.
1875         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1877         * help.el (finder-by-keyword): Remove unnecessary autoload.
1879 2010-10-22  Glenn Morris  <rgm@gnu.org>
1881         * loadup.el: Unconditionally load float-sup.
1882         * paren.el (show-paren-delay):
1883         * emacs-lisp/float-sup.el:
1884         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1885         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1886         (lazy-lock-stealth-verbose): Assume float support.
1887         * ps-print.el: Assume float support on Emacs.
1888         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1889         Remove non-float branch.
1891         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1892         src/Makefile no longer being pre-processed.
1894 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1896         * emacs-lisp/find-func.el (find-library): Use test-completion.
1898 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1900         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1902 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
1904         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1905         space in stat format string.
1906         (tramp-send-command): Unset $PS1 when using here documents, in
1907         order not to get several prompts.
1908         (tramp-get-inline-coding): Return `nil' in case of errors.
1910 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
1912         * hexl.el (hexl-mode, hexl-mode-exit):
1913         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1914         (hexl-revert-buffer-function): New function.
1915         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1917 2010-10-19  Alan Mackenzie  <acm@muc.de>
1919         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1920         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1921         that these keywords aren't wrongly matched as identifiers.
1923         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1924         setting of c-new-BEG and c-new-END from c-before-change to
1925         c-after-change.  (Bug#7181)
1927 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1929         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1930         Don't mark as safe.
1932         * custom.el (custom-theme-set-variables): Likewise.
1933         (load-theme): Add custom-theme-set-faces and
1934         custom-theme-set-variables to safe-functions while loading.
1935         (custom-enabled-themes): Mark as risky.
1937 2010-10-18  Julien Danjou  <julien@danjou.info>
1939         * bindings.el: Remove end dashes in default mode-line-format.
1941 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1943         * bindings.el (global-map): Bind C-d to delete-char and deletechar
1944         to delete-forward-char.
1946         * simple.el (normal-erase-is-backspace-mode): Remap delete to
1947         deletechar, and hence delete-forward-char.
1949 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1951         * repeat.el (repeat): Use read-key (bug#6256).
1953 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1955         * emacs-lisp/unsafep.el: Don't mark functions that display
1956         messages as safe.  Suggested by Johan Bockgård.
1958 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1960         * minibuffer.el (completion--replace): Move point where it belongs
1961         when there's a common suffix (bug#7215).
1963 2010-10-19  Kenichi Handa  <handa@m17n.org>
1965         * international/characters.el: Add category '|' (word breakable)
1966         to fullwidth characters.
1968 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
1970         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1971         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1972         order to make stat results a float.  Patch by Andreas Schwab
1973         <schwab@linux-m68k.org>.
1975 2010-10-18  Julien Danjou  <julien@danjou.info>
1977         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1978         hidden by `make-pointer-invisible'.
1980 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1982         * files.el (locate-file-completion-table): Strip non-matching elements
1983         before checking length of list (bug#7238).
1985 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
1987         * custom.el (custom-theme-set-variables): Mark as a safe function.
1988         (load-theme): Check forms using unsafep.
1990         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1992 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
1994         * textmodes/ispell.el (ispell-aspell-find-dictionary):
1995         Fix aspell data file searching (bug#7230).
1997 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1999         * cus-theme.el (custom-theme--migrate-settings): New var.
2000         (customize-create-theme): Allow editing the `user' theme.
2001         (custom-theme-add-variable, custom-theme-add-var-1)
2002         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2003         to the front of each variable or face widget.
2004         (custom-theme-write): Save theme settings in the correct order.
2005         Optionally, remove saved settings from user customizations.
2006         (custom-theme-write-variables, custom-theme-write-faces):
2007         Save only the checked widgets.
2008         (customize-themes): Add a link for migrating custom settings.
2010         * custom.el (custom-declare-theme, provide-theme):
2011         Use custom-theme-name-valid-p.
2012         (custom-theme-name-valid-p): Remove checks that are now
2013         unnecessary since themes no longer obey load-path.
2015         * cus-edit.el (custom-variable-value-create): For the simple
2016         style, hide documentation string when hidden.
2018 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2020         * cus-edit.el (custom-variable, custom-face): Combine the
2021         :inhibit-magic and :display-style properties into a single
2022         :custom-style property.
2023         (custom-toggle-hide-variable, custom-toggle-hide-face):
2024         New functions.  If hiding an edited value, save it to :shown-value.
2025         (custom-variable-value-create, custom-face-value-create): Use them.
2026         (custom-magic-reset): Allow magic property to be unset.
2028         * custom.el: Custom themes no longer use load-path.
2029         (custom-theme-load-path): New option.  Change built-in theme
2030         directory to etc/.
2031         (custom-enabled-themes): Add custom-theme-load-path dependency.
2032         (custom-theme--load-path): New function.
2033         (load-theme, custom-available-themes): Use it.
2035         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2036         (customize-themes): Link to custom-theme-load-path variable.
2037         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2038         :custom-style property.
2040         * themes/*.el: Moved to etc/.
2042 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
2044         * textmodes/reftex-cite.el
2045         (reftex-extract-bib-entries-from-thebibliography): Do not move
2046         point when searching for \bibitem entries.  Match entries with
2047         spaces or tabs in front of arguments.
2049 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2051         * cus-theme.el (customize-create-theme): Delete overlays after
2052         erasing.  If given a THEME arg, display only the faces of that arg
2053         instead of custom-theme--listed-faces.
2054         (custom-theme-variable-menu, custom-theme-variable-action)
2055         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2056         (custom-theme-add-variable, custom-theme-add-face): Apply value
2057         from the theme settings, instead of the current value.
2058         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2059         (custom-theme-visit-theme): Allow calling outside theme buffers.
2060         (custom-theme-merge-theme): Don't enable the theme when merging.
2061         (custom-theme-write-variables, custom-theme-write-faces): Use the
2062         :shown-value properties to save buffer values, not global ones.
2063         (customize-themes): Display a warning about user customizations.
2065         * cus-edit.el (custom-variable-value-create)
2066         (custom-face-value-create): Obey new special properties
2067         :shown-value and :inhibit-magic.
2069 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
2071         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2072         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
2073         <dale@codefu.org>.
2075 2010-10-14  Kenichi Handa  <handa@m17n.org>
2077         * mail/rmail.el (rmail-show-message-1): Catch an error of
2078         base64-decode-region and just show an error message (bug#7165).
2080         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
2081         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2082         a font-spec (bug#7197).
2084 2010-10-14  Glenn Morris  <rgm@gnu.org>
2086         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2088 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
2090         * international/mule.el (define-coding-system):
2091         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2092         * composite.el (compose-region): Fix typo in docstring.
2094 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
2096         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2097         only after checking the theme-face property.
2099         * faces.el (face-spec-reset-face): Reset all attributes in one
2100         single call to set-face-attribute.
2101         (face-spec-match-p): Make it a defsubst.
2102         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2103         (x-create-frame-with-faces, tty-create-frame-with-faces)
2104         (tty-set-up-initial-frame-faces): Don't recompute face specs in
2105         frame-set-background-mode, since they are recomputed immediately
2106         afterwards in face-set-after-frame-default.
2107         (face-set-after-frame-default): Minor optimization.
2108         (cursor): Provide non-trivial defface spec.
2110         * custom.el (custom-theme-recalc-face): Simplify.
2112 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
2114         * calc/calc-alg.el (math-var): Rename from `var'.
2115         (math-is-polynomial, math-is-poly-rec): Replace `var'
2116         with `math-var'.
2118         * calc/calcalg2.el (math-var): Rename from `var'.
2119         (calcFunc-table, math-scan-for-limits): Replace `var'
2120         with `math-var'.
2122 2010-10-13  Glenn Morris  <rgm@gnu.org>
2124         * subr.el (last): Deal with dotted lists (reported in bug#7174).
2126 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
2128         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2130 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2132         * net/tls.el (tls-program): Remove spurious %s from openssl.
2133         (tls-starttls-switches): Remove starttls hack.
2134         (open-tls-stream): Ditto.
2135         (tls-find-starttls-argument): Ditto.
2137 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
2139         * image.el (image-library-alist): Declare as obsolete alias.
2140         (image-type-available-p): Use `dynamic-library-alist'.
2142         * term/w32-win.el (dynamic-library-alist):
2143         Use instead of `image-library-alist'.
2145 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
2147         * subr.el (last): Make it faster.  (Bug#7174)
2149 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
2151         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
2153 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2155         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2156         (describe-theme-1): Extract doc from unloaded themes.
2158         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2160         * themes/tango-theme.el:
2161         * themes/tango-dark-theme.el:
2162         * themes/wheatgrass-theme.el: New files.
2164 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2166         * cus-theme.el (describe-theme, customize-themes)
2167         (custom-theme-save): New commands.
2168         (custom-new-theme-mode-map): Bind C-x C-s.
2169         (custom-new-theme-mode): Use custom--initialize-widget-variables.
2170         (customize-create-theme): New optional arg THEME.
2171         (custom-theme-revert): Use it.
2172         (custom-theme-visit-theme): Remove dead code.
2173         (custom-theme-merge-theme): Use custom-available-themes.
2174         (custom-theme-write): Make interactive.
2175         (custom-theme-write): Use custom-theme-name-valid-p.
2176         (describe-theme-1, custom-theme-choose-revert)
2177         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2178         New funs.
2179         (custom-theme-allow-multiple-selections): New option.
2180         (custom-theme-choose-mode): New major mode.
2182         * custom.el (custom-theme-set-variables): Remove dead code.
2183         Obey custom--inhibit-theme-enable.
2184         (custom--inhibit-theme-enable): New var.
2185         (provide-theme): Obey it.
2186         (load-theme): Replace load with manual read/eval, in order to
2187         check for correctness.  Use custom-theme-name-valid-p.
2188         (custom-theme-name-valid-p): New function.
2189         (custom-available-themes): Use it.
2191         * cus-edit.el (custom--initialize-widget-variables): New function.
2192         (Custom-mode): Use it.
2194         * cus-face.el (custom-theme-set-faces): Remove dead code.
2195         Obey custom--inhibit-theme-enable.
2197         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2199 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
2201         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2203 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
2205         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2206         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2207         (mac-right-option-modifier): New alias for ns-right-option-modifier.
2209         * cus-start.el (all): ns-right-alternate-modifier is new.
2211 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2213         * emacs-lisp/lisp.el (lisp-completion-at-point):
2214         Use emacs-lisp-mode-syntax-table for the whole function.
2216 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
2218         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2219         instead of font-lock-mode before adding keywords.
2220         Remove hi-lock-mode off code.  Remove inhibit hack.
2221         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2222         non-nil; removed hook inhibit hack.
2224 2010-10-12  Glenn Morris  <rgm@gnu.org>
2226         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2227         (load-path-shadows-find): ... to this.
2228         (list-load-path-shadows): Update for above change.
2230         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2232 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2234         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2235         Fix comment for declare-function.
2237 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
2239         * custom.el (custom-fix-face-spec): New function; code moved from
2240         custom-face-edit-fix-value.
2241         (custom-push-theme): Use it when checking if a face has been
2242         changed outside customize.
2243         (custom-available-themes): New function.
2244         (load-theme): Use it.
2246         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2248         * custom.el (custom-push-theme): Cleanup (use cond).
2249         (disable-theme): Recompute the saved-face property.
2250         (custom-theme-recalc-face): Follow face alias before setting prop.
2252         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2253         New variables, containing checkbox images.
2255         * startup.el (fancy-startup-tail):
2256         * wid-edit.el (checkbox): Use them.
2258 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
2260         * shell.el (shell-mode-map):
2261         * progmodes/modula2.el (m2-mode-map):
2262         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2263         * play/mpuz.el (mpuz-mode-map):
2264         * play/landmark.el (lm-mode-map):
2265         * play/decipher.el (decipher-mode-map):
2266         * play/5x5.el (5x5-mode-map):
2267         * net/telnet.el (telnet-mode-map):
2268         * net/quickurl.el (quickurl-list-mode-map):
2269         * net/mairix.el (mairix-searches-mode-map):
2270         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2271         * net/dig.el (dig-mode-map):
2272         * mail/mspools.el (mspools-mode-map):
2273         * hexl.el (hexl-mode-map):
2274         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2275         (wordstar-C-o-map, wordstar-C-q-map):
2276         * emacs-lisp/edebug.el (edebug-eval-mode-map):
2277         * emacs-lisp/chart.el (chart-map):
2278         * edmacro.el (edmacro-mode-map):
2279         * erc/erc-list.el (erc-list-menu-mode-map):
2280         * array.el (array-mode-map): Declare and define in one step.
2282         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2284 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
2286         * epa.el (epa-passphrase-callback-function): Display filename
2287         passed as the 3rd arg.
2288         * epa-file.el (epa-file-passphrase-callback-function):
2289         Pass filename to epa-passphrase-callback-function.
2291 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
2293         * cus-edit.el (custom-face-widget-to-spec)
2294         (custom-face-get-current-spec, custom-face-state): New functions.
2295         (custom-face-set, custom-face-mark-to-save)
2296         (custom-face-value-create, custom-face-state-set): Use them.
2298         * cus-theme.el (custom-theme--listed-faces): New var.
2299         (customize-create-theme): Use *Custom Theme* as the buffer name.
2300         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
2301         faces listed in custom-theme--listed-faces.
2302         (custom-theme-revert): New function.
2303         (custom-theme-add-variable, custom-theme-add-face): Insert at the
2304         bottom of the list.
2305         (custom-theme-write): Prompt for theme name if empty.
2306         (custom-theme-write-variables): Use dolist.
2307         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2309 2010-10-09  Alan Mackenzie  <acm@muc.de>
2311         Enhance fontification of declarators to take account of the
2312         presence/absence of "typedef".
2314         * cc-engine.el (c-forward-type): New &optional param
2315         "brace-block-too".
2316         (c-forward-decl-or-cast-1): cdr of return value now indicates the
2317         presence of either or both of a "struct"-like keyword and "typedef".
2319         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2320         fontification of declarators which follow a "}".
2321         (c-font-lock-declarations): Fontify declarators according to the
2322         presence/absence of "typedef".
2324         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2325         for "typedef".
2326         (c-typedef-decl-key): New lang variable built from
2327         c-typedef-decl-kwds.
2329 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2331         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2332         since that's too annoying.  Move the filter groups commands to
2333         TAB/backtab.
2335         * epa.el (epa-passphrase-callback-function): Say what we're
2336         querying the password for.
2338         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2339         behaviour, don't bury the ibuffer buffer when visiting other buffers.
2341 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2343         * cus-edit.el (custom-commands, custom-buffer-create-internal)
2344         (custom-magic-value-create): Pad button tags with spaces.
2345         (custom-face-edit): New variable.
2346         (custom-face-value-create): Determine whether to use the usual
2347         face editor here, instead of using custom-face-selected.
2348         Pass face defaults to custom-face-edit widget.
2349         (custom-face-selected, custom-display-unselected): Delete widgets.
2350         (custom-display-unselected-match): Function removed.
2351         (custom-face-set, custom-face-mark-to-save):
2352         Accept custom-face-edit widgets as the direct widget child.
2354         * wid-edit.el (widget--completing-widget): New var.
2355         (widget-default-complete): Bind it when doing completion.
2356         (widget-string-complete, widget-file-complete): Use it.
2358 2010-10-09  Glenn Morris  <rgm@gnu.org>
2360         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2361         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2362         (holiday-hebrew-misc): Small simplifications.
2364         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2366         * net/browse-url.el: Don't require thingatpt, term, dired,
2367         executable, or w3-auto when compiling.
2368         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2369         Declare.
2370         (browse-url-text-emacs): Require term.
2372 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2374         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2376 2010-10-08  Glenn Morris  <rgm@gnu.org>
2378         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2380         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2381         (shadows-compare-text-p): Make it an obsolete alias for...
2382         (load-path-shadows-compare-text): ... new name.
2383         (find-emacs-lisp-shadows): Update for above name change.
2384         (load-path-shadows-same-file-or-nonexistent): New name for the old
2385         shadow-same-file-or-nonexistent.
2387 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2389         * minibuffer.el (completion--some, completion--do-completion)
2390         (minibuffer-complete-and-exit, minibuffer-completion-help)
2391         (completion-basic-try-completion)
2392         (completion-basic-all-completions)
2393         (completion-pcm--find-all-completions): Use lexical-let to
2394         avoid some false matches in variable completion (Bug#7056)
2396 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
2398         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
2400 2010-10-08  Leo  <sdl.web@gmail.com>
2402         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2403         return non-nil if the file exists (Bug#7090).
2405 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2407         * minibuffer.el (completion--replace):
2408         Better preserve markers (bug#7138).
2410 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
2412         * server.el (server-process-filter): Doc fix.
2414 2010-10-08  Drew Adams  <drew.adams@oracle.com>
2416         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
2418 2010-10-08  Glenn Morris  <rgm@gnu.org>
2420         * vc/ediff-wind.el (ediff-setup-control-frame):
2421         * vc/ediff-ptch.el (ediff-default-backup-extension):
2422         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2423         (ediff-exec-process): Remove system-types emx, windows-95.
2425         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
2427 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
2429         * cus-edit.el (custom-variable, custom-face): Doc fix.
2430         (custom-face-edit): Add value-create attribute.
2431         (custom-face-edit-value-create)
2432         (custom-face-edit-value-visibility-action): New functions.
2433         Hide unused face attributes by default, and add a visibility toggle.
2434         (custom-face-edit-deactivate): Show empty values with shadow face.
2435         (custom-face-selected): Only use this for face specs with default
2436         attributes.
2437         (custom-face-value-create): Cleanup.
2439         * wid-edit.el (widget-checklist-value-create): Use dolist.
2440         (widget-checklist-match-find): Make second arg optional.
2442 2010-10-07  Glenn Morris  <rgm@gnu.org>
2444         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2445         Prefix things.
2447         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2448         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2449         load-path-shadows-mode, update references.
2450         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2451         Rename variable and button.
2452         (list-load-path-shadows): Update button caller.
2454 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2456         * emacs-lisp/smie.el (smie-bnf-classify): New function.
2457         (smie-bnf-precedence-table): Use it to remember the closers/openers.
2458         (smie-merge-prec2s): Handle those new entries.
2459         (smie-prec2-levels): Only set precedence to nil for actual
2460         openers/closers.
2461         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2462         that is now unnecessary.
2464 2010-10-07  Miles Bader  <miles@gnu.org>
2466         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2468 2010-10-07  Glenn Morris  <rgm@gnu.org>
2470         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2471         (mail-position-on-field): Remove declarations.
2472         (mail-position-on-field): Autoload it.
2473         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2474         and mail-header-end.  Don't require sendmail.
2476         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2477         (shadow-mode): New mode.
2478         (shadow-find-file): New button.
2479         (list-load-path-shadows): Use shadow-mode and buttons.
2481         * iimage.el (iimage-version): Remove.
2482         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2483         Turn into defcustoms.
2484         (iimage-mode-map): Give it a doc string.
2486         * calendar/appt.el (appt-activate): Give a warning rather than an error
2487         if there is no diary-file.
2489 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
2491         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2492         Use `tramp-handle-find-backup-file-name'.
2494 2010-10-06  Glenn Morris  <rgm@gnu.org>
2496         * font-core.el (font-lock-defaults-alist): Remove variable.
2497         (font-lock-mode): Doc fix.
2498         (font-lock-default-function): Do not consult font-lock-defaults-alist.
2499         * font-lock.el (font-lock-refresh-defaults): Doc fix.
2500         (font-lock-set-defaults): Doc fix.
2501         Do not consult font-lock-defaults-alist.
2503         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2505         * emacs-lisp/cl.el: No longer provide cl-19.
2507 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
2509         * net/tramp.el (tramp-handle-directory-files-and-attributes)
2510         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2511         New defuns, taken from tramp-smb.el.
2512         (tramp-coding-system-change-eol-conversion)
2513         (tramp-set-process-query-on-exit-flag): Remove.
2515         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2516         (tramp-compat-coding-system-change-eol-conversion)
2517         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2518         from tramp.el.
2520         * net/tramp-gvfs.el:
2521         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2522         by `tramp-compat-set-process-query-on-exit-flag'.
2524         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2525         Use `tramp-handle-directory-files-and-attributes',
2526         `tramp-handle-file-exists-p' and
2527         `tramp-handle-file-newer-than-file-p'.
2528         (tramp-imap-handle-file-exists-p)
2529         (tramp-imap-handle-file-executable-p)
2530         (tramp-imap-handle-file-readable-p)
2531         (tramp-imap-handle-directory-files-and-attributes)
2532         (tramp-imap-handle-file-newer-than-file-p): Remove.
2534         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2535         by `tramp-compat-set-process-query-on-exit-flag' and
2536         `tramp-coding-system-change-eol-conversion' by
2537         `tramp-compat-coding-system-change-eol-conversion'.
2539         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2540         Use `tramp-handle-directory-files-and-attributes',
2541         `tramp-handle-file-exists-p' and
2542         `tramp-handle-file-newer-than-file-p'.
2543         (tramp-smb-handle-directory-files-and-attributes)
2544         (tramp-smb-handle-file-exists-p)
2545         (tramp-smb-handle-file-newer-than-file-p): Remove.
2546         (tramp-smb-maybe-open-connection):
2547         Replace `tramp-set-process-query-on-exit-flag' by
2548         `tramp-compat-set-process-query-on-exit-flag'.
2550 2010-10-05  Glenn Morris  <rgm@gnu.org>
2552         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2554 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
2556         Continue reorganization of load dependencies.  (Bug#7156)
2558         * net/tramp.el (tramp-handle-file-local-copy-hook)
2559         (tramp-delete-temp-file-function): Move down.
2560         (tramp-exists-file-name-handler): Move up.
2561         (tramp-register-file-name-handlers): Simplify autoload.
2562         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2563         (tramp-handle-directory-files, tramp-handle-dired-uncache)
2564         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2565         (tramp-handle-file-name-completion)
2566         (tramp-handle-file-name-directory)
2567         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2568         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2569         (tramp-handle-find-backup-file-name)
2570         (tramp-handle-insert-file-contents, tramp-handle-load)
2571         (tramp-handle-substitute-in-file-name)
2572         (tramp-handle-unhandled-file-name-directory)
2573         (tramp-mode-string-to-int, tramp-local-host-p)
2574         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2576         * net/tramp-gvfs.el (top):
2577         * net/tramp-smb.el (top): Do not require 'tramp-sh.
2579         * net/tramp-sh.el (all): Move several objects to tramp.el, see
2580         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2582 2010-10-04  Glenn Morris  <rgm@gnu.org>
2584         * calendar/appt.el (appt-add): Ensure reminders are enabled.
2585         (appt-activate): Give status messages.
2587 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2589         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
2590         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2591         `gnutls-negotiate' (formerly `starttls-negotiate').
2592         Remove trivial wrapper `starttls-open-stream'.
2594 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
2596         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2597         log-outgoing commands.
2598         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2599         to create a buffer local revert-buffer-function variable.
2600         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2601         revert-buffer-function lambda.
2603 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2605         * net/gnutls.el (starttls-negotiate): Use the plist interface to
2606         `gnutls-boot'.  Make TYPE the only required parameter.
2607         Allow TRUSTFILES and KEYFILES to be lists.
2608         (open-ssl-stream): Use it.
2610 2010-10-03  Glenn Morris  <rgm@gnu.org>
2612         * subr.el (directory-sep-char): Remove obsolete variable.
2613         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2614         it is "necessary".
2616         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2617         * vc/vc.el (vc-static-header-alist): Doc fix.
2618         * vc/vc-cvs.el (vc-cvs-header):
2619         * vc/vc-rcs.el (vc-rcs-header):
2620         * vc/vc-sccs.el (vc-sccs-header):
2621         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2622         * obsolete/vc-mcvs.el (vc-mcvs-header):
2623         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2624         on XEmacs.
2626 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2628         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2629         Remove obsolete use of binary-overwrite-mode (Bug#7001).
2631 2010-10-03  Glenn Morris  <rgm@gnu.org>
2633         * obsolete/x-menu.el: Remove file, obsolete since 21.1
2635         * textmodes/rst.el (rst-font-lock-keywords-function):
2636         Drop Emacs 20 code.
2638         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2640         * printing.el: Drop Emacs 20 code.
2642         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2643         without having used appt.el already).
2645         * subr.el (make-local-hook): Remove function obsolete since 21.1.
2646         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2647         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2648         XEmacs.
2649         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2650         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2652         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2653         (charset-width, find-charset-region, chars-in-region, forward-point)
2654         (encode-coding-string, coding-system-p, ccl-execute-on-string)
2655         (define-ccl-program, multibyte-string-p, string-make-multibyte):
2656         Remove compatibility cruft (none of these are used by ps*.el).
2658 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2660         * subr.el (booleanp): Return t instead of a list (Bug#7086).
2662 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2664         * server.el (server-process-filter, server-return-error):
2665         Give emacsclient time to shut down after receiving an error string.
2667 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
2669         * files.el (remote-file-name-inhibit-cache): New defcustom.
2671         * time.el (display-time-file-nonempty-p):
2672         Use `remote-file-name-inhibit-cache'.
2674         * net/tramp.el (tramp-completion-reread-directory-timeout):
2675         Fix docstring.
2677         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2678         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2679         `remote-file-name-inhibit-cache'.  Check also for an integer
2680         value.  Add/increase counter when `tramp-verbose' >= 10.
2681         (tramp-set-file-property): Add/increase counter when
2682         `tramp-verbose' >= 10.
2684         * net/tramp-cmds.el (tramp-cleanup-all-connections)
2685         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2686         (tramp-bug): Set tramp-autoload cookie.  Report all interned
2687         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
2688         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
2689         characters only in strings.
2691         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2692         to backward compatibility.
2694         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2695         (tramp-handle-file-name-all-completions)
2696         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2697         (tramp-open-connection-setup-interactive-shell):
2698         Call `tramp-cleanup-connection' directly.
2700 2010-10-02  Glenn Morris  <rgm@gnu.org>
2702         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2704         * subr.el (char-bytes): Remove obsolete function.
2706         * isearch.el (isearch-return-char): Remove obsolete function.
2708         * mouse.el: No longer provide mldrag.
2709         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2710         Remove obsolete aliases.
2712         * comint.el (comint-kill-output): Remove obsolete alias.
2714         * composite.el (decompose-composite-char): Remove obsolete function.
2715         * ps-def.el (decompose-composite-char): Remove unused function.
2717         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2719         * outline.el (outline-visible): Remove obsolete function.
2721         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2722         * faces.el (internal-find-face, internal-get-face)
2723         (frame-update-faces, frame-update-face-colors)
2724         (x-frob-font-weight, x-frob-font-slant)
2725         (internal-frob-font-weight, internal-frob-font-slant)
2726         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2727         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2728         (x-make-font-bold-italic): Remove functions and aliases, obsolete
2729         since Emacs 21.1.
2730         * emulation/viper-util.el (viper-get-face):
2731         * obsolete/lucid.el (find-face, get-face): Use facep.
2732         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2733         Remove unused functions.
2734         * vc/ediff-util.el (ediff-submit-report): Doc fix.
2736         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2737         delete tempfile if interrupted during compilation.
2739 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2741         * net/tls.el (tls-starttls-switches): Give up on using starttls with
2742         gnutls-cli.
2743         (tls-program): Add --insecure to be consistent with the defaults from
2744         openssl s_client.  Now all three commands are insecure.
2746 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
2748         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2749         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2750         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2752 2010-10-01  Glenn Morris  <rgm@gnu.org>
2754         * obsolete/sc.el: Remove file.
2756         * files.el (temporary-file-directory): On darwin, also try
2757         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2759 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
2761         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2762         Let's not break compatibility gratuitously, shall we?
2764 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2766         * net/tls.el (tls-starttls-switches): New variable.
2767         (tls-find-starttls-argument): Use it.
2768         (open-tls-stream): Ditto.
2770         * net/netrc.el (netrc-credentials): Return the value of the "default"
2771         entry.
2772         (netrc-machine): Ditto.
2774 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
2776         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2778 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
2780         * server.el (server-start): Don't write pid to the authentication file.
2781         (server-create-tty-frame): Don't send pid.
2782         (server-process-filter): Send pid at the start of every connection.
2784 2010-09-30  Glenn Morris  <rgm@gnu.org>
2786         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2787         (show-all-diary-entries): Remove obsolete function aliases.
2789         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2790         Remove options, obsolete since 22.1.
2791         (appt-display-format, appt-display-message):
2792         Remove backwards-compatibility code.
2793         (appt-check): No longer check appt-issue-message.
2794         (appt-make-list): No longer autoload it.  Doc fix.  No longer
2795         activate the package.
2797 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2799         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2800         (starttls-negotiate): Just call boot, and let the handshake be
2801         triggered from the read loop.
2803 2010-09-29  Glenn Morris  <rgm@gnu.org>
2805         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2806         not displaying the diary.
2807         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2808         * calendar/appt.el (appt-check): No longer need to kill diary.
2810         * calendar/diary-lib.el (diary-list-entries): Move the
2811         "Preparing..." message entirely here.
2812         (diary-simple-display, diary-fancy-display): Move "Preparing..."
2813         messages to diary-list-entries.
2814         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2815         diary-display-function.
2817         * calendar/diary-lib.el (diary-include-other-diary-files):
2818         Trap some recursive includes.
2820         * calendar/appt.el (appt-activate): Check diary file.
2822 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
2824         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2825         construction.
2827         * calendar/time-date.el: No need to require cl for Emacs 21.
2829 2010-09-28  Glenn Morris  <rgm@gnu.org>
2831         * calendar/appt.el (appt-check): Minor simplification.
2833 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
2835         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2836         citation prefix.
2838 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
2840         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2841         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
2843 2010-09-27  Kenichi Handa  <handa@m17n.org>
2845         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2846         "ustar" format.
2848 2010-09-27  Kenichi Handa  <handa@m17n.org>
2850         * international/mule.el (define-coding-system): Docstring fixed.
2852         * international/mule-diag.el (describe-character-set): Use princ
2853         with proper print-length and print-level instead of insert.
2855 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
2857         * window.el (walk-windows): Doc fix (bug#7105).
2859 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2861         * emacs-lisp/float-sup.el (e): Remove.
2863 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
2865         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2866         variable.
2867         (starttls-negotiate): Use it.
2869 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2871         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2872         back.
2874 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2876         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2878 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2880         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2882         * net/netrc.el (netrc-store-data): New function.
2884 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
2886         * net/gnutls.el: GnuTLS glue code to set up a connection.
2888 2010-09-25  Julien Danjou  <julien@danjou.info>
2890         * notifications.el: Call dbus-register-signal only if it is bound.
2892 2010-09-25  Glenn Morris  <rgm@gnu.org>
2894         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2895         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2896         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2897         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2898         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2899         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2900         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2901         * eshell/esh-util.el, eshell/esh-var.el:
2902         Remove leading `*' from docs of faces and defcustoms.
2904 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
2906         * eshell/em-ls.el (eshell-ls-archive-regexp):
2907         * eshell/esh-util.el (eshell-tar-regexp):
2908         * ibuffer.el (ibuffer-compressed-file-name-regexp):
2909         * info.el (Info-suffix-list):
2910         * international/mule.el (auto-coding-alist):
2911         * woman.el (woman-file-regexp, woman-file-compression-regexp):
2912         * progmodes/etags.el (tags-compression-info-list):
2913         Support xz compression.
2915 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
2917         * files.el (get-free-disk-space): Don't assume the "df" output
2918         columns line up (Bug#6995).
2920 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2922         * finder.el (finder-unknown-keywords):
2923         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2924         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2926 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2928         * server.el (server-start): Revert part of 2010-08-08 change.  Using
2929         address 127.0.0.1 for local host is now done in Fmake_network_process.
2931 2010-09-24  Glenn Morris  <rgm@gnu.org>
2933         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2934         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2935         * textmodes/css-mode.el, textmodes/dns-mode.el:
2936         Move autoloaded auto-mode-alist entries to files.el.
2937         * files.el (auto-mode-alist): Move entries here.
2939 2010-09-23  Glenn Morris  <rgm@gnu.org>
2941         * isearch.el (isearch-lazy-highlight-cleanup)
2942         (isearch-lazy-highlight-initial-delay)
2943         (isearch-lazy-highlight-interval)
2944         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2945         * net/net-utils.el (ipconfig-program-options):
2946         Move aliases to options before the associated definitions.
2948 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2950         * newcomment.el (comment-normalize-vars): Better test validity of
2951         comment-end-skip.
2953 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2955         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2956         (float-e): New name for `e'.
2957         (degrees-to-radians, radians-to-degrees):
2958         * calendar/solar.el (solar-longitude):
2959         * calculator.el (calculator-registers, calculator-funcall):
2960         * textmodes/artist.el (artist-spray-random-points):
2961         * play/bubbles.el (bubbles--initialize-images): Use new names.
2963 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
2965         Update to CEDET 1.0's version of EIEIO.
2967         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2968         New function.
2969         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2970         (eieio-default-eval-maybe): Eval val instead of unquoting only.
2971         (class-precedence-list): If class is nil, return nil.
2972         (eieio-generic-call): If class of first input arg is nil, don't
2973         look up static methods, and do check for primary methods.
2974         (initialize-instance): See if the default needs to be evaluated
2975         during the constructor.
2976         (eieio-perform-slot-validation-for-default): Don't do the check
2977         for values that will eventually be evaluated.
2978         (eieio-eval-default-p): New function.
2979         (eieio-default-eval-maybe): Use it.
2981 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2983         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2984         method-invocation-order.
2985         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2986         (eieio-class-precedence-dfs): Compute class precedence list using
2987         dfs algorithm.
2988         (eieio-class-precedence-bfs): Compute class precedence list using
2989         bfs algorithm.
2990         (eieio-class-precedence-c3): Compute class precedence list using
2991         c3 algorithm.
2992         (class-precedence-list): New function.
2993         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2994         (inconsistent-class-hierarchy): New error symbol.
2995         (call-next-method): Stow the replacement argument list for future
2996         call-next-method invocations.
2998 2010-09-23  Glenn Morris  <rgm@gnu.org>
3000         * calendar/appt.el (appt-check): If not displaying the diary,
3001         use (diary 1) to only get the entries we need.
3002         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3003         that it is in day order.  (Bug#7019)
3005         * calendar/appt.el (appt-check): Rather than showing the diary,
3006         just turn off invisible display, and only if needed.
3008         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
3010 2010-09-23  Glenn Morris  <rgm@gnu.org>
3012         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3013         (byte-compile-defvar, byte-compile-cl-warn):
3014         Start warnings with lower-case, like the majority.
3016         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3018         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
3020         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3021         * files.el (auto-mode-alist): Move ld-script entries here, further down
3022         the list.
3024         * vc/add-log.el: Don't require timezone when compiling.
3025         (timezone-make-date-sortable): Autoload it.
3026         (change-log-sortable-date-at): Don't require timezone.
3027         Use `ignore-errors'.
3029         * comint.el (comint-use-prompt-regexp-instead-of-fields):
3030         Move alias before definition, so it does not need autoloading.
3032         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3033         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3034         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3035         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3036         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3037         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3038         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3039         * textmodes/tex-mode.el, textmodes/two-column.el:
3040         Remove leading `*' from docs of defcustoms etc.
3042 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
3044         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3046 2010-09-22  Dan Christensen  <jdc@uwo.ca>
3048         * calendar/time-date.el (date-to-time): Try using parse-time-string
3049         first before using the slower timezone-make-date-arpa-standard.
3051 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
3053         * calendar/time-date.el (format-seconds): Comment fix.
3055 2010-09-22  Glenn Morris  <rgm@gnu.org>
3057         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3058         is not automatically buffer-local.
3060 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3062         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3063         (smie-indent-comment): Be more careful with comment-start-skip.
3064         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3065         (smie-indent-functions): Use them.
3067 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
3069         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3071 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
3073         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3074         tool-bar-position.  Don't modify frame parameters here.
3075         (menu-bar-options-save): Add tool-bar-position.
3077         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3079 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3081         * textmodes/reftex-parse.el (reftex-what-macro)
3082         (reftex-context-substring): Let-bind forward-sexp-function to nil
3083         since we don't need/want to treat \begin...\end as a block (bug#7053).
3085         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3087         * simple.el (blink-matching-open): Use syntax-class.
3089         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3090         Set invisibility spec for pascal's outline mode.
3091         (pascal-outline-change): Clean up calling convention.
3092         (pascal-show-all, pascal-hide-other-defuns): Update callers.
3094         * progmodes/prolog.el (prolog-smie-forward-token)
3095         (prolog-smie-backward-token): New functions.
3096         (prolog-mode-variables): Use them to parse "!," correctly.
3097         Set up smie-blink-matching for ".".
3099         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3100         and `end'.
3101         (ispell-region, ispell-process-line): Update users.
3103         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3104         point-min==1.
3106         * textmodes/ispell.el: Fix commenting convention.
3107         (ispell-parse-output): Simplify, use push.
3108         (ispell-region): Use match-string-no-properties.
3109         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3110         (ispell-minor-mode): Use define-minor-mode.
3111         (ispell-message): Remove unused var `skip-regexp'.
3112         (ispell-add-per-file-word-list): Use dynamic let-binding.
3113         Try and use the proper comment marker.
3115         * mail/sendmail.el: Fix commenting convention.
3116         (sendmail-send-it): Use line-beginning-position.
3118         * help-fns.el (describe-variable): Add original value, if applicable.
3120 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
3122         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3124         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3126 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3128         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3129         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3130         (smie-prec2-levels): Use them to better diagnose precedence cycles.
3131         (smie-blink-matching-check): Don't signal a mismatch if car is t.
3132         (smie-blink-matching-open): Rewrite to remove assumptions, so that
3133         something like "." can also be a closer.
3134         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3135         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3136         Rename internal functions to use "--".  Update callers.
3138         * frame.el (make-frame-names-alist): Don't list frames on other displays.
3140         * fringe.el (fringe-styles): New var.
3141         (fringe-mode, fringe-query-style): Use it.
3143 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
3145         * progmodes/sql.el: Version 2.8
3146         (sql-login-params): Update widget structure; changes still needed.
3147         (sql-product-alist): Add :list-all and :list-table features for
3148         SQLite, Postgres and MySQL products.
3149         (sql-redirect): Handle default value.
3150         (sql-execute, sql-execute-feature): New functions.
3151         (sql-read-table-name): New function.
3152         (sql-list-all, sql-list-table): New functions.  User API.
3153         (sql-mode-map, sql-interactive-mode-map): Add key definitions
3154         for above functions.
3155         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3156         for above functions.
3157         (sql-postgres-login-params): Add user and database defaults.
3158         (sql-buffer-live-p): Bug fix.
3159         (sql-product-history): New variable.
3160         (sql-read-product): New function. Use it.
3161         (sql-set-product, sql-product-interactive): Use it.
3162         (sql-connection-history): New variable.
3163         (sql-read-connection): New function.  Use it.
3164         (sql-connect): New function.
3165         (sql-for-each-login): Redesign function interface.
3166         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3167         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
3168         (sql-comint): Check for program.  Existing live buffer.
3169         (sql-comint-postgres): Add port parameter.
3171 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3173         * emacs-lisp/warnings.el: Fix commenting convention.
3174         (display-warning): Use special mode and make the buffer read-only.
3176 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
3178         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3179         empty string when it follows a repeated or optional pattern.
3181 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3183         * indent.el (indent-according-to-mode): Apply syntax-propertize.
3184         (indent-region): Use indent-according-to-mode.
3186 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
3188         * fringe.el (fringe-mode): Doc fix.
3190 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
3192         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3193         refreshing the preview buffer.
3195 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3197         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3198         (latex-syntax-propertize-rules): New consts; replace
3199         tex-font-lock-syntactic-keywords.
3200         (tex-env-mark, latex-env-before-change): New functions.
3201         (latex-electric-env-pair-mode): New minor mode.
3202         (tex-font-lock-verb): Change arguments; do move point.
3203         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3204         representation as a form of comment.
3205         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3206         (doctex-syntax-propertize-rules): New const; replaces
3207         doctex-font-lock-syntactic-keywords.
3208         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3210         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3211         (fortran-make-syntax-propertize-function): New function; replaces
3212         fortran-font-lock-syntactic-keywords.
3213         (fortran-mode): Use it.
3214         (fortran-line-length): Use it.  Improve interactive spec.
3216         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3217         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
3218         when adding surrounding \(..\).
3220         * progmodes/js.el (js-mode): Fix last change (bug#7054).
3222 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3224         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3225         Use with-current-buffer.
3227         * isearch.el (isearch-face): Rename from `isearch'.
3228         (isearch-highlight): Use new name.
3230 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
3232         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3233         5, for `half' width fringes.  (Bug#6933)
3235 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3237         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3238         (byte-compile-defvar): "foo/bar" does not lack a prefix.
3240         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3242 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
3244         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3245         in calculating new frame position.  Add more space between new and
3246         parent on the left (Bug#7048).
3248 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
3250         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3251         defmacro.
3253 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
3255         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3257         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3258         obsolete alias for x-selection-value.
3260         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3262 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
3264         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3265         cookie.
3267 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
3269         * net/tramp-compat.el (tramp-compat-with-temp-message)
3270         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3271         (tramp-compat-process-put): New defuns.
3273         * net/tramp.el (top):
3274         * net/tramp-gvfs.el (top):
3275         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3277         * net/tramp.el (tramp-progress-reporter-update):
3278         Use `tramp-compat-funcall'.
3280         * net/tramp.el (tramp-process-actions):
3281         * net/tramp-gvfs.el (tramp-handle-vc-registered):
3282         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3283         (tramp-get-remote-stat, tramp-get-remote-readlink):
3284         Use `tramp-compat-with-temp-message'.
3286         * net/tramp-sh.el (top): Require 'cl.
3287         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3288         (tramp-open-connection-setup-interactive-shell):
3289         Use `tramp-compat-process-put'.
3291 2010-09-15  Alan Mackenzie  <acm@muc.de>
3293         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3294         indentation.
3295         (c-forward-<>-arglist-recur): Fix an infinite recursion.
3297 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3299         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3300         `lexical' for warnings related to lexical scoping.
3301         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3302         global vars which don't have a prefix and could hence affect lexical
3303         scoping in unrelated files.
3305 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3307         * net/imap.el: Revert back to version
3308         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3309         seem problematic.
3311 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
3313         * obsolete/old-whitespace.el (whitespace-unload-function):
3314         Explicitly pass `obarray' to `unintern' to avoid a warning.
3316 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3318         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3319         Add `when' argument.  Update callers.
3321         * subr.el (unintern): Declare the obarray arg mandatory.
3323 2010-09-14  Glenn Morris  <rgm@gnu.org>
3325         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3326         Doc fixes.
3328         * calendar/diary-lib.el (diary-included-files): New variable.
3329         (diary-list-entries): Maybe initialize diary-included-files.
3330         (diary-include-other-diary-files): Append to diary-included-files.
3331         * calendar/appt.el (appt-update-list): Also check the members of
3332         diary-included-files.  (Bug#6999)
3333         (appt-check): Doc fix.
3335 2010-09-14  David Reitter  <david.reitter@gmail.com>
3337         * simple.el (line-move-visual): Do not truncate goal column to
3338         integer size.  (Bug#7020)
3340 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3342         * repeat.el (repeat): Allow repeating when the last event is a click.
3343         Suggested by Drew Adams (bug#6256).
3345 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
3347         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3348         Replace setting HGRCPATH to "" by some less invasive --config options.
3350 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3352         * font-lock.el (font-lock-beginning-of-syntax-function):
3353         Mark as obsolete.
3355 2010-09-14  Glenn Morris  <rgm@gnu.org>
3357         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3358         and tool-bar modes.  (Bug#6211)
3359         (menu-bar-mode): Move setting of standard-value after the
3360         minor-mode definition, otherwise it seems to have no effect.
3362 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
3364         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3365         Fix typo.  (Bug#6976)
3367 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3369         * whitespace.el: Allow cleaning up blanks without blank
3370         visualization (Bug#6651).  Adjust help window for
3371         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3372         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
3373         (whitespace-style): Add new value 'face.  Adjust docstring.
3374         (whitespace-space, whitespace-hspace, whitespace-tab):
3375         Adjust foreground property face.
3376         (whitespace-line-column): Adjust docstring and type declaration.
3377         (whitespace-style-value-list, whitespace-toggle-option-alist)
3378         (whitespace-help-text): Adjust const initialization.
3379         (whitespace-toggle-options, global-whitespace-toggle-options):
3380         Adjust docstring.
3381         (whitespace-display-window, whitespace-interactive-char)
3382         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3383         (whitespace-help-scroll): New fun.
3385 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3387         * calendar/time-date.el (format-seconds): Comment fix.
3389 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
3391         * progmodes/sql.el: Version 2.7.
3392         (sql-buffer-live-p): Improve detection.
3393         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3394         (sql-set-sqli-buffer): Use it.
3395         (sql-product-interactive): Run `sql-set-sqli-hook'.
3396         (sql-rename-buffer): Code cleanup.
3397         (sql-redirect, sql-redirect-value): New functions.  More to come.
3399 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
3401         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.
3402         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3403         (TRAMP_SRC): New macro.
3404         ($(lisp)/net/tramp-loaddefs.el): New target.
3406 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
3408         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
3410         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
3412         * net/tramp.el (top): Don't show loading message.  Require just
3413         'tramp-compat, everything else is required there.
3414         Use `ignore-errors' where appropriate.
3415         (tramp-inline-compress-start-size, tramp-copy-size-limit)
3416         (tramp-terminal-type, tramp-end-of-output)
3417         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3418         (tramp-completion-function-alist-ssh)
3419         (tramp-completion-function-alist-telnet)
3420         (tramp-completion-function-alist-su)
3421         (tramp-completion-function-alist-putty, tramp-remote-path)
3422         (tramp-remote-process-environment, tramp-sh-extra-args)
3423         (tramp-actions-before-shell, tramp-uudecode)
3424         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3425         (tramp-perl-file-attributes)
3426         (tramp-perl-directory-files-and-attributes)
3427         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3428         (tramp-perl-encode, tramp-perl-decode)
3429         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3430         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3431         (tramp-handle-make-symbolic-link, tramp-handle-load)
3432         (tramp-handle-file-name-as-directory)
3433         (tramp-handle-file-name-directory)
3434         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3435         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3436         (tramp-do-file-attributes-with-ls)
3437         (tramp-do-file-attributes-with-perl)
3438         (tramp-do-file-attributes-with-stat)
3439         (tramp-handle-set-visited-file-modtime)
3440         (tramp-handle-verify-visited-file-modtime)
3441         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3442         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3443         (tramp-handle-file-selinux-context)
3444         (tramp-handle-set-file-selinux-context)
3445         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3446         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3447         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3448         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3449         (tramp-handle-file-ownership-preserved-p)
3450         (tramp-handle-directory-file-name, tramp-handle-directory-files)
3451         (tramp-handle-directory-files-and-attributes)
3452         (tramp-do-directory-files-and-attributes-with-perl)
3453         (tramp-do-directory-files-and-attributes-with-stat)
3454         (tramp-handle-file-name-all-completions)
3455         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3456         (tramp-handle-copy-file, tramp-handle-copy-directory)
3457         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3458         (tramp-do-copy-or-rename-file-via-buffer)
3459         (tramp-do-copy-or-rename-file-directly)
3460         (tramp-do-copy-or-rename-file-out-of-band)
3461         (tramp-handle-make-directory, tramp-handle-delete-directory)
3462         (tramp-handle-delete-file)
3463         (tramp-handle-dired-recursive-delete-directory)
3464         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3465         (tramp-handle-insert-directory)
3466         (tramp-handle-unhandled-file-name-directory)
3467         (tramp-handle-expand-file-name)
3468         (tramp-handle-substitute-in-file-name)
3469         (tramp-handle-executable-find, tramp-process-sentinel)
3470         (tramp-handle-start-file-process, tramp-handle-process-file)
3471         (tramp-handle-call-process-region, tramp-handle-shell-command)
3472         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3473         (tramp-handle-insert-file-contents)
3474         (tramp-handle-insert-file-contents-literally)
3475         (tramp-handle-find-backup-file-name)
3476         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3477         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3478         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3479         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3480         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3481         (tramp-find-file-exists-command, tramp-open-shell)
3482         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3483         (tramp-open-connection-setup-interactive-shell)
3484         (tramp-local-coding-commands, tramp-remote-coding-commands)
3485         (tramp-find-inline-encoding, tramp-call-local-coding-command)
3486         (tramp-inline-compress-commands, tramp-find-inline-compress)
3487         (tramp-compute-multi-hops, tramp-maybe-open-connection)
3488         (tramp-send-command, tramp-wait-for-output)
3489         (tramp-send-command-and-check, tramp-barf-unless-okay)
3490         (tramp-send-command-and-read, tramp-mode-string-to-int)
3491         (tramp-convert-file-attributes, tramp-check-cached-permissions)
3492         (tramp-file-mode-from-int, tramp-file-mode-permissions)
3493         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3494         (tramp-method-out-of-band-p, tramp-local-host-p)
3495         (tramp-get-remote-path, tramp-get-remote-tmpdir)
3496         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3497         (tramp-get-test-command, tramp-get-test-nt-command)
3498         (tramp-get-file-exists-command, tramp-get-remote-ln)
3499         (tramp-get-remote-perl, tramp-get-remote-stat)
3500         (tramp-get-remote-readlink, tramp-get-remote-trash)
3501         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3502         (tramp-get-local-uid, tramp-get-local-gid)
3503         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3504         tramp-sh.el.
3505         (tramp-methods, tramp-default-method-alist)
3506         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3507         Move initialization to tramp-sh.el.
3508         (tramp-temp-name-prefix): Make it a defconst.
3509         (tramp-dissect-file-name): Don't check anymore for multi-hop
3510         methods.
3511         (tramp-debug-outline-regexp): Add a docstring.
3512         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3513         (tramp-get-debug-buffer): Use it.
3515         * net/tramp-cache.el (top): Set tramp-autoload cookie for
3516         initialization forms.
3517         (tramp-set-connection-property): Don't protect `tramp-message'
3518         call, it isn't necessary any longer.
3519         (tramp-dump-connection-properties): Use `ignore-errors'.
3521         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3522         'password-cache and 'auth-source.
3524         * net/tramp-gvfs.el (top):
3525         * net/tramp-smb.el (top): Require 'tramp-sh.
3527         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3529         * net/tramp-sh.el: New file, derived from tramp.el.
3530         (top): Initialize `tramp-methods', `tramp-default-method-alist',
3531         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3532         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3533         Use `ignore-errors' where appropriate.
3534         (tramp-sh-file-name-handler-alist): Rename from
3535         `tramp-file-name-handler-alist'.
3536         (tramp-send-command-and-check): Return t or nil.  Remove all
3537         `zerop' checks, where called.
3538         (tramp-handle-set-file-modes)
3539         (tramp-do-copy-or-rename-file-directly)
3540         (tramp-handle-delete-directory, tramp-handle-delete-file)
3541         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3542         (tramp-sh-file-name-handler, tramp-send-command-and-check)
3543         (tramp-get-remote-ln): Set tramp-autoload cookie.
3545         * net/tramp-fish.el: Remove file.
3547 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
3549         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3550         buffer-file-name to avoid file-locking.  (Bug#7026)
3552 2010-09-13  Julien Danjou  <julien@danjou.info>
3554         * notifications.el (notifications-notify): Add support for
3555         image-path and sound-name.
3556         (notifications-specification-version): Add this variable.
3558 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3560         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3562 2010-09-12  Leo  <sdl.web@gmail.com>
3564         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3565         (rcirc-completion-start): New variables.
3566         (rcirc-nick-completions): Rename to rcirc-completions.
3567         (rcirc-nick-completion-start-offset): Delete.
3568         (rcirc-completion-at-point): New function for constructing
3569         completion data for both nicks and irc commands.  Add to
3570         completion-at-point-functions in rcirc mode.
3571         (rcirc-complete): Rename from rcirc-nick-complete; use
3572         rcirc-completion-at-point.
3573         (defun-rcirc-command): Update rcirc-client-commands.
3575 2010-09-11  Glenn Morris  <rgm@gnu.org>
3577         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3578         atomically, to avoid parallel build errors.  (Bug#4196)
3580 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
3582         * progmodes/sql.el: Version 2.6
3583         (sql-dialect): Synonym for "sql-product".
3584         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3585         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3586         Set "sql-buffer" to buffer name not buffer object so multiple sql
3587         interactive buffers work properly.  Reverts misguided changes in
3588         earlier work.
3589         (sql-comint): Make sure different buffer name is used if "*SQL*"
3590         buffer is for a different product.
3591         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3592         login param.
3593         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3594         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3595         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3596         Accept new buffer name or prompt for one.
3597         (sql-port): Default to zero.
3598         (sql-comint-mysql): Handle "sql-port" as a numeric.
3599         (sql-port-history): Delete unused variable.
3600         (sql-get-login): Default "sql-port" to a number.
3601         (sql-product-alist): Correct Postgres prompt and terminator regexp.
3602         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3603         "sqlite3" executables.
3604         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3605         (sql-buffer-live-p): New function.
3606         (sql-mode-menu, sql-send-string): Use it.
3607         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3608         syntax pattern.
3609         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3610         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3612 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3614         * net/netrc.el (netrc-credentials): New convenience function.
3616 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3618         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3619         to replace texinfo-font-lock-syntactic-keywords.
3620         (texinfo-mode): Use it.
3622         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3623         Use syntax-propertize-function.
3625         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3626         replace sgml-font-lock-syntactic-keywords.
3627         (sgml-mode): Use it.
3629         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3630         since we don't use it.
3632         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3634         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3635         if available.
3636         (vhdl-fontify-buffer): Adjust.
3638         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3639         replace tcl-font-lock-syntactic-keywords.
3640         (tcl-mode): Use it.
3642         * progmodes/simula.el (simula-syntax-propertize-function): New var to
3643         replace simula-font-lock-syntactic-keywords.
3644         (simula-mode): Use it.
3646         * progmodes/sh-script.el (sh-st-symbol): Remove.
3647         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3648         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3649         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3650         (sh-font-lock-paren): Set syntax-multiline.
3651         (sh-font-lock-syntactic-keywords): Remove.
3652         (sh-syntax-propertize-function): New function to replace it.
3653         (sh-mode): Use it.
3655         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3656         Define while compiling.
3657         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3658         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3659         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3660         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3661         (ruby-here-doc-end-syntax): Only define when
3662         syntax-propertize is not available.
3663         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3664         New functions.
3665         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3666         (electric-indent-chars): Silence bytecompiler.
3667         (ruby-mode): Use prog-mode, syntax-propertize-function, and
3668         electric-indent-chars.
3670         * progmodes/python.el (python-syntax-propertize-function): New var to
3671         replace python-font-lock-syntactic-keywords.
3672         (python-mode): Use it.
3673         (python-quote-syntax): Simplify and adjust to new use.
3675         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3676         replace perl-font-lock-syntactic-keywords.
3677         (perl-syntax-propertize-special-constructs): New fun to replace
3678         perl-font-lock-special-syntactic-constructs.
3679         (perl-font-lock-syntactic-face-function): New fun.
3680         (perl-mode): Use it.
3682         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3683         to replace octave-font-lock-close-quotes.
3684         (octave-syntax-propertize-function): New function to replace
3685         octave-font-lock-syntactic-keywords.
3686         (octave-mode): Use it.
3688         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3689         replaces mixal-font-lock-syntactic-keywords.
3690         (mixal-mode): Use it.
3692         * progmodes/make-mode.el (makefile-syntax-propertize-function):
3693         New var; replaces makefile-font-lock-syntactic-keywords.
3694         (makefile-mode): Use it.
3695         (makefile-imake-mode): Adjust.
3697         * progmodes/js.el (js--regexp-literal): Define while compiling.
3698         (js-syntax-propertize-function): New var; replaces
3699         js-font-lock-syntactic-keywords.
3700         (js-mode): Use it.
3702         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3703         replaces gdb-script-font-lock-syntactic-keywords.
3704         (gdb-script-mode): Use it.
3706         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3707         (fortran--font-lock-syntactic-keywords): New var.
3708         (fortran-line-length): Update syntax-propertize-function and
3709         fortran--font-lock-syntactic-keywords.
3711         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3713         * progmodes/cfengine.el (cfengine-mode):
3714         Use syntax-propertize-function.
3715         (cfengine-font-lock-syntactic-keywords): Remove.
3717         * progmodes/autoconf.el (autoconf-mode):
3718         Use syntax-propertize-function.
3719         (autoconf-font-lock-syntactic-keywords): Remove.
3721         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3722         (ada-after-change-function, ada-initialize-syntax-table-properties)
3723         (ada-handle-syntax-table-properties): Only define when
3724         syntax-propertize is not available.
3725         (ada-mode): Use syntax-propertize-function.
3727         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3728         (font-lock-fontify-syntactic-keywords-region): Move handling of
3729         font-lock-syntactically-fontified to...
3730         (font-lock-default-fontify-region): ...here.
3731         Let syntax-propertize-function take precedence.
3732         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3734         * emacs-lisp/syntax.el (syntax-propertize-function)
3735         (syntax-propertize-chunk-size, syntax-propertize--done)
3736         (syntax-propertize-extend-region-functions): New vars.
3737         (syntax-propertize-wholelines, syntax-propertize-multiline)
3738         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3739         (syntax-propertize): New functions.
3740         (syntax-propertize-rules): New macro.
3741         (syntax-ppss-flush-cache): Set syntax-propertize--done.
3742         (syntax-ppss): Call syntax-propertize.
3744         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3746 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
3748         * textmodes/ispell.el (ispell-init-process): Improve comments.
3749         XEmacs compatibility changes regarding (add-hook) 'local option
3750         and (set-process-query-on-exit-flag).
3752 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
3754         * net/tramp-cache.el (tramp-parse-connection-properties):
3755         Set tramp-autoload cookie.
3757 2010-09-09  Glenn Morris  <rgm@gnu.org>
3759         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3760         (imagemagick-register-types): Doc fix.
3762 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3764         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3766         * progmodes/js.el (require): Require is already "eval-and-compile".
3767         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
3768         (js--re-search-backward): Use js--re-search-forward.
3770         * progmodes/fortran.el (fortran-line-length): Don't recompute
3771         syntactic keywords redundantly a second time.
3773         * progmodes/ada-mode.el: Replace "(set '" with setq.
3774         (ada-mode): Simplify.
3775         (ada-create-case-exception, ada-adjust-case-interactive)
3776         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3777         (ada-search-ignore-string-comment, ada-move-to-start)
3778         (ada-move-to-end): Use with-syntax-table.
3780         * font-lock.el (save-buffer-state): Remove `varlist' arg.
3781         (font-lock-unfontify-region, font-lock-default-fontify-region):
3782         Update usage correspondingly.
3783         (font-lock-fontify-syntactic-keywords-region):
3784         Set parse-sexp-lookup-properties buffer-locally here.
3785         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3787         * simple.el (blink-matching-open): Don't burp if we can't find a match.
3789 2010-09-08  Glenn Morris  <rgm@gnu.org>
3791         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3792         Error if not compiled with -DBYTE_CODE_METER.
3794         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3795         Ignore dir-locals-file.
3797 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3799         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3800         Not a const.
3801         (compilation-error-regexp-alist-alist): Rule out ": " in file names
3802         for the `gnu' messages.
3803         (compilation-set-skip-threshold): New command.
3804         (compilation-start): Use \' rather than $.
3805         (compilation-forget-errors): Use clrhash.
3807 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
3809         * textmodes/ispell.el (ispell-valid-dictionary-list):
3810         Simplify logic.
3812 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
3814         Migrate to Tramp 2.2.  Rearrange load dependencies.
3815         (Bug#1529, Bug#5448, Bug#5705)
3817         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3818         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3819         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3821         * net/tramp.el (top): Remove all other tramp-* loads except
3822         tramp-compat.el.  Remove all changes to tramp-unload-hook for
3823         other tramp-* packages.  Rearrange defun order.  Change calls of
3824         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3825         `tramp-compat-octal-to-decimal' to new function names.
3826         (tramp-terminal-type, tramp-initial-end-of-output)
3827         (tramp-methods, tramp-foreign-file-name-handler-alist)
3828         (tramp-tramp-file-p, tramp-completion-mode-p)
3829         (tramp-send-command-and-check, tramp-get-remote-path)
3830         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3831         (tramp-shell-quote-argument): Set tramp-autoload cookie.
3832         (with-file-property, with-connection-property): Move to
3833         tramp-cache.el.
3834         (tramp-local-call-process, tramp-decimal-to-octal)
3835         (tramp-octal-to-decimal): Move to tramp-compat.el.
3836         (tramp-handle-shell-command): Do not require 'shell.
3837         (tramp-compute-multi-hops): No special handling for tramp-gw-*
3838         symbols.
3839         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3841         * net/tramp-cache.el (top): Require 'tramp.  Add to
3842         `tramp-unload-hook'.
3843         (tramp-cache-data, tramp-get-file-property)
3844         (tramp-set-file-property, tramp-flush-file-property)
3845         (tramp-flush-directory-property, tramp-get-connection-property)
3846         (tramp-set-connection-property, tramp-flush-connection-property)
3847         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3848         cookie.
3849         (with-file-property, with-connection-property): New defuns, moved
3850         from tramp.el.
3851         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3852         macro.
3854         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3855         (tramp-version): Set tramp-autoload cookie.
3857         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
3858         changes to tramp-unload-hook for other tramp-* packages.  Add to
3859         `tramp-unload-hook'.
3860         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3861         (tramp-compat-call-process): New defuns, moved from tramp.el.
3863         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
3864         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3865         Add to `tramp-unload-hook'.  Change call of
3866         `tramp-compat-decimal-to-octal' to new function name.
3867         (tramp-fish-method): Make it a defconst.
3868         (tramp-fish-file-name-p): Make it a defsubst.
3869         (tramp-fish-method, tramp-fish-file-name-handler)
3870         (tramp-fish-file-name-p): Set tramp-autoload cookie.
3872         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3873         `tramp-foreign-file-name-handler-alist'.  Add to
3874         `tramp-unload-hook'.
3875         (tramp-ftp-method): Make it a defconst.
3876         (tramp-ftp-file-name-p): Make it a defsubst.
3877         (tramp-ftp-method, tramp-ftp-file-name-handler)
3878         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3880         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3881         `tramp-foreign-file-name-handler-alist'.  Add to
3882         `tramp-unload-hook'.  Change checks, whether package can be
3883         loaded.
3884         (tramp-gvfs-file-name-p): Make it a defsubst.
3885         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3886         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3887         (tramp-gvfs-handle-file-directory-p): New defun.
3888         (tramp-gvfs-file-name-handler-alist): Use it.
3890         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3891         `tramp-foreign-file-name-handler-alist'.  Add to
3892         `tramp-unload-hook'.
3893         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3894         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3895         defconst.
3896         (tramp-gw-tunnel-method, tramp-gw-socks-method)
3897         (tramp-gw-open-connection): Set tramp-autoload cookie.
3899         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
3900         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3901         Add to `tramp-unload-hook'.  Change checks, whether package can be
3902         loaded.
3903         (tramp-imap-file-name-p): Make it a defsubst.
3904         (tramp-imap-method, tramp-imaps-method)
3905         (tramp-imap-file-name-handler)
3906         (tramp-imap-file-name-p): Set tramp-autoload cookie.
3908         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
3909         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3910         Add to `tramp-unload-hook'.  Change checks, whether package can be
3911         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
3912         function name.
3913         (tramp-smb-tunnel-method): Make it a defconst.
3914         (tramp-smb-file-name-p): Make it a defsubst.
3915         (tramp-smb-method, tramp-smb-file-name-handler)
3916         (tramp-smb-file-name-p): Set tramp-autoload cookie.
3918         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3919         (tramp-uuencode-region): Set tramp-autoload cookie.
3921         * net/trampver.el (top) Add to `tramp-unload-hook'.
3922         (tramp-version, tramp-bug-report-address): Set tramp-autoload
3923         cookie.  Update release number.
3925 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
3927         * textmodes/ispell.el (ispell-start-process): Make sure original
3928         arg list is properly initialized (Bug#6993, Bug#6994).
3930 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
3932         * files.el (directory-abbrev-alist): Use \` as default regexp.
3934         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3935         chars like - or ] (bug#6984).
3936         (rx-any-condense-range): Explode 2-char ranges.
3938 2010-09-06  Glenn Morris  <rgm@gnu.org>
3940         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3942 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3944         * textmodes/bibtex.el:
3945         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3947 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3949         * net/imap.el (imap-message-map): Remove optional buffer parameter,
3950         since no callers use it.
3951         (imap-message-get): Ditto.
3952         (imap-message-put): Ditto.
3953         (imap-mailbox-map): Ditto.
3954         (imap-mailbox-put): Ditto.
3955         (imap-mailbox-get): Ditto.
3956         (imap-mailbox-get): Revert last change for this function.
3958 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3960         * net/imap.el (imap-fetch-safe): Remove function, and alter all
3961         callers to use `imap-fetch' instead.  According to the comments, this
3962         should be safe, since all other IMAP clients use the 1:* syntax.
3963         (imap-enable-exchange-bug-workaround): Remove.
3964         (imap-debug): Remove -- doesn't seem very useful.
3966 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3968         * net/imap.el (imap-log): New convenience function used throughout
3969         instead of repeating the same code all over the place.
3971 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
3973         * mouse.el (mouse-save-then-kill): Save region to kill-ring
3974         when mouse-drag-copy-region is non-nil (Bug#6956).
3976 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
3978         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3979         Improve regexps (Bug#6987).
3980         (dired-sort-toggle): Search more robustly for -t flag.
3982         * files.el (get-free-disk-space): Search more robustly for
3983         "available" column.  Suggested by Ehud Karni
3984         <ehud@unix.mvs.co.il>.
3986 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
3988         * international/uni-bidi.el:
3989         * international/uni-category.el:
3990         * international/uni-combining.el:
3991         * international/uni-decimal.el:
3992         * international/uni-mirrored.el:
3993         * international/uni-name.el: Regenerate.
3995 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3997         * electric.el (electric-indent-post-self-insert-function):
3998         Don't reindent with a sloppy indentation function.
4000         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4001         border case in change-log-mode.
4003 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
4005         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4006         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4007         Recognize leading tab in gcc-include regexp.  Ignore names with
4008         leading "from" or "in" in gnu regexp (Bug#6937).
4010 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4012         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4013         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4014         (ispell-start-process): Avoid setq and simplify logic.
4015         (ispell-init-process): Setup kill-buffer-hook locally when needed.
4016         (kill-buffer-hook): Don't use it globally with code that uses
4017         expand-file-name since that may call kill-buffer via
4018         code_conversion_restore.
4020 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
4022         * emacs-lisp/package.el (package-directory-list): Only call
4023         file-name-nondirectory on a string.
4025 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4027         * emacs-lisp/package.el (package--download-one-archive):
4028         Ensure that archive-contents is valid before saving it.
4029         (package-activate-1, package-mark-obsolete, define-package)
4030         (package-compute-transaction, package-list-maybe-add): Use push.
4032 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4034         Use SMIE's blink-paren for octave-mode.
4035         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4036         Backslashes do not escape single-quotes, single-quotes do.
4037         (octave-block-else-regexp, octave-block-end-regexp)
4038         (octave-block-match-alist): Remove.
4039         (octave-smie-bnf-table): New var, with old content.
4040         (octave-smie-op-levels): Use it.
4041         (octave-smie-closer-alist): New var.
4042         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
4043         (octave-blink-matching-block-open): Remove.
4044         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4045         (octave-electric-space): Let self-insert-command run expand-abbrev and
4046         blink parens.
4048         * electric.el (electricity): New group.
4049         (electric-indent-chars): New var.
4050         (electric-indent-post-self-insert-function): New fun.
4051         (electric-indent-mode): New minor mode.
4052         (electric-pair-skip-self): New custom.
4053         (electric-pair-post-self-insert-function): New function.
4054         (electric-pair-mode): New minor mode.
4056         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4057         calcAlg-blink-matching-open.
4058         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4059         (calc-do-alg-entry): Only touch the part of the keymap that varies.
4060         Use the new blink-matching-check-function.
4062         Provide blink-matching support to SMIE.
4063         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4064         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4065         (smie-blink-matching-check, smie-blink-matching-open): New functions.
4067         * simple.el (newline): Fix last change to properly remove itself from
4068         the hook.
4070 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4072         * simple.el (newline): Eliminate optimization.
4073         Use post-self-insert-hook to set hard-newline and things before
4074         running post-self-insert-hook.
4075         (blink-matching-check-mismatch): New function.
4076         (blink-matching-check-function): New variable.
4077         (blink-matching-open): Use them.
4078         Skip back forward over prefix chars skipped by forward-sexp.
4079         Don't check if the parens are backslash escaped.
4080         (blink-paren-post-self-insert-function): Check backslash escaping here.
4082 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4084         * emacs-lisp/package.el (package-menu-mode-map):
4085         Change package-menu-revert bindings to revert-buffer.
4086         (package-menu-mode): Set revert-buffer-function.
4087         (package-menu-revert): Doc fix.
4089 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
4091         * textmodes/ispell.el (ispell-init-process): Use "~/" as
4092         `default-directory' unless using Ispell per-directory personal
4093         dictionaries and not in a mini-buffer under XEmacs.
4094         (kill-buffer-hook): Do not kill ispell process on exit when
4095         `ispell-process-directory' is "~/".  (Bug#6143)
4097 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
4099         * simple.el (kill-new): Call interprogram-cut-function with only
4100         one argument.
4102         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4103         Remove cut buffer from error message.
4105         * term/x-win.el (x-select-text):
4106         * term/pc-win.el (x-selection-value):
4107         * term/ns-win.el (x-selection-value):
4108         * eshell/em-term.el:
4109         * w32-fns.el (x-get-selection-value):
4110         * mouse-sel.el (mouse-sel-set-selection-function):
4111         * frame.el (display-selections-p): Remove cut-buffer in documentation.
4113         * term/x-win.el: Update documentation for x-last-selected-text-*.
4114         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4115         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4116         (x-select-text): Remove argument PUSH, update documentation.
4117         Remove cut-buffer code.
4118         (x-selection-value-internal): Was previously x-selection-value.
4119         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4120         Update documentation, remove cut-buffer code.
4121         Call x-selection-value-internal.
4122         (x-clipboard-yank): Call x-selection-value-internal.
4123         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4125         * term/pc-win.el (x-last-selected-text):
4126         x-cut-buffer-or-selection-value renamed to x-selection-value
4127         (x-select-text): Remove argument PUSH, update documentation.
4129         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4130         x-cut-buffer-or-selection-value renamed to x-selection-value
4131         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
4132         (x-select-text): Remove argument PUSH, update documentation.
4134         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4136         * w32-fns.el (x-last-selected-text):
4137         x-cut-buffer-or-selection-value renamed to x-selection-value.
4138         (x-cut-buffer-max): Remove.
4139         (x-select-text): Remove argument PUSH, update documentation.
4141         * simple.el (interprogram-cut-function): Remove mention of PUSH.
4143         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4145         * mouse-sel.el (mouse-sel-get-selection-function):
4146         x-cut-buffer-or-selection-value renamed to x-selection-value.
4147         (x-select-text): Remove optional push.
4149 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4151         * simple.el (blink-paren-function): Move from C to here.
4152         (blink-paren-post-self-insert-function): New function.
4153         (post-self-insert-hook): Use it.
4155         * emacs-lisp/pcase.el (pcase-split-memq):
4156         Fix overenthusiastic optimisation.
4157         (pcase-u1): Handle the case of a lambda pred.
4159 2010-08-31  Kenichi Handa  <handa@m17n.org>
4161         * international/mule-cmds.el (standard-display-european-internal):
4162         Setup standard-display-table for 8-bit characters by storing 8-bit
4163         characters in the element vector.
4165         * disp-table.el (standard-display-8bit):
4166         Setup standard-display-table for 8-bit characters by storing 8-bit
4167         characters in the element vector.
4168         (standard-display-european): Likewise.
4170 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
4172         * textmodes/nroff-mode.el (nroff-view): New command.
4173         (nroff-mode-map): Bind it to C-c C-c.
4175 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4177         * emacs-lisp/smie.el (smie-down-list): New command.
4179         Remove old indentation and navigation code on octave-mode.
4180         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4181         smie-down-list rather than add a binding for octave-down-block.
4182         (octave-mark-block, octave-blink-matching-block-open):
4183         Rely on forward-sexp-function.
4184         (octave-fill-paragraph): Don't narrow, so you can use
4185         indent-according-to-mode.
4186         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4187         (octave-in-block-p, octave-re-search-forward-kw)
4188         (octave-re-search-backward-kw, octave-indent-calculate)
4189         (octave-end-as-array-index-p, octave-block-end-offset)
4190         (octave-scan-blocks, octave-forward-block, octave-backward-block)
4191         (octave-down-block, octave-backward-up-block, octave-up-block)
4192         (octave-before-magic-comment-p, octave-indent-line): Remove.
4194 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
4196         * emacs-lisp/package.el (package--read-archive-file): Just use
4197         `read', to avoid copying an additional string.
4198         (package-menu-mode): Set header-line-format here.
4199         (package-menu-refresh, package-menu-revert): Signal an error if
4200         not in the Package Menu.
4201         (package-menu-package-list): New var.
4202         (package--generate-package-list): Operate on the current buffer;
4203         don't assume that it is *Packages*, since the user may rename it.
4204         Allow persistent package listings and sort keys using
4205         package-menu-package-list and package-menu-package-sort-key.
4206         (package-menu--version-predicate): Fix version calculation.
4207         (package-menu-sort-by-column): Don't select the window.
4208         (package--list-packages): Create the *Packages* buffer.
4209         Set package-menu-package-list-key.
4210         (list-packages): Sorting by status is now the default.
4211         (package-buffer-info): Use match-string-no-properties.
4212         (define-package): Add a &rest argument for future proofing, but
4213         don't use it yet.
4214         (package-install-from-buffer, package-install-buffer-internal):
4215         Merge into a single function, package-install-from-buffer.
4216         (package-install-file): Change caller.
4218         * finder.el: Load finder-inf using `require'.
4219         (finder-list-matches): Sorting by status is now the default.
4220         (finder-compile-keywords): Simpify printing.
4222 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4224         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4225         (octave-mode-map): Remove special bindings for forward/backward-block
4226         and octave-backward-up-block.  Use smie-close-block.
4227         (octave-continuation-marker-regexp): New var.
4228         (octave-continuation-regexp): Use it.
4229         (octave-operator-table, octave-smie-op-levels)
4230         (octave-operator-regexp, octave-smie-indent-rules): New vars.
4231         (octave-smie-backward-token, octave-smie-forward-token): New funs.
4232         (octave-mode): Use SMIE.
4233         (octave-close-block): Delete.
4235 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
4237         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4238         CLIPBOARD, not in PRIMARY.  (Bug#6944)
4240 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4242         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4243         a list of parents.
4244         (smie-indent-column): Allow indirection through variables.
4246         * composite.el (save-buffer-state): Delete, unused.
4247         * font-lock.el (save-buffer-state): Use with-silent-modifications.
4248         (font-lock-default-fontify-region): Use with-syntax-table.
4249         * jit-lock.el (with-buffer-unmodified): Remove.
4250         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4252         Use `declare' in defmacros.
4253         * window.el (save-selected-window):
4254         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4255         * progmodes/python.el (def-python-skeleton):
4256         * net/dbus.el (dbus-ignore-errors):
4257         * jka-cmpr-hook.el (with-auto-compression-mode):
4258         * international/mule.el (with-category-table):
4259         * emacs-lisp/timer.el (with-timeout):
4260         * emacs-lisp/lisp-mnt.el (lm-with-file):
4261         * emacs-lisp/eieio.el (with-slots):
4262         * emacs-lisp/easymenu.el (easy-menu-define):
4263         * emacs-lisp/debug.el (debugger-env-macro):
4264         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4265         (Multiple-value-call, Multiple-value-prog1):
4266         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4267         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4268         edebug rule to definition.
4269         * emacs-lisp/lisp-mode.el (save-selected-window)
4270         (with-current-buffer, combine-after-change-calls)
4271         (with-output-to-string, with-temp-file, with-temp-buffer)
4272         (with-temp-message, with-syntax-table, read-if, eval-after-load)
4273         (dolist, dotimes, when, unless):
4274         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4276 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4278         * finder.el: Require `package'.
4279         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
4280         (finder-package-info): Var deleted.
4281         (finder-keywords-hash, finder--builtins-alist): New vars.
4282         (finder-compile-keywords): Compute package--builtins and
4283         finder-keywords-hash instead of finder-keywords-hash, respecting
4284         the "Package" header.
4285         (finder-unknown-keywords, finder-list-matches):
4286         Use finder-keywords-hash and package--list-packages.
4287         (finder-mode): Don't set font-lock-defaults.
4288         (finder-exit): We don't use "*Finder-package*" and "*Finder
4289         Category*" buffers anymore.
4291         * emacs-lisp/package.el (package--builtins-base): Var deleted.
4292         (package--builtins): Set default value to nil.
4293         (package-initialize): Load precomputed value of package--builtins
4294         from finder-inf.el.
4295         (package-alist, package-compute-transaction)
4296         (package-download-transaction): Improve docstring.
4297         (package-read-all-archive-contents): Do not change
4298         package--builtins here.
4299         (list-packages): Make package-list-packages an alias for this.
4300         Sort by status by default.
4301         (package--list-packages): Add optional PACKAGES arg.
4302         (describe-package-1): Use font-lock-face property.  For built-in
4303         packages, insert file commentary.
4304         (package--generate-package-list): Rename from
4305         package-list-packages-internal; all callers changed.  Add optional
4306         PACKAGES arg.  Add alphabetical sort fallbacks.
4307         (package-menu--version-predicate, package-menu--status-predicate)
4308         (package-menu--description-predicate)
4309         (package-menu--name-predicate): New functions.
4311         * info.el (Info-finder-find-node): Search package-alist instead of
4312         finder-package-info.
4314 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4316         * subr.el (version-regexp-alist): Don't use "a" and "b" for
4317         "alpha" and "beta".
4318         (version-to-list): Handle versions like "10.3d".
4320 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4322         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4323         (macroexp-accumulate): Use `declare'.
4325 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4327         * whitespace.el (whitespace-style): Adjust type declaration.
4329 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
4331         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4332         empty argument to gvfs-copy.
4334 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4336         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4337         handle new TRASH arg of `delete-file'.
4339 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4341         * net/tramp.el (tramp-handle-insert-directory): Don't use
4342         `forward-word', its default syntax could be changed.
4344 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
4345             Michael Albinus  <michael.albinus@gmx.de>
4347         Implement compression for inline methods.
4349         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4350         (tramp-copy-size-limit): Allow also nil.
4351         (tramp-inline-compress-commands): New defconst.
4352         (tramp-find-inline-compress, tramp-get-inline-compress)
4353         (tramp-get-inline-coding): New defuns.
4354         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4355         replaced by `tramp-get-inline-coding'.
4356         (tramp-handle-file-local-copy, tramp-handle-write-region)
4357         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4359 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
4361         Detect ssh 'ControlMaster' argument automatically in some cases.
4363         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4364         (tramp-default-method): Use it.
4366 2010-08-26  Karel Klíč  <kklic@redhat.com>
4368         * net/tramp.el (tramp-file-name-for-operation):
4369         Add file-selinux-context.
4371 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
4373         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4375 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4377         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4378         (Bug#6907).
4380 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
4382         * progmodes/js.el: Make indentation more customizable (Bug#6914).
4383         (js-paren-indent-offset, js-square-indent-offset)
4384         (js-curly-indent-offset): New options.
4385         (js--proper-indentation): Use them.
4387 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
4389         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4390         instead of inspecting font-lock properties (Bug#6916).
4392 2010-08-26  David Reitter  <david.reitter@gmail.com>
4394         * server.el (server-visit-files): Run pre-command-hook and
4395         post-command-hook for each buffer while it is current (Bug#6910).
4396         (server-execute): Do not run hooks here.
4398 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
4400         Sync with Tramp 2.1.19.
4402         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4403         (tramp-reporter-dump-variable, tramp-load-report-modules)
4404         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4405         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4407         * net/tramp-compat.el (top): Do not autoload
4408         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
4409         only when `start-file-process' is not bound.
4410         (byte-compile-not-obsolete-vars): Define if not bound.
4411         (tramp-compat-funcall): New defmacro.
4412         (tramp-compat-line-beginning-position)
4413         (tramp-compat-line-end-position)
4414         (tramp-compat-temporary-file-directory)
4415         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4416         (tramp-compat-copy-file, tramp-compat-copy-directory)
4417         (tramp-compat-delete-file, tramp-compat-delete-directory)
4418         (tramp-compat-number-sequence, tramp-compat-process-running-p):
4419         Use it.
4420         (tramp-advice-file-expand-wildcards): Do not use
4421         `tramp-handle-file-remote-p'.
4422         (tramp-compat-make-temp-file): Simplify fallback implementation.
4423         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4424         (tramp-compat-copy-tree): Remove function.
4425         (tramp-compat-delete-file): New defun.
4426         (tramp-compat-delete-directory): Provide implementation for older
4427         Emacsen.
4428         (tramp-compat-file-attributes): Handle only
4429         `wrong-number-of-arguments' error.
4431         * net/tramp-fish.el (tramp-fish-handle-copy-file):
4432         Add PRESERVE_SELINUX_CONTEXT.
4433         (tramp-fish-handle-delete-file): Add TRASH arg.
4434         (tramp-fish-handle-directory-files-and-attributes):
4435         Do not use `tramp-fish-handle-file-attributes.
4436         (tramp-fish-handle-file-local-copy)
4437         (tramp-fish-handle-insert-file-contents)
4438         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4440         * net/tramp-gvfs.el (top): Require url-util.
4441         (tramp-gvfs-mount-point): Remove.
4442         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4443         and `set-file-selinux-context'.
4444         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4445         (tramp-gvfs-handle-file-selinux-context)
4446         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4447         (with-tramp-dbus-call-method): Format trace message.
4448         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4449         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4450         Implement backup call, when operation on local files fails.
4451         Use progress reporter.  Flush properties of changed files.
4452         (tramp-gvfs-handle-delete-file): Add TRASH arg.
4453         Use `tramp-compat-delete-file'.
4454         (tramp-gvfs-handle-expand-file-name): Expand "~/".
4455         (tramp-gvfs-handle-make-directory): Make more traces.
4456         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4457         (tramp-gvfs-url-file-name): Hexify file name in url.
4458         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4459         into account for the resulting file name.
4460         (tramp-gvfs-handler-askquestion): Preserve current message, in
4461         order to let progress reporter continue afterwards.  (Bug#6257)
4462         Return dummy mountpoint, when the answer is "no".
4463         See `tramp-gvfs-maybe-open-connection'.
4464         (tramp-gvfs-handler-mounted-unmounted)
4465         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4466         attribute "default_location".  Set "prefix" property.
4467         Handle default-location.
4468         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4469         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4470         exists.  Raise an error, if not (due to a corresponding answer
4471         "no" in interactive questions, for example).
4472         Use `tramp-compat-funcall'.
4474         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4475         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4476         (tramp-imap-do-copy-or-rename-file)
4477         (tramp-imap-handle-insert-file-contents)
4478         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4479         (tramp-imap-handle-delete-file): Add TRASH arg.
4481         * net/tramp-smb.el (tramp-smb-handle-copy-file):
4482         Add PRESERVE-SELINUX-CONTEXT.
4483         (tramp-smb-handle-copy-file)
4484         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4485         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4486         Use `with-progress-reporter'.
4487         (tramp-smb-handle-delete-file): Add TRASH arg.
4489         * net/tramp.el (tramp-methods): Move hostname to the end in all
4490         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
4491         appropriate.
4492         (tramp-verbose): Describe verbose level 9.
4493         (tramp-completion-function-alist)
4494         (tramp-file-name-regexp, tramp-chunksize)
4495         (tramp-local-coding-commands, tramp-remote-coding-commands)
4496         (with-connection-property, tramp-completion-mode-p)
4497         (tramp-action-process-alive, tramp-action-out-of-band)
4498         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4499         (tramp-exists-file-name-handler): Fix docstring.
4500         (tramp-remote-process-environment): Use `format' instead of
4501         `concat'.  Protect version string by apostroph.
4502         (tramp-shell-prompt-pattern): Do not use a shy group in case of
4503         XEmacs.
4504         (tramp-file-name-regexp-unified)
4505         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4506         not regard the volume letter as remote filename.  (Bug#5447)
4507         (tramp-perl-file-attributes)
4508         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4509         (tramp-vc-registered-read-file-names): Read input as
4510         here-document, otherwise the command could exceed maximum length
4511         of command line.
4512         (tramp-file-name-handler-alist): Add `file-selinux-context' and
4513         `set-file-selinux-context'.
4514         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4515         backtrace functions.
4516         (tramp-error-with-buffer): Don't show the connection buffer when
4517         we are in completion mode.
4518         (tramp-progress-reporter-update, tramp-remote-selinux-p)
4519         (tramp-handle-file-selinux-context)
4520         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4521         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4522         New defuns.
4523         (with-progress-reporter): New defmacro.
4524         (tramp-debug-outline-regexp): New defconst.
4525         (top, tramp-rfn-eshadow-setup-minibuffer)
4526         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4527         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4528         (tramp-completion-mode-p, tramp-check-for-regexp)
4529         (tramp-open-connection-setup-interactive-shell)
4530         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4531         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4532         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4533         Use `tramp-compat-funcall'.
4534         (tramp-handle-make-symbolic-link): Flush file properties.
4535         (tramp-handle-load, tramp-handle-file-local-copy)
4536         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4537         (tramp-handle-vc-registered, tramp-maybe-send-script)
4538         (tramp-find-shell): Use `with-progress-reporter'.
4539         (tramp-do-file-attributes-with-stat): Add space in format string,
4540         in order to work around a bug in pdksh.  Reported by Gilles Pion
4541         <gpion@lfdj.com>.
4542         (tramp-handle-verify-visited-file-modtime): Do not send a command
4543         when the connection is not established.
4544         (tramp-handle-set-file-times): Simplify the check for utc.
4545         (tramp-handle-directory-files-and-attributes)
4546         (tramp-get-remote-path): Use `copy-tree'.
4547         (tramp-completion-handle-file-name-all-completions): Ensure, that
4548         non remote files are still checked.  Oops.
4549         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4550         Handle PRESERVE-SELINUX-CONTEXT.
4551         (tramp-do-copy-or-rename-file): Add progress reporter.
4552         (tramp-do-copy-or-rename-file-directly): Do not use
4553         `tramp-handle-file-remote-p'.
4554         (tramp-do-copy-or-rename-file-out-of-band):
4555         Use `tramp-compat-delete-directory'.
4556         (tramp-do-copy-or-rename-file-out-of-band)
4557         (tramp-compute-multi-hops, tramp-maybe-open-connection):
4558         Use `format-spec-make'.
4559         (tramp-handle-delete-file): Add TRASH arg.
4560         (tramp-handle-dired-uncache): Flush directory cache, not only file
4561         cache.
4562         (tramp-handle-expand-file-name)
4563         (tramp-completion-handle-file-name-all-completions)
4564         (tramp-completion-handle-file-name-completion):
4565         Use `tramp-connectable-p'.
4566         (tramp-handle-start-file-process): Set connection property "vec".
4567         Use it, in order to invalidate file caches.  Check only for
4568         `remote-tty' process property.
4569         Implement tty setting.  (Bug#4604, Bug#6360)
4570         (tramp-file-name-for-operation): Add `call-process-region' and
4571         `set-file-selinux-context'.
4572         (tramp-find-foreign-file-name-handler)
4573         (tramp-advice-make-auto-save-file-name)
4574         (tramp-set-auto-save-file-modes): Remove superfluous check for
4575         `stringp'.  This is done inside `tramp-tramp-file-p'.
4576         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
4577         operations when we are in completion mode.  This gives the user
4578         the chance to correct the file name in the minibuffer.
4579         (tramp-completion-mode-p): Use `non-essential'.
4580         (tramp-handle-file-name-all-completions): Backward/ XEmacs
4581         compatibility: Use `completion-ignore-case' if
4582         `read-file-name-completion-ignore-case' does not exist.
4583         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4584         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4585         `tramp-open-shell'.
4586         (tramp-action-password): Hide password prompt before next run.
4587         (tramp-process-actions): Widen connection buffer for the trace.
4588         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4589         process property.  Trace stty settings if `tramp-verbose' >= 9.
4590         Apply workaround for IRIX64 bug.  Move argument of last
4591         `tramp-send-command' where it belongs to.
4592         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4593         front of `login-args'.
4594         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4595         on "/dev/null" instead of "/".
4596         (tramp-get-ls-command-with-dired): Make test for "--dired"
4597         stronger.
4598         (tramp-set-auto-save-file-modes): Adapt version check.
4599         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4600         (tramp-handle-process-file): Call the program in a subshell, in
4601         order to preserve working directory.
4602         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4603         `tramp-remote-sh' from `tramp-methods'.
4604         (tramp-get-ls-command): Make test for "--color=never" stronger.
4605         (tramp-check-for-regexp): Use (forward-line 1).
4607         * net/trampver.el: Update release number.
4609 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4611         * help.el (help-map): Bind `C-h P' to describe-package.
4613         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4615         * emacs-lisp/package.el (package-refresh-contents): Catch errors
4616         when downloading archives.
4617         (describe-package-1): Add package commentary.
4618         (package-install-button-action): New function.
4619         (package-menu-mode-map): Bind ? to package-menu-describe-package.
4620         (package-menu-view-commentary): Function removed.
4621         (package-list-packages-internal): Hide the `package' package too.
4623 2010-08-25  Kenichi Handa  <handa@m17n.org>
4625         * language/misc-lang.el ("Arabic"): New language environment.
4626         Setup composition-function-table for Arabic characters.
4628         * international/fontset.el (setup-default-fontset): Fix typo for
4629         arabic OTF spec (fini->fina).
4631 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
4633         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4634         on all frames.
4636 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4638         * whitespace.el: Allow cleaning up blanks without blank
4639         visualization (Bug#6651).  Adjust help window for
4640         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4641         instead of whitespace-line-column (from EmacsWiki).  New version
4642         13.1.
4643         (whitespace-style): Added new value 'face.  Adjust docstring.
4644         (whitespace-space, whitespace-hspace, whitespace-tab):
4645         Adjust foreground property face.
4646         (whitespace-line-column): Adjust docstring and type declaration.
4647         (whitespace-style-value-list, whitespace-toggle-option-alist)
4648         (whitespace-help-text): Adjust const initialization.
4649         (whitespace-toggle-options, global-whitespace-toggle-options):
4650         Adjust docstring.
4651         (whitespace-display-window, whitespace-interactive-char)
4652         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4653         (whitespace-help-scroll): New fun.
4655 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4657         * emacs-lisp/package.el (list-packages): Alias for
4658         package-list-packages.
4660 2010-08-24  Kevin Ryde  <user42@zip.com.au>
4662         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4663         (Bug#5651).
4665         * progmodes/ruby-mode.el (ruby): Add defgroup.
4667 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4669         * progmodes/python.el: Add Ipython support (Bug#5390).
4670         (python-shell-prompt-alist)
4671         (python-shell-continuation-prompt-alist): New options.
4672         (python--set-prompt-regexp): New function.
4673         (inferior-python-mode, run-python, python-shell):
4674         Require ansi-color.  Use python--set-prompt-regexp to set the comint
4675         prompt based on the Python interpreter.
4676         (python--prompt-regexp): New var.
4677         (python-check-comint-prompt)
4678         (python-comint-output-filter-function): Use it.
4679         (run-python): Use a pipe (Bug#5694).
4681 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
4683         * progmodes/python.el (python-send-region): Send a different
4684         Python command if Ipython is in use.
4685         (python-check-version): Use a Python command to find the version.
4687 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4689         * mouse.el (mouse-yank-primary): Avoid setting primary when
4690         deactivating the mark (Bug#6872).
4692 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
4694         * progmodes/python.el (python-block-pairs): Allow use of "finally"
4695         with "else" (Bug#3991).
4697 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
4699         * net/dbus.el: Accept UNIX domain sockets as bus address.
4700         (top): Don't initialize `dbus-registered-objects-table' anymore,
4701         this is done in dbusbind,c.
4702         (dbus-check-event): Adapt test for bus.
4703         (dbus-return-values-table, dbus-unregister-service)
4704         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4705         Adapt doc string.
4707 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
4709         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4711 2010-08-22  Juri Linkov  <juri@jurta.org>
4713         * simple.el (read-extended-command): New function with the logic
4714         for `completing-read' moved to Elisp from `execute-extended-command'.
4715         Use `function-called-at-point' in `minibuffer-default-add-function'
4716         to get a command name for M-n (bug#5364, bug#5214).
4718 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4720         * startup.el (command-line-1): Issue warning for ignored arguments
4721         --unibyte, etc (Bug#6886).
4723 2010-08-22  Leo  <sdl.web@gmail.com>
4725         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4726         (ignore, bright, dim, keyword): Split list of nicknames before
4727         passing to rcirc-add-or-remove (Bug#6894).
4729 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4731         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4733 2010-08-22  Leo  <sdl.web@gmail.com>
4735         Fix buffer-list rename&refresh after killing a buffer in ido.
4736         * ido.el: Revert Óscar's.
4737         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4738         Remember the buffers at head, rather than their name.
4739         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4741 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
4742             Stefan Monnier  <monnier@iro.umontreal.ca>
4744         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4745         extra backslash added to each line (bug#6890).
4747 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4749         * subr.el (read-key): Don't echo keystrokes (bug#6883).
4751 2010-08-22  Glenn Morris  <rgm@gnu.org>
4753         * menu-bar.el (menu-bar-games-menu): Add landmark.
4755 2010-08-22  Glenn Morris  <rgm@gnu.org>
4757         * align.el (align-regexp): Make group and spacing arguments
4758         use the interactive defaults when non-interactive.  (Bug#6698)
4760         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4761         expansion, so as not to need sendmail.
4762         (mail-text-start): Remove declaration.
4763         (rmail-retry-failure): Require sendmail.
4765 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4767         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4769 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
4771         * progmodes/flymake.el (flymake-start-syntax-check-process):
4772         Use `start-file-process' in order to let it run also on remote hosts.
4774 2010-08-22  Kenichi Handa  <handa@m17n.org>
4776         * files.el: Add `word-wrap' as safe local variable.
4778 2010-08-22  Glenn Morris  <rgm@gnu.org>
4780         * woman.el (woman-translate): Case matters.  (Bug#6849)
4782 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4784         * simple.el (kill-region): Doc fix (Bug#6787).
4786 2010-08-22  Glenn Morris  <rgm@gnu.org>
4788         * calendar/diary-lib.el (diary-header-line-format):
4789         Fit it to the window, not the frame.
4791 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
4793         * subr.el (ignore-errors): Add debug declaration.
4795 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
4797         * whitespace.el (whitespace-color-off): Remove post-command-hook
4798         locally.
4800 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4802         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4804 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4806         * cus-edit.el (custom-group-value-create): Add extra newline
4807         before end line (Bug#6876).
4809 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4811         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4812         when extending it.  Before killing on the second click, check if
4813         the buffer is the correct one.  Doc fix.
4814         (mouse-secondary-save-then-kill): Allow usage without first
4815         calling mouse-start-secondary, by defaulting to point.  Don't save
4816         an empty secondary selection.  Doc fix.
4818 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4820         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
4821         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4822         New version 13.0.
4823         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4824         Adjust initialization.
4825         (whitespace-bob-marker, whitespace-eob-marker)
4826         (whitespace-buffer-changed): New vars.
4827         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4828         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4829         (whitespace-post-command-hook, whitespace-display-char-on):
4830         Adjust code.
4831         (whitespace-looking-back, whitespace-buffer-changed): New funs.
4832         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4834 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4836         * files.el (locate-file-completion-table): Only list the .el and .elc
4837         extensions if there's no other choice (bug#5955).
4839         * facemenu.el (facemenu-self-insert-data): New var.
4840         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4841         New functions.
4842         (facemenu-add-face): Use them.
4844         * simple.el (blink-matching-open): Obey forward-sexp-function.
4846 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4848         * simple.el (prog-mode-map): New var.
4849         (prog-indent-sexp): New command.
4851         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4853         * progmodes/prolog.el (smie): Require.
4855         * emacs-lisp/smie.el (smie-default-backward-token)
4856         (smie-default-forward-token): Strip properties.
4857         (smie-next-sexp): Be more careful with associative operators.
4858         (smie-forward-sexp-command): Generalize.
4859         (smie-backward-sexp-command): Simplify.
4860         (smie-closer-alist): New var.
4861         (smie-close-block): New command.
4862         (smie-indent-debug-log): New var.
4863         (smie-indent-offset-rule): Add a few more cases.
4864         (smie-indent-column): New function.
4865         (smie-indent-after-keyword): Use it.
4866         (smie-indent-keyword): Use it.
4867         Fix up the opener code's point position.
4868         (smie-indent-comment): Only applies at BOL.
4869         (smie-indent-debug): New command.
4871         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4872         declarations that are useful before running the macro.
4874 2010-08-18  Joakim Verona  <joakim@verona.se>
4876         * image.el (imagemagick-types-inhibit): New variable.
4877         (imagemagick-register-types): New function.
4878         * image-mode.el (image-transform-properties): New function.
4879         (image-transform-set-scale, image-transform-fit-to-height)
4880         (image-transform-set-rotation, image-transform-set-resize)
4881         (image-transform-fit-to-width, image-transform-fit-to-height):
4882         New functions.
4883         (image-toggle-display-image): Support image transforms.
4885 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
4887         * image.el (create-animated-image): Don't add heuristic mask to image
4888         (Bug#6839).
4890 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
4892         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4893         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4895 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4897         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4899         Font-lock '...' strings, plus various simplifications and fixes.
4900         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4901         (octave-font-lock-close-quotes): New function.
4902         (octave-font-lock-syntactic-keywords): New var.
4903         (octave-mode): Use it.  Set beginning-of-defun-function.
4904         (octave-mode-map): Don't override the <foo>-defun commands.
4905         (octave-mode-menu): Pass it directly to easy-menu-define;
4906         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4907         (octave-block-match-alist): Fix up last change so that
4908         octave-close-block uses the more specific keyword.
4909         (info-lookup-mode): Silence byte-compiler.
4910         (octave-beginning-of-defun): Not interactive any more.
4911         Optimize slightly.
4912         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4913         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4914         (octave-completion-at-point-function): Make sure point is within
4915         beg..end.
4916         (octave-reindent-then-newline-and-indent):
4917         Use reindent-then-newline-and-indent.
4918         (octave-add-octave-menu): Remove.
4920 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
4922         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4923         (report-emacs-bug-can-use-xdg-email): New functions.
4924         (report-emacs-bug): Set can-xdg-email to result of
4925         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
4926         \C-cm to report-emacs-bug-insert-to-mailer and add help text
4927         about it.
4929         * net/browse-url.el (browse-url-default-browser): Add cond
4930         for browse-url-xdg-open.
4931         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4933 2010-08-17  Glenn Morris  <rgm@gnu.org>
4935         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4936         (c-fontify-recorded-types-and-refs): Define for compiler.
4937         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4938         before use.
4940         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4941         Fix format call.
4943 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
4945         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4946         properties.
4947         (tramp-handle-process-file): Call the program in a subshell, in
4948         order to preserve working directory.
4949         (tramp-action-password): Hide password prompt before next run.
4950         (tramp-process-actions): Widen connection buffer for the trace.
4952 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4954         * net/rcirc.el (rcirc-log-process-buffers): New option.
4955         (rcirc-print): Use it.
4956         (rcirc-generate-log-filename): New function.
4957         (rcirc-log-filename-function): Change default to
4958         rcirc-generate-log-filename (Bug#6828).
4960 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
4962         * simple.el (deactivate-mark): If select-active-regions is `only',
4963         only set selection for temporarily active regions.
4965         * cus-start.el: Change defcustom for select-active-regions.
4967 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4969         * mouse.el (mouse--drag-set-mark-and-point): New function.
4970         (mouse-drag-track): Use LOCATION arg to push-mark.
4971         Use mouse--drag-set-mark-and-point to take click-count into
4972         consideration when updating point and mark (Bug#6840).
4974 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4976         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4977         Give the Ruby rule a lower priority than Gnu (Bug#6778).
4979 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
4981         * font-lock.el (lisp-font-lock-keywords-2):
4982         Add combine-after-change-calls, condition-case-no-debug,
4983         with-demoted-errors, and with-silent-modifications (Bug#6025).
4985 2010-08-14  Kevin Ryde  <user42@zip.com.au>
4987         * emacs-lisp/copyright.el (copyright-update-year)
4988         (copyright-update): Temporary switch-to-buffer to ensure the
4989         buffer change being queried is visible (Bug#5394).
4991 2010-08-14  Tom Tromey  <tromey@redhat.com>
4993         * progmodes/etags.el (tags-file-name): Mark safe if stringp
4994         (Bug#6733).
4996 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
4998         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4999         MS-DOS.  (Bug#6689)
5001 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
5003         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5004         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5005         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5006         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5007         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5008         Call menu-bar-set-tool-bar-position.
5010 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5012         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5013         comment style (bug#6834).
5014         * progmodes/scheme.el (scheme-mode-syntax-table):
5015         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5016         "b" flag in "' 14b" syntax.
5018         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5019         for (un)commenting the region and performing completion.
5020         (octave-mode-menu): Use standard commands for help and completion.
5021         (octave-mode-syntax-table): Support %{..%} comments (sort of).
5022         (octave-mode): Use define-derived-mode.
5023         Set completion-at-point-functions and don't set columns.
5024         Don't disable adaptive-fill-regexp.
5025         (octave-describe-major-mode, octave-comment-region)
5026         (octave-uncomment-region, octave-comment-indent)
5027         (octave-indent-for-comment): Remove.
5028         (octave-indent-calculate): Rename from calculate-octave-indent.
5029         (octave-indent-line, octave-fill-paragraph): Update caller.
5030         (octave-initialize-completions): No need to make an alist.
5031         (octave-completion-at-point-function): New function.
5032         (octave-complete-symbol): Use it.
5033         (octave-insert-defun): Use define-skeleton.
5035         * progmodes/octave-mod.el (octave-mode): Set comment-add.
5036         (octave-mode-map): Use comment-dwim (bug#6829).
5038 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
5040         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5041         indentation of inserted comment.
5043 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
5045         * faces.el (region): Add type gtk that uses gtk colors.
5047         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5048         Handle theme-name change.
5050 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
5052         * progmodes/sql.el: Version 2.5
5053         (sql-product-alist): Add :prompt-cont-regexp property for several
5054         database products.
5055         (sql-prompt-cont-regexp): New variable.
5056         (sql-output-newline-count, sql-output-by-send):
5057         New variables.  Record number of newlines in input text.
5058         (sql-send-string): Handle multiple filters and count newlines.
5059         (sql-send-magic-terminator): Count terminator newline.
5060         (sql-interactive-remove-continuation-prompt): Filters output to
5061         remove continuation prompts; one for each newline.
5062         (sql-interactive-mode): Set up new variables, prompt regexp and
5063         output filter.
5064         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5065         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5067 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5069         * emacs-lisp/pcase.el: New file.
5071 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
5073         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5074         as here-document, otherwise the command could exceed maximum
5075         length of command line.
5076         (tramp-handle-vc-registered): Call script accordingly.
5077         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5079 2010-08-10  Kenichi Handa  <handa@m17n.org>
5081         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5082         composable pattern.
5084 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
5086         * emacs-lisp/package.el (package-version-split)
5087         (package--version-first-nonzero, package-version-compare):
5088         Functions removed.
5089         (package-directory-list, package-load-all-descriptors)
5090         (package--built-in, package-activate, define-package)
5091         (package-installed-p, package-compute-transaction)
5092         (package-read-all-archive-contents)
5093         (package--add-to-archive-contents, package-buffer-info)
5094         (package-tar-file-info, package-list-packages-internal):
5095         Use version-to-list and version-list-*.
5097         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5098         Use version-to-list.
5099         (package-upload-buffer-internal): Use version-list-<=.
5101 2010-08-09  Kenichi Handa  <handa@m17n.org>
5103         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5104         composable pattern.
5106 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
5108         * tutorial.el (tutorial--default-keys): C-d is now bound to
5109         delete-forward-char (Bug#6826).
5111         * mouse.el (mouse-drag-track): Remove accidentally-removed check
5112         for `double' value of mouse-1-click-follows-link (Bug#6807).
5114 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
5116         * replace.el (replace-highlight): Bind isearch-forward and
5117         isearch-error, ensuring that highlighting is updated if the user
5118         switches the search direction (Bug#6808).
5120         * isearch.el (isearch-lazy-highlight-forward): New var.
5121         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5122         (isearch-lazy-highlight-update): Use it.
5124 2010-08-08  Kenichi Handa  <handa@m17n.org>
5126         * international/mule.el (define-charset): Store NAME as :base property.
5127         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5128         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5129         current priority.  Force using the designation of the specific
5130         charset by adding `charset' text property.  Improve the whole algorithm.
5132 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5134         * emulation/pc-select.el (pc-selection-mode-hook)
5135         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5136         (pc-selection-mode): Fix typos in docstrings.
5138 2010-08-08  Kenichi Handa  <handa@m17n.org>
5140         * language/cyrillic.el: Don't add "microsoft-cp1251" to
5141         ctext-non-standard-encodings-alist here.
5143         * international/mule.el (ctext-non-standard-encodings-alist):
5144         Add "koi8-r" and "microsoft-cp1251".
5145         (ctext-standard-encodings): New variable.
5146         (ctext-non-standard-encodings-table): List only elements for
5147         non-standard encodings.
5148         (ctext-pre-write-conversion): Adjust for the above change.
5149         Check ctext-standard-encodings.
5151         * international/mule-conf.el (compound-text): Doc fix.
5152         (ctext-no-compositions): Doc fix.
5153         (compound-text-with-extensions): Doc fix.
5155 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5157         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5159 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5161         * progmodes/which-func.el (which-func-format): Split help-echo text
5162         into lines, like other mode-line tooltips.
5164         * server.el (server-start): When using TCP sockets, force IPv4
5165         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
5167 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5169         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5171 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5173         * term.el (term-delimiter-argument-list): Reflow docstring.
5174         (term-read-input-ring, term-write-input-ring, term-send-input)
5175         (term-bol, term-erase-in-display, serial-supported-or-barf):
5176         Fix typos in docstrings.
5178 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5180         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5182 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5184         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5186 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
5188         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5189         Fix typo in docstring (bug#6747).
5191 2010-08-08  Leo  <sdl.web@gmail.com>
5193         * eshell/esh-io.el (eshell-get-target): Better detection of
5194         read-only file (Bug#6762).
5196 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5198         * align.el (align-default-spacing): Doc fix.
5199         (align-region-heuristic, align-regexp): Fix typos in docstrings.
5201 2010-08-08  Stephen Peters  <speters@itasoftware.com>
5203         * calendar/icalendar.el
5204         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
5205         (icalendar--get-weekday-numbers): New.
5206         (icalendar--convert-recurring-to-diary): Handle multiple byday
5207         values in weekly rules.  (Bug#6766)
5209 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
5211         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5212         (icalendar--create-uid, icalendar-export-region)
5213         (icalendar--parse-summary-and-rest): Code formatting.
5215 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
5217         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5218         to italicize headers.
5219         (calc-highlight-selections-with-faces): New variable.
5220         (calc-selected-face, calc-nonselected-face): New faces.
5222         * calc/calccomp.el (math-comp-highlight-string): Use
5223         `calc-highlight-selections-with-faces' to determine how to highlight
5224         sub-formulas.
5226         * calc/calc-sel.el (calc-show-selections): Change message to when
5227         using faces to highlight selections.
5229 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
5231         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5232         Add SQLite 3 keywords, functions and datatypes.
5233         (sql-interactive-mode): Remove `comint-process-echoes' set to t
5234         (Bug#6686).
5236 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
5238         * simple.el (select-active-regions): Move to keyboard.c.
5239         (deactivate-mark): Used saved-region-selection.
5240         (select-active-region): Function removed.
5241         (activate-mark, set-mark, push-mark-command)
5242         (handle-shift-selection): Don't call it.
5243         (keyboard-quit): Avoid adding the region to the window selection.
5245         * mouse.el (mouse-drag-track): Remove hacks to deal with old
5246         select-active-regions implementation.
5247         (mouse-yank-at-click): Doc fix.
5249         * cus-start.el: Add custom declaration for select-active-regions.
5251 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
5253         * simple.el (delete-forward-char): Doc fix.
5255         * tutorial.el (help-with-tutorial): Hack safe file-local variables
5256         after reading the tutorial.
5258 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
5260         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
5261         Fix for the case that a C style comment has its delimiters alone on
5262         their respective lines.
5264 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
5266         * net/tramp.el (tramp-handle-start-file-process): Set connection
5267         property "vec".
5268         (tramp-process-sentinel): Use it for flushing the cache.
5269         We cannot do it via the process buffer, the buffer could be deleted
5270         already when running the sentinel.
5272 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
5274         * comint.el (comint-mode): Make directory tracking functions
5275         functional on remote files.  (Bug#6764)
5277 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
5279         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5281 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
5283         * emacs-lisp/find-gc.el (find-gc-source-files):
5284         Rename unexec.c => unexcoff.c.
5286         * emacs-lisp/authors.el (authors-fixed-entries):
5287         Rename unexec.c => unexcoff.c.
5289 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
5291         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5292         cache, not only file cache.
5293         (tramp-process-sentinel): New defun.
5294         (tramp-handle-start-file-process): Use it, in order to invalidate
5295         file caches.
5297 2010-08-03  Leo  <sdl.web@gmail.com>
5299         * server.el (server-start): Simplify loop.
5301 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5303         * frame.el (screen-height, screen-width, set-screen-width)
5304         (set-screen-height): Remove ancient compatibility aliases.
5306         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5307         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
5309         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5310         that change current buffer.
5312 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5314         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5315         beginning of the string.  Use `string-match-p'.  (Bug#6765)
5317 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
5319         * cus-start.el (x-gtk-use-system-tooltips): New variable.
5321 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
5323         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5324         (package--builtins): Tweak descriptions.
5325         (package-print-package): Upcase descriptions if necessary.
5326         Show all built-in packages in font-lock-builtin-face.
5327         (package-list-packages-internal): Omit "emacs" package.
5328         Show status of built-in packages as "built-in".
5330 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
5332         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
5333         before killing to preserve the primary selection (Bug#6701).
5335         * term/x-win.el (x-select-text): Doc fix.
5337 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
5339         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5340         (objc-font-lock-extra-types):
5341         * progmodes/cc-mode.el (c-basic-common-init):
5342         * progmodes/cc-langs.el (c-make-mode-syntax-table)
5343         (c++-make-template-syntax-table)
5344         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5345         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5346         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5347         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5348         * progmodes/cc-fonts.el (c-make-inverse-face)
5349         (c-basic-matchers-after):
5350         * progmodes/cc-engine.el (c-forward-keyword-clause)
5351         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5352         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5353         (c-guess-continued-construct, c-guess-basic-syntax):
5354         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5355         The above functions were modified or created.
5357 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
5359         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5361 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
5363         * files.el (bidi-paragraph-direction): Define safe local values.
5365         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5366         language-info-alist.  Remove outdated FIXME in a comment.
5368 2010-07-31  Alan Mackenzie  <acm@muc.de>
5370         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5371         Auto-fill broken in C/C++ modes.
5373 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
5375         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5376         (menu-bar-showhide-tool-bar-menu-customize-disable)
5377         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5378         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5379         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5380         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5381         make a menu for Options => toolbar that can move it.
5383 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
5385         * emacs-lisp/package-x.el (package--make-rss-entry):
5386         (package-maint-add-news-item, package--update-news)
5387         (package-upload-buffer-internal): New arg ARCHIVE-URL.
5389         * emacs-lisp/package.el (package-archive-url): Rename from
5390         package-archive-id.
5391         (package-install): Doc fix.
5392         (package-download-single, package-download-tar, package-install)
5393         (package-menu-view-commentary): Callers changed.
5395 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
5397         * net/tramp.el (tramp-handle-start-file-process): Check only for
5398         `remote-tty' process property.
5399         (tramp-open-shell): Don't check for tty.
5400         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5401         process property.
5403         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5404         host.
5406 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
5408         * emacs-lisp/package.el (package-load-list, package-archives)
5409         (package-archive-contents, package-user-dir)
5410         (package-directory-list, package--builtins, package-alist)
5411         (package-activated-list, package-obsolete-alist): Mark as risky.
5413 2010-07-28  Phil Hagelberg  <phil@evri.com>
5415         Add support for non-default package repositories.
5416         * emacs-lisp/package.el (package-archive-base): Var deleted.
5417         (package-archives): New variable.
5418         (package-archive-contents): Doc fix.
5419         (package-load-descriptor): Do nothing if descriptor file is missing.
5420         (package--write-file-no-coding): New function.
5421         (package-unpack-single): Use it.
5422         (package-archive-id): New function.
5423         (package-download-single, package-download-tar)
5424         (package-menu-view-commentary): Use it.
5425         (package-installed-p): Make second argument optional.
5426         (package-read-all-archive-contents): New function.
5427         (package-initialize): Use it.
5428         (package-read-archive-contents): Add ARCHIVE argument.
5429         (package--add-to-archive-contents): New function.
5430         (package-install): Don't call package-read-archive-contents.
5431         (package--download-one-archive): Store archive file in a
5432         subdirectory of package-user-dir.
5433         (package-menu-execute): Remove spurious line movement.
5435 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
5437         * cus-start.el (tool-bar-style): Add text-image-horiz.
5439 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5441         * progmodes/gud.el (gud-common-init): Check for remoteness of
5442         `file', and not of `default-directory'.
5444 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5446         * net/tramp.el (tramp-methods): Move hostname to the end in all
5447         ssh `tramp-login-args'.
5448         (tramp-verbose): Describe verbose level 9.
5449         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5450         (tramp-open-connection-setup-interactive-shell): Trace stty
5451         settings if `tramp-verbose' >= 9.
5452         (tramp-handle-start-file-process): Implement tty setting.
5453         (Bug#4604, Bug#6360)
5455         * net/tramp-cmds.el (tramp-bug): Recommend setting of
5456         `tramp-verbose' to 9.
5458 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
5460         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5461         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5462         Remove references to package `lisp-re' (bug#4369).
5464 2010-07-27  Tom Tromey  <tromey@redhat.com>
5466         * progmodes/js.el (js-mode):
5467         * progmodes/make-mode.el (makefile-mode):
5468         * progmodes/simula.el (simula-mode):
5469         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5471 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
5473         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5475         * time.el (display-time-day-and-date): Remove spurious * in docstring.
5476         (display-time-world-buffer-name, display-time-world-mode-map):
5477         Fix typos in docstrings.
5479 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
5481         * image-mode.el (image-display-size): New function.
5482         (image-forward-hscroll, image-next-line, image-eol, image-eob)
5483         (image-mode-fit-frame): Use it (Bug#6639).
5485 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
5487         * dired.el (dired-buffers-for-dir): Handle list values of
5488         dired-directory (Bug#6636).
5490 2010-07-26  Sam Steingold  <sds@gnu.org>
5492         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5493         Do not call `x-get-selection' the second time, reuse the value.
5495 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
5497         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5498         which consist of control chars only.  Suggested by Richard Stallman.
5500 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
5502         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5503         exists before passing an error to find-file-not-found-functions
5504         (bug#6723).
5506 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
5508         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5509         Remove leading nil element, adjust values.
5510         (tetris-shapes, tetris-shape-scores):
5511         Change representation of shapes and remove some redundancy.
5512         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5513         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5514         Adjust for working with new representation of shapes.
5515         (tetris-shape-rotations): New function.
5516         (tetris-move-bottom, tetris-move-left, tetris-move-right)
5517         (tetris-rotate-prev, tetris-rotate-next):
5518         Adjust for working with the new version of tetris-test-shape.
5520 2010-07-23  Markus Triska  <markus.triska@gmx.at>
5522         * progmodes/ps-mode.el: Use comint (bug#5954).
5523         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5524         (ps-mode-other-newline): Simplify.
5525         (ps-run-mode): Derive from comint-mode instead of
5526         fundamental-mode, yielding input history etc.
5527         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5528         (ps-run-send-string): Adapt for comint-mode.
5529         (ps-run-newline): Remove now unneeded function.
5531 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5533         * net/tramp.el (tramp-methods): Move hostname to the end in all
5534         plink `tramp-login-args'.
5536 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5538         * net/tramp.el (tramp-open-shell): New defun.
5539         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5540         Use it.
5542 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5544         * net/tramp.el (tramp-file-name-regexp-unified)
5545         (tramp-completion-file-name-regexp-unified): On W32 systems, do
5546         not regard the volume letter as remote filename.  (Bug#5447)
5548 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
5550         * custom.el (custom-declare-variable): Give a clearer error message
5551         when the docstring is missing (bug#6476).
5553 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
5555         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
5556         (sql-login-params): New widget definition.
5557         (sql-oracle-login-params, sql-mysql-login-params)
5558         (sql-solid-login-params, sql-sybase-login-params)
5559         (sql-informix-login-params, sql-ingres-login-params)
5560         (sql-ms-login-params, sql-postgres-login-params)
5561         (sql-interbase-login-params, sql-db2-login-params)
5562         (sql-linter-login-params): Use it.
5563         (sql-sqlite-login-params): Use it; Define "database" parameter as
5564         a file name.
5565         (sql-sqlite-program): Change to "sqlite3".
5566         (sql-comint-sqlite): Make sure database name is complete.
5567         (sql-for-each-login): New function.
5568         (sql-connect, sql-save-connection): Use it.
5569         (sql-get-login-ext): New function.
5570         (sql-get-login): Use it.
5571         (sql-make-alternate-buffer-name): Handle :file parameters.
5573 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
5575         * dired.el (dired-no-confirm): Document value t and fix defcustom to
5576         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
5578 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
5580         * dired.el (dired-mode-map): Use command remapping (bug#6632).
5582 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
5584         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5586 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
5588         * net/tramp.el (tramp-get-ls-command)
5589         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5590         instead of "/".
5592 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
5594         * progmodes/sql.el: Version 2.3.
5595         (sql-connection-alist): Changed keys from symbols to strings;
5596         enhanced the widget definition.
5597         (sql-mode-menu): Added submenu to select connections.
5598         (sql-interactive-mode-menu): Added "Save Connection" item.
5599         (sql-add-product): Fixed menu item.
5600         (sql-get-product-feature): Improved error handling.
5601         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5602         (sql-make-alternate-buffer-name): Simplified.
5603         (sql-product-interactive): Handle missing product.
5604         (sql-connect): Support string keys, minor improvements.
5605         (sql-save-connection): New function.
5606         (sql-connection-menu-filter): New function.
5608 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5610         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5611         (tramp-open-connection-setup-interactive-shell):
5612         Apply workaround for IRIX64 bug.  Move argument of last
5613         `tramp-send-command' where it belongs to.
5615 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5617         * net/tramp.el (tramp-perl-file-attributes)
5618         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5619         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5620         front of `login-args'.
5622 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
5624         * time.el (display-time-world-mode): Define with `define-derived-mode'.
5625         Set `show-trailing-whitespace' to nil.
5626         (display-time-world-display): Simplify.
5628 2010-07-18  Alan Mackenzie  <acm@muc.de>
5630         Enhance `c-file-style' in file/directory local variables.
5631         * progmodes/cc-mode.el (c-count-cfss): New function.
5632         (c-before-hack-hook): Call `c-set-style' differently according to
5633         whether c-file-style was set in file or directory local
5634         variables.
5636 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
5638         * progmodes/sql.el: Version 2.2.
5639         (sql-product, sql-user, sql-database, sql-server, sql-port):
5640         Use defcustom :safe keyword rather than putting safe-local-variable
5641         property.
5642         (sql-password): Use defcustom :risky keyword rather than putting
5643         risky-local-variable property.
5644         (sql-oracle-login-params, sql-sqlite-login-params)
5645         (sql-solid-login-params, sql-sybase-login-params)
5646         (sql-informix-login-params, sql-ingres-login-params)
5647         (sql-ms-login-params, sql-postgres-login-params)
5648         (sql-interbase-login-params, sql-db2-login-params)
5649         (sql-linter-login-params): Add `port' option.
5650         (sql-get-product-feature): Added NO-INDIRECT parameter.
5651         (sql-comint-oracle, sql-comint-sybase)
5652         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5653         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5654         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5655         (sql-comint-linter): Renamed sql-connect-* functions to
5656         sql-comint-*.
5657         (sql-product-alist, sql-mode-menu): Renamed as above and
5658         :sqli-connect-func to :sqli-comint-func.
5659         (sql-connection): New variable.
5660         (sql-interactive-mode): Set it.
5661         (sql-connection-alist): New variable.
5662         (sql-connect): New function.
5663         (sql--alt-buffer-part, sql--alt-if-not-empty)
5664         (sql-make-alternate-buffer-name): Improved alternative buffer name.
5666 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5668         * image-mode.el (image-bookmark-make-record): Do not set context
5669         in an image (Bug#6650).
5671 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5673         * simple.el (select-active-region): New function.
5674         (push-mark-command, set-mark, activate-mark)
5675         (handle-shift-selection): Use it.
5676         (deactivate-mark): Don't check for size of region.
5678         * mouse.el (mouse-drag-track): Use select-active-region.
5680 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
5682         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5683         "--dired" stronger.
5685 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5687         * term/x-win.el (x-select-enable-primary): Change default to nil.
5688         (x-select-enable-clipboard): Add :version keyword.
5690         * mouse.el (mouse-drag-copy-region):
5691         * simple.el (select-active-regions): Likewise.
5693 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
5695         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5696         (vc-coding-system-for-diff): Use it to decide whether to inherit
5697         from the file the EOL format for reading the diffs of that file.
5698         (Bug#4451)
5700 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
5702         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5703         unibyte, so compressed attachments are not compressed again.
5705 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
5707         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5708         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5709         (tramp-find-shell): Simplify setting connection property.
5710         (tramp-get-ls-command): Make test for "--color=never" stronger.
5712 2010-07-15  Simon South  <ssouth@member.fsf.org>
5714         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5715         blocks within record declarations (i.e. variant parts) correctly.
5717 2010-07-15  Simon South  <ssouth@member.fsf.org>
5719         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5720         over literal tokens when parsing so newlines aren't "absorbed" by
5721         single-line comments.  Corrects the indentation of case blocks
5722         that have a comment on the first line.
5724 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
5726         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5727         by Drew Adams (Bug#5504).
5729 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
5731         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5732         now that Unicode is used (Bug#6594).
5734 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
5736         * term/x-win.el (x-select-enable-clipboard): Default to t.
5737         (x-initialize-window-system): Don't overwrite Paste menu item.
5739         * simple.el (select-active-regions): Default to t.
5740         (push-mark-command): Don't overwrite primary with empty string.
5742         * mouse.el: Bind mouse-2 to mouse-yank-primary.
5743         (mouse-drag-copy-region): Default to nil.
5745         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5746         Cut/Copy/Paste menu bar items.
5748 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5750         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5751         Patch applied by Karl Fogel.
5753         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5754         and `bookmark-current-buffer' if they have been already set in
5755         another buffer (e.g gnus-art).
5757 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5758             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5760         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5762         * bookmark.el (bookmark-make-record-default): Allow unneeded
5763         information to be omitted from the record.
5765         Adjust declarations and calls:
5767         * info.el (bookmark-make-record-default): Adjust declaration.
5768         (Info-bookmark-make-record): Adjust call.
5770         * woman.el (bookmark-make-record-default): Adjust declaration.
5771         (woman-bookmark-make-record): Adjust call.
5773         * man.el (bookmark-make-record-default): Adjust declaration.
5774         (Man-bookmark-make-record): Adjust call.
5776         * image-mode.el (bookmark-make-record-default): Adjust declaration.
5778         * doc-view.el (bookmark-make-record-default): Adjust declaration.
5780 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5782         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5783         This is also from Thierry Volpiatto's patch in bug #6444.  However,
5784         because it was extraneous to the functional change in that patch,
5785         and causes a re-indendation, I am committing it separately.
5787 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5789         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5790         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5791         Patch applied by Karl Fogel (Bug#6444).
5793 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
5795         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5797 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
5799         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5800         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
5801         (ns-alternatives-map): Change S-tab binding to backtab
5802         (bug#6616).
5804         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5805         under ns.
5807 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
5809         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5810         (Bug#5806)
5812         * language/tv-util.el (tai-viet-re): Remove format.
5814 2010-07-12  Kenichi Handa  <handa@m17n.org>
5816         * language/hebrew.el: Remove no-byte-compile declaration.
5817         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
5818         composition-function-table for 3-character looking back.
5819         (hebrew-font-get-precomposed): New function.
5820         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5822 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
5824         * mouse.el (mouse-drag-track): Handle select-active-regions
5825         (Bug#6612).
5827 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
5829         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5830         empty argument to gvfs-copy.
5832 2010-07-10  Glenn Morris  <rgm@gnu.org>
5834         * calendar/calendar.el (calendar-week-end-day): New function.
5835         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5836         Respect calendar-week-start-day.  (Bug#6606)
5837         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5838         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5839         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5840         respect calendar-week-start-day.
5842 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
5844         * simple.el (use-region-p): Doc fix (Bug#6607).
5846 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
5848         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5849         Add regexps for cucumber and ruby.
5851 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
5853         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5854         (epa-file-insert-file-contents): Hack to prevent
5855         find-file from opening empty buffer when decryption failed
5856         (bug#6568).
5858 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
5860         * textmodes/ispell.el (ispell-alternate-dictionary):
5861         Use file-readable-p.
5862         Return nil if no word-list is found at default locations.
5863         (ispell-complete-word-dict): Default to nil.
5864         (ispell-command-loop): Use 'word-list' when using lookup-words.
5865         (lookup-words): Use ispell-complete-word-dict or
5866         ispell-alternate-dictionary.  Check for word-list availability
5867         and handle errors if needed with better messages (Bug#6539).
5868         (ispell-complete-word): Use ispell-complete-word-dict or
5869         ispell-alternate-dictionary.
5871 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
5873         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5874         builtins (BufferError, BytesWarning, WindowsError; callables
5875         bin, bytearray, bytes, format, memoryview, next, print; __package__).
5877 2010-07-07  Glenn Morris  <rgm@gnu.org>
5879         * play/zone.el (top-level): Do not require timer, tabify, or cl.
5880         (zone-shift-left): Ignore intangibility, and any errors from
5881         forward-char.
5882         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
5883         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5884         deleting, and copying text properties.
5885         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5886         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5887         to point-max is hard.
5888         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5889         (zone-fill-out-screen): Ignore intangibility.
5891 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
5893         * menu-bar.el (menu-bar-mode):
5894         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5895         if it has been set.
5897         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5898         word/line selection (Bug#6565).
5900 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
5902         * net/dbus.el (dbus-send-signal): Declare function.
5904 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
5906         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5907         (dbus-register-property): New optional argument EMITS-SIGNAL.
5908         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5910 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
5912         * mouse.el (mouse-drag-overlay): Variable deleted.
5913         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5914         (mouse--remap-link-click-p): New function.
5915         (mouse-drag-track): Handle dragging by using temporary Transient
5916         Mark mode, instead of a special overlay.
5917         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5918         mouse-show-mark.
5920         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5921         deleted.
5923 2010-07-02  Juri Linkov  <juri@jurta.org>
5925         * autoinsert.el (auto-insert-alist): Fix readability
5926         by using dotted pair notation for lambda.
5928 2010-07-02  Juri Linkov  <juri@jurta.org>
5930         * faces.el (read-face-name): Rename arg `string-describing-default'
5931         to `default'.  Doc fix.  Display the default value in quotes
5932         in the prompt.  With empty input, return the `default' arg,
5933         unless the default value is a string (in which case return nil).
5934         (describe-face): Replace the string `default' arg of `read-face-name'
5935         with the symbol `default'.
5937 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
5939         * emulation/viper-cmd.el (viper-delete-backward-char)
5940         (viper-del-backward-char-in-insert)
5941         (viper-del-backward-char-in-replace, viper-change)
5942         (viper-backward-indent): Replace delete-backward-char with
5943         delete-char (Bug#6552).
5945 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
5947         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5949 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5951         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5952         argument passed to frame-creation-function (Bug#5378).
5954         * faces.el (x-handle-named-frame-geometry)
5955         (x-handle-reverse-video, x-create-frame-with-faces)
5956         (face-set-after-frame-default, tty-create-frame-with-faces):
5957         Don't separately consult default-frame-alist.  It is now passed as the
5958         PARAMETER argument.
5960 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
5962         * startup.el (command-line): Don't call tool-bar-setup in a
5963         tty-only build.
5965 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5967         * ruler-mode.el (ruler--save-header-line-format): New fun.
5968         (ruler-mode): Use it as a setter function, so as not to overwrite
5969         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5971 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
5973         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
5974         (vc-root-diff, vc-print-root-log, vc-log-incoming)
5975         (vc-log-outgoing): Use it.
5976         (vc-diff-internal): Set diff-vc-backend.
5978         * vc/diff-mode.el (diff-vc-backend): New var.
5980 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
5982         * dynamic-setting.el (font-setting-change-default-font):
5983         Remove call to message.
5985 2010-06-28  Kenichi Handa  <handa@m17n.org>
5987         * international/quail.el (quail-insert-kbd-layout): Fix the
5988         showing of untranslated characters.
5990 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
5992         * simple.el (delete-active-region): New option.
5993         (delete-backward-char): Implement in Lisp.
5994         (delete-forward-char): New command.
5996         * mouse.el (mouse-region-delete-keys): Deleted.
5997         (mouse-show-mark): Simplify.
5999         * bindings.el (global-map): Bind delete and DEL, the former to
6000         delete-forward-char.
6002 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
6004         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6005         (ruby-mode): Bind indent-line-function (Bug#5119).
6007 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6009         * startup.el (command-line): Recognize "0" X resource value.
6011 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6013         * startup.el (command-line): Use X resources to set the value of
6014         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6016         * menu-bar.el (menu-bar-mode):
6017         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6018         Set init-value to t.
6020         * frame.el (frame-notice-user-settings): Don't change
6021         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6022         vice versa (Bug#2249).
6024 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
6026         * w32-fns.el (w32-convert-standard-filename): Doc fix.
6028 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
6030         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6031         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6033         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6034         default directories are expanded (Bug#6143).
6036 2010-06-24  Juri Linkov  <juri@jurta.org>
6038         * minibuffer.el (completions-format): Change default from nil to
6039         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
6041 2010-06-24  Juri Linkov  <juri@jurta.org>
6043         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6044         buffer-locally to lambda that re-runs the vc diff command.
6045         (Bug#6447)
6047 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
6049         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6050         echo area is in use (Bug#3412).
6052 2010-06-22  Glenn Morris  <rgm@gnu.org>
6054         * textmodes/texinfmt.el (texinfo-format-region)
6055         (texinfo-raise-lower-sections, texinfo-format-separate-node)
6056         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6057         (texinfo-format-option, texinfo-noindent):
6058         Use line-beginning-position and line-end-position.
6060         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6061         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6062         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6063         utf-8 characters.
6065 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
6067         * play/zone.el (zone-fall-through-ws): Fix next-line ->
6068         forward-line fallout.
6070 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
6072         * mouse.el (mouse-appearance-menu): Add docstring.
6074         * help.el (describe-key): Print up-event using key-description.
6076 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
6078         * net/zeroconf.el (zeroconf-resolve-service)
6079         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6080         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6082 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6084         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6086 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
6088         Avoid displaying files with a nil state in vc-dir.
6089         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6090         cases that cause insertion.
6091         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6092         with a nil state.
6094 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6096         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6098 2010-06-29  Leo  <sdl.web@gmail.com>
6100         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
6102 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6104         * generic-x.el (bat-generic-mode): Fix regexp for command line
6105         switches (Bug#5719).
6107 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
6109         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6110         of nconc to avoid pure storage error (Bug#6239).
6112 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
6114         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6115         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6116         bindings of bookmark-automatically-show-annotations (Bug#6515).
6118 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
6120         * arc-mode.el (archive-zip-extract): Don't quote the file name on
6121         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
6123 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6125         * comint.el (make-comint, make-comint-in-buffer): Mention return
6126         value in the docstrings.  (Bug#6498)
6128 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
6130         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6131         since it is not present when using some non-default switches.
6133 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
6135         * simple.el (compose-mail): Fix doc string to refer to
6136         `compose-mail-user-agent-warnings', instead of to the
6137         nonexistent `compose-mail-check-user-agent'.
6139 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
6141         Fix an indentation bug:
6143         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6144         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6145         of existing values.
6147         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6148         (c-clear->-pair-props-if-match-before): now return t when they've
6149         cleared properties, nil otherwise.
6150         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6151         by taking account of the existing value.
6153         * progmodes/cc-defs.el
6154         (c-clear-char-property-with-value-function): Fix this to clear the
6155         property rather than overwriting it with nil.
6157 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
6159         * emacs-lisp/package.el (package-print-package): Add link to
6160         package description via describe-package.
6161         (describe-package-1): List package requirements.  Add button to
6162         perform installation.
6163         (package-menu-describe-package): New command.
6165         * help-mode.el (help-package): New button type.
6167 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
6169         * emacs-lisp/package.el: Move package-list-packages binding to
6170         menu-bar.el.
6171         (describe-package, describe-package-1, package--dir): New funs.
6172         (package-activate-1): Use package--dir.
6174         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6176         * help-mode.el (help-package-def): New button type.
6178         * menu-bar.el: Move package-list-packages binding here from
6179         package.el.
6181 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
6183         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
6185 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6187         * emacs-lisp/edebug.el (edebug-read-list):
6188         Phase out old-style backquotes.
6190 2010-06-17  Juri Linkov  <juri@jurta.org>
6192         * help-mode.el (help-mode): Set buffer-local variable
6193         revert-buffer-function to help-mode-revert-buffer.
6194         (help-mode-revert-buffer): New function.
6196         * info.el (Info-revert-find-node): Check for major-mode Info-mode
6197         before popping to "*info*" (like in other Info functions).
6198         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
6199         old-history-forward.  Pop to old-buffer-name or "*info*" to
6200         recreate the killed buffer.  Set Info-history-forward from
6201         old-history-forward.
6202         (Info-breadcrumbs-depth): Add :group and :version.
6204 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
6206         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6208 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
6210         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6211         for languages like Portuguese with pt_{BR,PT} and no plain pt.
6213 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
6215         * emacs-lisp/package.el (package-menu-mode-map):
6216         Move initialization into declaration.
6218         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6220 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
6222         * emacs-lisp/package.el (package-archive-base): Point to
6223         elpa.gnu.org.
6224         (package-enable, package-load-list): New defcustoms.
6225         (package-user-dir, package-directory-list): Turn into defcustoms.
6226         Don't include package-user-dir in package-directory-list.
6227         (package--builtins-base): Don't include Emacs as a "package".
6228         (package-subdirectory-regexp): New var.
6229         (package-load-all-descriptors, package-compute-transaction)
6230         (package-download-transaction): Obey package-load-list.
6231         (package-activate-1): Rename from package-do-activate.
6232         (package-list-packages-internal): Check package-load-list.
6233         (package-load-descriptor, package-generate-autoloads)
6234         (package-unpack, package-unpack-single)
6235         (package--read-archive-file, package-delete):
6236         Use expand-file-name.
6238         * emacs-lisp/package-x.el: New file.  Package uploading
6239         functionality split out from package.el.
6241         * startup.el (command-line): Load packages after reading init file.
6243 2010-06-17  Tom Tromey  <tromey@redhat.com>
6245         * emacs-lisp/package.el: New file.
6247 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6249         Fix vc-annotate for renamed files when using Git.
6250         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6251         ls-files.  Doe not pass the object as a file name to cat-file, it
6252         is not a file name.
6253         (vc-git-annotate-command): Pass the file name using -- to avoid
6254         ambiguity with the revision.
6255         (vc-git-previous-revision): Pass a relative file name.
6257 2010-06-22  Glenn Morris  <rgm@gnu.org>
6259         * progmodes/js.el (js-mode-map): Use standard capitalization and
6260         ellipses for menu entries.
6262         * wid-edit.el (widget-complete): Doc fix.
6264 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
6266         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6268 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6270         Fix annotating other revisions for renamed files in vc-annotate.
6271         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6272         VC backend.  Use it when non-nil.
6273         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6274         (Bug#6487).
6276         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6277         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6278         Do not pass the file name to the 'previous-revision call when we
6279         don't want a file diff.  (Bug#6489)
6281 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6283         Fix finding revisions for renamed files in vc-annotate.
6284         * vc/vc.el (vc-find-revision): Add an optional argument for
6285         the VC backend.  Use it when non-nil.
6286         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6287         backend to vc-find-revision.  (Bug#6487)
6289 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6291         Fix reading file names in Git annotate buffers.
6292         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6293         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
6295 2010-06-20  Alan Mackenzie  <acm@muc.de>
6297         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6298         in file local variables, set it first.
6300 2010-06-19  Glenn Morris  <rgm@gnu.org>
6302         * descr-text.el (describe-char-unicode-data): Insert separating
6303         space when needed.  (Bug#6422)
6305         * progmodes/idlwave.el (idlwave-action-and-binding):
6306         Fix typo in 2009-12-03 change.  (Bug#6450)
6308 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6310         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6311         handling for `lambda' (misunderstanding).
6313 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
6315         * calc/calc-poly.el (math-accum-factors): Make sure that
6316         constants aren't distributed after they are factored out.
6318 2010-06-16  Juri Linkov  <juri@jurta.org>
6320         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6321         `list-colors-print'.  (Bug#6332)
6323         * subr.el (read-quoted-char): Fix up last change (bug#6290).
6325 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6327         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6328         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
6330         * font-lock.el (font-lock-major-mode): Rename from
6331         font-lock-mode-major-mode to distinguish it from
6332         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6333         (font-lock-set-defaults):
6334         * font-core.el (font-lock-default-function): Adjust users.
6335         (font-lock-mode): Don't set it at all.
6337 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6339         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6341 2010-06-16  Glenn Morris  <rgm@gnu.org>
6343         * calendar/appt.el (appt-time-msg-list): Doc fix.
6344         (appt-check): Let-bind appt-warn-time.
6345         (appt-add): Make the 3rd argument optional.
6346         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
6347         Only add WARNTIME to the output list if non-nil.
6349 2010-06-16  Ivan Kanis  <apple@kanis.eu>
6351         * calendar/appt.el (appt-check): Let the 3rd element of
6352         appt-time-msg-list specify the warning time.
6353         (appt-add): Add new argument with the warning time.  (Bug#5176)
6355 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6357         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6358         older than version 1.6.  (Bug#6361)
6360 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
6362         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6363         used by cl-do-arglist.  (Bug#6408)
6365 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
6367         * textmodes/ispell.el (ispell-dictionary-base-alist):
6368         Fix portuguese casechars/not-casechars for missing 'çÇ'.
6369         Suggested by Rolando Pereira (bug#6434).
6371 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
6373         * facemenu.el (list-colors-sort): Doc fix.
6375 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6377         * progmodes/sql.el (sql-connect-mysql): Fix typo.
6379 2010-06-14  Juri Linkov  <juri@jurta.org>
6381         Add sort option `list-colors-sort'.  (Bug#6332)
6382         * facemenu.el (color-rgb-to-hsv): New function.
6383         (list-colors-sort): New defcustom.
6384         (list-colors-sort-key): New function.
6385         (list-colors-display): Doc fix.  Sort list according to the option
6386         `list-colors-sort'.
6387         (list-colors-print): Add HSV values to `help-echo' property of
6388         RGB strings.
6390 2010-06-14  Juri Linkov  <juri@jurta.org>
6392         * compare-w.el: Move to the "vc" subdirectory.
6394 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6396         * image-mode.el (image-mode-map): Remap left-char and right-char.
6398         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6400 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
6402         * term/common-win.el (x-colors): Add all the color names defined
6403         in rgb.txt (Bug#6332).
6405         * facemenu.el (list-colors-print): Don't print extra names if it
6406         will overflow the window width.
6408         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6409         change (Bug#6343).
6411 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
6413         * files.el (make-directory): Doc fix (bug#6396).
6415 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
6417         * net/tramp.el (tramp-remote-process-environment): Protect version
6418         string by apostroph.
6419         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6420         XEmacs.
6421         (tramp-file-name-for-operation): Add `call-process-region'.
6422         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6424         * net/tramp-compat.el (top): Do not autoload
6425         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6426         only when `start-file-process' is not bound.
6427         (tramp-advice-file-expand-wildcards): Do not use
6428         `tramp-handle-file-remote-p'.
6429         (tramp-compat-make-temp-file): Handle the case, that
6430         `make-temp-file' has no third argument EXTENSION.
6432 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
6434         * makefile.w32-in (WINS_BASIC): Include new directory vc.
6436         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6438 2010-06-11  Juri Linkov  <juri@jurta.org>
6440         * finder.el (finder-known-keywords): Add keyword "vc"
6441         for version control.
6443         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6444         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6445         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6446         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6448 2010-06-11  Juri Linkov  <juri@jurta.org>
6450         Move version control related files to the "vc" subdirectory.
6451         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6452         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6453         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6454         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6455         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6456         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6457         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6458         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6459         Move files to the "vc" subdirectory.
6461 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
6463         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6464         (Bug#6367).
6466 2010-06-11  Stephen Eglen  <stephen@gnu.org>
6468         * shell.el: Bind `shell-resync-dirs' to M-RET.
6470 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
6472         * notifications.el: Move file from lisp/net, because it is
6473         supposed to talk locally to the user.
6475 2010-06-10  Julien Danjou  <julien@danjou.info>
6477         * net/notifications.el (notifications-on-action-signal)
6478         (notifications-on-closed-signal): Pass notification id as first
6479         argument to the callback functions.  Add docstrings.
6480         (notifications-notify): Fix docstring.
6482 2010-06-10  Glenn Morris  <rgm@gnu.org>
6484         * emacs-lisp/authors.el (authors-ignored-files)
6485         (authors-valid-file-names): Add some files.
6487 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6489         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6490         merge conflict, giving preference to the emacs-23 version of the code.
6492 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6494         * emacs-lisp/advice.el (ad-compile-function):
6495         Define warning-suppress-types before we let-bind it (bug#6275).
6497         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6498         declare it, make it buffer-local and permanent-local (bug#6324).
6499         (vc-resynch-window): Adjust name.
6500         * vc-hooks.el (vc-find-file-hook): Adjust name.
6502 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
6504         * net/notifications.el (notifications-notify): Fix docstring.
6506 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6508         Update to Unicode 6.0.0 beta.
6509         * international/charprop.el: Update copyright.
6510         * international/mule-cmds.el (ucs-names): Update character ranges.
6511         * international/uni-bidi.el:
6512         * international/uni-category.el:
6513         * international/uni-combining.el:
6514         * international/uni-comment.el:
6515         * international/uni-decimal.el:
6516         * international/uni-decomposition.el:
6517         * international/uni-digit.el:
6518         * international/uni-lowercase.el:
6519         * international/uni-mirrored.el:
6520         * international/uni-name.el:
6521         * international/uni-numeric.el:
6522         * international/uni-old-name.el:
6523         * international/uni-titlecase.el:
6524         * international/uni-uppercase.el: Regenerate.
6526 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6528         * emacs-lisp/smie.el (comment-string-strip): Declare function.
6529         (smie-precs-precedence-table): Fix typo in docstring.
6531         * vc-mtn.el (log-edit-extract-headers): Declare function.
6533         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6535         * net/notifications.el (dbus-register-signal): Declare function.
6536         (notifications-notify): Fix typos and reflow docstring.
6538 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6540         Improve VC create/retrieve tag/branch.
6541         * vc.el (vc-create-tag): Do not read the directory name for VCs
6542         with repository revision granularity.  Adjust the tag/branch
6543         prompt.  Reset VC properties.
6544         (vc-retrieve-tag): Do not read the directory name for VCs
6545         with repository revision granularity.  Reset VC properties.
6547 2010-06-09  Julien Danjou  <julien@danjou.info>
6549         * net/notifications.el: New file.
6551 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6553         Add optional support for resetting VC properties.
6554         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6555         call vc-file-clearprops when true.
6556         (vc-resynch-buffer): Add new optional argument, pass it down.
6557         (vc-resynch-buffers-in-directory): Likewise.
6559         Improve support for special markup in the VC commit message.
6560         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6561         * vc-hg.el (vc-hg-checkin): Add support for Date:.
6562         * vc-git.el (vc-git-checkin):
6563         * vc-bzr.el (vc-bzr-checkin): Likewise.
6565 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6567         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6568         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6570 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
6572         * iimage.el: Remove images as soon as the underlying text is modified.
6573         (iimage-modification-hook): New function.
6574         (iimage-mode-buffer): Use it.
6576 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6578         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6579         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
6580         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
6581         (smie-indent-keyword): Add handling of open-paren keywords.
6582         (smie-indent-comment-continue): Don't assume comment-continue.
6584 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
6586         * window.el (pop-to-buffer): Remove the conditional that
6587         compares new-window and old-window, so it will reselect
6588         the selected window unconditionally.
6589         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6591 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6593         * emacs-lisp/smie.el (smie-indent-offset-after)
6594         (smie-indent-forward-token, smie-indent-backward-token): New functions.
6595         (smie-indent-after-keyword): Use them.
6596         (smie-indent-fixindent): Only applies to the indentation of the BOL.
6597         (smie-indent-keyword): Tweak the black magic.
6598         (smie-indent-comment-continue): Strip comment-continue before use.
6599         (smie-indent-functions): Indent comments before keywords.
6601 2010-06-06  Juri Linkov  <juri@jurta.org>
6603         * isearch.el (isearch-lazy-highlight-search): Fix looping
6604         by checking for empty match.  This syncs this loop with the
6605         similar loop in `isearch-search'.  (Bug#6362)
6607 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
6609         * net/dbus.el (dbus-register-method): Declare function.
6610         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6611         (dbus-introspect): Doc fix.
6612         (dbus-event-bus-name, dbus-introspect-get-interface)
6613         (dbus-introspect-get-argument): Reflow docstrings.
6615 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
6617         vc-log-incoming/vc-log-outgoing fixes for Git.
6618         * vc-git.el (vc-git-log-view-mode): Fix font lock for
6619         incoming/outgoing logs.
6620         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6621         instead of vc-git-compute-remote.
6622         (vc-git-compute-remote): Remove.
6624 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
6626         * term/common-win.el (x-colors): Add "dark green" and "dark
6627         turquoise" (Bug#6332).
6629 2010-06-04  Juri Linkov  <juri@jurta.org>
6631         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6632         Instead of setting `replace' to t and replacing the same string
6633         with itself, don't do certain actions when
6634         kill-do-not-save-duplicates is non-nil and string is equal to car
6635         of kill-ring: don't call menu-bar-update-yank-menu, don't push
6636         interprogram-paste strings to kill-ring, and don't push the input
6637         argument `string' to kill-ring.
6638         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6640 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6642         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6644 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
6646         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6647         (tramp-gvfs-handler-mounted-unmounted)
6648         (tramp-gvfs-connection-mounted-p): Handle default-location.
6650         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6651         move files to trash.
6653 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6655         * international/mule-cmds.el (nonascii-insert-offset)
6656         (nonascii-translation-table): Add obsolescence information.
6658         * international/mule.el (make-translation-table-from-vector): Doc fix.
6660 2010-06-03  Glenn Morris  <rgm@gnu.org>
6662         * desktop.el (desktop-clear-preserve-buffers):
6663         Add "*Warnings*" buffer.  (Bug#6336)
6665 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
6667         vc-log-incoming/vc-log-outgoing improvements for Git.
6668         * vc-git.el (vc-git-log-outgoing): Use the same format as the
6669         short log.
6670         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
6672         Add bindings for vc-log-incoming and vc-log-outgoing.
6673         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6674         and vc-log-outgoing.
6675         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6676         and vc-log-outgoing.
6678 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6680         * net/rcirc.el (rcirc-sort-nicknames): Remove.
6681         (rcirc-handler-366): Always sort nicknames.
6683 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
6685         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6687 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6689         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6691 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6693         * net/rcirc.el (rcirc-sort-nicknames): Change default.
6694         (rcirc-sort-nicknames-join): Avoid setq.
6696 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6698         * net/rcirc.el (rcirc-sort-nicknames): New custom.
6699         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6700         (rcirc-handler-366): Use them.
6702 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6704         Split smie-indent-calculate into more manageable chunks.
6705         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6706         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6707         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6708         (smie-indent-exps): Extract from smie-indent-calculate.
6709         (smie-indent-functions): New var.
6710         (smie-indent-functions): Use them.
6712 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6714         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6715         (smie-indent-calculate): Simplify and cleanup.
6717 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
6719         * net/tramp-gvfs.el (top): Require url-util.
6720         (tramp-gvfs-mount-point): Remove.
6721         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6722         New defuns.
6723         (with-tramp-dbus-call-method): Format trace message.
6724         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6725         Implement backup call, when operation on local files fails.
6726         Use progress reporter.  Flush properties of changed files.
6727         (tramp-gvfs-handle-make-directory): Make more traces.
6728         (tramp-gvfs-url-file-name): Hexify file name in url.
6729         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6730         into account for the resulting file name.
6731         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6732         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
6733         (tramp-gvfs-handler-mounted-unmounted)
6734         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6735         attribute "default_location".  Set "prefix" property.
6736         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6737         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6738         exists.  Raise an error, if not (due to a corresponding answer
6739         "no" in interactive questions, for example).
6741 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
6743         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6745 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
6747         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6748         right-*.  (Bug#6265)
6750 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
6752         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6753         * vc-git.el (vc-git-compute-remote): New function.
6754         (vc-git-log-outgoing): Use it instead of hard coding a value.
6755         (vc-git-log-incoming): New function.
6757         Improve state updating for VC tag commands.
6758         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6759         to update the state of all buffers in the directory.
6761         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6763 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6765         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6766         `file-directory-p' to the filename part rather than to the whole text.
6768 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6770         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6772 2010-05-31  Drew Adams  <drew.adams@oracle.com>
6774         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6776 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
6778         * subr.el (momentary-string-display): Just use read-event to read
6779         the exit event (Bug#6238).
6781 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
6783         * international/mule.el (define-coding-system): Doc fix (bug#6313).
6785 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6787         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6788         Suggested by Eli Zaretskii <eliz@gnu.org>.
6790 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6792         * minibuffer.el (completion-file-name-table): Don't return a boundary
6793         past the end of `string' (bug#6299).
6794         (completion--file-name-table): Delegate to completion-file-name-table
6795         for the `boundaries' case.
6797 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6799         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6800         movement commands.
6802         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6803         `path-separator', but maintain compatibility with Emacs 20.2.
6805 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6807         * server.el (server-process-filter): Receive parent-id argument
6808         from emacsclient.
6809         (server-create-window-system-frame): New arg.  Pass parent-id as
6810         frame parameter.
6812 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
6814         Bidi-sensitive word movement with arrow keys.
6815         * subr.el (right-arrow-command, left-arrow-command): Move to
6816         bindings.el.
6818         * bindings.el (right-char, left-char): Move from subr.el and
6819         rename from right-arrow-command and left-arrow-command.
6820         (right-word, left-word): New functions.
6821         (global-map) <right>: Bind to right-char.
6822         (global-map) <left>: Bind to left-char.
6823         (global-map) <C-right>: Bind to right-word.
6824         (global-map) <C-left>: Bind to left-word.
6826         * ls-lisp.el (ls-lisp-classify-file): New function.
6827         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6828         (ls-lisp-classify): Call ls-lisp-classify-file.
6829         (insert-directory): Remove blanks from switches.
6831 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6833         * ansi-color.el: Delete unused escape sequences (Bug#6085).
6834         (ansi-color-drop-regexp): New constant.
6835         (ansi-color-apply, ansi-color-filter-region)
6836         (ansi-color-apply-on-region): Delete unrecognized control sequences.
6837         (ansi-color-apply): Build string list before calling concat.
6839 2010-05-28  Juri Linkov  <juri@jurta.org>
6841         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6842         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6843         (Bug#5270)
6845 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6847         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6848         to ignored backtrace functions.
6849         (with-progress-reporter): Expand docstring.
6850         (tramp-handle-delete-file): Implement TRASH argument.
6851         (tramp-get-remote-trash): New defun.
6853 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6855         * net/tramp-compat.el (tramp-compat-delete-file):
6856         Use `symbol-value' for backward compatibility.
6858         * net/tramp.el (tramp-handle-make-symbolic-link)
6859         (tramp-handle-load)
6860         (tramp-do-copy-or-rename-file-via-buffer)
6861         (tramp-do-copy-or-rename-file-directly)
6862         (tramp-do-copy-or-rename-file-out-of-band)
6863         (tramp-handle-process-file, tramp-handle-call-process-region)
6864         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6865         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6866         (tramp-delete-temp-file-function): Use `delete-file' instead
6867         of `tramp-compat-delete-file'.
6869         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6870         (tramp-fish-handle-make-symbolic-link)
6871         (tramp-fish-handle-process-file): Use `delete-file' instead
6872         of `tramp-compat-delete-file'.
6874         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6875         Use `delete-file' instead of `tramp-compat-delete-file'.
6877         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6878         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6879         `tramp-compat-delete-file'.
6881         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
6882         Use `delete-file' instead of `tramp-compat-delete-file'.
6884         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6885         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6886         (tramp-smb-handle-write-region): Use `delete-file' instead of
6887         `tramp-compat-delete-file'.
6888         (tramp-smb-handle-delete-directory): Use 'trash as arg.
6890 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6892         * dired.el (dired-delete-file): New arg TRASH.
6893         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
6894         (dired-do-flagged-delete, dired-do-delete): Use trash.
6896         * speedbar.el (speedbar-item-delete): Allow trashing.
6898         * files.el (delete-directory): New arg TRASH.
6900         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6901         (ange-ftp-rename-remote-to-remote)
6902         (ange-ftp-rename-local-to-remote)
6903         (ange-ftp-rename-remote-to-local, ange-ftp-load)
6904         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6905         `delete-file'.
6906         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6907         allow trashing.
6909         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6910         handle new TRASH arg of `delete-file'.
6912         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6913         (tramp-handle-make-symbolic-link, tramp-handle-load)
6914         (tramp-do-copy-or-rename-file-via-buffer)
6915         (tramp-do-copy-or-rename-file-directly)
6916         (tramp-do-copy-or-rename-file-out-of-band)
6917         (tramp-handle-process-file, tramp-handle-call-process-region)
6918         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6919         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6920         (tramp-delete-temp-file-function): Use null TRASH arg in
6921         tramp-compat-delete-file call.
6923         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6924         (tramp-fish-handle-delete-file)
6925         (tramp-fish-handle-make-symbolic-link)
6926         (tramp-fish-handle-process-file): Use null TRASH arg in
6927         `tramp-compat-delete-file' call.
6929         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6930         arg in `tramp-compat-delete-file' call.
6932         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6933         (tramp-gvfs-handle-write-region): Use null TRASH arg in
6934         `tramp-compat-delete-file' call.
6936         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6937         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6938         `tramp-compat-delete-file' call.
6940         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6941         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6942         (tramp-smb-handle-write-region): Use null TRASH arg in
6943         tramp-compat-delete-file call.
6944         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6945         (tramp-smb-handle-delete-file): Rename arg.
6947         * diff.el (diff-sentinel):
6948         * epg.el (epg--make-temp-file, epg-decrypt-string)
6949         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6950         * jka-compr.el (jka-compr-partial-uncompress)
6951         (jka-compr-call-process, jka-compr-write-region):
6952         * server.el (server-sentinel): Remove optional arg from
6953         delete-file, reverting 2010-05-03 change.
6955 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6957         * progmodes/verilog-mode.el (verilog-type-font-keywords):
6958         Use font-lock-constant-face, not obsolete font-lock-reference-face.
6960 2010-05-27  Kenichi Handa  <handa@m17n.org>
6962         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6963         element of GSTRING is nil.
6965 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6967         * emacs-lisp/smie.el (smie-forward-token-function)
6968         (smie-backward-token-function): New vars.
6969         (smie-backward-sexp, smie-forward-sexp)
6970         (smie-indent-hanging-p, smie-indent-calculate): Use them.
6971         (smie-default-backward-token): Rename from smie-backward-token and
6972         skip comments.
6973         (smie-default-forward-token): Rename from smie-forward-token and
6974         skip comments.
6975         (smie-next-sexp): Handle nil results from next-token.
6976         (smie-indent-calculate): Add a new case for special `fixindent' comments.
6978 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6980         * progmodes/verilog-mode.el (verilog-type-font-keywords):
6981         Use font-lock-constant-face, not obsolete font-lock-reference-face.
6983 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
6985         * htmlfontify.el (hfy-face-resolve-face): New function.
6986         (hfy-face-to-style): Use it (Bug#6279).
6988 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6990         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6991         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6993 2010-05-26  Glenn Morris  <rgm@gnu.org>
6995         * emulation/edt.el (edt-load-keys): Use locate-library.
6997 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
6999         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7000         (log-edit-changelog-entries): Doc fix.
7001         (log-edit-changelog-insert-entries): Args changed.
7002         Rename relative filenames in ChangeLog entries.  Delete tabs.
7003         (log-edit-insert-changelog-entries): Reorganize return value of
7004         `log-edit-changelog-entries' to pass filenames to
7005         log-edit-changelog-insert-entries.
7007 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7009         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7010         `image-dired-dired-insert-marked-thumbs' to
7011         `image-dired-dired-toggle-marked-thumbs'.
7013         * image-dired.el: Require cl when compiling.
7014         (image-dired-dired-toggle-marked-thumbs): Rename from
7015         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
7016         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
7017         to 'no-dir.  Skip files whose names don't match
7018         `image-file-name-regexp'.  When file has a thumbnail overlay,
7019         delete it.  (Bug#5270)
7021 2010-05-25  Juri Linkov  <juri@jurta.org>
7023         * image-mode.el (image-mode): Add image-after-revert-hook to
7024         after-revert-hook.
7025         (image-after-revert-hook): New function.  (Bug#5669)
7027 2010-05-25  Juri Linkov  <juri@jurta.org>
7029         * image.el (image-animated-p): When delay between animated images
7030         is 0, set it to 10 (0.1 sec).  (Bug#6258)
7032 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7034         * net/tramp.el (tramp-handle-insert-directory): Don't use
7035         `forward-word', its default syntax could be changed.
7037 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
7039         * net/tramp.el (tramp-progress-reporter-update): New defun.
7040         (with-progress-reporter): Use it.
7041         (tramp-process-actions):
7042         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7043         Preserve current message, in order to let progress reporter continue
7044         afterwards.  (Bug#6257)
7046 2010-05-25  Glenn Morris  <rgm@gnu.org>
7048         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7049         Add :version.
7051 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7053         * net/rcirc.el (rcirc-default-user-name): Change to "user".
7054         (rcirc-default-full-name): Change to "unknown".
7055         (rcirc-user-name-history): Add variable.
7057 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7058             Jonathan Rockway  <jon@jrock.us>
7060         * net/rcirc.el (rcirc-server-alist): Add :pass.
7061         (rcirc): When prompting for connection parameters, also prompt for
7062         username and password.
7063         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
7064         value to server when connecting.
7066 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7068         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7069         (smie-merge-prec2s): Pass the tables as separate args.
7070         (smie-bnf-precedence-table): Adjust call accordingly.
7071         (smie-prec2-levels): Set levels at the end.
7073         Replace Lisp calls to delete-backward-char by delete-char.
7074         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7075         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7076         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7077         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7078         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7079         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7080         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7081         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7082         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7083         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7084         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7085         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7086         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7087         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7088         delete-backward-char by calls to delete-char.
7090 2010-05-25  Kenichi Handa  <handa@m17n.org>
7092         * language/hebrew.el (hebrew-shape-gstring): New function.
7093         Register it in composition-function-table for all Hebrew combining
7094         characters.
7096 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7098         * epa.el (epa--select-keys): Don't explicitly delete the window since
7099         that can fail (e.g. sole window in frame).  Use dedication instead.
7101 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
7103         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7105 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
7107         * image.el (image-refresh): Define as an alias for image-flush.
7109         * image-mode.el (image-toggle-display-image): Caller changed.
7111 2010-05-21  Juri Linkov  <juri@jurta.org>
7113         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7114         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
7115         whitespace, call wildcard-to-regexp on substrings and concat them
7116         with "\\|".  (Bug#6114)
7118 2010-05-21  Alan Mackenzie  <acm@muc.de>
7120         * progmodes/cc-engine.el (c-parse-state-get-strategy):
7121         Replace parameter `here' with `here-' and `here-plus', which sandwich
7122         any pertinent CPP construct.
7123         (c-remove-stale-state-cache-backwards): Fix a bug which happens
7124         when doing (c-parse-state) in a CPP construct: Exclude any "new"
7125         CPP construct from taking part in the scanning.
7127 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
7129         * net/tramp.el (tramp-do-copy-or-rename-file)
7130         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7131         Tune `with-progress-reporter' messages.
7132         (tramp-handle-vc-registered):
7133         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7134         (tramp-fish-handle-insert-file-contents)
7135         (tramp-fish-maybe-open-connection):
7136         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7137         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7138         (tramp-imap-handle-insert-file-contents)
7139         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7141 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
7143         * add-log.el (change-log-font-lock-keywords):
7144         Highlight all authors in multi-author entries.
7146         * smerge-mode.el (smerge-refine-ignore-whitespace)
7147         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7148         Fix typos in docstrings.
7149         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7151 2010-05-21  Glenn Morris  <rgm@gnu.org>
7153         * progmodes/fortran.el (fortran-mode):
7154         * progmodes/f90.el (f90-mode): Derive from prog-mode.
7156         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7157         having a relative path in src/Makefile.in.
7159 2010-05-20  Kevin Ryde  <user42@zip.com.au>
7161         * help-mode.el (help-make-xrefs): For Info node links turn
7162         newlines into spaces.  Link node names with newlines are matched
7163         by help-xref-info-regexp and buttonized, this change ensures they
7164         can be followed successfully with RET.  (Bug#6206)
7166 2010-05-20  Juri Linkov  <juri@jurta.org>
7168         * locate.el (locate): Use pop-to-buffer instead of
7169         switch-to-buffer-other-window.  (Bug#6204)
7171 2010-05-20  Juri Linkov  <juri@jurta.org>
7173         * replace.el (replace-highlight): Fix lazy-highlighting
7174         for `M-s w str M-% str RET'.
7176 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
7178         * isearch.el (isearch-yank-word-or-char): Pull next subword
7179         when `subword-mode' is activated.  (Bug#6220)
7181 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
7183         * isearch.el (isearch-update-post-hook): New hook.
7184         (isearch-update): Use the new hook.  (Bug#6225)
7186 2010-05-20  Juri Linkov  <juri@jurta.org>
7188         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7189         [f1], [help], and (char-to-string help-char) instead of "\C-h".
7190         (Bug#6222)
7192 2010-05-20  Juri Linkov  <juri@jurta.org>
7194         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7195         (Bug#6223)
7197 2010-05-20  Juri Linkov  <juri@jurta.org>
7199         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7200         FILE-NAME to read from the minibuffer when called interactively
7201         with prefix argument instead of using buffer-file-name.
7202         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7204         * dired.el: Update autoloads.
7206 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
7208         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7209         nxml-finish-element, for consistency with SGML mode.
7211         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7212         octave-close-block.
7214 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
7216         * composite.el: Require cl when compiling.
7217         (reference-point-alist, compose-gstring-for-graphic)
7218         (compose-gstring-for-terminal): Fix typos in docstrings.
7220 2010-05-19  Juri Linkov  <juri@jurta.org>
7222         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7223         set-window-parameter.
7225 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7227         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7228         where appropriate.
7229         (tramp-maybe-open-connection): Use it.
7231 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
7233         * simple.el (move-end-of-line): Make sure we are at line beginning
7234         before backing up to end of previous line.
7236 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7238         * password-cache.el (password-cache-remove): Fix docstring.
7240         * net/secrets.el: Autoload the widget functions.
7241         (secrets-search-items, secrets-create-item)
7242         (secrets-get-attributes, secrets-expand-item): Attributes will be
7243         stored on the password database without leading ":", as all other
7244         clients do as well.
7245         (secrets-mode): Fix docstring.
7246         (secrets-show-secrets): Provide it as autoloaded command only when
7247         D-Bus support is available.  Check existence of Secret Service API.
7249 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7251         * indent.el (indent-region): Deactivate region (bug#6200).
7253 2010-05-19  Glenn Morris  <rgm@gnu.org>
7255         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
7257 2010-05-19  Kenichi Handa  <handa@m17n.org>
7259         * composite.el: Register compose-gstring-for-graphic in
7260         composition-function-table only for combining characters (Mn, Mc, Me).
7262 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
7264         * calc/calc-trail.el (calc-trail-isearch-forward)
7265         (calc-trail-isearch-backward): Ensure that the new window
7266         point is set correctly.
7268 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7270         * subr.el (read-quoted-char): Resolve modifiers after key
7271         remapping (bug#6212).
7273 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
7275         Add visualization code for secrets.
7276         * net/secrets.el (secrets-mode): New major mode.
7277         (secrets-show-secrets, secrets-show-collections)
7278         (secrets-expand-collection, secrets-expand-item)
7279         (secrets-tree-widget-after-toggle-function)
7280         (secrets-tree-widget-show-password): New defuns.
7282 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7284         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7285         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7286         handled in smie-next-sexp.
7287         (smie-indent-calculate): Provide a starting indentation (so the
7288         recursion is well-founded ;-).
7290         Fix handling of non-associative equal levels.
7291         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7292         when it's not needed.
7293         (smie-op-left, smie-op-right): New functions.
7294         (smie-next-sexp): New function, extracted from smie-backward-sexp.
7295         Better handle equal levels to distinguish the associative case from
7296         the "multi-keyword construct" case.
7297         (smie-backward-sexp, smie-forward-sexp): Use it.
7299 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
7301         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7303         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7304         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7306 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7308         Provide a simple generic indentation engine and use it for Prolog.
7309         * emacs-lisp/smie.el: New file.
7310         * progmodes/prolog.el (prolog-smie-op-levels)
7311         (prolog-smie-indent-rules): New var.
7312         (prolog-mode-variables): Use them to configure SMIE.
7313         (prolog-indent-line, prolog-indent-level): Remove.
7315 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
7317         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7318         order before computing the averages.
7320 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
7322         * calc/calc-vec.el (calc-histogram):
7323         (calcFunc-histogram): Allow vectors as inputs.
7324         (math-vector-avg): New function.
7326         * calc/calc-ext.el (math-group-float): Have the number of digits
7327         being grouped depend on the radix (Bug#6189).
7329 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
7331         * version.el (emacs-copyright, emacs-version): Don't define here,
7332         now that emacs.c defines it.
7334 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
7336         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7337         "Describe Language Environment" menu item.
7339         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7341         Bidi-sensitive movement with arrow keys.
7342         * subr.el (right-arrow-command, left-arrow-command): New functions.
7344         * bindings.el (global-map): Bind them to right and left arrow keys.
7346         Don't override standard definition of convert-standard-filename.
7347         * files.el (convert-standard-filename):
7348         Call w32-convert-standard-filename and dos-convert-standard-filename on
7349         the corresponding systems.
7351         * w32-fns.el (w32-convert-standard-filename): Rename from
7352         convert-standard-filename.  Doc fix.
7354         * dos-fns.el (dos-convert-standard-filename): Doc fix.
7355         (convert-standard-filename): Don't defalias.
7356         (register-name-alist, make-register, register-value)
7357         (set-register-value, intdos): Obsolete aliases for the
7358         corresponding dos-* functions and variables.
7359         (dos-intdos): Add a doc string.
7361 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
7363         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7364         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7365         (math-compose-tex-func):
7366         * calc/calccomp.el (math-compose-expr):
7367         * calc/calc-ext.el (math-format-flat-expr-fancy):
7368         * calc/calc-store.el (calc-read-var-name):
7369         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7371         * calc/calc.el (var-π, var-φ, var-γ): New variables.
7372         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7373         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7374         (math-standard-units): Add units.
7376 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7378         * progmodes/asm-mode.el (asm-mode):
7379         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7381         * pcomplete.el (pcomplete-completions-at-point): New function,
7382         extracted from pcomplete-std-complete.
7383         (pcomplete-std-complete): Use it.
7385 2010-05-15  Glenn Morris  <rgm@gnu.org>
7387         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7388         Remove references to CVS, RCS and Old directories.
7390 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
7392         * calc/calc-bin.el (math-format-twos-complement): Group digits when
7393         appropriate.
7395 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7397         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7398         (sh-mode-syntax-table): Give it a default value instead.
7399         (sh-header-marker): Make buffer-local.
7400         (sh-mode): Move make-local-variable to the corresponding setq.
7401         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7402         Use complete-with-action.
7404         * simple.el (prog-mode): New (abstract) major mode.
7405         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7406         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7408 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
7410         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7411         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7412         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7413         (sql-make-alternate-buffer-name, sql-placeholders-filter)
7414         (sql-escape-newlines-filter, sql-input-sender)
7415         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7417 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
7419         Add TeX open-block and close-block keybindings to SGML, and vice versa.
7421         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7422         latex-open-block and C-c / to latex-close-block.
7424         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7425         and C-c C-e to sgml-close-tag.
7427 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
7429         * net/tramp.el (with-progress-reporter): Create reporter object
7430         only when the message would be displayed.  Handle nested calls.
7431         (tramp-handle-load, tramp-handle-file-local-copy)
7432         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7433         (tramp-maybe-send-script, tramp-find-shell):
7434         Use `with-progress-reporter'.
7435         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7436         Fix message text.
7438         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7439         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7440         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7441         Use `with-progress-reporter'.
7443 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
7445         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7446         process everytime when spellchecking from the minibuffer (bug#6143).
7448 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7450         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7452         * dos-fns.el: Add "dos-" prefix for namespace control.
7453         (convert-standard-filename): Define as alias for
7454         dos-convert-standard-filename but only if applicable.
7456 2010-05-12  Alan Mackenzie  <acm@muc.de>
7458         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7459         Push the mark at the start of these functions when appropriate.
7461 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7463         * minibuffer.el (completion-cycle-threshold): New custom var.
7464         (completion--do-completion): Use it.
7465         (minibuffer-complete): Use cycling if appropriate.
7467 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
7469         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7470         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7472 2010-05-11  Juri Linkov  <juri@jurta.org>
7474         * scroll-all.el (scroll-all-check-to-scroll):
7475         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7477 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7479         * iimage.el (iimage-mode-map): Move initialization into declaration.
7480         (iimage-mode-buffer): Use with-silent-modifications.
7481         Simplify calling convention.  Adjust callers.
7482         (iimage-mode): Don't run hook redundantly.
7484         * minibuffer.el (completion-pcm--pattern->regex):
7485         Fix last change (bug#6160).
7487 2010-05-10  Juri Linkov  <juri@jurta.org>
7489         Remove nodes visited during Isearch from the Info history.
7490         * info.el (Info-isearch-initial-history)
7491         (Info-isearch-initial-history-list): New variables.
7492         (Info-isearch-start): Record initial values of
7493         Info-isearch-initial-history and Info-isearch-initial-history-list.
7494         Add Info-isearch-end to isearch-mode-end-hook.
7495         (Info-isearch-end): New function.
7497 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
7499         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7500         format string, in order to work around a bug in pdksh.
7501         Reported by Gilles Pion <gpion@lfdj.com>.
7502         (tramp-handle-verify-visited-file-modtime): Do not send a command
7503         when the connection is not established.
7504         (tramp-handle-set-file-times): Simplify the check for utc.
7506 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
7508         Fix use of `filter-buffer-substring' (rework previous change).
7509         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7510         (cua-repeat-replace-region):
7511         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7512         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7513         (cua-cut-region-to-global-mark): Use it.
7515 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
7517         * progmodes/sql.el: Version 2.1.
7518         (sql-product-alist): Redesign structure of product info.
7519         (sql-product, sql-user, sql-server, sql-database): Safe variables.
7520         (sql-port, sql-port-history): New variables.
7521         (sql-interactive-product): New variable.
7522         (sql-send-terminator): New variable.
7523         (sql-imenu-generic-expression): Add "Types" imenu entry.
7524         (sql-oracle-login-params, sql-sqlite-login-params)
7525         (sql-mysql-login-params, sql-solid-login-params)
7526         (sql-sybase-login-params, sql-informix-login-params)
7527         (sql-ingres-login-params, sql-ms-login-params)
7528         (sql-postgres-login-params, sql-interbase-login-params)
7529         (sql-db2-login-params, sql-linter-login-params)
7530         (sql-oracle-scan-on): New variables.
7531         (sql-mode-map): Add C-c C-i to start interactive mode.
7532         (sql-mode-menu): Update existing menu entries.
7533         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7534         (sql-mode-oracle-font-lock-keywords)
7535         (sql-mode-postgres-font-lock-keywords)
7536         (sql-mode-ms-font-lock-keywords)
7537         (sql-mode-sybase-font-lock-keywords)
7538         (sql-mode-informix-font-lock-keywords)
7539         (sql-mode-interbase-font-lock-keywords)
7540         (sql-mode-ingres-font-lock-keywords)
7541         (sql-mode-solid-font-lock-keywords)
7542         (sql-mode-mysql-font-lock-keywords)
7543         (sql-mode-sqlite-font-lock-keywords)
7544         (sql-mode-db2-font-lock-keywords)
7545         (sql-mode-linter-font-lock-keywords): Update initialization to
7546         reduce run-time complexity.
7547         (sql-add-product, sql-del-product): New functions.
7548         (sql-set-product-feature, sql-get-product-feature): New functions.
7549         (sql-product-font-lock): Update product API.
7550         (sql-add-product-keywords): New function.
7551         (sql-highlight-product): Update product API.
7552         (sql-help-list-products): New function.
7553         (sql-help): Dynamically lists free and non-free products.
7554         (sql-get-login): Correct bug in handling history and added
7555         prompt for port.
7556         (sql-copy-column): Copy without properties.
7557         (sqli-input-sender): Apply filters to SQLi input.
7558         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7559         Implement as a filter.
7560         (sql-escape-newlines-filter): Implement as a filter.
7561         (sql-remove-tabs-filter): New function.
7562         (sql-send-magic-terminator): New function.
7563         (sql-send-string): Implement magic terminator.
7564         (sql-send-region): Use `sql-send-string'.
7565         (sql-interactive-mode): Use product API.
7566         (sql-product-interactive): Use product API.
7567         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7568         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7569         (sql-db2, sql-linter): Use `sql-product-interactive'.
7570         (sql-connect): New function.
7571         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7572         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7573         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7574         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7575         Use `sql-connect'.
7577 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7579         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7580         New custom variable.
7581         (completion-pcm--string->pattern): Use it.
7582         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7583         Make it handle any symbol as `any'.
7584         (completion-pcm--merge-completions): Extract common suffix for the new
7585         `prefix' symbol as well.
7586         (completion-substring--all-completions): Use the new `prefix' symbol.
7588 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
7590         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7591         not bound.
7592         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7593         (tramp-compat-funcall): New defmacro.
7594         (tramp-compat-line-beginning-position)
7595         (tramp-compat-line-end-position)
7596         (tramp-compat-temporary-file-directory)
7597         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7598         (tramp-compat-copy-file, tramp-compat-copy-directory)
7599         (tramp-compat-delete-file, tramp-compat-delete-directory)
7600         (tramp-compat-number-sequence, tramp-compat-process-running-p)
7601         * net/tramp.el (top, with-progress-reporter)
7602         (tramp-rfn-eshadow-setup-minibuffer)
7603         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7604         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7605         (tramp-completion-mode-p, tramp-check-for-regexp)
7606         (tramp-open-connection-setup-interactive-shell)
7607         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7608         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7609         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7610         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7611         (tramp-reporter-dump-variable, tramp-load-report-modules)
7612         (tramp-append-tramp-buffers)
7613         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7615         * net/tramp-imap.el (top): Autoload `epg-make-context'.
7617 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7619         * progmodes/compile.el (compilation-buffer-modtime): Rename from
7620         buffer-modtime.  Adjust users.
7622 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7624         * international/mule.el (auto-coding-alist): Only purecopy
7625         car of each item, not the whole list (Bug#6083).
7627 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7629         * progmodes/js.el (js-mode): Make paragraph variables local before
7630         calling c-setup-paragraph-variables (Bug#6071).
7632 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
7634         * composite.el (compose-region, reference-point-alist): Fix typos
7635         in the doc strings.
7637 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7639         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7640         gnuplot's "set" command.
7642 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7644         * abbrev.el (last-abbrev-text): Doc fix.
7645         (abbrev-prefix-mark): Don't escape parenthesis.
7647 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
7649         * composite.el (find-composition): Doc fix.
7651 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7653         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7654         (sql-oracle-program, sql-sqlite-options)
7655         (sql-query-placeholders-and-send): Doc fixes.
7656         (sql-set-product, sql-interactive-mode): Reflow docstrings.
7657         (sql-imenu-generic-expression, sql-buffer)
7658         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7659         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7660         (sql-mode-sybase-font-lock-keywords)
7661         (sql-mode-informix-font-lock-keywords)
7662         (sql-mode-interbase-font-lock-keywords)
7663         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7664         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7665         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7666         (sql-product-feature, sql-highlight-product)
7667         (comint-line-beginning-position, sql-rename-buffer)
7668         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7669         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7670         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7671         Fix typos in docstrings.
7673 2010-05-08  Juri Linkov  <juri@jurta.org>
7675         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7676         property instead of `invisible' and `after-string' (bug#5998).
7678 2010-05-08  Juri Linkov  <juri@jurta.org>
7680         * image-mode.el (image-mode-as-text): Fix typo in docstring.
7682 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7684         * filecache.el (file-cache-add-directory-list)
7685         (file-cache-add-directory-recursively): Fix typos in docstrings.
7687 2010-05-08  Kenichi Handa  <handa@m17n.org>
7689         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7690         (gujarati-composable-pattern): Fix typo.
7692 2010-05-08  Kenichi Handa  <handa@m17n.org>
7694         * language/indian.el (oriya-composable-pattern)
7695         (tamil-composable-pattern, malayalam-composable-pattern):
7696         Add two-part vowels to "v" (vowel sign).
7698 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7700         * files.el (copy-directory): Handle symlinks (Bug#5982).
7702 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
7704         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7705         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
7706         (Bug#5846).
7708 2010-05-08  Glenn Morris  <rgm@gnu.org>
7710         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7712         * minibuffer.el (completion-at-point): Doc fix.
7714 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7716         * electric.el (Electric-command-loop): Minor tweak.
7718         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7719         better with dedicated windows.
7721 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
7723         * Version 23.2 released.
7725 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
7726             Stefan Monnier  <monnier@iro.umontreal.ca>
7728         Highlight vendor specific properties.
7729         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7730         (css-proprietary-property): New face.
7731         (css-font-lock-keywords): Use them.
7733 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
7735         * cus-start.el (all): Add native condition for tool-bar-* symbols.
7737 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7739         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7740         * files.el (auto-mode-alist): Remove redundant entries.
7742         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7743         * simple.el (auto-save-mode): Move from files.el.
7744         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7746 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
7748         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7750 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
7752         * mail/binhex.el (binhex-decode-region-internal)
7753         * mail/uudecode.el (uudecode-decode-region-internal)
7754         * net/dns.el (dns-read-string-name, dns-write, dns-read)
7755         (dns-read-type, dns-query)
7756         * pgg-parse.el (pgg-parse-armor)
7757         * pgg.el (pgg-verify-region)
7758         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7759         XEmacs.
7761         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7763 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
7765         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7767         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7768         * emulation/cua-base.el (cua-repeat-replace-region):
7769         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7770         (cua-cut-region-to-global-mark):
7771         Remove text properties with `set-text-properties'.
7773 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
7775         * net/tramp.el (top, with-progress-reporter):
7776         Use `symbol-function' inside `funcall'.
7778         * net/tramp-compat.el (tramp-compat-file-attributes)
7779         (tramp-compat-delete-file, tramp-compat-delete-directory):
7780         Handle only `wrong-number-of-arguments' error.
7782         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7783         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7784         inside `funcall'.
7786 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7788         * minibuffer.el (completion--sreverse, completion--common-suffix):
7789         New functions.
7790         (completion-pcm--merge-completions): Extract common suffix when safe.
7792         * emacs-lisp/easy-mmode.el (define-minor-mode):
7793         Make :variable more flexible.
7794         * files.el (auto-save-mode): Use it to define using define-minor-mode.
7796 2010-05-05  Juri Linkov  <juri@jurta.org>
7798         Add `slow' and `history' tags to the desktop data.
7800         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7801         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7802         (Info-finder-find-node): Require `finder.el' to be able
7803         to restore node from the desktop.
7804         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
7805         data `Info-history' and `slow' tag in the assoc list.
7806         (Info-restore-desktop-buffer): Don't restore nodes with the
7807         `slow' tag.  Restore `Info-history'.
7809 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
7811         Add FORCE argument to `delete-file'.
7813         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7814         forcing to delete the temporary file.
7815         (ange-ftp-delete-file): Add FORCE arg.
7816         (ange-ftp-rename-remote-to-remote)
7817         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7818         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7819         Force file deletion.
7821         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7823         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7824         (tramp-handle-make-symbolic-link, tramp-handle-load)
7825         (tramp-do-copy-or-rename-file-via-buffer)
7826         (tramp-do-copy-or-rename-file-directly)
7827         (tramp-do-copy-or-rename-file-out-of-band)
7828         (tramp-handle-process-file, tramp-handle-call-process-region)
7829         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7830         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7831         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7833         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7834         (tramp-fish-handle-make-symbolic-link)
7835         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7837         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7838         Use `tramp-compat-delete-file'.
7840         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7841         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7843         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7844         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7846         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7847         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7848         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7849         Use `tramp-compat-delete-file'.
7851 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7853         Minor cleanups.
7854         * subr.el (add-minor-mode): Use push.
7855         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7856         * emulation/edt.el (edt-select-mode): Simplify.
7858         Use define-minor-mode in more cases.
7859         * term/tvi970.el (tvi970-set-keypad-mode):
7860         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7861         (normal-erase-is-backspace-mode):
7862         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7863         (set-scroll-bar-mode-1): (Re)move to its sole caller.
7864         (get-scroll-bar-mode): New function.
7865         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7867         Use define-minor-mode for less obvious cases.
7868         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7869         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7870         * international/iso-ascii.el (iso-ascii-mode):
7871         * frame.el (auto-raise-mode, auto-lower-mode):
7872         * composite.el (global-auto-composition-mode): Use define-minor-mode.
7874 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
7876         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7877         in order to see error messages for failed logins.
7879 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
7881         * diff.el (diff-sentinel):
7883         * epg.el (epg--make-temp-file, epg-decrypt-string)
7884         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7886         * jka-compr.el (jka-compr-partial-uncompress)
7887         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7889         * server.el (server-sentinel): Use delete-file's new FORCE arg
7890         (Bug#6070).
7892 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7894         Use define-minor-mode where applicable.
7895         * view.el (view-mode):
7896         * type-break.el (type-break-query-mode)
7897         (type-break-mode-line-message-mode):
7898         * textmodes/reftex.el (reftex-mode):
7899         * term/vt100.el (vt100-wide-mode):
7900         * tar-mode.el (tar-subfile-mode):
7901         * savehist.el (savehist-mode):
7902         * ibuf-ext.el (ibuffer-auto-mode):
7903         * composite.el (auto-composition-mode):
7904         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7905         Use define-minor-mode.
7906         (vhdl-mode): Use static mode-line format.
7907         (vhdl-mode-line-update): Delete.
7908         (vhdl-create-mode-menu, vhdl-activate-customizations)
7909         (vhdl-hs-minor-mode): Don't bother calling it.
7911 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7913         * simple.el (with-wrapper-hook): Move.
7914         (buffer-substring-filters): Mark obsolete.
7915         (filter-buffer-substring-functions): New variable.
7916         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
7918 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
7919             Michael Albinus  <michael.albinus@gmx.de>
7921         Implement compression for inline methods.
7923         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7924         (tramp-copy-size-limit): Allow also nil.
7925         (tramp-inline-compress-commands): New defconst.
7926         (tramp-find-inline-compress, tramp-get-inline-compress)
7927         (tramp-get-inline-coding): New defuns.
7928         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7929         replaced by `tramp-get-inline-coding'.
7930         (tramp-handle-file-local-copy, tramp-handle-write-region)
7931         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7933 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7935         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7936         Remove unused functions.
7938         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7939         Set find-tag-default-function as a variable rather than a property.
7941         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7942         * progmodes/etags.el (tags-completion-at-point-function):
7943         Remove left over interactive spec.  Add autoloading stub.
7944         (complete-tag): Use tags-completion-at-point-function.
7946 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
7948         * minibuffer.el (tags-completion-at-point-function): Fix return value.
7950 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7952         * ido.el (ido-init-completion-maps): Remove C-v binding.
7953         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7955 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7957         * minibuffer.el (tags-completion-at-point-function): New function.
7958         (completion-at-point-functions): Use it.
7960         * progmodes/etags.el (complete-tag): Revert last change.
7962 2010-04-29  Alan Mackenzie  <acm@muc.de>
7964         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7965         off-by-one error (in end of macro position).
7967 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7969         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7970         firefox is absent.  Don't autoload.
7971         (browse-url-galeon-program): Don't autoload.
7973 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7975         * bindings.el (complete-symbol): Move into minibuffer.el.
7977         * minibuffer.el (complete-tag): Move from etags.el.  If tags
7978         completion cannot be performed, return nil instead of signalling
7979         an error.
7980         (completion-at-point): Make it an alias for complete-symbol.
7981         (complete-symbol): Move from bindings.el, and replace with the
7982         body of completion-at-point.
7984         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7986 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
7988         * net/tramp.el (tramp-remote-selinux-p): New defun.
7989         (tramp-handle-file-selinux-context)
7990         (tramp-handle-set-file-selinux-context): Use it.
7992 2010-04-28  Sam Steingold  <sds@gnu.org>
7994         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7995         `safe-local-variable' if the value is a string or a symbol with
7996         the property `bug-reference-url-format'.
7998 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8000         * progmodes/bug-reference.el (bug-reference-url-format):
8001         Revert 2010-04-27 change due to security risk.
8003 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8005         Make it possible to locally disable a globally enabled mode.
8006         * simple.el (fundamental-mode): Run fundamental-mode-hook.
8007         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8008         rather than kill-all-local-variables so it runs fundamental-mode-hook.
8009         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8010         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8011         that subsequent hooks get a chance to disable it.
8013 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8015         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8016         Avoid re-enabling a minor mode after the user turned the minor mode
8017         off if MODE-enable-in-buffers is run twice (typically once from
8018         fundamental-mode's after-change-major-mode-hook and a second time from
8019         run-mode-hook's own after-change-major-mode-hook).
8021         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8023 2010-04-27  Sam Steingold  <sds@gnu.org>
8025         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8026         `safe-local-variable' if the value is a string or a function, as
8027         documented and implemented on 2010-04-02.
8029 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
8031         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8032         when method is 'kill.
8034 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
8036         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8037         condition in default directory check.
8038         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8039         Kill ispell process when killing its associated buffer.
8041 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
8043         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8044         but we aren't using it.
8046 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
8048         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8049         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8051 2010-04-24  Glenn Morris  <rgm@gnu.org>
8053         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8054         Ignore VCS-ignore files, and deleted nextstep preferences files.
8055         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8056         (authors-ambiguous-files): New list.
8057         (authors-valid-file-names): Add some deleted files.
8058         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8059         (authors-disambiguate-file-name): New function.  (Bug#5501)
8060         (authors-canonical-file-name): Doc fix.
8061         Don't warn about obsolete files.
8062         (authors-canonical-file-name, authors-scan-el):
8063         Use authors-disambiguate-file-name.
8065         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8066         Add autoload cookies.
8067         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8068         (generated-autoload-file): Set file-local value to "htmlfontify.el".
8069         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8070         They have definitions / compiler macros in cl.el.
8071         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8072         Replace manual autoloads with generated ones.
8073         (htmlfontify-unload-rgb-file): Remove autoload.
8074         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8076 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8078         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8079         (byte-compile-setq-default): Optimize for the
8080         single-var case and don't call byte-compile-form in this case to avoid
8081         inf-loop with byte-compile-set-default.
8083         * progmodes/compile.el (compilation-start): Abbreviate default directory.
8085 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
8087         Implement SELINUX backends.
8089         * net/tramp.el (tramp-file-name-handler-alist):
8090         Add `file-selinux-context' and `set-file-selinux-context'.
8091         (tramp-handle-file-selinux-context)
8092         (tramp-handle-set-file-selinux-context): New defuns.
8093         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8094         Handle PRESERVE-SELINUX-CONTEXT.
8096         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8097         Add `file-selinux-context' and `set-file-selinux-context'.
8098         (tramp-gvfs-handle-file-selinux-context)
8099         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8100         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8102         * net/ange-ftp.el (ange-ftp-copy-file):
8103         * net/tramp-fish.el (tramp-fish-handle-copy-file):
8104         * net/tramp-imap.el (tramp-imap-handle-copy-file):
8105         * net/tramp-smb.el (tramp-smb-handle-copy-file):
8106         Add PRESERVE-SELINUX-CONTEXT.
8108 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8110         Synchronize with Tramp repository.
8112         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8113         (tramp-action-process-alive, tramp-action-out-of-band)
8114         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8115         (tramp-exists-file-name-handler): Fix docstring.
8116         (with-progress-reporter): New defmacro.
8117         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8118         (tramp-maybe-open-connection): Use it.
8120 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
8122         Detect ssh 'ControlMaster' argument automatically in some cases.
8124         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8125         (tramp-default-method): Use it.
8127 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8129         * net/tramp.el (tramp-handle-copy-file): Add new optional
8130         parameter `preserve-selinux-context'.
8131         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8133 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8135         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8136         Ensure, that non remote files are still checked.  Oops.
8138 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
8140         Fix Bug#5840.
8142         * icomplete.el (icomplete-completions): Use `non-essential'.
8144         * net/tramp.el (tramp-connectable-p): New defun.
8145         (tramp-handle-expand-file-name)
8146         (tramp-completion-handle-file-name-all-completions)
8147         (tramp-completion-handle-file-name-completion): Use it.
8149 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8151         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8153 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
8155         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8157         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8159         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8160         is present.
8162         * info.el (info-tool-bar-map): Add labels.
8164         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8166         * cus-edit.el (custom-commands): Add labels for tool bar.
8167         (custom-buffer-create-internal, Custom-mode): Adjust for
8168         labels in custom-commands.
8170         * dynamic-setting.el: Renamed from font-setting.el.
8172 2010-04-21  John Wiegley  <jwiegley@gmail.com>
8174         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8175         toggles the use of virtual buffers.
8176         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8177         (ido-toggle-virtual-buffers): New function.
8179 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
8181         Use `define-derived-mode'; fix window selection; doc fixes.
8182         * play/tetris.el (tetris, tetris-update-speed-function)
8183         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8184         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8185         (tetris-rotate-next, tetris-end-game, tetris-start-game)
8186         (tetris-pause-game): Fix typos in docstrings.
8187         (tetris-mode-map, tetris-null-map):
8188         Move initialization into declaration.
8189         (tetris-mode): Define with `define-derived-mode';
8190         set show-trailing-whitespace to nil.
8191         (tetris): Prefer window already displaying the "*Tetris*" buffer.
8193 2010-04-21  Karel Klíč  <kklic@redhat.com>
8195         * files.el (backup-buffer): Handle SELinux context, and return it
8196         if a backup was made by renaming.
8197         (backup-buffer-copy): Set SELinux context to the target file.
8198         (basic-save-buffer): Set SELinux context of the newly written file.
8199         (basic-save-buffer-1): Now it also returns any SELinux context.
8200         (basic-save-buffer-2): Set SELinux context of the newly created file,
8201         and return it.
8202         * net/tramp.el (tramp-file-name-for-operation):
8203         Add file-selinux-context.
8205 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8207         Make the log-edit comments use RFC822 format throughout.
8209         * vc.el (vc-checkin, vc-modify-change-comment):
8210         Adjust to new vc-start/finish-logentry.
8211         (vc-find-conflicted-file): New command.
8212         (vc-transfer-file): Adjust to new vc-checkin.
8213         (vc-next-action): Improve scoping.
8215         * vc-hg.el (vc-hg-log-edit-mode): Remove.
8216         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
8218         * vc-git.el (vc-git-log-edit-mode): Remove.
8219         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
8220         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8222         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8223         (vc-start-logentry): Remove argument `extra'.
8224         (vc-finish-logentry): Remove extra args.
8226         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8227         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
8228         (vc-bzr-conflicted-files): New function.
8230         * log-edit.el (log-edit-extra-flags)
8231         (log-edit-before-checkin-process): Remove.
8232         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8233         (log-edit-headers-alist): New var.
8234         (log-edit-header-contents-regexp): New const.
8235         (log-edit-match-to-eoh): New function.
8236         (log-edit-font-lock-keywords): Use them.
8237         (log-edit): Insert a "Summary:" header as default.
8238         (log-edit-mode): Mark font-lock rules as case-insensitive.
8239         (log-edit-done): Cleanup headers.
8240         (log-view-process-buffer): Remove.
8241         (log-edit-extract-headers): New function to replace it.
8243 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
8245         * subr.el (default-direction-reversed): Remove obsolescence info.
8247 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8249         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8250         windows/frames.
8252         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8253         I.e. include text after point in the completion region.
8254         Also, return nil when we're not after/in a symbol.
8256         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8257         default enable-multibyte-characters.
8259 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8261         * international/mule.el: Help the user choose a valid coding-system.
8262         (read-buffer-file-coding-system): New function.
8263         (set-buffer-file-coding-system): Use it.  Prompt the user if the
8264         coding-system cannot encode all the chars.
8266         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8267         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8268         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8269         Don't use *vc-bzr-shelve*.
8271 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
8273         Fix the version number for added files.
8274         * vc-hg.el (vc-hg-working-revision): Check if the file is
8275         registered after hg parent fails (Bug#5961).
8277 2010-04-19  Glenn Morris  <rgm@gnu.org>
8279         * htmlfontify.el (htmlfontify-buffer)
8280         (htmlfontify-copy-and-link-dir): Autoload entry points.
8282 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
8284         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8285         name relative to the project root (Bug#5960).
8287 2010-04-19  Glenn Morris  <rgm@gnu.org>
8289         * vc-git.el (vc-git-print-log): Doc fix.
8291 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
8293         * ido.el (ido-file-internal): Fix 2009-12-02 change.
8295 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
8297         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8298         default settings (Bug#5928).
8300 2010-04-19  Glenn Morris  <rgm@gnu.org>
8302         * progmodes/fortran.el (fortran-match-and-skip-declaration):
8303         New function.
8304         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
8306 2010-04-19  Kenichi Handa  <handa@m17n.org>
8308         * language/indian.el (malayalam-composable-pattern): Fix previous
8309         change (add U+0D4D "SIGN VIRAMA").
8310         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8311         (tamil-composable-pattern): Fix typo in the regexp.
8312         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8313         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8314         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8316 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8318         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8319         paragraph-separate (Bug#5821).
8321 2010-04-19  Juri Linkov  <juri@jurta.org>
8323         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8325         * info.el (Info-find-node-2): Comment out code that skips
8326         breadcrumbs line.
8327         (Info-mouse-follow-link): New command.
8328         (Info-link-keymap): New keymap.
8329         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8330         Return a string with links instead of inserting breadcrumbs
8331         to the Info buffer.
8332         (Info-fontify-node): Comment out code that inserts breadcrumbs.
8333         Instead of putting the `invisible' text property over the Info
8334         header, make an overlay over the Info header with the `invisible'
8335         property and `after-string' set to the string returned by
8336         `Info-breadcrumbs'.
8338 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8340         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8341         Reported by monkey@sandpframing.com.
8343 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8345         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8346         (tmm-get-keymap): Add key-binding shortcuts now that they're not
8347         available in the "keyseq cache" any more.
8349         * custom.el (defcustom): Add edebug spec.
8351 2010-04-18  Juri Linkov  <juri@jurta.org>
8353         Test for special mode-class in view-buffer instead of view-file (bug#5513).
8355         * view.el (view-file, view-buffer): Move test for special mode-class
8356         from view-file to view-buffer.
8358         * tar-mode.el (tar-extract): Turn if's into one cond
8359         like in arc-mode.el.
8361 2010-04-18  Juri Linkov  <juri@jurta.org>
8363         Add 7z archive format support (bug#5475).
8365         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8366         (archive-7z-extract): New defcustom.
8367         (archive-find-type): Add magic string for 7z.
8368         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8369         If `stderr-file' is non-nil, use `(t stderr-file)' for the
8370         `buffer' arg of `call-process'.
8371         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8372         call the function `archive-7z-extract' with the variable
8373         `archive-7z-extract' let-bound to `archive-zip-extract'.
8374         (archive-7z-summarize, archive-7z-extract): New functions.
8376         * international/mule.el (auto-coding-alist):
8377         * files.el (auto-mode-alist): Add 7z file extension.
8379 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8381         * loadup.el: Setup hash-cons for pure data.
8383         Fix duplicate entries in cedet's loaddefs.el files.
8384         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8385         Should make most file-local generated-autoload-file unnecessary.
8386         (print-readably): Silence warnings.
8387         (autoload-find-destination): Take load-name as an arg to make sure
8388         it's the same as the one that will be in the file.
8389         (autoload-generate-file-autoloads): Adjust to above changes.
8390         Try to make the dataflow a bit simpler.
8392         * cvs-status.el (cvs-refontify): Remove unused.
8394 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
8396         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8398         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8399         twos-complement mode.
8401 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
8403         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8404         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
8405         (calc-inverse): Add "Option" to message, as appropriate.
8406         (calc-hyperbolic): Add "Option" to message, as appropriate.
8407         (calc-option, calc-is-option): New functions.
8409         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8410         (calc-option-prefix-help): New function.
8412         * calc/calc-misc.el (calc-help): Add "Option" entry.
8414         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8415         (calc-option-flag): New variable.
8416         (calc-do): Set `calc-option-flag to nil.
8417         (calc-set-mode-line): Add "Opt " as appropriate.
8419 2010-04-16  Juri Linkov  <juri@jurta.org>
8421         Move scrolling commands from simple.el to window.el
8422         because their primitives are implemented in window.c.
8424         * simple.el (scroll-error-top-bottom)
8425         (scroll-up-command, scroll-down-command, scroll-up-line)
8426         (scroll-down-line, scroll-other-window-down)
8427         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8428         * window.el (scroll-error-top-bottom)
8429         (scroll-up-command, scroll-down-command, scroll-up-line)
8430         (scroll-down-line, scroll-other-window-down)
8431         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8432         Move from simple.el to window.el because their primitives are
8433         implemented in window.c.
8435 2010-04-16  Juri Linkov  <juri@jurta.org>
8437         * isearch.el (isearch-lookup-scroll-key): Check both
8438         `isearch-scroll' and `scroll-command' properties.
8439         (scroll-up, scroll-down): Remove `isearch-scroll' property.
8441         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8443         * simple.el (scroll-up-command, scroll-down-command)
8444         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8446 2010-04-15  Juri Linkov  <juri@jurta.org>
8448         * simple.el (scroll-up-command, scroll-down-command)
8449         (scroll-up-line, scroll-down-line): Put `scroll-command'
8450         property on the these symbols.  Remove them from
8451         `scroll-preserve-screen-position-commands'.
8453         * mwheel.el (mwheel-scroll): Put `scroll-command' and
8454         `isearch-scroll' properties on the `mwheel-scroll' symbol.
8455         Remove it from `scroll-preserve-screen-position-commands'.
8457         * isearch.el (isearch-allow-scroll): Doc fix.
8459 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
8461         * net/tramp.el (tramp-error-with-buffer): Don't show the
8462         connection buffer when we are in completion mode.
8463         (tramp-file-name-handler): Catch the error for some operations
8464         when we are in completion mode.  This gives the user the chance to
8465         correct the file name in the minibuffer.
8467 2010-04-15  Glenn Morris  <rgm@gnu.org>
8469         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8471 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
8473         Simplify by using `define-derived-mode'.
8474         * info.el (Info-mode):
8475         * calendar/todo-mode.el (todo-mode):
8476         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8477         (gomoku-mode-map): Move initialization into declaration.
8479 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
8481         Fix Bug#5840.
8482         * ido.el (ido-file-name-all-completions-1):
8483         * minibuffer.el (minibuffer-completion-help):
8484         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8486 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8488         * simple.el (non-essential): New var.
8490         Add a new field `location' to bookmarks for non-file bookmarks.
8491         * bookmark.el (bookmark-location): Use the new field, if present.
8492         (bookmark-insert-location): Undo last change, not needed any more.
8493         * man.el (Man-bookmark-make-record):
8494         * woman.el (woman-bookmark-make-record): Add `location' field.
8496 2010-04-14  Juri Linkov  <juri@jurta.org>
8498         * simple.el (scroll-error-top-bottom): New defcustom.
8499         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
8501         * emulation/pc-select.el (pc-select-override-scroll-error):
8502         Obsolete in favor of `scroll-error-top-bottom'.
8504 2010-04-14  Juri Linkov  <juri@jurta.org>
8506         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8507         `scroll-up-command' and `M-v' to `scroll-down-command'.
8509         * emulation/cua-rect.el (cua--init-rectangles):
8510         * forms.el (forms--change-commands):
8511         * image-mode.el (image-mode-map):
8512         Remap scroll-down-command and scroll-up-command
8513         in addition to scroll-down and scroll-up.
8515 2010-04-14  Juri Linkov  <juri@jurta.org>
8517         * mwheel.el (scroll-preserve-screen-position-commands):
8518         Add mwheel-scroll to this list of commands.
8520         * simple.el (scroll-preserve-screen-position-commands):
8521         Add scroll-up-command, scroll-down-command, scroll-up-line,
8522         scroll-down-line to this list of commands.
8524 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8526         * obsolete/complete.el: Move from lisp/complete.el.
8528         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8530         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8531         to the minor mode function now turns the mode ON unconditionally.
8533 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8535         * vc-dir.el (vc-dir-kill-line): New command.
8536         (vc-dir-mode-map): Bind it to C-k.
8538         * bookmark.el (bookmark-insert-location): Handle a nil filename.
8540         * woman.el: Add bookmark declarations to silence the compiler.
8541         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8542         step to compatibility between man and woman bookmarks.
8543         Adjust for Man-default-bookmark-title renaming.
8544         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
8546         * man.el: Add bookmark declarations to silence the compiler.
8547         (Man-name-local-regexp): Make it match NAME as well.
8548         (Man-getpage-in-background): Return the buffer.
8549         (Man-notify-when-ready): Use `case'.
8550         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8551         Don't hardcode "NAME".  Simplify.
8552         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8553         Rename from Man-bookmark-make-record.
8554         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
8555         we have the actual man-args.  Use Man-getpage-in-background rather
8556         than `man' since the arg is already processed.  Let bookmark.el do the
8557         window handling.  Only wait for the relevant process.
8558         Don't forget to autoload.
8560         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8562 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8564         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8565         New functions.
8566         (woman-mode): Setup bookmark support.
8568         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8569         (man-bookmark-jump): New functions.
8570         (Man-mode): Setup bookmark support.
8572 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
8574         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8575         recognize ssh-keygen prompt (Bug#2817).
8577 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8579         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8581 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8583         Synchronize with Tramp repository.
8585         * net/tramp.el (tramp-completion-function-alist)
8586         (tramp-file-name-regexp, tramp-chunksize)
8587         (tramp-local-coding-commands, tramp-remote-coding-commands):
8588         Fix docstring.
8589         (tramp-remote-process-environment): Use `format' instead of `concat'.
8590         (tramp-handle-directory-files-and-attributes)
8591         (tramp-get-remote-path): Use `copy-tree'.
8592         (tramp-handle-file-name-all-completions): Backward/ XEmacs
8593         compatibility: Use `completion-ignore-case' if
8594         `read-file-name-completion-ignore-case' does not exist.
8595         (tramp-do-copy-or-rename-file-directly): Do not use
8596         `tramp-handle-file-remote-p'.
8597         (tramp-do-copy-or-rename-file-out-of-band):
8598         Use `tramp-compat-delete-directory'.
8599         (tramp-do-copy-or-rename-file-out-of-band)
8600         (tramp-compute-multi-hops, tramp-maybe-open-connection):
8601         Use `format-spec-make'.
8602         (tramp-find-foreign-file-name-handler)
8603         (tramp-advice-make-auto-save-file-name)
8604         (tramp-set-auto-save-file-modes): Remove superfluous check for
8605         `stringp'.  This is done inside `tramp-tramp-file-p'.
8606         (tramp-debug-outline-regexp): New defconst.
8607         (tramp-get-debug-buffer): Use it.
8608         (tramp-check-for-regexp): Use (forward-line 1).
8609         (tramp-set-auto-save-file-modes): Adapt version check.
8611         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8612         Wrap call of `featurep' for 2nd argument.
8613         (tramp-compat-make-temp-file): Simplify fallback implementation.
8614         (tramp-compat-copy-tree): Remove function.
8615         (tramp-compat-delete-directory): Provide implementation for older
8616         Emacsen.
8618         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8619         Do not use `tramp-fish-handle-file-attributes.
8621         * net/trampver.el: Update release number.
8623 2010-04-10  Glenn Morris  <rgm@gnu.org>
8625         * progmodes/compile.el (compilation-save-buffers-predicate):
8626         Add missing :version tag.
8628 2010-04-09  Sam Steingold  <sds@gnu.org>
8630         * progmodes/compile.el (compilation-save-buffers-predicate):
8631         Remove the "autoload" cookie.
8633         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8634         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8635         and `bug-reference-prog-mode' can be used in hooks directly.
8637 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
8639         Add --author support to git commit.
8640         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8641         (vc-git-log-edit-mode): New minor mode.
8642         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8643         New declarations.
8645 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
8647         * vc-hooks.el, vc-git.el: Improve documentation comments.
8649 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8651         Fix some of the problems in defsubst* (bug#5728).
8652         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8653         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8655 2010-04-07  Sam Steingold  <sds@gnu.org>
8657         * progmodes/compile.el (compilation-save-buffers-predicate):
8658         New custom variable.
8659         (compile, recompile): Pass it to `save-some-buffers'.
8661 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
8663         * wid-edit.el (widget-choose): Move cursor to the second line of
8664         the buffer (Bug#5695).
8666 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8668         Add new VC methods: vc-log-incoming and vc-log-outgoing.
8669         * vc.el (vc-print-log-setup-buttons): New function split out from
8670         vc-print-log-internal.
8671         (vc-log-internal-common): New function, a parametrized version of
8672         vc-print-log-internal.
8673         (vc-print-log-internal): Just call vc-log-internal-common with the
8674         right arguments.
8675         (vc-incoming-outgoing-internal):
8676         (vc-log-incoming, vc-log-outgoing): New functions.
8677         (vc-log-view-type): New permanent local variable.
8679         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8681         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8682         of the dynamic bound vc-short-log.
8683         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8685         * vc-git.el (vc-git-log-outgoing): New function.
8686         (vc-git-log-view-mode): Use vc-log-view-type instead
8687         of the dynamic bound vc-short-log.
8689         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8690         of the dynamic bound vc-short-log.  Highlight the tag.
8691         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8692         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8693         (vc-hg-incoming-mode): Remove.
8694         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8696 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8698         Fix default-directory for vc-root-diff.
8699         * vc.el (vc-root-diff): Bind default-directory to the root
8700         directory for the diff command.
8702 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
8704         * progmodes/verilog-mode.el (verilog-forward-sexp):
8705         (verilog-calc-1): Support "disable fork" and "fork wait" multi
8706         word keywords, suggested by Steve Pearlmutter.
8707         (verilog-pretty-declarations): Support lineup of declarations in
8708         port lists.
8709         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8710         fix bug for /* / comments.
8711         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8712         Speed up and simplfy as this is never called with a bound.
8713         (verilog-pretty-declarations): Enhance to line up declarations
8714         inside a parameter list, suggested by Alan Morgan.
8715         (verilog-pretty-expr): Tune assignment regular expression match
8716         string for corner cases; also use markers instead of character
8717         number as indent changes the later.
8719 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
8721         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8722         as missing keyword.
8723         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8724         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
8725         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8726         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
8727         Tennant.
8728         (verilog-keywords):
8729         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8730         1800-2009 keywords, including "global.".
8732 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8734         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8735         appearing in buffer list (if a live buffer name matched a recentf
8736         file basename).  Should use uniquify to offer a real solution.
8738 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8740         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8741         comment to code, and add a :version tag.
8742         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8744 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
8746         Enable recentf-mode if using virtual buffers.
8747         * ido.el (recentf-list): Declare for byte-compiler.
8748         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
8749         (ido-make-buffer-list): Simplify.
8750         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
8752 2010-04-05  Juri Linkov  <juri@jurta.org>
8754         Scrolling commands which scroll a line instead of full screen.
8755         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8757         * simple.el (scroll-up-line, scroll-down-line): New commands.
8758         Put property isearch-scroll=t on them.
8760         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8761         Remove commands.
8763 2010-04-05  Juri Linkov  <juri@jurta.org>
8765         Scrolling commands which do not signal errors at top/bottom.
8766         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8768         * simple.el (scroll-up-command, scroll-down-command): New commands.
8769         Put property isearch-scroll=t on them.
8771         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8772         `scroll-down-command' and [next] from `scroll-up' to
8773         `scroll-up-command'.
8775         * emulation/cua-base.el: Put property CUA=move on
8776         `scroll-up-command' and `scroll-down-command'.
8777         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8778         and `scroll-down-command' to `cua-scroll-down'.
8780 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
8782         * help.el (describe-mode): Return nil.
8784 2010-04-04  John Wiegley  <jwiegley@gmail.com>
8786         * ido.el (ido-use-virtual-buffers): New variable to indicate
8787         whether "virtual buffer" support is enabled for IDO.
8788         (ido-virtual): Face used to indicate virtual buffers in the list.
8789         (ido-buffer-internal): If a buffer is chosen, and no such buffer
8790         exists, but a virtual buffer of that name does (which would be why
8791         it was in the list), recreate the buffer by reopening the file.
8792         (ido-make-buffer-list): If virtual buffers are being used, call
8793         `ido-add-virtual-buffers-to-list' before the make list hook.
8794         (ido-virtual-buffers): New variable which contains a copy of the
8795         current contents of the `recentf-list', albeit pared down for the
8796         sake of speed, and with proper faces applied.
8797         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8798         create a list of "virtual buffers" to present to the user in
8799         addition to the currently open set.  Note that this logic could
8800         get rather slow if that list is too large.  With the default
8801         `recentf-max-saved-items' of 200, there is little speed penalty.
8803 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8805         * font-lock.el: Require CL when compiling.
8806         (font-lock-turn-on-thing-lock): Use `case'.
8808 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
8810         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8811         Zaretskii.
8813 2010-04-02  Juri Linkov  <juri@jurta.org>
8815         * ehelp.el (electric-help-orig-major-mode):
8816         New buffer-local variable.
8817         (electric-help-mode): Set it to original major-mode.  Doc fix.
8818         (with-electric-help): Use `electric-help-orig-major-mode' instead
8819         of (default-value 'major-mode).  Doc fix.
8820         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8822 2010-04-02  Sam Steingold  <sds@gnu.org>
8824         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8825         `vc-hg-command' with a list of flags.
8827         * progmodes/bug-reference.el (bug-reference-bug-regexp):
8828         Also accept "patch" and "RFE".
8829         (bug-reference-fontify): `bug-reference-url-format' can also be a
8830         function to be able to handle the bug kind.
8831         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8833 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
8835         * tmm.el (tmm-get-keymap): Check with symbolp before passing
8836         value to fboundp, it may not be a symbol.
8838 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8840         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8842 2010-03-31  Juri Linkov  <juri@jurta.org>
8844         * simple.el (next-line, previous-line): Re-throw a signal
8845         with `signal' instead of using `ding'.
8846         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8848 2010-03-31  Juri Linkov  <juri@jurta.org>
8850         * simple.el (keyboard-escape-quit): Raise deselecting the active
8851         region higher than exiting the minibuffer.
8852         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8854 2010-03-31  Juri Linkov  <juri@jurta.org>
8856         * image.el (image-animated-p): Use `image-metadata' instead of
8857         `image-extension-data'.  Get GIF extenstion data from metadata
8858         property `extension-data'.
8860 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8862         * simple.el (append-to-buffer): Simplify.
8864 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
8866         * textmodes/artist.el (artist-mode): Fix typo in docstring.
8867         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
8869 2010-03-31  Kenichi Handa  <handa@m17n.org>
8871         * language/sinhala.el (composition-function-table): Fix regexp for
8872         the new Unicode specification.
8874         * language/indian.el (devanagari-composable-pattern)
8875         (tamil-composable-pattern, kannada-composable-pattern)
8876         (malayalam-composable-pattern): Adjust for the new Unicode
8877         specification.
8878         (bengali-composable-pattern, gurmukhi-composable-pattern)
8879         (gujarati-composable-pattern, oriya-composable-pattern)
8880         (telugu-composable-pattern): New variables to cope with the new
8881         Unicode specification.  Use them in composition-function-table.
8883 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8885         Make tmm-menubar work for the Buffers menu again (bug#5726).
8886         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8887         vectors rather than cons cells, as used in menu-bar-update-buffers.
8889 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8891         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8892         (js-insert-and-indent): Revert 2009-08-15 change, restoring
8893         electric punctuation for "{}();,:" (Bug#5586).
8895         * mail/sendmail.el (mail-default-directory): Doc fix.
8897 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8899         * mail/sendmail.el (mail-default-directory): Doc fix.
8901 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
8903         * subr.el (version-regexp-alist, version-to-list)
8904         (version-list-<, version-list-=, version-list-<=)
8905         (version-list-not-zero, version<, version<=, version=): Doc fix.
8906         (Bug#5744).
8908 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
8910         * vc.el (vc-root-diff): Doc fix.
8912 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8914         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8916         * simple.el (append-to-buffer): Fix last change.
8918 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8920         * simple.el (append-to-buffer): Ensure that point is preserved if
8921         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
8922         (Bug#5749)
8924 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8926         * files.el (auto-mode-case-fold): Change default to t.
8928 2010-03-30  Juri Linkov  <juri@jurta.org>
8930         * dired-x.el (dired-omit-mode): Doc fix.
8932 2010-03-30  Juri Linkov  <juri@jurta.org>
8934         * replace.el (occur-accumulate-lines): Move occur-engine related
8935         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8936         to be located after `occur-engine'.
8938 2010-03-30  Juri Linkov  <juri@jurta.org>
8940         Make occur handle multi-line matches cleanly with context.
8941         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8943         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8944         (occur-engine): Add local variables `ret', `prev-after-lines',
8945         `prev-lines'.  Use more arguments for `occur-context-lines'.
8946         Set first elem of its returned list to `data', and the second elem
8947         to `prev-after-lines'.  Don't print the separator line.
8948         In the end, print remaining context after-lines.
8949         (occur-context-lines): Add new arguments `begpt', `endpt',
8950         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
8951         after-lines of the previous match with before-lines of the
8952         current match and not overlap them.  Return a list with two
8953         values: the output line and the list of context after-lines.
8955 2010-03-30  Juri Linkov  <juri@jurta.org>
8957         * replace.el (occur-accumulate-lines): Fix a bug where the first
8958         context line at the beginning of the buffer was missing.
8960 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
8962         * files.el: Make bidi-display-reordering safe variable for boolean
8963         values.
8965 2010-03-29  Phil Hagelberg  <phil@evri.com>
8966             Chong Yidong  <cyd@stupidchicken.com>
8968         * subr.el: Extend progress reporters to perform "spinning".
8969         (progress-reporter-update, progress-reporter-do-update):
8970         Handle non-numeric value arguments.
8971         (progress-reporter--pulse-characters): New var.
8973 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
8975         * progmodes/compile.el (compilation-start): Fix regexp detection
8976         of initial cd command (Bug#5771).
8978 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
8980         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8982 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
8984         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8985         * progmodes/gdb-mi.el: Restore.
8986         * progmodes/gdb-ui.el: Remove.
8987         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8989 2010-03-25  Glenn Morris  <rgm@gnu.org>
8991         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8992         all dired buffers, even tramp ones.  (Bug#5755)
8994 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8996         Add "union tags" in mpc.el.
8997         * mpc.el: Remove backward compatibility code.
8998         (mpc-browser-tags): Change default.
8999         (mpc--find-memoize-union-tags): New var.
9000         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9001         (mpc-cmd-find): Handle the case where the playlist does not exist.
9002         Handle union-tags.
9003         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
9004         (mpc-cmd-add): Use mpc-cmd-flush.
9005         (mpc-tagbrowser-tag-name): New fun.
9006         (mpc-tagbrowser-buf): Use it.
9007         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
9009 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9011         Misc cleanup.
9012         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9013         Use replace-regexp-in-string.
9014         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9015         (makefile-imake-mode-syntax-table): Move init into defvar.
9016         (makefile-mode): Use define-derived-mode.
9018         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9019         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9020         not be present any more.
9022 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9024         * faces.el (set-face-attribute): Fix typo in docstring.
9025         (face-valid-attribute-values): Reflow docstring.
9027 2010-03-24  Glenn Morris  <rgm@gnu.org>
9029         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9031 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9033         * indent.el (indent-for-tab-command): Doc fix.
9035 2010-03-24  Alan Mackenzie  <acm@muc.de>
9037         * progmodes/cc-engine.el (c-remove-stale-state-cache):
9038         Fix off-by-one error.  Fixes bug #5747.
9040 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9042         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9043         (image-dired-read-comment): Doc fix.
9045         * json.el (json-object-type, json-array-type, json-key-type)
9046         (json-false, json-null, json-read-number):
9047         * minibuffer.el (completion-in-region-functions):
9048         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9049         (cal-tex-cursor-week):
9050         * emacs-lisp/trace.el (trace-function):
9051         * eshell/em-basic.el (eshell/printnl):
9052         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9053         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9054         * obsolete/levents.el (allocate-event, event-key, event-object)
9055         (event-point, event-process, event-timestamp, event-to-character)
9056         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9057         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9058         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9059         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9060         (reftex-highlight-selection): Fix typos in docstrings.
9062 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9064         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9066 2010-03-24  Glenn Morris  <rgm@gnu.org>
9068         * mail/rmail.el (rmail-highlight-face): Restore option deleted
9069         2008-02-13 without comment; mark it obsolete.
9070         (rmail-highlight-headers): Use rmail-highlight-face once more.
9072 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9074         * woman.el (woman2-process-escapes): Only consume the newline if
9075         the filler character is on a line by itself (Bug#5729).
9077 2010-03-24  Kenichi Handa  <handa@m17n.org>
9079         * language/indian.el (devanagari-composable-pattern): Add more
9080         consonants.
9082 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9084         * net/trampver.el: Update release number.
9086 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9088         * net/tramp.el (tramp-find-executable):
9089         Use `tramp-get-connection-buffer'.  Make the regexp for checking
9090         output of "wc -l" more robust.
9091         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9092         (tramp-open-connection-setup-interactive-shell): Remove workaround
9093         for OpenSolaris bug, it is not needed anymore.
9095 2010-03-24  Glenn Morris  <rgm@gnu.org>
9097         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
9099 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
9101         * files.el (auto-mode-alist): Accept more verilog file patterns.
9103 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9105         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9107 2010-03-24  Glenn Morris  <rgm@gnu.org>
9109         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9110         log-edit-before-checkin-process.
9112         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9114         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9116         * vc-dispatcher.el (vc-start-logentry): Doc fix.
9117         (log-view-process-buffer, log-edit-extra-flags): Declare.
9119         * log-edit.el (log-edit-before-checkin-process): Doc fix.
9121 2010-03-23  Sam Steingold  <sds@gnu.org>
9123         Fix bug#5620: recalculate all markers on compilation buffer
9124         modifications, not on file modifications.
9125         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9126         the buffer modification time, for buffers not associated with files.
9127         (compilation-mode): Create it.
9128         (compilation-filter): Update it.
9129         (compilation-next-error-function): Use it instead of
9130         `visited-file-modtime' for timestamp.
9132 2010-03-23  Juri Linkov  <juri@jurta.org>
9134         Implement Occur multi-line matches.
9135         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9137         * replace.el (occur): Doc fix.
9138         (occur-engine): Set `begpt' to the beginning of the first line.
9139         Set `endpt' to the end of the last match line.  At first, count
9140         line numbers between `origpt' and `begpt'.  Split out code from
9141         `out-line' variable to new let-bindings `match-prefix' and
9142         `match-str'.  In `out-line' add non-numeric prefix to all
9143         non-first lines of multi-line matches.  Finally, count lines
9144         between `begpt' and `endpt' and add to `lines'.
9146 2010-03-23  Juri Linkov  <juri@jurta.org>
9148         * replace.el (occur-accumulate-lines, occur-engine):
9149         Use `occur-engine-line' instead of duplicate code.
9150         (occur-engine-line): New function created from duplicate code
9151         in `occur-accumulate-lines' and `occur-engine'.
9153         * replace.el (occur-engine-line): Add optional arg `keep-props'.
9154         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9156 2010-03-23  Juri Linkov  <juri@jurta.org>
9158         * finder.el: Remove TODO tasks.
9160         * info.el (Info-finder-find-node): Add node "all"
9161         with all package info.  Handle a list of multiple keywords
9162         separated by comma.
9163         (info-finder): In interactive use with a prefix argument,
9164         use `completing-read-multiple' to read a list of keywords
9165         separated by comma.
9167 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9169         Add a new completion style `substring'.
9170         * minibuffer.el (completion-basic--pattern): New function.
9171         (completion-basic-try-completion, completion-basic-all-completions):
9172         Use it.
9173         (completion-substring--all-completions)
9174         (completion-substring-try-completion)
9175         (completion-substring-all-completions): New functions.
9176         (completion-styles-alist): New style `substring'.
9178 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9180         Get rid of .elc files after removal of the corresponding .el.
9181         * Makefile.in (compile-clean): New target.
9182         (compile-main): Use it.
9184 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
9186         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9187         don't do make there.  When compiling with separate object dir, there
9188         is no Makefile there.
9190 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9192         Get rid of the ELCFILES abomination, again.
9193         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9194         (all, compile): Don't call compile-last.
9195         (compile-main): Build the "elcfiles" list dynamically.
9196         (compile-targets): New (internal) target.
9198 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
9200         * Makefile.in (top_srcdir): Define.
9201         (abs_top_builddir): Define.
9202         (srcdir): Don't append `/..'.
9203         (EMACS): Use ${abs_top_builddir}.
9204         (all, compile, compile-always, compile-last): Don't set emacswd.
9205         (update-subdirs, update-authors): Use $(top_srcdir) instead of
9206         $(srcdir).
9207         (lisp): Use $(srcdir) instead of @srcdir@.
9209 2010-03-21  Juri Linkov  <juri@jurta.org>
9211         Fix message of multi-line occur regexps and multi-buffer header lines.
9212         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9214         * replace.el (occur-1): Don't display regexp if it is longer
9215         than window-width.  Use `query-replace-descr' to display regexp.
9216         (occur-engine): Don't display regexp in the buffer header for
9217         multi-buffer occur.  Display a separate header line with total
9218         match count and regexp for multi-buffer occur.
9219         Use `query-replace-descr' to display regexp.
9221 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
9223         * net/secrets.el: Fix parenthesis.
9224         (secrets-enabled): Fix parenthesis.
9226 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9228         Use more relative file and directory names.
9229         * Makefile.in (EMACS): Arrange for it to work when we chdir.
9230         (setwins, setwins_almost, setwins_for_subdirs):
9231         Don't `cd'; output relative names.
9232         (all, compile, compile-always, compile-last): Set emacswd.
9233         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9234         Just cd to the lisp source dir so we can use relative file names.
9236         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9238 2010-03-20  Glenn Morris  <rgm@gnu.org>
9240         * textmodes/rst.el: Use faces for font-lock customization, and make the
9241         old -face variables obsolete.
9242         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9243         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9244         (rst-block-face, rst-external-face, rst-definition-face)
9245         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9246         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9247         Make obsolete.
9248         (rst-font-lock-keywords-function): Update for above changes.
9250 2010-03-20  Juri Linkov  <juri@jurta.org>
9252         * s-region.el:
9253         * obsolete/s-region.el: Move to obsolete.
9255 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
9257         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9259 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9261         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9263 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9265         Add special markup processing for commit logs.
9266         * log-edit.el (log-edit-extra-flags): New variable.
9267         (log-edit): Add new argument MODE.  Use that mode when non-nil
9268         instead of the log-view-mode.
9269         (log-view-process-buffer): New function.
9271         * vc.el: Document that the checkin method takes optional
9272         arguments.  Document new backend specific method: log-view-mode.
9273         (vc-default-log-edit-mode): New function.
9274         (vc-checkin): Use a backend specific log-view-mode.
9275         Pass extra arguments to the checkin method.
9276         (vc-modify-change-comment): Pass a dummy extra argument.
9278         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9279         log-edit.
9280         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9281         (vc-finish-logentry): Process the log buffer before passing it
9282         down.  Pass log-edit-extra-flags.
9284         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9285         command.
9286         (log-edit-extra-flags, log-edit-before-checkin-process):
9287         New declarations.
9289         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9290         command.
9291         (log-edit-extra-flags, log-edit-before-checkin-process):
9292         New declarations.
9293         (vc-hg-log-edit-mode): New derived mode.
9295         * vc-arch.el (vc-arch-checkin):
9296         * vc-cvs.el (vc-cvs-checkin):
9297         * vc-git.el (vc-git-checkin):
9298         * vc-mtn.el (vc-mtn-checkin):
9299         * vc-rcs.el (vc-rcs-checkin):
9300         * vc-sccs.el (vc-sccs-checkin):
9301         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9303 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9305         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9306         parent typo).
9308 2010-03-19  Glenn Morris  <rgm@gnu.org>
9310         * password-cache.el (password-cache, password-cache-expiry): Autoload.
9312 2010-03-18  Glenn Morris  <rgm@gnu.org>
9314         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9316         * replace.el (query-replace-history): Give it a doc string.
9317         (map-query-replace-regexp): Use query-replace-from-history-variable
9318         and query-replace-to-history-variable.
9320         * mail/hashcash.el (declare-function): Remove duplicate definition.
9322         * mail/emacsbug.el (report-emacs-bug-pretest-address):
9323         Make it an obsolete alias for report-emacs-bug-address.
9324         (message-strip-special-text-properties): Declare.
9325         (report-emacs-bug): Remove test for a pretest bug address.
9326         Combine message-mode-specific code.
9328         * mail/supercite.el: Don't require sendmail.
9329         (mh-in-header-p): Declare rather than using with-no-warnings.
9330         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9331         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
9333         * calendar/cal-french.el: Convert to utf-8.
9335         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9336         Emacs scripts.
9338 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
9340         * net/secrets.el (secrets-enabled): New variable.  Use it instead
9341         of a subfeature.
9343 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
9345         * net/secrets.el (top): Register the D-Bus signals only when the
9346         service "org.freedesktop.secrets" can be pinged.
9347         Provide subfeature `enabled'.
9349 2010-03-14  Juri Linkov  <juri@jurta.org>
9351         Add finder unknown keywords.
9353         * finder.el (finder-unknown-keywords): New function.
9355         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9356         to create a Finder node with unknown keywords.
9358 2010-03-14  Juri Linkov  <juri@jurta.org>
9360         * finder.el (finder-compile-keywords): Replace `princ' with
9361         `prin1' on a list of symbols interned from keyword strings.
9363         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9364         a comma, then split keywords using a comma and optional whitespace.
9365         Otherwise, split by whitespace.
9367         * complete.el:
9368         * face-remap.el:
9369         * log-view.el:
9370         * net/hmac-def.el:
9371         * net/hmac-md5.el:
9372         * net/netrc.el:
9373         * progmodes/mixal-mode.el: Fix keywords.
9375 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
9377         * Makefile.in (ELCFILES): Add net/secrets.elc.
9379         * net/secrets.el: New file.
9381 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9383         * facemenu.el (list-colors-display, list-colors-print): New arg
9384         callback.  Use it to allow selecting colors.
9386         * wid-edit.el (widget-image-insert): Insert image prop even if the
9387         current display is non-graphic.
9388         (widget-field-value-set): New fun.
9389         (editable-field): Use it.
9390         (widget-field-value-get): Clean up unused var.
9391         (widget-color-value-create, widget-color--choose-action):
9392         New funs.  Allow using list-colors-display to choose color.
9394 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9396         * cus-edit.el: Resort topmost custom groups.
9397         (custom-buffer-sort-alphabetically): Default to t.
9398         (customize-apropos): Use apropos-parse-pattern.
9399         (custom-search-field): New var.
9400         (custom-buffer-create-internal): Add custom-apropos search field.
9401         (custom-add-parent-links): Don't display parent doc.
9402         (custom-group-value-create): Don't sort top-level custom group.
9403         (custom-magic-value-create): Show visibility button before option name.
9405         (custom-variable-state): New fun, from custom-variable-state-set.
9406         (custom-variable-state-set): Use it.
9407         (custom-group-value-create): Hide options with standard values
9408         using the :hidden-states property.  Use progress reporter.
9410         (custom-show): Simplify.
9411         (custom-visibility): Disable images by default.
9412         (custom-variable): New property :hidden-states.
9413         (custom-variable-value-create): Enable images for
9414         custom-visibility widgets.  Use :hidden-states property to
9415         determine initial visibility.
9417         * wid-edit.el (widget-image-find): Give images center ascent.
9418         (visibility): Add :on-image and :off-image properties.
9419         (widget-visibility-value-create): Use them.
9421 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9423         * cus-edit.el (processes): Remove from development group.
9424         (oop, hypermedia): Delete group.
9425         (comm): Promote to top-level group.
9427         * net/browse-url.el (browse-url):
9428         * net/xesam.el (xesam):
9429         * net/tramp.el (tramp):
9430         * net/goto-addr.el (goto-address):
9431         * net/ange-ftp.el (ange-ftp): Put in comm group.
9433         * view.el (view): Remove from editing group.
9435         * uniquify.el (uniquify): Put in files group.
9437         * net/browse-url.el (browse-url):
9438         * ps-print.el (postscript): Put in external group.
9440         * cus-edit.el (outlines):
9441         * textmodes/text-mode.el (text-mode-hook):
9442         * textmodes/table.el (table):
9443         * textmodes/picture.el (picture):
9444         * outline.el (outlines): Put in wp group.
9446         * nxml/nxml-mode.el (nxml): Remove from wp group.
9448         * net/tramp-imap.el (tramp-imap): Put in tramp group.
9450         * mail/metamail.el (metamail): Remove from hypermedia group.
9452         * cus-edit.el (abbrev):
9453         * whitespace.el (whitespace):
9454         * vcursor.el (vcursor):
9455         * reveal.el (reveal):
9456         * hl-line.el (hl-line): Put in convenience group.
9458         * epg-config.el (epg): Put in data group.
9460         * emulation/pc-select.el (pc-select): Put in emulations group.
9462         * calculator.el (calculator): Put in applications group.
9464 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9466         Add .dir-locals.el support for file-less buffers.
9467         * files.el (hack-local-variables): Split out code to apply local
9468         variable settings ...
9469         (hack-local-variables-apply): ... here.  New function.
9470         (hack-dir-local-variables): Use the default directory for when the
9471         buffer does not have an associated file.
9472         (hack-dir-local-variables-non-file-buffer): New function.
9473         * diff-mode.el (diff-mode):
9474         * vc-annotate.el (vc-annotate-mode):
9475         * vc-dir.el (vc-dir-mode):
9476         * log-edit.el (log-edit-mode):
9477         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9479 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9481         Add support for shelving snapshots and for showing shelves.
9482         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9483         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9484         New functions.
9485         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9486         (vc-bzr-extra-menu-map): Map them.
9488 2010-03-11  Glenn Morris  <rgm@gnu.org>
9490         * cus-edit.el (customize-changed-options-previous-release):
9491         Bump to 23.1.
9493         * image.el (image-animate-max-time): Fix :version tag.
9495 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
9497         * Branch for 23.2.
9499 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9501         * vc-git.el (vc-git-revision-table): Include remote branches.
9503 2010-03-10  Kim F. Storm  <storm@cua.dk>
9505         Animated image API.
9506         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9508         * image.el (image-animate-max-time): New defcustom.
9509         (image-animated-types): New defconst.
9510         (create-animated-image, image-animate-timer)
9511         (image-animate-start, image-animate-stop, image-animate-timeout)
9512         (image-animated-p): New functions.
9514         * image-mode.el (image-toggle-display-image):
9515         Replace `create-image' with `create-animated-image'.
9517 2010-03-09  Miles Bader  <miles@gnu.org>
9519         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9520         instead of "format:"; this ensures that the output is
9521         newline-terminated.
9523 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
9525         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9526         that all errors are caught, and that the return value is always a
9527         list (Bug#5692).
9529 2010-03-08  Kenichi Handa  <handa@m17n.org>
9531         * language/misc-lang.el (windows-1256): New coding system.
9532         (cp1256): New alias of windows-1256 (bug#5690).
9534 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
9536         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9537         call to rfc822-bad-address.  (Bug#5692)
9539 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9541         * vc-git.el (vc-git-annotate-extract-revision-at-line):
9542         Use vc-git-root as default directory for revision path (Bug#5657).
9544 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
9546         * calculator.el (calculator): Don't bind split-window-keep-point
9547         (Bug#5674).
9549 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9551         * vc-git.el: Re-flow to fit into 80 columns.
9552         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9553         Remove spurious `quote' element in each case alternative.
9554         (vc-git-show-log-entry): Use prog1.
9555         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9557 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9559         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9561 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
9563         * macros.el (insert-kbd-macro): Look up keyboard macro using the
9564         definition, not the name (Bug#5481).
9566 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9568         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9569         argument with a local variable.  (Bug#5670)
9571 2010-03-02  Juri Linkov  <juri@jurta.org>
9573         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
9575 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
9577         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9578         error when FILENAME and NEWNAME are existing remote directories.
9580         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9581         parameter DIR-FLAG.
9583 2010-03-02  Glenn Morris  <rgm@gnu.org>
9585         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9586         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9588 2010-03-01  Kenichi Handa  <handa@m17n.org>
9590         * language/burmese.el (burmese-composable-pattern): Rename from
9591         myanmar-composable-pattern.
9593         * international/characters.el (script-list):
9594         * international/fontset.el (script-representative-chars):
9595         Change myanmar to burmese.
9596         (otf-script-alist): Likewise.
9597         (setup-default-fontset): Likewise.  Re-fix :otf spec.
9599 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
9601         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9603 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
9605         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9607 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9609         * net/tramp.el (tramp-handle-write-region): START can be a string.
9610         Take care in the checks.  Reported by Dan Davison
9611         <davison@stats.ox.ac.uk>.
9613 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9615         * net/dbus.el (dbus-introspect, dbus-get-property)
9616         (dbus-set-property, dbus-get-all-properties):
9617         Use `dbus-call-method' when noninteractive.  (Bug#5645)
9619 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
9621         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9622         * emacs-lisp/elint.el (elint-add-required-env):
9623         * calendar/icalendar.el (icalendar--add-diary-entry):
9624         * calc/calcalg2.el (math-tracing-integral):
9625         * files.el (recover-session-finish): Use with-current-buffer
9626         instead of save-excursion.
9628 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9630         Fix in-buffer completion when after-change-functions modify the buffer.
9631         * minibuffer.el (completion--replace): New function.
9632         (completion--do-completion): Use it and use relative movement.
9634 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
9636         * international/fontset.el (setup-default-fontset): Fix :otf spec.
9638 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
9640         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9641         Allow the characters _<> in the stack entry (Bug#5653).
9643 2010-02-26  Kenichi Handa  <handa@m17n.org>
9645         * language/burmese.el: Fix entries in composition-function-table.
9646         (myanmar-composable-pattern): New variable.
9648         * international/fontset.el (setup-default-fontset): Add an entry
9649         for myanmar.
9651         * international/characters.el (script-list): Add Myanmar
9652         Extended-A.
9654 2010-02-26  Glenn Morris  <rgm@gnu.org>
9656         * custom.el (custom-initialize-delay): Doc fix.
9658         * mail/sendmail.el (send-mail-function): Autoload the call
9659         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9661 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
9663         * files.el (hack-local-variables-filter): For eval forms, also
9664         check safe-local-variable-p (Bug#5636).
9666 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
9668         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9669         setting the modes by `ignore-errors'.  It might fail, for example
9670         if the file is not owned by the user but the group.
9671         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9673 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
9675         * files.el (directory-listing-before-filename-regexp):
9676         Use stricter matching for iso-style dates, to avoid false matches with
9677         date-like filenames (Bug#5597).
9679         * htmlfontify.el (htmlfontify): Doc fix.
9681         * eshell/eshell.el (eshell): Doc fix.
9683         * startup.el (fancy-about-screen): In mode-line, apply
9684         mode-line-buffer-id face only to the buffer name (Bug#5613).
9686 2010-02-20  Kevin Ryde  <user42@zip.com.au>
9688         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9689         In `watcom' anchor regexp to start of line, to avoid slowness
9690         (Bug#5599).
9692 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
9694         * subr.el (remove-yank-excluded-properties): Explain in a comment
9695         why `category' property is removed.
9697 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
9699         * isearch.el (isearch-update-post-hook, isearch-update):
9700         Revert 2010-02-17 change.
9702 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
9704         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9705         (icalendar--convert-weekly-to-ical)
9706         (icalendar--convert-yearly-to-ical)
9707         (icalendar--convert-block-to-ical)
9708         (icalendar--convert-cyclic-to-ical)
9709         (icalendar--convert-anniversary-to-ical): Take care of time
9710         specifications where hour has 1-digit only (Bug#5549).
9712 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
9714         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9715         of disassemble output in GDB 7.1.
9717 2010-02-19  Glenn Morris  <rgm@gnu.org>
9719         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9720         property.  (Bug#5593)
9722 2010-02-18  Sam Steingold  <sds@gnu.org>
9724         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9726 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9728         Use abbreviated file names in bookmarks (bug#5591).
9729         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9730         calls to expand-file-name.
9731         (bookmark-relocate): Use abbreviated file names in bookmarks.
9732         (bookmark-load): Use abbreviated file names in messages.
9734 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9736         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9737         expand "." and "..".  Reported by Thierry Volpiatto
9738         <thierry.volpiatto@gmail.com>.
9740 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9742         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9743         permissions of the temporary file to "0600".  In case the remote
9744         file has no read permissions for the owner, there might be
9745         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
9747 22010-02-18  Glenn Morris  <rgm@gnu.org>
9749         * emacs-lisp/authors.el (authors-renamed-files-alist):
9750         Add entries for INSTALL.CVS.
9752 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
9754         * vc-bzr.el: Fix typo in Known Bugs section.
9756         * isearch.el (isearch-update-post-hook): New hook.
9757         (isearch-update): Use the new hook.
9759 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
9761         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9762         Fix errors in copying directories.
9763         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9764         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9765         (tramp-handle-delete-file)
9766         (tramp-handle-dired-recursive-delete-directory)
9767         (tramp-handle-write-region): Flush also the cache for the upper
9768         directory.
9770 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
9772         * simple.el (save-interprogram-paste-before-kill): Doc fix.
9774         * cus-edit.el (hardware): Doc fix.
9776         * man.el (man): Add to external custom group.
9778         * delim-col.el (columns): Move to wp custom group.
9780         * doc-view.el (doc-view): Add to data custom group.
9782         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9784         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9785         by ispell-parse-output (Bug#5575).
9787 2010-02-16  Kenichi Handa  <handa@m17n.org>
9789         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9790         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9791         (skkdic-convert): Use `euc-japan' coding system for writing.
9793 2010-02-16  Glenn Morris  <rgm@gnu.org>
9795         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9796         tex-main-file before using it.  (Bug#5562)
9798 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9800         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9801         warnings, since it is annoying for the user to see them each time he
9802         runs the code.
9804 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
9806         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9807         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9808         instead of PROC for caching "first-password-request".  Otherwise,
9809         new processes would not profit from passwords already entered.
9811         * net/tramp-cache.el (tramp-dump-connection-properties):
9812         Don't save "first-password-request" property.
9814 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
9816         * outline.el (outline-head-from-level):
9817         * simple.el (with-wrapper-hook):
9818         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9819         (elint-defun, elint-buffer-env, elint-top-form-logged)
9820         (elint-unbound-variable):
9821         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9822         Fix typos in docstrings.
9824 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
9826         * files.el (insert-directory): When WILDCARD-REGEXP and
9827         FULL-DIRECTORY-P are nil, insert the file entry instead of the
9828         whole directory.  (Bug#5551)
9830         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
9831         dired's alignment sanity.  (Bug#5516)
9833 2010-02-14  Juri Linkov  <juri@jurta.org>
9835         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9836         Remove remaining ^H with their preceding chars.  (Bug#5566)
9838 2010-02-13  Glenn Morris  <rgm@gnu.org>
9840         * simple.el (transpose-subr): Give it a doc-string.
9842         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9843         Doc fixes.
9845 2010-02-12  Juri Linkov  <juri@jurta.org>
9847         * arc-mode.el (archive-unique-fname): Make directories for nested
9848         archives.  (Bug#5540)
9850 2010-02-12  Juri Linkov  <juri@jurta.org>
9852         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
9854 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9856         * subr.el (copy-overlay): Handle deleted overlays.
9858         * man.el (Man-completion-table): Don't signal an error if we can't run
9859         manual-program (bug#4056).
9861 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
9863         * textmodes/artist.el (artist-mt): Fix typos in docstring.
9865 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9867         * info.el (Info-bookmark-jump): Simplify.
9869         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9870         (bookmark-default-handler): Accept new bookmark field `buffer'.
9872 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
9874         * iswitchb.el (iswitchb-completions): Revert last change.
9876 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
9878         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9879         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9880         This prevents file names like "~/" being listed literally.
9882 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
9884         * term/xterm.el (xterm-maybe-set-dark-background-mode):
9885         Remove dead code.  (Bug#5546)
9887 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
9889         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9890         correctly (Bug#5548).
9892 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
9894         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9895         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9897 2010-02-08  Kenichi Handa  <handa@m17n.org>
9899         * international/mule-util.el (with-coding-priority): Add autoload
9900         cookie for putting `lisp-indent-function'.
9902 2010-02-07  Glenn Morris  <rgm@gnu.org>
9904         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9905         Move F2003 named interfaces from keywords-2 to keywords-1, and
9906         use function-name-face rather than constant-face.
9907         Simplify "abstract interface" regexp.
9909 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
9911         * eshell/esh-util.el (eshell-file-attributes): New optional arg
9912         ID-FORMAT.  Pass it to `file-attributes'.
9914         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9916 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
9918         * faces.el (set-face-attribute): Allow calling
9919         internal-set-lisp-face-attribute with 'unspecified family and
9920         foundry argument (Bug#5536).
9922 2010-02-07  Glenn Morris  <rgm@gnu.org>
9924         * progmodes/f90.el (f90-font-lock-keywords-2)
9925         (f90-looking-at-type-like, f90-looking-at-program-block-end):
9926         Handle F2003 named interfaces.
9928 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
9930         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9931         beg and end before calling c-get-state-before-change-functions.
9933 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
9935         * vc-bzr.el (vc-bzr-dir-extra-headers):
9936         Disable the pending merges header.
9938 2010-02-05  Juri Linkov  <juri@jurta.org>
9940         * doc-view.el (doc-view-mode):
9941         * image-mode.el (image-mode): Put property mode-class=special.
9942         (Bug#4896)
9944 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
9946         * vc-svn.el (vc-svn-revision-table): New function.
9948 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
9950         * net/ange-ftp.el (ange-ftp-insert-directory):
9951         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9952         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9953         Handle also directories.  (Bug#5478)
9955 2010-02-05  Glenn Morris  <rgm@gnu.org>
9957         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9959 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
9961         * startup.el (command-line-1): Convert options beginning with a
9962         single dash as well (Bug#5519).
9964 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9966         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9967         * minibuffer.el (completion-initials-expand): Only check the presence
9968         of delims *within* the boundaries, since otherwise the / delim is
9969         always found for files.
9971         Fix up various corner case problems.
9972         * doc-view.el (doc-view-last-page-number): New function.
9973         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9974         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9975         (doc-view-kill-proc): Avoid inf-loop in freak cases.
9976         (doc-view-reconvert-doc): Use the new recursive delete-directory.
9977         (doc-view-convert-current-doc): Don't create the resolution.el file
9978         here any more.
9979         (doc-view-pdf/ps->png): Do it here instead.
9980         (doc-view-already-converted-p): Check that resolution.el is present.
9981         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9982         windows that are not yet showing images.
9984 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
9986         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9987         `dired-uncache' for every elemnt which is an absolute file name.
9989         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9990         directory, handle its directory component.
9991         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9992         function is called permanently and creates noise, otherwise.
9994         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9995         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9996         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
9998 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
10000         * macros.el (apply-macro-to-region-lines):
10001         Minor simplification.  (Bug#5485)
10003 2010-02-04  Glenn Morris  <rgm@gnu.org>
10005         * mail/rmail.el (rmail-show-message-1): Handle malformed
10006         quoted-printable text.  (Bug#5441)
10008         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10010         * simple.el (visual-line-mode): Capitalize lighter.
10012 2010-02-03  John Wiegley  <jwiegley@gmail.com>
10014         * iswitchb.el (iswitchb-completions): Add bookmark files to the
10015         list of files considered for "virtual buffer" completions.
10017 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
10019         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10020         also in case of (and (not full) (not wildcard)).  This is needed
10021         when dired is called with a list of files, which are not in
10022         `default-directory'.  (Bug#5478)
10024 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10026         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10028 2010-02-02  Juri Linkov  <juri@jurta.org>
10030         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10031         from unidiff to allow function-line after @@.
10033 2010-02-02  Juri Linkov  <juri@jurta.org>
10035         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10036         '(RCS SCCS) with inverted condition.
10038 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
10040         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10041         messages.
10043 2010-02-01  Juri Linkov  <juri@jurta.org>
10045         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10046         compare with "pkunzip" and "pkzip" instead of only "pkzip".
10047         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10048         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
10050 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10052         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10053         (doc-view-revert-buffer): New command.
10054         (doc-view-mode-map): Use it.
10056 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
10058         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10059         pending merge is detected.
10061 2010-01-31  Juri Linkov  <juri@jurta.org>
10063         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10064         beginning of interactive spec like all other grep commands do.
10065         Put "all" in front of "gz".  (Bug#5260)
10067 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
10069         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10071 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
10073         * dirtrack.el (dirtrack): Warn instead of signalling error if the
10074         regexp is incorrect (Bug#5476).
10076 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
10078         * net/tramp.el (tramp-handle-insert-directory): Handle also
10079         symlinks, when FILENAME is not in `default-directory'.
10081 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10083         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10084         FILE is not in `default-directory'.  (Bug#5478)
10086         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10087         of SWITCHES.  Handle the case, FILENAME is not in
10088         `default-directory'.  (Bug#5478)
10089         (tramp-register-file-name-handlers): Add safe-magic property.
10091 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
10093         * arc-mode.el (archive-zip-extract): Quote the argument passed to
10094         unzip (Bug#5475).
10096 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
10098         * progmodes/flymake.el (flymake-allowed-file-name-masks)
10099         (flymake-master-make-header-init): Add other C++ filename masks.
10100         (flymake-find-possible-master-files)
10101         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10103 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10105         Fix some busybox annoyances.
10107         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10108         not responding." string.
10109         (tramp-open-connection-setup-interactive-shell): Dump stty
10110         settings.  Enable "neveropen" arg for all `tramp-send-command'
10111         calls.  Handle "=" in variable values properly.
10112         (tramp-find-inline-encoding): Raise an error, when no encoding is
10113         found.
10114         (tramp-wait-for-output): Check, whether PROC buffer is available.
10115         Remove spurious " ^H" sequences, sent by busybox.
10116         (tramp-get-ls-command): Suppress coloring, if possible.
10118 2010-01-28  Glenn Morris  <rgm@gnu.org>
10120         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
10122         * log-edit.el (log-edit-strip-single-file-name): Add missing
10123         :safe, :group, and :version tags.
10125 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
10127         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10128         buffers.  (Bug#5477)
10130 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
10132         * files.el (delete-directory): Handle moving to trash without
10133         first doing recursion (Bug#5436).
10135 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
10137         * vc-hooks.el (vc-path): Mark as obsolete.
10139 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
10141         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10142         names too.
10144         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10145         for the short log.
10146         (vc-bzr-log-view-mode): Adjust regexp for the above change.
10148 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
10150         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10152         * vc-bzr.el (vc-bzr-revision-table): New function.
10154 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
10156         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10157         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
10159 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
10161         Remove support for adding --signoff on commit.
10162         Future support will use an incompatible generic mechanism.
10163         * vc-git.el (vc-git-add-signoff): Remove variable.
10164         (vc-git-toggle-signoff): Remove function.
10165         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10167         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10168         Rename from xterm-set-background-mode.  Return t if the background mode
10169         was set.
10170         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10171         earlier, call it again in case the background mode has changed.
10173 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
10175         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10176         (Bug#3541).
10178 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
10180         * emacs-lisp/assoc.el (aelement): Doc fix.
10181         (aput, adelete, amake): Use lexical-let (Bug#5450).
10183 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
10185         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10186         is the same as subprogram call, not declaration.  (Bug#5435).
10188 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
10190         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10191         (tramp-smb-maybe-open-connection): Use it.
10193 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
10195         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
10197 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10199         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10200         just because we see "encoding: 8bit".
10201         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10203 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
10205         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10207 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
10209         * jka-compr.el (jka-compr-load): If load-file is not in
10210         load-history, try its file-truename version.  (bug#5447)
10212 2010-01-21  Alan Mackenzie  <acm@muc.de>
10214         Fix a situation where deletion of a cpp construct throws an error.
10215         * progmodes/cc-engine.el (c-invalidate-state-cache):
10216         Before invoking c-with-all-but-one-cpps-commented-out, check that the
10217         special cpp construct is still in the buffer.
10218         (c-parse-state): Record the special cpp with markers, not numbers.
10220 2010-01-21  Kenichi Handa  <handa@m17n.org>
10222         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10223         process last-command-event, as it is now decoded first (Bug#5380).
10225 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
10227         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10229 2010-01-20  Glenn Morris  <rgm@gnu.org>
10231         * indent.el (tab-always-indent): Fix custom-type.
10233 2010-01-19  Alan Mackenzie  <acm@muc.de>
10235         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10236         buffer throws "args out of range".
10237         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10238         playing the role of delimiter.
10240 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
10242         * progmodes/ada-mode.el: Fix bug#5400.
10243         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10244         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10245         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
10246         Improve comments in "is" portion.  Handle null procedure declaration.
10247         (ada-move-to-end): Improve doc string.
10249 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
10251         * ido.el (ido-cur-list): Initialize to nil.
10252         Remove obsolete information from commentary.
10253         (ido-choice-list): Initialize to nil.
10254         (ido-get-bufname): Reject minibuffers.
10255         (ido-make-buffer-list): If "default" is a nonexistent
10256         buffer, ignore it, as per the function's comment.
10257         (ido-kill-buffer-internal): New function.
10258         (ido-kill-buffer-at-head): Use it.
10259         (ido-visit-buffer): Likewise.
10261 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
10263         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10265 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
10267         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10268         Fix typos in chart titles.
10270         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10271         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10272         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10273         (describe-class, eieio-describe-generic, describe-generic):
10274         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10275         (eieio-speedbar-expand):
10276         * emulation/viper-cmd.el (viper-exec-form-in-vi)
10277         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10278         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10279         (viper-del-backward-char-in-replace, viper-backward-indent)
10280         (viper-brac-function, viper-register-to-point, viper-submit-report):
10281         * net/tramp.el (tramp-remote-coding-commands):
10282         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10283         Fix typos in docstrings.
10285 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
10287         * mail/sendmail.el (mail-yank-original): Set the mark if the
10288         specified function for yanking does not do it.
10290 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
10292         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
10294         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10295         resyncing a directory.
10297 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
10299         * progmodes/ada-mode.el: Fix bug#1920.
10300         (ada-ident-re): Delete ., allow multibyte characters.
10301         (ada-goto-label-re): New; matches goto labels.
10302         (ada-block-label-re): New; matches block labels.
10303         (ada-label-re): New; matches both.
10304         (ada-named-block-re): Deleted; callers changed to use
10305         `ada-block-label-re' instead.
10306         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10307         Use `ada-block-label-re'.
10308         (ada-indent-on-previous-lines): Improve handling of goto labels.
10309         (ada-get-indent-block-start): Special-case block label.
10310         (ada-get-indent-label): Split into `ada-indent-block-label' and
10311         `ada-indent-goto-label'.
10312         (ada-goto-stmt-start, ada-goto-next-non-ws):
10313         Optionally ignore goto labels.
10314         (ada-goto-next-word): Simplify.
10315         (ada-indent-newline-indent-conditional): Insert newline before
10316         trying to fix indentation; doc fix.
10318 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
10320         * calc/calc.el (calc-command-flags): Give it an initial value.
10322 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
10324         * files.el (minibuffer-with-setup-hook):
10325         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10326         (artist-key-draw-continously, artist-key-do-continously-continously)
10327         (artist-key-set-point-continously, artist-mouse-draw-continously):
10328         Fix typos in docstrings.
10330 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
10332         * nxml/nxml-mode.el (nxml-extend-after-change-region):
10333         Never return t (Bug#3898).
10335 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
10337         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10338         can parse the output of the external commands (Bug#5279).
10340 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
10342         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10344 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
10346         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10348         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10350         * startup.el (command-line): Remove unused --icon-type arg.
10351         Handle --display arg, passing it to command-line-1 (Bug#5392).
10353 2010-01-16  Mario Lang  <mlang@delysid.org>
10355         * emacs-lisp/chart.el (chart-translate-namezone):
10356         * textmodes/artist.el (artist-compute-popup-menu-table):
10357         Remove duplicated words in doc-strings.
10359 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
10361         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10362         to mairix-search to suppress threading (Bug#5342).
10364 2010-01-15  Kenichi Handa  <handa@m17n.org>
10366         * international/mule-cmds.el (canonicalize-coding-system-name):
10367         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10369 2010-01-15  Glenn Morris  <rgm@gnu.org>
10371         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
10373         * wid-edit.el (widget-keymap): Doc fix.
10375         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10376         former seems to be more widely accepted by various svn versions.
10378 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10380         * find-cmd.el (find-constituents):
10381         * vc-arch.el (vc-arch-root):
10382         * window.el (window-body-height, pop-up-frames):
10383         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10384         * progmodes/ada-stmt.el (ada-if):
10385         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10386         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10387         (ispell-encoding8-command, ispell-aspell-supports-utf8)
10388         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10390         * progmodes/flymake.el (flymake-post-syntax-check):
10391         Fix typo in error message.
10393 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10395         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10396         which is always a string.  (Bug#5313)
10398 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10400         * progmodes/ada-xref.el (ada-default-prj-properties):
10401         Simplify previous change.
10403 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10405         * progmodes/ada-xref.el (ada-default-prj-properties):
10406         Default ada_project_path to $ADA_PROJECT_PATH.
10408 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10410         * progmodes/ada-mode.el (ada-create-keymap):
10411         Override `narrow-to-defun' with `ada-narrow-to-defun'.
10413 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10415         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10416         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10417         (ada-get-current-indent, ada-imenu-generic-expression)
10418         (ada-which-function): Check for it.
10420 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10422         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10423         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10425 2010-01-14  Glenn Morris  <rgm@gnu.org>
10427         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
10429 2010-01-14  Kenichi Handa  <handa@m17n.org>
10431         * composite.el (auto-composition-mode): Make it a buffer local
10432         variable (permanent-local).
10433         (auto-composition-function): Set the default value to
10434         auto-compose-chars.
10435         (auto-composition-mode): Make it a simple function, not a minor mode.
10436         (global-auto-composition-mode): Likewise.
10437         (turn-on-auto-composition-if-enabled): Delete it.
10439 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
10441         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10443 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
10445         * files.el (copy-directory): Compute target for recursive
10446         directories with identical names.  (Bug#5343)
10448 2010-01-12  Glenn Morris  <rgm@gnu.org>
10450         * mail/emacsbug.el (report-emacs-bug-pretest-address):
10451         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10453 2010-01-11  Sam Steingold  <sds@gnu.org>
10455         * imenu.el (imenu-default-create-index-function): Detect infinite
10456         loops caused by imenu-prev-index-position-function.
10458 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10460         * htmlfontify.el (htmlfontify-load-rgb-file)
10461         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10462         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10463         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10464         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10465         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10466         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10467         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10468         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10469         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10470         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10471         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10472         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10473         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10474         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10475         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10476         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10477         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10478         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10479         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10480         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10481         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10482         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10483         backslash-quoting from parentheses, etc.
10485 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
10487         * progmodes/js.el: Autoload javascript-mode alias.
10489 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10491         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10492         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10493         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10494         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10495         Fix typos in docstrings.
10496         (ffap-url-regexp): Doc fix.
10497         (ffap-at-mouse): Fix typo in message.
10499 2010-01-11  Glenn Morris  <rgm@gnu.org>
10501         * version.el (emacs-copyright): Set copyright year to 2010.
10503 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10505         * format.el (format-annotate-function): Only set
10506         write-region-post-annotation-function after running to-fn so as not to
10507         affect nested write-region calls (bug#5273).
10509 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
10511         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10512         wisent/python.el.
10514 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10516         * man.el (Man-goto-section): Signal error if the section is not
10517         found (Bug#5317).
10519 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
10521         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10522         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
10524 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10526         * progmodes/compile.el: Don't treat compile-command as safe if
10527         compilation-read-command might be nil (Bug#4218).
10529 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
10531         * startup.el (command-line-1): Use orig-argi to check for ignored X and
10532         NS options.
10534 2010-01-08  Kenichi Handa  <handa@m17n.org>
10536         * international/fontset.el (build-default-fontset-data):
10537         Exclude characters in scripts kana, hangul, han, or cjk-misc.
10539 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
10541         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10542         to `create-file-buffer' as it expects, not just a buffer name.
10543         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10544         to help uniquify.  (Bug#3224)
10546 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
10548         * font-setting.el (font-setting-change-default-font): Use user-spec
10549         instead of name.
10551 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
10553         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10555 2010-01-05  Tom Tromey  <tromey@redhat.com>
10557         * progmodes/python.el (python-font-lock-keywords):
10558         Handle qualified decorators (Bug#881).
10560 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10562         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10563         in a lightweight checkout.
10565 2010-01-05  Kenichi Handa  <handa@m17n.org>
10567         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10569 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10571         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10573 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
10575         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10576         checkouts.  (Bug#618)
10577         (vc-bzr-log-view-mode): Also highlight the author.
10578         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10579         (vc-bzr-shelve-menu-map):
10580         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10581         (vc-bzr-shelve-apply): Make prompt more explicit.
10583 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
10585         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10586         They are valid characters in URL paths (rfc3986), and at least
10587         Firefox does not understand the encoded version (Bug#3166).
10589 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
10591         * progmodes/octave-mod.el (octave-end-keywords)
10592         (octave-block-begin-or-end-regexp, octave-block-match-alist):
10593         Add "end" keyword (Bug#3061).
10594         (octave-end-as-array-index-p): New function.
10595         (calculate-octave-indent): Use it.
10597 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10599         * bookmark.el: Consistently put the text property on the bookmark name.
10600         (bookmark-bmenu-marks-width): Bump back to 2, to include
10601         annotation marks.
10602         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10603         property on the bookmark name, instead of not putting it at all.
10604         (bookmark-bmenu-list): Fix where we put the text property.
10606 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10608         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10609         for showing buffer modified state (as added in the previous change).
10611 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10613         * bookmark.el: Show modified state of bookmark buffer more accurately.
10614         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10615         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10616         (with-buffer-modified-unmodified): New macro.
10617         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10618         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10619         Use new macro to preserve the buffer modified state.
10621 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10623         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10624         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10625         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10626         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10627         (bookmark-bmenu-rename, bookmark-bmenu-locate)
10628         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10629         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10631 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10633         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10634         Make the lines in the generated doc string shorter.  (Bug#4668)
10636 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
10638         * net/rcirc.el: Add follow-link binding (Bug#4738).
10640 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10642         * Makefile.in (bzr-update): Rename from cvs-update.
10643         (cvs-update): New target for backward compatibility.
10645         * makefile.w32-in (bzr-update): Rename from cvs-update.
10646         (cvs-update): New target for backward compatibility.
10648 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10650         * bookmark.el: Remove gratuitous gratitude.
10652 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10654         * bookmark.el (bookmark-bmenu-any-marks): New function.
10655         (bookmark-bmenu-save): Clear buffer modification if no marks.
10657 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10659         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10660         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10661         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10662         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10664         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10665         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10666         To: emacs-devel {_AT_} gnu.org
10667         Subject: bookmark.el bug report
10668         Date: Mon, 28 Dec 2009 14:19:16 +0800
10669         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10671 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10673         * bookmark.el: Improvements suggested by Drew Adams:
10674         (bookmark-bmenu-ensure-position): New name for
10675         `bookmark-bmenu-check-position'.  Just ensure the position,
10676         don't return any meaningful value.
10677         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10678         New constants.
10680 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
10682         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10683         (bookmark-yank-point, bookmark-bmenu-check-position):
10684         Fix typos in docstrings.
10685         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10686         (bookmark-name-from-full-record, bookmark-get-position)
10687         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10688         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10689         Remove useless quoting of parenthesis, etc. in docstrings.
10691         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10692         (ediff-append-custom-diff): Fix typo in error message.
10693         (ediff-meta-mark-equal-files): Fix typos in messages.
10695         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10697         * net/imap-hash.el (imap-hash-make): Doc fix.
10698         (imap-hash-test): Fix typo in error message; reflow docstring.
10699         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10700         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10701         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10702         Fix typos in docstrings.
10703         (imap-hash-open-connection): Fix typo in error message.
10705         * play/gomoku.el (gomoku): Fix typos in docstring.
10707         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10708         (gdb-jsonify-buffer): Fix typos in docstring.
10709         (gdb-goto-breakpoint): Fix typo in error message.
10710         ("Display Other Windows"): Fix typo in help message.
10711         (gdb-speedbar-expand-node): Fix typo in question.
10713         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10714         (idlwave-html-system-help-location, idlwave-html-help-location)
10715         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10716         (idlwave-help-browser-generic-args, idlwave-help-directory)
10717         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10718         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10719         (idlwave-online-help, idlwave-help-html-link)
10720         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10721         Fix typos in docstrings.
10722         (idlwave-help-with-source, idlwave-help-find-routine-definition):
10723         Reflow docstrings.
10724         (idlwave-help-assistant-start): Fix typo in error message.
10726         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10727         (octave-electric-space): Fix typos in docstrings.
10729 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
10731         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10733 2010-01-01  Juri Linkov  <juri@jurta.org>
10735         * comint.el (comint-input-ring-size): Make it a defcustom and
10736         increase the default to 500 (Bug#5148).
10738 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
10740         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10741         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10742         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10744 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
10746         Show working revision correctly for mercurial.
10747         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10748         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10750 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
10752         Declare some functions for the byte-compiler.
10753         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10754         (speedbar-timer-fn, speedbar-change-expand-button-char)
10755         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10757 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
10759         This changeset reverts GDB Graphical Interface to use annotations.
10760         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10762 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
10764         Make vc-dir work on subdirectories of the bzr root.
10765         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10766         Return file names relative to it.
10767         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10768         relative directory to vc-bzr-after-dir-status.
10770 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
10772         * font-lock.el (font-lock-refresh-defaults): New function, which
10773         can be used to let font-lock react to external changes in
10774         variables like font-lock-defaults and keywords.
10775         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10777 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
10779         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10781         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10783 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
10785         Supersede color.diff settings in git log (bug#5211).
10787         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10788         escape chars in its output when the user has color.diff set to `always'.
10789         This fix works on git 1.4.2 and newer (released on 2006-08-13).
10791 2009-12-26  Kevin Ryde  <user42@zip.com.au>
10793         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10794         node.  Keep previous "Index" name to work with past coreutils too.
10796         * man.el (man): Revise docstring a bit to show -a and -l as
10797         examples.  Add -k description since support for it has otherwise
10798         been a secret.  (Further to bug#3717.)
10799         (Man-bgproc-sentinel): When "-k foo" produces no output show error
10800         "no matches" rather than "Can't find manpage", as the latter reads
10801         like -k was interpreted as a page name, which is not so.  (Bug#5431)
10803 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
10805         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10806         switches.  Check also for //SUBDIRED// line.
10808 2009-12-25  Kenichi Handa  <handa@m17n.org>
10810         * language/indian.el (devanagari-composable-pattern): Fixed to
10811         handle ZWNJ and ZWJ.  Use it in composition-function-table for
10812         Devanagari.
10813         (malayalam-composable-pattern): Fix previous change.
10815 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10817         * ps-print.el (ps-face-attributes): It was not returning the
10818         attribute face for faces specified as string.  Reported by harven
10819         <harven@free.fr>.  (Bug#5254)
10820         (ps-print-version): New version 7.3.5.
10822 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
10824         * calendar/icalendar.el (icalendar--convert-tz-offset):
10825         Fixed timezone names.
10826         (icalendar--convert-tz-offset): Fixed the "last-day-problem".
10827         (icalendar--add-diary-entry): Remove the trailing blank that
10828         diary-make-entry inserts.
10830 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
10832         Make `file-expand-wildcards' work for remote files.
10834         * files.el (file-expand-wildcards): In case of remote files, check
10835         only local file name part for wildcards.  Provide feature 'files
10836         and subfeature 'remote-wildcards.  (Bug#5198)
10838         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10839         if there is already an established connection.
10840         (tramp-advice-file-expand-wildcards): Remove it.
10842         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10843         (tramp-advice-file-expand-wildcards): Move from tramp.el.
10844         Activate advice for older GNU Emacs versions.  (Bug#5237)
10846 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
10848         Some doc fixes (more needed).
10850         * find-cmd.el (find-constituents): Reflow docstring.
10851         (find-cmd, find-prune, find-command): Fix typos in docstrings.
10852         (find-generic): Doc fix.
10854 2009-12-17  Juri Linkov  <juri@jurta.org>
10856         Fix regression from 23.1 to allow multiple modes in Local Variables.
10858         * files.el (hack-local-variables-filter): While ignoring duplicates,
10859         don't take `mode' into account.
10860         (hack-local-variables-filter, hack-dir-local-variables):
10861         Don't remove duplicate `mode' from local-variables-alist (like `eval').
10863 2009-12-17  Juri Linkov  <juri@jurta.org>
10865         Make `dired-diff' safer.  (Bug#5225)
10867         * dired-aux.el (dired-diff): Signal an error when `file' equals to
10868         `current' or when `file' is a directory of the `current' file.
10870 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
10872         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10873         unconditionally preloaded files.
10875 2009-12-16  Juri Linkov  <juri@jurta.org>
10877         Revert to old 23.1 logic of using the file at the mark as default.
10878         * dired-aux.el (dired-diff): Use the file at the mark as default
10879         if it's not the same as the current file, and the target dir is
10880         the current dir or the mark is active.  Add the current file
10881         as the arg of `dired-dwim-target-defaults'.  Use the default file
10882         in the prompt.  (Bug#5225)
10884 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
10886         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10887         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10888         (tramp-check-for-regexp): Check also, when an echoing shell stops
10889         to echo sent commands.
10891 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10893         * Makefile.in: Revert last change (Bug#5191).
10895 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
10897         * vc-hg.el (vc-hg-print-log): Fix argument order.
10898         (vc-hg-working-revision): Make sure the command is executed in a
10899         known environment so that we can parse the output.  (Bug#4417)
10901 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10903         * progmodes/python.el (python-symbol-completions): Remove text
10904         properties from symbol string before calling python-send-receive.
10906 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
10908         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10909         when there are values for both file and line.  (Bug#5060)
10911 2009-12-14  Juri Linkov  <juri@jurta.org>
10913         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10914         whitespace after the file name of the first line of unified format,
10915         because git-diff doesn't output whitespace and file modification time
10916         after the file name.
10918 2009-12-14  David Kastrup  <dak@gnu.org>
10920         * info.el (Info-hide-cookies-node): Before hiding a cookie,
10921         check if it already has the `display' property added by
10922         `Info-display-images-node', and not put the `invisible' property
10923         in this case.
10925 2009-12-13  Glenn Morris  <rgm@gnu.org>
10927         * mail/emacsbug.el (message-sort-headers): Define for compiler.
10928         (report-emacs-bug): In message-mode, sort manually before storing
10929         original report text.  (Bug#5178)
10930         Remove superfluous save-excursion.
10932 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
10934         * net/dbus.el (dbus-property-handler): Filter lambda forms out
10935         when responding to "GetAll" properties.
10937 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
10939         * simple.el (compose-mail): Remove mail-setup-with-from from
10940         customization checks.
10942 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
10944         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10945         RAR archives created on Unix systems.
10947 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10949         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10950         the varalias that was accidentally removed by the 2009-11-19 change
10951         (bug#5186).
10953 2009-12-12  Kenichi Handa  <handa@m17n.org>
10955         * language/indian.el (indian-compose-regexp): New function.
10956         (malayalam-composable-pattern): Fix the pattern.
10957         (composition-function-table): Set malayalam-composable-pattern for
10958         Malayalam characters.
10960 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
10962         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10963         rather than down-mouse-1, based on follow-link conventions.
10965         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10966         are compiled.
10968 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
10970         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10971         (verilog-vmm-statement-re, verilog-ovm-statement-re)
10972         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10973         (verilog-leap-to-head, verilog-backward-token):
10974         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
10976 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
10978         * progmodes/verilog-mode.el (verilog-auto-lineup)
10979         (verilog-nameable-item-re): Cleanup user-visible spelling and
10980         documentation errors.  One reported by Gary Delp.
10981         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10982         (verilog-read-decls): Fix AUTOWIRE with types declared in a
10983         package, bug195.  Reported by Pierre-David Pfister.
10985 2009-12-11  Glenn Morris  <rgm@gnu.org>
10987         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10989         * mail/emacsbug.el: No longer require sendmail.
10990         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
10991         (report-emacs-bug-orig-text): Doc fix.
10992         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10993         New local variables, to adapt to different mail-user-agents.
10994         (report-emacs-bug): Fix test for a gnu.org address.
10995         Use overlays for emphasis, since font-lock defeats 'face property.
10996         Pretest bugs also end up at the newsgroup these days.
10997         Stop message-mode stripping text properties.
10998         Set and use the new buffer-local variables.
10999         (report-emacs-bug-hook): Add doc-string.
11000         Remove some unnecessary save-excursions and simplify.
11001         Use the appropriate hook and send-command.
11003         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11004         capitalization of some menu entries.
11006 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11008         * whitespace.el (whitespace-display-char-on):
11009         Ensure `buffer-display-table' is unique when two or more windows are
11010         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11011         New version 12.1.
11013 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
11015         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11016         characters in the Attribute field.
11018 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
11020         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
11022 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11024         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11025         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11026         Disregard autoload-excludes.
11027         (update-directory-autoloads): Obey autoload-excludes here instead.
11028         But don't store its contents in no-autoloads and remove entries that
11029         refer to excludes files.
11031 2009-12-10  Glenn Morris  <rgm@gnu.org>
11033         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11034         (expand-mail-aliases): Define for compiler.
11036         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11037         Define for compiler.
11039         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11040         appropriate for the mail-user-agent in use.
11042 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
11044         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11046 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
11048         Fix short log parsing and fontification.
11049         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11050         Fix fontification for the [merge] label.
11052 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
11054         Drop some properties to avoid surprises (bug#5002).
11055         * htmlfontify.el (hfy-ignored-properties): New defcustom.
11056         (hfy-fontify-buffer): Use it.
11058 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11060         Minor cleanup.
11061         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11062         Adjust all callers.
11063         (ffap-locate-file): Remove unused arg `dir-ok' and make other
11064         args compulsory.  Adjust callers.
11065         (ffap-gopher-at-point): Remove unused var `name'.
11067         Get rid of the ELCFILES abomination.
11068         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11069         (compile-elcfiles): New phony target.
11070         (compile-main): Compute ELCFILES dynamically.
11071         (compile-clean): New target to remove left-over elc files.
11072         (compile, all): Use it.
11074 2009-12-09  Kenichi Handa  <handa@etlken>
11076         * international/mule-diag.el: Require help-mode instead of help-fns.
11078 2009-12-09  Kenichi Handa  <handa@m17n.org>
11080         * international/mule-cmds.el (ucs-names): Supply sufficiently
11081         fine ranges instead of pre-calculating accurate ranges.
11082         Iterate with bigger gc-cons-threshold.
11084 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
11086         Add support for stashing a snapshot of the current tree.
11087         * vc-git.el (vc-git-stash-snapshot): New function.
11088         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11090 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
11092         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11093         instead of `(beginning|end)-of-line'.
11095 2009-12-08  Glenn Morris  <rgm@gnu.org>
11097         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11099         * Makefile.in (ELCFILES): Regenerate.
11101 2009-12-07  Juri Linkov  <juri@jurta.org>
11103         Don't lazy-highlight the comint output in history Isearch mode.
11105         * comint.el (comint-history-isearch-search): Instead of
11106         `comint-line-beginning-position', use `comint-after-pmark-p'
11107         to check if point if before the process mark, and go to
11108         `process-mark' in this case.
11110 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11112         * textmodes/tex-mode.el (latex-complete)
11113         (latex-indent-or-complete): Remove.
11114         (latex-mode): Set completion-at-point-functions instead.
11116         Provide a standard completion command and hook it into TAB.
11117         * minibuffer.el (completion-at-point-functions): New var.
11118         (completion-at-point): New command.
11119         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11120         * progmodes/python.el (python-mode-map): Use completion-at-point.
11121         (python-completion-at-point): Rename from python-partial-symbol and
11122         adjust for use in completion-at-point-functions.
11123         (python-mode): Setup completion-at-point for Python completion.
11124         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11125         extracted from lisp-complete-symbol.
11126         (lisp-complete-symbol): Use it.
11127         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11128         setup completion-at-point for Elisp completion.
11129         (emacs-lisp-mode-map, lisp-interaction-mode-map):
11130         Use completion-at-point.
11131         * ielm.el (ielm-map): Use completion-at-point.
11132         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11133         * progmodes/sym-comp.el: Move to...
11134         * obsolete/sym-comp.el: Move from progmodes.
11136 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
11138         Prevent save-buffer in Rmail buffers from using the coding-system
11139         of the current message, and from clobbering the encoding mnemonics
11140         in the mode line (Bug#4623).
11142         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11143         flag, too.
11144         (rmail-message-encoding): New variable.
11145         (rmail-write-region-annotate): Record the encoding of the current
11146         message in rmail-message-encoding.
11147         (rmail-after-save-hook): New function, restores the encoding of
11148         the current message after the message collection is saved.
11150 2009-12-07  Juri Linkov  <juri@jurta.org>
11152         * progmodes/grep.el (grep-read-files): Use `completing-read'
11153         instead of `read-string'.  Set its `collection' arg to
11154         `read-file-name-internal'.  (Bug#4301)
11156 2009-12-07  Juri Linkov  <juri@jurta.org>
11158         Correctly restore original Isearch point.  (Bug#4994)
11160         * isearch.el (isearch-mode): Move `isearch-push-state' after
11161         `(run-hooks 'isearch-mode-hook)'.
11162         (isearch-cancel): When `isearch-push-state-function' is defined,
11163         let-bind `isearch-cmds' to the first state (the last element of
11164         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11165         function and restores the original point).  Otherwise, move point
11166         to `isearch-opoint'.
11168 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11170         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11171         chars that don't have names, so the table can be built much faster at
11172         run-time.
11174 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
11176         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11177         change.  Suggested by David Kastrup.
11179         * simple.el (compose-mail): Check for incompatibilities and warn.
11180         (compose-mail-user-agent-warnings): New option.
11182 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11184         Support showing a single log entry from vc-annotate.
11185         * vc.el (print-log): Add a new argument: START-REVISION.
11186         (vc-print-log-internal): Add a new optional argument and
11187         pass it to the backend.
11188         (vc-print-log, vc-print-root-log): Adjust callers.
11189         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11190         buffer already displays the requested log entry, use it.
11191         Otherwise display only the log entry in question.
11192         * vc-svn.el (vc-svn-print-log):
11193         * vc-mtn.el (vc-mtn-print-log):
11194         * vc-hg.el (vc-hg-state):
11195         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11196         (vc-git-show-log-entry): Return t on success.
11197         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11198         (vc-bzr-show-log-entry): Return t on success.
11199         * vc-rcs.el (vc-rcs-print-log):
11200         * vc-sccs.el (vc-sccs-print-log):
11201         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11203 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11205         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11206         Add menus to the meta mode.  (Bug#5043)
11208 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11210         * ediff-init.el (ediff-event-key): Use event-to-character instead of
11211         event-key.
11213         * ediff.el (ediff-buffers-internal): Add unwind-protect.
11215 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
11217         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
11218         Berbain <raphael.berbain@gmail.com>.
11220         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
11221         characters.
11222         (tramp-initial-end-of-output): New defconst.
11223         (tramp-methods, tramp-find-shell)
11224         (tramp-open-connection-setup-interactive-shell)
11225         (tramp-maybe-open-connection): Use it.
11226         (tramp-shell-prompt-pattern, tramp-wait-for-output):
11227         Handle existence of `#' and `$'.
11229         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
11230         Use `tramp-initial-end-of-output'.
11232 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11234         Get the background mode from the terminal for xterm, and set
11235         faces accordingly.
11236         * term/xterm.el (xterm-set-background-mode): New function.
11237         (terminal-init-xterm): Use it in case xterm supports background
11238         color queries.  Recompute faces after getting the background
11239         color.
11241 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
11243         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11244         number comment back on its own line, for easier parsing.
11246 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11248         Make it work for non-file buffers (bug#5102).
11249         * doc-view.el (doc-view-current-cache-dir):
11250         Use doc-view-buffer-file-name rather than buffer-file-name.
11251         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11253 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
11255         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11256         author field is too short.
11258 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
11260         * vc-git.el (vc-git-print-log): Handle a limit argument.
11261         Display the short log in graph form and with labels.
11262         (vc-git-log-view-mode): Handle labels.
11264         Make vc-revert change VC state from 'added to 'unregistered.
11265         * vc-git.el (vc-git-revert): Call git reset first.
11267 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11269         * net/newst-backend.el, net/newst-plainview.el:
11270         * net/newst-reader.el, net/newst-ticker.el:
11271         * net/newst-treeview.el, net/newsticker.el:
11272         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
11274 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11276         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11278         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11279         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
11280         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11281         Update annotation regexp.
11283         * simple.el (beginning-of-visual-line): Constrain to field
11284         boundaries (Bug#5106).
11286 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11288         * xml.el (xml-substitute-numeric-entities):
11289         Move newsticker--decode-numeric-entities in newst-backend.el to
11290         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11291         * net/newst-backend.el (newsticker--parse-generic-feed)
11292         (newsticker--parse-generic-items)
11293         (newsticker--decode-numeric-entities):
11294         Move newsticker--decode-numeric-entities in newst-backend.el to
11295         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11297 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
11299         * progmodes/js.el (js--js-not): Add null to the list of values.
11301 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11303         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11305 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11307         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11308         delimiter if it is at the end of the current line.
11309         (bibtex-generate-url-list): Fix docstring.
11311 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11313         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11314         minibuffer's content with itself.
11315         Fold the confirm-after-completion case into the `confirm' case.
11316         (completion-pcm-word-delimiters): Add : and / to the delimiters.
11318 2009-12-06  Kevin Ryde  <user42@zip.com.au>
11320         * ffap.el (ffap-rfc-path): Make this a defcustom since
11321         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
11323         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11324         manuals, similar to existing setup for help-mode.  (Bug#3913.)
11326 2009-12-05  Juri Linkov  <juri@jurta.org>
11328         Save and restore dired buffer's point positions too.  (Bug#4880)
11330         * dired.el (dired-save-positions): Return in the first element
11331         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11332         Doc fix.
11333         (dired-restore-positions): First restore buffer's position.
11334         While restoring window's positions, check if window still displays
11335         the original buffer.
11337 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
11339         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11340         if possible.
11342         * shell.el (shell): Require ansi-color (Bug#5113).
11344         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11346         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11348 2009-12-05  Alan Mackenzie  <acm@muc.de>
11350         * progmodes/cc-mode.el (c-before-hack-hook)
11351         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11352         `c-file-style' to work again.  This reversion restores the current
11353         software to its state in Emacs 23.1.  (Bug#4146)
11355 2009-12-05  Kevin Ryde  <user42@zip.com.au>
11357         * textmodes/sgml-mode.el (sgml-lexical-context):
11358         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11360 2009-12-05  Juri Linkov  <juri@jurta.org>
11362         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11363         for virtual nodes.  (Bug#4147)
11364         (Info-find-node-2): Set `Info-current-node-virtual' to nil
11365         when moving from a virtual node.
11366         (Info-mode-menu): Add `Info-virtual-index' to the menu.
11367         (Info-mode): Add `Info-virtual-index' to the docstring.
11369 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11371         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11372         track of the buffer position of the end of a BibTeX entry as this
11373         position may change during reformatting.
11374         (bibtex-format-entry): Remove whitespace before processing
11375         numerical fields so that we recognize the latter properly.
11376         (bibtex-reformat): Do not use push which changes the global value
11377         of bibtex-entry-format.
11378         (bibtex-field-braces-alist, bibtex-field-strings-alist)
11379         (bibtex-field-re-init): Replace only space characters by regexp
11380         for whitespace.
11381         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11382         (bibtex-initialize): Also update bibtex-strings.
11383         (bibtex-kill-field): Preserve white space at end of entry.
11384         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11385         Update bibtex-reference-keys.
11387 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11389         * minibuffer.el (completion-pcm--merge-try): Also consider placing
11390         point after a star, if that's the only place where modifications can
11391         make progress.
11393 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
11395         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11396         in docstrings.
11398 2009-12-04  Juri Linkov  <juri@jurta.org>
11400         * proced.el (proced): Call `(proced-update t)' to update process
11401         information instead of only running proced-post-display-hook.
11402         (proced-send-signal): Add a leading space to the buffer name
11403         " *Marked Processes*" to make this buffer ephemeral.
11405 2009-12-04  Juri Linkov  <juri@jurta.org>
11407         * dired.el (dired-auto-revert-buffer): New defcustom.
11408         (dired-internal-noselect): Use it.
11410 2009-12-04  Juri Linkov  <juri@jurta.org>
11412         Change roles of modes and functions in image-mode.el (Bug#5062).
11414         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11415         in `auto-mode-alist'.
11416         (image-mode-previous-major-mode): New variable.
11417         (image-minor-mode-map): Rename from `image-mode-text-map'.
11418         (image-mode): Move graceful error-handling code from
11419         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
11420         (image-minor-mode): Remove all image-handling code.
11421         Replace `image-mode-text-map' with `image-minor-mode-map'.
11422         Check for `image-type' in mode-line format string.
11423         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11424         (image-mode-as-text): New function with most code from
11425         `image-mode-maybe'.
11426         (image-toggle-display-text): Move code that removes image
11427         properties from `image-toggle-display' to here.
11428         (image-toggle-display-image): New function with code that adds
11429         image properties copied from `image-toggle-display'.
11430         (image-toggle-display): Remove most code with leaving only code
11431         that toggles between `image-mode-as-text' and `image-mode'.
11433 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
11435         * net/newst-treeview.el
11436         (newsticker--treeview-list-highlight-start): Restored call to
11437         save-excursion: Selected item was stuck.
11438         (newsticker--treeview-list-select): New.
11439         (newsticker--treeview-item-show-text)
11440         (newsticker--treeview-item-show)
11441         (newsticker--treeview-item-update): Use new
11442         newsticker-treeview-item-mode.
11443         (newsticker-treeview-update): Keep current item.
11444         (newsticker-treeview-next-new-or-immortal-item): Doc change.
11445         (newsticker--treeview-first-feed): Doc change.
11446         (newsticker-treeview-list-menu)
11447         (newsticker-treeview-item-menu): Added menu entries.
11448         (newsticker-treeview-item-mode): New.
11450         * net/newst-backend.el (newsticker-customize): Delete other
11451         windows.
11453 2009-12-04  Sam Steingold  <sds@gnu.org>
11455         * log-view.el (log-view-mode-map): "q" calls quit-window,
11456         like in all the other non-self-insert buffers.
11458 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11460         Minor cleanup.
11461         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11462         key decoding rather than do it manually via last-input-event +
11463         ascii-character.
11464         (term-exec): Use delete-and-extract-region.
11465         (term-handle-ansi-terminal-messages): Remove unused var `end'.
11466         (term-process-pager): Remove unused var `i'.
11467         (term-dynamic-simple-complete): Make obsolete.
11468         (serial-update-config-menu): Remove unused vars `y' and `str'.
11469         (term-update-mode-line): Remove unused var `temp'.
11471 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11473         Limit the number of log entries displayed by default.
11474         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11475         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11476         using a prefix argument.
11478 2009-12-03  Glenn Morris  <rgm@gnu.org>
11480         * progmodes/idlwave.el (class): Restore still useful declaration.
11482 2009-12-03  Alan Mackenzie  <acm@muc.de>
11484         Enhance `c-parse-state' to run efficiently in "brace deserts".
11486         * progmodes/cc-mode.el (c-basic-common-init):
11487         Call c-state-cache-init.
11488         (c-neutralize-syntax-in-and-mark-CPP): Rename from
11489         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
11490         placing `category' properties value 'c-cpp-delimiter at its boundaries.
11492         * progmodes/cc-langs.el (c-before-font-lock-function):
11493         c-extend-and-neutralize-syntax-in-CPP has been renamed
11494         c-neutralize-syntax-in-and-mark-CPP.
11496         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11497         with `category' properties now, not `syntax-table' ones.
11499         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11500         enhanced (but slower) version of c-end-of-macro that won't land
11501         inside a literal or on another awkward character.
11502         (c-state-cache-too-far, c-state-cache-start)
11503         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11504         (c-state-nonlit-pos-cache-limit, c-state-point-min)
11505         (c-state-point-min-lit-type, c-state-point-min-lit-start)
11506         (c-state-min-scan-pos, c-state-brace-pair-desert)
11507         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11508         buffer local variables.
11509         (c-state-literal-at, c-state-lit-beg)
11510         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11511         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11512         (c-state-cache-top-paren, c-state-cache-after-top-paren)
11513         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11514         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11515         (c-renarrow-state-cache)
11516         (c-append-lower-brace-pair-to-state-cache)
11517         (c-state-push-any-brace-pair, c-append-to-state-cache)
11518         (c-remove-stale-state-cache)
11519         (c-remove-stale-state-cache-backwards, c-state-cache-init)
11520         (c-invalidate-state-cache-1, c-parse-state-1)
11521         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11522         (c-parse-state): Enhance and refactor.
11523         (c-debug-parse-state): Amend to deal with all the new variables.
11525         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11526         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11527         modify to use category text properties rather than syntax-table ones.
11528         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11529         to switch off/on the syntactic paren property of C++ template
11530         delimiters using the category property.
11531         (c-with-<->-as-parens-suppressed): Macro to invoke code with
11532         template delims suppressed.
11533         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11534         New constant/macros which apply category properties to the start
11535         and end of preprocessor constructs.
11536         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11537         "comment out" the syntactic value of characters in preprocessor
11538         constructs.
11539         (c-with-cpps-commented-out)
11540         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11541         with characters in all or all but one preprocessor constructs
11542         "commented out".
11544 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11546         * proced.el (proced-filter-alist): Use regexp-quote.
11548 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
11550         Cleanup.
11551         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11552         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
11553         arguments.  Expand `default-directory'.
11555         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11556         the benefit of returning an expanded localname.
11557         (tramp-tramp-file-p): Handle the case NAME is not a string.
11559 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11561         Add support for bzr shelve/unshelve.
11562         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11563         (vc-bzr-extra-menu-map): New variables.
11564         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11565         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11566         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11567         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11568         (vc-bzr-dir-extra-headers): Display shelves.
11570         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11572 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11574         * textmodes/bibtex.el (bibtex-complete-internal):
11575         Use completion-in-region.
11576         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11578 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11580         Support applying stashes.  Improve UI.
11581         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11582         (vc-git-stash-apply, vc-git-stash-pop)
11583         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11584         (vc-git-stash-menu): New functions.
11585         (vc-git-stash-menu-map): New variable.
11586         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11588 2009-12-03  Glenn Morris  <rgm@gnu.org>
11590         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11591         (vc-print-log-internal): Fix previous change.
11592         (vc-revert): Correct pluralization.
11594 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11596         * progmodes/make-mode.el (makefile-special-targets-list): No need for
11597         it to be an alist any more.
11598         (makefile-complete): Use completion-in-region.
11600         * progmodes/octave-mod.el (octave-complete-symbol):
11601         Use completion-in-region.
11603         Misc cleanup.
11604         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11605         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11606         (idlwave-complete-class): Don't quote lambda.
11607         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11608         (idlwave-mode-map): Move initialization into declaration.
11609         (idlwave-action-and-binding): Use backquotes.
11610         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11611         Simplify.
11612         (idlwave-is-pointer-dereference): Remove unused var `pos'.
11613         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11614         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11615         `parts', and `all-parts'.
11616         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11617         (idlwave-convert-xml-system-routine-info): Remove unused string
11618         `version-string'.
11619         (idlwave-display-user-catalog-widget): Use dolist.
11620         (idlwave-scanning-lib): Declare dynamically-scoped var.
11621         (idlwave-scan-library-catalogs): Remove unused var `flags'.
11622         (completion-highlight-first-word-only): Declare to silence bytecomp.
11623         (idlwave-popup-select): Tighten scope of `resp'.
11624         (idlwave-find-struct-tag): Remove unused var `beg'.
11625         (idlwave-after-load-rinfo-hook): Declare.
11626         (idlwave-sintern-class-info): Remove unused var `taglist'.
11627         (idlwave-find-class-definition): Remove unused var `list'.
11628         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11629         (idlwave-what-module-find-class): Remove unused var `classes'.
11631 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
11633         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11635 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11637         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11638         buffers visited.  Remove redundant current-buffer-saving.
11640 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11642         Use completion-in-buffer and remove uses of dynamic scoping.
11643         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11644         (pascal-buffer-to-use, pascal-flag): Don't declare.
11645         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11646         (pascal-get-completion-decl, pascal-keyword-completion):
11647         Add `pascal-str' argument, save-excursion,
11648         return the found completions, and don't filter with pascal-pred.
11649         (pascal-completion-cache): New var.
11650         (pascal-completion): Don't switch buffer any more (it was never
11651         necessary).  Don't save-excursion any more (it's done by the called
11652         subroutines).  Use a cache to avoid redundant computations.
11653         Use complete-with-action rather than pascal-completion-response and
11654         let it apply the predicate as well.
11655         (pascal-complete-word): Use completion-in-buffer when
11656         pascal-toggle-completions is nil.
11657         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11658         not used any more.
11659         (pascal-comp-defun): Don't change buffer any more.
11660         Use complete-with-action rather than pascal-completion-response and
11661         let it apply the predicate as well.
11662         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11663         when neded.
11665 2009-12-02  Kenichi Handa  <handa@m17n.org>
11667         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11668         shape for all Indic scripts.
11670 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11672         Use completion-in-buffer.
11673         * wid-edit.el (widget-field-text-end): New function.
11674         (widget-field-value-get): Use it.
11675         (widget-string-complete, widget-file-complete)
11676         (widget-color-complete): Use it and completion-in-region.
11677         (widget-complete): Don't narrow the buffer.
11679 2009-12-02  Glenn Morris  <rgm@gnu.org>
11681         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
11682         (rmail-select-summary): Use rmail-pop-to-buffer.
11683         * mail/rmailsum.el: Replace all pop-to-buffer calls with
11684         rmail-pop-to-buffer, to prevent horizontal splits.
11686         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11687         save-excursion with save-current-buffer.
11688         Widen before searching.  (Bug#5093)
11689         (diary-list-sexp-entries): Remove superfluous save-excursion.
11691 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
11693         * woman.el (woman-make-bufname): Handle man-pages with "." in the
11694         name.  (Bug#5038)
11696 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
11698         * ido.el (ido-file-internal): Handle filenames at point that do
11699         not have a directory part.  (Bug#5049)
11701 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
11703         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11704         (mpc-songs-jump-to, mpc-resume): Doc fixes.
11706 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
11708         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11709         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11710         any more.
11712 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11714         * comint.el (comint-insert-input): Ignore clicks to the right of
11715         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11717         * vc.el (vc-print-log-internal): Don't wait for the process to
11718         terminate before setting up the major mode.
11720         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11721         in case.
11723         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11724         the last element.
11726         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11728 2009-12-01  Glenn Morris  <rgm@gnu.org>
11730         * window.el (window--display-buffer-2): Fix previous changes.
11732 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
11734         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11736 2009-12-01  Glenn Morris  <rgm@gnu.org>
11738         * Makefile.in (ELCFILES): Add mpc.elc.
11740 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11742         * mpc.el: New file.
11744 2009-12-01  Glenn Morris  <rgm@gnu.org>
11746         * window.el (window-to-use): Define for compiler.
11748         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11749         consistent with others (no final period).
11751         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11752         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
11754 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
11756         Make vc-print-log buttons work.
11757         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11759 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
11761         * savehist.el (savehist-autosave-interval): Allow setting to nil
11762         through customize.  (Bug#5056)
11764 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
11766         Fix references to jit-lock properties.
11767         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11768         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11769         (perl-font-lock-special-syntactic-constructs):
11770         Quote jit-lock-defer-multiline property.
11772 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
11774         * vc-git.el (vc-git-registered): Call vc-git-root only once.
11776 2009-11-30  Juri Linkov  <juri@jurta.org>
11778         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11779         value `buffer' of `multi-isearch-next-buffer-current-function'.
11780         Use `(current-buffer)' when `buffer' is nil.
11781         (multi-isearch-next-buffer-from-list): Don't fallback to
11782         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
11784 2009-11-30  Juri Linkov  <juri@jurta.org>
11786         * misearch.el (multi-isearch-read-buffers): Move canonicalization
11787         of buffers with `get-buffer' to `multi-isearch-buffers'.
11788         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11789         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
11790         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11791         FILES with `expand-file-name' converting relative file names
11792         to absolute.  Doc fix.  (Bug#4727)
11794 2009-11-30  Juri Linkov  <juri@jurta.org>
11796         * misearch.el (multi-isearch-read-buffers)
11797         (multi-isearch-read-matching-buffers): New functions.
11798         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11799         Use them in the `interactive' spec.  Doc fix.
11800         (multi-isearch-read-files, multi-isearch-read-matching-files):
11801         New functions.
11802         (multi-isearch-files, multi-isearch-files-regexp):
11803         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
11805 2009-11-30  Juri Linkov  <juri@jurta.org>
11807         * doc-view.el (doc-view-continuous):
11808         Rename from `doc-view-continuous-mode'.
11809         (doc-view-menu): Move "Toggle display" to the top.
11810         Add submenu "Continuous" with radio buttons "Off"/"On"
11811         and "Save as Default".
11812         (doc-view-scroll-up-or-next-page)
11813         (doc-view-scroll-down-or-previous-page)
11814         (doc-view-next-line-or-next-page)
11815         (doc-view-previous-line-or-previous-page):
11816         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
11818 2009-11-30  Juri Linkov  <juri@jurta.org>
11820         * comint.el (comint-mode-map): Rebind `M-r' from
11821         `comint-previous-matching-input' to
11822         `comint-history-isearch-backward-regexp'.
11823         Unbind `M-s' to allow global key binding `M-s'.
11824         Add menu items for `comint-history-isearch-backward' and
11825         `comint-history-isearch-backward-regexp'.  (Bug#3746)
11827 2009-11-30  Juri Linkov  <juri@jurta.org>
11829         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11830         For def=recenter, replace `recenter' with `recenter-top-bottom'
11831         that is called with `this-command' and `last-command' let-bound
11832         to `recenter-top-bottom'.  When the last `def' was not `recenter',
11833         set `recenter-last-op' to nil.  (Bug#4981)
11835 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11837         Minor cleanup and simplification.
11838         * filecache.el (file-cache-add-directory)
11839         (file-cache-add-directory-recursively)
11840         (file-cache-add-from-file-cache-buffer)
11841         (file-cache-delete-file-regexp, file-cache-delete-directory)
11842         (file-cache-files-matching-internal, file-cache-display): Use dolist.
11843         (file-cache-temp-minibuffer-message): Delete function.
11844         (file-cache-minibuffer-complete): Use minibuffer-message instead.
11846         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11847         Don't signal an error when bumping into EOB in tr, s, or y.
11849 2009-11-29  Juri Linkov  <juri@jurta.org>
11851         * startup.el (fancy-about-text): Fix wording of Guided Tour.
11852         (Bug#4960)
11854         * descr-text.el (describe-char-unidata-list): Use lowercase name
11855         for "Unicode name" like in other tags.
11857 2009-11-29  Juri Linkov  <juri@jurta.org>
11859         * ediff-util.el (ediff-minibuffer-with-setup-hook):
11860         New compatibility macro.
11861         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11863 2009-11-29  Juri Linkov  <juri@jurta.org>
11865         Add defcustom to define the cycling order of `recenter-top-bottom'.
11866         (Bug#4981)
11868         * window.el (recenter-last-op): Doc fix.
11869         (recenter-positions): New defcustom.
11870         (recenter-top-bottom): Rewrite to use `recenter-positions'.
11871         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11873 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
11875         Improve integration of Tramp and ange-ftp in eshell.
11877         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11878         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
11879         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
11881         * eshell/esh-util.el (top): Require also Tramp when compiling.
11882         (eshell-directory-files-and-attributes): Check for FTP remote
11883         connection.
11884         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11885         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11886         (eshell-file-attributes): Handle ".".  Return `entry'.
11888         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11889         (ange-ftp-directory-files-and-attributes)
11890         (ange-ftp-real-directory-files-and-attributes): New defuns.
11892         * net/tramp.el (tramp-maybe-open-connection): Open the remote
11893         shell with "exec" when possible.  This prevents trailing prompts
11894         in `start-file-process'.
11896 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11898         Try and remove assumptions about point-min==1.
11899         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11900         (rng-compute-mode-line-string): Show the validation percentage in
11901         terms of the narrowed text, not the widened text.
11902         (rng-do-some-validation): Don't catch internal errors when debugging.
11903         (rng-first-error): Simplify.
11904         (rng-after-change-function): Remove work around.  AFAIK the bug has
11905         been fixed a while ago.
11907         * image-mode.el (image-minor-mode): Exit more gracefully when the image
11908         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11910         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11912         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11913         `cd' doesn't always do it for us (bug#5067).
11915         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11916         on 2009-10-25 as part of some other change (bug#5067).
11918 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11920         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11921         `suspicious'.
11922         (byte-compile-warnings): Use byte-compile-warning-types.
11923         (byte-compile-save-excursion): Warn about use of set-buffer right
11924         after save-excursion.
11926         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11927         the excursion as well.
11929 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
11931         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11932         providing a Tramp related implementation of "su" and "sudo".
11933         (eshell-unix-initialize): Add "su" and "sudo".
11935 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
11937         * net/socks.el (socks-send-command): Convert binary request to
11938         unibyte before sending.  This fixes mishandling of some port
11939         numbers such as 129.
11941 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11943         * help.el (describe-bindings-internal): Remove `interactive'.
11945         * man.el (Man-completion-table): Trim a terminating "(".
11946         Remove the space between name page a section.
11947         Add the command's description on the `help-echo' property.
11948         Remove `process-connection-type' binding since it's unused by
11949         call-process.
11950         Provide completion for the "<section> <name>" format as well.
11951         (Man-default-man-entry): Remove spurious var shadowing the argument.
11953 2009-11-26  Kevin Ryde  <user42@zip.com.au>
11955         * log-view.el: Add "Keywords: tools", since its other keywords
11956         aren't in finder-known-keywords, and following vc.el.
11958         * sha1.el (sha1-string-external): default-directory "/" in case
11959         otherwise non-existent.  process-connection-type pipe for touch of
11960         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
11962 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11964         Misc coding convention cleanups.
11965         * htmlfontify.el (hfy-init-kludge-hook): Rename from
11966         hfy-init-kludge-hooks.
11967         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11968         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11969         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11970         and push.
11971         (hfy-slant, hfy-weight): Use tables rather than code.
11972         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11973         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11974         (hfy-face-attr-for-class): Initialize `face-spec' directly.
11975         (hfy-face-to-css): Remove `nconc' with single arg.
11976         (hfy-p-to-face-lennart): Use `or'.
11977         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
11978         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11979         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11980         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11981         (hfy-force-fontification): Use run-hooks.
11983 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
11985         Various minor fixes.
11986         * htmlfontify.el (hfy-default-header): Add toggle_invis since
11987         Javascript belongs in the header, not the body.
11988         (hfy-javascript): Remove.
11989         (hfy-fontify-buffer): Don't insert it any more.
11990         (hfy-face-at): Handle (face0 face1 face2) style face properties.
11991         Fix bug in invis handling when there were no invis props in a chunk.
11993 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11995         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11997 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
11999         * finder.el (finder-mode-map): Add a menu.
12001 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
12003         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12004         "unsigned" structs.
12006         (verilog-leap-to-head, verilog-backward-token): Handle "disable
12007         fork" statement better.
12009 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
12011         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12012         (verilog-delete-auto, verilog-delete-empty-auto-pair)
12013         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12014         Reported by Clay Douglass.
12016         (verilog-auto-inst, verilog-auto-star-safe)
12017         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12018         Fix removing "// Interfaces" when saving .* expansions.
12019         Reported by Pierre-David Pfister.
12021 2009-11-26  Glenn Morris  <rgm@gnu.org>
12023         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12024         the scope.
12026 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
12028         * vc-annotate.el (vc-annotate-revision-previous-to-line):
12029         Really use previous revision.
12031 2009-11-25  Kevin Ryde  <user42@zip.com.au>
12033         * man.el (Man-completion-table): default-directory "/" in case
12034         doesn't otherwise exist.  process-environment COLUMNS=999 so as
12035         not to truncate long names.  process-connection-type pipe to avoid
12036         any chance of hitting the pseudo-tty TIOCGWINSZ.
12037         (man): completion-ignore-case t for friendliness and since man
12038         itself is case-insensitive on the command line.
12039         Further to Bug#3717.
12041         * arc-mode.el: Add "Keywords: files", so the details in its
12042         commentary can be reached from finder-by-keyword.
12043         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
12044         editing mode, but it's comms related and sgml-mode.el has "comm"
12045         on that basis too.
12046         * textmodes/bibtex-style.el: Add "Keywords: tex".
12047         * international/isearch-x.el, international/ja-dic-cnv.el:
12048         * international/ja-dic-utl.el, international/kkc.el:
12049         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12051 2009-11-25  Juri Linkov  <juri@jurta.org>
12053         * man.el (Man-completion-table): Modify regexp to include
12054         section names to completion strings.  (Bug#3717)
12056 2009-11-25  Juri Linkov  <juri@jurta.org>
12058         Search recursively in gzipped files.  (Bug#4982)
12060         * progmodes/grep.el (grep-highlight-matches): Add new options
12061         `always' and `auto'.  Doc fix.
12062         (grep-process-setup): Check `grep-highlight-matches' for
12063         `auto-detect' to determine the need to compute grep defaults.
12064         Move Windows/DOS specific --colors settings handling
12065         to `grep-compute-defaults'.  Check `grep-highlight-matches'
12066         to get the value of "--color=".
12067         (grep-compute-defaults): Compute `grep-highlight-matches' when it
12068         has the value `auto-detect'.  Move Windows/DOS specific settings
12069         from `grep-process-setup'.
12070         (zrgrep): New command with alias `rzgrep'.
12072 2009-11-25  Juri Linkov  <juri@jurta.org>
12074         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12075         to nil instead of switching off view-mode.  (Bug#4896)
12077 2009-11-25  Juri Linkov  <juri@jurta.org>
12079         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
12081         * mwheel.el (mwheel-scroll-up-function)
12082         (mwheel-scroll-down-function): New defvars.
12083         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12084         `scroll-up', and `mwheel-scroll-down-function' instead of
12085         `scroll-down'.
12087         * doc-view.el (doc-view-scroll-up-or-next-page)
12088         (doc-view-scroll-down-or-previous-page): Add optional ARG.
12089         Use this ARG in the call to image-scroll-up/image-scroll-down.
12090         Change `interactive' spec to "P".  Goto next/previous page only
12091         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12092         SPC/DEL case).  Doc fix.
12093         (doc-view-next-line-or-next-page)
12094         (doc-view-previous-line-or-previous-page): Rename arg to ARG
12095         for consistency.
12096         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12097         `doc-view-scroll-up-or-next-page', and buffer-local
12098         `mwheel-scroll-down-function' to
12099         `doc-view-scroll-down-or-previous-page'.
12101 2009-11-25  Juri Linkov  <juri@jurta.org>
12103         Provide additional default values (directories at other Dired
12104         windows) via M-n in the minibuffer of some Dired commands.
12106         * dired-aux.el (dired-diff, dired-compare-directories)
12107         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12108         `minibuffer-default' in `minibuffer-with-setup-hook'.
12109         (dired-dwim-target-directory): Find a window that displays Dired
12110         buffer instead of failing when the next window is not Dired.
12111         Use `get-window-with-predicate' to find for the next Dired window.
12112         (dired-dwim-target-defaults): New function.
12114         * ediff-util.el (ediff-read-file-name):
12115         Use `dired-dwim-target-defaults' to set `minibuffer-default'
12116         in `minibuffer-with-setup-hook'.
12118 2009-11-25  Juri Linkov  <juri@jurta.org>
12120         Provide additional default values (file name at point or at the
12121         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
12123         * minibuffer.el (read-file-name-defaults): New function.
12124         (read-file-name): Reset `minibuffer-default' to nil when
12125         it duplicates initial input `insdef'.
12126         Bind `minibuffer-default-add-function' to lambda that
12127         calls `read-file-name-defaults' in `minibuffer-selected-window'.
12128         (minibuffer-insert-file-name-at-point): New command.
12130         * files.el (file-name-at-point-functions): New defcustom.
12131         (find-file-default): Remove defvar.
12132         (find-file-read-args): Don't use `find-file-default'.
12133         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12134         to `read-file-name'.
12135         (find-file-literally): Use `read-file-name' with
12136         `confirm-nonexistent-file-or-buffer'.
12138         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12140         * dired.el (dired-read-dir-and-switches):
12141         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12142         to `read-file-name'.
12143         (dired-file-name-at-point): New function.
12144         (dired-mode): Add hook `dired-file-name-at-point' to
12145         `file-name-at-point-functions'.
12147 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12149         Really make the *Completions* window soft-dedicated (bug#5030).
12150         * window.el (window--display-buffer-2): Add `dedicated' argument.
12151         (display-buffer): Pass it when needed so the dedicated flag is set
12152         after calling set-window-buffer, which would otherwise reset it.
12154 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12156         * progmodes/meta-mode.el (meta-complete-symbol):
12157         * progmodes/etags.el (complete-tag):
12158         * mail/mailabbrev.el (mail-abbrev-complete-alias):
12159         Use completion-in-region.
12161         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12162         (dabbrev-completion): Use completion-in-region.
12163         (dabbrev--abbrev-at-point): Simplify regexp.
12165         * abbrev.el (abbrev--before-point): Use word-motion functions
12166         if :regexp is not specified (bug#5031).
12168         * subr.el (string-prefix-p): New function.
12170         * man.el (Man-completion-cache): New var.
12171         (Man-completion-table): Use it.
12173         * vc.el (vc-print-log-internal): Make `limit' optional for better
12174         compatibility (e.g. with vc-annotate.el).
12176 2009-11-24  Kevin Ryde  <user42@zip.com.au>
12178         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12179         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
12181         * emacs-lisp/elint.el (elint-add-required-env): Better error message
12182         when .el source file not found or other error.
12184 2009-11-24  Markus Triska  <markus.triska@gmx.at>
12186         * linum.el (linum-update-window): Ignore intangible (bug#4996).
12188 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12190         Handle the [back] button properly (bug#4979).
12191         * descr-text.el (describe-text-properties): Add a `buffer' argument.
12192         Use help-setup-xref, help-buffer, and with-help-window.
12193         (describe-char): Add `buffer' argument.
12194         Pass proper command to help-setup-xref.  Don't meddle with
12195         help-xref-stack-item directly.
12196         (describe-text-category): Use with-help-window and help-buffer.
12198         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12199         for the displayed buffer (bug#4887).
12201         * man.el (Man-completion-table): New function.
12202         (man): Use it.
12204 2009-11-24  David Reitter  <david.reitter@gmail.com>
12206         * vc-git.el (vc-git-registered): Use checkout directory (where
12207         .git is) rather than the file's directory and a relative path spec
12208         to work around a bug in git.
12210 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
12212         Improve handling of processes on remote hosts.
12214         * eshell/esh-util.el (eshell-path-env): New defvar.
12215         (eshell-parse-colon-path): New defun.
12216         (eshell-file-attributes): Use `eshell-parse-colon-path'.
12218         * eshell/esh-ext.el (eshell-search-path):
12219         Use `eshell-parse-colon-path'.
12220         (eshell-remote-command): Remove argument HANDLER.
12221         (eshell-external-command): Check for FTP remote connection.
12223         * eshell/esh-proc.el (eshell-gather-process-output):
12224         Use `file-truename', in order to start also symlinked files.
12225         Apply `start-file-process' instead of `start-process'.
12226         Shorten `command' to the local file name part.
12228         * eshell/em-cmpl.el (eshell-complete-commands-list):
12229         Use `eshell-parse-colon-path'.
12231         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12233         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
12234         to `eshell-directory-change-hook'.
12236 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
12238         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12239         because it could be enabled automatically if view-read-only is non-nil.
12241 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
12243         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12244         made on 2009-11-22.
12246 2009-11-24  Glenn Morris  <rgm@gnu.org>
12248         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12249         deleted variable bookmark-bmenu-bookmark-column.
12251 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12253         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12255 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12257         * net/browse-url.el (browse-url-filename-alist): On Windows, add
12258         two slashes to the "file:" prefix.
12259         (browse-url-file-url): De-munge Cygwin filenames before passing
12260         them to Windows browser.
12261         (browse-url-default-windows-browser): Use call-process.
12263 2009-11-23  Juri Linkov  <juri@jurta.org>
12265         Implement DocView Continuous mode.  (Bug#4896)
12266         * doc-view.el (doc-view-continuous-mode): New defcustom.
12267         (doc-view-mode-map): Bind C-n/<down> to
12268         `doc-view-next-line-or-next-page', C-p/<up> to
12269         `doc-view-previous-line-or-previous-page'.
12270         (doc-view-next-line-or-next-page)
12271         (doc-view-previous-line-or-previous-page): New commands.
12273 2009-11-23  Juri Linkov  <juri@jurta.org>
12275         Implement Isearch in comint input history.  (Bug#3746)
12276         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12277         `isearch-mode-hook'.
12278         (comint-history-isearch): New defcustom.
12279         (comint-history-isearch-backward)
12280         (comint-history-isearch-backward-regexp): New commands.
12281         (comint-history-isearch-message-overlay): New buffer-local variable.
12282         (comint-history-isearch-setup, comint-history-isearch-end)
12283         (comint-goto-input, comint-history-isearch-search)
12284         (comint-history-isearch-message, comint-history-isearch-wrap)
12285         (comint-history-isearch-push-state)
12286         (comint-history-isearch-pop-state): New functions.
12288 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
12290         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12291         return.
12292         (tramp-handle-make-symbolic-link)
12293         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12294         Quote file names.
12295         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12296         (tramp-handle-process-file): Use it.
12298 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12300         * window.el (move-to-window-line-last-op): Remove.
12301         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12303 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
12305         Make M-r mirror the new cycling behavior of C-l.
12306         * window.el (move-to-window-line-last-op): New var.
12307         (move-to-window-line-top-bottom): New command.
12308         (global-map): Bind M-r move-to-window-line-top-bottom.
12310 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
12312         * dired-x.el (dired-guess-shell-alist-default):
12313         Support xz format.  (Bug#4953)
12315 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
12317         * emulation/viper-cmd.el: Use viper-last-command-char instead of
12318         last-command-char/last-command-event.
12319         (viper-prefix-arg-value): Do correct conversion of event-char for
12320         XEmacs.
12322         * emulation/viper-util.el, emulation/viper.el:
12323         Use viper-last-command-char instead of
12324         last-command-char/last-command-event.
12326         * ediff-init.el, ediff-mult.el, ediff-util.el:
12327         Replace last-command-char and last-command-event
12328         with (ediff-last-command-char) everywhere.
12330         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12331         created in fundamental mode.
12333         * ediff.el (ediff-version): Revert the change of interactive-p to
12334         called-interactively-p.
12336 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
12338         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12339         generation from word-movement command names.
12341 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
12343         * cus-start.el (all): Add native condition for font-use-system-font.
12345 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
12347         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12348         Correct the patch from 2009-11-18.  (Bug#3910)
12350 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
12352         * progmodes/subword.el: Rename from lisp/subword.el.
12354         * subword.el: Rename to progmodes/subword.el.
12356         * Makefile.in (ELCFILES): Adapt to subword.el move.
12358 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12359             Stefan Monnier  <monnier@iro.umontreal.ca>
12361         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12362         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12363         (bookmark-bmenu-show-filenames): Use push.
12364         (bookmark-bmenu-hide-filenames): Use local var instead of
12365         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
12366         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12367         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12368         filenames now that the bookmark names are always available.
12370 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12372         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12373         (bookmark-search-pattern): Move and leave unbound.
12374         (bookmark-bmenu-mode-map): Change binding.
12375         (bookmark-read-search-input): Simplify.
12376         Don't use text-char-description.  Don't error on non-char events.
12377         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12378         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12379         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12380         Use a local var for the timer.
12381         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12382         (i.e. bookmark-bmenu-search).
12384 2009-11-21  Glenn Morris  <rgm@gnu.org>
12386         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
12388 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12390         * net/browse-url.el (browse-url-default-windows-browser):
12391         Use cygstart for cygwin.
12393 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
12395         * bookmark.el: Formatting and doc fixes only:
12396         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12397         (bookmark-bmenu-search): Wrap to fit within 80 columns.
12398         Minor grammar and punctuation fixes in doc string.
12399         (bookmark-read-search-input): Adjust to fit within 80 columns.
12401 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12403         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12404         (c-backward-into-nomenclature): Adapt to subword renaming.
12406         * subword.el (subword-forward, subword-backward, subword-mark)
12407         (subword-kill, subword-backward-kill, subword-transpose)
12408         (subword-downcase, subword-upcase, subword-capitalize)
12409         (subword-forward-internal, subword-backward-internal):
12410         Rename from forward-subword, backward-subword, mark-subword,
12411         kill-subword, backward-kill-subword, transpose-subwords,
12412         downcase-subword, upcase-subword, capitalize-subword,
12413         forward-subword-internal, backward-subword-internal.
12415 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12417         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12418         New options.
12419         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12420         New vars.
12421         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12422         (bookmark-bmenu-filter-alist-by-regexp)
12423         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12424         (bookmark-bmenu-search): New command.
12425         (bookmark-bmenu-mode-map): Bind it.
12427 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12429         * progmodes/cc-cmds.el: declare-functioned forward-subword and
12430         backward-subword to quit the byte-compiler.
12432         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12434         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12436         * progmodes/cc-cmds.el (c-update-modeline)
12437         (c-forward-into-nomenclature, c-backward-into-nomenclature):
12438         Refer to subword.el functions instead of cc-subword.el.
12440         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12441         subword.el functions instead of cc-subword.el.
12443         * progmodes/cc-subword.el: Rename to subword.el.
12444         * subword.el: Rename from progmodes/cc-subword.el.
12445         (subword-mode-map): Rename from c-subword-mode-map.
12446         (subword-mode): Rename from c-subword-mode.
12447         (global-subword-mode): New global minor mode.
12448         (forward-subword): Rename from c-forward-subword.
12449         (backward-subword): Rename from c-backward-subword.
12450         (mark-subword): Rename from c-mark-subword.
12451         (kill-subword): Rename from c-kill-subword.
12452         (backward-kill-subword): Rename from c-backward-kill-subword.
12453         (transpose-subwords): Rename from c-tranpose-subword.
12454         (downcase-subword): Rename from c-downcase-subword.
12455         (capitalize-subword): Rename from c-capitalize-subword.
12456         (forward-subword-internal): Rename from c-forward-subword-internal.
12457         (backward-subword-internal): Rename from c-backward-subword-internal.
12459 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
12461         * vc.el (vc-deduce-fileset): Allow non-state changing operations
12462         from a dired buffer.
12463         (vc-dired-deduce-fileset): New function.
12464         (vc-root-diff, vc-print-root-log): Use it.
12466         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12467         nil LIMIT argument to vc-print-log-internal.
12469 2009-11-20  Glenn Morris  <rgm@gnu.org>
12471         * Makefile.in (ELCFILES): Regenerate.
12473 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
12475         * calc/calc.el (calc-set-mode-line):
12476         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12477         (math-format-number): Rename `math-format-complement-signed' to
12478         `math-format-twos-complement'.
12480         * calc/calc-bin.el (math-format-twos-complement): Rename from
12481         math-format-complement-signed.
12482         (calc-radix): Rename `calc-complement-signed-mode' to
12483         `calc-twos-complement-mode'.
12484         (calc-octal-radix, calc-hex-radix): Add an argument for
12485         two's complement.
12487         * calc/calc-embed.el (calc-embedded-mode-vars):
12488         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12490         * calc/calc-ext.el (calc-init-extensions):
12491         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12492         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12494         * calc/calc-units.el (math-build-units-table-buffer):
12495         Let `calc-twos-complement-mode' be nil.
12497         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12498         entries.
12500         * calc/calc-vec.el (calcFunc-vunpack):
12501         * calc/calc-aent.el (calc-do-calc-eval):
12502         * calc/calc-forms.el (math-format-date):
12503         * calc/calc-graph.el (calc-graph-plot):
12504         * calc/calc-math.el (math-use-emacs-fn):
12505         * calc/calccomp.el (math-compose-expr):
12506         Let `calc-twos-complement-mode' be nil.
12508 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12510         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12511         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
12512         * minibuffer.el (completion-in-region-functions): New hook.
12513         (completion-in-region): New function.
12514         * emacs-lisp/lisp.el (lisp-complete-symbol):
12515         * pcomplete.el (pcomplete-std-complete): Use it.
12517 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12519         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12520         (latex-complete-alist): New vars.
12521         (latex-string-prefix-p, latex-complete-bibtex-keys)
12522         (latex-complete-envnames, latex-complete-refkeys)
12523         (latex-complete-data): New functions.
12524         (latex-complete, latex-indent-or-complete): New commands.
12526         * window.el (display-buffer-mark-dedicated): New var.
12527         (display-buffer): Obey it.
12528         * minibuffer.el (minibuffer-completion-help): Use it.
12530         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12532         * filecache.el (file-cache-add-file): Use push and cons.
12533         (file-cache-delete-file-regexp): Use push.
12534         (file-cache-complete): Use completion-in-region.
12536         * simple.el (with-wrapper-hook): Fix thinko.
12538         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12539         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12540         Use with-current-buffer and string-to-number.
12541         (hfy-fallback-colour-values): Use assoc-string.
12542         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12543         (hfy-face-at): Remove unused var `found-face'.
12544         (hfy-compile-stylesheet): Remove unused var `css'.
12545         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12546         and `orig-buffer'.
12547         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12548         Use with-current-buffer.
12549         (hfy-text-p): Use expand-file-name and fewer setq.
12551 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
12553         * htmlfontify.el, hfy-cmap.el: New files.
12555 2009-11-19  Juri Linkov  <juri@jurta.org>
12557         * minibuffer.el (completions-format): New defcustom.
12558         (completion--insert-strings): Implement vertical format.
12560         * simple.el (switch-to-completions): Move point to the first
12561         completion when point was at the beginning of the buffer.
12563 2009-11-19  Juri Linkov  <juri@jurta.org>
12565         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
12567         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12569 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
12571         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12572         (mail-signature): Change default to t.
12573         (mail-from-style): Deprecate `system-default' value.
12574         (mail-insert-from-field): For default value of mail-from-style,
12575         default to `angles' unless `angles' needs quoting and `parens'
12576         does not.
12577         (mail-citation-prefix-regexp): Use citation regexp from
12578         message-mode.
12580 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
12582         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12583         Set variables for computing the prompt for reading password.
12585 2009-11-19  Glenn Morris  <rgm@gnu.org>
12587         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
12589         * textmodes/flyspell.el (sgml-lexical-context): Declare.
12591         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12592         (newsticker-treeview-listwindow-height): Fix custom type.
12594 2009-11-19  Kenichi Handa  <handa@m17n.org>
12596         * descr-text.el (describe-char-padded-string): Compose with TAB
12597         only if there's a font for CH.
12598         (describe-char): Fix the condition for detecting a trivial composition.
12600 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
12602         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12603         more accurate version of the regexp.  (Bug#3910)
12605 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
12607         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12609 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
12611         * font-setting.el (font-use-system-font): Declare for byte-compiler.
12612         (font-setting-change-default-font): Fix typo in docstring.
12614 2009-11-18  Alan Mackenzie  <acm@muc.de>
12616         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12618 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12620         * font-setting.el (font-use-system-font): Move ...
12622         * cus-start.el (all): ... to here.
12624 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
12626         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12627         Don't set `ad-return-value' if `ad-do-it' doesn't.
12629         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12630         modification time.
12632 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12634         * menu-bar.el: Put "Use system font" in Option-menu.
12635         (menu-bar-options-save): Add font-use-system-font.
12637         * loadup.el: If feature system-font-setting or font-render-setting is
12638         there, load font-setting.
12640         * Makefile.in (ELCFILES): Add font-settings.el.
12641         * font-setting.el: New file.
12643 2009-11-17  Glenn Morris  <rgm@gnu.org>
12645         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12647         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12648         Preserve point in the list buffer.  (Bug#4939)
12649         Use point-at-eol.
12650         (newsticker--treeview-list-update-highlight)
12651         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12653 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12655         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12656         Remove.
12658         * calc/calc-ext.el (calc-init-extensions): Remove references to
12659         symclip.
12661         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12663         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12664         * calc/calc-help.el (calc-b-prefix-help): Remove references to
12665         `calc-symclip'.
12667 2009-11-16  Kevin Ryde  <user42@zip.com.au>
12669         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12670         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12672         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12673         (lm-keywords-list): Allow comma-only separator like "foo,bar".
12674         Ignore trailing spaces by omit-nulls to split-string (fixing
12675         regression from Emacs 21 due to the incompatible split-string
12676         change).  (Bug #4928.)
12678 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
12680         * vc.el (vc-log-show-limit): Default to 2000.
12681         (vc-print-log-internal): Insert buttons to request more entries
12682         when limiting the output.
12684         * vc-sccs.el (vc-sccs-print-log):
12685         * vc-rcs.el (vc-rcs-print-log):
12686         * vc-cvs.el (vc-cvs-print-log):
12687         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12688         LIMIT is non-nil.
12690 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12692         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12693         error when `tramp-gvfs-dbus-event-vector' is set.
12694         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12696 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12698         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12700 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12702         * net/dbus.el (dbus-unregister-service): New defun.
12703         (dbus-register-property): Register the handlers of
12704         "org.freedesktop.DBus.Properties" for SERVICE.
12705         (dbus-property-handler): Fix docstring.
12707 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12709         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12710         Quote doc string reference in defvaralias as it is not in special form.
12711         (byte-compile-output-docform): Doc fix.
12713 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12715         * calc/calc.el (math-2-word-size, math-half-2-word-size)
12716         (calc-complement-signed-mode): New variables.
12717         (calc-set-mode-line): Add indicator for twos-complements.
12718         (math-format-number): Format twos-complement notation.
12720         * calc/calc-bin.el (calc-word-size): Reset the variables
12721         `math-2-word-size' and `math-half-2-word-size'.
12722         (math-format-complement-signed, math-symclip, calcFunc-symclip)
12723         (calc-symclip): New functions.
12725         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12727         * calc/calc-embed.el (calc-embedded-mode-vars):
12728         Add `calc-complement-signed-mode' to the list of modes.
12730         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12731         (calc-b-oper-keys): Add `calc-symclip' to list.
12733         * calc/calc-ext.el (math-read-number-fancy): Read complement
12734         signed numbers.
12735         (calc-init-extensions): Add binding for `calc-symclip'.
12736         Add autoload for `calcFunc-symclip' and `calc-symclip'.
12738         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12739         `calc-symclip'.
12740         (calc-modes-menu): Add item for twos complement mode.
12742         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12744 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12746         * register.el (jump-to-register, insert-register): Handle Semantic
12747         tags.  From commented-out advice in semantic/senator.el.
12749 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
12751         * vc.el (vc-log-show-limit): New variable.
12752         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
12753         when using a prefix argument.
12754         (vc-print-log-internal): Add new argument LIMIT.
12756         * vc-svn.el (vc-svn-print-log):
12757         * vc-mtn.el (vc-mtn-print-log):
12758         * vc-hg.el (vc-hg-print-log):
12759         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12760         pass it to the log command when set.  Make the BUFFER argument
12761         non-optional.
12763         * vc-sccs.el (vc-sccs-print-log):
12764         * vc-rcs.el (vc-rcs-print-log):
12765         * vc-git.el (vc-git-print-log):
12766         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12767         ignore it.  Make the BUFFER argument non-optional
12769         * bindings.el (mode-line-buffer-identification): Do not purecopy.
12771 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12773         * dired.el (dired-mode-map): Move encryption items to "Operate"
12774         menu (Bug#4703).
12776         * strokes.el (strokes-update-window-configuration): Make strokes
12777         buffer current before erasing (Bug#4906).
12779 2009-11-15  Juri Linkov  <juri@jurta.org>
12781         * simple.el (set-mark-default-inactive): Add :type, :group
12782         and :version.  (Bug#4876)
12784 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
12786         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12787         (archive-unique-fname): ... here.  (Bug#4929)
12789 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12791         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12792         with a real fix.
12794         * novice.el (disabled-command-function): Add useful args.
12795         Setup the help buffer so that [back] works.
12796         Remove redundant call to help-mode.
12797         (disabled-command-function): Use `case'.
12798         (en/disable-command): New function extracted from enable-command.
12799         (enable-command, disable-command): Use it.
12801 2009-11-14  Glenn Morris  <rgm@gnu.org>
12803         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12804         constants.  (Bug#4913)
12806         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12808 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
12810         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12811         defined in C that have no doc-strings.  (Bug#1063)
12813 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
12815         * cus-edit.el (data, files):
12816         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
12818 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
12820         * simple.el (shell-command): Doc fix (Bug#4891).
12822         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12824 2009-11-14  Glenn Morris  <rgm@gnu.org>
12826         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12827         statements for vc-diff, emerge-quit, and rmail-cease-edit.
12828         If they are already loaded, eval-after-load will do the right thing.
12830         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12831         compiling.
12833         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12835         * simple.el (x-selection-owner-p): Declare.
12836         (read-mail-command): Use custom radio type rather than choice.
12837         (completion-no-auto-exit): Doc fix.
12839         * custom.el (defgroup):
12840         * epg-config.el (epg): Doc fixes.
12842 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
12844         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12845         * international/ccl.el (define-ccl-program): Do not purecopy the
12846         docstring, defconst does it anyway.
12848 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12850         * add-log.el (add-change-log-entry): Avoid displaying the changelog
12851         a second time.
12853         * x-dnd.el (x-dnd-maybe-call-test-function):
12854         * window.el (split-window-vertically):
12855         * whitespace.el (whitespace-help-on):
12856         * vc-rcs.el (vc-rcs-consult-headers):
12857         * userlock.el (ask-user-about-lock-help)
12858         (ask-user-about-supersession-help):
12859         * type-break.el (type-break-force-mode-line-update):
12860         * time-stamp.el (time-stamp-conv-warn):
12861         * terminal.el (te-set-output-log, te-more-break, te-filter)
12862         (te-sentinel, terminal-emulator):
12863         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12864         (term-write-input-ring, term-check-source, term-start-output-log):
12865         (term-display-buffer-line, term-dynamic-list-completions):
12866         (term-ansi-make-term, serial-term):
12867         * subr.el (selective-display):
12868         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12869         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12870         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12871         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12872         (speedbar-remove-localized-speedbar-support)
12873         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12874         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12875         (speedbar-buffers-line-directory):
12876         * simple.el (shell-command-on-region, append-to-buffer)
12877         (prepend-to-buffer):
12878         * shadowfile.el (shadow-save-todo-file):
12879         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12880         (scroll-bar-maybe-set-window-start):
12881         * sb-image.el (speedbar-image-dump):
12882         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12883         (load-save-place-alist-from-file):
12884         * ps-samp.el (ps-print-message-from-summary):
12885         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12886         (ps-background-image, ps-begin-job, ps-do-despool):
12887         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12888         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12889         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12890         (pr-call-process, pr-file-list, pr-interface-save):
12891         * novice.el (disabled-command-function)
12892         (enable-command, disable-command):
12893         * mouse.el (mouse-buffer-menu-alist):
12894         * mouse-copy.el (mouse-kill-preserving-secondary):
12895         * macros.el (kbd-macro-query):
12896         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12897         * informat.el (batch-info-validate):
12898         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12899         * hippie-exp.el (try-expand-dabbrev-visible):
12900         * help-mode.el (help-make-xrefs):
12901         * help-fns.el (describe-variable):
12902         * generic-x.el (bat-generic-mode-run-as-comint):
12903         * finder.el (finder-mouse-select):
12904         * find-dired.el (find-dired-sentinel):
12905         * filesets.el (filesets-file-close):
12906         * files.el (list-directory):
12907         * faces.el (list-faces-display, describe-face):
12908         * facemenu.el (list-colors-display):
12909         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12910         * epg.el (epg--process-filter, epg-cancel):
12911         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12912         (epa--read-signature-type):
12913         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12914         (emerge-file-names):
12915         * ehelp.el (electric-helpify):
12916         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12917         * ediff-vers.el (rcs-ediff-view-revision):
12918         * ediff-util.el (ediff-setup):
12919         * ediff-mult.el (ediff-append-custom-diff):
12920         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12921         (ediff-wordify):
12922         * echistory.el (Electric-command-history-redo-expression):
12923         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12924         * disp-table.el (describe-display-table):
12925         * dired.el (dired-find-buffer-nocreate):
12926         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12927         * dabbrev.el (dabbrev--same-major-mode-p):
12928         * chistory.el (list-command-history):
12929         * apropos.el (apropos-documentation):
12930         * allout.el (allout-obtain-passphrase):
12931         (allout-copy-exposed-to-buffer):
12932         (allout-verify-passphrase): Use with-current-buffer.
12934 2009-11-13  Glenn Morris  <rgm@gnu.org>
12936         * Makefile.in (ELCFILES): Regenerate.
12938 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
12940         * net/dbus.el (dbus-registered-objects-table): Rename from
12941         `dbus-registered-functions-table', because it contains also properties.
12942         (dbus-unregister-object): Unregister also properties.
12943         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12944         Use a timeout of 500 msec, in order to not block.
12945         (dbus-register-property, dbus-property-handler): New defuns.
12947 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12949         * simple.el (minibuffer-default-add-completions): Drop deprecated
12950         4th arg.
12952 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
12954         * textmodes/artist.el (artist-mouse-choose-operation):
12955         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12956         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12957         (artist-compute-up-event-key): New function.
12958         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12960 2009-11-13  Kenichi Handa  <handa@m17n.org>
12962         * language/japan-util.el: Make sure that the value of jisx0208
12963         property is jisx0208 character.
12965 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
12967         * international/mule.el (auto-coding-regexp-alist): Only purecopy
12968         car or each item, not the whole list.
12970 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12972         * minibuffer.el (minibuffer-completion-help):
12973         Use minibuffer-hide-completions.
12975 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
12977         * dired.el (dired-save-positions, dired-restore-positions): New funs.
12978         (dired-revert): Use them (bug#4880).
12980 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12982         * tooltip.el (tooltip-frame-parameters): Undo previous change.
12984 2009-11-12  Juri Linkov  <juri@jurta.org>
12986         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12987         New functions.
12988         (find-file-literally-at-point): Alias of `ffap-literally'.
12990 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12992         * textmodes/ispell.el (ispell-skip-region-alist):
12993         * textmodes/css-mode.el (auto-mode-alist):
12994         * progmodes/compile.el (auto-mode-alist):
12995         * international/mule.el (ctext-non-standard-encodings-alist)
12996         (ctext-non-standard-encodings-regexp):
12997         * simple.el (shell-command-switch, text-read-only):
12998         * replace.el (occur-mode-map):
12999         * paths.el (rmail-file-name):
13000         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13001         * find-file.el (ff-special-constructs):
13002         * files.el (file-name-handler-alist):
13003         * composite.el: Purecopy strings.
13005         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13007 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13009         * widget.el (define-widget): Purecopy the docstring.
13010         * international/mule-cmds.el (charset): Do not purecopy the
13011         docstring here, define-widget does it.
13013         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13014         * textmodes/bibtex-style.el (auto-mode-alist):
13015         * progmodes/inf-lisp.el (inferior-lisp-prompt):
13016         * progmodes/compile.el (compile-command):
13017         * language/korea-util.el (default-korean-keyboard):
13018         * international/mule-conf.el (file-coding-system-alist):
13019         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13020         * tooltip.el (tooltip-frame-parameters):
13021         * newcomment.el (comment-end, comment-padding):
13022         * dired.el (dired-trivial-filenames):
13023         * comint.el (comint-file-name-prefix): Purecopy initial values.
13025 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
13027         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13028         (tramp-advice-minibuffer-electric-tilde): Unload advices via
13029         `tramp-unload'.
13030         (tramp-advice-make-auto-save-file-name)
13031         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13032         after removing the advice.
13034 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13036         * progmodes/grep.el (grep-regexp-alist):
13037         * international/mule-cmds.el (iso-2022-control-alist):
13038         * emacs-lisp/timer.el (timer-duration-words):
13039         * subr.el (version-separator, version-regexp-alist):
13040         * minibuffer.el (completion-styles-alist):
13041         * faces.el (face-attribute-name-alist, list-faces-sample-text):
13042         Change defvars to defconsts.
13044         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13045         * loadup.el ("international/mule-conf"): Load the byte compiled version.
13046         * international/mule-conf.el: Allow to be byte compiled.
13048         * international/mule.el (define-charset): Purecopy props.
13049         (load-with-code-conversion): Purecopy doc string and file name.
13050         (put-charset-property): Purecopy strings.
13051         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13053         * international/mule-cmds.el (register-input-method): Purecopy arguments.
13054         (define-char-code-property): Correctly purecopy the table.
13056         * international/ccl.el (define-ccl-program): Purecopy the docstring.
13058         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13060         * subr.el (add-hook): Purecopy strings.
13061         (eval-after-load): Purecopy load-history-regexp and the form.
13063         * custom.el (custom-declare-group): Purecopy load-file-name.
13065         * subr.el (menu-bar-separator): New defconst.
13066         * net/eudc.el (eudc-tools-menu):
13067         * international/mule-cmds.el (set-coding-system-map)
13068         (mule-menu-keymap):
13069         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13070         * vc-hooks.el (vc-menu-map):
13071         * replace.el (occur-mode-map):
13072         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13073         (menu-bar-edit-menu, menu-bar-goto-menu)
13074         (menu-bar-custom-menu, menu-bar-showhide-menu)
13075         (menu-bar-options-menu, menu-bar-tools-menu)
13076         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13077         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13078         (menu-bar-help-menu):
13079         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13080         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13082         * term/x-win.el (x-gtk-stock-map):
13083         * progmodes/vera-mode.el (auto-mode-alist):
13084         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13085         (inferior-lisp-program, inferior-lisp-load-command):
13086         * progmodes/hideshow.el (hs-special-modes-alist):
13087         * progmodes/gud.el (same-window-regexps):
13088         * progmodes/grep.el (grep-program, find-program, xargs-program):
13089         * net/telnet.el (same-window-regexps):
13090         * net/rlogin.el (same-window-regexps):
13091         * language/ethiopic.el (font-ccl-encoder-alist):
13092         * vc-sccs.el (vc-sccs-master-templates):
13093         * vc-rcs.el (vc-rcs-master-templates):
13094         * subr.el (cl-assertion-failed):
13095         * simple.el (next-error-overlay-arrow-position):
13096         * lpr.el (lpr-command):
13097         * locate.el (locate-ls-subdir-switches):
13098         * info.el (same-window-regexps, info)
13099         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13100         * image-mode.el (image-mode, auto-mode-alist):
13101         * hippie-exp.el (hippie-expand-ignore-buffers):
13102         * format.el (format-alist):
13103         * find-dired.el (find-ls-subdir-switches, find-grep-options)
13104         (find-name-arg):
13105         * facemenu.el (facemenu-keybindings):
13106         * dired.el (dired-listing-switches, dired-chown-program):
13107         * diff.el (diff-switches, diff-command):
13108         * cus-edit.el (same-window-regexps):
13109         * bindings.el (mode-line-mule-info)
13110         (mode-line-buffer-identification): Purecopy strings.
13112 2009-11-11  Juri Linkov  <juri@jurta.org>
13114         * simple.el (dired-get-filename) <declare-function>:
13115         Tell the byte-compiler about dired-get-filename.
13116         (shell-command): In Dired mode, get filename from the current line
13117         as the default value.
13119 2009-11-10  Glenn Morris  <rgm@gnu.org>
13121         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13122         * calendar/holidays.el, progmodes/cperl-mode.el:
13123         Update x-popup-menu declarations.
13125         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13126         (list-load-path-shadows): Use dolist.
13127         (list-load-path-shadows): Use with-current-buffer.
13129 2009-11-10  Juri Linkov  <juri@jurta.org>
13131         * minibuffer.el (read-file-name): Support a list of default values
13132         in `default-filename'.  Use the first file name where only one
13133         element is required.  Doc fix.
13135 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
13137         * net/dbus.el (dbus-unregister-object): Release service, if no
13138         other method is registered for it.
13140 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
13142         * bookmark.el (bookmark-completing-read): Sort bookmark names if
13143         bookmark-sort-flag is non-nil (Bug#4653).
13145 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13147         * emulation/cua-base.el: Add CUA property to some CC mode commands
13148         (Bug#4100).
13150 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13152         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13153         at end of sentence (Bug#4818).
13155 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
13157         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13158         Handle "see declaration of" MSFT statements (Bug#4100).
13160 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
13162         * net/tramp.el (tramp-advice-make-auto-save-file-name)
13163         (tramp-advice-file-expand-wildcards): Unload via
13164         `ad-remove-advice'.
13166         * net/trampver.el: Update release number.
13168 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13170         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13171         `ad-do-it'.
13173 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
13175         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13176         in order to keep context in SELinux.
13178 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13180         * dired-aux.el (dired-query): Place cursor in echo area and allow
13181         C-g.
13183         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13184         menu item if not on a directory (Bug#4701).
13186 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
13188         Sync with Tramp 2.1.17.
13190         * net/tramp.el (tramp-handle-copy-directory): Don't use
13191         `file-remote-p' (due to compatibility).
13193         * net/tramp-compat.el (tramp-compat-copy-directory)
13194         (tramp-compat-delete-directory): New defuns.
13196         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13197         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13198         Use `tramp-compat-delete-directory'.
13200         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13201         (tramp-smb-handle-delete-directory):
13202         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13204         * net/trampver.el: Update release number.
13206 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
13208         * tar-mode.el (tar-copy): Call write-region on the right buffer
13209         (Bug#4857).
13211         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13212         by hand, if necessary (Bug#4878).
13214 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
13216         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13217         align size column (Bug#4839).
13219         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13220         statement.
13222 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13224         * progmodes/ld-script.el (auto-mode-alist):
13225         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13227         * cus-face.el (custom-declare-face): Purecopy face spec.
13229 2009-11-06  Kenichi Handa  <handa@m17n.org>
13231         * international/uni-bidi.el: Re-generated.
13232         * international/uni-category.el: Re-generated.
13233         * international/uni-combining.el: Re-generated.
13234         * international/uni-mirrored.el: Re-generated.
13236 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13238         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13239         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13240         (tex-start-options, slitex-run-command, latex-run-command)
13241         (tex-run-command, tex-directory):
13242         * textmodes/ispell.el (ispell-html-skip-alists)
13243         (ispell-tex-skip-alists, ispell-tex-skip-alists):
13244         * textmodes/fill.el (adaptive-fill-first-line-regexp):
13245         (adaptive-fill-regexp):
13246         * textmodes/dns-mode.el (auto-mode-alist):
13247         * progmodes/python.el (interpreter-mode-alist):
13248         * progmodes/etags.el (tags-compression-info-list):
13249         * progmodes/etags.el (tags-file-name):
13250         * net/browse-url.el (browse-url-galeon-program)
13251         (browse-url-firefox-program):
13252         * mail/sendmail.el (mail-signature-file)
13253         (mail-citation-prefix-regexp):
13254         * international/mule-conf.el (eight-bit):
13255         * international/latexenc.el (latex-inputenc-coding-alist):
13256         * international/fontset.el (x-pixel-size-width-font-regexp):
13257         * emacs-lisp/warnings.el (warning-type-format):
13258         * emacs-lisp/trace.el (trace-buffer):
13259         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13260         (emacs-lisp-mode-map):
13261         * calendar/holidays.el (holiday-solar-holidays)
13262         (holiday-bahai-holidays, holiday-islamic-holidays)
13263         (holiday-christian-holidays, holiday-hebrew-holidays)
13264         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13265         (hebrew-holidays-1, holiday-oriental-holidays)
13266         (holiday-general-holidays):
13267         * x-dnd.el (x-dnd-known-types):
13268         * tool-bar.el (tool-bar):
13269         * startup.el (site-run-file):
13270         * shell.el (shell-dumb-shell-regexp):
13271         * rfn-eshadow.el (file-name-shadow-tty-properties)
13272         (file-name-shadow-properties):
13273         * paths.el (remote-shell-program, news-directory):
13274         * mouse.el ([C-down-mouse-3]):
13275         * menu-bar.el (menu-bar-tools-menu):
13276         * jka-cmpr-hook.el (jka-compr-load-suffixes)
13277         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13278         (jka-compr-compression-info-list):
13279         * isearch.el (search-whitespace-regexp):
13280         * image-file.el (image-file-name-extensions):
13281         * find-dired.el (find-ls-option):
13282         * files.el (directory-listing-before-filename-regexp)
13283         (directory-free-space-args, insert-directory-program)
13284         (list-directory-brief-switches, magic-fallback-mode-alist)
13285         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13286         (automount-dir-prefix):
13287         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13288         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13289         (face-font-registry-alternatives, face-font-registry-alternatives)
13290         (face-font-family-alternatives):
13291         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13292         (facemenu-foreground-menu, facemenu-face-menu):
13293         * epa-hook.el (epa-file-name-regexp):
13294         * dnd.el (dnd-protocol-alist):
13295         * textmodes/rst.el (auto-mode-alist):
13296         * button.el (default-button): Purecopy strings.
13298 2009-11-06  Glenn Morris  <rgm@gnu.org>
13300         * Makefile.in (ELCFILES): Update.
13302 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13304         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13305         * emacs-lisp/levents.el: Move to obsolete/levents.el.
13307         * nxml/xsd-regexp.el (xsdre-gen-categories):
13308         * nxml/xmltok.el (xmltok-parse-entity):
13309         * nxml/rng-parse.el (rng-parse-validate-file):
13310         * nxml/rng-maint.el (rng-format-manual)
13311         (rng-manual-output-force-new-line):
13312         * nxml/rng-loc.el (rng-save-schema-location-1):
13313         * nxml/rng-cmpct.el (rng-c-parse-file):
13314         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13315         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13317 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
13319         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13320         Remove extra save-excursions and make-variable-buffer-local's.
13321         Suggested by Stefan Monnier.
13323         (verilog-getopt-file, verilog-module-inside-filename-p)
13324         (verilog-set-define): Merge GNU 1.35 and repair changes from
13325         switching to using with-current-buffer.
13327         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13328         being treated as a number and confusing AUTORESET.
13329         Reported by Dan Dever.
13331         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13332         Add verilog-auto-ignore-concat to fix backward compatibility with
13333         older verilog-modes.  Reported by Dan Katz.
13335         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13336         containing closing anchors "...$".
13338         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13339         Reported by Wade Smith.
13341         (verilog-batch-execute-func): Comment on function usage.
13343 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
13345         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13346         for labels.
13348         (verilog-label-re, verilog-calc-1): Support proper indent of named
13349         asserts.
13351         (verilog-backward-token, verilog-basic-complete-re)
13352         (verilog-beg-of-statement, verilog-indent-re): Support proper
13353         indent of the assert statement at the beginning of a block of text.
13355         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13356         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13357         tokens as begins.
13359 2009-11-05  Glenn Morris  <rgm@gnu.org>
13361         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13362         Emacs 19.  (Bug#1531)
13363         (byte-compile-fix-header): Update for the above change.
13364         Drop test for epoch::version.
13366         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13367         * cus-dep.el (custom-make-dependencies):
13368         * finder.el (finder-compile-keywords):
13369         Use autoload-rubric's feature argument.
13371         * calendar/diary-lib.el (top-level): Make load behave more like require.
13373         * vc-git.el (vc-git-stash-map): Move definition before use.
13375 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
13377         * custom.el (custom-declare-group): Purecopy standard-value.
13378         (custom-declare-group): Purecopy custom-prefix.
13380         * international/mule.el (load-with-code-conversion):
13381         Call do-after-load-evaluation unconditionally.
13383         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13385 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13387         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13389 2009-11-04  Glenn Morris  <rgm@gnu.org>
13391         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13392         (byte-compile-compatibility): Remove option.
13393         (byte-compile-close-variables, byte-compile-fix-header)
13394         (byte-compile-insert-header, byte-compile-output-docform)
13395         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13396         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13397         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13398         (byte-compile-insert, byte-compile-defun):
13399         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
13400         (byte-defop-compiler19): Remove.
13401         Without byte-compile-compatibility, the 'emacs19-opcode property is not
13402         used by anything.  Replace all calls with byte-defop-compiler.
13404 2009-11-04  Juri Linkov  <juri@jurta.org>
13406         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13407         (menu-bar-options-menu): Don't quote the `prop' arg of
13408         `menu-bar-make-mm-toggle'.
13410 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
13412         * calendar/calendar.el (cal-loaddefs):
13413         * calendar/diary-lib.el (diary-loaddefs):
13414         * calendar/holidays.el (hol-loaddefs):
13415         * eshell/esh-module.el (esh-groups): Load rather than require.
13417 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13419         * calendar/todo-mode.el (todo-add-category): Don't hardcode
13420         point-min==1.
13421         (todo-top-priorities): Only display-buffer when called interactively.
13422         (todo-item-start): Don't save excursion point.
13423         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
13424         (todo-insert-item-here, todo-file-item, todo-remove-item):
13425         Adjust uses of todo-item-start and todo-item-end.
13427         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13428         (autoload-rubric): Don't use any more.
13430         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13431         and only put a prop if it is non-nil.
13433 2009-11-03  Juri Linkov  <juri@jurta.org>
13435         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13436         (menu-bar-options-menu): Fix list quoting (Bug#4429).
13438         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13439         and "Menu" to make top-level menu item visually one unit (like
13440         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13441         multi-word menu items).  Fix :help string for quit-window.
13443 2009-11-03  Glenn Morris  <rgm@gnu.org>
13445         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13446         (byte-compile-file-form-define-abbrev-table)
13447         (byte-compile-file-form-custom-declare-variable)
13448         (byte-compile-variable-ref, byte-compile-defvar):
13449         Whether or not a warning is enabled should only affect whether we issue
13450         the warning, not whether or not we collect the relevant data.
13451         Eg warnings can be turned on and off throughout the course of a file.
13453         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13454         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13456 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13458         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13459         * play/mpuz.el (mpuz-create-buffer):
13460         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13461         (lm-print-y,s,noise, lm-print-w0, lm-init):
13462         * play/gomoku.el (gomoku-prompt-for-move):
13463         * play/fortune.el (fortune-in-buffer):
13464         * play/dissociate.el (dissociated-press):
13465         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13466         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13467         * mail/supercite.el (sc-eref-show):
13468         * mail/smtpmail.el (smtpmail-send-it):
13469         * mail/rmailsum.el (rmail-summary-next-labeled-message)
13470         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13471         (rmail-summary-undelete-many, rmail-summary-rmail-update)
13472         (rmail-summary-goto-msg, rmail-summary-expunge)
13473         (rmail-summary-get-new-mail, rmail-summary-search-backward)
13474         (rmail-summary-add-label, rmail-summary-output-menu)
13475         (rmail-summary-output-body):
13476         * mail/rfc822.el (rfc822-addresses):
13477         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13478         * mail/mailpost.el (post-mail-send-it):
13479         * mail/hashcash.el (hashcash-generate-payment):
13480         * mail/feedmail.el (feedmail-run-the-queue)
13481         (feedmail-queue-send-edit-prompt-help-first)
13482         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13483         (feedmail-deduce-address-list):
13484         * eshell/esh-ext.el (eshell-remote-command):
13485         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13486         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13487         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13488         (viper-save-string-in-file, viper-valid-marker):
13489         * emulation/viper-keym.el (viper-toggle-key):
13490         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13491         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13492         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13493         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13494         (viper-exec-form-in-emacs, viper-brac-function):
13495         * emulation/viper.el (viper-delocalize-var):
13496         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13497         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13498         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13499         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13500         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13501         * emulation/edt.el (edt-electric-helpify):
13502         * emulation/cua-rect.el (cua--rectangle-aux-replace):
13503         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13504         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13505         (cua-indent-to-global-mark-column):
13506         * calendar/diary-lib.el (calendar-mark-1):
13507         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13508         Use with-current-buffer.
13509         * emulation/viper.el (viper-delocalize-var): Use dolist.
13511 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
13513         * comint.el (comint-replace-by-expanded-history-before-point):
13514         Replace !! with the previous input string literally (Bug#1795).
13516 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
13518         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13519         to be made up of whitespace.
13521 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
13523         * minibuffer.el (read-file-name): Don't use file dialogs for
13524         remote directories (Bug#99).
13526 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
13528         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13530 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13532         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13533         instead of deleting the window or frame.
13535 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13537         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13538         Support face colors.
13540         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13541         New function.  Support face colors (Bug#1168).
13542         (tex-common-initialization): Use it.
13544         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13545         mode allows it (Bug#1168).
13547 2009-10-31  Juri Linkov  <juri@jurta.org>
13549         * facemenu.el (list-colors-display): Don't mark buffer as
13550         modified (Bug#3948).
13552 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13554         * international/mule-diag.el (list-character-sets-1):
13555         Minor message fix (Bug#3526).
13557         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13558         Fix face property (Bug#4834).
13559         (etags-list-tags, etags-tags-apropos-additional)
13560         (etags-tags-apropos, tags-select-tags-table): Add follow-link
13561         property.
13563         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13564         items.
13566 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13568         * textmodes/two-column.el (2C-split):
13569         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13570         * textmodes/tex-mode.el (tex-set-buffer-directory):
13571         * textmodes/spell.el (spell-region, spell-string):
13572         * textmodes/reftex.el (reftex-erase-buffer):
13573         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13574         * textmodes/reftex-toc.el (reftex-toc-promote-action):
13575         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13576         (reftex-select-item):
13577         * textmodes/reftex-ref.el (reftex-label-info-update)
13578         (reftex-offer-label-menu):
13579         * textmodes/reftex-index.el (reftex-index-change-entry)
13580         (reftex-index-phrases-info):
13581         * textmodes/reftex-global.el (reftex-create-tags-file)
13582         (reftex-save-all-document-buffers, reftex-ensure-write-access):
13583         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13584         (reftex-view-crossref-from-bibtex):
13585         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13586         (reftex-extract-bib-entries-from-thebibliography)
13587         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13588         * textmodes/refbib.el (r2b-capitalize-title):
13589         (r2b-convert-buffer, r2b-help):
13590         * textmodes/page-ext.el (pages-directory)
13591         (pages-directory-goto-with-mouse):
13592         * textmodes/bibtex.el (bibtex-validate-globally):
13593         * textmodes/bib-mode.el (bib-capitalize-title):
13594         * textmodes/artist.el (artist-clear-buffer, artist-system):
13595         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13596         (local-set-scheme-interaction-buffer, xscheme-process-filter)
13597         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13598         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13599         (xscheme-send-control-g-interrupt, xscheme-start-process)
13600         (xscheme-process-sentinel, xscheme-cd):
13601         * progmodes/verilog-mode.el (verilog-read-always-signals)
13602         (verilog-set-define, verilog-getopt-file)
13603         (verilog-module-inside-filename-p):
13604         * progmodes/sh-script.el:
13605         * progmodes/python.el (python-pdbtrack-get-source-buffer)
13606         (python-pdbtrack-grub-for-buffer, python-execute-file):
13607         * progmodes/octave-inf.el (inferior-octave):
13608         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13609         (idlwave-shell-compile-helper-routines, idlwave-set-local)
13610         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13611         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13612         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13613         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13614         (idlwave-shell-filter, idlwave-shell-examine-highlight)
13615         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13616         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13617         (idlwave-shell-examine-display, idlwave-shell-run-region)
13618         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13619         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13620         * progmodes/idlw-help.el (idlwave-help-get-special-help)
13621         (idlwave-help-get-help-buffer):
13622         * progmodes/gud.el (gud-basic-call, gud-find-class)
13623         (gud-tooltip-activate-mouse-motions-if-enabled):
13624         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13625         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13626         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13627         (ebrowse-tags-next-file):
13628         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13629         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13630         (ebnf-eps-finish-and-write):
13631         * progmodes/cpp.el (cpp-edit-save):
13632         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13633         * progmodes/cc-defs.el (c-emacs-features):
13634         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13635         (antlr-directory-dependencies):
13636         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13637         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13638         (ada-find-any-references, ada-make-filename-from-adaname)
13639         (ada-make-body-gnatstub):
13640         * obsolete/rnews.el (news-list-news-groups):
13641         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13642         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13643         * net/rcirc.el (rcirc-debug):
13644         * net/newst-treeview.el (newsticker--treeview-list-add-item)
13645         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13646         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13647         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13648         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13649         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13650         (newsticker--treeview-list-clear-highlight)
13651         (newsticker--treeview-list-update-highlight)
13652         (newsticker--treeview-list-highlight-start)
13653         (newsticker--treeview-tree-update-highlight)
13654         (newsticker--treeview-get-selected-item)
13655         (newsticker-treeview-mark-list-items-old)
13656         (newsticker--treeview-set-current-node):
13657         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13658         * net/newst-backend.el (newsticker--get-news-by-funcall)
13659         (newsticker--get-news-by-wget, newsticker--image-get)
13660         (newsticker--image-sentinel):
13661         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13662         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13663         (eudc-ph-close-session):
13664         * net/eudc.el (eudc-save-options):
13665         * language/thai-word.el (thai-update-word-table):
13666         * language/japan-util.el (japanese-string-conversion):
13667         * international/titdic-cnv.el (tsang-quick-converter)
13668         (ziranma-converter, ctlau-converter):
13669         * international/mule-cmds.el (describe-language-environment):
13670         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13671         (skkdic-convert-postfix, skkdic-convert-prefix):
13672         (skkdic-convert-okuri-nasi, skkdic-convert):
13673         * emacs-lisp/re-builder.el (reb-update-overlays):
13674         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13675         * emacs-lisp/gulp.el (gulp-send-requests):
13676         * emacs-lisp/find-gc.el (trace-call-tree):
13677         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13678         (eieio-describe-generic):
13679         * emacs-lisp/eieio-base.el (eieio-persistent-read):
13680         * emacs-lisp/edebug.el (edebug-outside-excursion):
13681         * emacs-lisp/debug.el (debugger-make-xrefs):
13682         * emacs-lisp/cust-print.el (custom-prin1-to-string):
13683         * emacs-lisp/chart.el (chart-new-buffer):
13684         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13685         Use with-current-buffer.
13686         * textmodes/artist.el (artist-system): Don't call
13687         copy-sequence on a fresh string.
13688         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13690 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
13692         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13693         is no item to edit.  (Bug#4820)
13694         (todo-top-priorities): Restore point and restore narrowing in Todo
13695         buffer.  (Bug#4820)
13697 2009-10-31  Glenn Morris  <rgm@gnu.org>
13699         * net/ange-ftp.el (top-level): Don't require dired when compiling.
13700         (comint-last-output-start, comint-last-input-start)
13701         (comint-last-input-end): Don't defvar when compiling.
13702         (ange-ftp-process-file): Use bound-and-true-p.
13704         * pcmpl-rpm.el (top-level): Move provide statement to end.
13705         (pcmpl-rpm): Remove unused custom group.
13707         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13709         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13711         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13712         (byte-compile-warnings): Add `constants' as an option.
13713         (byte-compile-callargs-warn, byte-compile-arglist-warn)
13714         (display-call-tree): Update for byte-compile-fdefinition possibly
13715         returning `(macro lambda ...)'.  (Bug#4778)
13716         (byte-compile-variable-ref, byte-compile-setq-default):
13717         Respect `constants' member of byte-compile-warnings.
13719 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13721         * vc-bzr.el (vc-bzr-revision-keywords): New var.
13722         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13723         to "submit:".
13725 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
13727         * textmodes/ispell.el (ispell-skip-region-alist):
13728         * international/mule-conf.el (eight-bit):
13729         * international/fontset.el (font-encoding-alist):
13730         * startup.el (pure-space-overflow-message):
13731         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13732         * paths.el (gnus-nntp-service, rmail-spool-directory)
13733         (term-file-prefix):
13734         * files.el (save-some-buffers-action-alist):
13735         * cmuscheme.el (same-window-buffer-names):
13736         * ielm.el (same-window-buffer-names):
13737         * shell.el (same-window-buffer-names):
13738         * mail/sendmail.el (same-window-buffer-names):
13739         * progmodes/inf-lisp.el (same-window-buffer-names):
13740         * bindings.el (mode-line-client)
13741         (mode-line-column-line-number-mode-map):
13742         * language/tibetan.el (tibetan-precomposition-rule-regexp)
13743         (tibetan-precomposed-regexp): Purecopy string arguments.
13745 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13747         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13748         (calcDigit-nondigit):
13749         * calc/calc-yank.el (calc-copy-to-buffer):
13750         * calc/calc-units.el (calc-invalidate-units-table):
13751         * calc/calc-trail.el (calc-trail-yank):
13752         * calc/calc-store.el (calc-insert-variables):
13753         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13754         * calc/calc-prog.el (calc-read-parse-table):
13755         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13756         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13757         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13758         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13759         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13760         (calc-graph-name, calc-graph-find-command, calc-graph-view)
13761         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13762         * calc/calc-ext.el (calc-realign):
13763         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13764         (calc-embedded-finish-edit, calc-embedded-make-info)
13765         (calc-embedded-finish-command, calc-embedded-stack-change):
13766         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13768         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13769         shell-dynamic-complete-filename in preference to
13770         comint-dynamic-complete-filename.
13772         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13773         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13774         Don't consider whether the display supports colors.
13775         (bookmark-import-new-list): Use dolist.
13776         (bookmark-bmenu-mode-map): Move initialization into declaration.
13777         (bookmark-bmenu-list): Use dolist, simplify.
13778         (bookmark-show-all-annotations): Use save-selected-window and dolist.
13779         (menu-bar-final-items): Use push.
13781 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13783         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13784         it works on remote files.
13785         (vc-hg-diff): Don't pass any `--cwd' argument.
13787 2009-10-27  Kevin Ryde  <user42@zip.com.au>
13789         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13790         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13791         (Further to Bug#3921).
13793 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
13795         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13796         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13797         calling `tramp-imap-put-file'.  Add file size to the call.
13798         (tramp-imap-get-file-entries): Compute also user name, file size,
13799         and date.
13800         (tramp-imap-handle-insert-directory): Insert uid and gid.
13801         (tramp-imap-handle-file-attributes): Transform uid and gid
13802         according to `id-format'.
13803         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
13804         size in header X-Size.
13806 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
13808         * simple.el (transpose-subr): Give clearer error when the mark
13809         is not set.  (Bug#4807)
13811 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
13813         * net/tramp.el (tramp-perl-file-truename): New defconst.
13814         Perl code contributed by yary <not.com@gmail.com> (tiny change).
13815         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13816         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13817         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13819         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13820         Ignore `dired-call-process'.
13821         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13823 2009-10-26  Julian Scheid  <julians37@gmail.com>
13825         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13826         (tramp-get-remote-readlink): New defun.
13827         (tramp-handle-file-truename): Use it.
13828         (tramp-handle-file-exists-p): Check file-attributes cache, assume
13829         file exists if cache value present.
13830         (tramp-check-cached-permissions): New defun.
13831         (tramp-handle-file-readable-p): Use it.
13832         (tramp-handle-file-writable-p): Likewise.
13833         (tramp-handle-file-executable-p): Likewise.
13834         (tramp-handle-file-name-all-completions): Try using Perl to get
13835         partial completions.  When perl not available, combine `cd' and
13836         `ls' into single remote operation and use shell expansion to get
13837         partial remote directory contents.  Set `file-exists-p' cache for
13838         directory and any files returned by ls.  Change cache handling to
13839         support partial directory contents.  Use error message emitted by
13840         remote `cd' or Perl code for local tramp-error.
13841         (tramp-do-copy-or-rename-file-directly): Avoid separate
13842         tramp-send-command-and-check call.
13843         (tramp-handle-process-file): Merge three remote ops into one.
13844         Do not flush all caches when `process-file-side-effects' is set.
13845         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13846         file-attributes shows uid/gid to be set already.
13848 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
13850         * textmodes/tex-mode.el (tex-dvi-view-command)
13851         (tex-show-queue-command, tex-open-quote):
13852         * progmodes/ruby-mode.el (auto-mode-alist)
13853         (interpreter-mode-alist): Purecopy strings.
13855         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13857         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13858         string for the hook, keymap and abbrev table.
13860         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13862         * x-dnd.el (x-dnd-xdnd-to-action):
13863         * startup.el (fancy-startup-text, fancy-about-text): Change to
13864         defconst from defvar.
13866         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13868         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13869         Purecopy initialization strings.
13871         * mail/sendmail.el (mail-header-separator)
13872         (mail-personal-alias-file):
13873         * mail/rmail.el (rmail-default-dont-reply-to-names)
13874         (rmail-ignored-headers, rmail-retry-ignored-headers)
13875         (rmail-highlighted-headers, rmail-secondary-file-directory)
13876         (rmail-secondary-file-regexp):
13877         * files.el (null-device, file-name-invalid-regexp)
13878         (locate-dominating-stop-dir-regexp)
13879         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13880         (interpreter-mode-alist): Use mapcar instead of mapc.
13882         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13884         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13885         (completion-ignored-extensions):
13886         (debug-ignored-errors): Purecopy strings.
13888 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13890         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13891         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13892         (pcomplete--here): Use push.
13894         * subr.el (all-completions): Declare the 4th arg obsolete.
13896 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13898         * pcomplete.el (pcomplete-unquote-argument-function): New var.
13899         (pcomplete-unquote-argument): New function.
13900         (pcomplete--common-suffix): Always pay attention to case.
13901         (pcomplete--table-subvert): Quote and unquote the text.
13902         (pcomplete--common-quoted-suffix): New function.
13903         (pcomplete-std-complete): Use it and pcomplete-begin.
13905         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13906         we're inside a dedicated or minibuffer window.
13908 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
13910         * bookmark.el: Update documentation, especially documentation
13911         of `bookmark-alist' and of the bookmark file format.
13912         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
13914 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
13916         * mail/emacsbug.el (report-emacs-bug): Clarify that the
13917         keybindings apply to the mail buffer (Bug#4003).  Shrink help
13918         window to buffer.
13920         * whitespace.el (whitespace-mode, whitespace-newline-mode)
13921         (global-whitespace-mode, global-whitespace-newline-mode)
13922         (whitespace-toggle-options, global-whitespace-toggle-options):
13923         Doc fix (Bug#3660).
13925         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13926         of xmltok-start before the end tag was inserted (Bug#2840).
13928         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13929         patterns that are preceded by an open-paren (Bug#1320).
13931 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
13933         * files.el (delete-directory): Delete symlinks to directories with
13934         delete-file (Bug#4739).
13936 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
13938         * vc.el (vc-backend-for-registration): Rename from
13939         vc-get-backend-for-registration.  Update callers.
13941         * international/mule-cmds.el (set-language-info-alist):
13942         Purecopy lang-env.
13943         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13944         (charset): Purecopy the name.
13945         (define-char-code-property): Purecopy string arguments.
13947         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13948         Purecopy string arguments.
13950         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13951         * ediff-hook.el (menu-bar-ediff-menu):
13952         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13953         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13955 2009-10-24  Glenn Morris  <rgm@gnu.org>
13957         * comint.el (comint-dynamic-list-completions):
13958         * term.el (term-dynamic-list-completions): Use choose-completion rather
13959         than obsolete alias mouse-choose-completion.
13961         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13962         file-cache-choose-completion.
13963         (file-cache-choose-completion): Handle an optional event argument.
13964         (file-cache-mouse-choose-completion): Make it an obsolete alias.
13966         * progmodes/octave-mod.el (octave-complete-symbol):
13967         Use choose-completion if mouse-choose-completion is ever removed.
13969         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13970         use.
13972         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13973         compiler.
13975         * vc-hooks.el (vc-responsible-backend): Fix declaration.
13977 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13979         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13980         Ignore `pred' now that we receive one.
13981         Handle test-completion specially.
13983 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13985         * vc.el (vc-responsible-backend): Throw an error if not backend is
13986         found.  Remove the REGISTER argument.  Move the code dealing with
13987         REGISTER ...
13988         (vc-get-backend-for-registration): ... here.  New function.
13989         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13990         of vc-responsible-backend, pass the file name instead of the
13991         directory name.
13993 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13995         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13996         New funs.
13997         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
13998         (pcomplete-comint-setup): Don't modify a global var via
13999         accidental side-effects.
14000         (pcomplete-shell-setup): Adjust call accordingly.
14001         (pcomplete-parse-comint-arguments): Use push.
14003 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
14005         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14006         Allow uncapitalized info node names (Bug#3921).
14008         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14009         to the DEBUG file (Bug#3781).
14011 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
14013         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14014         dictionary entry (Bug#4579).
14016 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
14018         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14019         from `rfn-eshadow-update-overlay-hook' when unloading.
14020         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14021         "rsyncc".  Adjust doc string.
14022         (tramp-temp-buffer-file-name): New buffer-local defvar.
14023         (tramp-handle-insert-file-contents, tramp-handle-write-region):
14024         Keep temporary file when indicated by method ("rsync" and
14025         "rsyncc").
14026         (tramp-handle-write-region): Handle APPEND.
14027         (tramp-delete-temp-file-function): New defun.  Added to
14028         `kill-buffer-hook'.
14030 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
14032         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14034 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14036         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14037         (color-name-rgb-alist, tty-standard-colors)
14038         (tty-color-mode-alist): Change to defconst.
14040         * simple.el (mark-inactive): Purecopy message.
14042         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14043         (global-map, yank-menu):
14044         * textmodes/ispell.el (ispell-menu-map):
14045         * net/eudc.el (eudc-tools-menu):
14046         * international/mule-cmds.el (describe-language-environment-map)
14047         (setup-language-environment-map, set-coding-system-map)
14048         (mule-menu-keymap):
14049         * vc-hooks.el (vc-menu-entry, vc-menu-map):
14050         * replace.el (occur-mode-map):
14051         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14053 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
14055         * calc/calc.el (math-read-number, math-read-number-simple):
14056         Use `save-match-data'.
14058 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14060         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14061         rather than fiddling with global-map bindings, since it should only
14062         affect per-terminal settings.
14063         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14065         * minibuffer.el (completion-table-with-terminator): Allow to specify
14066         the terminator-regexp.
14068         * simple.el (switch-to-completions): Look for *Completions* in other
14069         frames as well.
14071         * pcomplete.el: Allow the use of completion-tables.
14072         (pcomplete-std-complete): New command.
14073         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14074         (pcomplete--here): Use a function for `form' rather than an expression,
14075         so it can be byte-compiled.
14076         (pcomplete-here, pcomplete-here*): Adjust accordingly.
14077         Add edebug declaration.
14078         (pcomplete-show-completions): Remove unused var `curbuf'.
14079         (pcomplete-do-complete, pcomplete-stub):
14080         Don't assume `completions' is a list of strings any more.
14082 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
14084         * find-dired.el (find-name-arg): Fix typo in docstring.
14086 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14088         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14089         (pcmpl-linux-fs-types): Same, and update to new modules layout.
14091         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14092         pcomplete-entries.
14094         * comint.el (comint-read-input-ring, comint-write-input-ring)
14095         (comint-substitute-in-file-name)
14096         (comint-dynamic-complete-as-filename)
14097         (comint-dynamic-simple-complete)
14098         (comint-dynamic-list-filename-completions)
14099         (comint-dynamic-list-completions)
14100         (comint-redirect-results-list-from-process): Minor simplifications.
14102 2009-10-21  Kevin Ryde  <user42@zip.com.au>
14104         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14105         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14106         the first form.  And insert a blank line after ";;; Code" since
14107         that's usual style.  (Bug#4612)
14109         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14111 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14113         * minibuffer.el (completion-table-with-terminator): Properly implement
14114         boundaries, in case `terminator' appears in the suffix.
14115         (completion--embedded-envvar-table): Don't return boundaries if
14116         there's no valid completion.  Simplify.
14117         (completion-file-name-table): New completion table extracted from
14118         completion--file-name-table.
14119         (completion--file-name-table): Use it.
14120         (read-file-name-predicate): Declare obsolete.
14121         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14122         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14123         completion-file-name-table, and use the `pred' argument.
14124         * files.el (locate-file-completion-table): Use the `pred' arg rather
14125         than read-file-name-predicate.
14126         (abbreviate-file-name): Use \` rather than ^ for BOS.
14128 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
14130         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14131         vc-responsible-backend to register, it causes problems.
14133 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14135         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14137 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
14139         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14140         (tramp-smb-handle-file-attributes): Use it.
14141         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14142         (tramp-smb-handle-insert-directory): Use `mapc' rather than
14143         `mapcar'.  Use `tramp-smb-get-stat-capability'.
14144         Add `dired-filename' text properties.
14145         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14146         (tramp-smb-maybe-open-connection): Simplify check for smbclient
14147         version.
14149 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14151         * subr.el (read-key-delay): Reduce to 0.01.
14152         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14153         (bug#4751).
14155 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14157         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14159         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14160         (Info-menu): Remove unused vars `last' and `completions'.
14161         (Info-index-nodes): Remove unused var `node'.
14163         * info.el (Info-complete-menu-item): Use complete-with-action.
14165 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
14167         Make vc-annotate work through copies and renames.
14168         * vc-annotate.el (vc-annotate-extract-revision-at-line):
14169         Return the file name too.
14170         (vc-annotate-revision-at-line)
14171         (vc-annotate-find-revision-at-line)
14172         (vc-annotate-revision-previous-to-line)
14173         (vc-annotate-show-log-revision-at-line): Update to get the file
14174         name from vc-annotate-extract-revision-at-line.
14175         (vc-annotate-show-diff-revision-at-line-internal): Change the
14176         argument to mean whether to show a file diff or not.  Get the file
14177         name from vc-annotate-extract-revision-at-line.
14178         (vc-annotate-show-diff-revision-at-line):
14179         Update vc-annotate-show-diff-revision-at-line call.
14180         (vc-annotate-warp-revision): Add an optional file argument.
14182         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14183         (vc-git-annotate-extract-revision-at-line): Also return the file
14184         name if found.
14186         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14187         command.  Remove unused code.
14188         (vc-hg-annotate-re): Update to match --follow output.
14189         (vc-hg-annotate-extract-revision-at-line): Also return the file
14190         name if found.
14192         * vc.el: Update annotate-extract-revision-at-line documentation.
14194 2009-10-18  Kevin Ryde  <user42@zip.com.au>
14196         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14197         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14199         * net/browse-url.el (browse-url): Identify alist with "consp and
14200         not functionp" and let all other things go down the `apply' leg,
14201         as suggested by Stefan.  (Further to bug#4531.)
14203 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
14205         * minibuffer.el (read-file-name): Check for repeat before putting
14206         a default argument in file-name-history (Bug#4657).
14208         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14209         read syntax (Bug#4737).
14211         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14213 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14215         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14216         (html-tag-alist, html-tag-help): Add descriptions for undocumented
14217         entries and make note of obsolete tags.
14219 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14221         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14223 2009-10-18  Glenn Morris  <rgm@gnu.org>
14225         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14226         grep, so that binary files (eg international/uni-bidi.el) can match.
14227         Remove test for "UnicodeData" files, since it is hopefully unnecessary
14228         now, and in any case the file header format has changed.
14230 2009-10-17  Glenn Morris  <rgm@gnu.org>
14232         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14233         (flyspell-get-word, flyspell-large-region)
14234         (flyspell-auto-correct-previous-word): Doc/error message fixes.
14236 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
14238         * Makefile.in (ELCFILES): Add ede/shell.
14240 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
14242         * term/common-win.el (x-colors): Purecopy it.
14244 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14246         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14247         permissive for when the buffer is empty.
14248         (tar-header-block-tokenize): Decode the username and groupname.
14249         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14251 2009-10-17  Eric Ludlam  <zappo@gnu.org>
14253         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14254         contains multibyte characters, choose first applicable coding
14255         system automatically.
14257 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14259         * international/mule-cmds.el (select-safe-coding-system): If the file
14260         has a coding cookie, use it regardless of any other setting (bug#4712).
14262 2009-10-17  Glenn Morris  <rgm@gnu.org>
14264         * foldout.el (foldout-mouse-swallow-events):
14265         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14267         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14268         (dired-keep-marker-copy, dired-keep-marker-hardlink)
14269         (dired-keep-marker-symlink, dired-dwim-target)
14270         (dired-copy-preserve-time): Do not autoload these defcustoms.
14272         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14273         messages from messing up the file coding.  (Bug#4623)
14275 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
14277         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14278         if no match is found for the current dictionary.  (Bug#4578)
14280         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14281         optional, since that is how it is documented, and this is often called
14282         with a nil argument.  (Bug#4577)
14283         (flyspell-external-point-words, flyspell-auto-correct-word)
14284         (flyspell-correct-word-before-point, flyspell-word-search-forward)
14285         (flyspell-word-search-backward): Remove nil argument in calls to
14286         flyspell-get-word, since it is not needed now.
14288 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
14290         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
14292 2009-10-16  Glenn Morris  <rgm@gnu.org>
14294         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14296 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
14298         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14299         (ange-ftp-file-size): New function.
14300         (ange-ftp-file-attributes): Use it.
14302 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
14304         * net/tramp-smb.el (tramp-smb-version): New defvar.
14305         (tramp-smb-maybe-open-connection): Use it, in order to avoid
14306         repeated checks.
14308 2009-10-16  Glenn Morris  <rgm@gnu.org>
14310         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14311         Maybe copy some custom properties from old to new name.  (Bug#4706)
14313 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
14315         * subr.el (error, sit-for, start-process-shell-command)
14316         (start-file-process-shell-command): Set the calling convention
14317         after the function definition.
14319 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14321         * subr.el (error, sit-for, start-process-shell-command)
14322         (start-file-process-shell-command): Use the new
14323         set-advertised-calling-convention feature.
14325 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
14327         * international/ucs-normalize.el (ucs-normalize-version):
14328         Change to 1.2.
14329         (check-range): Adjust for Unicode 5.2.
14331 2009-10-15  Juri Linkov  <juri@jurta.org>
14333         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14334         to the `menu-item' format.
14336 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
14338         * net/tramp.el (tramp-replace-environment-variables): Do not fail
14339         if the environment variable does not exist.
14341         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14342         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14343         parameter.
14344         (tramp-smb-handle-add-name-to-file)
14345         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14346         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14347         (tramp-smb-handle-file-attributes)
14348         (tramp-smb-do-file-attributes-with-stat)
14349         (tramp-smb-handle-file-local-copy)
14350         (tramp-smb-handle-insert-directory)
14351         (tramp-smb-handle-make-directory)
14352         (tramp-smb-handle-make-directory-internal)
14353         (tramp-smb-handle-make-symbolic-link)
14354         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14355         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14356         (tramp-smb-maybe-open-connection): Apply the changed parameters.
14357         (tramp-smb-read-file-entry): Read Disk names in compressed format.
14358         Handle long file names.
14359         (tramp-smb-get-cifs-capabilities): Check, whether the connection
14360         process is running.
14361         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14362         Read share names with "-g" option.
14364 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
14366         * net/rcirc.el (rcirc-view-log-file): New command.
14367         (rcirc-track-minor-mode-map): Remove C-c ` binding.
14368         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14369         specified.
14371 2009-10-15  Glenn Morris  <rgm@gnu.org>
14373         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14374         from the second command-line argument.
14375         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14376         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14377         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14378         w32-batch-update-autoloads.
14379         * emacs-lisp/autoload.el (autoload-make-program): New variable.
14380         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14382         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14383         the headers cannot be located.  Simplify, subtracting superflous
14384         save-excursions.
14386 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14388         Replace completion-base-size by completion-base-position to fix bugs
14389         such as (bug#4699).
14390         * simple.el (completion-base-position): New var.
14391         (completion-base-size): Mark as obsolete.
14392         (choose-completion): Make it work for mouse events as well.
14393         Pass the new base-position to choose-completion-string.
14394         (choose-completion-guess-base-position): New function, extracted from
14395         choose-completion-delete-max-match.
14396         (choose-completion-delete-max-match): Use it.  Make obsolete.
14397         (choose-completion-string): Use the new base-position info.
14398         (completion-root-regexp): Delete.
14399         (completion-setup-function): Preserve completion-base-position.
14400         Eliminate obsolete base-size manipulation.
14401         * minibuffer.el (display-completion-list): Don't mess with base-size.
14402         (minibuffer-completion-help): Set completion-base-position instead.
14403         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14404         choose-completion.
14405         * textmodes/bibtex.el (bibtex-complete):
14406         * emacs-lisp/crm.el (crm--choose-completion-string):
14407         Adjust to new calling convention.
14408         * complete.el (partial-completion-mode): Use minibufferp to avoid
14409         bumping into incompatible change to choose-completion-string-functions.
14410         * ido.el (ido-choose-completion-string): Make its calling convention
14411         more permissive.
14412         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14413         base-size manipulation.
14414         (comint-dynamic-list-input-ring): Use dotimes and push.
14415         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14416         fundamental-mode.  Use `or'.
14418 2009-10-14  Juri Linkov  <juri@jurta.org>
14420         * misearch.el (multi-isearch-next-buffer-from-list)
14421         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
14423 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14425         * Makefile.in (compile-onefile): Load `bytecomp' rather than
14426         `bytecomp.el'.
14428         * minibuffer.el (completion-pcm--merge-completions): Make sure the
14429         string we return is all made up of text from the completions rather
14430         than part from the completions and part from the input (bug#4219).
14432         * ido.el (ido-everywhere): Use define-minor-mode.
14434         * buff-menu.el (list-buffers, ctl-x-map):
14435         Mark the entry points with ;;;###autoload cookies.
14437 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
14439         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14440         correctly in the detached head case.
14441         (vc-git-print-log): Remove unused binding.
14443         * vc.el (vc-responsible-backend): When a directory is passed for
14444         for registration create a VC repository if no backend is
14445         responsible for the directory argument.
14446         (vc-deduce-fileset): Tell vc-responsible-backend to register.
14448         * vc.el: Move comments about RCS and SCCS ...
14449         * vc-rcs.el:
14450         * vc-sccs.el: ... here, respectively.
14452 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14454         * minibuffer.el (completion--file-name-table): Return nil if there's
14455         no file completion, even if substitute-in-file-name changed
14456         the string (bug#4708).
14458 2009-10-13  Juri Linkov  <juri@jurta.org>
14460         * files-x.el (read-file-local-variable-value): Don't filter out
14461         minor modes from mode name completion (bug#4664).
14463 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14465         * international/mule-cmds.el (ucs-names): Remove exclusion of
14466         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14468 2009-10-13  Kenichi Handa  <handa@m17n.org>
14470         * international/uni-name.el: Regenerated.
14472 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14474         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
14475         should be automatically buffer-local, but isn't.)
14477 2009-10-12  Sam Steingold  <sds@gnu.org>
14479         * progmodes/compile.el (compilation-next-error-function): Fix the
14480         timestamps if the buffer has been visited before.
14481         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14482         non-anchored patterns, like the perl one (bug#3928).
14484 2009-10-12  Glenn Morris  <rgm@gnu.org>
14486         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14487         Let-bind `size'.
14489 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
14491         * proced.el (proced-unload-function): New function.
14493         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14494         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14495         Doc fix.
14497         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14499 2009-10-11  Juri Linkov  <juri@jurta.org>
14501         * files-x.el (read-file-local-variable-value):
14502         Provide default value only for bound variables (bug#4664).
14504 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
14506         * net/tramp.el (tramp-local-host-p): Function shall return nil for
14507         connection methods like smb.
14509         * net/tramp-cache.el (tramp-flush-connection-property): The hash
14510         can be empty.
14512         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14513         (tramp-smb-file-name-handler-alist): Add handlers for
14514         `add-name-to-file', `make-symbolic-link'.
14515         (tramp-smb-handle-add-name-to-file)
14516         (tramp-smb-do-file-attributes-with-stat)
14517         (tramp-smb-handle-make-symbolic-link)
14518         (tramp-smb-get-cifs-capabilities): New defuns.
14519         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14520         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14521         (tramp-smb-handle-file-local-copy)
14522         (tramp-smb-handle-make-directory-internal)
14523         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14524         The file name syntax depends on cifs capabilities.
14525         (tramp-smb-handle-file-attributes):
14526         Call `tramp-smb-do-file-attributes-with-stat' if possible.
14527         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14528         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14530 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
14532         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14533         (eieio-defclass): Apply deftype handler and setf-method properties
14534         directly.
14535         (eieio-add-new-slot): Avoid union function from cl library.
14536         (eieio--typep): New function.
14537         (eieio-perform-slot-validation): Use it.
14539 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14541         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14542         Update documentation to refer to the variables documented in r1.135.
14543         (Bug#4188)
14545 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14547         * bookmark.el (Info-suffix-list): Remove this unused variable.
14548         (bookmark-current-point): Remove this obsolete variable.
14549         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14550         Adjust for removal of bookmark-current-point.
14552         (bookmarks-already-loaded, bookmark-current-buffer)
14553         (bookmark-yank-point): Document.  (Bug#4188)
14555 2009-10-10  Glenn Morris  <rgm@gnu.org>
14557         * frame.el (frame-height): Doc fix.
14559         * calendar/calendar.el (calendar-split-width-threshold): New option.
14560         (calendar-basic-setup): Use calendar-split-width-threshold.
14562 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
14564         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14565         Ideographic Supplement" range (U+1F200..U+1F2FF).
14567 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14569         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14570         since the list will have been rebuilt anyway.  (Bug#4349)
14572 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14574         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14575         (bookmark-bmenu-execute-deletions): Don't save here, as
14576         bookmark-delete will now do so if necessary.
14577         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14578         (Bug#4348)
14580 2009-10-09  Glenn Morris  <rgm@gnu.org>
14582         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14584 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14586         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14587         (bookmark-jump-other-window): Just invoke bookmark-jump with new
14588         argument now, so the two function's behaviors will match.  (Bug#3645)
14590 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
14592         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14593         (tramp-file-name-real-host, tramp-file-name-port):
14594         Apply `save-match-data'.
14596         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14597         case both directories are remote.
14598         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14599         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14601 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14603         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14605 2009-10-07  Glenn Morris  <rgm@gnu.org>
14607         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14608         of concat.
14610 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14612         * files-x.el (read-file-local-variable): Include some
14613         non-user-variables in the completion table (bug#4664).
14615 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
14617         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14618         message.
14620         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14621         (tramp-smb-file-name-handler-alist): Add handler for
14622         `copy-directory', `expand-file-name', `set-file-modes'.
14623         (tramp-smb-handle-copy-directory)
14624         (tramp-smb-handle-expand-file-name)
14625         (tramp-smb-handle-set-file-modes): New defuns.
14626         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14627         (tramp-smb-handle-file-attributes): Simplify check for retrieving
14628         entry.
14629         (tramp-smb-handle-insert-directory): Don't flush the cache.
14630         (tramp-smb-maybe-open-connection): Check for samba client and
14631         server versions.
14633 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
14635         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14636         to not error out of search for "^lisp=" fails.
14638 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14640         * makefile.w32-in (WINS_UPDATES): New macro.
14641         (custom-deps, finder-data, autoloads): Use it.
14643 2009-10-07  Glenn Morris  <rgm@gnu.org>
14645         * Makefile.in (autoloads): Revert previous change.
14646         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14647         the list of preloaded files passed on the command-line, get
14648         it from src/Makefile.
14650         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14651         show the original buffer rather than a random one.
14653 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
14655         * help.el (describe-no-warranty): Place point in a slightly better
14656         position in the GPLv3 text.
14658 2009-10-06  Sam Steingold  <sds@gnu.org>
14660         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14661         the comm attribute is present before calling regexp-quote.
14663 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
14665         * play/animate.el (animate-string): For good effect, make sure
14666         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14668         * play/animate.el (animate-sequence, animate-birthday-present):
14669         * misc.el (butterfly): Don't set `indent-tabs-mode'.
14671 2009-10-06  Glenn Morris  <rgm@gnu.org>
14673         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14675         * emacs-lisp/autoload.el (autoload-excludes): New variable.
14676         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14677         (batch-update-autoloads): Process a string value of autoload-excludes,
14678         set during the build process.
14679         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
14681         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14682         inside with-parsed...  macro so that `v' is defined.
14684         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14685         * progmodes/fortran.el (fortran-end-of-block)
14686         (fortran-beginning-of-block):
14687         Also push mark in the macro case.
14689         * emerge.el (emerge-show-file-name):
14690         * calc/calc.el (calc-quit):
14691         * calc/calc-misc.el (calc-big-or-small):
14692         * calc/calc-graph.el (calc-graph-view):
14693         * calc/calc-ext.el (calc-reset):
14694         * calendar/calendar.el (calendar-basic-setup):
14695         Use window-full-height-p.
14697         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14698         header we don't understand, don't insert another.  (Bug#4624)
14699         If changing mime charset, insert the new one in the right place.
14701 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
14703         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14704         (cal-tex-cursor-month): Correctly increment the end date for diary and
14705         holiday listing.  (Bug#4626)
14707 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14709         * help-fns.el (describe-function-1): Don't burp if the function is not
14710         a symbol.
14712 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
14714         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14715         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14716         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14717         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14719         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14720         (eieio-default-superclass): Reflow docstrings.
14721         (this, class-option-assoc, defclass, eieio-class-un-autoload)
14722         (eieio-unbind-method-implementations, defmethod)
14723         (eieio-validate-slot-value, eieio-validate-class-slot-value)
14724         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14725         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14726         (eieio-slot-originating-class-p, eieio-slot-name-index)
14727         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14728         (constructor, initialize-instance, no-next-method, object-print)
14729         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14730         Fix typos in docstrings.
14731         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14732         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14733         (next-method-p): Doc fixes.
14734         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14735         Fix typos in error messages.
14736         (eieio-defmethod): Fix typo in description of generic method.
14738         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14739         (eieio-persistent-save-interactive, slot-missing):
14740         Fix typos in docstrings.
14741         (eieio-instance-inheritor-slot-boundp): Doc fix.
14743         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14744         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14746         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14747         (eieio-custom-object-apply-reset):
14748         Fix typos in docstrings and error messages.
14750         * emacs-lisp/eieio-datadebug.el (data-debug-show):
14751         Fix typo in docstring.
14753         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14754         (eieio-browse-tree): Doc fix.
14755         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14756         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14757         Fix typos in docstrings.
14759         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14760         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14761         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14762         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14763         Reflow docstrings.
14765 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
14767         * vc-hg.el (log-view-vc-backend): Declare for compiler.
14768         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14769         Set log-view-vc-backend so that diff can work.
14771         * log-view.el (log-view-diff): Use vc-diff-internal instead of
14772         vc-version-diff.
14773         (vc-diff-internal): Autoload this instead of vc-version-diff.
14775 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
14777         * simple.el (eval-expression): Doc fix.
14779         * progmodes/cwarn.el (cwarn-mode): Doc fix.
14781 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
14783         * files.el (directory-files-no-dot-files-regexp): New defconst.
14784         (delete-directory): Use it.
14785         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
14787         * net/tramp.el (tramp-verbose): Fix docstring.
14788         (tramp-methods): Add recursive option to `tramp-copy-args'.
14789         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
14790         "scp1_old", "scp2_old", "rsync", "rsyncc".
14791         (tramp-default-method): Check also for `auth-source-user-or-password'.
14792         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14793         Add handler for `copy-directory'.
14794         (tramp-handle-copy-directory): New defun.
14795         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14796         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14797         Optimize sent command.
14799 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14801         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14802         window if necessary.
14804         * calendar/calendar.el (calendar-basic-setup): Don't call
14805         switch-to-buffer in a dedicated window.
14807 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
14809         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14810         don't do anything related to relocating, just return nil.
14811         (bookmark-error-no-filename): New error.
14812         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14813         bookmark has no file.  Don't even attempt to handle things that
14814         are not files; the whole point of custom handlers is to keep that
14815         knowledge elsewhere anyway.  Tighten some comments.
14816         (bookmark-file-or-variation-thereof): Remove now-unused function.
14817         (bookmark-location): Doc string fix.
14818         (Bug#4250)
14820 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14822         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14823         don't use a file dialog, because they usually don't know how to read
14824         a directory target from the user.  (Bug#4230)
14825         Also, make sure the prompt can display directories as well as files.
14827 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14829         * bookmark.el (bookmark-set, bookmark-buffer-name):
14830         Improve doc strings.  (Bug#1193)
14832 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14834         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14835         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14836         (bookmark-get-annotation, bookmark-set-annotation)
14837         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14838         (bookmark-set-position, bookmark-get-front-context-string)
14839         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14840         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14841         (bookmark-jump-other-window, bookmark-handle-bookmark)
14842         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14843         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14844         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14845         Improve doc strings to say whether bookmark can be a string or
14846         a record or both, and make other consistency and clarity fixes.
14847         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14848         (bookmark-default-annotation-text, bookmark-yank-word)
14849         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14850         (bookmark-import-new-list, bookmark-maybe-rename)
14851         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14852         (bookmark-bmenu-bookmark): Give these doc strings.
14853         (bookmark-bmenu-check-position): Give this a doc string, but also
14854         add a FIXME comment about how the function may be pointless.
14855         (bookmark-default-handler): Rework doc string and change a
14856         parameter name, to clarify that this takes a bookmark record
14857         not a bookmark name.
14858         (bookmark-set): Change a parameter name to indicate its meaning,
14859         and improve the doc string a bit.
14860         (Bug#4188)
14862 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14864         * bookmark.el (bookmark-alist): Document the new `handler' element
14865         in the param alist.
14866         (bookmark-make-record-function): Adjust documentation for above.
14867         (Bug#4193)
14869 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14871         * info.el (Info-bookmark-make-record): Document this function.
14872         (Info-bookmark-jump): Document with a doc string, not just a comment.
14873         (Bug#4203)
14875 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
14877         * files.el (copy-directory): New defun.
14879         * dired-aux.el (dired-copy-file-recursive): Use it.
14881 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
14883         * files-x.el (modify-dir-local-variable)
14884         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14885         docstrings.
14887         * recentf.el (recentf-unload-function): New function.
14889 2009-10-04  Glenn Morris  <rgm@gnu.org>
14891         * window.el (window-full-height-p): Add doc string.
14893 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
14895         * window.el (window-full-height-p): New function.  (Bug#4543)
14897 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
14899         * vc.el: Remove commented out code.
14900         (vc-derived-from-dir-mode): Remove, unused.
14901         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14903 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
14905         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14906         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
14907         there could be recursive loading when `default-directory' is a
14908         remote file name.  (Bug#4614)
14910 2009-10-03  Glenn Morris  <rgm@gnu.org>
14912         * calendar/calendar.el (calendar-basic-setup): Handle the case where
14913         the frame is wide.
14914         (calendar-generate-window): Test for shrinkability rather than width.
14916         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14917         reusing existing buffers, in case we happen to visit two files with the
14918         same basename.  (Bug#4593)
14920 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14922         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14923         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14924         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14925         subdirs of cedet as well.
14926         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14928 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14930         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14931         Obey advertised-signature-table.
14933         * help-fns.el (help-function-arglist): Don't check
14934         advertised-signature-table.
14935         (describe-function-1): Do it here instead so it also applies to subrs.
14937 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
14939         * simple.el (start-file-process): Say in the doc-string, that file
14940         handlers might not support pty association, if PROGRAM is nil.
14942         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14943         HOST and USER are strings.  They are nil, when there are
14944         incomplete entries in ~/.netrc, for example.
14945         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
14946         root directory ("device busy" error otherwise).
14948         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14949         Flush file properties of created directory.
14951 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14953         * makefile.w32-in (WINS_BASIC): Remove cedet.
14954         (WINS_CEDET): Add cedet.
14955         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14957 2009-10-02  Kevin Ryde  <user42@zip.com.au>
14959         * net/browse-url.el (browse-url): Pass any symbol in
14960         browse-url-browser-function to `apply', since if you've mistakenly put
14961         an unbound symbol then the error is clearer.  (Bug#4531)
14963 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14965         * allout.el (allout-init, allout-back-to-current-heading)
14966         (allout-beginning-of-current-entry, allout-ascend-to-depth)
14967         (allout-ascend, allout-up-current-level, allout-end-of-level)
14968         (allout-previous-visible-heading, allout-forward-current-level)
14969         (allout-backward-current-level, allout-show-children):
14970         * apropos.el (apropos-describe-plist):
14971         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14972         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14973         * completion.el (add-completion, add-permanent-completion):
14974         * descr-text.el (describe-text-category, describe-char):
14975         * desktop.el (desktop-lazy-abort):
14976         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14977         * dired.el (dired-build-subdir-alist):
14978         * ediff.el (ediff-version):
14979         * elide-head.el (elide-head, elide-head-show):
14980         * emerge.el (emerge-version):
14981         * env.el (getenv):
14982         * face-remap.el (variable-pitch-mode):
14983         * faces.el (describe-face):
14984         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14985         (dired-at-point):
14986         * files.el (find-file-existing, auto-save-mode):
14987         * font-lock.el (font-lock-fontify-buffer):
14988         * help-fns.el (describe-function, describe-variable)
14989         (describe-syntax, describe-categories):
14990         * help.el (view-lossage, describe-bindings, describe-key)
14991         (describe-mode):
14992         * hexl.el (hexl-current-address):
14993         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14994         * info.el (Info-goto-emacs-key-command-node):
14995         * log-edit.el (log-edit-insert-cvs-template)
14996         (log-edit-insert-cvs-rcstemplate):
14997         * menu-bar.el (menu-bar-mode):
14998         * mouse.el (mouse-appearance-menu):
14999         * newcomment.el (comment-indent-new-line):
15000         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15001         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15002         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15003         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15004         * recentf.el (recentf-mode):
15005         * savehist.el (savehist-mode, savehist-save):
15006         * shadowfile.el (shadow-copy-files):
15007         * simple.el (kill-ring-save, next-line, previous-line)
15008         (normal-erase-is-backspace-mode):
15009         * strokes.el (strokes-update-window-configuration)
15010         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15011         (strokes-xpm-for-stroke):
15012         * time.el (emacs-uptime, emacs-init-time):
15013         * tutorial.el (tutorial--describe-nonstandard-key)
15014         (tutorial--detailed-help):
15015         * type-break.el (type-break-mode)
15016         (type-break-mode-line-message-mode, type-break-query-mode)
15017         (type-break-guesstimate-keystroke-threshold):
15018         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15019         * version.el (emacs-version):
15020         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15021         * winner.el (winner-mode):
15022         * calendar/timeclock.el (timeclock-in, timeclock-out)
15023         (timeclock-status-string, timeclock-change)
15024         (timeclock-workday-remaining-string)
15025         (timeclock-workday-elapsed-string)
15026         (timeclock-when-to-leave-string):
15027         * calendar/todo-mode.el (todo-add-category):
15028         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15029         * emacs-lisp/autoload.el (update-file-autoloads):
15030         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15031         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15032         (checkdoc-message-text, checkdoc-defun):
15033         * emacs-lisp/debug.el (debugger-list-functions):
15034         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15035         * emacs-lisp/eieio-opt.el (eieio-describe-class)
15036         (eieio-describe-generic):
15037         * emacs-lisp/lisp-mnt.el (lm-synopsis):
15038         * emacs-lisp/shadow.el (list-load-path-shadows):
15039         * emulation/cua-base.el (cua-mode):
15040         * emulation/edt.el (edt-set-scroll-margins):
15041         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15042         (tpu-toggle-regexp, tpu-toggle-search-direction)
15043         (tpu-toggle-rectangle, tpu-toggle-control-keys):
15044         * emulation/tpu-extras.el (tpu-set-scroll-margins):
15045         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15046         (viper-set-parsing-style-toggling-macro)
15047         (viper-set-emacs-state-searchstyle-macros):
15048         * emulation/viper.el (viper-set-hooks):
15049         * eshell/esh-mode.el (eshell-truncate-buffer):
15050         * international/mule-cmds.el (prefer-coding-system)
15051         (describe-input-method, describe-language-environment):
15052         * international/mule-diag.el (list-character-sets)
15053         (describe-character-set, describe-coding-system)
15054         (describe-fontset, list-fontsets, list-input-methods):
15055         * mail/sendmail.el (mail-signature):
15056         * net/ange-ftp.el (ange-ftp-copy-file):
15057         * net/browse-url.el (browse-url):
15058         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15059         * net/quickurl.el (quickurl-add-url):
15060         * net/rcirc.el (names, topic):
15061         * net/xesam.el (xesam-mode):
15062         * play/5x5.el (5x5-new-game):
15063         * play/yow.el (apropos-zippy):
15064         * progmodes/ada-mode.el (ada-mode-version):
15065         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15066         (f90-end-of-block)
15067         (f90-beginning-of-block):
15068         * progmodes/fortran.el (fortran-end-of-block)
15069         (fortran-beginning-of-block):
15070         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15071         * progmodes/python.el (python-describe-symbol, python-shell):
15072         * term/ns-win.el (ns-print-buffer):
15073         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15074         * textmodes/flyspell.el (flyspell-mode-on):
15075         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15076         (pages-directory-for-addresses):
15077         * textmodes/table.el (table-recognize-cell)
15078         (table-query-dimension, table-generate-source)
15079         (table-insert-sequence, table--warn-incompatibility):
15080         * textmodes/tex-mode.el (tex-validate-buffer):
15081         * textmodes/texinfmt.el (texinfmt-version)
15082         (texinfo-format-buffer):
15083         Use `called-interactively-p' instead of `interactive-p'.
15085 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15087         * image-mode.el (image-toggle-display):
15088         * emacs-lisp/elp.el (elp-instrument-function):
15089         * emacs-lisp/advice.el (ad-make-advised-definition):
15090         * emacs-lisp/easy-mmode.el (define-minor-mode):
15091         * net/browse-url.el (browse-url-maybe-new-window):
15092         * progmodes/sh-script.el (sh-learn-buffer-indent):
15093         Pass new argument 'any to `called-interactively-p'.
15095 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
15097         * international/uni-bidi.el:
15098         * international/uni-category.el:
15099         * international/uni-combining.el:
15100         * international/uni-comment.el:
15101         * international/uni-decimal.el:
15102         * international/uni-decomposition.el:
15103         * international/uni-digit.el:
15104         * international/uni-lowercase.el:
15105         * international/uni-mirrored.el:
15106         * international/uni-name.el:
15107         * international/uni-numeric.el:
15108         * international/uni-old-name.el:
15109         * international/uni-titlecase.el:
15110         * international/uni-uppercase.el:
15111         Regenerate from Unicode 5.2.0 data.
15113 2009-10-01  Glenn Morris  <rgm@gnu.org>
15115         * Makefile.in (ELCFILES): Regenerate.
15117 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15119         * subr.el (interactive-p): Mark obsolete.
15120         (called-interactively-p): Make the optional-ness of `kind' obsolete.
15121         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15122         advertised-signature-table for subroutines as well.
15124         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15125         (set-advertised-calling-convention): New function.
15126         (make-obsolete, define-obsolete-function-alias)
15127         (make-obsolete-variable, define-obsolete-variable-alias):
15128         Make the optional-ness of `when' obsolete.
15129         (define-obsolete-face-alias): Make `when' non-optional.
15130         * help-fns.el (help-function-arglist):
15131         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15132         Use advertised-signature-table.
15134 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
15136         * files.el (delete-directory): New defun.  The original function
15137         in fileio.c has been renamed to `delete-directory-internal'.
15139         * dired.el (dired-delete-file): Call `delete-directory' with
15140         RECURSIVE parameter.
15142         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15143         parameter RECURSIVE.  Implementation is missing.
15145         * net/tramp.el (tramp-handle-make-directory): Flush upper
15146         directory's file properties.
15147         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15148         (tramp-handle-dired-recursive-delete-directory): Flush directory
15149         properties after the remove command only.
15151         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15152         Handle optional parameter RECURSIVE.
15154         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15155         Handle optional parameter RECURSIVE.
15157         * net/tramp-smb.el (tramp-smb-errors): Add error message for
15158         connection timeout.
15159         (tramp-smb-handle-delete-directory): Handle optional parameter
15160         RECURSIVE.
15162 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15164         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15165         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15166         (byte-compile-defmacro): Use backquotes.
15168         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15170         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15171         has no associated file.
15172         (vc-resynch-buffer): Use vc-dir-buffers.
15174 2009-10-01  Glenn Morris  <rgm@gnu.org>
15176         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15177         (chart-file-count):
15178         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15179         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15180         * emacs-lisp/eieio-opt.el (eieio-describe-class):
15181         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15182         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15183         (eieio-copy-parents-into-subclass, make-instance, class-children)
15184         (eieio-generic-form):
15186         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15187         match-data.  (Bug#4555).
15189         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15190         rather than parsing it as a regexp.  This relaxes the layout
15191         requirements and makes errors easier to detect.
15192         (check-declare-verify): Check file is regular.
15193         (check-declare-directory): Doc fix.
15194         * subr.el (declare-function): Doc fix.
15196         * ibuffer.el (ibuffer-format-qualifier):
15197         * isearch.el (hi-lock-regexp-okay):
15198         * calc/calc.el (math-zerop):
15199         * mail/uce.el (rmail-msgbeg, rmail-msgend):
15200         * term/w32-win.el (setup-default-fontset, set-fontset-font):
15201         Remove unused declarations.
15203 2009-09-30  Eric Ludlam  <zappo@gnu.org>
15205         * emacs-lisp/eieio.el (boolean-p): Delete.
15207 2009-09-30  Glenn Morris  <rgm@gnu.org>
15209         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15211         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15212         filename is not a string.
15214 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
15216         * files.el (safe-local-eval-forms): Fix typo.
15218 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15220         * vc-hooks.el (vc-dir-buffers): New var.
15221         (vc-state-refresh): New function.
15222         (vc-state): Use it.
15223         (vc-after-save): Always ask the backend to recompute the new state.
15224         Always call vc-dir if necessary, using vc-dir-buffers.
15225         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15226         Use vc-dir-buffers.
15227         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15228         (vc-dir-prepare-status-buffer, vc-dir-update)
15229         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15230         Don't call expand-file-name on default-directory.
15232 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15234         * speedbar.el (speedbar-item-delete):
15235         * calc/calc-prog.el (calc-kbd-if):
15236         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15238         * epa.el (epa-key-list-mode-map):
15239         * hi-lock.el (hi-lock-menu): Fix typos in menus.
15241         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15242         (hs-show-hook): Fix typo in docstring.
15244 2009-09-29  Glenn Morris  <rgm@gnu.org>
15246         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15247         file-name-nondirectory call preventing location of cedet files.
15248         (check-declare-verify): Use literal search rather than re-search.
15249         Add basic defmethod and defclass, and define-overloadable-function.
15251         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15252         Use tramp-compat-file-attributes rather than nonexistent
15253         tramp-compat-handle-file-attributes.
15255         * Makefile.in (lisptagsfiles4): New.
15256         (AUTOGENEL): Add cedet loaddefs files.
15257         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15258         (update-elclist, compile-always, backup-compiled-files)
15259         (bootstrap-clean): Add yet another directory level.
15260         (update-elclist): Use LC_COLLATE rather than COLLATE.
15261         (ELCFILES): Update, via `make update-elclist'.
15263 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15265         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15266         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15267         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15269 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15271         * Makefile.in (lisptagsfiles3): Define.
15272         (TAGS, TAGS-LISP): Use it.
15273         (update-elclist): Add third directory level to look for elc files.
15274         (compile-always): Likewise.
15275         (backup-compiled-files): Likewise.
15276         (bootstrap-clean): Likewise.
15277         (ELCFILES): Update.
15279 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
15281         * Makefile.in (ELCFILES): Add CEDET files.
15283 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
15285         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15287         * net/tramp.el (top): Require tramp-imap.
15289         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15290         Use `tramp-compat-handle-file-attributes'.
15292 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
15294         * net/tramp-imap.el: New package.
15296 2009-09-28  Eric Ludlam  <zappo@gnu.org>
15298         * emacs-lisp/chart.el:
15299         * emacs-lisp/eieio-base.el:
15300         * emacs-lisp/eieio-comp.el:
15301         * emacs-lisp/eieio-custom.el:
15302         * emacs-lisp/eieio-datadebug.el:
15303         * emacs-lisp/eieio-opt.el:
15304         * emacs-lisp/eieio-speedbar.el:
15305         * emacs-lisp/eieio.el: New files.
15307 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15309         * whitespace.el (whitespace-trailing-regexp)
15310         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15311         Fix doc string.
15313 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
15315         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15316         menu.
15318         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15319         menu-bar-ediff-menu.
15321         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15322         define-overloadable-function.
15324         * progmodes/autoconf.el: Provide autoconf as well, so that this
15325         file can be `require'd.
15327         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15329         * emacs-lisp/autoload.el (generated-autoload-feature)
15330         (generated-autoload-load-name): New vars.
15331         (autoload-rubric, autoload-generate-file-autoloads): Use them.
15332         (make-autoload): Recognize define-overloadable-function and
15333         defclass forms (for EIEIO).
15335         * Makefile.in (update-subdirs): Exclude cedet directory.
15337 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
15339         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
15341         * faces.el: Default light-background background for region face to
15342         ns_selection_color under NS.
15344 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
15346         * net/imap-hash.el: New library, see NEWS.
15348         * Makefile.in (ELCFILES): Add imap-hash.el.
15350 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15352         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15353         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15354         * help-macro.el (make-help-screen): Avoid using an ambiguous function
15355         definition where the docstring could be taken for the return value.
15357 2009-09-26  Glenn Morris  <rgm@gnu.org>
15359         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15360         Add option to only show images below a certain size.
15361         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15362         save-excursion calls.
15364 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
15366         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15367         subdirectories) and eieio.
15369 2009-09-26  Alan Mackenzie  <acm@muc.de>
15371         * progmodes/cc-engine.el (c-beginning-of-statement-1):
15372         Correct buggy bracketing.  (Bug#4289)
15374         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15375         character constants (as case labels).  (Bug#4289)
15377 2009-09-25  Juri Linkov  <juri@jurta.org>
15379         * files.el (safe-local-eval-forms): Allow time-stamp in
15380         before-save-hook (Bug#4554).
15382 2009-09-25  Drew Adams  <drew.adams@oracle.com>
15384         * menu-bar.el (list-buffers-directory): Doc fix.
15386 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15388         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15389         Try and avoid copying twice the same paragraph.
15390         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15391         Remove save-excursion.
15392         (log-edit-changelog-entry): Do it here instead.
15394 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
15396         * bs.el (bs--get-file-name): Use `list-buffers-directory'
15397         when available, instead of hardcoding mode names.  Doc fix.
15399         * menu-bar.el (list-buffers-directory): Add docstring.
15400         Make automatically buffer-local.
15402         * dired.el (dired-mode):
15403         * files.el (cd-absolute):
15404         * pcvs.el (cvs-temp-buffer):
15405         * pcvs-util.el (cvs-get-buffer-create):
15406         * shell.el (shell-mode):
15407         * vc-dir.el (vc-dir-mode):
15408         Don't make `list-buffers-directory' buffer local.
15410 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
15412         * comint.el (comint-exec, comint-run, make-comint):
15413         Doc fixes (Bug#4542).
15415 2009-09-25  Glenn Morris  <rgm@gnu.org>
15417         * mail/rmailmm.el (rmail-mime): New custom group.
15418         Move all defcustoms in this file into this group.
15419         (rmail-mime-media-type-handlers-alist): Revert previous change.
15420         (rmail-mime-show-images): New option.
15421         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15422         references to it, since it wasn't actually used for anything.
15423         (rmail-mime-insert-image): New function.
15424         (rmail-mime-image): Use rmail-mime-insert-image.
15425         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15426         obey the value of `rmail-mime-show-images' option.  Print the size of
15427         attachments.
15429 2009-09-25  David Engster  <deng@randomsample.de>
15431         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
15433 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15435         * whitespace.el: Does not highlight trailing spaces While point is
15436         at end of line.  Does not highligt spaces at beginning of buffer
15437         while point is at beginning of buffer.  Does not highlight spaces
15438         at end of buffer while point is at end of buffer.  (Bug#4177)
15439         New version 12.0.
15440         (whitespace-display-mappings): Adjust initialization.
15441         (whitespace-point, whitespace-font-lock-refontify): New vars.
15442         (whitespace-color-on, whitespace-color-off): Adjust code.
15443         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15444         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15445         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15447 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
15449         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15451         * textmodes/sgml-mode.el: Remove xml-mode alias.
15453         * files.el (auto-mode-alist, conf-mode-maybe)
15454         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15456 2009-09-24  Alan Mackenzie  <acm@muc.de>
15458         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15459         c-forward-conditionals, but it doesn't move point and doesn't set
15460         the mark.
15461         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15462         (c-down-conditional-with-else, c-backward-conditional)
15463         (c-forward-conditional): Refactor to use c-scan-conditionals.
15465 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15467         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15468         (help-default-arg-highlight): Remove.
15469         (help-highlight-arg): New function.
15470         (help-do-arg-highlight): Use it.
15471         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
15473 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15475         * term.el (term-set-scroll-region, term-handle-ansi-escape):
15476         Undo last change, which didn't fix the problem and introduced others.
15478 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
15480         * progmodes/gdb-mi.el: Don't require speedbar.
15481         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15483 2009-09-24  Glenn Morris  <rgm@gnu.org>
15485         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15487         * term/ns-win.el (ns-reg-to-script): Define for compiler.
15489         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15490         there is no newline after the final mime boundary.  (Bug#4539)
15491         Move markers on insertion so that any buttons inserted don't end up in
15492         the next part of a multipart message.
15493         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
15494         (rmail-mime-bulk-handler): Optionally handle images.
15495         (rmail-mime-image): New button action.
15496         (rmail-mime-image-handler): New function.
15497         (rmail-mime-mode): New mode.
15498         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
15500 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15502         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15503         than just dropping elements from it (bug#4504).
15505         * term.el (term-set-scroll-region): Don't move cursor any more.
15506         (term-handle-ansi-escape): Call term-goto here instead.
15507         Suggested by Ivan Kanis <apple@kanis.eu>.
15509         * term.el: Require CL.
15510         (term-ansi-reset): New function.
15511         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15512         (term-handle-colors-array): Simplify.
15514 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15516         * allout.el (allout-overlay-interior-modification-handler)
15517         (allout-obtain-passphrase):
15518         * epa-file.el (epa-file-write-region):
15519         * ps-print.el (ps-begin-job):
15520         * vc-hooks.el (vc-toggle-read-only):
15521         * vc-rcs.el (vc-rcs-rollback):
15522         * vc-sccs.el (vc-sccs-rollback):
15523         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15524         (vc-version-diff, vc-revert, vc-rollback):
15525         * wdired.el (wdired-check-kill-buffer):
15526         * emacs-lisp/authors.el (authors):
15527         * net/socks.el (socks-open-connection):
15528         * net/zeroconf.el (zeroconf-service-add-hook):
15529         * obsolete/vc-mcvs.el (vc-mcvs-register):
15530         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15531         (gdb-select-frame):
15532         * progmodes/grep.el (lgrep, rgrep):
15533         * progmodes/idlw-help.el (idlwave-help-check-locations)
15534         (idlwave-help-html-link, idlwave-help-assistant-open-link):
15535         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15536         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15537         (reftex-toc-rename-label): Fix typos in error messages.
15539         * dired-aux.el (dired-do-shell-command): Reflow docstring.
15540         (dired-copy-how-to-fn): Doc fix.
15541         (dired-files-attributes, dired-read-shell-command):
15542         Fix typos in docstrings.
15544         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15545         (dired-x-find-file-other-window): Reflow docstrings.
15546         (dired-omit-marker-char, dired-read-shell-command)
15547         (dired-x-submit-report): Fix typos in docstrings.
15549         * shell.el (shell-mode-hook):
15550         * view.el (View-scroll-line-forward):
15551         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15552         Fix typos in docstrings.
15554         * net/dig.el (dig-invoke): Fix typo in docstring.
15555         (query-dig): Reflow docstring.
15557         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15558         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15559         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15560         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15561         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15562         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15563         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15564         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15565         (idlwave-completion-map, idlwave-current-indent)
15566         (idlwave-custom-ampersand-surround, idlwave-customize)
15567         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15568         (idlwave-define-abbrev, idlwave-determine-class-special)
15569         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15570         (idlwave-end-block-reg, idlwave-end-of-statement)
15571         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15572         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15573         (idlwave-explicit-class-listed, idlwave-file-header)
15574         (idlwave-fill-paragraph, idlwave-find-class-definition)
15575         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15576         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15577         (idlwave-in-quote, idlwave-indent-action-table)
15578         (idlwave-indent-expand-table, idlwave-indent-line)
15579         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15580         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15581         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15582         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15583         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15584         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15585         (idlwave-outlawed-buffers, idlwave-popup-select)
15586         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15587         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15588         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15589         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15590         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15591         (idlwave-statement-type, idlwave-struct-skip)
15592         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15593         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15594         (idlwave-what-module-find-class): Fix typos in docstrings.
15595         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15596         (idlwave-calculate-cont-indent, idlwave-expand-equal)
15597         (idlwave-find-module, idlwave-find-structure-definition)
15598         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15599         (idlwave-list-load-path-shadows, idlwave-next-statement)
15600         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15601         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15602         (idlwave-template): Reflow docstrings.
15604         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15605         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15606         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15607         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15608         (idlwave-shell-display-line, idlwave-shell-display-wframe)
15609         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15610         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15611         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15612         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15613         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15614         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15615         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15616         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15617         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15618         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15619         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15620         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15621         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15622         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15623         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15624         Fix typos in docstrings.
15625         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15626         (idlwave-shell-hide-output, idlwave-shell-mode)
15627         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15628         Reflow docstrings.
15630         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15632 2009-09-24  Ivan Kanis  <apple@kanis.eu>
15634         * term.el (term-bold-attribute): New var.
15635         (term-handle-colors-array): Use it.
15637 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
15639         * progmodes/gdb-mi.el (gdb-version): New variable.
15640         (gdb-non-stop-handler): Set gdb-version.
15641         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15642         Condition "--thread" option on gdb-version.
15643         (gdb-invalidate-threads): Remove unused argument.
15645 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15647         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15648         to looking-back to avoid ridiculous slow down in large files (bug#4511).
15650 2009-09-23  Glenn Morris  <rgm@gnu.org>
15652         * mail/rmail.el (rmail-reply): Don't try to add a References header when
15653         replying to mail without References or Message-Id.  (Bug#4525)
15655 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
15657         * term/ns-win.el (ns-reg-to-script): New variable.
15659 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
15661         * epg.el (epg-wait-for-status): Preserve existing 'error results.
15663 2009-09-22  Sam Steingold  <sds@gnu.org>
15665         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15666         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15667         to 1 because hg returns status 1 when nothing is found.
15668         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15670 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15672         * textmodes/fill.el: Convert to utf-8 encoding.
15673         (fill-french-nobreak-p): Remove redundant » and « inherited from our
15674         pre-Unicode days.
15676         * add-log.el (change-log-fill-forward-paragraph): New function.
15677         (change-log-mode): Use it so fill-region DTRT.
15678         Set fill-indent-according-to-mode here rather than in
15679         change-log-fill-paragraph.
15680         (change-log-fill-paragraph): Remove.
15682 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
15684         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15685         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
15687 2009-09-22  Glenn Morris  <rgm@gnu.org>
15689         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15690         the scroll-bar scroll the calendar window rather than the buffer.
15692         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15693         commands that move point (as opposed to scrolling).
15695         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15697         * emacs-lisp/elint.el (elint): New custom group.
15698         (elint-log-buffer): Make it a defcustom.
15699         (elint-scan-preloaded, elint-ignored-warnings)
15700         (elint-directory-skip-re): New options.
15701         (elint-builtin-variables): Doc fix.
15702         (elint-preloaded-env): New variable.
15703         (elint-unknown-builtin-args): Add an entry for encode-time.
15704         (elint-extra-errors): Make it a variable rather than a constant.
15705         (elint-preloaded-skip-re): New constant.
15706         (elint-directory): Skip files matching elint-directory-skip-re.
15707         (elint-features): New variable, local to linted buffers.
15708         (elint-update-env): Initialize elint-features.  Possibly add
15709         elint-preloaded-env to the buffer's environment.
15710         (elint-get-top-forms): Bind elint-current-pos, for log messages.
15711         Skip quoted forms.
15712         (elint-init-form): New function, extracted from elint-init-env.
15713         Make non-list forms a warning rather than an error.
15714         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
15715         easy-menu-define, put that adds an error-condition, and provide.
15716         When requiring cl, also require cl-macs.  Really require cl, to handle
15717         some cl macros.  Store required libraries in the list elint-features,
15718         so as not to re-load them.  Treat cc-require like require.
15719         (elint-init-env): Call elint-init-form to do the work.
15720         Handle eval-and-compile and such like.
15721         (elint-add-required-env): Do not clear messages.
15722         (elint-special-forms): Add handlers for function, defalias, if, when,
15723         unless, and, or.
15724         (elint-form): Add optional argument to ignore elint-special-forms,
15725         useful to prevent recursive calls from handlers.  Doc fix.
15726         Respect elint-ignored-warnings.
15727         (elint-form): Respect elint-ignored-warnings.
15728         (elint-bound-variable, elint-bound-function): New variables.
15729         (elint-unbound-variable): Respect elint-bound-variable.
15730         (elint-get-args): Respect elint-bound-function.
15731         (elint-check-cond-form): Add some simple handling for (f)boundp and
15732         featurep tests.
15733         (elint-check-defalias-form): New handler.
15734         (elint-check-let-form): Make an empty let a warning rather than an
15735         error.
15736         (elint-check-setq-form): Make an empty setq a warning rather than an
15737         error.  Respect elint-ignored-warnings.
15738         (elint-check-defvar-form): Accept null doc-strings.
15739         (elint-check-conditional-form): New handler.  Does some simple-minded
15740         checking of featurep and (f)boundp tests.
15741         (elint-put-function-args): New function.
15742         (elint-initialize): Use elint-scan-doc-file rather than
15743         elint-find-builtin-variables.  Use elint-put-function-args.
15744         Possibly scan preloaded-file-list.
15745         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15746         extend to handle functions as well.
15748 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
15750         * linum.el (linum-delete-overlays, linum-update-window):
15751         Do not modify the right margin.  (Bug#3971)
15753 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
15755         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15756         Use nxml-mode instead of xml-mode.
15758 2009-09-21  Kevin Ryde  <user42@zip.com.au>
15760         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
15762 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15764         * net/dig.el (dig-mode): Use define-derived-mode.
15766 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
15768         * vc-dispatcher.el (vc-do-command): Return the process object in
15769         the asynchronous case.  Use when instead of if.  Do not run
15770         vc-exec-after to display a message if not enabled.  (Bug#4463)
15772         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15773         properties to the stash strings.
15774         (vc-git-stash-list): Return a list of strings.
15775         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15776         (vc-git-stash-show-at-point): New functions.
15777         (vc-git-stash-map): New keymap.
15779         * register.el (ctl-x-r-map): Define the keys here instead of
15780         using autoload.
15782 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
15784         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15785         list, to workaround performance problem (bug#4485).
15787 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
15789         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15791 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
15793         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15794         Document that this option is not recommended to use.
15796 2009-09-19  Glenn Morris  <rgm@gnu.org>
15798         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15799         variable `var'.
15801         * calc/calc-alg.el (var):
15802         * calc/calcalg2.el (var): Define for compiler.
15804 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
15806         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15807         Doc fix (Bug#3932).
15809         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15811         * time-stamp.el (time-stamp-month-dd-yyyy)
15812         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15813         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15814         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15815         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15816         Remove functions that have been obsolete since 1995 (Bug#4436).
15818         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15819         indent buffer only if called interactively (Bug#4452).
15821 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
15822             Eli Zaretskii  <eliz@gnu.org>
15824         This fixes bug#4197 (merged to bug#865, though not identical).
15825         * server.el (server-auth-dir): Add docstring note about FAT32.
15826         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15827         but warn against using them.
15829 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
15831         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15832         older GDB where there is no has_more field.
15834 2009-09-19  Glenn Morris  <rgm@gnu.org>
15836         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15838 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
15840         * files.el (auto-mode-alist): Change default for XML files to nXML
15841         mode (Bug#4169).
15843 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
15845         * server.el (server-ensure-safe-dir): Pass 'integer
15846         to `file-attributes', as suggested.
15848 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15850         * dired-aux.el (dired-query-alist): Remove spurious backslash.
15851         (dired-query): Use read-key.
15853 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
15855         * cus-start.el (ns-use-qd-smoothing): Remove.
15857 2009-09-18  Glenn Morris  <rgm@gnu.org>
15859         * allout.el (top-level): Remove unnecessary progn.
15861         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15863         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15864         definition of abbrev table.
15866         * speedbar.el (speedbar-track-mouse):
15867         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15868         * net/eudc.el (eudc-expand-inline):
15869         * net/newst-backend.el (newsticker--cache-read-feed):
15870         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15871         condition-case handlers.
15873 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
15875         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15876         (gdb-var-list): Add an element for has_more field.
15877         (gdb-non-stop-handler): Enable pretty printing for STL containers.
15878         (gdb-var-create-handler, gdb-var-list-children-handler-1)
15879         (gdb-var-update-handler-1): Parse output of dynamic variable
15880         objects (STL containers).
15881         (gdb-var-delete-1): Pass var1 as an explicit second argument.
15882         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
15884         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15885         gdb-var-list.
15886         (gud-speedbar-buttons): Make node expandable if expression "has more"
15887         children.
15889 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
15891         * startup.el (emacs-quick-startup): Remove variable and all uses.
15892         (command-line): Set `inhibit-x-resources' instead.
15893         (command-line-1): Use `inhibit-x-resources' instead.
15895 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
15897         * subr.el: Fix last change to avoid using the `unless' macro,
15898         which breaks bootstrapping.
15900 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15902         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15903         extended definitions, in case we reload subr.el after having
15904         loaded CL.
15905         (eval-next-after-load): Mark as obsolete.
15907 2009-09-17  Juri Linkov  <juri@jurta.org>
15909         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15910         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15911         (menu-bar-showhide-menu, menu-bar-tools-menu)
15912         (menu-bar-describe-menu, menu-bar-help-menu)
15913         (minibuffer-local-completion-map, minibuffer-local-map):
15914         Fix list quoting.
15916 2009-09-17  Glenn Morris  <rgm@gnu.org>
15918         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15919         arguments, whether or not it has a handler.
15921         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15923         * simple.el (hard-newline): Give it a doc-string.
15925         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15926         (lisp-mode-syntax-table): Give them doc-strings.
15928 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
15930         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15931         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15932         (menu-bar-options-menu, menu-bar-showhide-menu)
15933         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15934         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15935         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15936         (menu-bar-options-menu, menu-bar-tools-menu)
15937         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15938         (menu-bar-help-menu):
15939         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15940         string arguments.
15942         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15943         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15944         calls for the menu names and :help.
15946 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15948         * mouse.el (minor-mode-menu-from-indicator): Pay attention
15949         to :minor-mode-function (bug#4455).
15951 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15953         * startup.el (command-line): Initialize the window-system after
15954         processing the command-line.
15956         * textmodes/page.el (what-page): Make sure we don't inf-loop if
15957         page-delimiter matches the empty string.
15959 2009-09-16  Glenn Morris  <rgm@gnu.org>
15961         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15962         byte-compile-not-obsolete-var.  It's a list now.
15963         (byte-compile-not-obsolete-funcs): New variable.
15964         (byte-compile-warn-obsolete): Don't warn about functions if they are in
15965         byte-compile-not-obsolete-funcs.
15966         (byte-compile-variable-ref, byte-compile-defvar): Update for
15967         byte-compile-not-obsolete-vars name-change and list nature.
15968         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15969         and variables behind (f)boundp tests.
15970         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15972 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15974         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15976 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15978         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15979         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15980         Don't autoload.
15982 2009-09-15  Stephen Eglen  <stephen@gnu.org>
15984         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15985         the virtual-buffers, use the name of the buffer specified by
15986         find-file-noselect, as the match may be a symlink.  (This was a
15987         problem if the target and the symlink had different names.)
15989 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15991         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15993         * desktop.el (desktop-path): Check user-emacs-directory.
15995         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15997         * loadup.el: Use after-load-functions to GC after loading each file.
15998         Remove the explicit GC calls that used to be sprinkled around.
16000         * subr.el (after-load-functions): New hook.
16001         (do-after-load-evaluation): Run it.  Use string-match-p to detect
16002         `obsolete' packages, rather than painfully extracting the relevant
16003         directory name.
16005 2009-09-15  Glenn Morris  <rgm@gnu.org>
16007         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16008         free variable `doc'.
16010         * dired.el (dired-mode-map): Add menu entry for async shell command.
16012         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16013         variables, also consider the .elc files, since the .el files are
16014         normally gzipped (subsequent code locates the .el.gz from the .elc).
16016         * calc/calc-prog.el (arglist): Define for compiler.
16018         * calendar/diary-lib.el (diary-display-function): Change the default to
16019         fancy display.
16020         (body): Define for compiler.
16022         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16023         (byte-compile-file-form, byte-compile-lambda)
16024         (byte-compile-top-level-body, byte-compile-form)
16025         (byte-compile-variable-ref, byte-compile-setq)
16026         (byte-compile-setq-default, byte-compile-body)
16027         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16028         (batch-byte-compile): Give some more local variables with common names
16029         a "bytecomp-" prefix to avoid masking warnings about free variables.
16031         * startup.el (command-line-1): Give local variables with common names a
16032         distinguishing prefix, so as not to hide free variable warnings during
16033         bootstrap.
16035         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16036         clever and add a suffix to make a unique name, just let the user decide
16037         whether or not to overwrite it.  If the input is a directory, write the
16038         default filename to that directory.  (Bug#4388)
16039         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16040         is a filename-as-a-directory.
16042 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16044         * textmodes/page.el (what-page): Don't move to beginning of line.
16045         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16047 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16049         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16051 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
16053         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16054         * help.el (help-for-help-internal): Add purecopy calls for text.
16056         * vc.el (top): print-log method now takes an optional SHORTLOG
16057         argument.  Add a new method: root.
16058         (vc-root-diff, vc-print-root-log): New functions.
16059         (vc-log-short-style): New variable.
16060         (vc-print-log-internal): Add support for showing short logs.
16062         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16063         vc-print-root-log and vc-print-root-diff.
16065         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16066         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16067         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16068         short logs.
16070         * vc-cvs.el (vc-cvs-print-log):
16071         * vc-mtn.el (vc-mtn-print-log):
16072         * vc-rcs.el (vc-rcs-print-log):
16073         * vc-sccs.el (vc-sccs-print-log):
16074         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16075         that is ignored for now.
16077         * vc-mtn.el (vc-mtn-annotate-command):
16078         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16080 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16082         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16083         to function-key-map, and give them ascii-character property.
16084         * term/x-win.el (x-alternatives-map):
16085         * term/ns-win.el (ns-alternatives-map):
16086         * term/internal.el (msdos-key-remapping-map):
16087         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16089 2009-09-14  Glenn Morris  <rgm@gnu.org>
16091         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16092         temp-buffers (2009-09-12).
16094 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16096         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16097         the new read-key function.
16099 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16101         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16102         is defined (Bug#4405).
16104 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
16106         * recentf.el (recentf-cleanup): Use a hash table to find
16107         duplicates (Bug#4407).
16109 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
16111         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16112         kp-0 to ascii equivalents (Bug#4325).
16114 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16116         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16118         * eshell/em-hist.el:
16119         * eshell/em-dirs.el (eshell-complete-user-reference):
16120         Declare pcomplete functions and variables to avoid compiler warnings.
16122 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
16124         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16125         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16126         * eshell/em-alias.el (eshell-aliases-file):
16127         * eshell/em-hist.el (eshell-history-file-name):
16128         Use expand-file-name instead of concat to make file names (Bug#4308).
16130 2009-09-13  Glenn Morris  <rgm@gnu.org>
16132         * ediff-merg.el (ediff-do-merge):
16133         * filesets.el (filesets-run-cmd):
16134         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16135         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16136         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16137         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16138         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16139         Replace empty `let's with `progn'.
16141 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16143         * mail/sendmail.el (send-mail-function):
16144         * tooltip.el (tooltip-mode):
16145         * simple.el (transient-mark-mode):
16146         * rfn-eshadow.el (file-name-shadow-mode):
16147         * frame.el (blink-cursor-mode):
16148         * font-core.el (global-font-lock-mode):
16149         * files.el (temporary-file-directory)
16150         (small-temporary-file-directory, auto-save-file-name-transforms):
16151         * epa-hook.el (auto-encryption-mode):
16152         * composite.el (global-auto-composition-mode):
16153         Use custom-initialize-delay.
16154         * startup.el (command-line): Don't explicitly call
16155         custom-reevaluate-setting for all the above vars.
16156         * custom.el (custom-initialize-safe-set)
16157         (custom-initialize-safe-default): Delete.
16159 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16161         * term/x-win.el (x-initialize-window-system):
16162         * term/w32-win.el (w32-initialize-window-system):
16163         * term/ns-win.el (ns-initialize-window-system): Don't call
16164         mouse-wheel-mode since it's enabled globally by default already.
16166         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16167         actually define the variable, but only silences the byte-compiler.
16168         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16169         before looking it up.
16170         (mouse-wheel-scroll-amount): Also reset the bindings if this value
16171         is changed.
16173 2009-09-12  Glenn Morris  <rgm@gnu.org>
16175         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16176         1000.
16177         (elint-add-required-env): Don't beep on error.
16178         (elint-forms): In case of error, return ENV unchanged.
16179         (elint-init-env): Skip non-list forms.
16180         (elint-log): Handle unknown file positions.
16182 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
16184         * epg.el (epg-make-context): Add autoload cookie.
16185         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16186         (epg-decrypt-string, epg-start-verify, epg-verify-file)
16187         (epg-verify-string, epg-start-sign, epg-sign-file)
16188         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16189         (epg-encrypt-string, epg-start-export-keys)
16190         (epg-export-keys-to-file, epg-export-keys-to-string)
16191         (epg-start-import-keys, epg-import-keys-from-file)
16192         (epg-import-keys-from-string, epg-start-receive-keys)
16193         (epg-receive-keys, epg-import-keys-from-server)
16194         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16195         (epg-sign-keys, epg-start-generate-key)
16196         (epg-generate-key-from-file, epg-generate-key-from-string):
16197         Remove autoload cookie.
16199 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
16201         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16202         reevaluation of trash-directory.
16204         * mwheel.el: Fix last change.
16205         (mouse-wheel-mode): New defvar.
16206         (mouse-wheel-mode): Remove autoload cookie.
16208 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16210         * mwheel.el (mwheel-installed-bindings): New var.
16211         (mouse-wheel-mode): Use it, so as to make sure we really remove all
16212         the bindings we set last time.  Use custom-initialize-delay.
16213         * loadup.el: Load mwheel after term/*-win.el.
16214         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16215         and mouse-wheel-up-event now that their first evaluation is done
16216         sufficiently late to be correct.
16218         * startup.el (tutorial-directory): Make it a defcustom.
16219         Use custom-initialize-delay rather than eval-at-startup to set it.
16220         * image.el (image-load-path): Make it a defcustom.
16221         Use custom-initialize-delay rather than eval-at-startup to set it.
16222         * subr.el (eval-at-startup): Remove.
16223         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16225         * subr.el (do-after-load-evaluation): Warn the user after loading an
16226         obsolete package.
16228 2009-09-12  Glenn Morris  <rgm@gnu.org>
16230         * proced.el (proced-mark-alt): Remove alias.
16231         (proced-mode-map): Remove proced-mark-alt.
16233         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16234         Elint file and directory.  Remove initialization entry.
16236         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16237         commands.
16238         (elint-current-buffer): Set mode-line-process.
16239         (elint-init-env): Handle define-derived-mode.
16240         Fix declare-function with unspecified arglist.  Guard against odd
16241         defalias statements (eg iso-insert's 8859-1-map).
16242         (elint-add-required-env): Use a temp buffer.
16243         (elint-form): Just print the function/macro name, not the whole form.
16244         Return env unchanged if we fail to parse a macro.
16245         (elint-forms): Guard against parse errors.
16246         (elint-output): New function, to handle batch mode.
16247         (elint-log-message): Add optional argument.  Use elint-output.
16248         (elint-set-mode-line): New function.
16250 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
16252         * emacs-lisp/elp.el (elp-not-profilable): Add more
16253         functions (Bug#4233).
16255 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
16257         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16258         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16260 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16262         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16263         (gdb-var-list-children): Use json parsing.
16265 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
16267         * progmodes/js.el (js--proper-indentation): Handle the case where
16268         char-before is null.  Reported by Deniz Dogan.
16270 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16272         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16274 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
16276         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16277         (epg-digest-algorithm-alist): Add SHA224.
16278         (epg-context-set-passphrase-callback)
16279         (epg-context-set-progress-callback): Add description about
16280         callback function.
16282 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16284         * custom.el (custom-delayed-init-variables): New var.
16285         (custom-initialize-delay): New function.
16286         * startup.el (command-line): "Re"evaluate all vars in
16287         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
16288         explicitly any more.
16289         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16290         to avoid creating a ~/.emacs.d at build-time (bug#4347).
16292         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16294 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16296         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16297         (gdb-var-update-handler): Use json parsing.
16299 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16301         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16302         decode annotated text, regardless of language environment.  (Bug#2741)
16304 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16306         * Makefile.in (autoloads): Make rmail.el writable as well.
16308 2009-09-11  Glenn Morris  <rgm@gnu.org>
16310         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16311         loaddefs.el.
16312         * dired.el: Regenerate with extracted autoloads.
16313         * Makefile.in (autoloads): Make dired.el writable.
16315         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16316         * ibuffer.el: Regenerate with extracted autoloads.
16317         * Makefile.in (autoloads): Make ibuffer.el writable.
16319         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16320         * version.el (emacs-copyright, emacs-major-version)
16321         (emacs-minor-version): Reformat doc-strings for make-docfile.
16323         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16324         functions and variables, since they must be stuff specific to some other
16325         platform.
16326         (apropos-print): Make mouse-click message less specific about button.
16328         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16329         that records where a macro was defined.
16330         * help-fns.el (describe-function-1): Mention if a function has a
16331         compiler-macro.
16332         * help-mode.el (help-function-cmacro): New button.
16334         * locate.el (top-level): Always require dired.
16335         (locate-mode-map): Initialize inside the defvar.
16337         * net/ange-ftp.el (dired-compress-file): Declare.
16338         (ange-ftp-dired-compress-file): Add doc string.
16340         * term/ns-win.el (x-display-name, x-setup-function-keys):
16341         Unify doc-strings with X versions.
16343 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16345         * emulation/crisp.el (crisp-mode-map): Move initialization
16346         into declaration.
16347         (crisp-mode): Use define-minor-mode.
16349         * progmodes/xscheme.el (xscheme-evaluation-commands):
16350         Put a :advertised-binding property rather than using
16351         advertised-xscheme-send-previous-expression.
16352         (advertised-xscheme-send-previous-expression): Declare obsolete.
16353         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16354         `advertised-undo'.
16355         (crisp-mode): Add corresponding bindings to
16356         undo's :advertised-binding instead.
16357         * dired.el (dired-mode-map): Put a :advertised-binding property rather
16358         than using dired-advertised-find-file.
16359         (dired-advertised-find-file):
16360         * simple.el (advertised-undo):
16361         * wid-edit.el (advertised-widget-backward): Declare obsolete.
16362         (widget-keymap): Put a :advertised-binding property rather
16363         than using advertised-widget-backward.
16364         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16365         than using advertised-undo.
16366         * tutorial.el (tutorial--default-keys): Adjust accordingly.
16368 2009-09-10  Simon South  <ssouth@slowcomputing.org>
16370         * progmodes/delphi.el (delphi-tab): Indent region when Transient
16371         Mark mode is enabled and region is active; otherwise indent or
16372         insert TAB as usual.
16373         (delphi-mode): Update description of TAB-key binding.
16375 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16377         * subr.el (define-key-rebound-commands): Mark obsolete.
16378         * startup.el (precompute-menubar-bindings): Remove.
16379         (normal-top-level): Remove obsolete code that tried to precompute
16380         menubar bindings.
16381         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16382         define-key-rebound-commands and precompute-menubar-bindings.
16384 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
16386         * net/imap.el (imap-interactive-login): Better messages.
16387         (imap-open): Fix bug with renamed buffer on reconnect.
16388         (imap-authenticate): Add buffer-local imap-last-authenticator variable
16389         for easier debugging and cleaner code.  On successful (guessed based on
16390         server capabilities) secondary authentication, set imap-state
16391         correctly.
16392         (imap-last-authenticator): Define imap-last-authenticator as a variable
16393         to avoid warnings.
16395 2009-09-10  Glenn Morris  <rgm@gnu.org>
16397         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16399         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16400         (byte-compile-file-form-autoload): Don't warn about unknown functions
16401         where the autoload statement comes after the use.
16402         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16403         that any handlers inside the body (eg require) are in turn respected.
16405         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16406         effects.
16408         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16409         and syntax and abbrev tables basic docs, if they don't have any.
16411         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16413         * international/mule-cmds.el (top-level): Require cl when compiling.
16414         (view-hello-file): Use default-value rather than
16415         default-enable-multibyte-characters.
16417         * progmodes/fortran.el: Move all safe and risky properties into the
16418         defcustoms.
16420         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16421         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16422         * mail/undigest.el:
16423         Put autoloads in rmail.el rather than loaddefs.el.
16424         * mail/rmail.el: Regenerate with extracted autoloads.
16426         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16427         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16429 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
16431         Reported in thread for Bug#4375.
16432         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16433         "-data-evaluate-expression" instead of print.
16434         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16435         (gdb-tooltip-print): Parse output from above MI command.
16436         (gdb): Revert 2009-08-11 change.  User should detach inferior
16437         manually.
16439         Remove the word "separate" from IO functions as inferior
16440         output is now never displayed in the GUD buffer.
16442 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
16444         * startup.el (command-line-normalize-file-name): On Windows and
16445         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16447 2009-09-10  Juri Linkov  <juri@jurta.org>
16449         * isearch.el (isearch-text-char-description): Propertize escape
16450         character sequences with the `escape-glyph' face.  (Bug#4344)
16452         * simple.el (shell-command): Set asynchronous process filter to
16453         `comint-output-filter'.  (Bug#4343)
16455         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16456         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
16457         the list.  Move "asm" to the bottom.
16458         (grep-find-ignored-directories): Add `choice' with nil value
16459         to empty the list easily.
16460         (grep-find-ignored-files): New option.
16461         (grep-files-history): Set to nil by default instead of '("ch" "el").
16462         (grep-compute-defaults): Add "<X>" to `grep-template'.
16463         (grep-read-files): Bind new local variables `default-alias' and
16464         `default-extension'.  Use a list of default values for the file prompt.
16465         (lgrep): Add `--exclude=' command line options composed from
16466         `grep-find-ignored-files'.
16467         (rgrep): Add `-name' command line options composed from
16468         `grep-find-ignored-files'.  (Bug#4301)
16470 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16472         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16473         (bug#4368).
16475 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
16477         * calendar/time-date.el (autoload):
16478         Expand define-obsolete-function-alias into defalias and make-obsolete
16479         for old Emacsen that Gnus supports.
16480         (with-no-warnings): Define it for old Emacsen.
16481         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16482         is available.
16483         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16484         float-time is available; suppress compile warning for time-to-seconds.
16486 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
16488         * net/imap.el (imap-message-map): Docstring fix.
16490 2009-09-09  Glenn Morris  <rgm@gnu.org>
16492         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16493         line numbers too.  (Bug#4374)
16495 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16497         * smerge-mode.el (smerge-remove-props, smerge-refine):
16498         Use with-silent-modifications (bug#4342).
16500         * subr.el (with-silent-modifications): New macro.
16502 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
16504         * files.el (top-level): Require `cl' when compiling.
16506 2009-09-07  Glenn Morris  <rgm@gnu.org>
16508         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16510         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16511         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
16513 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
16515         * vc-git.el (vc-git-annotate-command): Use separator to parse
16516         arguments correctly.
16518 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
16520         * proced.el (proced-mode): Doc fix.
16522 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
16524         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16525         lstat fails.
16526         (tramp-do-file-attributes-with-ls): Check for file existence at
16527         remote end.
16528         (tramp-do-file-attributes-with-stat): Likewise.
16529         (tramp-convert-file-attributes): Return nil when attr is nil.
16531 2009-09-05  Glenn Morris  <rgm@gnu.org>
16533         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16534         properties to this button.
16535         (diary-fancy-display): Don't extend the button to the final newline.
16536         (diary-fancy-display-mode): Continue to define "q" as a local key.
16538         * calendar/cal-china.el (holiday-chinese): Make it slightly more
16539         efficient.
16541         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16543         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16544         (byte-compile-dest-file-function): New option.
16545         (byte-compile-dest-file): Doc fix.
16546         Obey byte-compile-dest-file-function.
16547         (byte-compile-cl-file-p): New function.
16548         (byte-compile-eval): Only suppress noruntime warnings about cl functions
16549         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
16550         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16551         than for file being previously loaded.
16552         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16553         (byte-compile-file-form-require): Handle the case where requiring a file
16554         indirectly causes CL to be loaded.
16556 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16558         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16559         before killing the old buffer, since by the time `kill-buffer' is
16560         run so many buffer variables have been set to nil that it may not
16561         behave as expected.  (Bug#4061)
16563 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16565         * files.el (find-alternate-file): If the old buffer is modified
16566         and visiting a file, behave similarly to `kill-buffer' when
16567         killing it, thus reverting to the pre-1.878 behavior; see
16568         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16569         for discussion.  Also, consult `buffer-file-name' as a variable
16570         not as a function, for consistency with the rest of the code.
16572 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
16574         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16575         also when adding a new directory.
16577         * net/tramp-compat.el (tramp-compat-line-beginning-position):
16578         New defun.
16580 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16582         * files.el (locate-file-completion-table): Make it provide boundary
16583         information, so partial-completion works better.
16585 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
16587         * mail/footnote.el (Footnote-text-under-cursor):
16588         Check footnote-text-marker-alist before using it (bug#4324).
16590 2009-09-04  Glenn Morris  <rgm@gnu.org>
16592         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16593         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16594         * play/solitaire.el, play/tetris.el:
16595         Remove leading * from defcustom and defface docs.
16597         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16598         necessary.
16599         (diary-fancy-overriding-map): New variable.
16600         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16601         Use view-mode.
16603         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16604         goto-line.
16606 2009-09-03  Glenn Morris  <rgm@gnu.org>
16608         * arc-mode.el (archive-mode):
16609         * dos-fns.el (set-default-process-coding-system):
16610         * man.el (Man-getpage-in-background):
16611         * menu-bar.el (menu-bar-describe-menu):
16612         * server.el (server-process-filter):
16613         * startup.el (command-line):
16614         * tar-mode.el (tar-header-block-tokenize, tar-extract):
16615         * w32-fns.el (set-default-process-coding-system):
16616         * x-dnd.el (x-dnd-handle-file-name):
16617         * international/mule-cmds.el (mule-menu-keymap)
16618         (set-default-coding-systems, language-info-alist, set-language-info)
16619         (set-language-environment, standard-display-european-internal)
16620         (set-locale-environment):
16621         * international/mule-diag.el (mule-diag):
16622         * mail/emacsbug.el (report-emacs-bug):
16623         * mail/rmail.el (rmail-mode):
16624         * mail/sendmail.el (mail-setup):
16625         Use default-value rather than default-enable-multibyte-characters.
16627         * progmodes/f90.el: Move all safe properties into the defcustoms.
16628         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16630         * calendar/appt.el (appt-check):
16631         * calendar/diary-lib.el (diary-set-header, diary-live-p)
16632         (diary-check-diary-file, diary-list-entries)
16633         (diary-include-other-diary-files, diary-simple-display)
16634         (diary-fancy-display, diary-print-entries)
16635         (diary-mark-included-diary-files, diary-make-entry):
16636         Don't call substitute-in-file-name on diary-file.
16638 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
16639             Stefan Monnier  <monnier@iro.umontreal.ca>
16641         * mail/footnote.el (footnote-prefix): Make it a defcustom.
16642         (footnote-mode-map): Move initialization into the declaration.
16643         (footnote-minor-mode-map): Define it rather than changing global-map.
16644         (footnote-mode): Use define-minor-mode.
16646 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
16648         * net/tramp.el (tramp-handle-file-attributes-with-ls)
16649         (tramp-do-file-attributes-with-perl)
16650         (tramp-do-file-attributes-with-stat): Rename from
16651         `tramp-handle-file-attributes-with-*'.
16652         (tramp-handle-file-attributes): Use them.
16653         (tramp-do-directory-files-and-attributes-with-perl)
16654         (tramp-do-directory-files-and-attributes-with-stat): Rename from
16655         `tramp-handle-directory-files-and-attributes-with-*'.
16656         (tramp-handle-directory-files-and-attributes): Use them.
16657         (tramp-method-out-of-band-p): Additional parameter SIZE.
16658         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16659         (tramp-handle-write-region): Use it.
16660         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16661         (tramp-handle-vc-registered): Check, whether the first run did
16662         return files to be tested.
16663         (tramp-advice-make-auto-save-file-name): Do not call directly
16664         `tramp-handle-make-auto-save-file-name', because this would bypass
16665         the locking mechanism.
16667         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16668         (file-remote-p, process-file, start-file-process, set-file-times)
16669         (tramp-compat-file-attributes): Compatibility functions shall not
16670         call directly `tramp-handle-*', because this would bypass the
16671         locking mechanism.
16672         (tramp-compat-number-sequence): New defun.
16674 2009-09-02  Glenn Morris  <rgm@gnu.org>
16676         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16677         alias for float-time.
16678         (time-to-number-of-days): In Emacs, use float-time.
16679         * net/newst-backend.el (time-add): Suppress warnings from compat
16680         function.
16681         * time.el (emacs-uptime, emacs-init-time):
16682         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16683         Use float-time rather than time-to-seconds.
16685         * minibuffer.el (completion-initials-expand): Fix typo.
16687         * faces.el (modeline, modeline-inactive, modeline-highlight)
16688         (modeline-buffer-id):
16689         * info.el (info-menu-5): Mark these face aliases as obsolete.
16691 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16693         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16694         space ...
16695         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16696         no "--thread" option.
16697         (gdb-stopped): Don't print "Switched to thread" message when it is
16698         unchanged.
16700 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16702         * minibuffer.el (completion-try-completion)
16703         (completion-all-completions): Remove ill-defined (and
16704         mistakenly installed and luckily never used nor documented)
16705         `completion-styles' property.
16706         (completion-initials-expand, completion-initials-all-completions)
16707         (completion-initials-try-completion): New functions.
16708         (completion-styles-alist): Add doc to each entry.
16709         Add new `initials' entry.
16711 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16713         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16714         MI command -var-evaluate-expression.
16715         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16716         and tweak for case of string child.
16717         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16719 2009-09-01  Glenn Morris  <rgm@gnu.org>
16721         * add-log.el (change-log-date-face, change-log-name-face)
16722         (change-log-email-face, change-log-file-face, change-log-list-face)
16723         (change-log-conditionals-face, change-log-function-face)
16724         (change-log-acknowledgement-face):
16725         * cus-edit.el (custom-invalid-face, custom-rogue-face)
16726         (custom-modified-face, custom-set-face, custom-changed-face)
16727         (custom-saved-face, custom-button-face, custom-button-pressed-face)
16728         (custom-documentation-face, custom-state-face, custom-comment-face)
16729         (custom-comment-tag-face, custom-variable-tag-face)
16730         (custom-variable-button-face, custom-face-tag-face)
16731         (custom-group-tag-face-1, custom-group-tag-face):
16732         * diff-mode.el (diff-header-face, diff-file-header-face)
16733         (diff-index-face, diff-hunk-header-face, diff-removed-face)
16734         (diff-added-face, diff-changed-face, diff-function-face)
16735         (diff-context-face, diff-nonexistent-face):
16736         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16737         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16738         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16739         (Info-title-4-face):
16740         * isearch.el (isearch-lazy-highlight-face):
16741         * log-view.el (log-view-file-face, log-view-message-face):
16742         * paren.el (show-paren-match-face, show-paren-mismatch-face):
16743         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16744         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16745         (cvs-msg-face):
16746         * smerge-mode.el (smerge-mine-face, smerge-other-face)
16747         (smerge-base-face, smerge-markers-face):
16748         * wid-edit.el (widget-documentation-face, widget-button-face)
16749         (widget-field-face, widget-single-line-field-face)
16750         (widget-inactive-face, widget-button-pressed-face):
16751         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16752         (woman-addition-face):
16753         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16754         (eshell-ls-executable-face, eshell-ls-readonly-face)
16755         (eshell-ls-unreadable-face, eshell-ls-special-face)
16756         (eshell-ls-missing-face, eshell-ls-archive-face)
16757         (eshell-ls-backup-face, eshell-ls-product-face)
16758         (eshell-ls-clutter-face):
16759         * eshell/em-prompt.el (eshell-prompt-face):
16760         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16761         * obsolete/old-whitespace.el (whitespace-highlight-face):
16762         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16763         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16764         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16765         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16766         (antlr-font-lock-literal-face):
16767         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16768         (ebrowse-root-class-face, ebrowse-file-name-face)
16769         (ebrowse-default-face, ebrowse-member-attribute-face)
16770         (ebrowse-member-class-face, ebrowse-progress-face):
16771         * progmodes/make-mode.el (makefile-space-face):
16772         * progmodes/sh-script.el (sh-heredoc-face):
16773         * textmodes/flyspell.el (flyspell-incorrect-face)
16774         (flyspell-duplicate-face):
16775         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16776         * textmodes/texinfo.el (texinfo-heading-face):
16777         Mark face aliases with "-face" suffix as obsolete.
16779         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16780         compiler.
16782         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16783         (eudc-bob-sound-menu): Use defvar rather than defconst, since
16784         easy-menu-define wants to modify these.
16786         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16788         * net/browse-url.el (browse-url-file-url):
16789         * term/internal.el (dos-codepage-setup):
16790         Use default-value rather than default-enable-multibyte-characters.
16792         * progmodes/etags.el (etags-goto-tag-location):
16793         * progmodes/flymake.el (flymake-highlight-line)
16794         (flymake-goto-file-and-line, flymake-goto-line):
16795         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16796         (gdb-goto-breakpoint):
16797         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16798         * progmodes/python.el (python-find-function)
16799         (python-pdbtrack-track-stack-file):
16800         * progmodes/verilog-mode.el (verilog-surelint-off):
16801         * term/ns-win.el (ns-open-file-select-line):
16802         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16803         Use forward-line rather than goto-line.
16805         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16806         * textmodes/reftex-index.el (reftex-display-index):
16807         * textmodes/reftex-ref.el (reftex-offer-label-menu):
16808         * textmodes/reftex-toc.el (reftex-toc):
16809         Remove unnecessary bindings of default-major-mode (all are followed by
16810         major-mode check and possible mode switch).
16812 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16814         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16815         Handle watchpoints (bug#4282).
16816         (def-gdb-thread-buffer-command): Enable thread to be selected by
16817         clicking without selecting threads buffer first.
16818         (gdb-current-context-command): Use selected frame so that "up",
16819         "down" etc work in the GUD buffer.
16820         (gdb-update): Find selected frame before rendering stack buffer.
16821         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16823 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16825         * progmodes/sym-comp.el (displayed-completions): Remove.
16826         (symbol-complete): Use minibuffer-complete.
16828 2009-08-31  Glenn Morris  <rgm@gnu.org>
16830         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16832         * apropos.el (apropos-symbols-internal):
16833         Handle (obsolete) face aliases.
16835         * faces.el (describe-face): Adjust the output format to be more like
16836         describe-variable, and to mention (obsolete) face aliases.
16837         Adjust the whitespace so that help-setup-xref works.
16839         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16840         * calendar/diary-lib.el (diary-button-face):
16841         Mark these face aliases as obsolete.
16843         * calendar/calendar.el (calendar-today): Doc fix.
16845 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16847         * progmodes/gdb-mi.el (gdb-control-all-threads)
16848         (gdb-control-current-thread): Force tool bar update.
16849         (gdb-non-stop-handler): New function.
16850         (gdb-init-1): Use it to test if non-stop mode is supported.
16851         Remove unused gdbmi buffer type.
16853 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
16855         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16856         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
16858 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
16860         * comint.el (comint-exec-1): Check command is non-null first.
16861         Part of gdb-mi.el change (2009-08-28).
16863 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16865         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16867 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
16869         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16870         instead of `dolist' to avoid a recursive require when bootstrapping.
16872 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16874         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16876         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16878         * net/imap.el (imap-send-command): Simplify.
16879         (imap-wait-for-tag): point-max -> buffer-size.
16881         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16883         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16884         with constant argument.
16886         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16888         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16890         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16891         Change default, since most of our files don't have a history.
16892         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16893         the user.
16895         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16896         Add comint-run.
16898         * calc/calc.el: Improve commenting convention.
16899         (calc-digit-map, toplevel): Simplify.
16901         * comint.el (comint-insert-input): Be careful to only set point if we
16902         don't delegate to some other command.
16904         * proced.el (proced-signal-list): Make it an alist.
16905         (proced-grammar-alist): Capitalize names.
16906         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16907         Disable undo manually and make it read-only.
16908         Use completion-annotate-function.
16910         * minibuffer.el (minibuffer-message): If the current buffer is not
16911         a minibuffer, insert the message in the echo area rather than at the
16912         end of the buffer.
16913         (completion-annotate-function): New variable.
16914         (minibuffer-completion-help): Use it.
16915         (completion--embedded-envvar-table): Environment vars are
16916         always case-sensitive.
16918 2009-08-30  Glenn Morris  <rgm@gnu.org>
16920         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16921         from fortran-current-defun.
16922         (fortran-beginning-of-subprogram): Be more precise about finding the
16923         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
16924         (fortran-end-of-subprogram): Simplify.
16925         (fortran-current-defun): Use fortran-start-prog-re.
16927 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
16929         * subr.el (do-after-load-evaluation): Simplify.
16931 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
16933         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16935         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
16936         (vc-rcs-print-log): Use it.
16938         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16940 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16942         * paths.el (abbrev-file-name): Move to abbrev.el.
16943         * abbrev.el (abbrev-file-name): Move from paths.el.
16944         Obey user-emacs-directory.
16945         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16946         user-emacs-directory.
16947         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16948         abbrev-file-name and calc-settings-file any more.
16949         * startup.el (command-line): Recompute abbrev-file-name and
16950         abbreviated-home-dir.
16951         (normal-no-mouse-startup-screen): Improve the generic code and get rid
16952         of the special code for when C-h bindings haven't been changed.
16953         (display-startup-echo-area-message): Use with-current-buffer.
16954         (command-line-1): Use a list of strings, rather than a list of lists
16955         of strings for longopts.
16957         * files.el (get-free-disk-space): Use / for default-directory.
16959         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16960         Use with-current-buffer.
16962         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16963         Recognize immutable variables like most-positive-fixnum.
16964         (byte-compile-setq-default): Check and warn if trying to assign
16965         to an immutable variable, or a non-variable.
16967         * progmodes/cc-vars.el (c-comment-continuation-stars):
16968         * progmodes/cc-engine.el (c-looking-at-bos):
16969         * progmodes/cc-cmds.el (c-toggle-auto-state)
16970         (c-forward-into-nomenclature, c-backward-into-nomenclature)
16971         (c-comment-line-break-function): Add version of obsolescence.
16973 2009-08-28  Juri Linkov  <juri@jurta.org>
16975         * files.el (magic-fallback-mode-alist): Add ZIP magic number
16976         associated with `archive-mode'.
16978         * image.el (image-type-header-regexps): Use only JPEG magic number
16979         to determine JPEG images, and don't use `image-jpeg-p' because
16980         Emacs can display non-JFIF non-Exif JPEG images.
16982 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16984         * arc-mode.el (archive-mode):
16985         * emacs-lisp/re-builder.el (re-builder-unload-function):
16986         Protect against the default value of `major-mode' being nil.
16988 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16990         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16991         Fix typos in docstrings.
16993         * progmodes/js.el (js--macro-decl-re): Doc fix.
16994         (js--plain-method-re, js--split-name): Refloc docstring.
16995         (js--class-styles, js--make-merged-item, js--splice-into-items):
16996         Fix typos in docstrings; reflow docstrings.
16997         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16998         (js--variable-decl-matcher, js--inside-pitem-p)
16999         (js--parse-state-at-point, js--get-all-known-symbols)
17000         (js--symbol-history, js-find-symbol, js--js-references)
17001         (js--moz-interactor, js--js-encode-value, js--read-tab):
17002         Fix typos in docstrings.
17004 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17006         * textmodes/reftex.el (reftex-get-file-buffer-force):
17007         * progmodes/verilog-mode.el (verilog-batch-execute-func):
17008         * emulation/viper.el (viper-go-away, viper-set-hooks):
17009         * emacs-lisp/re-builder.el (re-builder-unload-function):
17010         * emacs-lisp/bytecomp.el (byte-compile-file):
17011         * ses.el (ses-unload-function):
17012         * hexl.el (hexl-find-file):
17013         * files.el (normal-mode):
17014         * ehelp.el (with-electric-help):
17015         * autoinsert.el (auto-insert-alist):
17016         * arc-mode.el (archive-mode):
17017         Use (default-value 'major-mode) instead of default-major-mode.
17019         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17020         * international/mule.el (load-with-code-conversion):
17021         * emacs-lisp/debug.el (debug):
17022         * ediff-vers.el (ediff-rcs-get-output-buffer):
17023         * dired.el (dired-internal-noselect): Don't let-bind
17024         default-major-mode around code that doesn't use it.
17025         E.g. buffer creation via get-buffer-create doesn't use it.
17027 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
17029         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17030         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17031         when writing the temp file.  Otherwise, epa-file gets confused.
17032         (tramp-register-file-name-handlers): Make it a defun.  Move also
17033         `epa-file-handler' to the front of `file-name-handler-alist'.
17035 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17037         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17038         start right after a ^M.
17039         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17040         (tramp-completion-file-name-regexp-separate)
17041         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17042         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17043         Don't modify last-coding-system-used by accident.
17044         (tramp-completion-file-name-handler): Apply the checks here,
17045         instead during registration.
17046         (tramp-register-file-name-handlers): Renamed from
17047         `tramp-register-file-name-handler'.  Register both
17048         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17049         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
17051 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
17053         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17054         Remove variable ...
17055         (gdb-init-1, gdb-display-separate-io-buffer)
17056         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17057         references to it.
17058         (gdb-inferior-io-mode): Use make-comint-in-buffer.
17059         (gdb-inferior-filter): Use comint-output-filter to stop
17060         echoing and remove ^M characters.
17062 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17064         * emulation/viper-init.el (viper-restore-cursor-type):
17065         * emulation/cua-base.el (cua--update-indications):
17066         Replace default-cursor-type with (default-value 'cursor-type).
17068         * mail/sendmail.el (mail-recover-1):
17069         * international/mule-diag.el (describe-current-coding-system-briefly)
17070         (describe-current-coding-system):
17071         * international/mule-cmds.el (select-safe-coding-system)
17072         (select-message-coding-system)
17073         (set-language-environment-coding-systems, set-locale-environment):
17074         * hexl.el (hexl-insert-multibyte-char):
17075         * dos-w32.el (find-buffer-file-type-coding-system):
17076         * simple.el (what-cursor-position):
17077         Replace uses of default-buffer-file-coding-system
17078         with (default-value 'buffer-file-coding-system).
17080         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17081         Replace uses of default-cursor-in-non-selected-windows
17082         with (default-value 'cursor-in-non-selected-windows).
17083         Use with-current-buffer.
17085         * mail/feedmail.el: Use CL macros.
17086         (feedmail-run-the-queue, feedmail-send-it-immediately):
17087         * dos-w32.el (find-buffer-file-type): Replace uses of
17088         default-buffer-file-type with (default-value 'buffer-file-type).
17090 2009-08-28  Glenn Morris  <rgm@gnu.org>
17092         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17093         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17094         Use default-value of major-mode rather than default-major-mode.
17096 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17098         * Makefile.in (update-elcfiles): Report left over elc files.
17100         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17101         expand-file-name and with-current-buffer.
17102         (mail-get-names, mail-directory): Use with-current-buffer.
17104         * vc.el (vc-read-revision): New function.
17105         (vc-version-diff, vc-merge): Use it.
17107 2009-08-27  Sam Steingold  <sds@gnu.org>
17109         * simple.el (kill-do-not-save-duplicates): New user option.
17110         (kill-new): When it is non-nil, and the new string is the same as
17111         the latest kill, set replace to t to avoid duplicates in kill-ring.
17113 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
17115         * net/tramp.el (tramp-handle-process-file): Do not flush all
17116         caches when `process-file-side-effects' is set.
17117         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17118         instead of `tramp-find-file-exists-command'.
17119         Unset `process-file-side-effects'.
17121 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
17123         * net/tramp.el (tramp-methods): New method "rsyncc".
17124         (top): Add completion function for "rsyncc".
17125         (tramp-message-show-message): New defvar.
17126         (tramp-message, tramp-error): Use it.
17127         (tramp-do-copy-or-rename-file-directly): Extend check for direct
17128         remote copying.
17129         (tramp-do-copy-or-rename-file-out-of-band): Handle new
17130         `tramp-methods' entry `copy-env' of "rsyncc".
17131         (tramp-vc-registered-read-file-names): New defconst.
17132         (tramp-vc-registered-file-names): New defvar.
17133         (tramp-handle-vc-registered): Implement optimization strategy.
17134         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17135         (tramp-vc-file-name-handler): New defun.
17136         (tramp-get-ls-command, tramp-get-test-command)
17137         (tramp-get-file-exists-command, tramp-get-remote-ln)
17138         (tramp-get-remote-perl, tramp-get-remote-stat)
17139         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17141         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17142         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
17143         timestamps.
17144         (tramp-get-file-property): Check for timestamps in
17145         `tramp-cache-inhibit-cache'.
17146         (tramp-set-file-property): Write timestamp.
17148 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17150         * language/japan-util.el (japanese-symbol-table): Add entries for
17151         cp932-2-byte.
17153         * international/characters.el: Add category `j' to cp932-2-byte.
17155 2009-08-27  Kenichi Handa  <handa@m17n.org>
17157         * international/fontset.el (build-default-fontset-data): New macro.
17158         (setup-default-fontset): Use build-default-fontset-data for CJK,
17159         tibetan, ethiopic, and ipa.
17161 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17163         * cus-start.el (default-major-mode): Customize `major-mode' instead.
17164         (enable-multibyte-characters): Not customizable any more.
17166         * subr.el (default-mode-line-format, default-header-line-format)
17167         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17168         (default-direction-reversed, default-truncate-lines)
17169         (default-left-margin, default-tab-width, default-case-fold-search)
17170         (default-left-margin-width, default-right-margin-width)
17171         (default-left-fringe-width, default-right-fringe-width)
17172         (default-fringes-outside-margins, default-scroll-bar-width)
17173         (default-vertical-scroll-bar, default-indicate-empty-lines)
17174         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17175         (default-fringe-cursor-alist, default-scroll-up-aggressively)
17176         (default-scroll-down-aggressively, default-fill-column)
17177         (default-cursor-type, default-buffer-file-type)
17178         (default-cursor-in-non-selected-windows)
17179         (default-buffer-file-coding-system, default-major-mode)
17180         (default-enable-multibyte-characters): Mark as obsolete.
17182 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
17184         * vc-dir.el (vc-dir-update): Remove debug helper.
17186         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17188 2009-08-26  Sam Steingold  <sds@gnu.org>
17190         * simple.el (save-interprogram-paste-before-kill): New user option.
17191         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17192         save the interprogram-paste into kill-ring before overriding it
17193         with the Emacs kill.
17195 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17197         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17198         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17199         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17200         and move to vc-rcs.el.
17201         (vc-default-next-revision): Rename to vc-rcs-next-revision and
17202         move to vc-rcs.el.
17203         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17204         (vc-rcs-update-changelog): Remove.
17205         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17206         and move to vc-rcs.el.
17208         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17209         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17210         renaming.
17211         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17212         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17213         vc.el, renamed to be RCS specific.
17215         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17216         New functions.
17217         (vc-cvs-update-changelog): Move here from vc.el.
17219         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17220         New functions.
17222 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17224         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17226 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17228         * vc-git.el (vc-git-register): Use "git add" for directories.
17229         (vc-git-stash, vc-git-stash-show): New functions.
17230         (vc-git-extra-menu-map): Bind them.
17232         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17233         directory correctly in case the item is a directory itself.
17235         * vc.el: Document the desired behavior for reverted files in the
17236         `added' state.
17237         (vc-default-prettify-state-info): Remove function, unused.
17239         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17241 2009-08-26  Glenn Morris  <rgm@gnu.org>
17243         * bindings.el (standard-mode-line-format): Reposition dashes in
17244         which-func entry.  (Bug#4217)
17246         * files.el (enable-local-variables, enable-local-eval)
17247         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17248         the defcustoms.
17249         (auto-mode-alist, ignored-local-variables)
17250         (save-some-buffers-action-alist): Move risky declarations to the
17251         definitions.
17252         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17253         (font-lock-defaults, format-alist, imenu--index-alist)
17254         (imenu-generic-expression, input-method-alist, minor-mode-alist)
17255         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17256         (mode-line-modified, mode-line-mule-info, mode-line-position)
17257         (mode-line-process, mode-line-remote, outline-level)
17258         (parse-time-rules, rmail-output-file-alist)
17259         (special-display-buffer-names, vc-mode):
17260         Move risky declarations to the relevant files.
17261         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17262         (mode-line-modified, mode-line-process, mode-line-position)
17263         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17264         * font-core.el (font-lock-defaults):
17265         * format.el (format-alist):
17266         * vc-hooks.el (vc-mode):
17267         * window.el (special-display-buffer-names):
17268         * international/mule-cmds.el (input-method-alist):
17269         Define riskiness here (dumped file) rather than in files.el.
17270         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17271         * imenu.el (imenu-generic-expression, imenu--index-alist):
17272         * outline.el (outline-level):
17273         * time.el (display-time-string):
17274         * calendar/parse-time.el (parse-time-rules):
17275         * mail/rmailout.el (rmail-output-file-alist):
17276         Autoload riskiness here, rather than placing in files.el.
17278 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
17280         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17282 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
17284         * simple.el (process-file-side-effects): New defvar.
17286         * dired-aux.el (dired-show-file-type):
17287         * vc.el (vc-diff-internal):
17288         * vc-arch.el (vc-arch-diff):
17289         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17290         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17291         * vc-git.el (vc-git-registered, vc-git-working-revision)
17292         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17293         (vc-git--empty-db-p):
17294         * vc-hooks.el (vc-user-login-name):
17295         * vc-svn.el (vc-svn-registered, vc-svn-state)
17296         (vc-svn-dir-extra-headers, vc-svn-find-revision):
17297         * progmodes/grep.el (grep-probe): Let-bind
17298         `process-file-side-effects' with nil.
17300         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17302         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17303         daemon.  Replace ping by checking for running service for bluez
17304         and zeroconf.  (Bug#4239)
17306 2009-08-25  Kevin Ryde  <user42@zip.com.au>
17308         * net/dig.el (dig): Add autoload cookie.
17310 2009-08-25  Glenn Morris  <rgm@gnu.org>
17312         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17313         load-history for absolute file-names.
17314         (byte-compile-file-form-require): Warn about use of the cl package.
17316         * format.el (format-alist): Doc fix.
17318         * play/bubbles.el (top-level): Don't require cl at run-time.
17320         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17321         run-time cl).
17323 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
17325         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17326         from cl package.
17327         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17329 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
17331         * calc/calc-alg.el (math-trig-rewrite)
17332         (math-hyperbolic-trig-rewrite): New functions.
17333         (calc-simplify): Simplify trig functions when asked.
17335 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17337         * diff-mode.el (diff-find-source-location): Avoid goto-line.
17339 2009-08-24  Kenichi Handa  <handa@m17n.org>
17341         * language/ind-util.el (mapthread): Delete it.
17342         (combinatorial): New function.
17343         (indian--puthash-cv): Use combinatorial instead of mapthread.
17345 2009-08-22  Kevin Ryde  <user42@zip.com.au>
17347         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17348         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17349         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17350         Clarify docstring that the value is strings not symbols.
17351         (checkdoc-list-of-strings-p): New function.
17353 2009-08-22  Glenn Morris  <rgm@gnu.org>
17355         * files.el (auto-mode-alist):
17356         * hippie-exp.el (he-concat-directory-file-name):
17357         * lpr.el (lpr-windows-system, printer-name):
17358         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17359         * ps-print.el (ps-windows-system):
17360         * startup.el (command-line):
17361         * emulation/viper-ex.el (viper-glob-function):
17362         * international/mule-cmds.el (set-language-environment-coding-systems):
17363         * net/ange-ftp.el (ange-ftp-write-region):
17364         * obsolete/fast-lock.el (fast-lock-cache-name):
17365         Remove code for defunct system-types emx, macos, mswindows, next-mach,
17366         unisoft-unix, vax-vms, win32, w32.
17368         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17369         given name if the pattern is not more specific.
17371         * calendar/lunar.el (lunar-phase-names): New option.
17372         (lunar-phase): Doc fix.
17373         (lunar-cycles-per-year): New constant.
17374         (lunar-index): New function.
17375         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17376         (lunar-phase-name): Use lunar-phase-names.
17377         (calendar-lunar-phases): Use format.
17378         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17380         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17381         Copy imenu-example--name-and-position function here for own use.
17382         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17384         * bs.el (bs--redisplay):
17385         * cus-edit.el (custom-redraw):
17386         * ibuffer.el (ibuffer-bury-buffer):
17387         * server.el (server-goto-line-column):
17388         * startup.el (command-line-1):
17389         * strokes.el (strokes-xpm-for-stroke):
17390         * term.el (term-display-buffer-line):
17391         * view.el (View-goto-line):
17392         * calc/calc.el (calc-do, calc-trail-buffer):
17393         * play/gamegrid.el (gamegrid-add-score-insecure):
17394         * progmodes/ada-mode.el (ada-compile-goto-error):
17395         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17396         (ebrowse-select-1st-to-9nth):
17397         * progmodes/cperl-mode.el (cperl-time-fontification):
17398         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17399         * progmodes/gud.el (gud-display-line):
17400         (idlwave-shell-display-line):
17401         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17402         * progmodes/make-mode.el (makefile-browser-toggle):
17403         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17404         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17405         * textmodes/picture.el (picture-draw-rectangle):
17406         * textmodes/reftex-index.el (reftex-index-goto-letter):
17407         (reftex-select-jump-to-previous):
17408         * textmodes/reftex-sel.el (reftex-find-start-point)
17409         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17410         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17411         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17412         * textmodes/tex-mode.el (tex-compilation-parse-errors):
17413         * textmodes/two-column.el (2C-associated-buffer):
17414         Use forward-line rather than goto-line.
17416         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17417         goto-line.
17419         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17420         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17421         (quick-check-list-to-regexp): Declare.
17423         * progmodes/make-mode.el (makefile-browser-insert-selection):
17424         Use goto-char rather than goto-line.
17426         * progmodes/prolog.el (compilation-error-regexp-alist)
17427         (compilation-forget-errors): Declare.
17429 2009-08-22  Juri Linkov  <juri@jurta.org>
17431         * progmodes/grep.el (lgrep, rgrep): At the beginning
17432         set `dir' to `default-directory' unless `dir' is a non-nil
17433         readable directory.  (Bug#4052)
17434         (lgrep, rgrep): Change a weird way to report an error
17435         from using `read-string' to using `error'.
17436         Instead of using interactive arguments in the function body,
17437         add new argument `confirm'.
17439 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17441         * textmodes/remember.el (remember-buffer):
17442         * progmodes/cperl-mode.el (cperl-vc-header-alist):
17443         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17444         (icalendar-extract-ical-from-buffer):
17445         * net/newst-treeview.el (newsticker-groups-filename):
17446         * net/newst-backend.el (newsticker-cache-filename):
17447         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17448         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17449         (speedbar-add-ignored-path-regexp, speedbar-line-path)
17450         (speedbar-buffers-line-path, speedbar-path-line)
17451         (speedbar-buffers-line-path):
17452         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17453         (epg-sign-keys):
17454         * epa.el (epa-display-verify-result):
17455         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17457 2009-08-21  Glenn Morris  <rgm@gnu.org>
17459         * progmodes/js.el (inferior-moz-process): Fix declaration.
17461         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17463         * obsolete/rnewspost.el (news-mail-reply):
17464         Use goto-char rather than goto-line.
17466         * term/ns-win.el (ns-open-file-select-line):
17467         Use line-beginning-position rather than goto-line.
17469         * apropos.el (apropos-command):
17470         * ehelp.el (electric-helpify):
17471         * printing.el (pr-show-setup):
17472         * strokes.el (strokes-help):
17473         * tutorial.el (tutorial--describe-nonstandard-key)
17474         (tutorial--detailed-help):
17475         * woman.el (woman-mini-help, woman-display-extended-fonts):
17476         * calc/calc-help.el (calc-describe-key):
17477         * emulation/edt.el (edt-electric-helpify):
17478         * international/mule-diag.el (mule-diag):
17479         * play/yow.el (apropos-zippy):
17480         * progmodes/python.el (python-describe-symbol):
17481         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17482         * textmodes/table.el (*table--cell-describe-mode)
17483         (*table--cell-describe-bindings):
17484         Use help-print-return-message rather than the now obsolete alias.
17486         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17487         (calendar-cursor-to-visible-date):
17488         * play/5x5.el (5x5-position-cursor):
17489         * play/decipher.el (decipher):
17490         * play/gomoku.el (gomoku-goto-xy):
17491         * play/landmark.el (lm-goto-xy):
17492         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17493         (mpuz-paint-digit):
17494         Use forward-line, not goto-line.
17496         * mail/rmail.el (rmail-obsolete): Delete custom group.
17497         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17498         (rmail-remote-password, rmail-remote-password-required):
17499         Remove unneeded :set-after and :set properties.
17501 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
17503         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17505 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
17507         * loadup.el: Remove leftover macos code.
17509         * vc-git.el (vc-git-annotate-command): Run asynchronously.
17510         Explicitly pass the date format to git blame so that user local
17511         so that the output format can be parsed.
17513 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
17515         * net/dbus.el (top): Don't check for (getenv
17516         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
17518 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
17520         * log-edit.el (log-edit-strip-single-file-name): New var.
17521         (log-edit-insert-changelog): Use it.  Bug#3571
17523 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17525         * subr.el (read-passwd): Use read-key so keypad keys work as well.
17526         Bug#3287
17528         * help.el (help-print-return-message): Rename from
17529         print-help-return-message.
17531         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17532         cvs-mode-map parent hack.
17533         (log-view-mode): Derive from special-mode.
17535         * linum.el (linum-mode): window-size-change-functions is redundant.
17536         Adapt to new window-configuration-change-hook behavior.
17537         (linum-after-size, linum-after-config): Remove.
17539         * imenu.el (imenu-example--name-and-position)
17540         (imenu-example--lisp-extract-index-name)
17541         (imenu-example--create-lisp-index, imenu-example--create-c-index):
17542         Mark as obsolete.
17544         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17545         (inferior-prolog-mode): Use it.
17546         (inferior-prolog-load-file): Reset list of errors.
17548 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17550         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17552         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17554 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
17556         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17557         is running already.
17559 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17561         * subr.el (listify-key-sequence-1): Use normal syntax since those
17562         integers are nowadays always represented by the same (positive) number
17563         on all platforms.
17564         (read-key-empty-map): New const.
17565         (read-key-delay): New var.
17566         (read-key): New function.
17567         (force-mode-line-update): Use with-current-buffer.
17568         (locate-user-emacs-file): Don't forget to abbreviate the file name.
17569         (start-process-shell-command, start-file-process-shell-command):
17570         Discourage the use of command-args.
17572 2009-08-19  Glenn Morris  <rgm@gnu.org>
17574         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17576 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17578         * simple.el (choose-completion-string): Don't rely on
17579         minibuffer-completing-file-name and ad-hoc checks to decide whether
17580         to continue completion or not.
17582         * minibuffer.el (minibuffer-hide-completions): New function.
17583         (completion--do-completion): Use it.
17584         (completions-annotations): New face.
17585         (completion--insert-strings): Use it.
17586         (completion-pcm--delim-wild-regex): Add docstring.
17587         (completion-pcm--string->pattern): Add support for 0-width delimiters
17588         in completion-pcm--delim-wild-regex.
17590 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17592         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17593         Remove unused var `buffer-modified-p'.
17595         * minibuffer.el (completion--do-completion): Move point for the #b001
17596         case as well (bug#4176).
17597         (minibuffer-complete, minibuffer-complete-word): Don't move point.
17599 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
17601         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
17602         and :session buses.
17604 2009-08-18  Kenichi Handa  <handa@m17n.org>
17606         * international/ucs-normalize.el (ucs-normalize-version):
17607         Change to 1.1.
17608         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17609         (utf-8-hfs): Make it perform normalization on encoding too.
17611         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
17612         (sentence-end-without-space): Delete duplicated chars.
17613         (sentence-end-base): Likewise.
17615         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
17616         (html-mode): Delete duplicated chars from sentence-end-base.
17618         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
17619         (texinfo-mode): Delete duplicated chars from sentence-end-base.
17621 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
17623         * files.el (hack-one-local-variable): If the mode function is for
17624         a minor mode, pass it an argument (Bug#4148).
17626 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
17628         * net/tramp.el (tramp-register-completion-file-name-handler):
17629         Check also for (member 'partial-completion completion-styles).
17631 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17633         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17634         abbrev (Bug#3943).
17636 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
17638         * progmodes/cperl-mode.el: Merge upstream 6.2.
17639         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17640         (cperl-forward-re): Check cperl-brace-recursing.
17641         (cperl-highlight-charclass): New function.
17642         (cperl-find-pods-heres): Use it.
17643         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17644         (cperl-beautify-regexp-piece): Fix column calculation.
17645         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17646         (cperl-beautify-level): Don't process entire regexp.
17647         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17648         calling man.
17649         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17650         (cperl-init-faces): Build a list in the normal way.
17652 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17654         * calendar/parse-time.el (parse-time-string-chars): Save match
17655         data.
17657 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17659         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17660         (sql-product): Use it.
17661         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17662         (sql-set-product): Add completion.
17663         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17664         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17665         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17666         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17667         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17668         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17669         (sql-highlight-db2-keywords): Remove.
17670         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17671         (sql-highlight-product): Use derived-mode-p.
17672         (sql-set-sqli-buffer): Use with-current-buffer.
17673         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17674         Simplify.
17676         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17678         * term.el: Fix commenting convention, turn comments into docstrings.
17680 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17682         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17684 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
17686         * calendar/parse-time.el (parse-time-string-chars): Compute using
17687         character classes, to handle non-ascii characters (Bug#3190).
17689 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17691         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17692         another heredoc if the user adds another < (Bug#3226).
17694         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17695         Don't initialize based on window-system (Bug#4124).
17697         * facemenu.el (facemenu-read-color): Use a completion function
17698         that accepts any defined color, such as RGB triplets (Bug#3677).
17700         * files.el (get-free-disk-space): Change fallback default
17701         directory to /.  Expand DIR argument before switching to fallback.
17702         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17704 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17706         * files.el (load-library): Doc fix.
17708 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
17710         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17711         (viper-if-string): Redefine C-s in the minibuffer to insert the last
17712         incremental search string.
17714         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17715         XEmacs.
17717         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17718         (ediff-merge-region-is-non-clash)
17719         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17720         Also check if the job is really a merge job.
17722         * ediff.el (ediff-current-file): New function.
17724 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17726         * progmodes/js.el: Edit docstrings throughout to follow Emacs
17727         conventions.
17728         (js-insert-and-indent): Delete function.
17729         (js-mode-map): Don't bind keys to js-insert-and-indent.
17730         (js-beginning-of-defun): Rename from js--beginning-of-defun.
17731         (js-end-of-defun): Rename from js--end-of-defun.
17732         (js-auto-indent-flag): Delete variable.
17734 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
17736         * progmodes/js.el: Remove proclaim statement.
17737         Defvar which-func-imenu-joiner-function to silence compiler.
17739         * files.el (auto-mode-alist): Use js-mode for .js files.
17741         * progmodes/js2-mode.el: Remove file.
17743         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17745         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17747         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17749 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
17750             Karl Landstrom  <karl.landstrom@brgeight.se>
17752         * progmodes/js.el: New file.
17754 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
17756         * timezone.el (timezone-parse-date): Add ability to understand ISO
17757         basic format (minimal separators) dates in addition to the
17758         already-supported extended format dates.
17760 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
17762         * international/ucs-normalize.el: Add a `coding' file variable.
17764         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17766 2009-08-14  Sam Steingold  <sds@gnu.org>
17768         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17770 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
17772         * faces.el (help-argument-name): Define it here instead of
17773         help-fns.el, because in daemon mode help-fns.el may be loaded when
17774         faces are still uninitialized (Bug#1078).
17776         * help-fns.el (help-argument-name): Move defface to faces.el.
17778 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
17780         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17781         create buffer with a pty but no process so that GDB can make the
17782         inferior the controlling process.
17784 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
17786         * international/ucs-normalize.el: New file.
17788 2009-08-13  Richard Stallman  <rms@gnu.org>
17790         * mail/rmail.el (rmail-get-attr-names):
17791         Accept an attribute header that is too short.
17793         * mail/rmail.el (rmail-forget-messages):
17794         Ignore nil elt in rmail-message-vector.  Use dotimes.
17796         * progmodes/compile.el (compilation-goto-locus):
17797         Use next-error-move-function.
17799         * simple.el (next-error-move-function): New variable.
17801 2009-08-12  Juri Linkov  <juri@jurta.org>
17803         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17804         always non-nil.  (Bug#4052)
17806         * replace.el (read-regexp): Return empty string when
17807         `default-value' is nil.
17808         (keep-lines-read-args): Don't use empty string as the
17809         default value for `read-regexp'.  (Bug#2495)
17811 2009-08-12  Juri Linkov  <juri@jurta.org>
17813         * international/mule-cmds.el (ucs-insert): Change arguments
17814         from `arg' to `character', `count', `inherit' to be the same
17815         as in `insert-char'.  Doc fix.  (Bug#4039)
17817         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17819 2009-08-12  Juri Linkov  <juri@jurta.org>
17821         * files-x.el: New file.
17823         * files.el: Move code that deals with adding/deleting
17824         file/directory-local variables to files-x.el.
17826         * Makefile.in (ELCFILES): Add files-x.elc.
17828 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
17830         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17831         to use `goto-line'.
17832         (gdb-place-breakpoints, gdb-get-location): Rewritten without
17833         `goto-line'.
17834         (gdb-invalidate-disassembly): Do not refresh upon receiving
17835         'update signal.  Instead, update all disassembly buffers only after
17836         threads list.
17837         (gdb): Send -target-detach when buffer is killed (Bug#3794).
17838         (gdb-starting): Moved -data-list-register-names...
17839         (gdb-stopped): ...here so it's sent when first thread stops.
17840         (gdb-registers-handler-custom): Do nothing if register names are
17841         unknown yet.
17843         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17844         from `gdb-mi.el' to avoid extra tangling.
17846         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17847         change which breaks `gud-def' definitions used in `gdb'.
17848         (gdb-update-gud-running): No extra fuss for updating frame number.
17850 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17852         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17853         (describe-language-environment-map, setup-language-environment-map)
17854         (set-coding-system-map): Move initialization into declaration.
17855         (set-language-info-alist): Last arg to define-key-after can be skipped.
17857         * international/quail.el (quail-completion-1): Simplify.
17858         (quail-define-rules): Use slightly more compact code.
17859         (quail-insert-decode-map): Propertize keys, compact columns.
17861         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17862         Add goto-line.
17864 2009-08-10  Miles Bader  <miles@gnu.org>
17866         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17867         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17868         (js2-instance-member, js2-private-member, js2-private-function-call)
17869         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17870         (js2-magic-paren, js2-external-variable):
17871         Remove "-face" suffix from face names.
17872         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17873         (js2-highlight-undeclared-vars, js2-peek-token)
17874         (js2-parse-function-params, js2-mode-show-errors)
17875         (js2-mode-show-warnings, js2-make-magic-delimiter)
17876         (js2-mode-highlight-magic-parens): Update to use new face names.
17878 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
17880         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17881         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
17883 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
17885         * subr.el: Provide hashtable-print-readable.
17887         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17888         hs-c-like-adjust-block-beginning.
17889         (hs-hide-block-at-point): Stop hiding at the beginning of
17890         hs-block-end-regexp (Bug#700).
17892 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
17894         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17895         a macro.
17896         (gdb-registers-handler-custom): Do not fail when register names
17897         are unavailable.
17899 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17901         * progmodes/gdb-mi.el (gdb-control-all-threads)
17902         (gdb-control-current-thread): Interactive setters for
17903         `gdb-gud-control-all-threads' to use in menu.
17904         (gdb-show-run-p): Show «Go» when process is not active.
17905         (gud-tool-bar-map): Add non-stop/A,T indicator.
17906         Uses gud/thread.xpm and gud/all.xpm.
17908 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
17910         * net/net-utils.el (net-utils-font-lock-keywords): New var.
17911         (nslookup-font-lock-keywords): Make it a variable.
17912         (net-utils-mode): New mode for viewing diagnostic network output.
17913         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17914         (net-utils-run-simple): New function.
17915         (ifconfig, iwconfig, netstat, arp, route): Use it.
17917 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17919         * progmodes/gdb-mi.el (gdb-read-memory-custom)
17920         (gdb-memory-set-address, def-gdb-set-positive-number)
17921         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17922         after changing settings.
17923         (gdb-invalidate-disassembly): Update when first shown.
17924         (gdb-edit-locals-value): Fixed.
17925         (gdb-registers-handler-custom): Print registers in right order and
17926         allow changing register values (only for current thread yet).
17927         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17928         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17929         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17930         (gdb-locals-handler-custom, gdb-registers-handler-custom):
17931         Thread info in mode name.
17932         (gdb-registers-mode-map): TAB to switch to locals.
17934 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
17936         * mail/rmail.el (rmail-add-mbox-headers)
17937         (rmail-set-message-counters-counter): Search for
17938         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
17940 2009-08-08  Glenn Morris  <rgm@gnu.org>
17942         * Makefile.in (ELCFILES): Update.
17944 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17946         * mail/sendmail.el (mail-yank-original):
17947         Set buffer-file-coding-system from the one used by the message whose
17948         text is yanked.
17950         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17951         to "windows" when "pgnuplot" is used.
17952         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
17953         Don't call accept-process-output if "pgnuplot" is used.
17954         (calc-graph-init): Don't send -display and -geometry to
17955         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
17956         running "pgnuplot -V" with shell-command-to-string.
17958         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17959         the default.
17961 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17963         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17964         org/org-latex.elc.
17966 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
17968         * vc-dispatcher.el (vc-resynch-window): Update comment.
17970         * term.el (term-handle-ansi-escape): Add comments with the
17971         terminfo capabilities implemented.
17973 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
17975         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17976         (gdb-var-create-handler): Rewritten using JSON parser.
17977         (gdb-propertize-header): Moved earlier.
17978         (gdb-set-header): Removed to avoid duplication.
17979         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17980         Refresh disassembly buffers only after threads list have been
17981         update.
17982         (gdb-threads-header, gdb-registers-header): Per-buffer header line
17983         variables.
17985 2009-08-04  Juri Linkov  <juri@jurta.org>
17987         * files.el: Commands to add/delete file/directory-local variables.
17988         (read-file-local-variable, read-file-local-variable-value)
17989         (read-file-local-variable-mode, modify-file-local-variable)
17990         (modify-file-local-variable-prop-line)
17991         (modify-dir-local-variable): New functions.
17992         (add-file-local-variable, delete-file-local-variable)
17993         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17994         (add-dir-local-variable, delete-dir-local-variable)
17995         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17996         (copy-dir-locals-to-file-locals-prop-line): New commands.
17998 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
18000         * abbrev.el (insert-abbrev-table-description): Prettify output.
18001         Suggested by Karl Chen.
18003 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
18005         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18006         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18007         (gdb-overlay-arrow-position, gdb-thread-position)
18008         (gdb-disassembly-position): Declare variables.
18009         (gdb-wait-for-pending): Function now.
18010         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18011         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18012         compilation goes smoothly.
18013         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18014         (gdb-non-stop-setting): New customization setting which replaces
18015         `gdb-non-stop' so changing it doesn't break active GDB session.
18016         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18017         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18018         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18019         (gdb-show-threads-by-default): New customization options.
18020         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18021         routines.
18022         (gdb-get-buffer-create): Send buffers update signal when they are
18023         created.
18024         (gdb-invalidate-locals, gdb-invalidate-registers)
18025         (gdb-invalidate-breakpoints)
18026         (gdb-invalidate-threads, gdb-invalidate-disassembly)
18027         (gdb-invalidate-memory): Accept update signal.
18028         (gdb-current-context-command): Use --frame option.
18029         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18030         Implement `gdb-frame-number' selection logic.
18031         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18032         whether to show GUD toolbar buttons.
18033         (gdb-thread-exited): Unselect current thread when it exits.
18034         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18035         (gdb-mark-line): Routine which sets overlay arrow or inverses
18036         video on fringeless displays.
18037         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18038         to build aligned columns of data in GDB buffers and set text
18039         properties line-by-line.
18040         (gdb-invalidate-breakpoints)
18041         (gdb-breakpoints-list-handler-custom)
18042         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18043         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18044         (gdb-registers-handler-custom): Align data columns.
18045         (gdb-locals-handler-custom): Now prints data like in variable
18046         declarations.
18047         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18048         Removed confusing buttons.
18049         (gdb-invalidate-threads): Append --frame.
18050         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18051         between breakpoints/threads buffers.
18052         (gdb-set-window-buffer): Now can ignore dedicated windows.
18053         (gdb-propertize-header): Use `gdb-set-window-buffer'.
18054         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18055         (def-gdb-thread-buffer-gud-command): Replaces
18056         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18057         for fine thread control.
18058         (gdb-preempt-existing-or-display-buffer): New function used to
18059         display bound buffers without breaking window layout.
18060         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18061         (gdb-select-frame): New version of `gdb-frames-select' which now
18062         sets `gdb-frame-number' so commands may use --frame option instead
18063         of inner debugger state.
18064         (gdb-frame-handler): Do not set `gdb-frame-number'.
18065         (gdb-threads-mode-map): Select threads with mouse.
18067         * progmodes/gud.el (gdb-gud-context-call): Declare function to
18068         avoid compilation warning.
18069         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18070         `gdb-show-stop-p`.
18072         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18073         Argument `key' renamed to `buffer-type'.
18074         (gdb-current-context-buffer-name): Do not add thread info to
18075         buffer name when no thread is selected.
18076         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18077         command (bug 3794).
18078         (gdb-thread-selected): Handle `=thread-selected' notification.
18079         (gdb-wait-for-pending): New macro to deal with congestion problems.
18080         (gdb-breakpoints-list-handler-custom): Don't fail on pending
18081         breakpoints.
18082         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18083         This fixes problem similar to one described in bug 3947.
18084         (gud-menu-map): More menu items.
18085         (gdb-init-1): Reset `gdb-thread-number' to nil.
18087         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18088         non-stop settings.
18090         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18091         (gdb-current-context-command): Do not append --thread if
18092         `gdb-thread-number' is nil.
18093         (gdb-running-threads-count, gdb-stopped-threads-count):
18094         New variables.
18095         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18096         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
18097         New customization options.
18098         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18099         GUD commands.
18100         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18101         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18102         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18103         set `gdb-thread-number' and update `gud-running' properly.
18104         (gdb-running): Update threads list when new threads appear.
18105         (gdb-stopped): Support non-stop operation and new thread switching
18106         logic.
18107         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18108         (gdb-json-partial-output): New set of JSON routines.
18109         (def-gdb-auto-update-trigger): New `signal-list' optional
18110         argument.
18111         (gdb-thread-list-handler-custom): Update `gud-running',
18112         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18113         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18114         (gdb-continue-thread, gdb-step-thread): New commands for fine
18115         thread execution control.
18116         (gud-menu-map): New menu items to switch non-stop options.
18117         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18118         (gdb-send): Mimic RET properly (bug 3794).
18120         * progmodes/gdb-mi.el (gdb-rules-name-maker)
18121         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18122         gdb-buffer-rules.
18123         (def-gdb-auto-update-handler): New nopreserve optional argument.
18124         (gdb-stack-list-frames-custom): Print stack from top to bottom.
18126         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
18127         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18128         (gdb-parent-mode): New mode to derive other GDB modes from.
18129         (gdb-display-disassembly-for-thread)
18130         (gdb-frame-disassembly-for-thread): New commands for threads
18131         buffer.
18133         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18134         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18135         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18136         (gdb-update): We now store all GDB buffers in a list so that they
18137         can be updated by traversing a list instead of calling invalidate
18138         triggers explicitly.
18139         (def-gdb-trigger-and-handler): New macro to define trigger-handler
18140         pair for GDB buffer.
18141         (gdb-stack-buffer-name): Add thread information.
18142         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18143         handle pending triggers.
18144         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18145         (def-gdb-thread-buffer-simple-command)
18146         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18147         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18148         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18149         New commands which show buffers bound to thread.
18150         (gdb-stack-list-locals-regexp): Removed unused regexp.
18152         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18153         (gdb-locals-buffer-name, gdb-registers-buffer-name)
18154         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18155         to (gud-comint-buffer) in *-buffer-name functions
18156         because (gdb-get-target-string) already does that.
18157         (gdb-locals-handler-custom, gdb-registers-handler-custom)
18158         (gdb-changed-registers-handler): Rewritten without regexps.
18160         * progmodes/gdb-mi.el: Basic thread selection support.
18161         (gdb-thread-number): New variable.
18162         (gdb-current-context-command): New macro which adds --thread
18163         option to command.
18164         (gdb-threads-mode-map): Select thread with SPC.
18165         (gdb-thread-list-handler-custom): Mark current thread with overlay
18166         arrow.  Synchronize GDB thread and Emacs thread.
18167         (gdb-select-thread): New command which selects current thread.
18168         (gdb-invalidate-frames, gdb-invalidate-locals)
18169         (gdb-invalidate-registers): Use --thread option.
18171 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
18173         * net/tramp.el (top): Make check for tramp-gvfs loading more
18174         robust.  (Bug#3977)
18175         (tramp-handle-insert-file-contents): `unwind-protect' must be
18176         inside `with-parsed-tramp-file-name'.
18178         * net/tramp-gvfs.el (top): Remove superfluous message when loading
18179         fails.
18181 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
18183         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18184         directory if CLASSPATH is not set.
18186 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
18188         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18189         New defconst.
18190         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
18192 2009-08-02  Kevin Ryde  <user42@zip.com.au>
18194         * net/newst-backend.el (newsticker--raw-url-list-defaults):
18195         Update freshmeat link.  Delete newsforge.com as it seems gone.
18197 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18199         * select.el (x-set-selection): Doc fix (Bug#4021).
18201         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18203         * help-fns.el (describe-variable): Treat list return values from
18204         dir-locals-find-file properly (Bug#4005).
18206 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
18208         * net/tramp.el (tramp-debug-message): Print also microseconds.
18210 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
18212         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18213         or END is non-nil.
18214         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18215         (tramp-get-debug-buffer): Change `outline-regexp' according to new
18216         format.
18218         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18219         (tramp-get-file-property): Use it.
18221         * autorevert.el (auto-revert-handler):
18222         Allow `auto-revert-tail-mode' for remote files.
18224 2009-08-02  Jason Rumney  <jasonr@gnu.org>
18226         * minibuffer.el (read-file-name): Treat confirm options to
18227         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
18229 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18231         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18232         (font-lock-variable-name-face, font-lock-constant-face):
18233         Darken the colors for light backgrounds.
18235 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
18237         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18238         month names.  (Bug#3987)
18240 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
18242         * simple.el (line-move-finish): Pass whole number to
18243         line-move-to-column.
18244         (line-move-visual): Perform hscroll to the recorded position.
18246 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
18248         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18250 2009-07-29  Alan Mackenzie  <acm@muc.de>
18252         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18254 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
18256         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18257         (gdb-place-breakpoints): Use full path when setting breakpoints.
18259 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
18261         * calc/calc.el (calc-mode-map): Add keybinding for
18262         `calc-transpose-lines'.
18264 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
18266         * calc/calc-misc.el (calc-transpose-lines): New function.
18268 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
18270         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18271         Simplify check for out-of-band methods.
18272         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18273         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
18275 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
18277         * vc-git.el (vc-git-checkin): Fix typo.
18279 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
18281         * progmodes/js2-mode.el: New file.
18283 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
18285         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18286         (gud-menu-map): Adjust tooltip accordingly.
18288 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
18290         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18291         (vc-bzr-log-view-mode): Adjust log-view-file-re.
18293         * add-log.el (change-log-mode-map): Add a menu.
18295 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
18297         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18298         function returns nil.
18299         (dbus-handle-event): Handle special return value :ignore.
18300         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18302 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
18304         * view.el (view-mode-enable): Don't define Helper-return-blurb if
18305         it's not needed.
18307 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
18309         Fix Bug#3888:
18311         * w32-vars.el (x-select-enable-clipboard): Doc fix.
18313         * term/pc-win.el (x-display-name, x-colors)
18314         (x-select-enable-clipboard, x-select-text): Doc fix.
18316         * term/common-win.el (x-display-name, x-colors): Doc fix.
18318         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18319         (xw-defined-colors): Doc fix.
18321         * w32-fns.el (x-select-text, x-setup-function-keys)
18322         (x-get-selection, x-set-selection): Doc fix.
18324         * term/x-win.el (x-select-text, x-setup-function-keys)
18325         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18327         * select.el (x-set-selection): Doc fix.
18329 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
18331         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18332         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
18333         "IsNSSSupportAvailable" method is not available.
18334         Reported by Steve Youngs <steve@sxemacs.org>.
18336 2009-07-24  Kenichi Handa  <handa@m17n.org>
18338         * international/characters.el: Fix setting of category ?C, ?|, ?K,
18339         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
18340         (build-unicode-category-table): Fix range checks.
18342 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
18344         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18345         the buffer we try to sync is current when calling
18346         vc-resynch-buffer.
18348         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18349         not show up to date files.
18351 2009-07-24  Glenn Morris  <rgm@gnu.org>
18353         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18354         Add autoload cookies.  If necessary, initialize.
18355         (elint-log): Handle non-file buffers.
18356         (elint-initialize): Add optional argument to reinitialize.
18357         (elint-find-builtin-variables): Save excursion.
18359 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
18361         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18362         for Lint.
18364 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
18366         * vc.el (vc-print-log-internal): New function, split out from ...
18367         (vc-print-log): ... here.
18368         (vc-dir-move-to-goal-column): Declare.
18370         * vc-git.el (vc-git-add-signoff): New variable.
18371         (vc-git-checkin): Use it.
18372         (vc-git-toggle-signoff): New function.
18373         (vc-git-extra-menu-map): Bind it to menu.
18374         (vc-git--run-command-string): Accept a nil FILE argument.
18375         (vc-git-stash-list): New function.
18376         (vc-git-dir-extra-headers): Use it.
18378 2009-07-23  Glenn Morris  <rgm@gnu.org>
18380         * help-fns.el (describe-variable): Describe ignored and risky local
18381         variables in a similar way to that in which we describe safe ones.
18383         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18384         (byte-compile-output-file-form, byte-compile-output-docform)
18385         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18386         Give some more local variables with common names a "bytecomp-" prefix,
18387         so as not to shadow things during compilation.
18388         * emacs-lisp/cl-macs.el (load-time-value)
18389         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18390         `outbuffer' to `bytecomp-outbuffer'.
18392         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18393         since the next two variables cover them automatically now.
18394         (elint-builtin-variables, elint-autoloaded-variables): New.
18395         (elint-unknown-builtin-args): Remove all members, since they can be
18396         parsed automatically now.
18397         (elint-extra-errors): New.
18398         (elint-env-add-env, elint-env-add-macro): Use cadr.
18399         (elint-current-buffer): Use or.  Change final message.
18400         (elint-get-top-forms): Use line-end-position.
18401         (elint-init-env): Use cadr.  Handle autoload, declare-function,
18402         and defalias.
18403         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
18404         (regexp-assoc): Remove unused function.
18405         (elint-top-form): Set elint-current-pos, to record the start of the
18406         top-level form, for compilation-mode.
18407         (elint-form): Trap errors in macro expansion.  Use dolist.
18408         (elint-unbound-variable): Use elint-builtin-variables and
18409         elint-autoloaded-variables.
18410         (elint-get-args): Use cadr, or.
18411         (elint-check-cond-form): Use dolist, cadr.
18412         (elint-check-condition-case-form): Doc fix.  Use cadr.
18413         Use elint-extra-errors.
18414         (elint-log): New function.
18415         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18416         Distinguish errors and warnings.
18417         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
18418         Use a bytecomp-style format.
18419         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
18420         (elint-get-log-buffer): Use compilation mode.  Disable undo.
18421         Don't truncate lines.
18422         (elint-initialize): Set builtin and autoloaded variable lists.
18423         Only process elint-unknown-builtin-args if non-nil.
18424         (elint-find-builtin-variables, elint-find-autoloaded-variables):
18425         New functions.
18426         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
18428 2009-07-22  Kevin Ryde  <user42@zip.com.au>
18430         * net/newst-backend.el (newsticker--parse-atom-1.0)
18431         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18432         (newsticker--parse-rss-1.0):
18433         * progmodes/idlwave.el (idlwave-mode):
18434         * progmodes/idlw-shell.el (idlwave-shell-mode):
18435         * progmodes/vera-mode.el (vera-mode):
18436         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18437         * progmodes/vhdl-mode.el (vhdl-mode):
18438         * textmodes/table.el (table-generate-source)
18439         (table--warn-incompatibility):
18440         Hyperlink urls in docstrings with URL `...'.
18442 2009-07-22  Glenn Morris  <rgm@gnu.org>
18444         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18445         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18446         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18447         Remove leading * from defcustom docs.
18449         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
18451         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18452         defcustom doc.
18453         (list-load-path-shadows): Optionally, just return shadows as a string.
18455         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18457 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
18459         * mail/rmailedit.el (rmail-edit-mode):
18460         Use auto-save-include-big-deletions.
18462         * mail/rmail.el (rmail-variables):
18463         Use auto-save-include-big-deletions.
18465         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18466         changes.
18468 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
18470         * calc/calc.el (calc-undo-length): New variable.
18471         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18473 2009-07-21  Richard Stallman  <rms@gnu.org>
18475         * files.el (auto-save-mode): Handle buffer-save-size = -2
18476         for toggling mode.
18478 2009-07-21  Glenn Morris  <rgm@gnu.org>
18480         * textmodes/ispell.el (ispell-looking-back): Update declaration.
18482         * calendar/todo-mode.el (calendar-current-date): Update declaration.
18484         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18485         silence compiler.  Instead...
18486         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18487         (ps-print-ensure-fontified): Update for above function name changes.
18489         * printing.el (pr-mh-get-msg-num, pr-mh-show)
18490         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18491         silence compiler.  Instead...
18492         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18493         (mh-show-buffer): Only define for compiler.
18494         (pr-mh-current-message): Update for above function name changes.
18496         * files.el (abort-if-file-too-large): Explicitly pass `filename'
18497         as an argument.
18498         (find-file-noselect, insert-file-1): Update for above change.
18500         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18502         * mail/mailclient.el (mailclient-send-it): Fix message.
18504         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18505         (edebug-eval): Check cl-debug-env is bound.
18506         (print-level, print-circle): Don't redefine built-in variables.
18508         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18509         (custom-print-vectors): Remove old comments from doc.
18511         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18512         (emerge-version): Make the variable an obsolete alias for the
18513         emacs-version variable.  Make the function obsolete.
18514         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18515         Emerge options, rather than merging in into the main Options menu.
18516         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
18517         and auto advance modes.  Disable edit/fast items when not relevant.
18519 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
18521         * term/vt420.el (terminal-init-vt420): Fix typo.
18523 2009-07-20  Sam Steingold  <sds@gnu.org>
18525         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18526         variable (removed from compile.el on 2004-03-11).
18528 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
18530         * files.el (hack-local-variables-filter): Fix last change.
18532 2009-07-19  Juri Linkov  <juri@jurta.org>
18534         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18535         (dir-local-variables-alist): New buffer-local variable.
18536         (hack-local-variables-filter): If variable is not dir-local,
18537         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18538         because file-local overrides dir-local.
18539         (c-postprocess-file-styles) <declare-function>:
18540         Remove obsolete declaration.
18541         (hack-dir-local-variables): Add dir-local variable/value pair to
18542         `dir-local-variables-alist' and remove duplicates.  Doc fix.
18544         * help-fns.el (describe-variable): Add information about
18545         file-local and dir-local variables.
18547 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
18549         * files.el (hack-local-variables-filter): Rewrite.
18551 2009-07-19  Glenn Morris  <rgm@gnu.org>
18553         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18554         Silence compiler by only defining on XEmacs.
18556         * international/mule.el (auto-coding-regexp-alist): Only match
18557         BABYL... at the start of buffer, not of lines.  (Bug#3790)
18559         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18560         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
18561         (cal-menu-context-mouse-menu): Doc fix.
18563         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18565         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
18567 2009-07-18  Juri Linkov  <juri@jurta.org>
18569         * info.el: Virtual Info keyword finder.
18570         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18571         (Info-finder-file): New variable.
18572         (Info-finder-find-file): New function.
18573         (finder-known-keywords, finder-package-info)
18574         (find-library-name, lm-commentary): Use defvar and
18575         declare-function to silence compiler warnings.
18576         (Info-finder-find-node): New function.
18577         (info-finder): New command.
18579         * subr.el (process-kill-buffer-query-function): New function.
18580         (add-hook)<kill-buffer-query-functions>: Add hook
18581         `process-kill-buffer-query-function'.
18583 2009-07-18  Alan Mackenzie  <acm@muc.de>
18585         * progmodes/cc-mode.el (c-before-hack-hook)
18586         (c-postprocess-file-styles): Give invocation of `c-set-style'
18587         DONT-OVERRIDE parameter of t.  Already set style variables will
18588         thus not be overridden by style settings given by `c-file-syle'.
18590         * files.el (hack-local-variables-filter): Remove entries with
18591         duplicate keys from `file-local-variables-alist'.
18593 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18595         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18596         x-set-selection if display-selections-p returns nil for the
18597         current frame.
18599 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
18601         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18603 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18605         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18606         Accept nil in addition to a regexp.
18607         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18608         Accept nil in addition to a regexp.
18609         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18610         buffers that have an associated file.  Handle nil values of
18611         desktop-buffers-not-to-save and desktop-files-not-to-save.
18612         (Bug#3833)
18614         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18615         (x-disown-selection-internal): New functions.
18617 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
18619         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18620         warning.
18621         (gdb-breakpoints-header): Move forward to avoid compiler warning.
18622         (gdb-make-header-line-mouse-map): Remove duplicate definition.
18624 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
18626         * simple.el (set-mark): Revert last change.
18628 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
18630         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18631         rendering of pngs is not possible instead of messaging a long
18632         description.
18634 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
18636         * w32-fns.el (x-selection-owner-p): New function.
18638         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18639         (mouse-yank-at-click, mouse-yank-primary):
18640         If select-active-regions is non-nil, deactivate the mark before
18641         insertion.
18643         * simple.el (deactivate-mark, set-mark): Only save selection if we
18644         own it.
18646 2009-07-17  Kenichi Handa  <handa@m17n.org>
18648         * case-table.el (describe-buffer-case-table): Fix for the case
18649         that KEY is a cons.
18651 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
18653         * vc-rcs.el (vc-rcs-find-file-hook):
18654         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18656 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
18658         * net/tramp.el (tramp-wait-for-output): Handle the case when
18659         commands do not return a newline but a null byte before the shell
18660         prompt.  (Bug#3858)
18662 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
18664         * term/ns-win.el (ns-set-alpha): Don't declare.
18665         (ns-set-background-alpha): Remove function.
18667 2009-07-16  Kevin Ryde  <user42@zip.com.au>
18669         * emacs-lisp/copyright.el (copyright-update): Save match-data across
18670         y-or-n-p, for safety.
18672 2009-07-16  Richard Stallman  <rms@gnu.org>
18674         * files.el (auto-save-mode): If buffer-saved-size is -2,
18675         don't clobber it.
18677         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18678         (rmail-retry-ignored-headers): Add more uninteresting fields.
18680 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
18682         * net/rcirc.el (rcirc): Use history variables.
18683         (rcirc-server-name-history, rcirc-nick-name-history)
18684         (rcirc-server-port-history): New variables.
18686 2009-07-15  Kenichi Handa  <handa@m17n.org>
18688         * international/mule-cmds.el (set-language-environment-charset):
18689         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18690         ignore them.
18692         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18693         Delete unibyte-display.
18695 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18697         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18699 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18701         * simple.el (deactivate-mark): Optional argument FORCE.
18702         (set-mark): Use deactivate-mark.
18704         * info.el (Info-search): No need to check transient-mark-mode
18705         before calling deactivate-mark.
18707         * select.el (x-set-selection): Doc fix.
18708         (x-valid-simple-selection-p): Allow buffer values.
18709         (xselect--selection-bounds): Handle buffer values.
18710         Suggested by David De La Harpe Golden.
18712         * mouse.el (mouse-set-region, mouse-drag-track):
18713         Call copy-region-as-kill before setting the mark, to let
18714         select-active-regions work.
18716 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
18718         * simple.el (deactivate-mark): If select-active-regions is
18719         non-nil, copy the selection data into a string.
18720         (activate-mark): If select-active-regions is non-nil, set the
18721         selection to the current buffer.
18722         (set-mark): Update selection if select-active-regions is non-nil.
18724         * select.el (x-valid-simple-selection-p): Allow buffer values.
18726 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18728         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18729         and more featureful message-mode.
18731 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
18733         * select.el (x-set-selection): Doc fix.
18734         (x-valid-simple-selection-p): Disallow selection data consisting
18735         of a list or cons of integers, since that is not used.
18736         (xselect--selection-bounds, xselect--int-to-cons): New functions.
18737         (xselect-convert-to-string, xselect-convert-to-length)
18738         (xselect-convert-to-filename, xselect-convert-to-charpos)
18739         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18741 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
18743         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18744         output in -break-info command (Emacs bug #3794).
18746 2009-07-14  Glenn Morris  <rgm@gnu.org>
18748         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18749         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18750         (edebug-print-length, edebug-print-level, edebug-print-circle)
18751         (edebug-sit-for-seconds, edebug-view-outside)
18752         (edebug-bounce-point, edebug-set-global-break-condition)
18753         (edebug-Go-nonstop-mode, edebug-trace-mode)
18754         (edebug-Trace-fast-mode, edebug-continue-mode)
18755         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18756         (edebug-visit-eval-list): Doc fixes.
18758         * subr.el (def-edebug-spec): Doc fix.
18760 2009-07-14  Kenichi Handa  <handa@m17n.org>
18762         * international/characters.el: Fix setting of category ?C.
18764 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
18766         * term/ns-win.el (x-select-font): defalias x-select-font to
18767         ns-popup-font-panel instead of generate-fontset-menu.
18769 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
18771         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
18773 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
18775         * arc-mode.el (archive-find-type): Allow for a PK00 string before
18776         the PK\003\004 header (Bug#3770).
18778 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
18780         * pcomplete.el (pcomplete-comint-setup): Check for
18781         shell-dynamic-complete-filename too.
18783 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
18785         * simple.el (temporary-goal-column): Change the value for
18786         line-move-visual to a cons cell.
18787         (line-move-visual): Record or set the window hscroll, if
18788         necessary (Bug#3494).
18789         (line-move-1): Handle cons value of temporary-goal-column.
18791 2009-07-11  Kenichi Handa  <handa@m17n.org>
18793         * international/mule-diag.el (describe-character-set): Don't show
18794         width.
18796 2009-07-10  Sam Steingold  <sds@gnu.org>
18798         * progmodes/compile.el (compilation-mode-font-lock-keywords):
18799         Omake sometimes indents the errors it prints, so allow all
18800         regexps to start with spaces.
18802 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
18804         * cus-edit.el (customize-changed-options-previous-release):
18805         Bump value to 22.1.  (Bug#3804)
18807 2009-07-08  Sam Steingold  <sds@gnu.org>
18809         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18810         to be a cons cell (test . ignored-directory) to selectively ignore
18811         some directories depending on the location of the search.
18813 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
18815         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18816         remote user is root, on the local host.
18817         (tramp-local-host-p): Either the local user or the remote user
18818         must be root.  (Bug#3771)
18820 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18822         * progmodes/gdb-mi.el (gdb): Remove description of
18823         gdb-use-separate-io-buffer.
18824         (menu): Don't allow toggling of or enable
18825         gdb-use-separate-io-buffer from menubar.
18827 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18829         * mail/unrmail.el (unrmail): Make sure the message ends with two
18830         newlines (Bug#3769).
18832 2009-07-08  Glenn Morris  <rgm@gnu.org>
18834         * calendar/calendar.el (calendar-current-date): Rework previous change.
18836 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
18838         * calendar/calendar.el (calendar-current-date):
18839         Add an optional argument giving an offset from today.
18841 2009-07-08  Glenn Morris  <rgm@gnu.org>
18843         * tutorial.el (tutorial--describe-nonstandard-key):
18844         Adjust the message for when a key has been unbound.
18845         (help-with-tutorial): Hide the arch-tag.
18847 2009-07-08  Kenichi Handa  <handa@m17n.org>
18849         * international/fontset.el (setup-default-fontset): For each
18850         script, append (not set) font-specs.
18852         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18853         docstring.
18855 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18857         * progmodes/gdb-mi.el (gdb-init-1): Move sending
18858         -data-list-register-names to ...
18859         (gdb-starting): ... here because GDB 7.0 requires execution to
18860         have started when using this MI command.
18861         (gdb-set-header): New function to distinguish select and
18862         unselected tabs in gdb buffers.
18863         (gdb-propertize-header): New macro that uses gdb-set-header.
18864         (gdb-breakpoints-header, gdb-locals-header): Use it.
18865         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18867 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
18869         * Makefile.in (ELCFILES): Remove fadr.elc.
18871 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
18873         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18874         may contain frame information, so `string-match' should be used.
18875         (gdb-update): Disassembly is invalidated through
18876         `gdb-get-selected-frame'.
18877         (gdb-pad-string): New function to pad string with spaces.
18878         (gdb-invalidate-disassembly): Invalidate only if the buffer
18879         exists.
18880         (gdb-disassembly-handler-custom): Column alignment.
18881         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18882         placing new ones.
18883         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18884         end of line, too.
18885         (gdb-frame-handler): Match convention to for disassembly buffer
18886         mode name.
18887         (gdb-stack-list-frames-handler): Rewritten without regexps.
18888         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18889         not highlight breakpoints without line information.
18890         (gdb-input): Add trailing newline to command.
18892         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18893         buffer properly.
18894         (gdb-breakpoints-list-handler-custom): Replacement for
18895         `gdb-break-list-handler'.  Using real parser instead of regexps
18896         now.
18897         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18898         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18899         to place breakpoints.
18900         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18901         functions.
18902         (gdb-disassembly-handler-custom): Show overlay arrow.
18903         (gdb-disassembly-place-breakpoints): Show breakpoints in
18904         disassembly buffer.
18905         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18906         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18907         instead of parsing breakpoints buffer.  Fixed old menu references
18908         in `gud-menu-map'.
18910         * fadr.el: Remove.
18912         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18913         (gdb-memory-address): New variable which holds top address of
18914         memory page shown in memory buffer.
18915         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
18916         New customization variables.
18917         New functions:
18918         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18919         display the memory buffer.
18920         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18921         buffer display parameters.
18922         (def-gdb-memory-format, gdb-memory-format-binary)
18923         (gdb-memory-format-octal, gdb-memory-format-unsigned)
18924         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18925         Functions for setting memory buffer format.
18926         (gdb-memory-unit-word, gdb-memory-unit-halfword)
18927         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18928         unit size used in memory buffer.
18929         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
18930         Switch to next/previous page of memory buffer.
18931         Now using (bindat-get-field) instead of fadr functions.
18933 2009-07-07  Sam Steingold  <sds@gnu.org>
18935         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18936         non-top-level files.
18938 2009-07-07  Kenichi Handa  <handa@m17n.org>
18940         * international/mule-cmds.el (reset-language-environment):
18941         Put the highset priority to the charset iso-8859-1.
18943 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18945         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18946         to the end of the line when locating the block (Bug#700).
18948 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
18950         * net/tramp.el (tramp-handle-write-region): Flush file properties
18951         in case of short track.
18953 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
18955         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18956         Coded custom representation of verilog error regular expressions
18957         to work with Emacs-22's new format.
18958         (verilog-error-regexp-xemacs-alist): Coded custom representation
18959         of verilog error regular expressions to work with XEmacs format.
18960         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18961         error recognition into XEmacs.
18962         (verilog-error-regexp-add-emacs): Hook routine to install verilog
18963         error recognition into Emacs-22.
18965 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18967         * woman.el: Remove stand-alone closing parentheses.
18968         (woman-file-name, woman2-format-paragraphs)
18969         (woman-leave-blank-lines): Code cleanup.
18970         (woman-use-own-frame): Change default to nil.
18971         (woman-italic, woman-bold, woman-unknown, woman-addition):
18972         Change defaults to inherit from default faces.
18973         (woman2-process-escapes): Consume the newline after a stand-alone
18974         filler character (Bug#3651).
18976 2009-07-06  Glenn Morris  <rgm@gnu.org>
18978         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18979         (top-level): Move provide to the end.
18980         (ffap): Remove defunct URL from custom group.
18982         * subr.el (eval-after-load): Doc fix.
18984 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
18986         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18987         `calc-embedded-word' is called twice.
18989 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18991         * files.el (find-alternate-file-other-window, find-alternate-file):
18992         Obey confirm-nonexistent-file-or-buffer.
18994 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
18996         * dired-aux.el (dired-show-file-type): Handle remote files.
18998 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
19000         * desktop.el (desktop-globals-to-save):
19001         Add file-name-history (Bug#2750).
19003 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
19005         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19007 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
19009         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19010         property on entire argument since this is what eshell-lisp-command
19011         expects.
19013 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
19015         * net/tramp-gvfs.el (tramp-gvfs-methods)
19016         (tramp-gvfs-zeroconf-domain)
19017         (tramp-bluez-discover-devices-timeout): Add version flag.
19018         (tramp-gvfs-handler-mounted-unmounted)
19019         (tramp-gvfs-connection-mounted-p): Polish handling of
19020         incompatibilities between GVFS 0.2 and 1.0.
19022 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
19024         * cus-start.el (all): Add make-pointer-invisible.
19026 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
19028         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19029         formatted correctly.
19031 2009-07-02  Juri Linkov  <juri@jurta.org>
19033         * info.el: Virtual Info files and nodes.
19034         (Info-virtual-files, Info-virtual-nodes): New variables.
19035         (Info-current-node-virtual): New variable.
19036         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19037         New functions.
19038         (Info-file-supports-index-cookies): Use Info-virtual-file-p
19039         to check for a virtual file instead of checking a fixed list
19040         of node names.
19041         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19042         instead of ad-hoc processing of "dir" and (apropos history toc).
19043         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19044         instead of ad-hoc processing of "dir" and (apropos history toc).
19045         Reread a file when moving from a virtual node.
19046         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19047         (Info-directory-toc-nodes, Info-directory-find-file)
19048         (Info-directory-find-node): New functions.
19049         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19050         (Info-history): Move part of code to
19051         `Info-history-find-node'.
19052         (Info-history-toc-nodes, Info-history-find-file)
19053         (Info-history-find-node): New functions.
19054         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19055         (Info-toc): Move part of code to `Info-toc-find-node'.
19056         (Info-toc-find-node): New function.
19057         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
19058         the current Info file name to references because now the node
19059         "*TOC*" belongs to the same Info manual.
19060         (Info-toc-build): Rename from `Info-build-toc'.
19061         (Info-toc-nodes): Rename input argument `file' to `filename'.
19062         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19063         instead of ad-hoc processing of ("dir" apropos history toc).
19064         (Info-index-nodes): Use Info-virtual-file-p
19065         to check for a virtual file instead of checking a fixed list
19066         of node names.
19067         (Info-index-node): Add check for `Info-current-node-virtual'.
19068         Raise `save-match-data' higher up the tree to contain
19069         `search-forward' too (bug fix).
19070         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19071         (Info-virtual-index-nodes): New variable.
19072         (Info-virtual-index-find-node, Info-virtual-index): New functions.
19073         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19074         (Info-apropos-file, Info-apropos-nodes): New variables.
19075         (Info-apropos-toc-nodes, Info-apropos-find-file)
19076         (Info-apropos-find-node, Info-apropos-matches): New functions.
19077         (info-apropos): Move part of code to `Info-apropos-find-node' and
19078         `Info-apropos-matches'.
19079         (Info-mode-map): Bind "I" to `Info-virtual-index'.
19080         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19081         for a virtual file instead of checking a fixed list of node names.
19083         * simple.el (async-shell-command): New command.
19085         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19087         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19088         instead of `mount-info'.
19090 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
19092         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19093         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19095 2009-07-02  Kenichi Handa  <handa@m17n.org>
19097         * international/mule.el (set-keyboard-coding-system): Force *-unix
19098         coding-system to avoid eol conversion.
19100 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
19102         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19103         Add handler for `process-file', `shell-command' and
19104         `start-file-process'.
19105         (tramp-gvfs-handle-shell-command)
19106         (tramp-gvfs-handle-start-file-process)
19107         (tramp-gvfs-handle-process-file): New defuns.
19108         (tramp-synce-list-devices): Simplify check for existence of property.
19110 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
19112         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19114 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
19116         * language/korean.el (set-language-info-alist): Add korean-cp949,
19117         cp949 to spec.
19119 2009-07-01  Kenichi Handa  <handa@m17n.org>
19121         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19123         * international/encoded-kb.el: Deleted.
19125         * international/mule.el (set-keyboard-coding-system): Perform the
19126         necessary setup here instead of calling encoded-kbd-setup-display.
19128 2009-07-01  Glenn Morris  <rgm@gnu.org>
19130         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19132 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
19134         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
19136 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
19138         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19139         Handle also the 'rename case, when setting file modes.  (Bug#3712)
19140         (tramp-default-file-modes): Remove execute permissions.
19142         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19143         (top): Add a default for "synce" in `tramp-default-user-alist'.
19144         Add completion function for "synce" method.
19145         (tramp-hal-service, tramp-hal-path-manager)
19146         (tramp-hal-interface-manager, tramp-hal-interface-device):
19147         New defconst.
19148         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19149         (tramp-synce-list-devices, tramp-synce-parse-device-names):
19150         New defuns.
19152         * net/trampver.el: Update release number.
19154 2009-06-30  Kenichi Handa  <handa@m17n.org>
19156         * international/fontset.el (setup-default-fontset): Add CJK fonts
19157         for symbols and the other miscellaneous characters.
19159         * language/korea-util.el (setup-korean-environment-internal):
19160         Make char-width-table suitable for Korean environments.
19161         (exit-korean-environment): Cancel above.
19163         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19164         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19165         setup-function to make char-width-table suitable for respective
19166         environments, and an exit-function to cancel that.
19168         * language/japan-util.el (setup-japanese-environment-internal):
19169         Call use-cjk-char-width-table with arg `ja_JP'.
19171         * international/characters.el (cjk-char-width-table): Delete it.
19172         (cjk-char-width-table-list): New variable.
19173         (use-cjk-char-width-table): New arg local-name.
19174         (use-default-char-width-table): Fix for the case that Emacs is
19175         already using the default char-width-table.
19177 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
19179         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19180         modes mandatory.  (Bug#3712)
19182 2009-06-29  Alan Mackenzie  <acm@muc.de>
19184         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19185         correction between the visible width of TABs and their number of bytes.
19187 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
19189         * server.el (server-buffer-done): Prevent kill-buffer from
19190         prompting by clearing the buffer modification flag (Bug#3696).
19192 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
19194         * progmodes/verilog-mode.el (verilog-beg-of-statement)
19195         (verilog-endcomment-reason-re): Support unique case and priority case.
19196         (verilog-basic-complete-re): Support localparam lineup.
19197         (verilog-beg-of-statement-1): Fix for robustness, unique case.
19198         (verilog-set-auto-endcomments): Fix for unique case, always_comb
19199         commenting.
19200         (verilog-leap-to-case-head): Now support *nested* unique &
19201         priority case statements.
19202         (verilog-auto-lineup): Make just declarations the default (as it
19203         had been).
19204         (verilog-leap-to-case-head): Support priority/unique case statements.
19205         (verilog-auto-lineup): Rework to give users radio buttons to
19206         select the various styles of automatic lineup.
19207         (verilog-error-regexp-alist): Rework to support the XEmacs style
19208         of error regular expressions from compilers, lint tools &
19209         simulators.  Note that GNU Emacs has made it impossible for a mode
19210         to load such things.
19211         (electric-verilog-terminate-line, verilog-indent-declaration)
19212         (verilog-auto-wiure): Rework for radio button selection of
19213         auto-lineup selection of specification of auto lineup.
19214         (verilog-beg-of-statement-1): Redesign to support proper operation
19215         in additional code, based on testing with auto-lineup.
19216         (verilog-calculate-indent, assignments & declarations)
19217         (verilog-backward-token): Enhance to support auto-lineup of
19218         assignments & declarations.
19219         (verilog-in-directive-p, verilog-at-struct-p): New function for
19220         easy test of whether we are.
19221         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19222         to support safe execution at almost anyline.
19223         (verilog-calc-1): Properly support indenting deep inside generate
19224         blocks.
19225         (verilog-init-font): Remove definition & use of verilog-init-font,
19226         as it is redundant with font-lock-defaults.
19227         (verilog-mode): Alter the definition of verilog-font-lock-defaults
19228         to avoid circular calls if syntax-ppss is a function (as is the
19229         case now in 22.x GNU Emacs) as that function would sometimes call
19230         itself, leading to (nearly) infinite recursion.
19231         (verilog-ovm-begin-re, verilog-ovm-end-re)
19232         (verilog-ovm-statement-re, verilog-leap-to-head)
19233         (verilog-backward-token): Add support for OVM macros.  Some are
19234         complete statements, and others open and close scopes like begin
19235         and end.
19236         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19237         (verilog-defun-level-generate-only-re): Really fix the defun-list
19238         compilation issue.
19239         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19240         coverpoint, constraint and cross statements.
19241         (verilog-defun-level-list, verilog-generate-defun-level-list)
19242         (verilog-all-defun-level-list): Redo these specifications - it is
19243         too hard to support eval-when compile aggregation of lists also
19244         built at when-compile time.
19245         (verilog-defun-level-list): Place defconsts of variables used in
19246         building regular expressions which are built in eval-when-compile
19247         bodies in the same eval-when-compile body to facilitate compile
19248         without load.
19249         (verilog-beg-block-re-ordered): Support indenting
19250         virtual/protected tasks and functions.
19251         (verilog-defun-level-list, verilog-in-generate-region-p)
19252         (verilog-backward-ws&directives, verilog-calc-1): Speed up
19253         indentation of some module items (generate items).
19254         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19255         across virtual/protected tasks and functions.
19257 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
19259         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19260         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
19261         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19262         in concatenations.  Reported by Yishay Belkind.
19263         (verilog-auto-ascii-enum): Support one-hot state machines in
19264         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
19265         (verilog-auto-inst, verilog-auto-inst-port): Include interface
19266         modport in AUTOINST and add vl-modport for users.
19267         Reported by David Rogoff.
19268         (verilog-auto-inout-module, verilog-auto-inst)
19269         (verilog-decls-get-interfaces, verilog-insert-definition)
19270         (verilog-insert-one-definition, verilog-read-decls)
19271         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19272         (verilog-sig-modport, verilog-signals-combine-bus)
19273         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19274         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19275         Suggested by David Rogoff.
19276         (verilog-repair-open-comma): Fix non-insertion of comma when
19277         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
19278         (verilog-make-width-expression): Simplify [A-1:0] expression
19279         widths to just {A{1'b0}}.
19280         (verilog-mode): Cleanup checkdoc warnings.
19281         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19282         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19283         inputs/outputs or data type.  Suggested by Vasu Kandadi.
19284         (next-error-last-buffer): Fix byte-compiler warning.
19285         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19286         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19287         or shell command text during AUTO expansion.  Suggested by Tad Truex.
19288         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19289         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19290         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19291         in AUTOINOUT.  Reported by Matthew Lovell.
19292         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19293         causing use of <= assignments.  Reported by Alex Reed.
19294         (verilog-read-decls): Fix triand, trior, wand, wor to be
19295         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
19296         (verilog-extended-complete-re): Support import "DPI-C" functions.
19297         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19298         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
19299         (verilog-insert-date, verilog-insert-year)
19300         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19301         Windows systems.  Reported by Michael Potts.
19302         (verilog-read-module-name): Fix AUTOINST when the child module
19303         declaration's name is a tick define.  Reported by Elliot Mednick.
19304         (verilog-read-decls): Fix V2K parameter bit subscripts getting
19305         passed to next parameter's definition.  Reported by Bruce T.
19306         (verilog-read-decls): Fix detecting "parameter int" when using
19307         AUTOINSTPARAM.  Reported by Bruce T.
19308         (verilog-goto-defun): Fix goto not finding modules unless first
19309         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
19310         (verilog-mode): Expand -f flag arguments on entry to mode so
19311         verilog-goto-defun will work.  Reported by Lawrence Butcher.
19312         (verilog-getopt): Expand environment variables in -f file
19313         arguments.  Suggested by Lawrence Butcher.
19314         (verilog-set-define): Fix "Symbol's value as variable is void"
19315         when reading enumerations.
19316         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19317         Suggested by Stephen Peltan.
19318         (verilog-read-defines): Fix reading of enumerations in include
19319         files.  Reported by Steve Peltan.
19321 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19323         * files.el (trash-directory): Fix defcustom type.
19325 2009-06-28  Juri Linkov  <juri@jurta.org>
19327         * help-fns.el (describe-function-1): Correctly locate adviced
19328         functions in hyperlink (Bug#2438).
19330 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
19332         * files.el (trash-directory): Change default to nil.
19333         (move-file-to-trash): If trash-directory is nil and
19334         system-move-file-to-trash is unbound, perform freedesktop-style
19335         trashing.
19337 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19339         * files.el (move-file-to-trash): Add freedesktop trash
19340         support (Bug#973).
19342 2009-06-28  Glenn Morris  <rgm@gnu.org>
19344         * autorevert.el (global-auto-revert-non-file-buffers)
19345         (global-auto-revert-mode): Doc fixes.
19347 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
19349         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19351 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
19353         * faces.el (x-handle-named-frame-geometry): Ensure that we have
19354         opened an X connection before calling x-get-resource (Bug#3194).
19356         * play/doctor.el: Remove reference to obsolete website.
19357         (make-doctor-variables): Correct grammar mistake (Bug#2633).
19359 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
19361         Remove find-file-not-found-hook VC method.  (Bug#2757)
19362         * vc-hooks.el (vc-file-not-found-hook)
19363         (vc-default-find-file-not-found-hook): Remove functions.
19364         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19365         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19366         * vc.el:
19367         * vc-hg.el:
19368         * vc-git.el: Do not mention find-file-not-found-hook VC method.
19370 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
19372         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19373         compatibility function for `looking-back'.
19375         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19376         Use `ispell-looking-back'.
19378 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
19380         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19381         rather than `filename'.
19383 2009-06-23  Miles Bader  <miles@gnu.org>
19385         * face-remap.el (text-scale-set): New function.
19387 2009-06-23  Glenn Morris  <rgm@gnu.org>
19389         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19391         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19393         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19395         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19397         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19398         Simplify Persian conditionals.
19400         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19401         variable `filename'.
19403         * comint.el (comint-insert-input): Doc fix.
19405         * Makefile.in (ELCFILES): Fix typo in previous change.
19407 2009-06-23  Miles Bader  <miles@gnu.org>
19409         * cus-start.el: Add entry for `recenter-redisplay'.
19411 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19413         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19414         Add an optional argument for the backend, use it instead of
19415         calling vc-backend.
19416         (vc-mode-line): Add an optional argument for the backend.
19417         Pass the backend to vc-state and vc-working-revision.  Move code for
19418         special handling for vc-state being a buffer to ...
19420         * vc-rcs.el (vc-rcs-find-file-hook):
19421         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
19423         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19424         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19425         vc-stay-local-p and vc-mode-line calls.
19427         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19428         (vc-cvs-diff, vc-cvs-annotate-command)
19429         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19430         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19431         vc-mode-line calls.
19433         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19434         direct comparison.
19435         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19436         backend when calling vc-mode-line.
19437         (vc-register): Do not create a closure for calling the vc register
19438         function, call it directly.
19440 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19442         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19443         to make it obvious item can be clicked.
19445         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19447 2009-06-23  Kenichi Handa  <handa@m17n.org>
19449         * language/korea-util.el (korean-key-bindings): Change the binding
19450         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
19451         same command.
19453 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
19455         Sync with Tramp 2.1.16.
19457         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19459         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
19460         when a loading of a package fails.  Completion function for rsync
19461         is `tramp-completion-function-alist-ssh'.
19462         (all): Replace all calls of `split-string' and
19463         `tramp-split-string' by `tramp-compat-split-string'.
19464         (tramp-default-method): Use `tramp-compat-process-running-p'.
19465         (tramp-default-proxies-alist): Allow also Lisp forms.
19466         (tramp-remote-path): Add choice "Private Directories".
19467         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19468         (tramp-domain-regexp): Allow also "-", "_" and ".".
19469         (tramp-end-of-output): Remove newlines, and add "$" at the end.
19470         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19471         (tramp-debug-message): Insert header line in debug buffer.
19472         (tramp-handle-directory-files-and-attributes-with-stat):
19473         Care about filenames with spaces, or starting with "-".
19474         (tramp-handle-dired-uncache): New defun.
19475         (tramp-handle-insert-directory): Don't flush the directory from
19476         cache, this is handled by `dired-uncache' now.
19477         (tramp-handle-insert-file-contents): Improve error handling.
19478         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19479         Quote `tramp-end-of-output'.
19480         (tramp-action-password): Improve trace message.
19481         (tramp-check-for-regexp): Both echoes must be present, before removing.
19482         (tramp-open-connection-setup-interactive-shell): Trace coding system.
19483         (tramp-compute-multi-hops): Eval cons cells of
19484         `tramp-default-proxies-alist'.
19485         (tramp-maybe-open-connection): Use the same command pattern for
19486         first hop and further hops.
19487         (tramp-wait-for-output): Remove handling of newlines.
19488         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19489         (tramp-split-string): Remove function.  It is handled in
19490         tramp-compat now.
19492         * net/tramp-cmds.el (tramp-bug):
19493         Recommend `tramp-cleanup-all-connections' in the bug mail.
19495         * net/tramp-compat.el (tramp-compat-split-string)
19496         (tramp-compat-process-running-p): New defuns.
19498         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19499         for `dired-uncache'.
19501         * net/tramp-gvfs.el: New package.
19503         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19504         Add handler for `dired-uncache'.
19505         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19507         * net/trampver.el: Update release number.  Make version check fit
19508         for SXEmacs 22.
19510 2009-06-22  Jim Meyering  <meyering@redhat.com>
19512         Automatically handle .xz suffix (XZ-compressed files), too.
19513         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19514         XZ is the successor to LZMA: <http://tukaani.org/xz/>
19516 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
19517             Nick Roberts  <nickrob@snap.net.nz>
19519         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19520         repository (http://sphinx.net.ru/hg/gdb-mi/).
19522 2009-06-22  Glenn Morris  <rgm@gnu.org>
19524         * files.el (dir-locals-collect-mode-variables): Allow for any number of
19525         `mode' and `eval' entries.  (Bug#3430)
19527         * Makefile.in (ELCFILES): Add fadr.elc.
19529         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19530         differing behavior of \n and ^ in strings.  (Bug#3385)
19532         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19534         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19535         property.
19536         (lisp-indent-function): Make it a defcustom.
19538 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
19540         * progmodes/gdb-ui.el: Replace with ...
19541         * progmodes/gdb-mi.el: ... this file.
19542         * progmodes/gud.el: Modify for gdb-mi.el.
19544 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
19546         * fadr.el: New file.
19548 See ChangeLog.14 for earlier changes.
19550 ;; Local Variables:
19551 ;; coding: utf-8
19552 ;; End:
19554   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
19556   This file is part of GNU Emacs.
19558   GNU Emacs is free software: you can redistribute it and/or modify
19559   it under the terms of the GNU General Public License as published by
19560   the Free Software Foundation, either version 3 of the License, or
19561   (at your option) any later version.
19563   GNU Emacs is distributed in the hope that it will be useful,
19564   but WITHOUT ANY WARRANTY; without even the implied warranty of
19565   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19566   GNU General Public License for more details.
19568   You should have received a copy of the GNU General Public License
19569   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.