*** empty log message ***
[emacs.git] / lisp / ChangeLog
blob67d1e9e37bab37572af4fa567c063d48e608bb75
1 2007-12-26  Eric S. Raymond  <esr@snark.thyrsus.com>
3         * log-view.el: Add Subversion and Mercurial log format samples.
5         * vc.el (vc-dired-hook): Significantly speed up by arranging for
6         it to call the backend dir-state hook (if it exists)
7         exactly *once*, rather than once per each subdirectory (with
8         dired-state-info calls on all toplevel files slowing it down even
9         further).  For this to work, backend dir-state methods have to
10         recurse to subdirectories.  Most of them already did anyway; a few
11         needed *non*-recursion switches removed.  This change mostly
12         removed code that was perversely bad and should have been shot
13         through the head years ago.
15         * vc-bzr.el (vc-bzr-dir-state):
16         * vc-cvs.el (vc-cvs-dir-state):
17         * vc-mcvs.el (vc-mcvs-dir-state):
18         * vc-svn.el (vc-svn-dir-state): Recurse in subdirectories.
20         * vc-svn.el (vc-svn-print-log): svn log doesn't actually accept
21         multiple arguments, so generate logs sequentially when we get them.
22         * vc-hg.el (vc-hg-print-log): Gives this CVS-like "Working file:"
23         headers so the various log bindings can do the right thing.
24         * vc-cvs.el (vc-cvs-print-log): Fix a misleading comment.
26 2007-12-26  Andreas Schwab  <schwab@suse.de>
28         * font-lock.el (save-buffer-state): Make sure the state of the
29         buffer is always restored.
31 2007-12-26  Jay Belanger  <jay.p.belanger@gmail.com>
33         * calc/calc.el (calc-lang-allow-percentsigns): New variable.
35         * calc/calc-lang.el (calc-lang-allow-percentsigns): Declare as
36         a variable.
38         * calc/calccomp.el (math-to-percentsigns): New function.
39         (math-compose-var): Handle variables with percent signs.
40         (math-compose-expr): Handle function names with percent signs.
42         * calc/calc-aent.el (math-to-percentsigns): Declare as function.
43         (math-read-exprs): Handle percent signs in languages that
44         allow them.
45         (math-restore-underscores): Remove function.
46         (math-remove-percentsigns, math-restore-placeholders):
47         New functions.
49 2007-12-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
51         * ps-print.el (ps-print-preprint-region): Use `region-active-p' instead
52         `mark' for error checking.
54 2007-12-26  Tassilo Horn  <tassilo@member.fsf.org>
56         * image-mode.el (image-bookmark-make-cell, image-bookmark-jump):
57         New functions.
58         (image-mode): Set bookmark-make-cell-function appropriately.
60         * doc-view.el (doc-view-bookmark-jump): Correct misspelled arg
61         name.
63         * bookmark.el (bookmark-make-cell-function): New variable.
64         (bookmark-make): Call bookmark-make-cell-function's function
65         instead of bookmark-make-cell.
66         (bookmark-get-handler, bookmark-jump-internal): New functions.
67         (bookmark-jump, bookmark-jump-other-window, bookmark-insert)
68         (bookmark-bmenu-2-window, bookmark-bmenu-other-window): Use
69         bookmark-jump-internal.
70         (bookmark-make-cell-for-text-file): Renamed from
71         bookmark-make-cell.
73         * doc-view.el (doc-view-bookmark-make-cell)
74         (doc-view-bookmark-jump): New functions.
75         (doc-view-mode): Set bookmark-make-cell-function buffer-locally.
77 2007-12-25  Miles Bader  <miles@gnu.org>
79         * indent.el (indent-for-tab-command): Rigidly indent the following
80         sexp along with the current line when a prefix arg is given in the
81         non-active-region case.  Specify raw prefix in interactive spec.
82         Simplify main indentation logic to get rid of the conditional call
83         to `indent-according-to-mode' (it just ended up calling
84         `indent-line-function' in all cases anyway, which can be done more
85         simply here).  Remove unnecessary test of ARG in active region
86         case.
88 2007-12-25  Richard Stallman  <rms@gnu.org>
90         * allout.el (allout-region-active-p): Renamed from my-region-active-p.
91         Use `use-region-p'.
92         (allout-write-file-hook-handler): Simplify code.
94         * ps-print.el (ps-mark-active-p): Function deleted.
95         (ps-print-preprint-region): Use (mark) for the error check.
97         * tooltip.el (tooltip-region-active-p): Use `use-region-p'.
99         * winner.el (winner-active-region): Use `mark-active' if it's defined.
101         * progmodes/ada-mode.el (ada-region-selected): Use `use-region-p'.
103         * textmodes/org.el (org-region-active-p): Use `use-region-p'.
105         * progmodes/idlwave.el (idlwave-region-active-p): Use `use-region-p'.
107         * textmodes/reftex.el (reftex-region-active-p): Use `use-region-p'.
109         * progmodes/cc-defs.el (c-region-is-active-p):
110         Use `mark-active' if it's defined.
112         * progmodes/cc-cmds.el (c-indent-line-or-region):
113         Pass prefix arg to `c-indent-command'.  Use `use-region-p'.
115         * simple.el (select-active-regions): New option.
116         (set-mark): Obey it.
117         (yank-pop-change-selection): New option.
118         (current-kill): Obey it.
120         * simple.el (use-region-p): Renamed from `region-active-p'.
121         (region-active-p): New function.
123 2007-12-25  David Golden  <david.delaharpe.golden@gmail.com>  (tiny change)
125         * term/x-win.el (x-select-enable-primary): New option.
126         (x-select-text, x-cut-buffer-or-selection-value): Obey it.
128         * mouse.el (mouse-yank-primary): New function (almost same
129         as mouse-yank-secondary).
131 2007-12-25  Dan Nicolaescu  <dann@ics.uci.edu>
133         * calculator.el:
134         * dframe.el:
135         * iswitchb.el:
136         * whitespace.el:
137         * winner.el:
138         * emacs-lisp/checkdoc.el:
139         * mail/feedmail.el:
140         * net/quickurl.el:
141         * obsolete/fast-lock.el:
142         * play/5x5.el:
143         * progmodes/delphi.el:
144         * progmodes/idlw-shell.el:
145         * progmodes/idlwave.el:
146         * textmodes/artist.el:
147         * textmodes/ispell.el:
148         * textmodes/texinfmt.el:
149         * textmodes/texinfo.el: Remove obsolete definitions of backward
150         compatibility macros for defcustom, defgroup, defface, when,
151         unless, with-current-buffer and with-temp-message.
153 2007-12-24  Nick Roberts  <nickrob@snap.net.nz>
155         * progmodes/verilog-mode.el: Fit parts to 80 columns.
157 2007-12-23  Stefan Monnier  <monnier@iro.umontreal.ca>
159         * server.el (server-save-buffers-kill-terminal): Check the `proc' is
160         indeed a process.
162 2007-12-23  Richard Stallman  <rms@gnu.org>
164         * simple.el (region-active-p): New function.
165         (use-empty-active-region): New variable.
167         * dired-aux.el (dired): Load dired.el at run time too.
169 2007-12-23  Juri Linkov  <juri@jurta.org>
171         * man.el (Man-follow-manual-reference): Fill the minibuffer's
172         default list with a full list of references.
174         * files.el (auto-mode-alist): Add \\' to doc-view files regexp.
176 2007-12-23  Andreas Schwab  <schwab@suse.de>
178         * files.el (switch-to-buffer-other-frame): Return the buffer
179         switched to.
181 2007-12-23  Michael Albinus  <michael.albinus@gmx.de>
183         Sync with Tramp 2.1.12.
185         * net/tramp.el: New todo item.
187         * net/tramp-smb.el (tramp-smb-handle-insert-directory): Handle "-F"
188         switch.  Reported by Mark T. Kennedy <mkennedy@diamondbackcap.com>.
190         * net/trampver.el: Update release number.
192 2007-12-22  Richard Stallman  <rms@gnu.org>
194         * newcomment.el (comment-region-default): Don't triple the
195         comment starter if the first region line isn't indented enough.
197 2007-12-21  Martin Rudalics  <rudalics@gmx.at>
199         * autoinsert.el (auto-insert-alist): Remove nonsensical precision
200         specifier from format-string.  Reported by Ye Wenbin.
202 2007-12-20  Jason Rumney  <jasonr@gnu.org>
204         * nxml/nxml-mode.el (nxml-faces): Rename from nxml-highlighting-faces.
205         Parent group is font-lock-faces.
206         (nxml-light-blue-color, nxml-dark-blue-color, nxml-green-color)
207         (nxml-sky-blue-color, nxml-dark-green-color, nxml-light-green-color):
208         (nxml-version): Remove.
209         (nxml-delimited-data, nxml-name, nxml-ref, nxml-delimiter)
210         (nxml-text, nxml-comment-content, nxml-comment-delimiter)
211         (nxml-processing-instruction-delimiter)
212         (nxml-processing-instruction-target)
213         (nxml-processing-instruction-content, nxml-cdata-section-delimiter)
214         (nxml-cdata-section-CDATA, nxml-cdata-section-content)
215         (nxml-char-ref-number, nxml-char-ref-delimiter, nxml-entity-ref-name)
216         (nxml-entity-ref-delimiter, nxml-tag-delimiter, nxml-tag-slash)
217         (nxml-element-prefix, nxml-element-colon, nxml-element-local-name)
218         (nxml-attribute-prefix, nxml-attribute-colon)
219         (nxml-attribute-local-name, nxml-namespace-attribute-xmlns)
220         (nxml-namespace-attribute-colon, nxml-namespace-attribute-prefix)
221         (nxml-attribute-value, nxml-attribute-value-delimiter)
222         (nxml-namespace-attibute-value)
223         (nxml-namespace-attribure-value-delimiter)
224         (nxml-prolog-literal-delimiter, nxml-prolog-literal-content)
225         (nxml-prolog-keyword, nxml-markup-declaration-delimiter, nxml-hash)
226         (nxml-glyph): Rename, removing -face suffix.
227         Inherit from existing font-lock faces.
228         (nxml-apply-fontify-rule, nxml-char-ref-display-extra):
229         Use new face names.
231         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
232         (nxml-outline-active-indicator, nxml-outline-ellipsis):
233         Rename, removing -face suffix.
234         (nxml-highlighted-less-than, nxml-highlighted-greater-than)
235         (nxml-highlighted-colon, nxml-highlighted-slash)
236         (nxml-highlighted-ellipsis, nxml-highlighted-inactive-minus)
237         (nxml-highlighted-active-minus, nxml-highlighted-active-plus)
238         (nxml-highlighted-qname, nxml-outline-display-heading):
239         Use new face names.
241         * nxml/rng-valid.el (rng-error): Rename from rng-error-face.
243         * nxml/rng-nxml.el (rng-nxml-easy-menu): Remove nxml-version.
245 2007-12-19  Martin Rudalics  <rudalics@gmx.at>
247         * cus-start.el (all): Use correct group name for members of
248         mode-line group.
250         * man.el (Man-default-man-entry): When looking for default man
251         entry title search text preceding point.  Use when instead of if.
253         * indent.el (indent-for-tab-command): Fix doc-string typo.
255         * vc.el (vc-ensure-vc-buffer): Avoid infinite looping when
256         vc-parent-buffer is the current buffer.
258         * info-look.el (info-lookup, info-lookup-setup-mode)
259         (info-lookup-make-completions): Avoid clobbering Info-history and
260         Info-history-list.
262 2007-12-19  Glenn Morris  <rgm@gnu.org>
264         * progmodes/verilog-mode.el (top-level): Don't require compile.
265         (compilation-error-regexp-alist, compilation-last-buffer):
266         Define for compiler.
267         (verilog-insert-1): New function.
268         (verilog-insert-indices, verilog-generate-numbers): Doc fixes.
269         Use verilog-insert-1.
270         (verilog-surelint-off): Use next-error-last-buffer if bound.
271         Check compile buffer is live.
273 2007-12-19  John J Foerch  <jjfoerch@earthlink.net>  (tiny change)
275         * progmodes/compile.el (compilation-start): Don't pass a FRAME
276         argument to display-buffer.
278 2007-12-19  Jason Rumney  <jasonr@gnu.org>
280         * nxml/rng-maint.el (rng-format-manual): Do not autoload.
281         (rng-autoload-modules, rng-update-autoloads, rng-compile-modules)
282         (rng-byte-compile-load, rng-write-version): Remove.
284         * nxml/rng-loc.el (rng-schema-locating-files-default)
285         (rng-schema-locating-file-schema-file): Use files in etc/schemas.
286         (rng-schema-loader-alist): Use rng-c-load-schema to load rnc files.
288 2007-12-18  Michael Albinus  <michael.albinus@gmx.de>
290         * files.el (cd-absolute): Set `list-buffers-directory' in order to
291         show correct path in buffer list.
293         * net/tramp.el (tramp-open-connection-setup-interactive-shell)
294         (tramp-find-shell): Send only single prompt setting commands, in
295         order to avoid double-prompt.
297         * net/tramp-compat.el (top): Require cl only when compiling.
298         Reported by Glenn Morris <rgm@gnu.org>.
300 2007-12-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
302         * progmodes/cc-vars.el (defcustom-c-stylevar): Eval VAL.
303         (c-comment-continuation-stars): No longer declare with
304         cc-bytecomp-obsolete-var and cc-bytecomp-defvar.
305         (c-block-comment-prefix): Use symbol-value to
306         access c-comment-continuation-stars.
307         * progmodes/cc-mode.el (c-initialize-cc-mode):
308         Use symbol-value to access c-comment-continuation-stars.
310 2007-12-18  Mark A. Hershberger  <mah@everybody.org>
312         * xml.el (xml-escape-string): New function.  Escape string using
313         xml-entity-alist.
314         (xml-debug-print-internal): Use xml-escape-string to escape
315         characters in attributes and in text children of elements.
317 2007-12-18  Glenn Morris  <rgm@gnu.org>
319         * progmodes/cc-subword.el (c-subword-mode): Drop support for
320         systems without define-minor-mode.
322         * progmodes/cc-vars.el (defcustom-c-stylevar): Remove debugging
323         message.
325         * progmodes/verilog-mode.el: Replace all instances of
326         string-to-int with string-to-number, insert-string with insert,
327         and read-input with read-string.
328         (top-level): No need to require imenu, reporter, dinotrace, vc,
329         font-lock when compiling.  Always require compile.  Relegate remaining
330         compatibility cruft to XEmacs.  Don't require font-lock.
331         (verilog-version): Remove superfluous concat.
332         (dinotrace-unannotate-all, zmacs-activate-region)
333         (customize-apropos): No need to define.
334         (verilog-regexp-opt): On Emacs, just make it an alias for regexp-opt.
335         (verilog-font-lock-keywords, verilog-font-lock-keywords-1)
336         (verilog-font-lock-keywords-2, verilog-font-lock-keywords-3)
337         (verilog-startup-message-displayed): These are variables, not constants.
338         (verilog-batch-execute-func, verilog-auto-inst)
339         (verilog-auto-inst-param): Use mapc rather than mapcar.
340         (sigs-in, sigs-inout, sigs-out): Define for compiler rather than
341         actually defining.
342         (verilog-modi-get-decls, verilog-modi-get-sub-decls)
343         (verilog-modi-get-outputs, verilog-modi-get-inouts)
344         (verilog-modi-get-inputs, verilog-modi-get-wires)
345         (verilog-modi-get-regs, verilog-modi-get-assigns)
346         (verilog-modi-get-consts, verilog-modi-get-gparams)
347         (verilog-modi-get-sub-outputs, verilog-modi-get-sub-inouts)
348         (verilog-modi-get-sub-inputs): Move inline functions earlier in
349         the file.
350         (sigs-in, sigs-out): Don't declare multiple times.
351         (got-sig, got-rvalue, uses-delayed): Define for compiler with just
352         `defvar'.
353         (verilog-auto): Call dinotrace-unannotate-all only if bound.
354         (verilog-module-inside-filename-p): No need to wrap fboundp test
355         in condition-case.
356         (reporter-submit-bug-report): Autoload it.
357         (verilog-mark-defun): Call zmacs-activate-region only if bound.
358         (verilog-font-customize): Call customize-apropos only if bound.
359         (verilog-getopt-flags, verilog-auto-reeval-locals): Use
360         make-local-variable rather than make-variable-buffer-local.
361         (verilog-company, verilog-project, verilog-modi-cache-list): Move
362         make-variable-buffer-local calls to top-level.
363         (font-lock-defaults-alist): Don't define it.
364         (verilog-need-fld): Remove.
365         (verilog-font-lock-init): Don't set font-lock-defaults-alist.
366         (verilog-mode): Only call make-local-hook on XEmacs.  Set
367         font-lock-defaults rather than using verilog-font-lock-init.
369 2007-12-17  Andreas Schwab  <schwab@suse.de>
371         * progmodes/sh-script.el (sh-font-lock-syntactic-keywords): Fix
372         comment typo.
374 2007-12-16  Michael Albinus  <michael.albinus@gmx.de>
376         * net/dbus.el (dbus-name-owner-changed-handler): Use
377         `dbus-unregister-signal' for removing old rules.  Obey new
378         structure of `dbus-registered-functions-table'.
380 2007-12-12  Thien-Thi Nguyen  <ttn@gnuvola.org>
382         * progmodes/cc-vars.el (defcustom-c-stylevar): Rewrite.
384 2007-12-11  Dan Nicolaescu  <dann@ics.uci.edu>
386         * progmodes/verilog-mode.el (set-buffer-menubar): Remove unused
387         function.
388         (add-submenu): Only define for XEmacs.
389         (verilog-regexp-words): Revert previous change, keep the other
390         definition.
392 2007-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
394         * progmodes/perl-mode.el (perl-continued-statement-offset)
395         (perl-continued-brace-offset, perl-brace-offset)
396         (perl-brace-imaginary-offset, perl-label-offset):
397         * progmodes/cperl-mode.el (cperl-brace-offset)
398         (cperl-continued-brace-offset, cperl-label-offset)
399         (cperl-continued-statement-offset)
400         (cperl-extra-newline-before-brace, cperl-merge-trailing-else): Add
401         safe-local-variable properties.
403 2007-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
405         * progmodes/verilog-mode.el (verilog-mode-map)
406         (verilog-template-map, verilog-mode-mouse-map): Fix typos.
407         (verilog-colorize-include-files): Use only overlay functions so
408         that it can work on both emacs and XEmacs.
409         (set-extent-keymap): Remove unused defun.
410         (verilog-kill-existing-comment, verilog-insert-date)
411         (verilog-insert-year): Rename in order not to pollute the global
412         namespace from kill-existing-comment, insert-date and
413         insert-year, respectively.
414         (verilog-set-auto-endcomments, verilog-header): Update callers.
416         * files.el (auto-mode-alist): Recognize verilog files.
418         * progmodes/verilog-mode.el (verilog-string-replace-matches)
419         (verilog-string-remove-spaces, verilog-re-search-forward)
420         (verilog-re-search-backward, verilog-re-search-forward-quick)
421         (verilog-re-search-backward-quick, verilog-get-beg-of-line)
422         (verilog-get-end-of-line, verilog-within-string): Move definitions
423         before first use. No code changes.
425 2007-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
427         * progmodes/verilog-mode.el (verilog-mode-version)
428         (verilog-mode-release-date): Don't use expanding keywords.
429         (provide): Move to the end of file.
430         (fboundp): Don't check if eval-when-compile is bound, it is used
431         later in the file without checking.
432         (when, unless): Copy definitions from subr.el.
433         (char-before, defcustom, defface, customize-group)
434         (verilog-batch-error-wrapper): Don't use old style backquotes.
435         (verilog-regexp-opt): Avoid using the cl function case.
436         (verilog-regexp-words): Remove duplicated definition.
437         (verilog-mode-abbrev-table): Remove, duplicate.
438         (verilog-mode-map, verilog-template-map, verilog-mode-mouse-map):
439         Declare and initialize in one step.
440         (verilog-declaration-prefix-re, verilog-declaration-re)
441         (verilog-end-of-statement, verilog-indent-declaration)
442         (verilog-get-lineup-indent): Remove trailing whitespace.
443         (verilog-mode): Fix autoload cookie. Set
444         beginning-of-defun-function and end-of-defun-function. Use when
445         instead of if.
446         (verilog-emacs-features, verilog-auto-ascii-enum)
447         (verilog-insert-indices): Escape braces in doc strings.
449 2007-12-08  Michael McNamara <mac@verilog.com>
450             Wilson Snyder <wsnyder@wsnyder.org>
452         * progmodes/verilog-mode.el: New file.
454 2007-12-08  Eli Zaretskii  <eliz@fencepost.gnu.org>
456         * international/latexenc.el (latexenc-find-file-coding-system): If
457         both coding-system-for-write and buffer-file-coding-system of
458         latex-main-file are nil, use `undecided'.
460 2007-12-06  Jason Rumney  <jasonr@gnu.org>
462         * mouse.el (mouse-buffer-menu-alist): Keep buffer names left aligned.
464 2007-12-12  Yoni Rabkin Katzenell  <yoni-r@actcom.com>  (tiny change)
466         * files.el (revert-buffer): Docstring fix.
468 2007-12-11  Glenn Morris  <rgm@gnu.org>
470         * emacs-lisp/check-declare.el (check-declare-verify): Handle deffoo.
472 2007-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
474         * calc/calc-aent.el (math-restore-underscores)
475         (math-string-restore-underscores): New functions.
476         (math-read-factor): Properly check variable names with underscores
477         for entries in `math-expr-variable-mapping'.
479         * calc/calc-lang.el (math-lang-name): New property name.
481         * calc/calc.el (calc-set-mode-line): Use `math-lang-name'
482         to set language name.
484 2007-12-10  Katsumi Yamaoka  <yamaoka@jpl.org>
486         * pgg.el (pgg-run-at-time, pgg-cancel-timer): Use eval-and-compile.
488 2007-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
490         * server.el (server-select-display): Fix important typo.
491         (server-process-filter): Turn a "" display into nil.
493 2007-12-09  Juri Linkov  <juri@jurta.org>
495         * replace.el (keep-lines, flush-lines, how-many): Doc fix.
496         Check search-upper-case before calling isearch-no-upper-case-p
497         to set case-fold-search.
498         (occur): Doc fix.
499         (occur-1, perform-replace): Check search-upper-case before calling
500         isearch-no-upper-case-p to set case-fold-search.
502         * isearch.el (search-upper-case): Doc fix.
503         (isearch-mode-map): Bind `M-s o' to isearch-occur.
504         (isearch-query-replace): Doc fix.  Let-bind search-upper-case to nil.
505         (isearch-query-replace-regexp): Doc fix.
506         (isearch-occur): New function.
508 2007-12-09  Reiner Steib  <Reiner.Steib@gmx.de>
510         * pgg.el, pgg-parse.el (declare-function): Add new no-op macro for
511         backward compatibility.
513         * net/imap.el (imap-string-to-integer): New function.
515 2007-12-09  David Kastrup  <dak@gnu.org>
517         * emacs-lisp/lisp-mnt.el (lm-verify): Make it work with
518         directories.  Not sure anybody uses this anymore, though.
520 2007-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
522         * printing.el: Fix pr-interface-map initialization code.
523         (pr-version): New version 6.9.3.
524         (pr-f-set-keymap-parents): Replace by pr-set-keymap-parents.
525         (pr-f-set-keymap-name): Replace by pr-set-keymap-name.
526         (pr-f-read-string): Replace by pr-read-string.
527         (pr-set-keymap-parents, pr-set-keymap-name, pr-read-string): New fun
528         name.
529         (pr-interactive-n-up, pr-interactive-regexp): Code fix.
531 2007-12-09  Glenn Morris  <rgm@gnu.org>
533         * emulation/viper-init.el (top-level): Use dolist rather than mapc
534         in make-variable-frame-local call.
536 2007-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
538         * mail/hashcash.el (declare-function):
539         * net/imap.el (declare-function): New no-op macro for backward
540         compatibility.
542 2007-12-08  Eli Zaretskii  <eliz@gnu.org>
544         Sync makefile.w32-in with Makefile.in.
546         * makefile.w32-in (check-declare): New target.
547         (BYTE_COMPILE_EXTRA_FLAGS): New variable.
548         (.el.elc, compile-CMD, compile-SH, compile-always-CMD)
549         (compile-always-SH, compile-calc-CMD, compile-calc-SH)
550         ($(lisp)/progmodes/cc-mode.elc): Use it.
551         ($(lisp)/progmodes/cc-mode.elc): New rule.
553 2007-12-08  Reiner Steib  <Reiner.Steib@gmx.de>
555         * indent.el (tab-stop-list): Mark as safe-local-variable.
557         * generic-x.el (etc-sudoers-generic-mode): New mode.
558         (generic-unix-modes): Add it.
560 2007-12-08  Michael Albinus  <michael.albinus@gmx.de>
562         * net/dbus.el (dbus-hash-table=): Remove function.  We cannot
563         apply wildcards in a hash table key; there is no usable hash code then.
564         (dbus-registered-functions-table): Use `equal' as test function.
565         (dbus-name-owner-changed-handler): Rewrite due to new hash table
566         structure.
568 2007-12-08  Martin Rudalics  <rudalics@gmx.at>
570         * progmodes/cc-cmds.el (c-mask-paragraph): Avoid invalid search
571         bound error in block comment branch.
573 2007-12-08  David Kastrup  <dak@gnu.org>
575         * textmodes/reftex.el (reftex-select-with-char):
576         * textmodes/reftex-toc.el (reftex-toc-do-promote)
577         (reftex-toc-visit-location, reftex-toc-find-section):
578         * textmodes/reftex-index.el (reftex-index-show-entry):
579         * textmodes/org.el (org-cycle-hide-archived-subtrees)
580         (org-table-rotate-recalc-marks, org-mark-ring-push)
581         (org-follow-info-link, org-mhe-get-message-folder-from-index)
582         (org-auto-repeat-maybe, org-store-log-note, org-delete-property)
583         (org-evaluate-time-range, org-edit-agenda-file-list):
584         * textmodes/artist.el (artist-select-next-op-in-list)
585         (artist-select-prev-op-in-list):
586         * term/mac-win.el (mac-service-insert-text):
587         * startup.el (fancy-about-screen):
588         * progmodes/vhdl-mode.el (vhdl-decision-query):
589         * progmodes/idlwave.el (idlwave-template)
590         (idlwave-scroll-completions, idlwave-display-completion-list):
591         * progmodes/ebrowse.el (ebrowse-show-progress):
592         * progmodes/cperl-mode.el (cperl-find-pods-heres):
593         * progmodes/antlr-mode.el (antlr-insert-option-do):
594         * play/mpuz.el (mpuz-close-game):
595         * net/rcirc.el (rcirc-next-active-buffer):
596         * mail/reporter.el (reporter-update-status):
597         * kmacro.el (kmacro-display):
598         * international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
599         * emulation/viper-util.el (viper-save-setting):
600         * emacs-lisp/lisp-mnt.el (lm-verify):
601         * emacs-lisp/edebug.el (edebug-set-mode):
602         * emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
603         * calendar/calendar.el (calendar-print-day-of-year):
604         * calc/calcalg3.el (calc-curve-fit):
605         * calc/calcalg2.el (math-integral):
606         * calc/calc.el (calc-read-key-sequence, calc-version):
607         * calc/calc-mode.el (calc-set-simplify-mode):
608         * calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to `message'.
610 2007-12-07  D. Goel  <deego3@gmail.com>
612         * progmodes/idlw-shell.el (idlwave-shell-display-line)
613         * progmodes/ada-xref.el (ada-find-file, ada-get-all-references)
614         (ada-xref-find-in-modified-ali, ada-find-in-src-path)
615         * mail/uce.el (uce-reply-to-uce)
616         * progmodes/vhdl-mode.el (vhdl-template-modify)
617         * mail/feedmail.el (feedmail-dump-message-to-queue): Improve calls
618         to `error' (as suggested by RMS.)
620 2007-12-07  Glenn Morris  <rgm@gnu.org>
622         * allout.el (allout-write-file-hook-handler):
623         * textmodes/reftex.el (reftex-TeX-master-file):
624         * textmodes/reftex-parse.el (reftex-short-context):
625         Revert previous change.
627 2007-12-07  Michael Albinus  <michael.albinus@gmx.de>
629         * net/dbus.el (dbus-hash-table=): Fix for new hash table key structure.
630         (dbus-list-hash-table, dbus-name-owner-changed-handler): New defuns.
631         (dbus-check-event, dbus-handle-event, dbus-event-bus-name)
632         (dbus-event-service-name, dbus-event-path-name)
633         (dbus-event-interface-name, dbus-event-member-name): Fix for new
634         event structure.
635         (dbus-list-activatable-names, dbus-list-names)
636         (dbus-list-queued-owners, dbus-get-name-owner, dbus-introspect):
637         Reorder `dbus-call-method' arguments.
639 2007-12-06  D. Goel  <deego3@gmail.com>
641         * allout.el (allout-write-file-hook-handler):
642         * textmodes/reftex.el (reftex-TeX-master-file):
643         * textmodes/org.el (org-paste-subtree):
644         * progmodes/vhdl-mode.el (vhdl-template-modify):
645         * progmodes/idlw-shell.el (idlwave-shell-send-command)
646         (idlwave-shell-display-line):
647         * progmodes/ada-xref.el (ada-find-file, ada-get-all-references)
648         (ada-xref-find-in-modified-ali, ada-find-in-src-path):
649         * net/trampver.el (x):
650         * mail/uce.el (uce-reply-to-uce):
651         * mail/rmailout.el (rmail-output):
652         * mail/feedmail.el (feedmail-dump-message-to-queue):
653         * whitespace.el (whitespace-write-file-hook):
654         * wdired.el (wdired-check-kill-buffer):
655         * vc.el (vc-update):
656         * vc-mcvs.el (vc-mcvs-checkin):
657         * vc-cvs.el (vc-cvs-checkin):
658         * man.el (Man-bgproc-sentinel, Man-goto-see-also-section):
659         * ibuffer.el (ibuffer-current-buffer):
660         * dired.el (dired-move-to-end-of-filename):
661         * bindings.el (complete-symbol):
662         * textmodes/org-publish.el (org-publish-file):
663         (org-publish-current-project):
664         * textmodes/reftex-parse.el (reftex-short-context):
665         * textmodes/texinfmt.el: Fix buggy calls to `error'.
667 2007-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
669         * doc-view.el (doc-view-dvi->pdf-sentinel)
670         (doc-view-pdf/ps->png-sentinel, doc-view-pdf->txt-sentinel)
671         (doc-view-ps->pdf-sentinel, doc-view-display): Don't change buffer
672         within a sentinel or timer.
673         (doc-view-display): Don't try to display before the requested page
674         is available, unless told to do so explicitly.
675         (doc-view-pdf/ps->png-sentinel, doc-view-initiate-display):
676         Force display even if the requested page is not available.
678 2007-12-06  Richard Stallman  <rms@gnu.org>
680         * help-fns.el (describe-function-1): Call ad-get-advice-info
681         only on symbols.
683 2007-12-06  Glenn Morris  <rgm@gnu.org>
685         * progmodes/antlr-mode.el (antlr-keyword, antlr-syntax)
686         (antlr-ruledef, antlr-tokendef, antlr-ruleref-face)
687         (antlr-tokenref, antlr-literal): Inherit from standard font-lock
688         faces in non-light-background case.
690         * add-log.el, dired-aux.el, font-lock.el, help-fns.el, ido.el:
691         * informat.el, emacs-lisp/bytecomp.el, emacs-lisp/gulp.el:
692         * emacs-lisp/tcover-ses.el, emacs-lisp/timer.el, emulation/edt.el:
693         * emulation/vi.el, emulation/viper-cmd.el:
694         * international/titdic-cnv.el, mail/emacsbug.el, progmodes/dcl.el:
695         * progmodes/prolog.el, progmodes/ps-mode.el, progmodes/python.el:
696         * textmodes/fill.el: Remove directory part from filenames in
697         function declarations.
699         * dired-aux.el (mailcap-mime-info): Update declaration.
701 2007-12-05  Richard Stallman  <rms@gnu.org>
703         * wid-edit.el (widget-type): Doc fix.
705 2007-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
707         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
708         Don't match "sub { (...) ... }".
710 2007-12-05  Richard Stallman  <rms@gnu.org>
712         * international/mule-cmds.el (toggle-input-method-active): New var.
713         (toggle-input-method): Bind toggle-input-method-active to t.
714         Error if it was already non-nil.
716 2007-12-05  Reiner Steib  <Reiner.Steib@gmx.de>
718         * net/tls.el (tls-hostmismatch, open-tls-stream): Checkdoc cleanup.
720 2007-12-05  Elias Oltmanns  <eo@nebensachen.de>
722         * net/tls.el (open-tls-stream): Actually consult tls-checktrust to
723         see if certs should be verified and what is to be done in the
724         event of a verification failure.
726 2007-12-05  Reiner Steib  <Reiner.Steib@gmx.de>
728         * net/tls.el (tls-program): Provide more custom choices from
729         `tls-checktrust'.  Refer to `tls-checktrust' in doc string.
730         (tls-process-connection-type, tls-success): Remove "*" in doc string.
731         (tls-checktrust, tls-hostmismatch, tls-untrusted): Add custom
732         version.  Minor improvement to doc strings.
733         (tls-program): Add comment.
735 2007-12-05  Elias Oltmanns  <eo@nebensachen.de>
737         * net/tls.el (tls-certtool-program, tls-hostmismatch): New variables.
738         (tls-checktrust): New variable.  Check if GNU TLS complained about a
739         mismatch between the hostname provided in the certificate and the name
740         of the host connnecting to.
741         (open-tls-stream): Use them.  Check certificates against trusted root
742         certificates.
744 2007-12-05  Nathan J. Williams  <nathanw@MIT.EDU>  (tiny change)
746         * net/imap.el (imap-mailbox-status-asynch): Upcase STATUS items.
747         (imap-parse-status): Upcase status-att for broken servers that sends
748         them lower-case (e.g., MS Exchange 2007).
750 2007-12-05  D. Goel  <deego3@gmail.com>
752         * simple.el (undo):
753         * image-dired.el (image-dired-display-thumb-properties):
754         (image-dired-modify-mark-on-thumb-original-file):
755         (image-dired-dired-display-properties):
756         * help.el (help-window-display-message):
757         * files.el (hack-local-variables-confirm):
758         * ediff.el (ediff-version):
759         * complete.el (pc-chunk-after, PC-temp-minibuffer-message):
760         `message' and `error': Ensure that first arg is a format string.
762         * emacs-lisp/find-func.el (find-library-name): Prefer files with
763         ".el" suffix over "".
765 2007-12-05  Michael Albinus  <michael.albinus@gmx.de>
767         * net/dbus.el (dbus-hash-table=): Allow nil as wildcard in the
768         interface and member fields.
770 2007-12-05  Glenn Morris  <rgm@gnu.org>
772         * eshell/em-alias.el (pcomplete-stub): Define for compiler.
773         (pcomplete-here): Autoload it.
775         * eshell/em-basic.el (print-func): No need to define for compiler.
777         * eshell/esh-cmd.el (eshell-debug-command):
778         * eshell/esh-io.el (eshell-print): Move definitions before use.
780         * eshell/esh-module.el (eshell-load-defgroups): Eval and compile.
782         * eshell/esh-util.el (top-level): Don't require pp.
783         Use condition-case rather than ignore-errors.
785         * eshell/eshell.el (eshell-buffer-name): Define for compiler.
787         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el
788         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el
789         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el
790         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el
791         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el
792         * eshell/em-xtra.el, eshell/esh-cmd.el, eshell/esh-test.el
793         * eshell/esh-util.el, eshell/eshell.el: Require individual files
794         if needed when compiling, rather than esh-maint.  Collect any
795         require statements.  Move provide statement to end.  Move any
796         commentary to start.
798         * eshell/esh-arg.el, eshell/esh-ext.el, eshell/esh-io.el:
799         * eshell/esh-mode.el, eshell/esh-module.el, eshell/esh-opt.el:
800         * eshell/esh-proc.el, eshell/esh-var.el:
801         Require individual files if needed when compiling, rather than
802         esh-maint.  Collect any require statements.  Leave provide at start.
803         Move any commentary to start.
805         * emacs-lisp/bytecomp.el (byte-compile-declare-function):
806         Remove declared function from byte-compile-noruntime-functions.
808         * ediff-util.el (ediff-version):
809         * progmodes/python.el (compilation-shell-minor-mode):
810         * textmodes/org.el (Info-goto-node, calendar-astro-date-string)
811         (calendar-bahai-date-string, calendar-check-holidays)
812         (calendar-chinese-date-string, calendar-coptic-date-string)
813         (calendar-ethiopic-date-string, calendar-forward-day)
814         (calendar-french-date-string, calendar-goto-date)
815         (calendar-goto-today, calendar-hebrew-date-string)
816         (calendar-islamic-date-string, calendar-iso-date-string)
817         (calendar-julian-date-string, calendar-mayan-date-string)
818         (calendar-persian-date-string, gnus-summary-last-subject)
819         (parse-time-string, rmail-show-message): Declare as functions.
821 2007-12-05  Michael Olson  <mwolson@gnu.org>
823         * textmodes/remember.el: Merge contents of remember-diary.el here,
824         updating header.  Add autoload cookie so that byte-compilation
825         works without warning.
826         (remember-diary-file): Default to nil, since diary might not yet
827         be loaded at this point, which would deny us access to diary-file.
828         (remember-diary-extract-entries): If remember-diary-file is nil,
829         then use diary-file instead.
831         * textmodes/remember-diary.el: Remove, due to the issue of needing
832         the first 8 characters of a filename to be unique.
834 2007-12-04  Michael Albinus  <michael.albinus@gmx.de>
836         * net/dbus.el (dbus-hash-table=): New defun.
837         (dbus-hash-table-test) New hash table test function, used in
838         `dbus-registered-functions-table'.
839         (dbus-check-event, dbus-handle-event, dbus-event-bus-name)
840         (dbus-event-service-name, dbus-event-path-name)
841         (dbus-event-interface-name, dbus-event-member-name): Rewritten,
842         due to new structure of `dbus-event'.
844 2007-12-04  Juanma Barranquero  <lekktu@gmail.com>
846         * ido.el (ido-save-history): Set the `coding' local
847         variable in the first line of the file.
849 2007-12-04  Glenn Morris  <rgm@gnu.org>
851         * password-cache.el: Move here from gnus/password.el.
852         (top-level): Don't require cl when compiling.
853         (password-read-and-add): Doc fix.  Make obsolete.
855         * net/tramp.el: Require password-cache or password.
857         * emulation/cua-base.el (top-level): Move (provide 'cua-base) to end.
858         No longer provide 'cua.  Don't require cua-rect, cua-gmrk when
859         compiling.
860         (cua-set-rectangle-mark): Add doc string to autoload.
861         (cua--rectangle, cua--last-killed-rectangle)
862         (cua--global-mark-active): Always define for compiler.
863         (cua-copy-rectangle, cua-cut-rectangle, cua--rectangle-left)
864         (cua--delete-rectangle, cua--insert-rectangle)
865         (cua--rectangle-corner, cua--rectangle-assert)
866         (cua--insert-at-global-mark, cua--global-mark-post-command):
867         Declare as functions.
869         * emulation/cua-gmrk.el (top-level): Move provide to end.
871         * emulation/cua-rect.el (top-level): Move provide to end.
872         Don't require cua-gmrk when compiling.
873         (cua--cut-rectangle-to-global-mark)
874         (cua--copy-rectangle-to-global-mark): Declare as functions.
876         * emulation/viper-init.el (viper-replace-overlay-cursor-color)
877         (viper-insert-state-cursor-color, viper-emacs-state-cursor-color)
878         (viper-vi-state-cursor-color):
879         Consolidate make-variable-frame-local calls.
881         * net/eudcb-bbdb.el (bbdb-address-streets): Declare as a function.
882         (eudc-bbdb-extract-addresses): Use bbdb-address-streets rather
883         than bbdb-address-street1,2,3.
885         * textmodes/reftex-toc.el (reftex-make-separate-toc-frame):
886         Try x-focus-frame before focus-frame.  Only try focus-frame on XEmacs.
888 2007-12-03  Karl Fogel  <kfogel@red-bean.com>
890         * saveplace.el (save-place-quiet): Remove, reverting 2007-12-02T19:54:46Z!kfogel@red-bean.com.
891         (save-place-alist-to-file, load-save-place-alist-from-file):
892         Don't print non-error messages at all, there's really no need.
893         Do print if there's a problem, and clarify message in that case.
895 2007-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
897         * ediff-diff.el (ediff-prepare-error-list):
898         * ediff-util.el (ediff-setup): Disable undo for ediff-error-buffer.
900 2007-12-03  Tassilo Horn  <tassilo@member.fsf.org>
902         * doc-view.el (doc-view-initiate-display): Use `doc-view-mode-p'.
903         (doc-view-current-overlay, doc-view-pending-cache-flush):
904         Add doc string.
906 2007-12-03  Richard Stallman  <rms@gnu.org>
908         * subr.el (declare-function): Move from byte-run.el.
910         * emacs-lisp/byte-run.el (declare-function): Move to subr.el
912         * window.el (recenter-top-bottom): Don't use `ecase'.
914 2007-12-02  Karl Fogel  <kfogel@red-bean.com>
916         * saveplace.el (save-place-alist-to-file):
917         Set coding-system-for-write once and refer to it throughout.
918         Suggested by David Reitter <dreitter{_AT_}inf.ed.ac.uk>.
920 2007-12-02  Karl Fogel  <kfogel@red-bean.com>
922         * saveplace.el (save-place-alist-to-file): Use `utf-8' coding
923         system when writing, and set it in the first-line file variables.
924         Suggested by David Reitter <dreitter{_AT_}inf.ed.ac.uk> and
925         Juanma Barranquero.
927 2007-12-02  Glenn Morris  <rgm@gnu.org>
929         * emacs-lisp/bytecomp.el (byte-compile-declare-function):
930         Reverse branches of if statement.
932         * emulation/viper-cmd.el (top-level): Don't require advice.
933         Don't load viper-util, viper-keym, viper-mous, viper-macs,
934         viper-ex when compiling.
936         * emulation/viper-ex.el (top-level): Don't load viper-util,
937         viper-keym when compiling.
939         * emulation/viper-init.el (top-level): Move provide statement to end.
941         * emulation/viper-keym.el (top-level): Don't load viper-util when
942         compiling.  Move provide statement to end.
944         * emulation/viper-macs.el (top-level): Don't load viper-util,
945         viper-keym, viper-mous when compiling.
947         * emulation/viper-mous.el (top-level): Don't load viper-util when
948         compiling.
950         * emulation/viper-util.el (top-level): Don't load viper-init when
951         compiling.
953         * emulation/viper.el (top-level): Don't require ring.
954         Don't load viper-init, viper-cmd when compiling.
956         * net/sasl-cram.el, net/sasl-digest.el, net/sasl-ntlm.el, net/sasl.el:
957         Move here from gnus/.
959 2007-12-02  Karl Fogel  <kfogel@red-bean.com>
961         Offer option for saveplace to be quiet about loading and saving.
962         Suggested by David Reitter <dreitter{_AT_}inf.ed.ac.uk>
964         * lisp/saveplace.el (save-place-quiet): New customizable boolean.
965         (save-place-alist-to-file, load-save-place-alist-from-file): Use it
966         to determine whether to print loading/saving messages.
968 2007-12-02  Glenn Morris  <rgm@gnu.org>
970         * mail/binhex.el: Move here from gnus/.
971         (binhex): New custom group.
972         (binhex-decoder-program, binhex-decoder-switches)
973         (binhex-use-external): Move to the binhex custom group.
975         * mail/uudecode.el: Move here from gnus/.
976         (uudecode): New custom group.
977         (uudecode-decoder-program, uudecode-decoder-switches)
978         (uudecode-use-external): Move to the uudecode custom group.
980         * net/netrc.el (top-level): Don't load `encrypt' features.
981         (netrc-parse): Don't use encrypt.
982         (netrc-find-service-name, netrc-find-service-number): Don't use caddr.
984         * progmodes/python.el (top-level): Don't require cl when compiling.
986 2007-12-02  Agust\e,Am\e(Bn Mart\e,Am\e(Bn  <agustin.martin@hispalinux.es>
988         * textmodes/flyspell.el (flyspell-large-region): Explicitly set
989         encoding for aspell process and for communication with it.
990         Only add "-d" option if not already present.
991         Use ispell-current-dictionary and ispell-current-personal-dictionary.
992         General reorganization.
994         * textmodes/ispell.el (ispell-aspell-find-dictionary): Do not set
995         encoding here.
996         (ispell-start-process): Explicitly set encoding here if using aspell.
998 2007-12-02  Dan Nicolaescu  <dann@ics.uci.edu>
1000         * pcvs.el (cvs-mode-commit, cvs-mode-edit-log): Also pass a diff
1001         function to log-edit.
1003 2007-12-02  Michael Albinus  <michael.albinus@gmx.de>
1005         * net/dbus.el: New file.
1007 2007-12-02  Jay Belanger  <jay.p.belanger@gmail.com>
1009         * calc/calc.el (calc-lang-slash-idiv, calc-lang-allow-underscores)
1010         (calc-lang-c-type-hex, calc-lang-brackets-are-subscripts)
1011         (calc-lang-parens-are-subscripts): New variables.
1012         (math-expr-special-function-mapping): Remove variable.
1013         (math-eqn-ignore-words, math-tex-ignore-words)
1014         (math-latex-ignore-words): Move to calc-lang.el.
1016         * calc/calc-lang.el (math-compose-vector, math-compose-var)
1017         (math-tex-expr-is-flat): Declare as functions.
1018         (calc-lang-slash-idiv, calc-lang-allow-underscores)
1019         (math-comp-left-bracket, math-comp-right-bracket)
1020         (math-comp-comma, math-comp-vector-prec): Declare as variables.
1021         (math-var-formatter, math-matrix-formatter)
1022         (math-lang-adjust-words, math-lang-read-symbol, math-land-read)
1023         (math-punc-table, math-compose-subscr,math-dots)
1024         (math-func-formatter): New property names to store language
1025         specific information.
1026         (math-compose-tex-var, math-compose-tex-intv)
1027         (math-compose-maple-intv, math-compose-eqn-intv)
1028         (math-compose-tex-sum, math-compose-tex-func)
1029         (math-compose-tex-intv): New functions.
1030         (math-eqn-ignore-words,math-tex-ignore-words)
1031         (math-latex-ignore-words): Move from calc.el.
1032         (math-special-function-table): Add entries for tex.
1033         (calc-lang-slash-idiv, calc-lang-allows-underscores):
1034         New variables.
1035         (math-compose-latex-frac): Rename from `math-latex-print-frac'.
1036         (math-compose-tex-matrix, math-compose-eqn-matrix)
1037         (math-eqn-special-functions): Move from calccomp.el.
1039         * calc/calccomp.el (math-compose-var): New function.
1040         (math-compose-expr): Allow more special functions to be used.
1041         Change test for formatting fractions.  Use variables and property
1042         names to help with language specific formatting.
1043         (math-compose-tex-matrix, math-compose-eqn-matrix)
1044         (math-eqn-special-functions): Move to calc-lang.el.
1045         (math-compose-rows): Use property names to help with language
1046         specific formatting.
1048         * calc/calc-aent.el (math-read-factor): Turn multiple subscripts
1049         into nested subscripts.
1050         (math-read-token): Use variables and property names to help with
1051         language specific parsing.
1052         (math-read-expression-level): Use variables to help with language
1053         specific parsing.
1055 2007-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1057         * arc-mode.el (archive-find-type): Add recognition of rar-exe format.
1058         (archive-rar-summarize): Allow the file name to be passed as argument.
1059         Remove unused vars `header' and `footer'.
1060         (archive-rar-exe-summarize, archive-rar-exe-extract): New functions.
1062 2007-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
1064         * log-edit.el (log-edit-show-diff): New function.
1065         (log-edit-mode-map, log-edit-menu): Bind it.
1066         (log-edit-diff-function): New variable.
1067         (log-edit): Change the 3rd param to be an alist and accept a
1068         function that computes a diff for the files involved.
1070         * vc.el (vc-log-edit): Add a diff function parameter to log-edit.
1072 2007-12-01  Martin Rudalics  <rudalics@gmx.at>
1074         * play/blackbox.el (bb-up, bb-down): Revert 2007-10-21 change and
1075         wrap next-/previous-line in with-no-warnings.
1077 2007-12-01  Glenn Morris  <rgm@gnu.org>
1079         * format-spec.el, hex-util.el, sha1.el: Move here from gnus/.
1081         * net/dig.el: Move here from gnus/.
1082         (dig-mode): Replace gnus-run-mode-hooks with equivalent expansion.
1084         * net/dns.el: Move here from gnus/.
1085         (top-level): Don't require mm-util, or cl when compiling.
1086         (dns-write-name, dns-read, dns-read-type, query-dns):
1087         Replace mm-with-unibyte-buffer with its expansion.
1088         (query-dns): Replace decf and ignore-errors with non-cl equivalents.
1090         * progmodes/gdb-ui.el (gud-remove, gud-break):
1091         * progmodes/gud.el (gdb-create-define-alist)
1092         (gdb-restore-windows, gdb-reset, global-hl-line-highlight)
1093         (hl-line-highlight, gdb-display-source-buffer)
1094         (gdb-display-buffer, c-langelem-sym, c-langelem-pos)
1095         (syntax-symbol, syntax-point, gdb-enqueue-input): Declare as functions.
1097 2007-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
1099         * textmodes/org-export-latex.el (org-export-latex-cleaned-string):
1100         Move args on defun line.
1102         * textmodes/org.el (org-calendar-holiday):
1103         Use calendar-check-holidays instead of the obsolete
1104         check-calendar-holidays.
1105         (add-to-diary-list, table--at-cell-p, Info-find-node, bbdb)
1106         (bbdb-company, bbdb-current-record, bbdb-name)
1107         (bbdb-record-getprop, bbdb-record-name)
1108         (bibtex-beginning-of-entry, bibtex-generate-autokey)
1109         (bibtex-parse-entry, bibtex-url, cdlatex-tab)
1110         (dired-get-filename, gnus-article-show-summary, mh-display-msg)
1111         (mh-find-path, mh-get-header-field, mh-get-msg-num)
1112         (mh-header-display, mh-index-previous-folder)
1113         (mh-normalize-folder-name, mh-search, mh-search-choose, mh-show)
1114         (mh-show-buffer-message-number, mh-show-header-display)
1115         (mh-show-msg, mh-show-show, mh-visit-folder)
1116         (org-export-latex-cleaned-string, remember)
1117         (remember-buffer-desc, rmail-narrow-to-non-pruned-header)
1118         (rmail-what-message, elmo-folder-exists-p)
1119         (elmo-message-entity-field, elmo-message-field)
1120         (vm-beginning-of-message, vm-follow-summary-cursor)
1121         (vm-get-header-contents, vm-isearch-narrow, vm-isearch-update)
1122         (vm-select-folder-buffer, vm-su-message-id, vm-su-subject)
1123         (vm-summarize, wl-folder-get-elmo-folder)
1124         (wl-summary-goto-folder-subr)
1125         (wl-summary-jump-to-msg-by-message-id, wl-summary-line-from)
1126         (wl-summary-line-subject, wl-summary-message-number)
1127         (wl-summary-redisplay): Declare as functions.
1129 2007-11-30  Martin Rudalics  <rudalics@gmx.at>
1131         * longlines.el (longlines-show-hard-newlines): Remove handling of
1132         buffer-undo-list and buffer-modified status.
1133         (longlines-show-region, longlines-unshow-hard-newlines):
1134         Handle buffer-undo-list, buffer-modified status, inhibit-read-only, and
1135         inhibit-modification-hooks here to avoid that a buffer appears
1136         modified when toggling visibility of hard newlines.
1138 2007-11-30  Glenn Morris  <rgm@gnu.org>
1140         * nxml/rng-maint.el (rng-do-some-validation): Fix declaration.
1142         * progmodes/idlw-complete-structtag.el
1143         (idlwave-sintern-structtag):
1144         * progmodes/idlw-help.el (idlwave-sintern-sysvar)
1145         (idlwave-sintern-sysvartag):
1146         * progmodes/idlwave.el (idlwave-sintern-class-tag)
1147         (idlwave-sintern-sysvar, idlwave-sintern-sysvartag): Declare as
1148         functions.
1150 2007-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
1152         * textmodes/reftex-index.el (texmathp):
1153         * textmodes/reftex-auc.el (TeX-argument-insert)
1154         (TeX-argument-prompt, multi-prompt, LaTeX-add-index-entries)
1155         (LaTeX-add-labels, LaTeX-bibitem-list, LaTeX-index-entry-list)
1156         (LaTeX-label-list):
1157         * nxml/rng-maint.el (rng-clear-cached-state, rng-clear-overlays)
1158         (rng-clear-conditional-region, rng-do-some-validation): Declare as
1159         functions.
1160         (rng-error-count, rng-validate-up-to-date-end): Pacify byte compiler.
1162 2007-11-30  Glenn Morris  <rgm@gnu.org>
1164         * emacs-lisp/byte-run.el (declare-function): Add optional fourth
1165         argument and document it.
1167         * emacs-lisp/bytecomp.el (byte-compile-declare-function):
1168         Third argument to declare-function must be a list to specify arglist.
1170         * emacs-lisp/check-declare.el (check-declare-scan): Doc fix.
1171         Handle declare-function third argument `t' and fourth argument.
1172         (check-declare-verify): Doc fix.  Handle `fileonly' case.
1173         Use progn rather than prog1.
1175         * desktop.el (uniquify-item-base):
1176         * term/mac-win.el (url-type): Declare as functions.
1178         * net/eudcb-bbdb.el (bbdb-phone-location, bbdb-record-phones)
1179         (bbdb-address-city, bbdb-address-state, bbdb-address-zip)
1180         (bbdb-address-location, bbdb-record-addresses): Pass non-nil
1181         fourth arg to declare-function.
1183         * play/dunnet.el: Don't require cl when compiling.
1184         (byte-compile-warnings): Set via file local variables.
1185         (dun-parse): Let-bind `beg' and `line'.
1187 2007-11-29  Alexandre Julliard  <julliard@winehq.org>
1189         * vc-git.el (vc-git-dir-state): Fix the git command arguments.
1191 2007-11-29  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
1193         * calendar/time-date.el (encode-time-value): Doc fix.
1195 2007-11-29  Glenn Morris  <rgm@gnu.org>
1197         * calendar/time-date.el (with-decoded-time-value): Doc fix.
1199         * textmodes/css-mode.el (prog-mode): Remove.
1200         (css-mode): Derive from fundamental-mode rather than prog-mode.
1202         * emacs-lisp/byte-run.el (declare-function): Doc fix.
1204         * emacs-lisp/check-declare.el (check-declare-locate)
1205         (check-declare-verify): Handle `external' files.
1206         (check-declare-errmsg): New function.
1207         (check-declare-verify, check-declare-file, check-declare-directory):
1208         Use check-declare-errmsg to report the number of problems.
1210         * ffap.el (w3-view-this-url)
1211         * mail/mspools.el (vm-visit-folder)
1212         * net/browse-url.el (w3-fetch-other-window, w3-fetch)
1213         * net/eudcb-bbdb.el (bbdb-phone-location, bbdb-phone-string)
1214         (bbdb-record-phones, bbdb-address-city, bbdb-address-state)
1215         (bbdb-address-zip, bbdb-address-location, bbdb-record-addresses)
1216         (bbdb-records)
1217         * net/eudc-export.el (bbdb-parse-phone-number, bbdb-string-trim)
1218         * net/imap.el (sasl-find-mechanism, sasl-mechanism-name)
1219         (sasl-make-client, sasl-next-step, sasl-step-data)
1220         (sasl-step-set-data)
1221         * net/newsticker.el (w3m-toggle-inline-image, htmlr-reset)
1222         (htmlr-step): Declare as functions.
1224         * net/eudcb-bbdb.el (eudc-bbdb-extract-addresses):
1225         Use bbdb-address-zip rather than bbdb-address-zip-string.
1227 2007-11-28  Richard Stallman  <rms@gnu.org>
1229         * md4.el, net/hmac-def.el, net/hmac-md5.el, net/ntlm.el:
1230         Move here from gnus/.
1232 2007-11-28  Martin Rudalics  <rudalics@gmx.at>
1234         * newcomment.el (comment-region-internal): Fix newline insertion
1235         in `block' case.
1237 2007-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1239         * pcvs-parse.el (cvs-parse-table): Adjust regexp for resurrections.
1241 2007-11-28  Glenn Morris  <rgm@gnu.org>
1243         * Makefile.in (maintainer-clean): Depend on bootstrap-clean to
1244         delete .elc files.
1246         * nxml/char-name/unicode: Move to etc/nxml/.
1247         * nxml/nxml-uchnm.el (top-level): Adapt for moved unicode files.
1249         * nxml/nxml-enc.el (xmltok-get-declared-encoding-position):
1250         Declare as a function.
1252         * nxml/nxml-maint.el (nxml-create-unicode-char-name-sets):
1253         * nxml/nxml-mode.el (nxml-get-char-name, nxml-insert-named-char):
1254         * nxml/xsd-regexp.el (xsdre-gen-categories): Change mapcar -> mapc.
1256         * nxml/nxml-outln.el (nxml-token-start-tag-p)
1257         (nxml-token-end-tag-p): Move definitions before use.
1259         * nxml/nxml-rap.el (nxml-prolog-regions): Declare for compiler.
1261         * nxml/nxml-uchnm.el (top-level)
1262         (nxml-enable-unicode-char-name-sets-1): Use mapc rather than mapcar.
1263         (nxml-enabled-unicode-blocks): Add custom group.
1265         * nxml/xmltok.el (xmltok-scan-char-ref, xmltok-char-number):
1266         Use string-to-number rather than string-to-int.
1268         * dired-x.el (dired-omit-old-add-entry): Declare as function.
1269         Move definition before use.
1270         (dired-old-find-buffer-nocreate): Declare as function.
1272         * emacs-lisp/check-declare.el (check-declare-locate): Reflow doc.
1273         (check-declare-verify): Handle fset.
1275         * emulation/edt.el (edt-user-emulation-setup):
1276         Test edt-setup-user-bindings is bound before calling.
1278         * emulation/tpu-edt.el: Don't require cl when compiling.
1279         (tpu-emacs-search, tpu-emacs-rev-search): Declare as functions.
1280         (tpu-edt-off): Use condition-case rather than ignore-errors.
1281         Use with-no-warnings.
1283         * eshell/esh-util.el (top-level): Use require rather than load for
1284         ange-ftp.
1286         * mail/supercite.el (sc-version): Redefine as an alias for
1287         emacs-version.
1288         (sc-help-address): Remove.
1289         (sc-version): Use emacs-version rather than sc-version.
1290         (sc-submit-bug-report): Redefine as an alias for report-emacs-bug.
1292         * net/socks.el (socks-original-open-network-stream): Declare as
1293         function.  Move definition before use.
1295 2007-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
1297         * calc/calc-ext.el (math-sqrt-raw, math-map-vec)
1298         (math-make-frac): Declare as functions.
1300 2007-11-27  Dan Nicolaescu  <dann@ics.uci.edu>
1302         * progmodes/cperl-mode.el (compilation-error-regexp-alist):
1303         Pacify byte compiler.
1304         (cperl-mode): Use with-no-warnings for setting vc-header-alist.
1306         * progmodes/idlwave.el (idlwave-shell-get-path-info)
1307         (idlwave-shell-temp-file, idlwave-shell-is-running)
1308         (widget-value, comint-dynamic-complete-filename, Info-goto-node):
1309         * progmodes/idlw-help.el (idlwave-prepare-structure-tag-completion)
1310         (idlwave-all-method-classes, idlwave-all-method-keyword-classes)
1311         (idlwave-beginning-of-statement, idlwave-best-rinfo-assoc)
1312         (idlwave-class-found-in, idlwave-class-or-superclass-with-tag)
1313         (idlwave-completing-read, idlwave-current-routine)
1314         (idlwave-downcase-safe, idlwave-entry-find-keyword)
1315         (idlwave-expand-keyword, idlwave-find-class-definition)
1316         (idlwave-find-inherited-class, idlwave-find-struct-tag)
1317         (idlwave-get-buffer-visiting, idlwave-in-quote)
1318         (idlwave-make-full-name, idlwave-members-only)
1319         (idlwave-popup-select, idlwave-routine-source-file)
1320         (idlwave-routines, idlwave-sintern-class)
1321         (idlwave-sintern-keyword, idlwave-sintern-method)
1322         (idlwave-sintern-routine-or-method)
1323         (idlwave-substitute-link-target, idlwave-sys-dir)
1324         (idlwave-this-word, idlwave-what-module-find-class)
1325         (idlwave-where):
1326         * progmodes/idlw-complete-structtag.el (idlwave-shell-buffer):
1327         * mail/uce.el (rmail-msg-is-pruned)
1328         (rmail-maybe-set-message-counters, rmail-msgbeg, rmail-msgend)
1329         (rmail-toggle-header):
1330         * mail/sendmail.el (dired-view-file, dired-get-filename):
1331         * mail/rmailkwd.el (rmail-maybe-set-message-counters)
1332         (rmail-display-labels, rmail-msgbeg)
1333         (rmail-set-message-deleted-p, rmail-message-labels-p)
1334         (rmail-show-message, mail-comma-list-regexp)
1335         (mail-parse-comma-list):
1336         * mail/rmail.el (rmail-spam-filter, rmail-summary-goto-msg)
1337         (rmail-summary-mark-undeleted, rmail-summary-mark-deleted)
1338         (rfc822-addresses, mail-abbrev-make-syntax-table)
1339         (mail-sendmail-delimit-header, mail-header-end):
1340         * mail/hashcash.el (message-narrow-to-headers-or-head)
1341         (message-fetch-field, message-goto-eoh)
1342         (message-narrow-to-headers):
1343         * vc.el (view-mode-exit): Declare as functions.
1345         * mail/vms-pmail.el:
1346         * vmsproc.el:
1347         * vms-patch.el: Don't byte compile these files, they don't work.
1349 2007-11-27  Glenn Morris  <rgm@gnu.org>
1351         * calc/calc-ext.el (math-read-big-rec):
1352         * calc/calc-nlfit.el (math-map-binop):
1353         * calc/calc.el (math-normalize-nonstandard): Fix declarations.
1355         * eshell/eshell.el (eshell-report-bug): Add version number of
1356         obsolescence.
1358         * emulation/viper.el, emulation/viper-util.el,
1359         emulation/viper-macs.el, emulation/viper-keym.el,
1360         emulation/viper-ex.el, emulation/viper-cmd.el:
1361         Load viper-*.el files silently.
1363         * ediff-diff.el, ediff-help.el, ediff-merg.el, ediff-mult.el,
1364         ediff-ptch.el, ediff-util.el, ediff-vers.el, ediff-wind.el, ediff.el:
1365         Load ediff-*.el files silently.
1367         * ediff.el: Load dired silently.  Don't load info, pcl-cvs when
1368         compiling.
1369         (Info-goto-node): Declare as a function.
1371         * ediff-init.el: Don't load ange-ftp when compiling.
1372         * ediff-util.el: Don't load reporter when compiling.
1374         * ediff-wind.el (ediff-display-pixel-width)
1375         (ediff-display-pixel-height):
1376         * generic-x.el (ini-generic-mode):
1377         * ps-print.el (ps-mule-encode-header-string, ps-mule-begin-page)
1378         (ps-mule-prepare-ascii-font, ps-mule-set-ascii-font)
1379         (ps-mule-initialize, ps-mule-begin-job):
1380         * calendar/cal-bahai.el (add-to-diary-list, diary-name-pattern)
1381         (mark-calendar-days-named):
1382         * calendar/cal-hebrew.el (holiday-filter-visible-calendar)
1383         (add-to-diary-list, diary-name-pattern)
1384         (mark-calendar-days-named):
1385         * calendar/cal-islam.el (add-to-diary-list, diary-name-pattern)
1386         (mark-calendar-days-named):
1387         * calendar/cal-x.el (make-fancy-diary-buffer):
1388         * calendar/holidays.el (calendar-absolute-from-julian):
1389         * calendar/todo-mode.el (calendar-current-date):
1390         * calendar/cal-menu.el (calendar-increment-month)
1391         (calendar-month-name, extract-calendar-year)
1392         (calendar-cursor-to-date, holiday-list, calendar-sunrise-sunset)
1393         (calendar-current-date, calendar-cursor-holidays)
1394         (calendar-date-string, insert-diary-entry, calendar-set-mark)
1395         (cal-tex-cursor-day, cal-tex-cursor-week, cal-tex-cursor-week2)
1396         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1397         (cal-tex-cursor-filofax-daily, cal-tex-cursor-filofax-2week)
1398         (cal-tex-cursor-filofax-week, cal-tex-cursor-month)
1399         (cal-tex-cursor-month-landscape, cal-tex-cursor-year)
1400         (cal-tex-cursor-filofax-year, cal-tex-cursor-year-landscape)
1401         (calendar-day-of-year-string, calendar-iso-date-string)
1402         (calendar-julian-date-string, calendar-astro-date-string)
1403         (calendar-absolute-from-gregorian, calendar-hebrew-date-string)
1404         (calendar-persian-date-string, calendar-bahai-date-string)
1405         (calendar-islamic-date-string, calendar-chinese-date-string)
1406         (calendar-coptic-date-string, calendar-ethiopic-date-string)
1407         (calendar-french-date-string, calendar-mayan-date-string)
1408         (calendar-print-chinese-date, calendar-goto-date):
1409         Declare as functions.
1411         * calendar/calendar.el (nongregorian-diary-listing-hook): Doc fix.
1412         (Info-find-emacs-command-nodes, Info-find-node): Declare as functions.
1414         * ffap.el (ffap-bug, ffap-submit-bug): Redefine as obsolete
1415         aliases for report-emacs-bug.
1416         (gnus-summary-select-article, gnus-configure-windows): Declare as
1417         functions.
1419         * pgg-parse.el (pgg-parse-24, pgg-parse-crc24-string): Declare for
1420         compiler.
1422         * pgg.el (pgg-clear-string): Declare as a function.
1423         (pgg-run-at-time-1): Wrap whole definition in (featurep 'xemacs) test.
1424         (pgg-run-at-time, pgg-cancel-timer): Move definitions before use.
1426         * emacs-lisp/check-declare.el (check-declare-locate):
1427         Handle compressed files.
1428         (check-declare-verify): Handle define-generic-mode,
1429         define-global(ized)-minor-mode, define-obsolete-function-alias.
1431 2007-11-27  Jay Belanger  <jay.p.belanger@gmail.com>
1433         * calc/calc-menu.el (calc-modes-menu): Add normal and incomplete
1434         algebraic modes.
1436         * calc/calc-aent.el (calc-refresh-evaltos, calc-execute-kbd-macro)
1437         (math-is-true, calc-explain-why, calc-alg-edit)
1438         (math-composite-inequalities, math-flatten-lands)
1439         (math-multi-subst, calcFunc-vmatches, math-simplify)
1440         (math-known-matrixp, math-parse-fortran-subscr, math-to-radians-2)
1441         (math-read-string, math-read-brackets, math-read-angle-brackets):
1442         Declare as functions.
1444         * calc/calcalg3.el (calc-fit-s-shaped-logistic-curve)
1445         (calc-fit-bell-shaped-logistic-curve)
1446         (calc-fit-hubbert-linear-curve, calc-graph-add-curve)
1447         (calc-graph-lookup, calc-graph-set-styles, math-min-list)
1448         (math-max-list): Declare as functions.
1449         (math-map-binop): New function.
1450         (calc-curve-fit): Replace `mapcar*' by `math-map-binop'.
1452         * calc/calc.el (calc-set-language, calc-edit-finish)
1453         (calc-edit-cancel, calc-do-quick-calc, calc-do-calc-eval)
1454         (calc-do-keypad, calcFunc-unixtime, math-parse-date)
1455         (math-lessp, calc-embedded-finish-command)
1456         (calc-embedded-select-buffer, calc-embedded-mode-line-change)
1457         (calc-push-list-in-macro, calc-replace-selections)
1458         (calc-record-list, calc-normalize-fancy, calc-do-handle-whys)
1459         (calc-top-selected, calc-sel-error, calc-pop-stack-in-macro)
1460         (calc-embedded-stack-change, calc-refresh-evaltos)
1461         (calc-do-refresh, calc-binary-op-fancy, calc-unary-op-fancy)
1462         (calc-delete-selection, calc-alg-digit-entry, calc-alg-entry)
1463         (calc-dots, calc-temp-minibuffer-message, math-read-radix-digit)
1464         (calc-digit-dots, math-normalize-fancy, math-normalize-nonstandard)
1465         (math-recompile-eval-rules, math-apply-rewrites, calc-record-why)
1466         (math-dimension-error, calc-incomplete-error, math-float-fancy)
1467         (math-neg-fancy, math-zerop, calc-add-fractions)
1468         (math-add-objects-fancy, math-add-symb-fancy, math-mul-zero)
1469         (calc-mul-fractions, math-mul-objects-fancy, math-mul-symb-fancy)
1470         (math-reject-arg, math-div-by-zero, math-div-zero, math-make-frac)
1471         (calc-div-fractions, math-div-objects-fancy, math-div-symb-fancy)
1472         (math-compose-expr, math-comp-width, math-composition-to-string)
1473         (math-stack-value-offset-fancy, math-format-flat-expr-fancy)
1474         (math-adjust-fraction, math-format-binary, math-format-radix)
1475         (math-group-float, math-mod, math-format-number-fancy)
1476         (math-format-bignum-fancy, math-read-number-fancy)
1477         (calc-do-grab-region, calc-do-grab-rectangle, calc-do-embedded)
1478         (calc-do-embedded-activate, math-do-defmath)
1479         (calc-load-everything): Declare as functions.
1481         * calc/calc-ext.el (math-clip, math-round, math-simplify)
1482         (math-simplify-extended, math-simplify-units, calc-set-language)
1483         (calc-flush-caches, calc-save-modes, calc-embedded-modes-change)
1484         (calc-embedded-var-change, math-mul-float, math-arctan-raw)
1485         (math-sqrt-float, math-exp-minus-1-raw, math-normalize-polar)
1486         (math-normalize-hms, math-normalize-mod, math-make-sdev)
1487         (math-make-intv, math-normalize-logical-op, math-possible-signs)
1488         (math-infinite-dir, math-calcFunc-to-var)
1489         (calc-embedded-evaluate-expr, math-known-nonzerop)
1490         (math-read-expr-level, math-read-big-rec, math-read-big-balance)
1491         (math-format-date, math-vector-is-string, math-vector-to-string)
1492         (math-format-radix-float, math-compose-expr, math-abs)
1493         (math-format-bignum-binary, math-format-bignum-octal)
1494         (math-format-bignum-hex, math-format-bignum-radix)
1495         (math-compute-max-digits): Declare as functions.
1496         (math-provably-realp): Fix typo.
1498         * calc/calc-forms.el (calendar-current-time-zone)
1499         (calendar-absolute-from-gregorian, dst-in-effect): Declare as
1500         functions.
1502         * calc/calc-help.el (Info-goto-node, Info-last): Declare as functions.
1504         * calc/calc-lang.el (math-read-factor, math-read-expr-level):
1505         Declare as functions.
1507         * calc/calc-macs.el (math-zerop, math-negp, math-looks-negp)
1508         (math-posp, math-compare, math-bignum, math-compare-bignum):
1509         Declare as functions.
1511         * calc/calc-misc.el (calc-do-keypad, calc-inv-hyp-prefix-help)
1512         (calc-inverse-prefix-help, calc-hyperbolic-prefix-help)
1513         (calc-explain-why, calc-clear-command-flag)
1514         (calc-roll-down-with-selections, calc-roll-up-with-selections)
1515         (calc-last-args, calc-is-inverse, calc-do-prefix-help)
1516         (math-objvecp, math-known-scalarp, math-vectorp, math-matrixp)
1517         (math-trunc-special, math-trunc-fancy, math-floor-special)
1518         (math-floor-fancy, math-square-matrixp, math-matrix-inv-raw)
1519         (math-known-matrixp, math-mod-fancy, math-pow-of-zero)
1520         (math-pow-zero, math-pow-fancy): Declare as functions.
1522         * calc/calc-mode.el (calc-embedded-save-original-modes):
1523         Declare as a function.
1525         * calc/calc-nlfit.el (calc-get-fit-variables, math-map-binop):
1526         Declare as functions.
1527         (math-nlfit-make-matrix, math-nlfit-find-qmax, math-nlfit-fit)
1528         (math-nlfit-fit-curve, calc-fit-hubbert-linear-curve):
1529         Replace `mapcar*' by `math-map-binop'.
1530         (math-nlfit-make-matrix): Replace `copy-list' with `copy-sequence'.
1532         * calc/calc-prog.el (edmacro-format-keys,edmacro-parse-keys)
1533         (math-read-expr-level): Declare as functions.
1535         * calc/calc-vec.el (math-read-expr-level): Declare as a function.
1537 2007-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1539         * emacs-lisp/lisp.el (end-of-defun): Restructure so that
1540         end-of-defun-function is called consistently, even for negative
1541         arguments.
1542         (end-of-defun-function): Default to forward-sexp.
1544 2007-11-26  Juanma Barranquero  <lekktu@gmail.com>
1546         * emacs-lisp/bytecomp.el (batch-byte-recompile-directory): Doc fix.
1548 2007-11-26  Glenn Morris  <rgm@gnu.org>
1550         * calendar/cal-menu.el (cal-menu-holidays-menu): Use :label rather
1551         than :suffix.
1553         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix.
1555 2007-11-26  Simon Josefsson  <simon@josefsson.org>
1557         * net/imap.el: Move from ../gnus.
1559 2007-11-25  Reiner Steib  <Reiner.Steib@gmx.de>
1561         * doc-view.el (doc-view-mode-p): New function.
1563 2007-11-25  Dan Nicolaescu  <dann@ics.uci.edu>
1565         * mail/mspools.el (rmail-get-new-mail):
1566         * mail/reporter.el (mail-position-on-field, mail-text):
1567         * mail/rmail.el (mail-position-on-field, mail-text-start)
1568         (rmail-update-summary):
1569         * mail/rmailedit.el (rmail-summary-disable, rmail-summary-enable):
1570         * mail/rmailmsc.el (rmail-parse-file-inboxes, rmail-show-message):
1571         * mail/rmailout.el (rmail-update-summary):
1572         * mail/rmailsort.el (rmail-update-summary):
1573         * mail/sendmail.el (dired-move-to-filename, dired-get-filename)
1574         (dired-view-file):
1575         * mail/uce.el (mail-strip-quoted-names):
1576         * mail/undigest.el (rmail-update-summary):
1577         * mail/unrmail.el (mail-strip-quoted-names):
1578         * ediff.el (diff-latest-backup-file): Declare as functions.
1580         * obsolete/mlsupport.el (ml-previous-page): Fix typo.
1581         (kill-to-end-of-line):
1582         * obsolete/rnews.el (news-set-minor-modes):
1583         Remove non working functions.
1585 2007-11-25  Glenn Morris  <rgm@gnu.org>
1587         * eshell/esh-maint.el (top-level): Use require with NOERROR for
1588         pcomplete.  Don't mess with load-path.
1590         * eshell/eshell.el (eshell-report-bug-address): Remove.
1591         (eshell-report-bug): Redefine as an alias for report-emacs-bug.
1593 2007-11-24  Glenn Morris  <rgm@gnu.org>
1595         * calendar/appt.el: Remove leading `*' from defcustom doc-strings.
1596         (appt-disp-window): Don't require electric.
1597         Simplify minibuffer-avoidance code.
1598         (appt-select-lowest-window): Avoid minibuffer.
1600         * eshell/eshell.el: Remove leading `*' from defcustom doc-strings.
1601         (esh-mode): Require it.
1602         (esh-util): Use require rather than featurep and load.
1603         (eshell): No need to test if eshell-mode is bound; remove obsolete
1604         reference to eshell-auto.
1605         (eshell-command, eshell-command-result): Don't require esh-mode
1606         now that the file does.
1607         (top-level): Move provide statement to the end of the file.
1608         Re-order and update commentary.
1610 2007-11-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
1612         * vc.el (vc-annotate-mode): Frob buffer invisibility spec.
1613         (vc-annotate-toggle-annotation-visibility): New command.
1614         (vc-annotate-mode-map): Bind "V" to it.
1615         (vc-annotate-mode-menu): Add entry for it.
1616         (vc-annotate-get-time-set-line-props): New func.
1617         (vc-annotate-display-autoscale)
1618         (vc-annotate-display-difference): Use it.
1620         * vc-git.el (vc-git-annotate-time): Handle optional field FILENAME.
1621         Also, match one space at end of annotation text, after last paren.
1623 2007-11-24  Michael Albinus  <michael.albinus@gmx.de>
1625         * ido.el (ido-file-name-all-completions-1): Check for fboundp of
1626         `tramp-completion-mode-p' as it is in Tramp 2.1.  Let-bind
1627         `tramp-completion-mode'.
1629 2007-11-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
1631         * vc-git.el (vc-git-show-log-entry): New func.
1633         * vc-git.el (vc-git--call, vc-git--out-ok): New funcs.
1634         (vc-git-state): Use vc-git--call.
1635         (vc-git-registered, vc-git-working-revision)
1636         (vc-git-previous-revision, vc-git-next-revision)
1637         (vc-git--run-command-string, vc-git-symbolic-commit):
1638         Use vc-git--out-ok.
1640 2007-11-24  Glenn Morris  <rgm@gnu.org>
1642         * emacs-lisp/byte-run.el (declare-function): Doc fix.
1644 2007-11-24  Kenichi Handa  <handa@m17n.org>
1646         * international/ucs-tables.el (ucs-8859-7-alist): Update the table.
1648 2007-11-23  David Kastrup  <dak@gnu.org>
1650         * server.el (server-process-filter): Use `command-line-args-left'.
1652 2007-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1654         * nxml/subdirs.el, nxml/char-data/subdirs.el, nxml/rng-auto.el: Remove.
1656 2007-11-23  Dan Nicolaescu  <dann@ics.uci.edu>
1658         * vc.el (vc-deduce-fileset): Also look for a fileset in the parent
1659         buffer if the parent buffer is in vc-dired-mode.
1661 2007-11-23  Mark A. Hershberger  <mah@everybody.org>
1663         * nxml: Initial merge of nxml.  Kept nxml/char-name subdir for now.
1665 2007-11-23  Juri Linkov  <juri@jurta.org>
1667         * dired.el (dired-read-dir-and-switches): For C-x d, set the
1668         value for M-n to the visited file name of the current buffer.
1669         Use minibuffer-with-setup-hook to set minibuffer-default to
1670         buffer-file-name inside read-file-name.
1672         * man.el (Man-getpage-in-background): Don't disregard user option
1673         `Man-width' on non-window systems.  Remove test for `window-system'
1674         around setting envvar "COLUMNS" depending on the value of `Man-width'.
1676         * progmodes/grep.el (grep-process-setup): Set envvar "TERM" to
1677         "emacs-grep".  Set envvar "GREP_OPTIONS" to "--color=auto" instead
1678         of "--color=always".
1680 2007-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1682         * emacs-lisp/lisp.el (beginning-of-defun-raw): Pass `arg' down to
1683         beginning-of-defun-function.
1685 2007-11-22  Reiner Steib  <Reiner.Steib@gmx.de>
1687         * mail/hashcash.el: Move from ../gnus.  Add hashcash payments to email.
1689 2007-11-22  Glenn Morris  <rgm@gnu.org>
1691         * emulation/cua-base.el (x-clipboard-yank): Fix declaration.
1693         * emacs-lisp/check-declare.el (check-declare-locate): New function.
1694         (check-declare-scan): Use check-declare-locate.
1695         (check-declare-verify): No longer adjust fnfile, now
1696         check-declare-locate does it.
1698         * emacs-lisp/byte-run.el (declare-function): Doc fix.
1700 2007-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1702         * subr.el (posn-col-row): Make the `default-value' use explicit.
1704         * window.el (balance-windows): Remove unused var `counter'.
1705         (bw-balance-sub): Remove unused var `lastchild'.
1706         (split-window-vertically): Remove unused var `switch'.
1707         (recenter-top-bottom): Remove unused vars `bottom', `current', `total'.
1709         * emacs-lisp/bytecomp.el
1710         (byte-compile-file-form-custom-declare-variable): Simplify.
1712 2007-11-22  Juanma Barranquero  <lekktu@gmail.com>
1714         * cus-edit.el (custom-mode): Define with `define-derived-mode'.
1715         Set `show-trailing-whitespace' to nil.
1717         * dired.el (make-symbolic-link):
1718         * dired-aux.el (mailcap-parse-mailcaps, mailcap-parse-mimetypes)
1719         (mailcap-extension-to-mime, mailcap-mime-info, make-symbolic-link):
1720         * dired-x.el (make-symbolic-link):
1721         * frame.el (x-initialize-window-system):
1722         * menu-bar.el (x-menu-bar-open):
1723         * select.el (x-get-cut-buffer-internal, x-rotate-cut-buffers-internal)
1724         (x-store-cut-buffer-internal):
1725         * wdired.el (make-symbolic-link):
1726         * x-dnd.el (x-register-dnd-atom, x-get-atom-name)
1727         (x-send-client-message):
1728         * emulation/cua-base.el (x-clipboard-yank): Declare as functions.
1730 2007-11-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
1732         * term/x-win.el (x-gtk-map-stock): Check if FILE is a string.
1734 2007-11-22  Glenn Morris  <rgm@gnu.org>
1736         * dos-fns.el (int86):
1737         * term/mac-win.el (mac-font-panel-mode): Fix declarations.
1739         * calendar/cal-menu.el (cal-menu-holidays-menu): Fix holiday-list call.
1741         * calendar/holidays.el (holiday-list): Add autoload cookie.
1743         * emacs-lisp/check-declare.el (check-declare-scan): Expand .c
1744         files relative to src/ directory.
1745         (check-declare-verify): Handle .c files.  Warn if could not find
1746         an arglist to check.
1748         * emacs-lisp/byte-run.el (declare-function): Doc fix.
1750 2007-11-22  Dan Nicolaescu  <dann@ics.uci.edu>
1752         * replace.el (occur-mode-map): Add a major mode menu with entries
1753         for all occur operations.
1755         * international/titdic-cnv.el (dos-8+3-filename):
1756         * obsolete/fast-lock.el (msdos-long-file-names):
1757         * frame.el (msdos-mouse-p):
1758         * files.el (msdos-long-file-names, w32-long-file-name):
1759         * term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
1760         (mac-resume-apple-event, mac-font-panel-mode)
1761         (mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
1762         (mac-clear-font-name-table):
1763         * term/pc-win.el (msdos-remember-default-colors)
1764         (w16-set-clipboard-data, w16-get-clipboard-data):
1765         * term/w32-win.el (w32-send-sys-command, w32-select-font)
1766         (set-message-beep):
1767         * net/browse-url.el (w32-shell-execute):
1768         * w32-fns.el (set-message-beep, w32-get-clipboard-data)
1769         (w32-get-locale-info, w32-get-valid-locale-ids)
1770         (w32-set-clipboard-data):
1771         * dos-fns.el (int86, msdos-long-file-names):
1772         * dos-w32.el (default-printer-name): Declare as functions.
1774 2007-11-21  Jason Rumney  <jasonr@gnu.org>
1776         * emacs-lisp/byte-run.el (declare-function): Return nil.
1778 2007-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1780         * progmodes/sh-script.el (sh-mode): Set defun-prompt-regexp.
1782 2007-11-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1784         * ps-print.el (ps-lpr-switches): Docstring fix.
1785         (ps-string-list): New fun.
1786         (ps-do-despool): Code fix.
1788 2007-11-21  Juanma Barranquero  <lekktu@gmail.com>
1790         * w32-fns.el: Undo 2007-11-21 change by Dan Nicolaescu.
1792 2007-11-21  Glenn Morris  <rgm@gnu.org>
1794         * emacs-lisp/check-declare.el (check-declare-verify): Skip C files
1795         for now.  Handle define-minor-mode, and defalias (with no argument
1796         checking).
1798 2007-11-21  Dan Nicolaescu  <dann@ics.uci.edu>
1800         * frame.el (msdos-mouse-p):
1801         * files.el (msdos-long-file-names, w32-long-file-name):
1802         * term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
1803         (mac-resume-apple-event, mac-font-panel-mode)
1804         (mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
1805         (mac-clear-font-name-table):
1806         * term/pc-win.el (msdos-remember-default-colors)
1807         (w16-set-clipboard-data, w16-get-clipboard-data):
1808         * term/w32-win.el (w32-send-sys-command, w32-select-font)
1809         (set-message-beep):
1810         * net/browse-url.el (w32-shell-execute):
1811         * dos-fns.el (int86, msdos-long-file-names):
1812         * dos-w32.el (default-printer-name): Undo previous change.
1814 2007-11-21  Eli Zaretskii  <eliz@gnu.org>
1816         * international/mule-cmds.el (set-locale-environment):
1817         Set default-file-name-coding-system _after_ keyboard and terminal
1818         coding systems.  This fixes last change.
1820         * mail/rmail.el (rmail-current-subject-regexp): Allow more than
1821         one space after "Subject:".
1823 2007-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1825         * pcvs-parse.el (cvs-parse-table): Ignore errors when looking up files
1826         in order to determine if there's a conflict.
1828 2007-11-21  Richard Stallman  <rms@gnu.org>
1830         * bindings.el (esc-map): Bind C-M-l here; moved from reposition.el.
1832         * reposition.el (reposition-window):
1833         Binding C-M-l moved to bindings.el.
1835         * bindings.el (ctl-x-4-map): Bind C-x 4 a here; moved from add-log.el.
1837         * add-log.el (add-change-log-entry-other-window):
1838         Key binding C-x 4 a moved to bindings.el.
1840         * bindings.el (minibuffer-local-map): Bind C-tab here; moved
1841         from filecache.el.
1843         * filecache.el: Minibuffer map bindings moved to bindings.el.
1845 2007-11-21  Jason Rumney  <jasonr@gnu.org>
1847         * international/mule-cmds.el (set-locale-environment):
1848         Set default-file-name-coding-system from system defaults on Windows.
1850 2007-11-21  Jason Rumney  <jasonr@gnu.org>
1852         * term/w32console.el: New term init file for w32 console.
1854         * w32-fns.el (x-alternatives-map): Copy from term/x-win.el.
1855         (x-setup-function-keys): Likewise, replacing top-level key definitions.
1856         (w32-tty-standard-colors): Move to term/w32console.el.
1858         * term/w32-win.el (x-setup-function-keys): Remove.
1860         * term/tty-colors.el (tty-register-default-colors): Remove special
1861         case for w32.
1863 2007-11-21  Dan Nicolaescu  <dann@ics.uci.edu>
1865         * frame.el (msdos-mouse-p):
1866         * generic-x.el (w32-shell-name):
1867         * files.el (msdos-long-file-names, w32-long-file-name)
1868         (dired-get-filename, dired-unmark, dired-do-flagged-delete)
1869         (dos-8+3-filename, vms-read-directory, view-mode-disable):
1870         * term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
1871         (mac-resume-apple-event, mac-font-panel-mode)
1872         (mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
1873         (mac-clear-font-name-table):
1874         * term/pc-win.el (msdos-remember-default-colors)
1875         (w16-set-clipboard-data, w16-get-clipboard-data):
1876         * term/w32-win.el (w32-send-sys-command, w32-select-font)
1877         (set-message-beep):
1878         * w32-fns.el (set-message-beep, w32-get-clipboard-data)
1879         (w32-get-locale-info, w32-get-valid-locale-ids)
1880         (w32-set-clipboard-data):
1881         * help-fns.el (ad-get-advice-info):
1882         * font-lock.el (fast-lock-after-fontify-buffer)
1883         (fast-lock-after-unfontify-buffer, fast-lock-mode)
1884         (lazy-lock-after-fontify-buffer)
1885         (lazy-lock-after-unfontify-buffer, lazy-lock-mode):
1886         * net/browse-url.el (w32-shell-execute):
1887         * dos-fns.el (int86, msdos-long-file-names):
1888         * dos-w32.el (default-printer-name): Declare as functions.
1890 2007-11-21  Juanma Barranquero  <lekktu@gmail.com>
1892         * textmodes/paragraphs.el (forward-sentence): Doc fix.
1893         Reported by Drew Adams <drew.adams@oracle.com>.
1895 2007-11-20  Jason Rumney  <jasonr@gnu.org>
1897         * term/w32-win.el (x-setup-function-keys): Protect against
1898         multiple calls on the same terminal.
1900 2007-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
1902         * term/mac-win.el (x-setup-function-keys): Only setup
1903         local-function-key-map if it has not been setup already for the
1904         current frame.  Move the suspend-emacs processing here.
1906 2007-11-20  Juanma Barranquero  <lekktu@gmail.com>
1908         * progmodes/grep.el (xargs-program): New variable.
1909         (grep-compute-defaults): Use it.
1910         (grep-default-command): Doc fix.
1911         (grep, lgrep, rgrep): Reflow docstrings.
1913 2007-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
1915         * vc.el (vc-find-revision): Set the parent buffer.
1916         Use when instead of if.
1918         * progmodes/python.el (info-lookup-maybe-add-help):
1919         * progmodes/ps-mode.el (doc-view-minor-mode):
1920         * mail/emacsbug.el (Info-menu, Info-goto-node):
1921         * emulation/viper-keym.el (viper-ex)
1922         (viper-normalize-minor-mode-map-alist, viper-set-mode-vars-for):
1923         * emulation/viper-cmd.el (widget-type, widget-button-press)
1924         (viper-set-hooks):
1925         * emacs-lisp/tcover-unsafep.el (unsafep-function):
1926         * emacs-lisp/tcover-ses.el (ses-set-curcell, ses-update-cells)
1927         (ses-load, ses-vector-delete, ses-create-header-string)
1928         (ses-read-cell, ses-read-symbol, ses-command-hook, ses-jump):
1929         * emacs-lisp/gulp.el (mail-subject, mail-send): Declare as functions.
1931 2007-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1933         * pcvs.el (cvs-revert-if-needed): Fix copy&paste typo.
1935 2007-11-20  Glenn Morris  <rgm@gnu.org>
1937         * emacs-lisp/check-declare.el (check-declare-verify): Tweak regexp
1938         for end of function-name.  Handle define-derived-mode.
1940 2007-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
1942         * progmodes/idlw-help.el: Require browse-url unconditionally, it
1943         is available by default.
1944         (idlwave-help-browse-url-available): Change default to t.
1946         * emulation/edt.el (defgroup, defcustom): Remove definition.
1947         (eval-when-compile): Remove.
1948         (c-mark-function):
1949         * textmodes/reftex-dcr.el (bibtex-beginning-of-entry):
1950         * textmodes/fill.el (comment-search-forward)
1951         (comment-string-strip):
1952         * progmodes/prolog.el (comint-mode, comint-send-string)
1953         (comint-send-region, comint-send-eof):
1954         * progmodes/dcl-mode.el (imenu-default-create-index-function):
1955         * emulation/viper-util.el (viper-forward-Word):
1956         * emulation/vi.el (c-mark-function):
1957         * emulation/edt-vt100.el (vt100-wide-mode):
1958         * emacs-lisp/timer.el (diary-entry-time): Declare as functions.
1960 2007-11-19  Michael Albinus  <michael.albinus@gmx.de>
1962         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
1963         Still some tuning in case of an echoing shell.
1964         (tramp-send-command): Connection property "remote-echo" is not
1965         persistent; cache key is the process therefore.
1967 2007-11-19  Juanma Barranquero  <lekktu@gmail.com>
1969         * replace.el (map-query-replace-regexp): Doc fix (revert part of
1970         2000-05-21T17:04:47Z!fx@gnu.org made on 2000-05-21 with no ChangeLog entry).
1972 2007-11-19  Dan Nicolaescu  <dann@ics.uci.edu>
1974         * progmodes/octave-mod.el (inferior-octave-send-list-and-digest):
1975         * play/yow.el (doctor-ret-or-read):
1976         * vc-hooks.el (vc-dired-resynch-file):
1977         * vc-hg.el (log-view-get-marked):
1978         * smerge-mode.el (ediff-cleanup-mess):
1979         * pcvs.el (vc-editable-p, vc-checkout):
1980         * pcomplete.el (comint-bol):
1981         * informat.el (texinfo-format-refill):
1982         * ido.el (tramp-tramp-file-p):
1983         * ibuffer.el (ibuffer-mark-on-buffer, ibuffer-format-qualifier)
1984         (ibuffer-generate-filter-groups, ibuffer-format-filter-group-data):
1985         * add-log.el (c-beginning-of-defun, c-end-of-defun): Declare as
1986         functions.
1988         * textmodes/ispell.el (ispell-int-char): Make it a defalias
1989         instead of fset.
1990         (ispell-message): Use with-no-warnings for sc-cite-regexp call.
1992         * ido.el (ido-file-internal): Move with-no-warnings to include the
1993         ffap-string-at-point call.
1995         * pcomplete.el (pcomplete-executables): Move defsubst before first use.
1997         * vc-hg.el (vc-hg-revision-table): Fix last change.
1999 2007-11-19  Martin Rudalics  <rudalics@gmx.at>
2001         * menu-bar.el (top-level): Deactivate clipboard-kill-region and
2002         clipboard-yank when the buffer is read-only.
2004         * cus-edit.el (custom-field-keymap): Move to other Custom mode
2005         keymaps such that it's before the definition of Custom-mode-menu.
2006         (Custom-mode-menu): Show it for custom-field-keymap too.
2008 2007-11-19  Nick Roberts  <nickrob@snap.net.nz>
2010         * progmodes/gdb-ui.el: Update commentary.
2012 2007-11-18  Dan Nicolaescu  <dann@ics.uci.edu>
2014         * net/tramp.el (tramp-terminal-type): Remove duplicated definition.
2016 2007-11-19  Glenn Morris  <rgm@gnu.org>
2018         * emacs-lisp/check-declare.el (check-declare-verify): If fnfile
2019         does not exist, try adding `.el' extension.  Also search for defsubsts.
2021         * cus-edit.el (recentf-expand-file-name):
2022         * dired.el (dired-relist-entry):
2023         * subr.el (w32-shell-dos-semantics):
2024         * emacs-lisp/bytecomp.el (compilation-forget-errors):
2025         Declare as functions.
2027 2007-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2029         * abbrev.el (kill-all-abbrevs, insert-abbrevs)
2030         (prepare-abbrev-list-buffer): Use dolist.
2031         (clear-abbrev-table): Preserve properties.
2033 2007-11-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>  (tiny change)
2035         * textmodes/texinfmt.el (texinfo-format-printindex):
2036         Collect combined indexes using texinfo-short-index-format-cmds-alist.
2037         Reported on <bug-texinfo@gnu.org>.
2039 2007-11-18  Michael Albinus  <michael.albinus@gmx.de>
2041         * net/tramp.el (tramp-completion-reread-directory-timeout):
2042         New defcustom.
2043         (tramp-handle-file-name-all-completions): Flush directory contents
2044         from cache regularly.
2045         (tramp-set-auto-save-file-modes): Check also for `buffer-modified-p'.
2046         (tramp-open-connection-setup-interactive-shell):
2047         Call `tramp-cleanup-connection' via funcall.
2049         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Temp file is already
2050         created when copying.
2052 2007-11-17  Dan Nicolaescu  <dann@ics.uci.edu>
2054         * eshell/esh-util.el (eshell-under-xemacs-p): Remove.
2055         * eshell/esh-mode.el (eshell-mode-syntax-table, command-running-p):
2056         * eshell/esh-ext.el (eshell-external-command):
2057         * eshell/esh-cmd.el (require):
2058         * eshell/em-unix.el (eshell-plain-locate-behavior):
2059         * eshell/em-cmpl.el (eshell-cmpl-initialize):
2060         Replace eshell-under-xemacs-p with (featurep 'xemacs).
2061         * eshell/esh-mode.el (characterp, char-int): Remove unused
2062         conditional defaliases.
2064         * pcomplete.el (pcomplete-event-matches-key-specifier-p):
2065         Rename from event-matches-key-specifier-p, define unconditionally.
2066         (event-basic-type): Remove unused defalias.
2067         (pcomplete-show-completions):
2068         Use pcomplete-event-matches-key-specifier-p.
2070 2007-11-17  Eli Zaretskii  <eliz@gnu.org>
2072         * eshell/esh-module.el (eshell-load-defgroups): Don't make backups
2073         when saving esh-groups.el.
2075 2007-11-17  Martin Rudalics  <rudalics@gmx.at>
2077         * wid-edit.el (widget-default-complete):
2078         * progmodes/flymake.el (flymake-goto-file-and-line):
2079         Fix typo in (doc-)string.
2081 2007-11-17  Glenn Morris  <rgm@gnu.org>
2083         * emacs-lisp/byte-run.el (declare-function): New macro.
2084         * emacs-lisp/bytecomp.el (byte-compile-declare-function):
2085         New function, byte-hunk-handler for declare-function.
2086         (byte-compile-callargs-warn): Handle declared functions.
2088         * emacs-lisp/check-declare.el: New file.
2089         * Makefile.in (check-declare): New target.
2091         * progmodes/fortran.el (gud-find-c-expr): Declare as a function.
2093         * subr.el (process-lines): Move here from ../admin/admin.el.
2094         * emacs-lisp/authors.el (authors-process-lines): Remove.
2095         (authors): Use process-lines rather than authors-process-lines.
2097         * progmodes/compilation-perl.el, progmodes/compilation-weblint.el:
2098         Remove these files.
2100 2007-11-17  Juanma Barranquero  <lekktu@gmail.com>
2102         * emacs-lisp/backquote.el (backquote):
2103         Improve argument/docstring consistency.
2105         * emacs-lisp/ring.el (ring-size, ring-p, ring-insert)
2106         (ring-length, ring-empty-p): Use c[ad]dr.
2107         (ring-plus1): Use `1+'.
2108         (ring-minus1): Use `zerop'.
2109         (ring-remove): Use c[ad]dr.  Use `when'.
2110         (ring-copy): Use c[ad]dr.  Use `let', not `let*'.
2111         (ring-ref): Use `let', not `let*'.
2112         (ring-insert-at-beginning): Use c[ad]dr.  Doc fix.
2113         (ring-insert+extend): Use c[ad]dr.  Fix typo in docstring.
2114         (ring-member): Simplify.  Doc fix.
2115         (ring-convert-sequence-to-ring): Simplify.
2117 2007-11-17  Juri Linkov  <juri@jurta.org>
2119         * dired-aux.el (dired-create-directory): Allow creating
2120         a directory of an arbitrary depth.  Add a loop to find the topmost
2121         nonexistent parent dir `new', and call `dired-add-file' on it.
2122         Set the `PARENTS' arg of `make-directory' to t.
2124 2007-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
2126         * calc/calc-aent.el (calc-last-user-lang-parse-table): New variable.
2127         (math-build-parse-table): Get parse information from math-parse-table.
2129 2007-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2131         * window.el (recenter-last-op): New var.
2132         (recenter-top-bottom): New command.
2133         (global-map): Bind it to C-l.
2135         * abbrev.el (abbrev--write): Fix error in transcription from C.
2137         * emulation/pc-select.el (pc-select-shifted-mark): Remove.
2138         (pc-select-ensure-mark): Set mark-active to a special value instead.
2139         Rename from ensure-mark.  Update call callers.
2140         (pc-select-maybe-deactivate-mark): Rename from maybe-deactivate-mark.
2141         Rewrite.  Update all callers.
2142         (pc-selection-mode): Remove redundant var declaration.
2144 2007-11-16  Tassilo Horn  <tassilo@member.fsf.org>
2146         * doc-view.el (doc-view-search-backward, doc-view-search):
2147         Fix assignment to free variable bug.
2149 2007-11-16  Martin Pohlack  <mp26@os.inf.tu-dresden.de>  (tiny change)
2151         * emulation/pc-select.el (pc-select-shifted-mark): New var.
2152         (ensure-mark): Set it.
2153         (maybe-deactivate-mark): New fun.
2154         Use it everywhere instead of (setq mark-active nil).
2156 2007-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
2158         * textmodes/reftex-dcr.el (reftex-start-itimer-once):
2159         Add check for XEmacs.
2161         * calc/calc-menu.el (calc-mode-map): Pacify byte compiler.
2163         * doc-view.el (doc-view-resolution): Add missing :group.
2165 2007-11-16  Juanma Barranquero  <lekktu@gmail.com>
2167         * subr.el (make-variable-frame-local):
2168         Fix typo in obsolescence declaration.
2170 2007-11-16  Werner Lemberg  <wl@gnu.org>
2172         * files.el (set-auto-mode-1): Check second line for -*- if file
2173         starts with '\" (which is used by man pages to identify needed
2174         troff preprocessors).
2176 2007-11-16  Glenn Morris  <rgm@gnu.org>
2178         * mail/mail-extr.el (mail-extr-all-top-level-domains): Update domains.
2180 2007-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
2182         * calc/calc-lang.el (math-oper-table): Fix typo.
2183         Reduce precedence of "/" for TeX.
2185         * calc/calc-menu.el (calc-modes-menu): Add Languages submenu.
2187 2007-11-16  Juri Linkov  <juri@jurta.org>
2189         * dired-aux.el (dired-read-shell-command-default): New function.
2190         (dired-read-shell-command): Use its return value for DEFAULT arg.
2192         * replace.el (keep-lines-read-args, occur-read-primary-args):
2193         Use a list of default values for DEFAULT arg of read-from-minibuffer.
2195         * man.el (Man-heading-regexp): Add 0-9.
2196         (Man-first-heading-regexp): Remove leading space [ \t]* before NAME.
2198 2007-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2200         * doc-view.el (doc-view-ghostscript-options): Remove resolution arg.
2201         (doc-view-resolution): New custom var.
2202         (doc-view-pdf/ps->png): Use it.
2203         (doc-view-shrink-factor): New var.
2204         (doc-view-enlarge, doc-view-shrink): New commands.
2205         (doc-view-mode-map): Use them.
2207 2007-11-15  Juanma Barranquero  <lekktu@gmail.com>
2209         * ediff-wind.el (ediff-window-setup-function):
2210         * simple.el (normal-erase-is-backspace):
2211         * eshell/em-unix.el (eshell/info):
2212         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2213         Fix typos in docstrings.
2215         * emulation/cua-base.el (cua--keymaps-initialized):
2216         Rename from `cua--keymaps-initalized'.  Callers changed.
2217         (cua-highlight-region-shift-only): Doc fix.
2218         (cua-paste-pop): Fix typo in docstring.
2220 2007-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2222         * emulation/cua-base.el (cua--pre-command-handler-1):
2223         Use input-decode-map instead of function-key-map.
2224         Use event-modifiers now that it works reliably.
2226         * vc.el (vc-diff-internal): Pop-to-buffer later.
2228         * subr.el (event-modifiers): Use internal-event-symbol-parse-modifiers.
2230         * pcvs.el (cvs-revert-if-needed): Ignore `unknown' files, since cvs
2231         did not touch them.
2233 2007-11-15  Jay Belanger  <jay.p.belanger@gmail.com>
2235         * calc/calc-menu.el: New file.
2236         * calc/calc.el (calc-mode): Require calc-menu.
2238 2007-11-14  Juanma Barranquero  <lekktu@gmail.com>
2240         * isearch-multi.el (isearch-buffers-next-buffer-function): Doc fix.
2242 2007-11-14  Nick Roberts  <nickrob@snap.net.nz>
2244         * progmodes/gdb-ui.el (gdb-parent-bptno-enabled): New variable.
2245         (gdb-breakpoint-regexp, gdb-mouse-toggle-breakpoint-margin)
2246         (gdb-mouse-toggle-breakpoint-fringe, gdb-delete-breakpoint)
2247         (gdb-goto-breakpoint): Generalise for breakpoints with multiple
2248         locations.
2249         (gdb-info-breakpoints-custom, gdb-assembler-custom)
2250         (gdb-toggle-breakpoint): Update for new gdb-breakpoint-regexp.
2251         (gdb-put-breakpoint-icon): Only display icon for parent breakpoint.
2253 2007-11-13  Noah Friedman  <friedman@splode.com>
2255         * calc/calc.el: Add `backward-delete-char-untabify' to the list of
2256         bindings to remap when `calc-scan-for-dels' is non-nil.
2258 2007-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2260         * emacs-lisp/byte-opt.el (byte-compile-trueconstp): Handle more
2261         constant forms.
2262         (byte-compile-nilconstp): New function.
2263         (byte-optimize-cond): Kill subsequent branches when a branch is
2264         know to be taken or not taken.
2265         (byte-optimize-if): Use byte-compile-nilconstp instead of hand coding.
2267 2007-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
2269         * vc.el (vc-register): Allow registering a file passed as a
2270         parameter instead of just the current buffer.
2272 2007-11-12  Michael Albinus  <michael.albinus@gmx.de>
2274         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
2275         Check whether the output of "uname -sr" has been changed.
2277 2007-11-12  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2279         * progmodes/compile.el (compilation-error-regexp-alist-alist): Insert
2280         patterns from compilation-perl.el and compilation-weblint.el files.
2282 2007-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
2284         * progmodes/compilation-perl.el:
2285         * progmodes/compilation-weblint.el: Disable autoloads, they cause
2286         a bootstrap failure.
2288         * vc-cvs.el (vc-cvs-diff): If backup files exist, diff them
2289         instead of doing "cvs diff" in order to avoid accessing the repository.
2291 2007-11-12  Kevin Ryde  <user42@zip.com.au>
2293         * progmodes/compilation-perl.el:
2294         * progmodes/compilation-weblint.el: New files.
2296 2007-11-11  Juanma Barranquero  <lekktu@gmail.com>
2298         * international/iso-cvt.el (iso-translate-conventions): Doc fix.
2299         (iso-aggressive-german-trans-tab, iso-conservative-german-trans-tab)
2300         (iso-tex2iso-trans-tab, iso-gtex2iso-trans-tab): Reflow docstring.
2301         (iso-spanish, iso-german, iso-iso2tex, iso-tex2iso, iso-gtex2iso)
2302         (iso-iso2gtex, iso-iso2duden, iso-iso2sgml, iso-sgml2iso):
2303         Rewrite in active voice.
2305 2007-11-11  Tassilo Horn  <tassilo@member.fsf.org>
2307         * doc-view.el: Add comments about isearch support.
2309 2007-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
2311         * vc.el (vc-start-entry): Fix setting the in the case the function
2312         is called from vc-dired.  Use when instead of if where appropriate.
2314 2007-11-11  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2316         * ps-print.el (ps-do-despool): Do not force ps-lpr-switches
2317         to be a list.
2318         (ps-begin-job): Error if ps-lpr-switches is not a list.
2320 2007-11-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2322         * faces.el (face-normalize-spec): Remove function.
2323         (frame-set-background-mode): Undo last change.
2325 2007-11-10  Jason Rumney  <jasonr@gnu.org>
2327         * w32-fns.el: Sync charset names with setup-default-fontset.
2328         Append "-1" where second part missing.
2330 2007-11-10  Juri Linkov  <juri@jurta.org>
2332         * isearch.el (isearch-mode-end-hook, isearch-mode-end-hook-quit):
2333         Fix docstring.  Reported by Leo <sdl.web@gmail.com>.
2335         * custom.el (custom-note-var-changed): Remove the `interactive'
2336         spec from this new non-interactive function.
2338 2007-11-10  Tassilo Horn  <tassilo@member.fsf.org>
2340         * doc-view.el (doc-view-mode-map, doc-view-menu)
2341         (doc-view-pdf->txt-sentinel): Adapt to new search UI.
2342         (doc-view-search-backward): New function.
2343         (doc-view-search): Query new regexp if prefix arg is given, else
2344         jump to next/previous match.
2345         (doc-view-mode): Handle compressed files.
2346         (jka-compr): Required for compressed files.
2348 2007-11-10  Paul Pogonyshev  <pogonyshev@gmx.net>
2350         * replace.el (query-replace-show-replacement): New defcustom.
2351         (perform-replace): Use `match-substitute-replacement' if
2352         `query-replace-show-replacement' is non-nil.
2354 2007-11-10  David Kastrup  <dak@gnu.org>
2356         * subr.el (match-substitute-replacement): New function.
2358 2007-11-10  Carsten Dominik  <dominik@science.uva.nl>
2360         * files.el (auto-mode-alist): Select org-mode for files with the
2361         extension ".org".
2363 2007-11-10  Martin Rudalics  <rudalics@gmx.at>
2365         * help.el (help-window, help-window-point-marker): New variables.
2366         (help-window-select): New option.
2367         (with-help-window): New macro for displaying help windows.
2368         (help-window-display-message, help-window-setup-finish)
2369         (help-window-setup): New functions used for setting up help windows.
2370         (print-help-return-message): Reset help-window to nil.
2371         (view-lossage): Use with-help-window instead of
2372         with-output-to-temp-buffer and move help-window-point-marker after
2373         inserted text.
2374         (describe-bindings, describe-key, describe-mode): Use
2375         with-help-window instead of with-output-to-temp-buffer.
2377         * help-mode.el (help-mode): Set view-exit-action to bury the
2378         buffer instead of fiddling with windows.  Simplify code.
2379         (help-mode-finish): When help-window eqs t set it to the selected
2380         window and have with-help-window set up view-return-to-alist.
2381         (help-buffer): Add autoload cookie.
2383         * view.el (view-remove-frame-by-deleting): Change default value to t.
2384         Add autoload cookie.
2385         (view-exit-action, view-file, view-file-other-window)
2386         (view-file-other-frame, view-buffer, view-buffer-other-window)
2387         (view-buffer-other-frame): Rewrite doc strings.
2388         (view-return-to-alist-update): New function to remove stale entries
2389         from view-return-to-alist.
2390         (view-mode-enter): Rewrite doc string and simplify code.
2391         (view-mode-exit): Handle new case 'keep-frame.  Don't reset
2392         view-exit-action to nil.  Simplify code and rewrite doc string.
2394         * apropos.el (apropos-describe-plist):
2395         * descr-text.el (describe-char):
2396         * disp-table.el (describe-display-table):
2397         * faces.el (list-faces-display, describe-face):
2398         * facemenu.el (list-colors-display):
2399         * help-fns.el (describe-function, describe-variable)
2400         (describe-syntax, describe-categories):
2401         Use with-help-window instead of with-output-to-temp-buffer.
2403 2007-11-10  Dan Nicolaescu  <dann@ics.uci.edu>
2405         * emacs-lisp/byte-opt.el (byte-optimize-featurep):
2406         Optimize (featurep 'emacs) to t.
2408         * emacs-lisp/bytecomp.el (byte-compile-find-bound-condition):
2409         New function.
2410         (byte-compile-maybe-guarded): Use it to also look for bound
2411         symbols inside `and' forms.  Comment out non-working code that was
2412         trying to avoid warnings for XEmacs code.
2414         * vc.el (vc-diff-internal): Make the *vc-diff* buffer read only.
2416         * vc-svn.el (vc-svn-print-log, vc-svn-diff):
2417         * vc-mcvs.el (vc-mcvs-print-log, vc-mcvs-annotate-command):
2418         * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff)
2419         (vc-cvs-annotate-command):
2420         * vc-arch.el (vc-arch-diff): Remove test to check if start-process
2421         is bound, it always is.
2423 2007-11-10  Jason Rumney  <jasonr@gnu.org>
2425         * term/w32-win.el (w32-initialize-window-system): Move SJIS font
2426         setup here from global scope.
2428 2007-11-10  Juanma Barranquero  <lekktu@gmail.com>
2430         * ido.el (ido-save-history): Save the history file in UTF-8, not
2431         the current filename coding system.
2433 2007-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2435         * simple.el (interprogram-cut-function, interprogram-paste-function):
2436         Don't make them frame-local any more.
2438         * faces.el (x-create-frame-with-faces, tty-create-frame-with-faces):
2439         Don't set interprogram-(cut|paste)-function on each frame.
2441         * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value):
2442         Make them work in tty frames.
2443         (interprogram-cut-function, interprogram-paste-function):
2444         Set them globally.
2446 2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
2448         * international/iso-cvt.el (iso-spanish, iso-german, iso-iso2tex)
2449         (iso-tex2iso, iso-gtex2iso, iso-iso2gtex, iso-iso2duden): Doc fixes.
2450         (iso-iso2duden-trans-tab): Add docstring.
2452 2007-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2454         * abbrev.el (define-abbrev-table): Record the variable definition.
2456         * emacs-lisp/bytecomp.el (byte-compile-file-form-define-abbrev-table):
2457         New function.
2459 2007-11-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2461         * ps-print.el: Clean the code for checking suitable Emacs version.
2462         (ps-do-despool): If ps-lpr-switches is not a list, force it to be one.
2463         (ps-print-version): New version 6.8.1.
2465 2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
2467         * files.el (enable-local-variables): Doc fix.
2469 2007-11-09  Nick Roberts  <nickrob@snap.net.nz>
2471         * progmodes/gud.el (gud-gdb): Remove vestigial gdba doc and code.
2473 2007-11-09  Sven Joachim  <svenjoac@gmx.de>
2475         * dired-aux.el (dired-copy-file-recursive):
2476         Preserve directory permissions.
2478 2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
2480         * whitespace.el (whitespace-write-file-hook): Remove interactive spec.
2481         (whitespace-unload-function): New-style unload function.  When run,
2482         unintern `whitespace-unload-hook' and call `unload-feature' recursively
2483         to stop the old hook from messing with the unloading.
2485 2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
2487         * emacs-lisp/elp.el (elp-report-limit, elp-restore-all)
2488         (elp-unset-master, elp-results): Fix typos.
2489         (elp-sort-by-function, elp-use-standard-output, elp-recycle-buffers-p):
2490         Doc fixes.
2492         * msb.el (msb--many-menus): Remove variable.
2493         (msb-max-menu-items, msb--add-to-menu): Doc fixes.
2494         (msb-menu-cond, msb-item-handling-function, msb--create-function-info)
2495         (msb--toggle-menu-type): Fix typos in docstrings.
2497         * shadowfile.el (shadow-inhibit-overload, shadow-remove-from-todo)
2498         (shadow-insert-var): Doc fixes.
2499         (shadow-file-match, shadow-define-cluster, shadow-define-regexp-group):
2500         Reflow docstrings.
2501         (shadow-parse-fullname, shadow-read-files): Fix typos in docstrings.
2503 2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
2505         * ediff-hook.el (ediff, ediff-files, ediff-buffers, ebuffers, ediff3)
2506         (ediff-files3, ediff-buffers3, ebuffers3, erevision, ediff-revision):
2507         Fix typos in autoload docstrings.
2509 2007-11-09  Richard Stallman  <rms@gnu.org>
2511         * savehist.el (savehist-save): Obey savehist-ignored-variables.
2513 2007-11-09  Nick Roberts  <nickrob@snap.net.nz>
2515         * progmodes/gdb-ui.el (gdb-delete-out-of-scope): New option.
2516         (gdb-var-update-handler-1): Use it.
2518 2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
2520         * loadhist.el (unload-feature): Remove erroneous check for the
2521         FEATURE-unload-function variable; check the existence of the
2522         function (that's what the docstring says, and it makes more sense).
2524         * follow.el (follow-unload-function): Add docstring.
2525         (follow-unload-function): Remove variable.
2527         * server.el (server-unload-function): Remove variable.
2528         (server-unload-function): Unbind `server-edit' from `C-x #'.
2530         * ses.el (ses-unload-function): New function.
2532 2007-11-09  Juanma Barranquero  <lekktu@gmail.com>
2534         * emacs-lisp/unsafep.el (unsafep, unsafep-function)
2535         (unsafep-progn, unsafep-let): Fix typos in docstrings.
2537         * uniquify.el (uniquify-maybe-rerationalize-w/o-cb): Define it
2538         before use to avoid a warning in packages that require uniquify.
2539         (uniquify-unload-function): New function and var.
2541 2007-11-09  Dan Nicolaescu  <dann@ics.uci.edu>
2543         * ediff-init.el (ediff-xemacs-p, ediff-emacs-p): Remove.
2544         (ediff-has-face-support-p, ediff-BAD-INFO, ediff-check-version)
2545         (ediff-current-diff-A, ediff-current-diff-B)
2546         (ediff-current-diff-C, ediff-fine-diff-C, ediff-fine-diff-A)
2547         (ediff-fine-diff-B, ediff-fine-diff-Ancestor, ediff-even-diff-A)
2548         (ediff-even-diff-B, ediff-even-diff-C, ediff-even-diff-Ancestor)
2549         (ediff-odd-diff-A, ediff-odd-diff-B, ediff-odd-diff-C)
2550         (ediff-odd-diff-Ancestor, ediff-reset-mouse):
2551         * ediff-wind.el (ediff-narrow-control-frame-leftward-shift)
2552         (ediff-setup-windows-plain-merge)
2553         (ediff-setup-windows-plain-compare, ediff-setup-control-frame)
2554         (ediff-refresh-control-frame, ediff-get-visible-buffer-window):
2555         * ediff-util.el (ediff-setup-keymap, )
2556         (ediff-toggle-wide-display, ediff-toggle-multiframe)
2557         (ediff-toggle-use-toolbar, ediff-really-quit)
2558         (ediff-good-frame-under-mouse)
2559         (ediff-highlight-diff-in-one-buffer)
2560         (ediff-remove-flags-from-buffer, ediff-place-flags-in-buffer1)
2561         (ediff-make-bullet-proof-overlay):
2562         * ediff-mult.el (ediff-setup-meta-map, ediff-emacs-p)
2563         (ediff-set-meta-overlay):
2564         * ediff-help.el (ediff-help-region-map, ediff-set-help-overlays):
2565         * ediff.el (ediff-documentation): Replace ediff-xemacs-p and
2566         ediff-emacs-p with their former definitions.
2568         * emulation/viper-init.el (viper-xemacs-p, viper-emacs-p): Remove.
2569         (viper-has-face-support-p, viper-inactivate-input-method)
2570         (viper-activate-input-method)
2571         (viper-use-replace-region-delimiters, viper-restore-cursor-type):
2572         * emulation/viper-mous.el (viper-multiclick-timeout)
2573         (viper-surrounding-word, viper-mouse-click-insert-word)
2574         (viper-mouse-click-search-word, viper-parse-mouse-key):
2575         * emulation/viper-macs.el (viper-char-array-to-macro):
2576         * emulation/viper.el (viper-go-away, viper-set-hooks)
2577         (viper-non-hook-settings):
2578         * emulation/viper-util.el (viper-get-saved-cursor-color-in-replace-mode)
2579         (viper-get-saved-cursor-color-in-insert-mode)
2580         (viper-get-saved-cursor-color-in-emacs-mode)
2581         (viper-check-version, viper-get-visible-buffer-window)
2582         (viper-file-checked-in-p, viper-set-replace-overlay)
2583         (viper-set-replace-overlay-glyphs, viper-set-minibuffer-overlay)
2584         (viper-check-minibuffer-overlay, viper-read-key-sequence)
2585         (viper-key-to-emacs-key): Replace viper-xemacs-p and viper-emacs-p
2586         with their former definitions.
2587         (viper-eventify-list-xemacs): Only do work for XEmacs.
2588         (viper-set-unread-command-events): Only do work for Emacs.
2589         (viper-overlay-p, viper-make-overlay, viper-overlay-live-p)
2590         (viper-move-overlay, viper-overlay-start, viper-overlay-end)
2591         (viper-overlay-get, viper-overlay-put, viper-read-event)
2592         (viper-characterp, viper-int-to-char, viper-get-face)
2593         (viper-color-defined-p, viper-iconify): New defaliases replacing
2594         the old fsets.
2596         * progmodes/fortran.el (comment-region-function)
2597         (uncomment-region-function): Pacify byte compiler.
2599         * vc.el (vc-diff-internal): Remove code for an old version of gnus.
2601 2007-11-08  Michael Albinus  <michael.albinus@gmx.de>
2603         * net/tramp.el (tramp-maybe-open-connection): Use a local copy of
2604         `process-environment'.
2606 2007-11-08  David Hansen  <david.hansen@gmx.net>  (tiny change)
2608         * eshell/em-dirs.el (eshell-expand-multiple-dots): Change regexp to
2609         match dir like "a...b".
2611 2007-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2613         * smerge-mode.el (smerge-refine-subst): Pass "-d" to diff.
2615 2007-11-07  Michael Albinus  <michael.albinus@gmx.de>
2617         * net/tramp.el (tramp-handle-substitute-in-file-name):
2618         Don't expand the remote connection identification.
2619         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2620         Set also $PS2 and $PS3 when setting $PS1.  Check for shell echoing
2621         before calling stty.
2623         * net/tramp-cache.el (tramp-cache-print)
2624         (tramp-dump-connection-properties): Fix docstring.
2625         (tramp-list-connections): Rename from `tramp-cache-list-connections'.
2627         * net/tramp-cmds.el (tramp-cleanup-connection): Apply it.
2629         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Don't expand the
2630         remote connection identification when setting connection property.
2632         * net/tramp-smb.el (tramp-smb-handle-substitute-in-file-name):
2633         "//" substitutes only in the local filename part.
2635 2007-11-07  David Hansen  <david.hansen@gmx.net>
2637         * eshell/em-glob.el (eshell-extended-glob): Sort matches.
2639 2007-11-07  Glenn Morris  <rgm@gnu.org>
2641         * emulation/tpu-mapper.el (tpu-map-key): Use unless rather than cond.
2642         Remove superfluous concats.  Move final set-buffer to
2643         non-emacs-specific code.
2645 2007-11-07  Rob Riepel  <riepel@networking.stanford.edu>
2647         * emulation/tpu-mapper.el (tpu-map-key): Remove un-needed cond branch.
2649 2007-11-07  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
2651         * eshell/esh-mode.el (eshell-output-filter):
2652         * eshell/esh-proc.el (eshell-insertion-filter, eshell-sentinel):
2653         Use `with-current-buffer'.
2655 2007-11-07  Andreas Schwab  <schwab@suse.de>
2657         * server.el (server-start): Only register cleanup after server was
2658         started.
2660 2007-11-06  Michael Albinus  <michael.albinus@gmx.de>
2662         * net/tramp.el (top): Don't autoload `tramp-cache-print'.
2664         * net/tramp-cache (tramp-cache-print): Move down.
2665         (tramp-cache-list-connections): New defun.
2667         * net/tramp-cmds.el (tramp-cleanup-connection): Use it.
2669 2007-11-06  Juanma Barranquero  <lekktu@gmail.com>
2671         * ido.el (ido-save-history): Write the history file in the current
2672         filename coding system, and add `coding' file-local variable.
2674 2007-11-06  Carsten Dominik  <dominik@science.uva.nl>
2676         * textmodes/org.el (org-table-formula-substitute-names):
2677         Remove forgotten temporary debugging code.
2679 2007-11-05  Michael Albinus  <michael.albinus@gmx.de>
2681         * net/tramp.el (tramp-wait-for-output): Ignore escape sequences in
2682         the prompt.
2684 2007-10-05  Chris Moore  <christopher.ian.moore@gmail.com>
2686         * wdired.el (wdired-use-dired-vertical-movement): Doc fix.
2688 2007-11-05  Simon Josefsson  <simon@josefsson.org>
2690         * net/tls.el (tls-end-of-info): Doc fix.
2692 2007-11-05  Kenichi Handa  <handa@ni.aist.go.jp>
2694         * international/utf-7.el (utf-7-imap): New coding system.
2695         (utf-7-imap-post-read-conversion): New function.
2696         (utf-7-imap-pre-write-conversion): New function.
2698 2007-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2700         * abbrev.el (abbrev--write): Fix up typo.
2702 2007-11-04  Juanma Barranquero  <lekktu@gmail.com>
2704         * abbrev.el (define-abbrev-table): Doc fix.
2706 2007-11-04  Thien-Thi Nguyen  <ttn@gnuvola.org>
2708         * info.el (Info-revert-buffer-function): New func.
2709         (Info-mode): Arrange to use it for reverting.
2710         (Info-copy-current-node-name): Add space between filename and nodename.
2712 2007-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2714         * abbrev.el (expand-abbrev): Move point back to expansion's end.
2716 2007-11-04  Glenn Morris  <rgm@gnu.org>
2718         * net/tls.el: Don't require rx when compiling.
2719         (tls-end-of-info): Rewrite without using rx.
2720         (open-tls-stream): Use with-current-buffer.
2722 2007-11-04  Riccardo Murri  <riccardo.murri@gmail.com>
2724         * net/tls.el: Require rx when compiling.
2725         (tls-end-of-info): New variable.
2726         (open-tls-stream): Keep reading input until `tls-end-of-info' is
2727         matched.
2729 2007-11-03  Sean O'Rourke  <seano@cs.ucla.edu>
2731         * register.el (append-to-register, prepend-to-register):
2732         Don't signal error on empty register; use the text, instead.
2734 2007-11-03  Michael Olson  <mwolson@gnu.org>
2736         * textmodes/remember.el (remember-buffer):
2737         Use define-obsolete-function-alias rather than defalias.
2739 2007-11-03  Ulrich Mueller  <ulm@gentoo.org>  (tiny change)
2741         * simple.el (bad-packages-alist): Anchor semantic regexp.
2743 2007-11-03  Glenn Morris  <rgm@gnu.org>
2745         * newcomment.el (comment-dwim): Call comment-insert-comment-function,
2746         if defined, for blank lines.  Doc fix.
2748         * progmodes/fortran.el (fortran-mode-map): Don't bind M-;.
2749         (fortran-mode): Set values for comment-region-function,
2750         uncomment-region-function and comment-insert-comment-function.
2751         (fortran-uncomment-region): New function.
2753         * textmodes/nroff-mode.el (nroff-mode):
2754         Set comment-insert-comment-function rather than indent-line-function.
2755         (nroff-indent-line-function): Remove.
2756         (nroff-insert-comment-function): New function.
2758 2007-11-02  Michael Kifer  <kifer@cs.stonybrook.edu>
2760         * ediff-vers.el (ediff-vc-working-revision): Add a quote.
2762 2007-11-02  Michael Kifer  <kifer@cs.stonybrook.edu>
2764         * emulation/viper-ex.el (viper-ex): Do not ignore the region.
2766         * emulation/viper-cmd.el (viper-prev-destructive-command)
2767         (viper-insert-prev-from-insertion-ring): Use ring-copy instead of
2768         copy-sequence.
2770         * ediff-util.el (ediff-make-current-diff-overlay): Do not use face-name.
2771         Got rid of ediff-copy-list.
2773         * ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer): Do not
2774         use face-name.
2775         (ediff-test-utility, ediff-diff-mandatory-option)
2776         (ediff-reset-diff-options): Remove to simplify the mandatory option
2777         handling on Windows.
2778         (ediff-set-diff-options): Add.
2779         (ediff-diff-options): Set "--binary" option as default in some cases.
2781         * ediff-vers.el (ediff-vc-internal): Use ediff-vc-revision-other-window.
2782         (ediff-vc-merge-internal): Use ediff-vc-revision-other-window and
2783         ediff-vc-working-revision.  Require vc-hooks.
2785 2007-11-02  Drake Wilson  <drake@begriffli.ch>  (tiny change)
2787         * files.el (hack-local-variables): Fix membership tests to avoid
2788         treating all variables as safe if `enable-local-variables' is
2789         set to :safe (CVE-2007-5795).
2791 2007-11-02  Glenn Morris  <rgm@gnu.org>
2793         * newcomment.el (comment-indent): Let comment-insert-comment-function,
2794         if defined, do all the work of inserting a new comment.
2796         * progmodes/etags.el (tags-table-mode): Disable undo.
2798         * simple.el (bad-packages-alist): Revert previous change.
2800 2007-11-02  Dan Nicolaescu  <dann@ics.uci.edu>
2802         * emacs-lisp/lselect.el: Move to obsolete/lselect.el.
2804         * obsolete/lselect.el: Do not warn about unknown functions.
2806 2007-11-02  Michael Olson  <mwolson@gnu.org>
2808         * textmodes/remember.el (remember-buffer): Make this an alias of
2809         remember-finalize, because Org uses it.
2811 2007-11-01  Michael Olson  <mwolson@gnu.org>
2813         * textmodes/remember.el: Improve documentation in heading.
2814         (remember-before-remember-hook): Turn into a customizable option.
2815         (remember): Document INITIAL argument.
2816         (remember-region): Remove autoload cookie.  Improve docstring to
2817         mention that it is called from the *Remember* buffer, and does not
2818         have any functional overlap with the `remember' function.
2819         (remember-finalize): Remove autoload cookie.  Rename from
2820         remember-buffer to emphasize that this does not have any
2821         functional overlap with the `remember' function.
2822         (remember-destroy): Remove autoload cookie.
2823         (remember-mode-map): Define and initialize in one step.
2824         (remember-mode): Improve docstring.
2825         (remember-annotation-functions): Default to just '(buffer-file-name),
2826         and don't try to take the default value from Planner.
2828 2007-11-01  Glenn Morris  <rgm@gnu.org>
2830         * doc-view.el (doc-view-cache-directory): Remove superfluous concat.
2832         * simple.el (bad-packages-alist): Add an entry for standalone vc-svn.
2834         * emacs-lisp/authors.el (authors-scan-change-log)
2835         (authors-scan-el): Don't enable local eval; enable only safe local
2836         variables, without querying.
2838         * mail/footnote.el (footnote-numeric-regexp)
2839         (footnote-english-upper-regexp, footnote-english-lower-regexp)
2840         (footnote-roman-lower-regexp, footnote-roman-upper-regexp):
2841         Match multi-character footnotes.
2843         * textmodes/nroff-mode.el (nroff-mode): Set indent-line-function.
2844         (nroff-indent-line-function): New function.
2845         (nroff-count-text-lines): Use nroff-forward-text-line rather than
2846         obsolete alias.
2848 2007-11-01  Ryan Yeske  <rcyeske@gmail.com>
2850         * net/rcirc.el (rcirc-last-quit-line, rcirc-last-line)
2851         (rcirc-elapsed-lines): New argument PROCESS.  Update callers.
2852         (rcirc-print): Only update the line count when not marking the
2853         line as omittable.
2854         (rcirc-log-write): Specify coding system when writing logfile.
2855         (rcirc-markup-fill): Make sure ellipsis does not cause line to wrap.
2857 2007-11-01  Dan Nicolaescu  <dann@ics.uci.edu>
2859         * printing.el (printing): Fix :version, printing.el was included
2860         for in emacs-22.1.
2861         (pr-path-style, pr-path-alist, pr-txt-name)
2862         (pr-txt-printer-alist, pr-ps-name, pr-ps-printer-alist)
2863         (pr-temp-dir, pr-ps-temp-file, pr-file-modes, pr-gv-command)
2864         (pr-gs-command, pr-gs-switches, pr-gs-device, pr-gs-resolution)
2865         (pr-print-using-ghostscript, pr-file-tumble, pr-auto-region)
2866         (pr-auto-mode, pr-mode-alist, pr-ps-utility)
2867         (pr-ps-utility-alist, pr-menu-char-height, pr-menu-char-width)
2868         (pr-setting-database, pr-visible-entry-list)
2869         (pr-delete-temp-file, pr-list-directory, pr-buffer-name)
2870         (pr-buffer-name-ignore, pr-buffer-verbose): Remove incorrect :version.
2872         * ediff-util.el (ediff-nuke-selective-display): Move definition to
2873         top level, make it dependent on the emacs flavor.
2875         * play/gamegrid.el (gamegrid-kill-timer, gamegrid-start-timer):
2876         Test for XEmacs not for itimer.
2878         * term/sun-mouse.el:
2879         * obsolete/sun-fns.el:
2880         * obsolete/sun-curs.el: Remove files.
2882         * term/sun.el (select-previous-complex-command): Remove obsolete code.
2884 2007-10-31  Tassilo Horn  <tassilo@member.fsf.org>
2886         * doc-view.el (doc-view-cache-directory): Fix bug where an integer
2887         was given to concat.
2889 2007-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2891         * doc-view.el (doc-view-mode-map): Bind doc-view-goto-page to the keys
2892         used normally for goto-line.  Change `g' to revert the buffer.
2893         Add redundant `r' binding for buffer-revert.
2895         * mail/mailabbrev.el (mail-abbrevs-mode): Use define-minor-mode.
2896         (mail-abbrevs-setup): Use abbrev-expand-functions.
2897         (build-mail-abbrevs): Use with-temp-buffer.
2898         (define-mail-abbrev): Simplify.
2899         (mail-abbrev-expand-wrapper): Rename sendmail-pre-abbrev-expand-hook.
2900         Change it for use on abbrev-expand-functions.
2901         (mail-abbrev-complete-alias): Use with-syntax-table.
2903 2007-10-31  Michael Albinus  <michael.albinus@gmx.de>
2905         * net/tramp.el (tramp-handle-shell-command): Call `start-file-process'
2906         directly.  Fix bug in deleting temp file.
2908 2007-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2910         * progmodes/python.el (python-mode-abbrev-table): Use :regexp.
2911         Merge defvar and define-abbrev-table.
2912         (def-python-skeleton): Use :case-fixed and :enable-function.
2913         (python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook):
2914         Remove.
2915         (python-mode): Don't modify pre-abbrev-expand-hook.
2917 2007-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
2919         * ediff-util.el (ediff-file-checked-out-p)
2920         (ediff-file-checked-in-p): Only call vc-locking-user for XEmacs.
2922 2007-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2924         * abbrev.el (abbrev-symbol): Correct let->let*.
2925         (abbrev--before-point): Only use abbrev-start-location if before point.
2927 2007-10-31  Juanma Barranquero  <lekktu@gmail.com>
2929         * strokes.el (strokes-alphabetic-lessp): Simplify.  Doc fix.
2930         (strokes-unload-hook): Remove function and variable.
2931         (strokes-unload-function): New-style unload function, adapted
2932         from `strokes-unload-hook'.
2934         * emacs-lisp/cl.el (cl-cannot-unload): Remove function.
2935         (cl-unload-hook): Remove variable.
2936         (cl-unload-function): New-style unload function, adapted
2937         from `cl-cannot-unload'.
2939         * emacs-lisp/elp.el (elp-unload-hook): Remove function and variable.
2940         (elp-unload-function): New-style unload function, adapted
2941         from `elp-unload-hook'.
2943 2007-10-31  Sean O'Rourke  <sorourke@cs.ucsd.edu>
2945         * emacs-lisp/find-func.el (find-library): Use library at
2946         point as default interactive argument.
2948 2007-10-31  Juanma Barranquero  <lekktu@gmail.com>
2950         * shadowfile.el (shadow-join): Remove.
2951         (shadow-shadows): Use `mapconcat' instead of `shadow-join'.
2952         (shadow-initialize): Use `write-file-functions', not `write-file-hooks'.
2953         (shadowfile-unload-hook): Remove function and variable.
2954         (shadowfile-unload-function): New-style unload function, adapted
2955         from `shadowfile-unload-hook'.
2957 2007-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
2959         * progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
2960         only if it is bound.
2962         * textmodes/reftex.el: Move autoloads for before all uses.
2963         (reftex-make-overlay, reftex-overlay-put, reftex-move-overlay)
2964         (reftex-delete-overlay): Move to the top level with the condition
2965         in the body.
2967         * progmodes/simula.el: Use when instead of if.
2969         * iimage.el (iimage-locate-file): Define unconditionally.
2971         * mail/mailabbrev.el (mail-abbrev-next-line):
2972         * emulation/vip.el (vip-enlarge-region, vip-line)
2973         (vip-next-line-at-bol, vip-previous-line)
2974         (vip-previous-line-at-bol, vip-find-char, vip-put-back, ex-read):
2975         Wrap with-no-warnings around uses of next-line and previous-line.
2977         * ediff.el (run-ediff-from-cvs-buffer):
2978         * ediff-vers.el (cvs-run-ediff-on-file-descriptor):
2979         Remove function not used by pcl-cvs anymore.
2980         (noninteractive, generic-sc-get-latest-rev)
2981         (ediff-generic-sc-internal, ediff-generic-sc-merge-internal):
2982         Delete support for long obsolete generic-sc.el.
2984 2007-10-31  Glenn Morris  <rgm@gnu.org>
2986         * cvs-status.el: No longer require pcvs when compiling.
2988         * doc-view.el (doc-view-conversion-refresh-interval)
2989         (doc-view-dvi->pdf, doc-view-pdf/ps->png, doc-view-pdf->txt)
2990         (doc-view-reset-slice): Doc fixes.
2991         (doc-view-menu): Remove deleted function doc-view-edit-doc.
2993 2007-10-31  Juanma Barranquero  <lekktu@gmail.com>
2995         * help-at-pt.el (help-at-pt-unload-hook): Remove.
2996         Timers are automatically canceled by `unload-feature'.
2998         * delsel.el (delsel-unload-hook): Remove function and variable.
2999         (delsel-unload-function): New-style unload function, adapted
3000         from `delsel-unload-hook'.
3002         * msb.el (msb-unload-hook): Remove function and variable.
3003         (msb-unload-function): New-style unload function, adapted from
3004         `msb-unload-hook'.
3006 2007-10-30  Juanma Barranquero  <lekktu@gmail.com>
3008         * desktop.el (uniquify-managed): Pacify byte compiler.
3009         (desktop-buffer-info): If the buffer name is managed by uniquify,
3010         save the base name, not the uniquified one.
3011         (desktop-create-buffer): Allow `rename-buffer' to generate a new
3012         name in case of conflict.
3014 2007-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3016         * doc-view.el: Use expand-file-name rather than concat.
3017         (doc-view-cache-directory): Add the UID so multiple users won't clash.
3018         (doc-view-current-overlay, doc-view-pending-cache-flush): New vars.
3019         (doc-view-goto-page, doc-view-insert-image, doc-view-buffer-message)
3020         (doc-view-toggle-display): Use an overlay over the whole buffer so as
3021         not to have to touch the buffer's content.
3022         (doc-view-initiate-display): New function, extracted from doc-view-mode.
3023         (doc-view-mode): Use it.  Don't mark as a special mode.
3024         Put the page numbers in the modeline.
3025         Set up the overlay.  Hide the cursor.  Run the mode hook.
3026         Use after-revert-hook rather than revert-buffer-function.
3027         (doc-view-search-internal): Fix typo.
3028         (doc-view-convert-current-doc, doc-view-insert-image): Delay the
3029         image-cache flush.
3030         (doc-view-reconvert-doc): Don't reset the whole mode.
3031         (doc-view-make-safe-dir): New function.
3032         (doc-view-current-cache-dir): Use it.
3034 2007-10-30  Jason Rumney  <jasonr@gnu.org>
3036         * time.el (display-time-world-list): Test for zoneinfo support.
3038 2007-10-30  Michael Albinus  <michael.albinus@gmx.de>
3040         * net/tramp.el (tramp-maybe-open-connection): Set $LC_ALL to "C".
3042         * net/tramp-cache.el (tramp-flush-file-function): Check also
3043         `default-directory' if `buffer-file-name' does not return a
3044         string.  Added to `eshell-pre-command-hook'.
3046 2007-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3048         * doc-view.el (doc-view-current-doc): Remove.
3049         Replace all uses by buffer-file-name.
3050         (doc-view-menu): New menu.
3051         (doc-view-reconvert-doc): Don't bind inhibit-read-only and remove
3052         unused var `doc'.
3053         (doc-view-sort): Simplify.
3054         (doc-view-buffer-message): Don't change buffer-modified-p.
3055         (doc-view-mode): Change it here instead.
3056         Tighten scoping of prev-major-mode.  Don't re-insert the file's content.
3057         Don't modify the global value of revert-buffer-function.
3059         * image-mode.el (image-forward-hscroll, image-next-line, image-eol)
3060         (image-eob, image-mode, image-minor-mode, image-toggle-display-text)
3061         (image-toggle-display): Take overlays into account and don't assume
3062         point-min==1.
3064 2007-10-30  Thien-Thi Nguyen  <ttn@gnuvola.org>
3066         * vc.el (vc-annotate): Fix omission bug:
3067         Specify value for vc-sentinel-movepoint.
3069 2007-10-30  Michael Olson  <mwolson@gnu.org>
3071         * textmodes/remember.el (remember-mode-hook)
3072         (remember-handler-functions, remember-annotation-functions):
3073         Add additional items as options, including some Org functions.
3075 2007-10-30  Tassilo Horn  <tassilo@member.fsf.org>
3077         * doc-view.el: Remove cl-dependency.
3078         (doc-view-buffer-message): Mention new binding K.
3079         (doc-view-convert-current-doc): Use function d-v-current-cache-dir
3080         instead of variable.
3081         (doc-view-current-cache-dir): Better cache dir naming.
3082         (doc-view-current-display): Remove variable.
3083         (doc-view-edit-doc, doc-view-display-maybe): Remove functions.
3084         (doc-view-kill-proc): Set converter process to nil.
3085         (doc-view-minor-mode): New minor mode.
3086         (doc-view-minor-mode-map): New keymap.
3087         (doc-view-mode): Remove text/image switching code.  Use plain defun.
3088         (doc-view-mode-map): New binding K kills converter process.
3089         Remove C-c C-e binding.
3090         (doc-view-mode-text-map): Remove keymap.
3091         (doc-view-pdf/ps->png): Timer calls d-v-display instead of
3092         d-v-display-maybe.
3093         (doc-view-previous-major-mode): New variable.
3094         (doc-view-ps->pdf): Resort args to make ps2pdf happy.
3095         (doc-view-remove-if): New function.
3096         (doc-view-search-next-match, doc-view-search-previous-match): Use it.
3097         (doc-view-toggle-display): Toggle modes instead of display styles.
3098         (doc-view-reconvert-doc): Adapt to new way of doing things.
3100         * progmodes/ps-mode.el (ps-mode-map): Enable doc-view-minor-mode.
3102 2007-10-30  Glenn Morris  <rgm@gnu.org>
3104         * dirtrack.el (dirtrack-mode): Doc fix.
3106         * shell.el (shell-dirtrack-verbose, shell-mode)
3107         (shell-directory-tracker, shell-dirtrack-mode): Doc fix.
3109         * emacs-lisp/bytecomp.el (byte-compile-disable-warning)
3110         (byte-compile-enable-warning): Doc fix.
3112         * emulation/tpu-mapper.el (tpu-map-key): Use with-no-warnings to
3113         suppress byte-opt warning.
3115 2007-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
3117         * emulation/edt.el (edt-emacs19-p, edt-x-emacs19-p)
3118         (edt-gnu-emacs19-p): Remove.
3119         (edt-emacs-variant, edt-window-system): Use feature 'emacs.
3120         (edt-xserver, edt-page-backward, edt-beginning-of-line)
3121         (edt-end-of-line-forward, edt-end-of-line-backward)
3122         (edt-one-word-forward, edt-one-word-backward, edt-character)
3123         (edt-line-forward, edt-next-line, edt-previous-line, edt-top)
3124         (edt-find-forward, edt-find-backward, edt-find-next-forward)
3125         (edt-find-next-backward, edt-reset, edt-advance, edt-backup)
3126         (edt-define-key, edt-bottom-check, edt-sentence-forward)
3127         (edt-sentence-backward, edt-paragraph-forward)
3128         (edt-paragraph-backward, edt-restore-key, edt-window-top)
3129         (edt-window-bottom, edt-scroll-window-forward-line)
3130         (edt-scroll-window-backward-line, edt-line-to-bottom-of-window)
3131         (edt-line-to-top-of-window, edt-paragraph-backward)
3132         (edt-restore-key, edt-window-top, edt-window-bottom)
3133         (edt-scroll-window-forward-line)
3134         (edt-scroll-window-backward-line, edt-line-to-bottom-of-window)
3135         (edt-line-to-middle-of-window, edt-goto-percentage)
3136         (edt-display-the-time, edt-remember, edt-split-window)
3137         (edt-emulation-on, edt-emulation-off)
3138         (edt-default-emulation-setup, edt-user-emulation-setup)
3139         (edt-select-default-global-map, edt-select-user-global-map):
3140         Replace uses of edt-x-emacs19-p and edt-gnu-emacs19-p with feature
3141         tests.
3143         * textmodes/reftex-index.el (reftex-index-selection-or-word):
3144         Use feature test instead of boundp test so it can be resolved at
3145         compile time.
3147         * net/newsticker.el (replace-regexp-in-string): Only define for XEmacs.
3149 2007-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3151         * abbrev.el: Rename `count' and `system-flag' to :count and :system.
3152         Update all users.
3153         (abbrev-get, abbrev-put): Simplify.
3154         (define-abbrev): Don't store the `force' value in the :system property.
3155         (abbrev--before-point): Obey the :enable-function of the abbrev as well.
3157 2007-10-30  Michael Olson  <mwolson@gnu.org>
3159         * desktop.el (desktop-minor-mode-table): Add line for ERC.
3161         * textmodes/remember.el: New file that implements a mode for
3162         quickly jotting down things to remember.
3164         * textmodes/remember-diary.el: A backend for remember.el that
3165         implements saving notes to a Diary file.
3167 2007-10-29  Ken Manheimer  <ken.manheimer@gmail.com>
3169         * allout.el (allout-command-prefix, allout-inhibit-auto-fill):
3170         Relocate in file.
3171         (allout-doublecheck-at-and-shallower): Increase to include
3172         slightly greater depths, since yank interaction is now ok.
3173         Also, elaborate the docstring to explain the situation.
3174         (produce-allout-mode-map, allout-hotspot-key-handler): Use vconcat
3175         instead of concat, so we accommodate key sequences expressed as
3176         vectors as well as strings and lists.
3177         (allout-flag-region, allout-hide-by-annotation): Make the
3178         hidden-text overlays 'front-advance.
3179         (allout-overlay-insert-in-front-handler): Correct docstring's grammar.
3180         (allout-aberrant-container-p, allout-on-current-heading-p)
3181         (allout-e-o-prefix-p, allout-next-heading)
3182         (allout-previous-heading, allout-goto-prefix)
3183         (allout-end-of-prefix, allout-next-sibling-leap)
3184         (allout-next-visible-heading, allout-auto-fill)
3185         (allout-rebullet-heading, allout-kill-line, allout-kill-topic)
3186         (allout-yank-processing, allout-resolve-xref)
3187         (allout-current-topic-collapsed-p, allout-hide-region-body)
3188         (allout-latex-verbatim-quote-curr-line, allout-encrypt-string)
3189         (allout-encrypted-topic-p, allout-next-topic-pending-encryption)
3190         (count-trailing-whitespace-region): Preserve match data, so allout
3191         outline navigation doesn't disrupt other Emacs operations.
3192         (allout-beginning-of-line): Retreat to the beginning of the hidden
3193         text, so fields are respected (for submodes that care).
3194         (allout-end-of-line): Preserve mark activation status when jumping.
3195         (allout-open-topic): Account for opening after a child that
3196         contains a hidden trailing newline.  Preserve match data.
3197         Run allout-structure-added-hook
3198         (allout-encrypt-decrypted): Preserve match data.
3199         (allout-toggle-current-subtree-exposure): Add new interactive
3200         function for toggle subtree exposure - suggested by tassilo.
3201         (move-beginning-of-line, move-end-of-line): Don't use
3202         line-move-invisible-p, it's obsolete - substitute the code, instead.
3204 2007-10-29  Dan Nicolaescu  <dann@ics.uci.edu>
3206         * textmodes/flyspell.el (message-signature-separator):
3207         * longlines.el (message-indent-citation-function): Pacify byte
3208         compiler.
3210         * emacs-lisp/cl-loaddefs.el:
3211         * ldefs-boot.el: Regenerate.
3213         * Makefile.in (BYTE_COMPILE_EXTRA_FLAGS): New variable.
3214         (.el.elc, compile, compile-always, compile-calc)
3215         ($(lisp)/progmodes/cc-mode.elc): Use it.
3217         * ps-print.el (ps-xemacs-color-name, ps-xemacs-face-kind-p):
3218         Only do work for XEmacs.
3219         (ps-xemacs-mapper): Rename from ps-mapper, only work on XEmacs.
3220         (ps-xemacs-extent-sorter): Rename from ps-extent-sorter, only work
3221         on XEmacs.
3222         (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
3223         (ps-x-color-name, ps-x-color-specifier-p)
3224         (ps-x-copy-coding-system, ps-x-device-class)
3225         (ps-x-extent-end-position, ps-x-extent-face)
3226         (ps-x-extent-priority, ps-x-extent-start-position)
3227         (ps-x-face-font-instance, ps-x-find-coding-system)
3228         (ps-x-font-instance-properties, ps-x-make-color-instance)
3229         (ps-x-map-extents, ps-e-face-bold-p, ps-e-face-italic-p)
3230         (ps-e-next-overlay-change, ps-e-overlays-at, ps-e-overlay-get)
3231         (ps-e-overlay-end, ps-e-x-color-values, ps-e-color-values):
3232         (ps-generate-postscript-with-faces): Delete defaliases.
3233         (ps-face-foreground-name, ps-face-background-name)
3234         (ps-color-values, ps-face-bold-p, ps-face-italic-p):
3235         Move definitions to top level, make the body conditional on the Emacs
3236         flavor.  Replace uses of deleted aliases and renamed functions.
3237         (ps-generate-postscript-with-faces, ps-color-device): Replace uses
3238         of deleted aliases and renamed functions.
3240         * calc/calc.el (calc-emacs-type-lucid): Remove.
3241         (calc-digit-map, calcDigit-start, calc-read-key)
3242         (calc-clear-unread-commands):
3243         * calc/calc-ext.el (calc-user-key-map): Replace uses of
3244         calc-emacs-type-lucid with (featurep 'xemacs)
3246         * emulation/tpu-mapper.el: Replace tpu-lucid-emacs19-p with
3247         (featurep 'xemacs).
3248         (tpu-lucid-emacs19-p): Remove.
3249         (tpu-map-key): Make it a function instead of using fset.  Inline
3250         tpu-emacs-map-key and tpu-lucid-map-key.  Use featurep 'xemacs.
3251         (tpu-emacs-map-key, tpu-lucid-map-key): Remove.
3253         * ielm.el: Use featurep 'xemacs.
3255         * progmodes/cperl-mode.el (cperl-xemacs-p): Remove.
3256         (condition-case, cperl-can-font-lock, cperl-singly-quote-face)
3257         (cperl-define-key, cperl-mode-map, cperl-mode, cperl-init-faces)
3258         (cperl-write-tags, cperl-tags-hier-init, cperl-perldoc): Replace
3259         cperl-xemacs-p with (featurep 'xemacs).
3260         (font-lock-cache-position): Pacify byte compiler.
3262 2007-10-29  Drew Adams  <drew.adams@oracle.com>
3264         * faces.el (read-color): New function.
3265         (face-at-point, foreground-color-at-point)
3266         (background-color-at-point): New functions.
3268 2007-10-28  Richard Stallman  <rms@gnu.org>
3270         * net/browse-url.el (browse-url-text-xterm): Rename from
3271         browse-url-lynx-xterm and made generic.
3272         (browse-url-text-emacs): Likewise.
3273         (browse-url-text-browser): New variable.
3274         (browse-url-text-emacs-args): Rename from browse-url-lynx-emacs-args.
3275         (browse-url-text-input-field, browse-url-text-input-attempts)
3276         (browse-url-kde-program): Likewise.
3278 2007-10-29  Glenn Morris  <rgm@gnu.org>
3280         * textmodes/org-publish.el (org-publish-get-plist-from-filename):
3281         Use mapc rather than mapcar (reinstall change deleted without log
3282         entry 2007-10-22).
3284 2007-10-29  Martin Rudalics  <rudalics@gmx.at>
3286         * wdired.el (wdired-next-line, wdired-previous-line):
3287         Use next-line and previous-line wrapped in with-no-warnings.
3289 2007-10-29  Ryan Yeske  <rcyeske@gmail.com>
3291         * net/rcirc.el (rcirc-server-alist): Use keywords for parameter names.
3292         (rcirc-recent-quit-alist): New function.
3293         (rcirc): Print a better message when there is only one connected server.
3294         (rcirc-complete-nick): Do not update the nick table here.
3295         (rcirc-mode-map): Add M-o.
3296         (rcirc-current-line): Add variable.
3297         (rcirc-mode): Setup variables for line based omit.
3298         (rcirc-edit-multiline): Strip text properties.
3299         (rcirc-omit-responses): Add NICK.
3300         (rcirc-omit-threshold): Add variable.
3301         (rcirc-last-quit-line, rcirc-last-line, rcirc-elapsed-lines):
3302         Add functions.
3303         (rcirc-print): Keep track of current line.  Do not fill text if
3304         `rcirc-fill-flag' is null.  Only omit text if the last activity
3305         from the sender is more than `rcirc-omit-threshold' lines ago.
3306         (rcirc-put-nick-channel, rcirc-handler-PRIVMSG): Track line
3307         numbers instead of time.
3308         (rcirc-channel-nicks): Sort by line numbers instead of time.
3309         (rcirc-omit-mode): Add `...' when omitting text and recenter.
3310         (rcirc-handler-JOIN): Restore the joiners linestamp.
3311         (rcirc-maybe-remember-nick-quit): Add function.
3312         (rcirc-handler-QUIT): Record sender in table of recently quit nicks.
3314 2007-10-29  Juanma Barranquero  <lekktu@gmail.com>
3316         * loadhist.el (unload-feature-special-hooks):
3317         Add `delete-frame-functions' and `suspend-tty-functions'.
3319         * server.el (server-unload-function): Rename from `server-unload-hook'
3320         and adapt to new `unload-feature' functionality.  Remove hook from
3321         `kill-buffer-hook' buffer-locally.
3322         (server-unload-hook): Remove.
3323         (server-unload-function): New var; replaces `server-unload-hook'.
3325 2007-10-29  Glenn Morris  <rgm@gnu.org>
3327         * dirtrack.el (dirtrack-debug): Doc fix.
3328         (dirtrack-mode, dirtrack-debug-mode): New names for
3329         dirtrack-toggle and dirtrack-debug-toggle.  Use define-minor-mode.
3330         (dirtrack-toggle, dirtrack-debug-toggle, dirtrackp, dirtrack-debug):
3331         Make obsolete.
3332         (dirtrack-debug-message): Only print message if
3333         dirtrack-debug-mode is non-nil.  Use with-current-buffer.
3334         (dirtrack): Doc fix.  Use dirtrack-mode rather than dirtrackp.
3335         Remove dirtrack-debug checks now that dirtrack-debug-message does this.
3337 2007-10-28  Glenn Morris  <rgm@gnu.org>
3339         * emacs-lisp/bytecomp.el (byte-compile-warnings): Document `not'.
3340         (byte-compile-warnings-safe-p): Handle `not'.
3341         (byte-compile-warning-enabled-p, byte-compile-disable-warning)
3342         (byte-compile-enable-warning): New functions.
3343         (byte-compile-eval-before-compile)
3344         (byte-compile-file-form-require): Use byte-compile-disable-warning.
3345         (byte-compile-close-variables): Locally bind byte-compile-warnings,
3346         but do not modify it.
3347         (byte-compile-eval, byte-compile-obsolete)
3348         (byte-compile-warn-about-unresolved-functions)
3349         (byte-compile-file-form-defvar)
3350         (byte-compile-file-form-custom-declare-variable)
3351         (byte-compile-file-form-require)
3352         (byte-compile-file-form-defmumble, byte-compile-lambda)
3353         (byte-compile-form, byte-compile-normal-call)
3354         (byte-compile-variable-ref, byte-compile-defvar)
3355         (byte-compile-make-variable-buffer-local):
3356         Use byte-compile-warning-enabled-p.
3357         * emacs-lisp/advice.el (ad-compile-function):
3358         Use byte-compile-disable-warning.
3359         * emacs-lisp/cl.el: Move local variables to end of file, and set
3360         byte-compile-warnings to `(not cl-functions)'.
3361         * emacs-lisp/cl-compat.el: Add a local variables section, and set
3362         byte-compile-warnings to `(not cl-functions)'.
3363         * emacs-lisp/cl-macs.el: Unify local variable section, and set
3364         byte-compile-warnings to `(not cl-functions)'.
3365         (cl-do-proclaim): Use byte-compile-disable-warning and
3366         byte-compile-enable-warning.
3367         * emacs-lisp/cl-seq.el: Unify local variable section, and set
3368         byte-compile-warnings to `(not cl-functions)'.
3369         * progmodes/cc-bytecomp.el (cc-bytecomp-ignore-obsolete):
3370         Use byte-compile-disable-warning.
3372 2007-10-28  Dan Nicolaescu  <dann@ics.uci.edu>
3374         * cus-edit.el (custom-browse-insert-prefix):
3375         * emulation/edt.el (edt-x-emacs19-p): Use featurep 'xemacs.
3377 2007-10-28  Juanma Barranquero  <lekktu@gmail.com>
3379         * server.el (server-process-filter): Fix typo in docstring.
3380         (server-log): Reflow docstrings.
3381         (server-delete-client, server-kill-emacs-query-function): Doc fixes.
3382         (server-goto-line-column): Use `when'.
3384 2007-10-28  Juri Linkov  <juri@jurta.org>
3386         * isearch.el (isearch-other-meta-char): Call `isearch-edit-string'
3387         when mouse is clicked on the isearch message.
3388         (isearch-resume): Call `isearch-update' at the end.
3389         Rename argument `search' to `string' to conform to the
3390         isearch terminology.
3392 2007-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3394         Rewrite abbrev.c in Elisp.
3395         * abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
3396         (abbrev-table-get, abbrev-table-put, abbrev-get)
3397         (abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
3398         (define-abbrev, abbrev--check-chars, define-global-abbrev)
3399         (define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
3400         (abbrev-expansion, abbrev--before-point, expand-abbrev)
3401         (unexpand-abbrev, abbrev--write, abbrev--describe)
3402         (insert-abbrev-table-description, define-abbrev-table):
3403         New funs, largely transcribed from abbrev.c.
3404         (abbrev-with-wrapper-hook): New macro.
3405         (abbrev-table-name-list, global-abbrev-table)
3406         (abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
3407         (abbrevs-changed, abbrev-all-caps, abbrev-start-location)
3408         (abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
3409         (last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
3410         New vars, largely transcribed from abbrev.c.
3411         * cus-edit.el (abbrev-mode): Remove.  Move to abbrev.el.
3412         * cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
3413         * loadup.el: Load "abbrev.el" before "lisp-mode.el".
3415 2007-10-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3417         * ps-print.el: Now detect if text foreground and background colors are
3418         equal and replace the foreground color by another color, so the text
3419         becomes visible.  Doc fix.
3420         (ps-print-version): New version 6.8.
3421         (ps-default-fg, ps-default-bg): Docstring fix.
3422         (ps-postscript-code-directory): Fix default value code.
3423         (ps-fg-list, ps-fg-validate-p): New options.
3424         (ps-foreground-list): New var.
3425         (ps-setup, ps-begin-job, ps-plot-region): Fix code.
3427 2007-10-27  Glenn Morris  <rgm@gnu.org>
3429         * shell.el (shell-dirtrack-verbose, shell-directory-tracker): Doc fix.
3430         (shell-dirtrack-toggle): Mark as obsolete.
3431         (dirtrack-toggle, dirtrack-mode): No longer alias to
3432         shell-dirtrack-mode.
3434 2007-10-27  Jay Belanger  <jay.p.belanger@gmail.com>
3436         * calc/calc.el (math-standard-opers): Lower the precedence
3437         of negation.
3438         * calc/calc-lang.el (math-oper-table): Lower precedence of
3439         negation for C, TeX, and eqn.
3441 2007-10-27  Dan Nicolaescu  <dann@ics.uci.edu>
3443         * progmodes/cc-defs.el: Reorder conditions to avoid warnings.
3445 2007-10-27  Juanma Barranquero  <lekktu@gmail.com>
3447         * desktop.el (desktop-load-locked-desktop, desktop-base-lock-name)
3448         (desktop-not-loaded-hook): Fix :version tags.
3450 2007-10-27  Michael Albinus  <michael.albinus@gmx.de>
3452         * net/tramp.el (tramp-wrong-passwd-regexp): Tune regexp.
3453         (tramp-get-remote-tmpdir): New defun.
3454         (tramp-make-tramp-temp-file): Use it.
3455         (tramp-local-call-process): New defun.  Replace all calls of
3456         `call-process' by this when appropriate.
3457         (tramp-handle-write-region): Replace calls of `file-attributes' by
3458         `tramp-compat-file-attributes'.
3459         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3460         Make the first command a `tramp-send-command' call, with let-bind
3461         of `tramp-end-of-output'.
3462         (tramp-version, tramp-bug, tramp-reporter-dump-variable)
3463         (tramp-load-report-modules, tramp-append-tramp-buffers):
3464         Move to tramp-cmds.el.
3466         * net/tramp-fish.el (tramp-fish-handle-copy-file)
3467         (tramp-fish-do-copy-or-rename-file)
3468         (tramp-fish-do-copy-or-rename-file-directly):
3469         * net/tramp-smb.el (tramp-smb-handle-copy-file):
3470         Add parameter PRESERVE-UID-GID.
3472 2007-10-27  Eli Zaretskii  <eliz@gnu.org>
3474         * time.el (zoneinfo-style-world-list, legacy-style-world-list):
3475         New defcustoms.
3476         (display-time-world-list): Use them as appropriate for the current
3477         value of `system-type'.
3479 2007-10-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3481         * printing.el: Pacify byte compiler, that is, no compiler warnings.
3482         Move (again) some variable definitions before use, define some fun
3483         aliases, no code change.
3484         (pr-version): New version 6.9.2.
3485         (pr-path-style, pr-auto-region, pr-menu-char-height)
3486         (pr-menu-char-width, pr-menu-lock, pr-ps-printer-alist)
3487         (pr-txt-printer-alist, pr-ps-utility-alist): Options declaration
3488         via (defvar VAR).
3489         (pr-menu-lookup, pr-menu-lock, pr-menu-alist, pr-even-or-odd-pages)
3490         (pr-menu-get-item, pr-menu-set-item-name, pr-menu-set-utility-title)
3491         (pr-menu-set-ps-title, pr-menu-set-txt-title, pr-region-active-p)
3492         (pr-do-update-menus, pr-update-mode-line, pr-f-read-string)
3493         (pr-f-set-keymap-parents, pr-keep-region-active): Fun aliases.
3494         (pr-menu-print-item, pr-ps-printer-menu-modified)
3495         (pr-txt-printer-menu-modified, pr-ps-utility-menu-modified)
3496         (pr-even-or-odd-alist): Vars definition moved.
3498 2007-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
3500         * emulation/pc-select.el (next-line-mark, next-line-nomark)
3501         (previous-line-mark, previous-line-nomark): Wrap with-no-warnings
3502         around uses of previous-line and next-line.
3504         * diff.el (diff-old-file, diff-new-file, diff-extra-args):
3505         New defvars.
3507         * textmodes/css-mode.el (comment-continue):
3508         * net/browse-url.el (url-handler-regexp):
3509         * progmodes/idlw-help.el (idlwave-system-routines):
3510         Pacify byte-compiler.
3512         * textmodes/fill.el (fill-nobreak-p): Replace obsolete alias
3513         line-move-invisible-p with its former definition: invisible-p.
3514         line-move-invisible-p was removed on 2007-08-29.
3516 2007-10-26  Juanma Barranquero  <lekktu@gmail.com>
3518         * files.el (kill-emacs-query-functions): Doc fix;
3519         `save-buffers-kill-emacs' is no longer bound to a key.
3521 2007-10-26  Richard Stallman  <rms@gnu.org>
3523         * isearch-multi.el (isearch-buffers-multi): New option.
3524         (isearch-buffers-search-fun): Test it.
3526         * progmodes/ps-mode.el (ps-mode-map): Delete C-c v binding.
3527         Put ps-run-clear on C-c C-l.
3529         * newcomment.el (comment-styles): New style indent-or-triple.
3530         (comment-style): Make that the default.
3531         (comment-add defvar): Doc fix.
3532         (comment-add): Delete arg EXTRA.
3533         (comment-region-default): Open code call to comment-add.
3534         Handle indent-or-triple style which uses `multi-char' for INDENT.
3536 2007-10-26  Juanma Barranquero  <lekktu@gmail.com>
3538         * eshell/em-unix.el (nil-blank-string): Doc fix.
3540 2007-10-26  John Wiegley  <johnw@newartisans.com>
3542         * eshell/em-unix.el (eshell/diff): Before calling the `diff'
3543         function, ensure that the third argument is turned into a nil if
3544         the string is otherwise completely empty (either no characters, or
3545         all tabs/spaces).  This fixes a bug from a user who found himself
3546         unable to customize `diff-switches' and still use Eshell's diff
3547         command.
3549 2007-10-26  Glenn Morris  <rgm@gnu.org>
3551         * emacs-lisp/bytecomp.el (byte-compile-warnings): Autoload the
3552         safe-local-variable property.
3554 2007-10-26  Gwern Branwen  <gwern0@gmail.com>  (tiny change)
3556         * net/browse-url.el (browse-url-browser-function): Delete grail.
3557         (browse-url-grail): Function and variable deleted.
3558         (browse-url-browser-function): Delete IXI Mosaic.
3559         (browse-url-default-browser): Don't try IXI Mosaic.
3560         (browse-url-iximosaic): Function deleted.
3561         (browse-url-browser-function): Delete MMM.
3562         (browse-url-default-browser): Don't try MMM.
3563         (browse-url-mmm): Function deleted.
3565 2007-10-26  Drew Adams  <drew.adams@oracle.com>
3567         * custom.el (custom-note-var-changed): New function.
3569 2007-10-25  Dan Nicolaescu  <dann@ics.uci.edu>
3571         * emulation/edt-mapper.el (edt-emacs-variant): Replace the only
3572         use with the definition.  Remove.
3574         * add-log.el (change-log-start-entry-re): New defconst.
3575         (change-log-sortable-date-at): Use it.
3576         (change-log-beginning-of-defun, change-log-end-of-defun):
3577         New functions.
3578         (change-log-mode): Use them for beginning-of-defun-function and
3579         end-of-defun-function.
3581 2007-10-25  Jonathan Yavner  <jyavner@member.fsf.org>
3583         * ses.el: Make `ses--symbolic-formulas' a safe local variable.
3584         (ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees).
3585         (ses-recalculate-cell): Deal with point being just beyond end of
3586         data area (why does this happen?)
3587         (ses-set-curcell): Ditto.
3588         (ses-column-letter): Handle columns beyond 702.  Code written by
3589         Gareth Rees.
3591 2007-10-25  Carsten Dominik  <dominik@science.uva.nl>
3593         * textmodes/org.el (org-agenda-get-restriction-and-command):
3594         Use `mapc' instead of `mapcar'.
3595         (org-agenda-list): Numeric prefix argument can specify the number
3596         of days.
3597         (remember-register, remember-buffer): Prevent byte compiler from
3598         complaining.
3599         (org-todo): Save and restore match data.
3600         (org-no-warnings): New macro.
3601         (org-columns-eval): Use `org-no-warnings'.
3603 2007-10-25  Chris Moore  <christopher.ian.moore@gmail.com>
3605         * comint.el (comint-password-prompt-regexp):
3606         Handle `[sudo] password'-style prompt.
3608 2007-10-25  Glenn Morris  <rgm@gnu.org>
3610         * custom.el (custom-declare-variable): Add :risky and :safe keywords.
3611         (defcustom): Doc fix.
3613         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re):
3614         Add `non_intrinsic'.
3615         (f90-constants-re): Add ieee modules.
3616         (f90-typedef-matcher, f90-typedec-matcher)
3617         (f90-imenu-type-matcher): New functions.
3618         (f90-font-lock-keywords-1): Give module procedures function-name face.
3619         Use `f90-typedef-matcher' for derived types.  Fix `abstract interface'.
3620         Add `use, intrinsic'.
3621         (f90-font-lock-keywords-2): Use `f90-typedec-matcher' for derived types.
3622         Move start of `enum' blocks to separate entry.
3623         (f90-start-block-re): Fix `type', `abstract interface'.
3624         (f90-imenu-generic-expression): Use `f90-imenu-type-matcher' for
3625         derived types.
3626         (f90-mode-abbrev-table): Add `abstract interface', `asynchronous',
3627         `elemental', change `enumerator'.
3628         (f90-no-block-limit): Fix `abstract interface'.
3630         * progmodes/f90.el (f90-indented-comment-re)
3631         (f90-directive-comment-re, f90-break-delimiters):
3632         * progmodes/fortran.el (fortran-comment-line-start-skip)
3633         (fortran-directive-re):
3634         * textmodes/conf-mode.el (conf-space-keywords): Mark these regexps
3635         as safe if they are strings.
3637 2007-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3639         * startup.el (window-system): Remove.  Don't make it frame-local.
3641 2007-10-24  Richard Stallman  <rms@gnu.org>
3643         * savehist.el (savehist-save): Omit unreadable elements.
3645         * loadhist.el (unload-function-defs-list): Rename from
3646         unload-function-features-list.
3647         (unload-feature-special-hooks, unload-feature): Doc fixes.
3649         * indent.el (indent-to-left-margin): If point's in the indentation,
3650         move to the end of the indentation.
3652         * cus-edit.el (customize-changed-options): Make arg optional.
3654 2007-10-24  Juanma Barranquero  <lekktu@gmail.com>
3656         * bs.el (bs-select, bs-select-other-window): Fix typos in docstrings.
3658 2007-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
3660         * textmodes/org-publish.el (org-publish-attachment): Re-install
3661         accidentally deleted change.
3663 2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3665         * term/iris-ansi.el (iris-function-map): Move init into declaration.
3667 2007-10-24  Juanma Barranquero  <lekktu@gmail.com>
3669         * buff-menu.el (Buffer-menu-sort-column): Doc fix.
3670         (Buffer-menu-mode-map): Initialize in the declaration.
3671         (Buffer-menu-mode): Define with `define-derived-mode'.
3673 2007-10-24  Carsten Dominik  <dominik@science.uva.nl>
3675         * textmodes/org.el (org-version): Change to 5.13e.
3676         (org-agenda-file-regexp): Fix typo in docstring.
3677         (org-add-planning-info): Fix bug in parenthesis settings.
3678         (org-scan-tags): Catch the case of indirect buffers with no filename.
3679         (org-fast-tag-selection, org-export-as-ascii, org-export-as-html):
3680         Re-install switch to mapc, had been removed by accident.
3681         (org-columns-map): New binding `C-c C-o'.
3682         (org-columns-menu): Change menu text and added new entry.
3683         (org-columns-eval): Document the use of `next-line'.
3684         (org-columns-open-link): New function.
3685         (org-columns-follow-link): Remove function.
3686         (org-open-link-from-string): New function.
3687         (org-read-date-get-relative): Fix typo in docstring.
3688         (org-read-date-get-relative): Leading +/- is not optional.
3689         (org-agenda-get-restriction-and-command): Always resize window on
3690         first loop cycle.
3691         (org-agenda-open-link): Make sure the link abbreviations are
3692         present in the agenda buffer.
3693         (org-agenda-copy-local-variable): New function.
3695 2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3697         * vc.el (vc-update-changelog-rcs2log): Remove incorrect `backend' arg.
3699 2007-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3701         * simple.el (reindent-then-newline-and-indent): Use a `move after
3702         insert' kind of marker in the save-excursion.
3704 2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3706         * textmodes/css-mode.el: Require CL.
3707         (comment-continue): Declare.
3709         * subr.el (make-variable-frame-localizable): Remove.
3710         (make-variable-frame-local): Mark obsolete.
3712 2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3714         * textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one
3715         of the subdirs is unreadable.
3717 2007-10-23  Michael Albinus  <michael.albinus@gmx.de>
3719         * net/tramp.el (tramp-set-file-uid-gid): Protect `call-process'
3720         when we are local.
3722 2007-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3724         * progmodes/python.el (python-current-defun): Remove left-over
3725         assignment to `start'.
3727 2007-10-23  Juanma Barranquero  <lekktu@gmail.com>
3729         * ibuf-ext.el (ibuffer-auto-update-changed): Use `dolist' rather
3730         than `mapcar'; return value is not used.
3732 2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
3734         * progmodes/gud.el (gdb-source-window, gud-tooltip-mode)
3735         (hl-line-mode, hl-line-sticky-flag): Pacify byte compiler.
3737 2007-10-23  Juanma Barranquero  <lekktu@gmail.com>
3739         * ibuf-ext.el (ibuffer-switch-to-saved-filters)
3740         (ibuffer-switch-to-saved-filter-groups): Doc fixes.
3742 2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
3744         * term/xterm.el (terminal-init-xterm): Experiment with a longer timeout.
3746 2007-10-23  Katsumi Yamaoka  <yamaoka@jpl.org>
3748         * emacs-lisp/advice.el (ad-make-advised-docstring):
3749         Add ad-advice-info text property to doc string.
3751 2007-10-23  Glenn Morris  <rgm@gnu.org>
3753         * progmodes/f90.el (f90-do-indent, f90-if-indent)
3754         (f90-type-indent, f90-program-indent, f90-associate-indent)
3755         (f90-continuation-indent, f90-comment-region)
3756         (f90-beginning-ampersand, f90-smart-end)
3757         (f90-break-before-delimiters, f90-auto-keyword-case)
3758         (f90-leave-line-no, f90-mode-hook):
3759         Give an appropriate safe-local-variable property.
3761         * progmodes/fortran.el (fortran-tab-mode-default)
3762         (fortran-tab-mode-string, fortran-do-indent, fortran-if-indent)
3763         (fortran-structure-indent, fortran-continuation-indent)
3764         (fortran-comment-indent, fortran-comment-line-extra-indent)
3765         (fortran-comment-line-start)
3766         (fortran-minimum-statement-indent-fixed)
3767         (fortran-minimum-statement-indent-tab)
3768         (fortran-comment-indent-char, fortran-line-number-indent)
3769         (fortran-check-all-num-for-matching-do)
3770         (fortran-blink-matching-if, fortran-continuation-string)
3771         (fortran-comment-region, fortran-electric-line-number)
3772         (fortran-column-ruler-fixed, fortran-column-ruler-tab)
3773         (fortran-analyze-depth, fortran-break-before-delimiters):
3774         Give an appropriate safe-local-variable property.
3776 2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
3778         * printing.el: Move variable definitions before use.
3779         (pr-menu-char-width, pr-menu-char-height): Pacify byte compiler.
3781 2007-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3783         * emulation/tpu-edt.el (tpu-edt-old-global-values): New var.
3784         (tpu-edt-off): Use it.
3785         (tpu-edt-on): Set it.  Make sure the tpu-global-map is not already on
3786         the global-map before adding it to global-map.
3788         * menu-bar.el (global-buffers-menu-map): New var.
3789         (global-map, menu-bar-update-buffers): Use it.
3790         * msb.el (msb-menu-bar-update-buffers): Use it.
3791         (msb-sort-by-directory, msb--choose-menu, msb--mode-menu-cond)
3792         (msb--most-recently-used-menu, msb--create-buffer-menu-2):
3793         Use with-current-buffer.
3795 2007-10-22  Juri Linkov  <juri@jurta.org>
3797         * isearch-multi.el: New file.
3799         * isearch.el (isearch-search-string): After finding the next
3800         occurrence switch to buffer isearch-buffers-current-buffer when
3801         isearch-buffers-next-buffer-function is non-nil and
3802         isearch-buffers-current-buffer is live.
3804         * add-log.el (change-log-mode): Make and set buffer-local variable
3805         isearch-buffers-next-buffer-function to change-log-next-buffer.
3806         Call isearch-buffers-minor-mode.
3807         (change-log-next-buffer): New function.
3809 2007-10-22  Bastien Guerry  <Bastien.Guerry@ens.fr>
3811         * org-export-latex.el (org-export-latex-protect-string):
3812         Renaming of `org-latex-protect'.
3813         (org-export-latex-emphasis-alist): By default, don't protect
3814         any emphasis formatter from further conversion.
3815         (org-export-latex-tables): Honor column grouping for tables.
3816         (org-export-latex-title-command): New option.
3817         (org-export-latex-treat-backslash-char): Use \textbackslash{} to
3818         export backslash character.
3820 2007-10-22  Carsten Dominik  <dominik@science.uva.nl>
3822         * textmodes/org.el (org-read-date-get-relative): New function.
3823         (org-agenda-file-regexp): New variable.
3824         (org-agenda-files): Allow directories in the variable.
3825         (org-agenda-get-restriction-and-command): New function.
3826         (org-agenda): Use `org-agenda-get-restriction-and-command'.
3827         (org-todo-blocker-hook, org-todo-trigger-hook): New hooks.
3828         (org-entry-is-todo-p, org-entry-is-done-p, org-get-todo-state):
3829         New functions.
3830         (org-entry-add-to-multivalued-property)
3831         (org-entry-remove-from-multivalued-property)
3832         (org-entry-member-in-multivalued-property): New functions.
3833         (org-remember-apply-template): Catch C-g and make sure window
3834         configuration is restored.
3835         (org-agenda-open-link): Make it work with several links in the line.
3836         (org-drawers, org-set-regexps-and-options)
3837         (org-get-current-options): Add support for a DRAWERS in-buffer option.
3838         (org-agenda-window-frame-fractions): New option.
3839         (org-fit-agenda-window): Use `org-agenda-window-frame-fractions'.
3840         (org-columns-cleanup-item, org-find-entry-with-id)
3841         (org-insert-columns-dblock, org-listtable-to-string)
3842         (org-dblock-write:columnview, org-columns-capture-view)
3843         (org-edit-headline): New functions.
3844         (org-agenda-to-appt): Require calendar.
3845         (org-entry-get-with-inheritance): Widen for search.
3846         (org-columns-display-here): Don't mark buffer as modified when
3847         adding space characters to accomodate column overlays.
3848         (org-export-as-html): Better formatting of tags in the toc.
3849         (org-columns-display-here): Make the ITEM column as compact as possible.
3850         (org-remember-templates): Customization interface improved.
3851         (org-export-with-property-drawer): Variable removed.
3852         (org-export-with-drawers): New option.
3853         (org-complex-heading-regexp): New variable.
3854         (org-sort-entries): Rewrite using `sort-subr'.
3855         (org-set-property): More appropriate completion during interactive use.
3856         (org-sort-entries): Allow sorting by property.
3857         (org-additional-option-like-keywords): Add more values.
3858         (org-sort-entries-or-items): Rename from `org-sort-entries'.
3860 2007-10-22  Carsten Dominik  <dominik@science.uva.nl>
3862         * textmodes/org.el (org-get-date-from-calendar): New function.
3863         (org-at-timestamp-p, org-timestamp-change)
3864         (org-remember-templates): First element of each entry is now a
3865         name for the template.
3866         (org-store-log-note): Check for `org-note-abort'.
3867         (org-kill-note-or-show-branches): New command.
3868         (org-fontify-priorities): New option.
3869         (org-fontify-priorities): New function.
3870         (org-cut-subtree, org-copy-subtree): New argument N to
3871         act on N sequential subtrees.
3872         (org-paste-subtree): Fix the level at which a tree is pasted.
3873         (org-fit-agenda-window): Limitations on window size removed.
3874         (org-agenda-find-same-or-today-or-agenda): Rename from
3875         `org-agenda-find-today-or-agenda'.
3876         (org-scheduled-past-days): New option.
3877         (org-agenda-scheduled-leaders)
3878         (org-agenda-deadline-leaders): New options.
3879         (org-agenda-get-deadlines): Use `org-agenda-deadline-leaders'.
3880         (org-agenda-get-scheduled): Use `org-agenda-scheduled-leaders'.
3881         (org-export-with-tags, org-export-plist-vars)
3882         (org-infile-export-plist): New "tags" option.
3883         (org-use-property-inheritance): New option.
3884         (org-cached-entry-get): Use `org-use-property-inheritance'.
3885         (org-remember-apply-template): Fix typo.
3887 2007-10-22  Michael Albinus  <michael.albinus@gmx.de>
3889         * net/tramp.el (tramp-find-shell)
3890         (tramp-open-connection-setup-interactive-shell): Improve sending
3891         initial commands.
3892         (tramp-action-terminal): Send debug message.
3893         (tramp-wait-for-shell-prompt, tramp-send-command-internal): Remove.
3894         (tramp-barf-if-no-shell-prompt): Insert code of
3895         `tramp-wait-for-shell-prompt'.
3897 2007-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3899         * term/AT386.el (terminal-init-AT386): Use input-decode-map.
3901         * term/vt200.el (terminal-init-vt200):
3902         * term/vt201.el (terminal-init-vt201):
3903         * term/vt220.el (terminal-init-vt220):
3904         * term/vt240.el (terminal-init-vt240):
3905         * term/vt300.el (terminal-init-vt300):
3906         * term/vt320.el (terminal-init-vt320):
3907         * term/vt400.el (terminal-init-vt400):
3908         * term/vt420.el (terminal-init-vt420): Use input-decode-map.
3910         * term/wyse50.el (wyse50-terminal-map): New var.
3911         (terminal-init-wyse50): Use it and input-decode-map.
3912         (enable-arrow-keys): Emasculate.
3914         * term/tvi970.el (tvi970-terminal-map): New var.
3915         (terminal-init-tvi970): Use it and input-decode-map.
3916         (tvi970-keypad-numeric): Remove.
3917         (tvi970-set-keypad-mode): Use a terminal-parameter rather than var.
3919         * term/sun.el (sun-raw-prefix): Fill as part of declaration.
3920         (terminal-init-sun): Use it and input-decode-map.
3922         * term/news.el (terminal-init-news):
3923         * term/lk201.el (terminal-init-lk201):
3924         * term/iris-ansi.el (terminal-init-iris-ansi): Use input-decode-map.
3926 2007-10-22  Sean O'Rourke  <sorourke@cs.ucsd.edu>
3928         * complete.el (PC-expand-many-files): Remove.
3929         (PC-do-completion): Call file-expand-wildcards instead of
3930         PC-expand-many-files.
3932         * net/tramp.el (tramp-handle-expand-many-files): Remove.
3933         (PC-expand-many-files): Remove advice.
3935 2007-10-22  Glenn Morris  <rgm@gnu.org>
3937         * progmodes/f90.el: Remove leading "*" from defcustom doc-strings.
3938         Add some support for Fortran 2003 syntax:
3939         (f90-type-indent): Now also applies to `enum'.
3940         (f90-associate-indent): New user option.
3941         (f90-keywords-re, f90-keywords-level-3-re, f90-procedures-re):
3942         Add some F2003 keywords.
3943         (f90-constants-re): New constant.
3944         (f90-font-lock-keywords-1): Add `associate' blocks, and `abstract
3945         Interface'.
3946         (f90-font-lock-keywords-2): Add `enumerator', `generic', `procedure',
3947         `class'.  Arguments for `type'/`class' may have spaces.  Add a new
3948         element for functions with specified types.  Add `end enum' and
3949         `select type'.  Add `implicit enumerator' and `procedure'.
3950         Add `class default' and `type is', `class is'.  Fix `go to' regexp.
3951         (f90-font-lock-keywords-3): Add `asynchronous' attribute.
3952         (f90-font-lock-keywords-4): Add `f90-constants-re'.
3953         (f90-blocks-re): Add `enum' and `associate'.
3954         (f90-else-like-re): Add `class is', `type is', and `class default'.
3955         (f90-end-type-re): Add `enum'.
3956         (f90-end-associate-re, f90-typeis-re): New constants.
3957         (f90-end-block-re): Add `enum' and `associate'.  Change from
3958         optional whitespace to end-of-word, to avoid `enumerator'.
3959         (f90-start-block-re): Add `select type', `abstract interface', and
3960         `enum'.  Avoid `type is', and `type (sometype)'.
3961         (f90-mode-abbrev-table): Add `enumerator', `protected', and `volatile'.
3962         (f90-mode): Doc fix.
3963         (f90-looking-at-select-case): Doc fix.  Add `select type'.
3964         (f90-looking-at-associate): New function.
3965         (f90-looking-at-type-like): Avoid `type is' and `type (sometype)'.
3966         Add `enum' and `abstract interface'.
3967         (f90-no-block-limit): Add `select type' and `abstract interface'.
3968         (f90-get-correct-indent, f90-calculate-indent)
3969         (f90-end-of-block, f90-beginning-of-block, f90-next-block)
3970         (f90-indent-region, f90-match-end): Handle `associate' blocks.
3972 2007-10-22  Martin Rudalics  <rudalics@gmx.at>
3974         * progmodes/fortran.el (fortran-mode-map, fortran-window-create):
3975         Use window-full-width-p.
3977 2007-10-22  Dan Nicolaescu  <dann@ics.uci.edu>
3979         * mail/vms-pmail.el (insert-signature): Don't use end-of-buffer.
3981         * tooltip.el: Use featurep 'xemacs.
3983         * printing.el: Move variable definitions before use, no code change.
3985 2007-10-22  Juri Linkov  <juri@jurta.org>
3987         * simple.el (goto-history-element): Allow minibuffer-default to be
3988         a list of default values accessible by typing M-n in the minibuffer.
3990         * dired-x.el (dired-guess-shell-command): Put all guesses to the
3991         minibuffer default value list instead of pushing them temporarily
3992         to the history list.
3994 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
3996         * hexl.el (hexl-menu): New major mode menu.
3998 2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4000         * emacs-lisp/byte-opt.el (byte-optimize-featurep): Fix paren typo.
4002 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
4004         * w32-fns.el (w32-quote-process-args):
4005         * dos-w32.el (print-region-function, lpr-headers-switches)
4006         (ps-print-region-function): Pacify byte-compiler.
4008         * emulation/edt-mapper.el (function-key-map):
4009         (edt-map-key): Make it a function instead of using fset.
4010         Inline edt-gnu-map-key and edt-lucid-map-key.  Use featurep 'xemacs.
4011         (edt-gnu-map-key, edt-lucid-map-key): Remove.
4012         (edt-x-emacs-p): Remove.
4013         (edt-emacs-variant, edt-window-system, edt-xserver):
4014         Use featurep 'xemacs.
4016         * net/eudc.el: Use (featurep 'xemacs) instead of the string test.
4017         Replace eudc-xemacs-p with its definition.
4018         (eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
4019         (eudc-emacs-mule-p): Remove.
4020         (eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
4021         eudc-xemacs-p with feature tests.
4023         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
4024         (eudc-bob-url-keymap, eudc-bob-sound-keymap)
4025         (eudc-bob-generic-keymap, eudc-bob-popup-menu)
4026         (eudc-bob-toggle-inline-display):
4027         * net/eudc-hotlist.el (eudc-hotlist-emacs-menu):
4028         Replace eudc-emacs-p and eudc-xemacs-p with feature tests.
4030         * net/eudcb-ph.el (eudc-ph-open-session):
4031         Replace eudc-xemacs-mule-p with its former definition.
4033         * progmodes/octave-mod.el (octave-xemacs-p): Remove.
4034         (octave-abbrev-start): Replace octave-xemacs-p with (featurep 'xemacs).
4036         * progmodes/vera-mode.el (vera-xemacs): Remove.
4037         (vera-mode-syntax-table): Replace vera-xemacs with (featurep 'xemacs).
4039         * progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
4040         (vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
4041         (vhdl-speedbar-initialize, vhdl-ps-print-init)
4042         (vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
4043         (vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
4044         with (featurep 'xemacs).
4046         * progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
4047         (save-buffer-state-x):
4048         * obsolete/fast-lock.el (fast-lock-verbose):
4049         * emulation/viper-init.el (viper-xemacs-p)
4050         (viper-cond-compile-for-xemacs-or-emacs):
4051         * emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
4052         * ps-print.el (case-fold-search):
4053         * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
4054         * calculator.el (calculator-help): Use featurep 'xemacs.
4056         * progmodes/prolog.el: Undo previous change.
4057         (comint-prompt-regexp, comint-process-echoes): Pacify byte-compiler.
4059         * progmodes/dcl-mode.el:
4060         * play/yow.el:
4061         * calendar/todo-mode.el:
4062         * calendar/cal-hebrew.el:
4063         * vc-hg.el: Undo previous change.
4065         * vms-patch.el: Likewise.
4066         (print-region-function): Pacify byte-compiler.
4068 2007-10-21  Michael Albinus  <michael.albinus@gmx.de>
4070         * files.el (backup-buffer-copy): Call `copy-file' with non-nil
4071         preserve-uid-gid.
4073         * net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
4074         compatibility.  It is not used, though.
4076         * net/tramp.el (top): Put load of all tramp-* files into a dolist.
4077         Require tramp-cmds.el.
4078         (tramp-make-tramp-temp-file): We can get rid of DONT-CREATE.
4079         (tramp-handle-file-name-all-completions): Expand DIRECTORY.
4080          (tramp-do-copy-or-rename-file-directly): Make more rigid checks.
4081         (tramp-do-copy-or-rename-file-out-of-band)
4082         (tramp-maybe-open-connection): Use `make-temp-name'.  This is
4083         possible, because we don't need to create the temporary file, but
4084         we need a prefix for ssh, which has its own temporary file handling.
4085         (tramp-handle-delete-directory): Add "-f" to rmdir.
4086         (tramp-handle-dired-recursive-delete-directory): Call "rm -rf".
4087         (tramp-handle-insert-file-contents): Don't raise a tramp-error but
4088         a signal, in order to give the callee a chance to suppress.
4089         (tramp-handle-write-region): Set owner also in case of short
4090         track.  Don't use compatibility calls for `write-region' anymore.
4091         (tramp-clear-passwd): Add parameter VEC.  Adapt all callees.
4092         (tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'.
4094         * net/tramp-cmds.el: New file.
4096         * net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to
4097         `tramp-clear-passwd'.
4099         * net/trampver.el: Update release number.
4101 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
4103         * progmodes/gud.el (gud-target-name): Move definition before use.
4105         * progmodes/dcl-mode.el: Require imenu at compile time.
4107         * progmodes/cc-engine.el (c-maybe-stale-found-type):
4108         Pacify byte-compiler.
4110         * obsolete/fast-lock.el: Use featurep test instead of string-match.
4112         * eshell/esh-mode.el (eshell-handle-ansi-color):
4113         Require ansi-color at compile time too.
4115         * eshell/em-unix.el (eshell/info): Require info at compile time too.
4117         * w32-fns.el: Require w32-vars.
4119         * diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
4120         time too.
4122 2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4124         * double.el ([ignore]): Use `ignore'.
4125         (double-setup): Inline into double-mode.
4126         (double-mode): Use define-minor-mode.
4128 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
4130         * textmodes/reftex.el: Move require easymenu before first use.
4131         (reftex-info): Require info at compile too.
4133         * textmodes/org-publish.el (org-publish-org-to-html)
4134         (org-publish-org-to): Require org at compile time too.
4135         (org-publish-attachment): Require at compile time too.
4137         * term/tty-colors.el (w32-tty-standard-colors):
4138         Pacify byte-compiler.
4140         * term/pc-win.el (frame-creation-function-alist): Add to this
4141         instead of setting frame-creation-function.
4143         * play/blackbox.el (bb-up, bb-down): Use forward-line.
4145         * net/rcirc.el (rcirc-markup-text-functions): Move definition earlier.
4147         * calendar/todo-mode.el: Require calendar at compile time.
4149         * calendar/cal-hebrew.el: Require holidays at compile time.
4151         * w32-vars.el: Provide w32-vars.
4153         * term/w32-win.el: Require w32-vars.
4154         (w32-color-map): Pacify byte-compiler.
4156         * loadup.el: Load w32-vars before term/w32-win.
4158 2007-10-20  Juri Linkov  <juri@jurta.org>
4160         * textmodes/fill.el (fill-paragraph): When the region is active,
4161         don't try other `or' branches regardless of the value returned by
4162         fill-region; just return t.
4164 2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>
4166         * vc.el (vc-do-command): Condition out a misleading message when
4167         running asynchronously.
4168         (vc-deduce-fileset): New argument enables using an unregistered
4169         visited file as a singleton fileset if nothing else is available.
4170         (vc-next-action): Restore file-registering behavior.
4172 2007-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
4174         * calc/README: Add recent news.
4176 2007-10-20  Dan Nicolaescu  <dann@ics.uci.edu>
4178         * term/x-win.el (x-gtk-stock-map, icon-map-list)
4179         (x-gtk-map-stock): Delete duplicated definitions from merge.
4181         * progmodes/compile.el (compilation-skip-to-next-location)
4182         (compilation-skip-threshold, compilation-skip-visited):
4183         Move definitions earlier.
4185         * play/decipher.el (decipher-keypress):
4186         * play/zone.el (zone-fall-through-ws):
4187         * play/landmark.el (lm-move-down, lm-move-up):
4188         * play/handwrite.el (handwrite):
4189         * mail/mspools.el (mspools-visit-spool):
4190         * wdired.el (wdired-next-line, wdired-previous-line):
4191         * tar-mode.el (tar-subfile-save-buffer):
4192         * scroll-lock.el (scroll-lock-next-line)
4193         (scroll-lock-previous-line):
4194         * image-dired.el (image-dired-next-line)
4195         (image-dired-previous-line):
4196         * ediff-help.el (ediff-help-message-line-length):
4197         Use forward-line.
4199         * smerge-mode.el (smerge-auto-refine):
4200         * diff-mode.el (diff-auto-refine): Add :group.
4202         * play/yow.el: Require doctor at compile time.
4204         * vmsproc.el: Provide vmsproc.
4205         (command-send-input): Use forward-line.
4207         * vms-patch.el: Require ps-print and vmsproc at compile time.
4209         * vc-mtn.el (log-view-message-re, log-view-file-re)
4210         (log-view-font-lock-keywords): Pacify byte-compiler.
4212         * vc-hg.el: Require log-view at compile time.
4214 2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>
4216         * log-view.el (log-view-diff): Adapt log-view-diff for new VC API.
4218 2007-10-20  Glenn Morris  <rgm@gnu.org>
4220         * progmodes/f90.el (f90-font-lock-keywords-2)
4221         (f90-looking-at-type-like): Fix regexp typos.
4223 2007-10-19  Juanma Barranquero  <lekktu@gmail.com>
4225         * bs.el (bs--track-window-changes): Don't refresh the whole list.
4226         (bs-mode): Set mode-class property to special.
4228 2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4230         * diff-mode.el (diff-auto-refine): New var.
4231         (diff-hunk): Use it.
4232         (diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk.
4233         (diff-refine-change): Rename from diff-fine-change.  Change it.
4234         (diff-refine-preproc): Rename from diff-fine-highlight-preproc.
4235         (diff-refine-hunk): Rename from diff-fine-highlight.
4237 2007-10-20  John Paul Wallington  <jpw@pobox.com>
4239         * help-fns.el (describe-variable-custom-version-info): New function
4240         to return variable's version or package version note.
4241         (describe-variable): Use it, display result.
4243 2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4245         * smerge-mode.el (smerge-auto-refine): New var.
4246         (smerge-next, smerge-prev): Use it.
4247         (smerge-batch-resolve): Ad-hoc trick for Arch's .rej files.
4249         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4250         Add `body' arg.  Cleanup the check-narrow-maybe/re-narrow-maybe mess.
4252         * vc-bzr.el (vc-bzr-diff-tree):
4253         * vc-git.el (vc-git-diff-tree):
4254         * vc-hg.el (vc-hg-diff-tree):
4255         * vc-mcvs.el (vc-mcvs-diff-tree):
4256         * vc-mtn.el (vc-mtn-diff-tree):
4257         * vc-svn.el (vc-svn-diff-tree): Remove.
4259         * vc-mtn.el (vc-mtn-revision-completion-table):
4260         * vc-cvs.el (vc-cvs-revision-completion-table):
4261         * vc-arch.el (vc-arch-revision-completion-table):
4262         * vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table):
4263         * vc-git.el (vc-git-revision-completion-table, vc-git-revision-table):
4264         Make it work when the arg is a list of files.
4266 2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4268         * vc.el: Remove `diff-tree' operation, now subsumed by `diff'.
4269         Also `revision-completion-table' now takes a list of files.
4270         (vc-deduce-fileset): Remove unused var `regexp'.
4271         Only obey allow-directory-wildcard in dired buffers.
4272         (vc-default-diff-tree): Remove.
4273         (vc-diff-added-files): New var.
4274         (vc-diff-internal): Use it.  Remove arg `backend'.  Update callers.
4275         (vc-version-diff): Revert from `vc-history-diff' to the original name.
4276         Remove the `backend' arg.
4277         (vc-contains-version-controlled-file): Remove.
4278         (vc-diff): Bring it closer to the version in Emacs-22.
4279         (vc-revert): Fix typo in let-binding.
4280         (vc-default-unregister): Remove.
4281         (vc-dired-buffers-for-dir): Remove N^2 behavior.
4283 2007-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
4285         * textmodes/two-column.el (2C-split, 2C-merge):
4286         * textmodes/bib-mode.el (bib-find-key, mark-bib):
4287         * progmodes/idlw-shell.el (idlwave-shell-move-or-history):
4288         * progmodes/etags.el (find-tag-in-order, etags-tags-apropos)
4289         * progmodes/ada-xref.el (ada-get-all-references):
4290         * obsolete/mlsupport.el (ml-next-line, ml-previous-line):
4291         * emulation/vi.el (vi-previous-line-first-nonwhite)
4292         (vi-effective-range, vi-put-before):
4293         * emulation/edt.el (edt-next-line, edt-previous-line)
4294         (edt-paragraph-forward): Use forward-line.
4296         * progmodes/etags.el (tags-apropos): Require apropos at compile
4297         time too.
4299         * progmodes/prolog.el: Require comint when compiling.
4300         (inferior-prolog-flavor): Move defvar before use.
4302 2007-10-19  Richard Stallman  <rms@gnu.org>
4304         * font-core.el (turn-on-font-lock-if-desired):
4305         Rename from `turn-on-font-lock-if-enabled'.
4306         Fully obey `font-lock-global-modes'.
4308 2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4310         * diff-mode.el (diff-fine-highlight-preproc): Stick to minimal changes
4311         which will not affect the behavior of things like forward-word.
4312         (diff-fine-highlight): Preserve point.
4314         * doc-view.el (doc-view-mode-map): Use remapping.
4315         Don't rebind C-v, M-v to their default value.
4316         Don't bind mouse-4 and mouse-5: it's mwheel.el's job.
4318         * smerge-mode.el: Add word-granularity refinement.
4319         (smerge-refine-forward-function, smerge-refine-ignore-whitespace)
4320         (smerge-refine-weight-hack): New vars.
4321         (smerge-refine-forward): New fun.
4322         (smerge-refine-chopup-region, smerge-refine-highlight-change): Use them.
4323         (smerge-refine-subst): Use them as well.  Preserve point.
4325 2007-10-19  Juanma Barranquero  <lekktu@gmail.com>
4327         * follow.el (follow-unload-function): New function.
4329         * loadhist.el (unload-function-features-list):
4330         Rename from `unload-hook-features-list'.
4331         (unload-hook-features-list): Add as obsolete alias.
4332         (unload-feature): Use `unload-function-features-list'
4333         and new FEATURE-unload-function.
4335 2007-10-19  Glenn Morris  <rgm@gnu.org>
4337         * bindings.el (mouse-minor-mode-menu)
4338         (minor-mode-menu-from-indicator): Move to mouse.el.
4339         * mouse.el (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
4340         Move here from bindings.el.
4342 2007-10-19  Richard Stallman  <rms@gnu.org>
4344         * help-fns.el (describe-function-1): Don't use the advice origname
4345         if it has no function definition.
4347 2007-10-18  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
4349         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion.
4350         Use `save-restriction' rather than `widen'.
4352 2007-10-18  Richard Stallman  <rms@gnu.org>
4354         * time.el (display-time-world-time-format): Display day # not month #.
4356 2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>
4358         * files.el (auto-mode-alist): Don't use doc-view for PS and EPS.
4360         * doc-view.el: Remove version keyword.
4361         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4362         (doc-view-ps2pdf-program): Use executable-find.  Simplify custom type.
4363         (doc-view-ghostscript-options): Improve custom type.
4364         (doc-view-cache-directory, doc-view-conversion-buffer)
4365         (doc-view-conversion-refresh-interval): Simplify custom type.
4367 2007-10-18  Tassilo Horn  <tassilo@member.fsf.org>
4369         * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
4370         (doc-view-pdf/ps->png-sentinel, doc-view-pdf/ps->png)
4371         (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
4372         (doc-view-ps->pdf-sentinel, doc-view-ps->pdf):
4373         Remove superfluous messages.
4374         (doc-view-mode-map): Use the image-mode scrolling commands.
4375         Don't rebind C-x k.
4377 2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>
4379         * doc-view.el (doc-view-ghostscript-options, doc-view-ps->pdf):
4380         Add comment about "-dSAFER".
4382 2007-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4384         * term/xterm.el: Don't require xt-mouse.
4385         (terminal-init-xterm): Run terminal-init-xterm-hook rather than
4386         calling turn-on-xterm-mouse-tracking-on-terminal directly.
4388         * xt-mouse.el: Don't change the global function-key-map anny more.
4389         (xterm-mouse-mode): Use terminal-init-xterm-hook.
4390         Don't use after-make-frame-functions now that term/xterm.el calls
4391         us directly.
4392         (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
4393         Use turn-*-xterm-mouse-tracking-on-terminal.  Only once per terminal.
4394         (turn-on-xterm-mouse-tracking-on-terminal): Make param optional.
4395         Setup input-decode-map and remember that xterm-mouse-mode was
4396         enabled in this terminal.
4397         (turn-off-xterm-mouse-tracking-on-terminal): Only disable on those
4398         terminals where it has been enabled.
4400         * faces.el (tty-create-frame-with-faces): Make sure not only
4401         tty-run-terminal-initialization but also set-locale-environment
4402         are run only once per terminal.
4403         (tty-run-terminal-initialization): Don't check if the terminal was
4404         already initted.
4406         * international/encoded-kb.el (encoded-kbd-setup-display): Be careful
4407         not to remove keymaps that just happen to inherit from one of ours.
4408         When setting up our keymap, make sure it won't be accidentally
4409         modified by someone else.
4411 2007-10-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
4413         * textmodes/artist.el (artist-previous-line, artist-next-line):
4414         * dired.el (dired-next-line, dired-previous-line):
4415         * progmodes/delphi.el (delphi-newline):
4416         * textmodes/org.el (org-columns-eval):
4417         Use forward-line.
4419         * emerge.el (emerge-setup): Use insert-buffer-substring.
4420         (emerge-prepare-error-list, emerge-setup-with-ancestor): Likewise.
4422 2007-10-18  Juanma Barranquero  <lekktu@gmail.com>
4424         * textmodes/fill.el (fill-individual-paragraphs): Doc fix.
4425         (adaptive-fill-function): Doc fix.  Remove * from docstring.
4427 2007-10-18  Tom Horsley  <tom.horsley@att.net>
4429         * simple.el (interprogram-paste-function): Doc fix.
4430         (current-kill): Accept list of strings as well
4431         as single string from `interprogram-paste-function'.
4433 2007-10-18  Glenn Morris  <rgm@gnu.org>
4435         * ibuf-ext.el (ibuffer-saved-filter-groups): Doc fix.
4437 2007-10-18  Drew Adams  <drew.adams@oracle.com>
4439         * bindings.el (mode-line-minor-mode-keymap):
4440         Add mouse-minor-mode-menu on mouse-1.
4441         (mode-line-modes): Add mouse-1 to help-echo text.
4442         (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
4443         New functions.
4444         (mode-line-minor-mode-help): Doc fix.
4446 2007-10-17  Juri Linkov  <juri@jurta.org>
4448         * textmodes/fill.el (fill-paragraph-or-region): Remove function
4449         at the request of RMS.
4450         (fill-paragraph): Change `arg' to optional `justify'.  Add interactive
4451         arg `region'.  Fix docstring.  At the first `or' branch add call to
4452         `fill-region' if it the region is active in transient-mark-mode.
4454         * bindings.el (esc-map): Bind M-q to fill-paragraph
4455         instead of fill-paragraph-or-region.
4457         * tutorial.el (tutorial--default-keys): Replace fill-paragraph-or-region
4458         with fill-paragraph.
4460         * textmodes/ispell.el (ispell-word): Add interactive arg `region'.
4461         Fix docstring.
4463         * indent.el (indent-for-tab-command): Change interactive spec from
4464         "P" to "p".  Add check for interactive arg before indenting the
4465         active region.
4467         * files.el (auto-mode-alist): Add \\. before PDF/PS/DVI extensions.
4468         Regroup.
4470 2007-10-17  Juanma Barranquero  <lekktu@gmail.com>
4472         * emacs-lisp/find-func.el: Don't require loadhist.
4474         * loadhist.el (feature-symbols, file-provides, file-requires)
4475         (file-set-intersect, file-dependents): Simplify.
4476         (unload-feature-special-hooks): Update list of special hooks.
4478 2007-10-17  Tassilo Horn  <tassilo@member.fsf.org>
4480         * bindings.el (completion-ignored-extensions): Remove pdf and dvi
4481         extensions since they can be viewed with doc-view.
4483         * files.el (auto-mode-alist): Make doc-view-mode the default mode
4484         for pdf, ps and dvi files.
4486         * doc-view.el: Make doc-view-mode the standard mode for viewing
4487         pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
4488         text and image display.  Add binding C-c C-e to switch to an
4489         editing mode.
4490         (doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
4491         avoid security problems when rendering files from untrusted sources.
4493 2007-10-17  Aaron Hawley  <aaronh@garden.org>
4495         * tutorial.el (tutorial--save-tutorial): Display message when tutorial
4496         position is not saved.
4498 2007-10-17  Reiner Steib  <Reiner.Steib@gmx.de>
4500         * doc-view.el: Mention xpdf.  Fix spelling of Ghostscript.
4501         (doc-view-ghostscript-options): Fix typo in doc string.
4503 2007-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4505         * progmodes/compile.el (compilation-next-error-function): Fix timestamp
4506         handling, so compilation-fake-loc works again.
4508         * server.el (server-select-display): Nop if we do not support m-f-o-d.
4509         (server-process-filter): Revert last change.
4511         * vc.el (vc-diff-sentinel, vc-diff-internal): Revert some change in the
4512         behavior unrelated to filesets.
4514 2007-10-17  Chong Yidong  <cyd@stupidchicken.com>
4516         * longlines.el (longlines-wrap-follows-window-size): Integer value
4517         specifies wrapping margin.
4518         (longlines-mode, longlines-window-change-function):
4519         Set window-specific wrapping margin based on the above.
4521 2007-10-17  John Wiegley  <johnw@newartisans.com>
4523         * eshell/esh-cmd.el (eshell-complex-commands): Add "ls".
4525 2007-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
4527         * server.el (server-process-filter): Only set display if X11 is
4528         supported.
4530 2007-10-17  Glenn Morris  <rgm@gnu.org>
4532         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
4533         Tweak regexp to avoid stack overflow.
4535 2007-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4537         * simple.el (reindent-then-newline-and-indent): Don't assume that
4538         indent-according-to-mode preserves point.
4540 2007-10-16  Juanma Barranquero  <lekktu@gmail.com>
4542         * bs.el (bs--make-header-match-string, bs-show-in-buffer)
4543         (bs--nth-wrapper): Simplify.
4544         (bs-select, bs--insert-one-entry): Simplify.  Use `when'.
4545         (bs-buffer-list): Simplify.  Use `when'.  Use `string-match-p'.
4546         (bs-sort-buffer-interns-are-last): Use `string-match-p'.
4547         (bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp)
4548         (bs-maximal-buffer-name-column, bs-minimal-buffer-name-column)
4549         (bs-configurations, bs-default-configuration)
4550         (bs-alternative-configuration, bs-cycle-configuration-name)
4551         (bs-string-show-always, bs-string-show-never, bs-string-current)
4552         (bs-string-current-marked, bs-string-marked, bs-string-show-normally)
4553         (bs-sort-functions, bs-default-sort-name): Remove * in docstrings.
4554         (bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete)
4555         (bs-apply-sort-faces, bs-next-config-aux): Use `when'.
4556         (bs--window-config-coming-from): Revert 2006-11-09 change.
4557         (bs--restore-window-config): Keep the selected frame.
4558         (bs--track-window-changes, bs--remove-hooks): New functions.
4559         (bs-mode): Use `define-derived-mode'.  Set hook to track window changes.
4560         (bs--create-header): Remove.
4561         (bs--create-header-line): New function, based on `bs--create-header'.
4562         (bs--show-header): Use `bs--create-header-line'.
4563         (bs--show-with-configuration): Revert 2006-11-09 change.
4564         Don't reuse window unless it is visible on the selected frame.
4565         Restore window configuration (possibly in a different frame)
4566         before creating any window.
4568 2007-10-16  Glenn Morris  <rgm@gnu.org>
4570         * simple.el (blink-matching-open): Don't report false errors with
4571         the `$' syntax class.
4573 2007-10-16  Richard Stallman  <rms@gnu.org>
4575         * emacs-lisp/advice.el (ad-get-advice-info): Change to a function.
4576         (ad-get-advice-info-macro): New macro, like old ad-get-advice-info.
4577         (ad-is-advised, ad-get-advice-info-field)
4578         (ad-set-advice-info-field): Use ad-get-advice-info-macro.
4580 2007-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4582         * vc-hooks.el (vc-workfile-version): Compatibility alias.
4583         (vc-default-working-revision): Compatibility for backends.
4585 2007-10-15  Juanma Barranquero  <lekktu@gmail.com>
4587         * filesets.el (filesets-alist-get): Use `let' rather than `let*'.
4588         (filesets-ormap, filesets-sort-case-sensitive-flag)
4589         (filesets-remake-shortcut, filesets-ingroup-collect-files):
4590         Fix typos in docstrings.
4591         (filesets-conditional-sort, filesets-find-or-display-file)
4592         (filesets-data-get-name, filesets-data-get-data)
4593         (filesets-data-set, filesets-cmd-query-replace-getargs)
4594         (filesets-ingroup-collect): Doc fixes.
4596 2007-10-15  Sam Steingold  <sds@gnu.org>
4598         * mail/sendmail.el (sendmail-error-reporting-interactive)
4599         (sendmail-error-reporting-non-interactive): New variables for
4600         sendmail error reporting options to simplify support for imperfect
4601         sendmail emulators.
4602         (sendmail-send-it): Use them instead of list literals.
4604 2007-10-15  Juanma Barranquero  <lekktu@gmail.com>
4606         * help-fns.el: Revert previous change; it creates a
4607         dependency loop between advice.el and help-fns.el.
4609 2007-10-15  Juanma Barranquero  <lekktu@gmail.com>
4611         * help-fns.el: Require advice when compiling.
4613 2007-10-14  Drew Adams  <drew.adams@oracle.com>
4615         * emacs-lisp/ring.el (ring-convert-sequence-to-ring)
4616         (ring-insert+extend, ring-remove+insert+extend, ring-member)
4617         (ring-next, ring-previous): New functions.
4619 2007-10-14  Richard Stallman  <rms@gnu.org>
4621         * emacs-lisp/advice.el (documentation): Advice deleted.
4622         Doc for advised functions is now handled at C level.
4623         (ad-stop-advice, ad-start-advice): Don't enable or disable
4624         advice for `documentation'.
4625         (ad-advised-definition-docstring-regexp): Var deleted.
4626         (ad-make-advised-definition-docstring): Store orig name
4627         as text property of string.
4628         (ad-advised-definition-p): Check for text property of docstring.
4630         * help-fns.el (describe-function-1): Find source of advised functions.
4632 2007-10-14  Juri Linkov  <juri@jurta.org>
4634         * faces.el (describe-face): Allow handling a string as the face name.
4636         * textmodes/ispell.el (ispell-word): Call `ispell-region' on the
4637         active region in transient-mark-mode.
4638         (ispell-region): Change messages displayed at the start and end of
4639         the spell-checking to be the same.
4641         * startup.el (fancy-startup-tail): Say exactly what does the button
4642         dismiss ("Dismiss this startup screen").  Use text "Never show
4643         it again" for the checkbox after this button.
4644         (fancy-startup-screen, fancy-about-screen): Put point before the
4645         first link, so the user can quickly select links with the keyboard.
4646         (normal-mouse-startup-screen): Add more useful text describing how
4647         to follow a link.
4649 2007-10-14  Glenn Morris  <rgm@gnu.org>
4651         * progmodes/etags.el (select-tags-table): Disable undo in the
4652         `*Tags Table List*' buffer.
4654 2007-10-13  Eli Zaretskii  <eliz@gnu.org>
4656         * dired.el (dired-warn-writable): New face.
4657         (dired-warn-writable-face): New variable.
4658         (dired-font-lock-keywords): Use dired-warn-writable-face, instead
4659         of dired-warning-face, for group- and world-writable files.
4661 2007-10-13  Richard Stallman  <rms@gnu.org>
4663         * files.el (directory-abbrev-alist): Doc fix.
4665 2007-10-13  Jari Aalto  <jari.aalto@cante.net>
4667         * comint.el (comint-password-prompt-regexp): Add 'LDAP'.
4669 2007-10-12  Martin Rudalics  <rudalics@gmx.at>
4671         * frame.el (set-frame-configuration): Assign name parameter only
4672         if it has been set explicitly before.
4674 2007-10-11  Tom Tromey  <tromey@redhat.com>
4676         * progmodes/gdb-ui.el (gdb-info-stack-custom): Ensure current
4677         frame is visible.
4679 2007-10-10  Richard Stallman  <rms@gnu.org>
4681         * emacs-lisp/debug.el (debugger-setup-buffer): Disable undo
4682         in *Backtrace*.
4684         * faces.el (face-font-selection-order): Doc fix.
4686         * loadhist.el (unload-feature): Doc fix.
4688 2007-10-13  Glenn Morris  <rgm@gnu.org>
4690         * progmodes/octave-mod.el (octave-looking-at-kw): Add doc string.
4691         (octave-re-search-forward-kw, octave-re-search-backward-kw):
4692         Add doc string, and an explicit COUNT argument.
4693         (octave-scan-blocks, octave-beginning-of-defun): Explicitly pass
4694         `inc' to search functions.
4696         * faces.el (face-spec-set): When FRAME is nil, set the default for
4697         new frames (restores pre-2007-09-17 behavior).  Doc fix.
4699 2007-10-13  John W. Eaton  <jwe@octave.org>
4701         * progmodes/octave-mod.el (octave-looking-at-kw)
4702         (octave-re-search-forward-kw, octave-re-search-backward-kw):
4703         New functions.
4704         (octave-in-defun-p, calculate-octave-indent)
4705         (octave-blink-matching-block-open, octave-beginning-of-defun)
4706         (octave-auto-fill): Use octave-looking-at-kw instead of looking-at,
4707         to search for regexps that contain case-sensitive keywords.
4708         (octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw.
4709         (octave-scan-blocks): Likewise, for octave-re-search-forward-kw.
4711 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
4713         * frame.el (select-frame-set-input-focus): Fix typo "max" -> "mac".
4714         Do not use a single clause cond.
4716         * cus-start.el (all): Use test that does not match the X11 version
4717         for mac.
4719 2007-10-13  Markus Gritsch  <m.gritsch@gmail.com>  (tiny change)
4721         * progmodes/ebrowse.el (ebrowse-tree-mode): Disable undo in the
4722         BROWSE buffer.
4724 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
4726         * cus-start.el (all): Undo previous change.
4728 2007-10-13  Glenn Morris  <rgm@gnu.org>
4730         * woman.el (woman0-rename): Fix paren typo.
4732         * mail/feedmail.el (feedmail-run-the-queue)
4733         (feedmail-look-at-queue-directory):
4734         * mail/reporter.el (reporter-dump-state):
4735         * net/eudc-hotlist.el (eudc-edit-hotlist):
4736         * net/eudc.el (eudc-display-records)
4737         (eudc-filter-duplicate-attributes)
4738         (eudc-distribute-field-on-records, eudc-query-form, eudc-process-form):
4739         * net/eudcb-bbdb.el (eudc-bbdb-filter-non-matching-record)
4740         (eudc-bbdb-query-internal):
4741         * net/eudcb-ldap.el (eudc-ldap-simple-query-internal):
4742         * net/socks.el (socks-build-auth-list):
4743         * progmodes/cc-cmds.el (top level):
4744         * progmodes/cc-styles.el (c-make-styles-buffer-local, c-set-style):
4745         * progmodes/cperl-mode.el (top level, cperl-imenu-addback)
4746         (cperl-write-tags, cperl-tags-treeify):
4747         * progmodes/ebnf-yac.el (ebnf-yac-token-table):
4748         * progmodes/ebnf2ps.el (ebnf-map-name, ebnf-dimensions):
4749         * progmodes/idlw-shell.el (idlwave-shell-filter-bp, top level):
4750         * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere)
4751         (idlwave-toolbar-remove-everywhere):
4752         * progmodes/idlwave.el (idlwave-indent-line)
4753         (idlwave-sintern-keyword-list, idlwave-scan-user-lib-files)
4754         (idlwave-write-paths, idlwave-all-method-classes)
4755         (idlwave-all-method-keyword-classes, idlwave-entry-keywords)
4756         (idlwave-fix-keywords, idlwave-display-calling-sequence)
4757         (idlwave-complete-in-buffer):
4758         * textmodes/org.el (org-export-as-html, org-export-as-ascii)
4759         (org-fast-tag-selection):
4760         * textmodes/reftex-sel.el (reftex-select-item): Use mapc rather
4761         than mapcar.
4763 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
4765         * diff-mode.el (diff-fine-change): Add :group.
4767 2007-10-12  Dan Nicolaescu  <dann@ics.uci.edu>
4769         * cus-start.el (all): Use the same test as the 22.2 branch.
4771 2007-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4773         * diff-mode.el (diff-current-defun): Force recomputation of
4774         change-log-default-name.
4776 2007-10-12  Chong Yidong  <cyd@stupidchicken.com>
4778         * startup.el (fancy-startup-screen): Remove an unnecessary newline
4779         and some leftover logic regarding dedicated frames.  If showing
4780         concise startup screen, fit window to buffer.
4781         (command-line-1): If we will be using the splash screen, use
4782         find-file instead of find-file-other-window to find additional files.
4783         Comment out unused code for coping with the old sit-for behavior.
4785 2007-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4787         * term/xterm.el (xterm-function-map, xterm-alternatives-map): Use the
4788         `meta' modifier consistently, rather than using sometimes meta
4789         sometimes alt.
4791 2007-10-12  Martin Rudalics  <rudalics@gmx.at>
4793         * window.el (handle-select-window): Revert part of 2007-10-08
4794         change setting the input focus.
4796 2007-10-12  Glenn Morris  <rgm@gnu.org>
4798         * startup.el (command-line): Do not read abbrev file in batch mode.
4800         * emacs-lisp/byte-opt.el (top level):
4801         * mail/rmail.el (rmail-list-to-menu):
4802         * obsolete/hilit19.el (hilit-mode):
4803         * progmodes/cc-mode.el (c-postprocess-file-styles)
4804         (c-submit-bug-report):
4805         * textmodes/org-publish.el (org-publish-get-plist-from-filename):
4806         * textmodes/reftex.el (reftex-erase-all-selection-and-index-buffers)
4807         (reftex-access-parse-file):
4808         * textmodes/reftex-cite.el (reftex-do-citation)
4809         (reftex-insert-bib-matches):
4810         * textmodes/reftex-ref.el (reftex-offer-label-menu):
4811         * textmodes/reftex-sel.el (reftex-select-unmark):
4812         * textmodes/reftex-toc.el (reftex-toc-do-promote):
4813         * vc-mcvs.el (vc-mcvs-checkin): Use mapc rather than mapcar.
4815         * cus-edit.el (custom-variable-menu, custom-face-menu)
4816         (custom-group-menu): Check init-file-user rather than
4817         user-init-file, in case cus-edit is loaded by site-run-file.
4819 2007-10-11  Dan Nicolaescu  <dann@ics.uci.edu>
4821         * vc.el (vc-deduce-fileset): Delete unused code.
4822         (vc-next-action): Fix typos.
4824 2007-10-11  Juanma Barranquero  <lekktu@gmail.com>
4826         * bs.el (bs--mark-unmark): New function.
4827         (bs-mark-current, bs-unmark-current): Use it.
4829 2007-10-11  Eric S. Raymond  <esr@snark.thyrsus.com>
4831         * vc.el (vc-diff):
4832         (vc-diff-internal): Merge a patch by Juanma Barranquero.  Also,
4833         temporarily disable the check for his edge case of
4834         vc-diff (stopping it from grinding when called from $HOME), as
4835         it's calling some brittle code in vc-hooks.el.
4836         (with-vc-properties): Fix evaluation time of a macro argument.
4837         * ediff-vers.el (ediff-vc-internal):
4838         * vc-hooks.el:
4839         * loaddefs.el: Follow up on VC terminology change.
4841 2007-10-11  Juanma Barranquero  <lekktu@gmail.com>
4843         * follow.el (follow-stop-intercept-process-output):
4844         Use `follow-call-process-filter' rather than `process-filter'.
4845         Simplify.
4847 2007-10-11  Eric S. Raymond  <esr@snark.thyrsus.com>
4849         * vc-hooks.el (vc-registered): Robustify this function a bit
4850         against filenames with no directory component.
4852 2007-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4854         * international/characters.el: Undo unwanted and unexplained change.
4856 2007-10-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4858         * ps-print.el: Fix the usage of :foreground and :background face
4859         attributes.  Reported by Nikolaj Schumacher <n_schumacher@web.de>.
4860         (ps-print-version): New version 6.7.6.
4861         (ps-face-attributes, ps-face-attribute-list, ps-face-background):
4862         Fix code.
4863         (ps-face-foreground-color-p, ps-face-background-color-p)
4864         (ps-face-color-p): New inline funs.
4866 2007-10-10  Carsten Dominik  <dominik@science.uva.nl>
4868         * textmodes/org.el (org-additional-option-like-keywords): New constant.
4869         (org-complete): Use `org-additional-option-like-keywords'.
4870         (org-parse-local-options): New function.
4872 2007-10-10  Carsten Dominik  <dominik@science.uva.nl>
4874         * textmodes/org.el (org-in-clocktable-p): New function.
4875         (org-clock-report): Only update the table at point, or insert a new one.
4876         (org-clock-goto): New function.
4877         (org-open-file): Use `start-process-shell-command' instead of
4878         `shell-command' with an ampersand.
4879         (org-deadline, org-schedule): New argument REMOVE to remove the
4880         date from the entry.
4881         (org-agenda-schedule, org-agenda-deadline): Pass the prefix
4882         argument to `org-schedule' and `org-deadline'.
4883         (org-trim): Use the correct expressions for beginning and end of
4884         the string.
4885         (org-get-cleaned-entry): Trim the string before returning it.
4886         (org-clock-find-position): New function.
4887         (org-clock-into-drawer): New option.
4888         (org-agenda-tags-column): Rename from
4889         `org-agenda-align-tags-to-column'.
4890         (org-agenda-align-tags): Allow negative values for
4891         `org-agenda-tags-column'.
4892         (org-insert-labeled-timestamps-before-properties-drawer): Remove var.
4893         (org-agenda-to-appt): New optional argument FILTER.
4894         (org-completion-fallback-command): New variable.
4895         (org-complete): Use `org-completion-fallback-command'.
4896         (org-find-base-buffer-visiting): Catch the case that there is no
4897         buffer visiting the file.
4898         (org-property-or-variable-value): New function.
4899         (org-todo): Use `org-property-or-variable-value'
4900         (org-agenda-compact-blocks): New option.
4901         (org-prepare-agenda, org-agenda-list): Use `org-agenda-compact-blocks'.
4902         (org-agenda-schedule, org-agenda-deadline):
4903         Call `org-agenda-show-new-time'.
4904         (org-agenda-show-new-time): New argument PREFIX.
4905         (org-colgroup-info-to-vline-list): Fix but that cause a
4906         shift in the vertical lines.
4907         (org-buffer-property-keys): New argument INCLUDE-DEFAULTS.
4908         (org-maybe-renumber-ordered-list, org-cycle-list-bullet)
4909         (org-indent-item): No arg in call to `org-fix-bullet-type'.
4910         (org-fix-bullet-type): Remove argument.
4911         (org-read-date): Check for am/pm twice, to catch the end time.
4912         (org-goto-map): Use `suppress-keymap'.
4913         (org-remember-apply-template): Respect the dynamically scoped
4914         selection character.
4916 2007-10-10  Bastien Guerry  <Bastien.Guerry@ens.fr>
4918         * textmodes/org-export-latex.el (org-export-latex-protect-string):
4919         Renaming of `org-latex-protect'.
4920         (org-export-latex-emphasis-alist): By default, don't protect
4921         any emphasis formatter from further conversion.
4922         (org-export-latex-tables): Honor column grouping for tables.
4923         (org-export-latex-title-command): New option.
4924         (org-export-latex-treat-backslash-char): Use \textbackslash{} to
4925         export backslash character.
4927 2007-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4929         * frame.el (frame-inherited-parameters): Remove unused `environment'
4930         parameter, and let server.el add `client' when needed.
4932         * server.el (server-create-tty-frame)
4933         (server-create-window-system-frame): Set frame-inherited-parameters.
4935         * frame.el (frame-inherited-parameters): New var.
4936         (make-frame): Use it.
4938         * font-lock.el (lisp-font-lock-keywords-2): Remove let-environment.
4940         * env.el (let-environment): Remove.  Unused.
4941         (read-envvar-name): Simplify.
4942         (setenv): Remove unused arg `frame'.
4944         * help-fns.el (describe-variable): Add missing "  " for multiline
4945         obsolescence info and missing EOL after global value.
4947 2007-10-10  Eric S. Raymond  <esr@snark.thyrsus.com>
4949         * add-log.el:
4950         * ediff-vers.el:
4951         * log-view.el:
4952         * pcvs.el:
4953         * vc-arch.el:
4954         * vc-bzr.el:
4955         * vc-cvs.el:
4956         * vc.el:
4957         * vc-git.el:
4958         * vc-hg.el:
4959         * vc-hooks.el:
4960         * vc-mcvs.el:
4961         * vc-mtn.el:
4962         * vc-rcs.el:
4963         * vc-sccs.el:
4964         * vc-svn.el: Terminology cleanup: workfile-version -> working-revision,
4965         {find,init,next,previous,annotate-*,log}-version ->
4966         {find,init,next,previous,annotate-*,log}-revision,
4967         annotate-focus-version -> annotate-working-revision, The term
4968         'focus' is gone.  The term 'revision' is now used consistently
4969         everywhere that reference to a revision ID is intended, replacing
4970         older use of 'version'.
4972 2007-10-10  Juanma Barranquero  <lekktu@gmail.com>
4974         * follow.el: Change all instances of "Follow Mode" to "Follow
4975         mode" in docstrings and messages.
4976         (follow-menu-filter): Fix arg passed to `bound-and-true-p'.
4978 2007-10-10  Eric S. Raymond  <esr@snark.thyrsus.com>
4980         * vc.el (vc-next-action): Rewrite completely; this principal
4981         entry point now operates on a current fileset selected either
4982         explicitly via VC-Dired or implicitly by visiting a file buffer,
4983         rather than always operating on the file of the current buffer as
4984         in older versions.  Rewrite the rest of the mode to match.
4985         (with-vc-properties): Rewrite to operate on a file list.
4986         (with-vc-file): vc-checkin takes a file list argument now.
4987         (vc-post-command-functions): This hook now receives a file list.
4988         (vc-do-command): Take a either a file or a file list as argument.
4989         (vc-deduce-fileset): New function for deducing a file list to
4990         operate on.
4991         (vc-next-action-on-file, vc-next-action-dired): Remove.
4992         Merge into vc-next-action.
4993         (vc-register): Adapt to the fact that vc-start-entry now takes a
4994         file list.
4995         (vc-register-with): New function.
4996         (vc-start-entry): Take a file list argument rather than a
4997         file argument.
4998         (vc-checkout): Cope with vc-start-entry taking a file list.
4999         (vc-steal-lock): Cope with with-vc-properties taking a
5000         file list.
5001         (vc-checkin): Take a file list argument rather than a file argument.
5002         (vc-finish-logentry): Use the filelist passed by vc-start-entry.
5003         (vc-diff-internal): Rewrite for filesets.
5004         (vc-diff-sentinel): New function, tests whether changes were
5005         written into a diff buffer.
5006         (vc-diff): Rewrite for filesets.
5007         (vc-version-diff): Rewrite for filesets.
5008         (vc-print-log): Take a fileset argument.
5009         (vc-revert): Revert the entire selected fileset, not just the
5010         current buffer.
5011         (vc-rollback): Roll back the entire selected fileset, if
5012         possible.  No longer accepts a prefix argument.
5013         (vc-update): Merge new changes for the entire selected
5014         fileset, not just the current buffer.
5015         (vc-revert-file): Cope with with-vc-properties taking a file list.
5016         (vc-default-dired-state-info): Add + status suffix if the file is
5017         modified.
5018         (vc-annotate-warp-version): Use the new diff machinery.
5019         (vc-log-edit): Take a file list argument rather than a file argument.
5021 2007-10-10  Michael Albinus  <michael.albinus@gmx.de>
5023         Sync with Tramp 2.1.11.
5025         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
5026         Pacify byte compiler.
5028         * net/trampver.el: Update release number.
5030 2007-10-09  Richard Stallman  <rms@gnu.org>
5032         * play/gamegrid.el (gamegrid-setup-default-font): Use face-spec-set.
5034 2007-10-09  Juanma Barranquero  <lekktu@gmail.com>
5036         * follow.el: Require easymenu.
5037         (follow-mode-hook, follow-mode): Doc fixes.
5038         (follow-mode-off-hook): Mark as obsolete.
5040 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
5042         * window.el (mouse-autoselect-window-cancel): Don't cancel for
5043         select-window or select-frame events.
5044         (handle-select-window): When autoselecting window set input
5045         focus.  Restructure.
5047         * frame.el (focus-follows-mouse): Move to frame.c.
5048         * cus-start.el (all): Add focus-follows-mouse.
5050 2007-10-08  Juanma Barranquero  <lekktu@gmail.com>
5052         * bs.el (bs-mode): Make sure global-font-lock-mode doesn't
5053         activate font-locking in the *buffer-selection* buffer.
5054         (bs-show-sorted): Doc fix.
5056         * bs.el (bs--get-marked-string, bs--get-modified-string)
5057         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5058         (bs--get-mode-name, bs-mode): Fix typos in docstrings.
5059         (bs--format-aux): Doc fix.
5061 2007-10-08  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
5063         * progmodes/gud.el (gud-gud-gdb-command-name): Fix typo in docstring.
5065 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
5067         * progmodes/gud.el (gud-gud-gdb-command-name): New option.
5068         (gud-gdb): New function for old M-x gdb (text command mode).
5069         (gud-gdb-command-name, gdb): Move to...
5071         * progmodes/gdb-ui.el: ...here and adapt doc string.
5072         (gud-gdba-command-name, gdba): Delete.
5074 2007-10-08  Juanma Barranquero  <lekktu@gmail.com>
5076         * bs.el: Don't defvar `font-lock-verbose'.
5077         (bs-config-clear, bs-kill, bs-string-show-normally, bs-sort-functions)
5078         (bs--get-file-name): Fix typos in docstrings.
5079         (bs--show-header): Use `dolist' instead of `mapcar'.
5080         (bs-mode): Set `show-trailing-whitespace' to nil.
5081         (bs-buffer-sort-function, bs-mouse-select-other-frame)
5082         (bs-visits-non-file, bs-sort-buffer-interns-are-last, bs-show):
5083         Doc fixes.
5085 2007-10-08  Adam Hupp  <adam@hupp.org>  (tiny change)
5087         * progmodes/gud.el (pdb): Specify file for gud-break.
5089 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
5091         * progmodes/gud.el (gdb): Make graphical mode the default and
5092         switch to text command mode if appropriate, i.e., reverse previous
5093         arrangement.
5094         (gud-gdb-marker-filter): Adapt for above change.
5096         * progmodes/gdb-ui.el (gdb-init-1): Don't set the values
5097         gud-minor-mode and gud-marker-filter.
5098         (gdb-fullname-regexp): New variable.
5099         (gud-gdba-marker-filter): Use it to switch to text command
5100         mode if appropriate.
5102 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
5104         * progmodes/gud.el (gud-display-line): Find source buffer even when
5105         GUD buffer has its own frame.
5107 2007-10-08  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
5109         * term/x-win.el (icon-map-list): Set to nil for 22.1 compatibility.
5111 2007-10-08  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
5113         * term/x-win.el (x-gtk-stock-map): Version is 22.2.
5115 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
5117         * allout.el (allout-before-change-handler): Replace got-char by
5118         goto-char.
5120 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5122         * vc-svn.el (vc-svn-resolve-when-done, vc-svn-find-file-hook): New funs.
5123         Used to try and automatically enabled smerge-mode in the presence of
5124         conflicts and to call `svn resolved' when the conflicts are gone.
5125         (vc-svn-parse-status): Remember the svn-specific status.
5127 2007-10-08  Eli Zaretskii  <eliz@gnu.org>
5129         * menu-bar.el (menu-bar-search-documentation-menu): Rename from
5130         menu-bar-apropos-menu.  All users changed.
5131         (menu-bar-help-menu): Change menu symbols to better match the text
5132         displayed by the menu.
5134 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
5136         * files.el (file-name-sans-versions): Use [:alnum:] and also allow
5137         #, @, : and ^.
5139 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
5141         * pcvs-defs.el (cvs-mode-map): Bind TAB and backtab.
5143         * log-view.el (log-view-mode-map): Likewise.
5145         * diff-mode.el (diff-mode-shared-map): Likewise.
5147 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
5149         * files.el (file-name-sans-versions): Also allow `A-Z'.
5151         * vc.el: Mention all supported VC backends.
5153 2007-10-08  Richard Stallman  <rms@gnu.org>
5155         * wid-edit.el (widget-specify-button): Don't merge mouse-face with
5156         neighbouring buttons.
5158 2007-10-08  Andreas Schwab  <schwab@suse.de>
5160         * files.el (file-name-sans-versions): Also allow `_'.
5162 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
5164         * files.el (file-name-sans-versions): Allow - and a-z in version names.
5166         * log-view.el (log-view-mode-map, log-view-mode-menu):
5167         Bind log-view-annotate-version.
5168         (log-view-beginning-of-defun, log-view-end-of-defun)
5169         (log-view-annotate-version): New functions.
5170         (log-view-mode): Use log-view-beginning-of-defun and
5171         log-view-end-of-defun.
5173 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5175         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix staging.
5177 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5179         * wid-edit.el (widget-image-insert): Don't merge mouse-face with
5180         neighbouring buttons.
5182         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5183         Recognize gcc's use of "note" for informational messages.
5185 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5187         * textmodes/css-mode.el (css-electric-keys): electrick->electric.
5188         (css-mode): Update correspondingly.
5190 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
5192         * vc-git.el (vc-git-log-view-mode): Add font-lock patterns for
5193         Signed-off-by, Acked-by and Merge.
5195 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5197         * ediff-init.el (ediff-verbose-p): This var is not a constant.
5199 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5201         * vc-mtn.el: New file.
5203         * vc-hooks.el (vc-handled-backends): Add Mtn.
5205 2007-10-08  Eli Zaretskii  <eliz@gnu.org>
5207         * files.el (find-file, find-file-other-window)
5208         (find-file-other-frame, find-file-existing, find-file-read-only)
5209         (find-file-read-only-other-window)
5210         (find-file-read-only-other-frame)
5211         (find-alternate-file-other-window, find-alternate-file): Doc fixes.
5213 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
5215         * progmodes/gud.el (gdb-ready): New variable.
5216         (gdb): Set it to nil.  Set gud-running to nil here...
5217         (gud-common-init): ...instead of here.
5219         * progmodes/gdb-ui.el (gdba, gdb-send, gdb-source-info):
5220         Use gdb-ready.  Discard input until GDB is ready to accept it.
5222 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
5224         * dired.el (dired-warning): Inherit from font-lock-warning-face to
5225         make it show up with eight colors.
5227 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5229         * diff-mode.el (diff-sanity-check-hunk): Fix up the case when unified
5230         diffs are concatenated with no intervening line.
5232 2007-10-08  Dave Love  <fx@gnu.org>
5234         * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
5235         (python-font-lock-keywords): Update to the 2.5 version of the language.
5236         (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
5237         (python-backspace): Only behave funny in code.
5238         (python-compilation-regexp-alist): Add PDB stack trace regexp.
5239         (inferior-python-mode): Add PDB prompt regexp.
5240         (python-fill-paragraph): Refine the fenced-string regexp.
5241         (python-find-imports): Handle imports spanning several lines.
5242         (python-mode): Add `class' to hideshow support.
5244 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5246         * pcvs.el (cvs-mode-add-change-log-entry-other-window):
5247         Use add-log-buffer-file-name-function rather than binding
5248         buffer-file-name, so we don't end up calling change-log-mode in *cvs*
5249         when `fi' is the ChangeLog file itself.
5251         * outline.el (outline-flag-region): Use front-advance.
5253 2007-10-08  Ilya Zakharevich  <ilyaz@cpan.org>
5255         * progmodes/cperl-mode.el: Merge upstream 5.23.
5256         (cperl-where-am-i): Remove function.
5257         (cperl-backward-to-noncomment): Don't go too far when skipping POD/HEREs
5258         (cperl-sniff-for-indent): De-invert [string] and [comment].
5259         When looking for label, skip s:m:y:tr.
5260         (cperl-indent-line): Likewise.
5261         (cperl-mode): Don't assume `font-lock-multiline' is auto-local.
5262         (cperl-windowed-init): Wrong `ps-print' handling.
5263         Both thanks to Chong Yidong.
5264         (cperl-look-at-leading-count): Could fail with unfinished RExen.
5265         (cperl-find-pods-heres): If the second part of s()[] is missing,
5266         don't try to highlight delimiters...
5268 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5270         * progmodes/compile.el (compilation-get-file-structure): Complete last
5271         change by also using spec-directory in the puthash.
5273 2007-10-08  Riccardo Murri  <riccardo.murri@gmail.com>
5275         * vc-bzr.el (vc-bzr-file-name-relative): Use 'when' instead of 'and'.
5276         (vc-bzr-status): Fix shadowing of variable 'status'.
5277         (vc-bzr-workfile-version): Use correct path to 'last-revision' file.
5278         Use `expand-file-name' instead of `concat'.
5279         (vc-bzr-annotate-command): Use option name '--long' instead of '-l'.
5280         Update annotation line regexp.  Fixes launchpad.net [Bug 137435].
5282 2007-10-08  Jason Rumney  <jasonr@gnu.org>
5284         * frame.el (focus-follows-mouse): Doc-fix. Change default on w32.
5286 2007-10-08  Richard Stallman  <rms@gnu.org>
5288         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Make defcustom.
5289         Add `safe-local-variable' property.
5290         (lisp-body-indent): Likewise.
5292 2007-10-08  Richard Stallman  <rms@gnu.org>
5294         * files.el (hack-local-variables-confirm): Rename arg VARS to ALL-VARS.
5295         Add doc string.
5297 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
5299         * files.el (backup-buffer-copy): Try to overwrite old backup first.
5301 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
5303         * repeat.el (repeat): Use last-repeatable-command instead of
5304         real-last-command.  Run pre- and post-command hooks for
5305         self-insertion.  Update doc-string.
5307 2007-10-08  Alexandre Julliard  <julliard@winehq.org>
5309         * vc-git.el (vc-git-state): Call git-add --refresh to update the
5310         state of the file.
5311         (vc-git-workfile-unchanged-p): Delegate implementation to vc-git-state.
5312         (vc-git-create-repo): Fix invalid command.
5314 2007-10-08  Richard Stallman  <rms@gnu.org>
5316         * textmodes/flyspell.el (flyspell-mode):
5317         Catch errors in flyspell-mode-on.
5319 2007-10-09  Juanma Barranquero  <lekktu@gmail.com>
5321         * term/x-win.el (x-alternatives-map): Remove spurious parenthesis.
5323 2007-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5325         * international/encoded-kb.el (encoded-kbd-setup-display):
5326         Use input-decode-map rather than local-key-translation-map.
5328         * term/rxvt.el (rxvt-alternatives-map): New map.
5329         (terminal-init-rxvt): Use it.
5330         Bind rxvt-function-map in input-decode-map.
5332         * term/xterm.el (xterm-alternatives-map): New map.
5333         (terminal-init-xterm): Use it.
5334         Bind xterm-function-map in input-decode-map.
5336         * term/x-win.el (x-alternatives-map): New var.
5337         (x-setup-function-keys): Use it.
5339         * help-fns.el (describe-variable): Slightly change the layout of
5340         meta-info to separate it better from the docstring.
5341         Standardize insertion of extra empty lines in various circumstances.
5343         * diff-mode.el (diff-hunk-style): New fun.
5344         (diff-end-of-hunk): Use it.
5345         (diff-context->unified): Use the new `apply' undo element,
5346         if applicable, so as to save undo-log space.
5347         (diff-fine-change): New face.
5348         (diff-fine-highlight-preproc): New function.
5349         (diff-fine-highlight): New command.
5350         (diff-mode-map, diff-mode-menu): Add diff-fine-highlight.
5352         * smerge-mode.el (smerge-refine-chopup-region): Add `preproc' argument.
5353         (smerge-refine-highlight-change): Add `props' argument.
5354         (smerge-refine-subst): New function holding most of smerge-refine.
5355         (smerge-refine): Use it.
5357 2007-10-08  Eric S. Raymond  <esr@snark.thyrsus.com>
5359         * vc.el (vc-default-wash-log): Remove unused code, the
5360         log washers all live in the backends now.
5361         (vc-default-comment-history): Correct for the fact
5362         that wash-log is argumentless in the new API.
5364 2007-10-08  Michael Albinus  <michael.albinus@gmx.de>
5366         * net/tramp.el (tramp-find-foreign-file-name-handler): Check also host.
5367         (tramp-maybe-send-script): Apply `member' but `memq'.
5368         (tramp-advice-file-expand-wildcards): Simplify implementation.
5370 2007-10-08  Juanma Barranquero  <lekktu@gmail.com>
5372         * follow.el (follow-mode): Don't run hooks twice.  Use `when'.
5374         * mb-depth.el (minibuf-depth-indicator-function): New variable.
5375         (minibuf-depth-setup-minibuffer): Use it.
5377 2007-10-07  Glenn Morris  <rgm@gnu.org>
5379         * simple.el (bad-packages-alist): Clarify Semantic and CEDET
5380         version numbers.
5382 2007-10-06  Juri Linkov  <juri@jurta.org>
5384         * textmodes/fill.el (fill-paragraph-or-region): New function.
5386         * bindings.el (esc-map): Bind M-q to fill-paragraph-or-region
5387         instead of fill-paragraph.
5389         * tutorial.el (tutorial--default-keys): Replace fill-paragraph
5390         with fill-paragraph-or-region.  Suspend command is now the same
5391         `suspend-frame' on window systems and on tty.
5393         * image.el (image-type): Check if image-types is bound to not fail
5394         on tty.
5396         * delsel.el (delete-selection-pre-hook):
5397         * emulation/cua-base.el (cua-paste): Check if mouse-region-match
5398         is fbound to not fail on mouseless tty.
5400 2007-10-06  Michael Albinus  <michael.albinus@gmx.de>
5402         * net/tramp.el (top): Move loading of tramp-util.el and
5403         tramp-vc.el to tramp-compat.el.
5404         (tramp-make-tramp-temp-file): Complete rewrite.  Create remote
5405         temporary file if possible, in order to avoid a security hole.
5406         (tramp-do-copy-or-rename-file-out-of-band)
5407         (tramp-maybe-open-connection): Call `tramp-make-tramp-temp-file'
5408         with DONT-CREATE, because the connection is not setup yet.
5409         (tramp-handle-process-file): Rewrite temporary file handling.
5410         (tramp-completion-mode): New defvar.
5411         (tramp-completion-mode-p): Use it.
5413         * net/tramp-compat.el (top): Load tramp-util.el and tramp-vc.el.
5415         * net/tramp-fish.el (tramp-fish-handle-process-file):
5416         Rewrite temporary file handling.
5418 2007-10-06  Eric S. Raymond  <esr@snark.thyrsus.com>
5420         * vc.el: Workfile version -> focus version change.  Port various
5421         comments from new VC to reduce the noise in the diff.
5422         Patch in the new vc-create-repo function to go with the
5423         header comment about it already present.
5424         There are no changes to existing logic in this patch.
5425         (vc-revert-buffer1): Rename to vc-revert-buffer-internal.
5427 2007-10-06  Aaron Hawley  <aaronh@garden.org>
5429         * autoinsert.el (auto-insert-alist): Add a Texinfo entry.
5431 2007-10-05  Chris Moore  <dooglus@gmail.com>
5433         * server.el (server-kill-new-buffers): Doc fix.
5435 2007-10-05  John W. Eaton  <jwe@octave.org>
5437         * progmodes/octave-mod.el (octave-abbrev-table): Add "until".
5438         (octave-begin-keywords): Add "do".
5439         (octave-end-keywords): Remove "end".
5440         (octave-reserved-words): Add "end".  Remove "all_va_args",
5441         "gplot", and 'gsplot".
5442         (octave-text-functions): Remove "gset", "gshow", "set", and "show".
5443         (octave-variables): Remove "IMAGEPATH", "INFO_FILE",
5444         "INFO_PROGRAM", "LOADPATH", "__error_text__", "automatic_replot",
5445         "default_return_value", "define_all_return_values",
5446         "do_fortran_indexing", "empty_list_elements_ok",
5447         "gnuplot_has_multiplot", "implicit_str_to_num_ok",
5448         "ok_to_lose_imaginary_part", "prefer_column_vectors",
5449         "prefer_zero_one_indexing", "propagate_empty_matrices",
5450         "resize_on_range_error", "treat_neg_dim_as_zero",
5451         "warn_assign_as_truth_value", "warn_comma_in_global_decl",
5452         "warn_divide_by_zero", "warn_function_name_clash",
5453         "warn_missing_semicolon", "whitespace_in_literal_matrix".
5454         Add "DEFAULT_EXEC_PATH", "DEFAULT_LOADPATH", "IMAGE_PATH",
5455         "crash_dumps_octave_core", "sighup_dumps_octave_core",
5456         "sigterm_dumps_octave_core".
5457         (octave-block-match-alist): Remove "end" from block-end keywords.
5458         (octave-mode): Update ftp site address.
5460 2007-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
5462         * vc.el: Reorder functions, no code changes.
5464 2007-10-04  Michael Albinus  <michael.albinus@gmx.de>
5466         * net/tramp.el (tramp-make-temp-file): Move to tramp-compat.el.
5467         (tramp-do-copy-or-rename-file-directly): Handle tmpfile only in
5468         the cond clauses where needed.
5469         (tramp-handle-write-region): Rearrange code for proper handling of
5470         tmpfile.
5472         * net/tramp-compat.el (tramp-compat-make-temp-file): New defsubst.
5474         * net/tramp.el:
5475         * net/tramp-fish.el:
5476         * net/tramp-ftp.el:
5477         * net/tramp-smb.el: Rename `tramp-make-temp-file' to
5478         `tramp-compat-make-temp-file'.
5480 2007-10-04  Juanma Barranquero  <lekktu@gmail.com>
5482         * image-dired.el (image-dired-image-at-point-p): Fix typo in docstring.
5484 2007-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5486         * emacs-lisp/copyright.el (copyright-update): Don't update if the file
5487         already uses a more recent copyright version than the "current" one.
5489 2007-10-03  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
5491         * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-reset-slice)
5492         (doc-view-insert-image): Minor aesthetical docstring changes.
5494 2007-10-03  Tassilo Horn  <tassilo@member.fsf.org>
5496         * doc-view.el (doc-view): Don't ignore pdf and dvi files when
5497         completing filename.
5498         (doc-view-search-internal): Docstring change.
5500 2007-10-03  Michael Albinus  <michael.albinus@gmx.de>
5502         * net/tramp.el (top): Add tramp-compat to `tramp-unload-hook'.
5503         (tramp-file-name-handler-alist):
5504         Add `tramp-handle-insert-file-contents-literally'.  Needed for XEmacs.
5505         (tramp-make-temp-file): Use `make-temp-name'.  `make-temp-file',
5506         used before, creates the file already, which is not desired.
5507         (tramp-do-copy-or-rename-file-directly): Simplify handling of
5508         temporary file.
5509         (tramp-handle-insert-file-contents): Assign the result in the
5510         short track case.
5511         (tramp-handle-insert-file-contents-literally): New defun.
5512         (tramp-completion-mode-p): Revert change from 2007-09-24.
5513         Checking for `return' etc as last character is not sufficient, for
5514         example in dired-mode when entering <g> (revert-buffer) or
5515         <s> (dired-sort).
5517         * net/tramp-compat.el (top): Add also compatibility code for loading
5518         appropriate timer package.
5519         (tramp-compat-copy-tree): Check for `subrp' and `symbol-file' in
5520         order to avoid autoloading problems.
5522         * net/tramp-fish.el:
5523         * net/tramp-smb.el: Move further compatibility code to tramp-compat.el.
5525         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Handle the case
5526         where the second parameter of `copy-file' or `rename-file' is a
5527         remote file but not via ftp.
5529 2007-10-02  Richard Stallman  <rms@gnu.org>
5531         * frame.el (cursor-in-non-selected-windows): Doc fix.
5533 2007-10-01  Thien-Thi Nguyen  <ttn@gnuvola.org>
5535         * play/zone.el (zone): Let-bind show-trailing-whitespace to nil.
5536         Suggested by Chris Moore <christopher.ian.moore@gmail.com>.
5538 2007-10-01  Jay Belanger  <jay.p.belanger@gmail.com>
5540         * calc/calc-math.el (math-largest-emacs-expt): Handle the cases
5541         when `expt' doesn't give range errors.
5543 2007-10-01  Markus Triska  <markus.triska@gmx.at>
5545         * calc/calc-math.el (math-smallest-emacs-expt):
5546         Make the computation more robust.
5548 2007-09-30  David Kastrup  <dak@gnu.org>
5550         * startup.el (argv): Alias for `command-line-args-left' to use as
5551         `(pop argv)' inside of --eval command sequences.  Allows for
5552         passing shell commands into Emacs verbatim without need for Lisp
5553         quoting.
5555         * autorevert.el (auto-revert-handler): In `auto-revert-tail-mode',
5556         check only for changed size.
5557         (auto-revert-tail-handler): Get size from caller.  If the file has
5558         shrunk, tail the whole file again (the file presumably has been
5559         rewritten).
5561         * woman.el (woman-topic-all-completions, woman-mini-help):
5562         Fix fallout from 2007-09-07 introduction of `dolist' when the list
5563         actually was being manipulated in the loop.
5564         (woman-Cyg-to-Win, woman-pre-process-region)
5565         (woman-horizontal-escapes, woman-if-body, woman-unescape)
5566         (woman-strings, woman-special-characters, woman1-hc)
5567         (woman-change-fonts, woman-find-next-control-line):
5568         Use `match-beginning' rather than `match-string' when the result is
5569         just used as a flag.
5571 2007-09-30  Michael Albinus  <michael.albinus@gmx.de>
5573         * net/tramp-compat.el: New file.
5575         * net/tramp.el:
5576         * net/tramp-fish.el:
5577         * net/tramp-smb.el:
5578         * net/tramp-uu.el:
5579         * net/trampver.el: Move compatibility code to tramp-compat.el.
5580         Apply `mapc' instead of `mapcar' when the code needs side effects
5581         only.  Move utf-8 coding cookie to the second line.
5583 2007-09-30  Reiner Steib  <Reiner.Steib@gmx.de>
5585         * term/x-win.el (x-gtk-stock-map): Add Gnus and MH-E icons.
5586         Improve custom type.
5587         (icon-map-list): Make it customizable.  Document how to disable
5588         stock icons.
5590 2007-09-30  Richard Stallman  <rms@gnu.org>
5592         * play/zone.el (zone-hiding-modeline): Use mode-line-format.
5594 2007-09-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
5596         * term/x-win.el (x-gtk-stock-map): Version is 22.2.
5598 2007-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5600         * t-mouse.el (gpm-mouse-mode): Rename from t-mouse-mode.  Rewrite.
5601         (t-mouse-mode): New compatibility alias.
5603 2007-09-28  Dan Nicolaescu  <dann@ics.uci.edu>
5605         * server.el (server-delete-client): Only delete the terminal if it
5606         is non-nil.
5608 2007-09-28  Michael Albinus  <michael.albinus@gmx.de>
5610         * net/tramp.el (with-file-property, with-connection-property):
5611         Highlight as keyword.
5612         (tramp-rfn-eshadow-setup-minibuffer)
5613         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5614         (tramp-set-file-uid-gid, tramp-do-copy-or-rename-file-via-buffer)
5615         (tramp-do-copy-or-rename-file-directly)
5616         (tramp-do-copy-or-rename-file-out-of-band)
5617         (tramp-handle-shell-command, tramp-get-debug-buffer)
5618         (tramp-send-command-and-read, tramp-equal-remote)
5619         (tramp-get-local-gid): Pacify byte-compiler.
5620         (tramp-handle-file-name-directory): Result shall not be expanded.
5621         (tramp-find-foreign-file-name-handler): Rewrite.
5622         (tramp-dissect-file-name): Add optional parameter NODEFAULT.
5624         * net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler.
5626         * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
5627         Apply `tramp-completion-mode-p'.
5628         (tramp-fish-handle-set-file-times)
5629         (tramp-fish-handle-executable-find)
5630         (tramp-fish-handle-process-file, tramp-fish-get-file-entries)
5631         (tramp-fish-retrieve-data): Pacify byte-compiler.
5633         * net/tramp-gw.el (tramp-gw-basic-authentication):
5634         Call `tramp-read-passwd' with first parameter `nil'.
5636 2007-09-28  Glenn Morris  <rgm@gnu.org>
5638         * mail/supercite.el (sc-attribs-filter-namelist): Use mapc rather
5639         than mapcar.
5641         * textmodes/tex-mode.el (tex-suscript-height-ratio)
5642         (tex-suscript-height-minimum): New customizable variables.
5643         (tex-suscript-height): New function.
5644         (superscript, subscript): Set height using tex-suscript-height
5645         rather than fixing at 0.8.
5646         (tex-fontify-script, tex-font-script-display): Add :version tag.
5648 2007-09-27  Juanma Barranquero  <lekktu@gmail.com>
5650         * progmodes/python.el (python-eldoc-function): Doc fix.
5652 2007-09-27  Glenn Morris  <rgm@gnu.org>
5654         * image.el (image-type-auto-detected-p): Doc fix.  Don't detect an
5655         image if it is not in image-type-auto-detectable, or is there with
5656         a nil value.
5658 2007-09-27  Michael Albinus  <michael.albinus@gmx.de>
5660         * net/tramp.el (tramp-maybe-open-connection): Make test for alive
5661         connection more robust.
5663 2007-09-26  Juanma Barranquero  <lekktu@gmail.com>
5665         * emacs-lisp/eldoc.el (eldoc-function-argstring-format):
5666         Deal with the case that special &keywords are at the beginning or
5667         end of the argument list.  Also add some (incomplete) support for
5668         non-standard arglists.
5670 2007-09-26  Juanma Barranquero  <lekktu@gmail.com>
5672         * emacs-lisp/eldoc.el (eldoc-message-commands-table-size)
5673         (eldoc-message-commands, eldoc-current-idle-delay)
5674         (eldoc-function-argstring-format): Fix typos in docstrings.
5676 2007-09-26  Jay Belanger  <jay.p.belanger@gmail.com>
5678         * calc/calc-units.el (calc-convert-units)
5679         (calc-convert-temperature): Remove unnecessary colons.
5681 2007-09-26  Bastien Guerry  <bzg@altern.org>
5683         * textmodes/org-export-latex.el (org-export-latex-tables-verbatim):
5684         New function.
5685         (org-export-latex-remove-from-headlines): Name changed because of typo.
5686         (org-export-latex-quotation-marks-convention): Option removed.
5687         (org-export-latex-make-preamble): Handle the DATE option.
5688         (org-export-latex-cleaned-string): Now the only cleaning function,
5689         synched up with org.el.
5690         (org-export-latex-lists, org-export-latex-parse-list)
5691         (org-export-list-to-latex): New functions.
5693 2007-09-26  Carsten Dominik  <dominik@science.uva.nl>
5695         * textmodes/org.el (org-kill-is-subtree-p): Use `org-outline-regexp'.
5696         (org-outline-regexp): New constant.
5697         (org-remember-handler): Throw error when the target file is not in
5698         org-mode.
5699         (org-cleaned-string-for-export): No longer call
5700         `org-export-latex-cleaned-string' with an argument.
5701         (org-get-tags): Returns now a list, not a string.
5702         (org-get-tags-string): New function.
5703         (org-archive-subtree): No need to split return of `org-get-tags'.
5704         (org-set-tags, org-entry-properties): Call `org-get-tags-string'
5705         instead of `org-get-tags'.
5706         (org-agenda-format-date): Rename from `org-agenda-date-format'.
5707         (org-time-from-absolute, org-agenda-format-date-aligned): New funs.
5708         (org-compatible-face): New argument INHERITS.  Inherit from this
5709         face if possible.
5710         (org-level-1, org-level-2, org-level-3, org-level-4)
5711         (org-level-5, org-level-6, org-level-7, org-level-8)
5712         (org-special-keyword, org-drawer, org-column, org-warning)
5713         (org-archived, org-todo, org-done, org-headline-done, org-table)
5714         (org-formula, org-code, org-agenda-structure)
5715         (org-scheduled-today, org-scheduled-previously)
5716         (org-upcoming-deadline, org-time-grid): Call `org-compatible-face'
5717         in the new way.
5718         (org-get-heading): New argument NO-TAGS.
5719         (org-fast-tag-selection-include-todo): Made defvar instead of
5720         defcustom, feature is not deprecated.
5721         (org-remember-store-without-prompt): New default value t.
5722         (org-todo-log-states): New variable.
5723         (org-set-regexps-and-options): #+TODO is an alias for SEQ_TODO.
5724         Compute the log states.
5725         (org-goto-map): More commands copied from global map.  Also bind
5726         `org-occur'.
5727         (org-goto): Made into a general lookup command.
5728         (org-get-location): Complete rewrite.
5729         (org-goto-exit-command): New variable.
5730         (org-goto-selected-point): New variable.
5731         (org-goto-ret, org-goto-left, org-goto-right, org-goto-quit):
5732         Set the new variables.
5733         (org-paste-subtree): Whitespace insertion strategy revised.
5734         (org-remember-apply-template): Protect v-A from the possibility
5735         that v-a might be nil.
5736         (org-remember-handler): Insertion rules revised.
5737         (org-todo): Respect org-todo-log-states.
5738         (org-up-heading-safe): New function.
5739         (org-entry-get-with-inheritance): Use `org-up-heading-safe'.
5741 2007-09-26  Dan Nicolaescu  <dann@ics.uci.edu>
5743         * progmodes/cc-cmds.el (c-indent-line-or-region): Only indent the
5744         region if in transient-mark-mode.
5746 2007-09-26  Juanma Barranquero  <lekktu@gmail.com>
5748         * calc/calc-ext.el (calc-init-extensions, calc-reset):
5749         * calc/calc-help.el (calc-full-help):
5750         * calc/calc-misc.el (another-calc):
5751         * calc/calc-store.el (calc-var-name-map):
5752         * calc/calc-stuff.el (calc-flush-caches):
5753         * calc/calc-units.el (math-build-units-table):
5754         * calc/calc.el (calc-digit-map, calc-dispatch-map, calc-mode)
5755         (calc-quit):
5756         * calendar/icalendar.el (icalendar--format-ical-event)
5757         (icalendar--convert-ical-to-diary):
5758         * emacs-lisp/authors.el (authors):
5759         * emacs-lisp/cust-print.el (custom-print-install)
5760         (custom-print-uninstall):
5761         * emacs-lisp/disass.el (disassemble-1):
5762         * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
5763         * emacs-lisp/edebug.el (byte-compile-resolve-functions):
5764         * emacs-lisp/elint.el (elint-current-buffer, elint-check-defun-form)
5765         (elint-check-let-form, elint-check-condition-case-form)
5766         (elint-initialize):
5767         * emacs-lisp/elp.el (elp-results):
5768         * emacs-lisp/generic.el (generic-mode-internal):
5769         * emacs-lisp/re-builder.el (reb-delete-overlays):
5770         * emacs-lisp/regi.el (regi-interpret):
5771         * emacs-lisp/sregex.el (sregex--char-aux):
5772         * emulation/cua-rect.el (cua--deactivate-rectangle)
5773         (cua--highlight-rectangle, cua--rectangle-post-command):
5774         * emulation/viper-keym.el (viper-toggle-key, viper-ESC-key):
5775         * emulation/viper-macs.el (viper-describe-kbd-macros)
5776         (viper-describe-one-macro):
5777         * emulation/viper-util.el (viper-setup-master-buffer):
5778         * emulation/viper.el (set-viper-state-in-major-mode):
5779         * international/mule-diag.el (describe-current-coding-system):
5780         * language/ethio-util.el (ethio-fidel-to-sera-buffer):
5781         * mail/emacsbug.el (report-emacs-bug):
5782         * net/ange-ftp.el (ange-ftp-call-chmod, ange-ftp-parse-bs2000-listing):
5783         * obsolete/hilit19.el (hilit-unhighlight-region)
5784         (hilit-set-mode-patterns):
5785         * play/solitaire.el (solitaire-check, solitaire-solve):
5786         * play/zone.el (zone-pgm-rotate):
5787         * progmodes/ada-mode.el (ada-save-exceptions-to-file):
5788         * progmodes/ada-prj.el (ada-prj-display-page):
5789         * progmodes/delphi.el (delphi-search-directory, delphi-find-unit-file)
5790         (delphi-debug-mode-map, delphi-mode-map, delphi-mode):
5791         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-view-exit-fn)
5792         (ebrowse-member-mode, ebrowse-save-tree-as, ebrowse-save-class):
5793         * progmodes/sh-script.el (sh-make-vars-local)
5794         (sh-reset-indent-vars-to-global-values):
5795         * progmodes/sql.el (top):
5796         * progmodes/vhdl-mode.el (vhdl-set-style, vhdl-regress-line):
5797         * progmodes/xscheme.el (top):
5798         * textmodes/artist.el (artist-mt-get-symbol-from-keyword-sub)
5799         (artist-go-retrieve-from-symbol-sub, artist-go-get-symbol-shift-sub)
5800         (artist-fc-retrieve-from-symbol-sub, artist-vaporize-line)
5801         (artist-vaporize-lines, artist-ellipse-compute-fill-info)
5802         (artist-submit-bug-report):
5803         * textmodes/flyspell.el (flyspell-delay-commands)
5804         (flyspell-deplacement-commands):
5805         * textmodes/table.el (table--generate-source-epilogue, table-insert)
5806         (table--generate-source-cells-in-a-row, table--make-cell-map)
5807         (*table--cell-describe-bindings): Use `mapc' rather than `mapcar'.
5809 2007-09-25  Juanma Barranquero  <lekktu@gmail.com>
5811         * allout.el (produce-allout-mode-map, allout-process-exposed):
5812         * ansi-color.el (ansi-color-make-color-map):
5813         * autoinsert.el (auto-insert):
5814         * bookmark.el (bookmark-bmenu-list, bookmark-show-all-annotations):
5815         * dired-aux.el (dired-create-files):
5816         * dired.el (dired-restore-desktop-buffer):
5817         * ediff-diff.el (ediff-setup-fine-diff-regions):
5818         * ediff-mult.el (ediff-intersect-directories)
5819         (ediff-redraw-directory-group-buffer, ediff-dir-diff-copy-file)
5820         (ediff-redraw-registry-buffer):
5821         * ediff-ptch.el (ediff-fixup-patch-map):
5822         * ediff-util.el (ediff-toggle-multiframe, ediff-toggle-use-toolbar)
5823         (ediff-really-quit, ediff-clear-diff-vector):
5824         * emerge.el (emerge-really-quit):
5825         * ffap.el (ffap-replace-file-component):
5826         * filecache.el (file-cache-add-directory)
5827         (file-cache-add-directory-recursively)
5828         (file-cache-add-from-file-cache-buffer, file-cache-delete-file-regexp)
5829         (file-cache-delete-directory, file-cache-files-matching-internal)
5830         (file-cache-display):
5831         * files.el (cd):
5832         * find-lisp.el (find-lisp-insert-directory):
5833         * finder.el (finder-compile-keywords):
5834         * help.el (view-emacs-news):
5835         * hi-lock.el (hi-lock-write-interactive-patterns):
5836         * ido.el (ido-to-end, ido-set-matches-1):
5837         * image-dired.el (image-dired-display-thumbs, image-dired-remove-tag)
5838         (image-dired-mark-tagged-files):
5839         * jka-cmpr-hook.el (jka-compr-get-compression-info):
5840         * printing.el (pr-eval-local-alist, pr-eval-setting-alist):
5841         * ps-print.el (ps-background, ps-begin-file)
5842         (ps-build-reference-face-lists):
5843         * simple.el (clone-buffer):
5844         * startup.el (command-line):
5845         * tempo.el (tempo-insert-template, tempo-is-user-element)
5846         (tempo-forward-mark, tempo-backward-mark):
5847         * woman.el (woman-dired-define-keys): Use `mapc' rather than `mapcar'.
5849 2007-09-25  Glenn Morris  <rgm@gnu.org>
5851         * textmodes/tex-mode.el (tex-font-script-display): Doc fix.
5853         * view.el (view-search-no-match-lines): Add a doc string.
5854         Rewrite to simplify and work better.
5856 2007-09-24  Dan Nicolaescu  <dann@ics.uci.edu>
5858         * progmodes/cc-mode.el (c-mode-base-map):
5859         Use c-indent-line-or-region instead of c-indent-line.
5861         * indent.el (indent-for-tab-command): First check if the region is
5862         active.
5864 2007-09-24  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
5866         * whitespace.el (whitespace-tickle-timer): Don't install the timer if
5867         whitespace-rescan-timer-time is 0.
5869 2007-09-24  Karl Berry  <karl@gnu.org>
5871         * international/mule.el (coding-system-base): Fix doc string grammar.
5873 2007-09-24  Michael Albinus  <michael.albinus@gmx.de>
5875         * net/tramp.el (tramp-completion-mode-p): Rename from
5876         `tramp-completion-mode'.  Revert logic, check `return', `newline'
5877         and such alike.  Packages like Icicles tend to use other completion
5878         characters but `tab' and `space' only.
5880 2007-09-24  Adam Hupp  <adam@hupp.org>
5882         * progmodes/python.el (run-python): Import emacs module without
5883         waiting; prevents lockup on error.
5885 2007-09-23  Richard Stallman  <rms@gnu.org>
5887         * mail/sendmail.el (mail-bury): Delete the frame
5888         if this frame looks like it was made for this message.
5890         * completion.el (completion-separator-self-insert-command)
5891         (completion-separator-self-insert-autofilling):
5892         If `self-insert-command' has been remapped, use the substitute.
5894         * simple.el (copy-region-as-kill): Doc fix.
5896         * textmodes/org.el (org-confirm-shell-link-function)
5897         (org-confirm-elisp-link-function): Doc fixes.
5899 2007-09-23  Glenn Morris  <rgm@gnu.org>
5901         * ses.el (ses-calculate-cell): Don't evaluate unsafe formulae.
5903 2007-09-23  Dan Nicolaescu  <dann@ics.uci.edu>
5905         * term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar.
5907         * term/tvi970.el (terminal-init-tvi970): Likewise.
5909         * term/sun-mouse.el (print-mouse-format): Likewise.
5911         * term/sun.el (scroll-down-in-place, scroll-up-in-place):
5912         Use forward-line instead of previous-line and next-line.
5914 2007-09-22  Juri Linkov  <juri@jurta.org>
5916         * textmodes/org.el (org-confirm-shell-link-function): Doc fix.
5918         * tutorial.el (tutorial--default-keys): Update standard bindings:
5919         rename `iconify-or-deiconify-frame' to `suspend-frame',
5920         and `save-buffers-kill-emacs' to `save-buffers-kill-terminal'.
5922 2007-09-22  Juri Linkov  <juri@jurta.org>
5924         * startup.el (fancy-startup-text, fancy-about-text, fancy-startup-tail):
5925         Add help-echo to external links and to links without description.
5926         (fancy-splash-insert): Use help-echo from the 3rd element of the
5927         link specification list, or "Follow this link" if it's nil.  Doc fix.
5929 2007-09-22  Juri Linkov  <juri@jurta.org>
5931         * startup.el (command-line): Rename `inhibit-startup-message' to
5932         `inhibit-startup-screen'.
5933         (fancy-about-text): Use shorter label for "Ordering Manuals".
5934         (fancy-startup-tail): Add optional arg `concise'.  When `concise'
5935         is nil, display a line with "To start..." and 3 links to useful
5936         tasks.  Display the "Dismiss" button and "Don't show this message
5937         again" only when concise is non-nil.
5938         (fancy-startup-screen): Call `fancy-startup-tail' with optional
5939         arg `concise'.  If CONCISE is non-nil, display a concise version
5940         of the splash screen in another window.  Otherwise, switch to the
5941         startup buffer in the same window.
5942         (startup-echo-area-message): Change displayed binding from
5943         C-h C-p (describe-project) to C-h C-a (about-emacs), and change
5944         text "about the GNU system and GNU/Linux" to "about GNU Emacs and
5945         the GNU system".
5946         (display-startup-screen): Fix buffer name from "*About GNU Emacs*"
5947         to "*GNU Emacs*".
5948         (display-about-screen): Don't check the existence of the buffer
5949         "*About GNU Emacs*".
5950         (display-splash-screen): Make alias to `display-startup-screen'.
5951         (command-line-1): Rename `inhibit-startup-message' to
5952         `inhibit-startup-screen'.  Inhibit startup screen when Emacs is
5953         started with command line options "-f", "-funcall", "-e", "-eval",
5954         "-execute", "-insert", "-find-file", "-file", "-visit".
5955         Inhibit startup screen when Emacs is started with a file name only
5956         on tty (i.e. don't inhibit it when started with a file name like
5957         "emacs FILE..." on a window system).
5958         (command-line-1): Simplify logic of displaying the startup screen:
5959         if file-count > 0, then display the concise version in another
5960         window, otherwise display full version in the same window.
5962         * help.el (help-map): Bind C-h C-a to about-emacs.
5963         (help-for-help-internal): Add C-a description to C-h help text.
5965 2007-09-22  Dan Nicolaescu  <dann@ics.uci.edu>
5967         * emacs-lisp/checkdoc.el (checkdoc-force-docstrings-flag)
5968         (checkdoc-permit-comma-termination-flag): Autoload the
5969         safe-local-variable setting.
5971         * bookmark.el (bookmark-xemacsp): Remove.
5972         (bookmark-make): Don't use bookmark-xemacsp,
5973         use (featurep 'xemacs) instead.
5975         * speedbar.el (speedbar-frame-mode)
5976         (speedbar-frame-reposition-smartly)
5977         (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps)
5978         (speedbar-check-vc): Remove use of non-existent variable
5979         dframe-xemacsp, use (featurep 'xemacs) instead.
5981         * indent.el (indent-for-tab-command): Indent the region if
5982         transient-mark-mode and the region is active.
5984 2007-09-21  Francesco Potort\e,Al\e(B  <pot@gnu.org>
5986         * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to
5987         add inferior-octave-directory-tracker to the buffer-local value
5988         of comint-input-filter-functions.
5990 2007-09-21  Dan Nicolaescu  <dann@ics.uci.edu>
5992         * xt-mouse.el (xterm-mouse-mode): Re-enable suspend-tty-functions.
5994 2007-09-21  Juanma Barranquero  <lekktu@gmail.com>
5996         * frame.el (suspend-frame): Call `iconify-or-deiconify-frame' also
5997         on w32 frames.
5999 2007-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6001         * startup.el (normal-top-level): Remove DISPLAY from
6002         process-environment to let it be computed dynamically in callproc.c.
6004         * frame.el (frame-initialize, make-frame):
6005         * faces.el (tty-set-up-initial-frame-faces):
6006         * env.el (setenv): Don't set display-environment-variable.
6008         * server.el (server-getenv-from): Remove.  Use getenv-internal instead.
6009         (server-create-tty-frame): Don't set unused `tty' property.
6010         Set `display' instead of display-environment-variable.
6011         (server-create-window-system-frame): No display-environment-variable.
6013 2007-09-21  Michael Albinus  <michael.albinus@gmx.de>
6015         * rfn-eshadow.el (rfn-eshadow-setup-minibuffer-hook)
6016         (rfn-eshadow-update-overlay-hook): New defvars.
6017         (rfn-eshadow-setup-minibuffer, rfn-eshadow-update-overlay):
6018         Run the hooks.
6020         * net/tramp.el (tramp-rfn-eshadow-overlay): New defvar.
6021         (tramp-rfn-eshadow-setup-minibuffer)
6022         (tramp-rfn-eshadow-update-overlay): New defuns.  Hook into
6023         rfn-eshadow.el.
6025         * net/tramp-smb.el (tramp-smb-errors): Add error message for call
6026         timeout.
6028 2007-09-21  Glenn Morris  <rgm@gnu.org>
6030         * obsolete/sun-fns.el (emacs-quit-menu): Remove emacstool-related code.
6031         * term/sun-mouse.el (suspend-emacstool): Remove.
6032         * term/sun.el: Remove emacstool-related code.
6034         * emacs-lisp/bytecomp.el (byte-compile-warnings)
6035         (byte-compile-warnings-safe-p): Add `mapcar'.
6036         (byte-compile-warning-types): Add mapcar and make-local.
6037         (byte-compile-normal-call): Add option to suppress mapcar warning.
6038         (top-level): Use mapc rather than mapcar in eval-when-compile.
6040         * textmodes/tex-mode.el (tex-validate-region): Handle escaped parens.
6041         (tex-next-unmatched-eparen, tex-last-unended-eparen): New functions.
6042         (latex-forward-sexp-1, latex-backward-sexp-1): Doc fix.
6043         Handle escaped parens.
6044         (latex-forward-sexp): Doc fix.
6046         * eshell/esh-mode.el (eshell-output-filter-functions):
6047         Add eshell-postoutput-scroll-to-bottom.
6049         * loadup.el: Remove termdev.
6051         * progmodes/fortran.el (fortran-mode-abbrev-table, fortran-line-length):
6052         * progmodes/f90.el (f90-mode-abbrev-table): Use mapc rather than mapcar.
6054 2007-09-21  Markus Triska  <markus.triska@gmx.at>
6056         * emacs-lisp/bytecomp.el (byte-compile-normal-call): Warn when
6057         `mapcar' is called for effect.
6059 2007-09-21  Kevin Ryde  <user42@zip.com.au>
6061         * international/mule.el (sgml-html-meta-auto-coding-function):
6062         Bind `case-fold-search' to t.
6064 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6066         * termdev.el: Remove.
6068         * frame.el (get-device-terminal): New function.  Moved from termdev.el.
6069         (frames-on-display-list): Use it.
6071         * bindings.el: Bind C-z to suspend-frame instead of suspend-emacs.
6073         * termdev.el (terminal-id): Ask terminal-live-p before giving up.
6075 2007-09-20  Richard Stallman  <rms@gnu.org>
6077         * newcomment.el (comment-add): If EXTRA, double `comment-add' value.
6079 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6081         * add-log.el (add-log-current-defun): Fix thinko w.r.t derived-mode-p.
6083 2007-09-20  Glenn Morris  <rgm@gnu.org>
6085         * textmodes/tex-mode.el (tex-validate-buffer): Use paragraph
6086         motion functions, rather than hard-coding "\n\n".
6087         (tex-validate-region): Check for eobp, to speed up.
6088         (tex-next-unmatched-end): Doc fix.
6090 2007-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6092         * files.el (auto-mode-alist): Use archive-mode for .rar files.
6094         * international/mule.el (auto-coding-alist): Rar archives are binary.
6096         * arc-mode.el: Add basic support for Rar.
6097         (archive-find-type): Recognize Rar's signature.
6098         (archive-desummarize): New fun.
6099         (archive-summarize): Use it to restore the buffer's data in case
6100         someone wants to switch to some other major mode.
6101         (archive-resummarize): Use it as well.
6102         (archive-rar-summarize, archive-rar-extract): New functions.
6104         * filesets.el: Remove spurious * in docstrings.
6105         (filesets-running-xemacs): Remove.  Use (featurep 'xemacs) instead.
6106         (filesets-conditional-sort): Remove unused arg `simply-do-it'.
6107         (filesets-ingroup-collect): Remove unused arg `depth'.
6108         (filesets-update): Remove unused arg `version'.
6110         * finder.el (finder-compile-keywords): Fix up comment style.
6111         (finder-mouse-face-on-line): previous-line -> forward-line.
6113         * recentf.el: Remove spurious * in docstrings.
6114         (recentf-save-list): Fix up comment style.
6116         * progmodes/octave-mod.el: Remove spurious * in docstrings.
6117         (octave-mode-map): Move init into declaration and remove \t binding.
6118         (octave-mode-startup-message): Remove unused var.
6119         (octave-scan-blocks): Remove unused arg `from'.
6120         (octave-forward-block, octave-down-block, octave-up-block):
6121         Update callers.
6123         * progmodes/meta-mode.el (meta-mode-syntax-table): Move init into decl.
6124         (meta-mode-map): Likewise and remove \t binding.
6126         * net/snmp-mode.el: Remove spurious * in docstrings.
6127         (snmp-rfc1155-types, snmp-rfc1213-types, snmp-rfc1902-types)
6128         (snmp-rfc1903-types, snmp-rfc1155-access, snmp-rfc1902-access)
6129         (snmp-rfc1212-status, snmp-rfc1902-status): Remove list wrappers now
6130         that completion accepts lists of strings.
6131         (snmp-mode-syntax-table): Move initialization into declaration.
6132         (snmp-mode-map): Likewise and remove \t binding.
6133         (snmp-common-mode): Set tab-always-indent according to snmp-t-a-i.
6134         (snmp-indent-line, snmp-mode-imenu-create-index): Remove unused var.
6135         (snmp-indent-command): Remove.
6137         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Use the default TAB
6138         binding, so tab-always-indent works right.
6140 2007-09-19  Johannes Weiner  <hannes@saeurebad.de>
6142         * net/browse-url.el (browse-url-elinks-new-window): New function.
6143         (browse-url-elinks): Use browse-url-elinks-new-window.
6144         Accept optional second argument `new-window'.  Fix typo in doc-string.
6145         (browse-url-elinks-sentinel): Use browse-url-elinks-new-window.
6146         Improve error message.
6148 2007-09-19  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
6150         * net/browse-url.el (browse-url-url-encode-chars): Use the right
6151         parameter name in the function body.
6152         Reported by Johannes Weiner.
6154 2007-09-19  Glenn Morris  <rgm@gnu.org>
6156         * net/socks.el (socks-open-network-stream): Signal an explicit
6157         error if the port associated with a service string can't be found.
6159         * textmodes/tex-mode.el (tex-terminate-paragraph):
6160         Use backward-paragraph.
6162 2007-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6164         * server.el (server-running-p): New function.
6166 2007-09-18  Jason Rumney  <jasonr@gnu.org>
6168         * term/w32-win.el (w32-focus-frame): Make obsolete alias for
6169         x-focus-frame.
6171         * frame.el (select-frame-set-input-focus, select-frame-by-name):
6172         Use x-focus-frame for w32.
6174 2007-09-17  David Kastrup  <dak@gnu.org>
6176         * textmodes/tex-mode.el (tex-verbatim-environments):
6177         Eliminate CL dependency.
6179 2007-09-17  Richard Stallman  <rms@gnu.org>
6181         * newcomment.el (comment-add): New arg EXTRA.
6182         (comment-region-default): Pass EXTRA if not indenting lines.
6184 2007-09-17  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
6186         * net/browse-url.el (browse-url-url-encode-chars): New function.
6187         URL-encode some chars in a string.
6188         (browse-url-encode-url): Rewrite using the previous function.
6189         (browse-url-file-url): Use `browse-url-url-encode-chars'.
6190         (browse-url-elinks-sentinel): Fix typo.
6191         (browse-url-new-window-flag): Doc change.
6193 2007-09-17  Glenn Morris  <rgm@gnu.org>
6195         * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
6196         filename from `--file-line-error', if it is available.
6198 2007-09-17  Joe Wells  <jbw@macs.hw.ac.uk>  (tiny change)
6200         * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match
6201         TeX `--file-line-error' format.
6203 2007-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
6205         * xt-mouse.el: Delete add-hook calls that were moved to
6206         xterm-mouse-mode.
6207         (xterm-mouse-mode): Disable resume-tty-functions, explain why it
6208         does not work.
6210 2007-09-17  Richard Stallman  <rms@gnu.org>
6212         * cus-face.el (custom-theme-set-faces): Undo previous change.
6214         * faces.el (face-spec-set): When FRAME nil, look up each frame in SPEC.
6216 2007-09-17  Glenn Morris  <rgm@gnu.org>
6218         * textmodes/tex-mode.el (tex-region): Simplify previous change,
6219         handling the case where the region is not in `tex-main-file'.
6220         (tex-region-1): Delete.
6221         (tex-region-header): New function, doing the header part of the
6222         old tex-region-1.
6224 2007-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6226         * simple.el (newline): Simplify use of prefix-numeric-value.
6227         (line-move-partial): Remove unused var `ppos'.
6228         (line-move-1): Replace 9999 with most-positive-fixnum.
6229         (move-end-of-line): Use more efficient single-property search.
6230         (move-beginning-of-line): Remove unused var `start'.
6231         (blink-matching-open): Restructure in a more functional style.
6233 2007-09-16  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
6235         * calendar/holidays.el (list-holidays): Remove the cyclic alias.
6237 2007-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6239         * server.el (server-clients): Only keep procs, no properties any more.
6240         (server-client): Remove.
6241         (server-client-get, server-client-set): Remove, replace all callers by
6242         process-get and process-put resp.
6243         (server-clients-with, server-add-client, server-delete-client)
6244         (server-create-tty-frame, server-create-window-system-frame)
6245         (server-process-filter, server-execute, server-visit-files)
6246         (server-buffer-done, server-kill-buffer-query-function)
6247         (server-kill-emacs-query-function, server-switch-buffer)
6248         (server-save-buffers-kill-terminal): Update accordingly.
6250         * server.el (server-with-environment): Simplify.
6251         (server-select-display, server-unselect-display): Re-add functions that
6252         seem to have been lost in the multi-tty merge.
6253         (server-eval-and-print, server-create-tty-frame)
6254         (server-create-window-system-frame, server-goto-toplevel)
6255         (server-execute, server-return-error): New functions extracted from
6256         server-process-filter.
6257         (server-execute-continuation): New functions.
6258         (server-process-filter): Restructure so that all arguments are analysed
6259         first and then acted upon in a subsequent stage.  This way
6260         server-goto-toplevel can be executed later, when we know if
6261         it's necessary.
6262         Remove the "-version" and "-version-good" support.
6264 2007-09-16  Drew Adams  <drew.adams@oracle.com>
6266         * cus-edit.el (custom-face-edit-activate): Doc fix.
6268 2007-09-16  Glenn Morris  <rgm@gnu.org>
6270         * calendar/cal-menu.el, calendar/calendar.el, calendar/diary-lib.el:
6271         Following cal-bahai renaming, update all instances of
6272         list-bahai-diary-entries to diary-bahai-list-entries,
6273         mark-bahai-diary-entries to diary-bahai-mark-entries,
6274         calendar-goto-bahai-date to calendar-bahai-goto-date,
6275         insert-bahai-diary-entry to diary-bahai-insert-entry,
6276         insert-monthly-bahai-diary-entry to diary-bahai-insert-monthly-entry,
6277         insert-yearly-bahai-diary-entry to diary-bahai-insert-yearly-entry, and
6278         calendar-print-bahai-date to calendar-bahai-print-date.
6280         * textmodes/tex-mode.el (tex-region): Handle the case where the
6281         region is not in `tex-main-file'.  Move the old code that applies
6282         to both cases...
6283         (tex-region-1): ...to this new function.
6285 2007-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6287         * vc.el (vc-process-sentinel): New function.
6288         (vc-exec-after): Use it instead of using ugly hackish analysis and
6289         construction of Elisp code.
6290         (vc-sentinel-movepoint): New dynamically scoped var.
6291         (vc-print-log, vc-annotate): Set it to move the user's point.
6293         * vc-cvs.el (vc-cvs-annotate-time): Use inhibit-read-only and
6294         inhibit-modification-hooks.
6296         * calendar/cal-bahai.el (mark-bahai-diary-entries): Fix up typo.
6297         (calendar-bahai-print-date, calendar-bahai-goto-date)
6298         (diary-bahai-list-entries, diary-bahai-insert-entry):
6299         New names to clean up the namespace a bit more.
6300         (calendar-goto-bahai-date, calendar-print-bahai-date): Compat aliases.
6302 2007-09-15  Glenn Morris  <rgm@gnu.org>
6304         * calendar/holidays.el (holiday-list): Rename it back to
6305         `list-holidays', but leave `holiday-list' as an alias.
6307         * textmodes/bibtex-style.el (bibtex-style-indent-basic): Specify a
6308         custom group.
6310         * textmodes/css-mode.el (css): New custom group.
6311         (css-electrick-keys, css-selector, css-property)
6312         (css-indent-offset): Specify custom group.
6314 2007-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6316         * pcvs.el (cvs-tags-list, cvs-retrieve-revision, cvs-find-modif)
6317         (cvs-execute-single-file): Use process-file.
6318         (cvs-run-process): Use start-file-process.
6320 2007-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
6322         * xt-mouse.el (xterm-mouse-mode): Add hooks here not at the top
6323         level.  Remove the hooks when turning off the mode.
6325         * term/xterm.el: Require xt-mouse at compile time.
6326         (terminal-init-xterm): Turn on xterm mouse tracking for this
6327         terminal if xterm-mouse-mode is enabled.
6329 2007-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
6331         * term/xterm.el (xterm-function-map): Replace bindings that were
6332         deleted by the merge.
6334 2007-09-14  Ulf Jasper  <ulf.jasper@web.de>
6336         * play/bubbles.el (bubbles-version): Bump value to "0.5".
6337         (bubbles-mode-map): Move define-key statements here.
6338         (bubbles-game-theme-menu): Ditto.
6339         (bubbles-graphics-theme-menu): Ditto.
6340         (bubbles-menu): Ditto.
6341         (bubbles-mode): Initialize buffer-undo-list, redisplay.
6342         (bubbles--initialize): Reset buffer-undo-list, redisplay.
6343         (bubbles-plop): Set buffer-undo-list, redisplay.
6344         (bubbles-undo): Reset buffer-undo-list, redisplay.
6345         (bubbles--show-images): Take care of missing text properties.
6347 2007-09-14  Glenn Morris  <rgm@gnu.org>
6349         * startup.el (fancy-startup-text, fancy-about-text): Fix face
6350         quoting.
6352         * calendar/cal-hebrew.el, calendar/cal-menu.el
6353         * calendar/calendar.el, calendar/diary-lib.el
6354         * calendar/holidays.el: Rename all instances of
6355         list-calendar-holidays callers to calendar-list-holidays,
6356         list-holidays to holiday-list, check-calendar-holidays to
6357         calendar-check-holidays, mark-calendar-holidays to
6358         calendar-mark-holidays, and filter-visible-calendar-holidays to
6359         holiday-filter-visible-calendar.
6361 2007-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
6363         * term/xterm.el (xterm-function-map): Add C-M- bindings.
6365 2007-09-13  Sascha Wilde  <wilde@sha-bang.de>  (tiny change)
6367         * play/bubbles.el (bubbles--initialize-images): Fix bug:
6368         Use transparent background for empty cells in graphics mode.
6370 2007-09-13  Jari Aalto  <jari.aalto@cante.net>
6372         * man.el (Man-default-man-entry): At end of line, continue looking
6373         to the next line for possible end of hyphenated command.
6375 2007-09-13  Chris Moore  <dooglus@gmail.com>
6377         * shell.el (shell-resync-dirs): Don't move the cursor relative to
6378         the command being edited.
6380 2007-09-12  Jim Meyering  <jim@meyering.net>  (tiny change)
6382         * emacs-lisp/copyright.el (copyright-names-regexp): Doc fix: typo.
6384 2007-09-12  Dan Nicolaescu  <dann@ics.uci.edu>
6386         * term/xterm.el (xterm-function-map): Add bindings for M-S- and
6387         C-M-S- keys.
6389         * term/rxvt.el (rxvt-function-map): Initialize in the declaration.
6391 2007-09-12  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
6393         * net/browse-url.el (browse-url-encode-url): Fix an infinite loop.
6394         New argument `filename-p' to use one set of confusing chars or another.
6395         (browse-url-file-url): Use the argument.
6396         Suggested by Johannes Weiner.
6398 2007-09-12  Romain Francoise  <romain@orebokech.com>
6400         * cus-start.el (all): Revert 2007-09-08 change.
6402 2007-09-12  Aaron Hawley  <aaronh@garden.org>
6404         * jka-cmpr-hook.el (jka-compr-compression-info-list): Use gzip to
6405         extract .Z files, since it is more common than uncompress.
6407 2007-09-12  Glenn Morris  <rgm@gnu.org>
6409         * textmodes/org-publish.el (org-publish-org-to-html): Remove
6410         duplicate function definition.
6412 2007-09-10  Chris Moore  <dooglus@gmail.com>
6414         * diff-mode.el (diff-sanity-check-hunk):
6415         Also accept single-line hunks.
6417 2007-09-10  Chong Yidong  <cyd@stupidchicken.com>
6419         * startup.el (startup-screen-inhibit-startup-screen)
6420         (pure-space-overflow-message): New vars.
6421         (fancy-splash-insert): Allow functions for face and link specs.
6422         (fancy-splash-head): Remove unused arg.  Move splash text...
6423         (fancy-startup-text, fancy-about-text): ...here.
6424         (fancy-startup-tail): Rename from fancy-splash-tail.
6425         (fancy-startup-screen, fancy-about-screen): Split off from
6426         fancy-splash-screens.
6427         (display-startup-screen): New function.
6428         (display-about-screen): Rename from display-splash-screen.
6429         (command-line-1): Use concise startup screen if necessary.
6431 2007-09-10  Thien-Thi Nguyen  <ttn@gnuvola.org>
6433         * net/browse-url.el (browse-url-encode-url): Use copy-sequence.
6434         Reported by Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>.
6436 2007-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6438         * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
6439         (python-font-lock-keywords): Update to the 2.5 version of the language.
6440         (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
6441         (python-backspace): Only behave funny in code.
6442         (python-compilation-regexp-alist): Add PDB stack trace regexp.
6443         (inferior-python-mode): Add PDB prompt regexp.
6444         (python-fill-paragraph): Refine the fenced-string regexp.
6445         (python-find-imports): Handle imports spanning several lines.
6446         (python-mode): Add `class' to hideshow support.
6448 2007-09-10  Dave Love  <fx@gnu.org>
6450         * outline.el (outline-4, outline-5, outline-7):
6451         Move font-lock-builtin-face down from 4 to 7 to better keep the
6452         progression of color brightness, and to better match Org-mode's faces.
6454 2007-09-10  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
6456         * progmodes/meta-mode.el (meta-font-lock-keywords)
6457         (font-lock-match-meta-declaration-item-and-skip-to-next)
6458         (meta-comment-indent, meta-indent-previous-line)
6459         (meta-indent-unfinished-line, meta-beginning-of-defun)
6460         (meta-end-of-defun, meta-common-initialization): Handle \f.
6461         (meta-indent-unfinished-line): Do not handle a `%' in a string as
6462         a comment-start.
6464         * files.el (file-modes-char-to-who, file-modes-char-to-right)
6465         (file-modes-rights-to-number): Auxiliary functions for symbolic to
6466         numeric notation of file modes.
6467         (file-modes-symbolic-to-number): New.  Convert symbolic modes to its
6468         numeric value.
6469         (read-file-modes): New.  Read either an octal value of a file mode or a
6470         symbolic value, and return its numeric value.
6472         * dired-aux.el (dired-do-chmod): Change to use the built-in
6473         `set-file-modes' and the previous symbolic mode parsing functions.
6475 2007-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6477         * textmodes/texinfo.el: Remove spurious * in docstrings.
6478         (texinfo-mode-syntax-table, texinfo-mode-map):
6479         Initialize in the declaration.
6481         * tmm.el: Remove spurious * in docstrings.
6482         (tmm-prompt): Use with-current-buffer.
6484         * vcursor.el: Remove spurious * in docstrings.
6485         (vcursor-map): Initialize in the declaration.
6486         (vcursor-use-vcursor-map): Use define-minor-mode.
6487         (vcursor-toggle-vcursor-map): Keep as an obsolete alias.
6489         * wid-browse.el (widget-browse-mode-map, widget-minor-mode-map):
6490         Initialize in the declaration.
6491         (widget-minor-mode): Use define-minor-mode.
6493         * woman.el (woman-mode-map, woman-syntax-table):
6494         Initialize in the declaration.
6496 2007-09-09  Tassilo Horn  <tassilo@member.fsf.org>
6498         * doc-view.el: New file.
6500 2007-09-09  Juri Linkov  <juri@jurta.org>
6502         * Makefile.in (update-authors): Add etc/ to AUTHORS.
6504         * makefile.w32-in (update-authors): Add etc/ to AUTHORS.
6506         * startup.el (initial-buffer-choice): Rename choice "Splash screen"
6507         to "Startup screen".  Fix docstring.
6508         (inhibit-startup-screen): Rename from `inhibit-splash-screen'.
6509         (inhibit-splash-screen): Make alias to `inhibit-startup-screen'.
6510         (inhibit-startup-message): Change alias to `inhibit-startup-screen'.
6511         (initial-scratch-message): Fix docstring.
6512         (fancy-startup-text): Move link to Emacs Manual below Emacs Guided
6513         Tour (which is a kind of tutorial and will be next to Emacs Tutorial).
6514         Add link to "Customize Startup" and set interval between links to
6515         5 spaces.
6516         (fancy-about-text): Add links "Authors" and "Contributing".
6517         (fancy-splash-head): Add text "Welcome to " on the startup screen,
6518         and "This is " on the about screen.  Add link to
6519         "http://www.gnu.org/software/emacs/" for "GNU Emacs".
6520         For the about screen move emacs version to the header from
6521         `fancy-splash-tail' (as it's done already for normal about screen).
6522         (fancy-splash-tail): Insert emacs version only for startup screen.
6523         (normal-splash-screen): Remove duplicate empty lines.
6524         (normal-about-screen): Add links "Authors" and "Contributing".
6526         * menu-bar.el (menu-bar-help-menu):
6527         Move "About Emacs" and "About GNU" to the end of the Help menu.
6528         Move "Emacs Psychotherapist" after "Send Bug Report...".
6529         Move "External Packages" after "Find Emacs Packages".
6531 2007-09-09  Michael Albinus  <michael.albinus@gmx.de>
6533         * net/tramp.el (top): Remove declarations of `tramp-gw-*' symbols,
6534         they are useless with the byte compiler.
6535         (tramp-make-temp-file, tramp-make-tramp-temp-file): Move up.
6536         (tramp-do-copy-or-rename-file-directly): Rearrange let-bindings.
6537         (tramp-compute-multi-hops): Mask `tramp-gw-*' symbols.
6538         (tramp-file-name-real-host, tramp-file-name-port)
6539         (tramp-find-method, tramp-find-user, tramp-find-host): Make them
6540         defuns.
6542         * net/tramp-cache.el (top): Improve error message when
6543         `tramp-persistency-file-name' is corrupted.
6545 2007-09-09  Carsten Dominik  <dominik@science.uva.nl>
6547         * textmodes/org.el (org-re): Also replace the :alpha: class.
6548         (org-todo-tag-alist): Variable removed.
6549         (org-todo-key-alist, org-todo-key-trigger): New variables.
6550         (org-use-fast-todo-selection): New option.
6551         (org-log-done): Docstring fixed.
6552         (org-deadline-warning-days): New default value 14.
6553         (org-edit-timestamp-down-means-later): New option.
6554         (org-tag-alist): Docstring fixed.
6555         (org-fast-tag-selection-include-todo): New option.
6556         (org-export-language-setup): New languages added.
6557         (org-set-regexps-and-options): Compute the new variables.
6558         (org-paste-subtree): Cleaning up.
6559         (org-remember-apply-template): New escape %A.
6560         (org-todo): Call fast TODO selection.
6561         (org-fast-todo-selection): New function.
6562         (org-add-log-note): Allow prefix for abort exit.
6563         (org-at-property-p, org-entry-properties)
6564         (org-columns-get-autowidth-alist): Use :alpha: class.
6565         (org-get-wdays): New function.
6566         (org-agenda-remove-date): New variable.
6567         (org-agenda-get-deadlines): Use `org-get-wdays'.
6568         (org-agenda-get-deadlines): Reverse ee before returning.
6569         (org-format-agenda-item): New argument REMOVE-RE.
6570         (org-agenda-convert-date): Baha'i calendar added.
6571         (org-infile-export-plist): Also find DATE line.
6572         (org-get-min-level): New function.
6573         (org-export-as-html, org-export-as-ascii): Use the date format.
6574         (org-shiftup, org-shiftdown): Use.
6575         `org-edit-timestamp-down-means-later'.
6576         (org-assign-fast-keys): New function.
6578 2007-09-08  Fredrik Axelsson  <f.axelsson@gmail.com>
6580         * cus-start.el (all): Add prefer-window-split-horizontally from
6581         window.c.
6583 2007-09-08  Eli Zaretskii  <eliz@gnu.org>
6585         * net/browse-url.el (browse-url-galeon): Fix last change.
6586         (top-level): Require cl when compiling.
6588 2007-09-08  Carsten Dominik  <dominik@science.uva.nl>
6590         * textmodes/org-export-latex.el: arch-tag restored.
6592         * textmodes/org-publish.el: arch-tag restored.
6594 2007-09-08  Masatake YAMATO  <jet@gyve.org>
6596         * progmodes/which-func.el (which-func-modes): Add diff-mode.
6598         * progmodes/cc-langs.el: Support new keywords added to
6599         objective-c frontend of gcc.
6600         (c-simple-stmt-kwds): Add @throw.
6601         (c-block-stmt-2-kwds): Add @synchronized.
6602         (c-block-stmt-1-kwds): Add @finally and @try.
6604 2007-09-07  Carsten Dominik  <dominik@science.uva.nl>
6606         * textmodes/org.el (org-edit-timestamp-down-means-later): New option.
6607         (org-agenda-after-show-hook): New variable.
6608         (org-columns-compile-format)
6609         (org-columns-get-autowidth-alist, org-buffer-property-keys)
6610         (org-entry-properties, org-at-property-p): Allow [:alnum:] in
6611         property names.
6612         (org-get-wdays): New function.
6614 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6616         * simple.el (normal-erase-is-backspace-setup-frame): Massage.
6618         * term/xterm.el (xterm-function-map): Initialize in the declaration.
6620         * vc-arch.el (vc-arch-checkin): Fix typo.
6622 2007-09-07  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
6624         * cus-face.el (custom-theme-set-faces): Set face attributes
6625         locally for each frame.
6627 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6629         * progmodes/fortran.el (fortran-mode): Set font-lock-syntactic-keywords
6630         via font-lock-defaults.
6632         * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via
6633         derived-mode-p.
6635 2007-09-07  Thien-Thi Nguyen  <ttn@gnuvola.org>
6637         * progmodes/autoconf.el (autoconf-definition-regexp):
6638         Handle optional square brackets around definition name.
6640 2007-09-07  Johannes Weiner  <hannes@saeurebad.de>
6642         * net/browse-url.el (browse-url-browser-function): Add elinks.
6643         (browse-url-elinks-wrapper): New option.
6644         (browse-url-encode-url, browse-url-elinks)
6645         (browse-url-elinks-sentinel): New functions.
6646         (browse-url-file-url, browse-url-netscape, browse-url-mozilla)
6647         (browse-url-firefox, browse-url-galeon, browse-url-epiphany):
6648         Use new function browse-url-encode-url.
6650 2007-09-07  Glenn Morris  <rgm@gnu.org>
6652         * version.el (emacs-version): Revert 2007-08-29 change: no need to
6653         say if multi-tty is present.
6655 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6657         * cus-start.el (split-window-preferred-function): Add custom info.
6659         * calendar/holidays.el (holiday-list, calendar-check-holidays)
6660         (calendar-mark-holidays, calendar-list-holidays)
6661         (holiday-filter-visible-calendar): New names to clean up namespace.
6662         (filter-visible-calendar-holidays, list-calendar-holidays)
6663         (mark-calendar-holidays, check-calendar-holidays, list-holidays):
6664         Add compatibility aliases.
6665         (calendar-check-holidays, calendar-mark-holidays)
6666         (calendar-holiday-list, holiday-filter-visible-calendar): Use dolist.
6667         (holiday-sexp): Replace append with list.
6668         (holiday-filter-visible-calendar): Replace append with push.
6670         * woman.el: Remove spurious * in docstrings.
6671         (woman-mini-help, woman-non-underline-faces, woman0-rename)
6672         (woman-topic-all-completions-merge, woman-file-name-all-completions)
6673         (woman-select-symbol-fonts, woman-expand-directory-path): Use dolist.
6674         (woman-write-directory-cache, woman-display-extended-fonts)
6675         (WoMan-log-begin, WoMan-log-1): Use with-current-buffer.
6676         (woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails.
6677         (woman-mode): Use inhibit-read-only.
6678         (woman-negative-vertical-space): Use dotimes.
6679         (woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char.
6681 2007-09-06  Romain Francoise  <romain@orebokech.com>
6683         * vc-bzr.el (vc-bzr-admin-lastrev): New defconst.
6684         (vc-bzr-workfile-version): Use it.
6686 2007-09-06  Sean O'Rourke  <sorourke@cs.ucsd.edu>
6688         * complete.el (PC-do-completion): Don't try to treat
6689         empty string as an abbreviation.
6691 2007-09-06  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
6693         * help-fns.el (describe-variable): Keep doc's text properties.
6695 2007-09-06  Dan Nicolaescu  <dann@ics.uci.edu>
6697         * vc.el (vc-default-diff-tree): Pass a list to the diff vc command
6698         instead of a file.
6700 2007-09-06  Glenn Morris  <rgm@gnu.org>
6702         * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New.
6703         (checkdoc-minor-mode): Allow user to specify lighter via
6704         checkdoc-minor-mode-string.
6706 2007-09-05  Richard Stallman  <rms@gnu.org>
6708         * startup.el (fancy-startup-text): Rename from fancy-splash-text.
6709         Several items removed, simplified, or put on one line.
6710         (fancy-about-text): Add substantial contents, part of startup text.
6711         (fancy-splash-head): Make "GNU" or "GNU/Linux" a link.
6712         (normal-splash-screen): Call normal-mouse-startup-screen,
6713         normal-no-mouse-startup-screen, or normal-about-screen.
6714         (normal-mouse-startup-screen): New fn, broken out, shortened.
6715         (normal-no-mouse-startup-screen): New fn, broken out.
6716         (normal-about-screen): New function, contents all new.
6718 2007-09-05  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
6720         * emacs-lisp/rx.el (rx): Fix typo in docstring.
6722 2007-09-05  Glenn Morris  <rgm@gnu.org>
6724         * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
6725         is bound.
6727 2007-09-05  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
6729         * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
6730         in doc string.
6732 2007-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
6734         * server.el (server-start, server-unload-hook): Undo previous change.
6736         * xt-mouse.el: Undo previous change.
6738 2007-09-04  Juri Linkov  <juri@jurta.org>
6740         * startup.el (fancy-about-text): New variable.
6741         (fancy-splash-delay, fancy-splash-max-time): Remove user options.
6742         (fancy-current-text, fancy-splash-stop-time)
6743         (fancy-splash-outer-buffer): Remove variables.
6744         (fancy-splash-head, fancy-splash-tail): Add new optional argument
6745         `startup' and use it to conditionally display different texts for
6746         Startup and About screens.  Don't display Help commands on the About
6747         screen.
6748         (fancy-splash-screens-1): Remove function and move its content to
6749         `fancy-splash-screens' to the part that dislpays the About screen.
6750         (exit-splash-screen): Don't treat specially exiting from
6751         alternating screens.
6752         (fancy-splash-screens): Rename argument `static' to `startup'.
6753         Fix docstring.  Remove code for displaying alternating screens.
6754         Use arg `startup' in calls to `fancy-splash-head', `fancy-splash-tail'.
6755         Remove let-bind for `fancy-splash-outer-buffer' and add let-bind
6756         for `inhibit-read-only'.
6757         (normal-splash-screen): Rename argument `static' to `startup'.
6758         Fix docstring.  Use argument `startup' to conditionally display
6759         different texts for Startup and About screens.  Don't display Help
6760         commands on the About screen.  Remove `unwind-protect' `sit-for'
6761         delay and `kill-buffer' after it.
6762         (display-startup-echo-area-message): Remove call to
6763         `use-fancy-splash-screens-p' because image.el is preloaded and
6764         doesn't display "Loading image... done".
6765         (display-splash-screen): Rename argument `static' to `startup'.
6766         Fix docstring.
6768 2007-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
6770         * server.el (server-start, server-unload-hook):
6771         suspend-tty-functions has been renamed to suspend-tty-hook.
6773         * xt-mouse.el: Likewise. resume-tty-functions has been renamed to
6774         resume-tty-hook.
6776 2007-09-03  Emanuele Giaquinta  <e.giaquinta@glauco.it>  (tiny change)
6778         * loadup.el: Fix merge problem, only load "button" once.
6780 2007-09-03  Glenn Morris  <rgm@gnu.org>
6782         * vc-svn.el (vc-svn-print-log): If there is only one file, use
6783         "Working file:" as the prefix, for the sake of
6784         log-view-current-file.
6786 2007-09-02  Dan Nicolaescu  <dann@ics.uci.edu>
6788         * term/xterm.el (xterm-modify-other-keys-terminal-list): New variable.
6789         (xterm-turn-on-modify-other-keys): Only turn on modify-other-keys
6790         if the selected frames is in
6791         xterm-modify-other-keys-terminal-list.
6792         (xterm-turn-off-modify-other-keys): Add an optional frame
6793         parameter.  Only turn off modify-other-keys if FRAME is in
6794         xterm-modify-other-keys-terminal-list.
6795         (xterm-remove-modify-other-keys): New function.
6796         (terminal-init-xterm): Use it.  Deal with delete-frame hook.
6797         Add the selected frame to xterm-modify-other-keys-terminal-list.
6799 2007-09-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
6801         * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager.
6802         (icon-map-list): New variable.
6803         (x-gtk-map-stock): Use icon-map-list.
6805 2007-09-02  Romain Francoise  <romain@orebokech.com>
6807         * log-view.el (log-view-current-file): Balance parens.
6809 2007-09-02  Glenn Morris  <rgm@gnu.org>
6811         * comint.el (comint-mode): Don't set scroll-conservatively.
6813         * eshell/em-unix.el (eshell/time): Stringify and flatten the
6814         non-command arguments.
6816         * log-view.el (log-view-current-file): Give a more explicit error
6817         if log-view-file-re fails to find a match.
6819 2007-09-01  Thien-Thi Nguyen  <ttn@gnuvola.org>
6821         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6822         Fix bug: Don't expand top-level file name more than once.
6823         Reported by Dmitry Antipov <dmantipov@yandex.ru>.
6825 2007-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6827         * server.el (server-process-filter): Don't display the splash screen.
6828         It's annoying enough on the initial screen and becomes positively
6829         obnoxious here.
6831 2007-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6833         * emacs-lisp/avl-tree.el: Use defstruct rather than macros.
6834         Change naming to use "avl-tree--" for internal functions.
6836 2007-08-31  Dan Nicolaescu  <dann@ics.uci.edu>
6838         * term/x-win.el (x-menu-bar-open): Delete duplicated function from
6839         the merge.
6840         (global-set-key): Delete f10 mapping, now done in menu-bar.el.
6841         (provide): Move to the end of file.
6843         * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff.
6845 2007-08-31  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
6847         * textmodes/flyspell.el (flyspell-mark-duplications-exceptions):
6848         New variable.  List of exceptions for the duplicated word rule.
6849         (flyspell-mark-duplications-flag): Mention it.
6850         (flyspell-word): Treat it.
6852         * files.el (create-file-buffer): If the filename sans directory starts
6853         with spaces, remove them.
6855 2007-08-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
6857         * term/x-win.el (x-gtk-stock-map): Add etc/images to keys.
6858         (x-gtk-map-stock): Use two directory elements when matching
6859         file name.
6861 2007-08-31  James Wright  <james@chumsley.org>
6863         * eshell/em-unix.el (eshell/info): New function.
6865 2007-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6867         * frame.el (frame-initialize, make-frame):
6868         * server.el (server-process-filter):
6869         * faces.el (tty-set-up-initial-frame-faces): Don't set
6870         term-environment-variable since it's not used any more.
6872         * env.el (setenv): Don't treat $TERM specially.
6874         * startup.el (normal-top-level): Set $TERM to `dumb' so that unless
6875         stated otherwise, subprocesses do not send back escape sequences
6876         corresponding to the terminal from which Emacs was started.
6878 2007-08-31  Thien-Thi Nguyen  <ttn@gnuvola.org>
6880         * calculator.el: Require cl for compilation.
6882 2007-08-30  Daniel Pfeiffer  <occitan@esperanto.org>
6884         * outline.el (outline-font-lock-levels): Comment out unused var.
6885         (outline-font-lock-face): Wrap around face list to handle any
6886         nesting depth gracefully.
6888 2007-08-30  Michael Albinus  <michael.albinus@gmx.de>
6890         * net/ange-ftp.el: Add ange-ftp property to `set-file-modes' and
6891         `set-file-times'.
6893 2007-08-30  Carsten Dominik  <dominik@science.uva.nl>
6895         * textmodes/org.el (org-export-visible): Fix drawers before export.
6896         (org-do-sort): Allow sorting by priority.
6897         (org-agenda-files): Ignore non-existing files.
6898         (org-agenda-skip-unavailable-files): New variable.
6899         (org-ellipsis): All a face as value.
6900         (org-mode): Interprete the face value of `org-ellipsis'.
6901         (org-archive-save-context-info): New option.
6902         (org-archive-subtree): Store context info in archived entry.
6903         (org-fast-tag-selection-can-set-todo-state): New variable.
6904         (org-fast-tag-selection): Allow setting TODO states through this
6905         interface.
6906         (org-cycle): Docstring updated.
6907         (org-todo-keyword-faces): New option.
6908         (org-get-todo-face): New function.
6909         (org-set-font-lock-defaults, org-agenda-highlight-todo):
6910         Use `org-get-todo-face'.
6911         (org-switch-to-buffer-other-window): New function.
6912         (org-table-edit-field, org-table-show-reference)
6913         (org-table-edit-formulas, org-add-log-note)
6914         (org-fast-tag-selection, org-agenda, org-prepare-agenda)
6915         (org-timeline): Use `org-switch-to-buffer-other-window' instead of
6916         `switch-to-buffer-other-window' to make sure that the temporary
6917         windows show up on the current frame.
6918         (org-mhe-get-message-real-folder, org-batch-store-agenda-views)
6919         (org-get-entries-from-diary, org-replace-region-by-html):
6920         Don't allow pop-up frames.
6921         (org-agenda-get-deadlines, org-agenda-get-scheduled):
6922         Fix problems with time-of-day.
6923         (org-export-get-title-from-subtree): New function.
6924         (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems
6925         with listing items that are DONE.
6926         (org-change-tag-in-region): New command.
6927         (org-agenda-skip-scheduled-if-done)
6928         (org-agenda-skip-deadline-if-done): Docstring clarified.
6929         (org-mode): Hide drawers on startup.
6930         (org-get-todo-face): New function.
6931         (org-todo-keyword-faces): New option.
6932         (org-set-regexps-and-options): Use `org-remove-keyword-keys'.
6933         (org-remove-keyword-keys): New function.
6935 2007-08-30  Jari Aalto  <jari.aalto@cante.net>  (tiny change)
6937         * progmodes/grep.el (grep-find-ignored-directories):
6938         Add monotone _MTN bookkeeping directory in workspaces.
6939         Add RCS control directory.  List items in alphabetical order.
6941         * progmodes/grep.el (grep-files-aliases): Add cc alias.
6942         Sort items in alphabetical order.  Fix parens.
6944 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
6946         * vc-hg.el (vc-hg-extra-menu-map): New variable.
6947         (vc-hg-extra-menu, vc-hg-outgoing, vc-hg-incoming, vc-hg-push)
6948         (vc-hg-pull): New functions.
6949         (vc-hg-outgoing-mode, vc-hg-incoming-mode): New derived modes.
6951         * term/mac-win.el: Don't require url, only autoloaded url
6952         functions are used in this file.
6954 2007-08-29  Andreas Schwab  <schwab@suse.de>
6956         * shell.el (shell): Return correct value from interactive spec.
6958 2007-08-29  Glenn Morris  <rgm@gnu.org>
6960         * version.el (emacs-version): Increase to 23.0.50.
6962 2007-08-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
6964         * term/x-win.el (x-gtk-stock-map): :version changed to 23.1.
6966 2007-08-29  Juri Linkov  <juri@jurta.org>
6968         * loadup.el: Add "button" loading after "faces" and move "startup"
6969         to load after "button".
6971 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
6973         * loadup.el: Load term/mac-win on a Mac using Carbon.
6975         * term/mac-win.el: Provide mac-win.
6976         (mac-initialized): New variable.
6977         (mac-initialize-window-system): New function.  Move global setup here.
6978         (handle-args-function-alist, frame-creation-function-alist):
6979         (window-system-initialization-alist): Add mac entries.
6980         (x-setup-function-keys): New function containing all the
6981         top level function key definitions.
6983         * term/x-win.el (x-menu-bar-open): Use accelerate-menu.
6985         * env.el (read-envvar-name): Don't consider the environment frame param.
6987         * env.el (setenv):
6988         * frame.el (frame-initialize, make-frame):
6989         * faces.el (tty-set-up-initial-frame-faces):
6990         * server.el (server-process-filter): Set
6991         display-environment-variable and term-environment-variable.
6993         * server.el (server-process-filter): Set COLORFGBG and COLORTERM.
6995 2007-08-29  Jason Rumney  <jasonr@gnu.org>
6997         * loadup.el: Only load term/x-win when X is compiled in.
6998         Load term/w32-win and dependencies on windows-nt.
7000         * term/w32-win.el: Reorder to match x-win.el more closely.
7001         Provide w32-win.  Don't throw error when global window-system not w32.
7002         (internal-face-interactive): Remove obsolete function.
7003         (x-setup-function-keys): Use local-function-key-map.
7004         (w32-initialized): New variable.
7005         (w32-initialize-window-system): Set it.
7006         Move more global setup here.
7007         (x-setup-function-keys): New function.
7008         (w32-initialize-window-system): Move non function key global setup here.
7009         (x-cut-buffer-max): Remove.
7010         (w32-initialize-window-system): New function.
7011         (handle-args-function-alist, frame-creation-function-alist):
7012         (window-system-initialization-alist): Add w32 entries.
7014 2007-08-29  David Kastrup  <dak@gnu.org>
7016         * env.el (getenv): Pass frame to getenv-internal.
7018 2007-08-29  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <lorentey@elte.hu>
7020         * version.el (emacs-version): Show if multi-tty is present.
7022         * loadup.el: Delay loading env; mule-conf gets confused by cl
7023         during bootstrap.  Also load termdev and term/x-win.
7025         * bindings.el (mode-line-client): New variable.
7026         (help-echo): Add it to the default mode-line format.
7028         * cus-start.el: Remove bogus window-system reference from GTK test.
7030         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map)
7031         (ebrowse-electric-position-mode-map):
7032         * ebuff-menu.el (electric-buffer-menu-mode-map):
7033         * echistory.el (electric-history-map): Bind C-z to `suspend-frame',
7034         not `suspend-emacs'.
7036         * ediff-wind.el (ediff-setup-windows-automatic): New function.
7037         (ediff-window-setup-function): Use it as default.
7039         * files.el (save-buffers-kill-terminal): New function.
7040         (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal.
7042         * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'
7043         and `with-selected-frame'.
7045         * help-fns.el (describe-variable): Describe frame-local variables
7046         correctly.
7048         * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
7049         display support.
7050         (normal-erase-is-backspace-setup-frame): New function.
7052         * subr.el (with-selected-frame): New function.
7053         (read-quoted-char): Use terminal-local binding of
7054         local-function-key-map instead of function-key-map.
7056         * talk.el (talk): New function.
7057         (talk-handle-delete-frame): New function.
7058         (talk-add-display): Open a new frame only if FRAME was not a frame.
7060         * termdev.el: New file.
7062         * menu-bar.el (menu-bar-open): New function.  Bind it to f10.
7063         * term/x-win.el: Don't bind f10.
7064         * tmm.el: Remove autoload binding for f10.
7066         * international/encoded-kb.el (encoded-kbd-setup-display): Use
7067         `set-input-meta-mode'.  Fix broken condition before set-input-mode.
7068         Store the saved input method as a terminal parameter.  Add keymap
7069         parameter.  Use it instead of changing key-translation-map directly.
7070         (saved-key-translation-map, encoded-kbd-mode, saved-input-mode):
7071         Remove.
7072         (encoded-kbd-setup-display): New function.
7074         * international/mule-cmds.el (set-locale-environment): Fix getenv
7075         call.  Use save-buffers-kill-terminal.  Ignore window-system; always
7076         set the keyboard coding system.  Add DISPLAY parameter.
7077         (set-display-table-and-terminal-coding-system): Add DISPLAY
7078         parameter.  Pass it to set-terminal-coding-system.
7080         * international/mule.el (keyboard-coding-system): Test for
7081         encoded-kbd-setup-display, not encoded-kbd-mode.
7082         (set-terminal-coding-system, set-keyboard-coding-system): Add
7083         DISPLAY parameter.
7084         (set-keyboard-coding-system): Use encoded-kbd-setup-display.
7086         * term/README: Update.
7088         * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
7090         * term/x-win.el (x-setup-function-keys): New function.  Move
7091         function-key-map tweaks here.  Protect against multiple calls on
7092         the same terminal.  Use terminal-local binding of
7093         local-function-key-map instead of function-key-map.
7094         (x-initialize-window-system): Make a copy of pure list.  Pass a
7095         frame getenv.
7097         * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el:
7098         * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el:
7099         * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el:
7100         * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el:
7101         * term/tvi970.el, term/wyse50.el: Use terminal-local binding of
7102         local-function-key-map instead of function-key-map.
7104         * term/rxvt.el, term/xterm.el: Speed up load time by protecting
7105         `substitute-key-definition' and `define-key' calls against
7106         multiple execution.  Use terminal-local binding of
7107         local-function-key-map instead of function-key-map.  Pass a frame
7108         to getenv.
7110         * edmacro.el (edmacro-format-keys):
7111         * emulation/cua-base.el (cua--pre-command-handler):
7112         * isearch.el (isearch-other-meta-char):
7113         * xt-mouse.el: Use terminal-local binding of
7114         local-function-key-map instead of function-key-map.
7116         * fringe.el (set-fringe-mode): Simplify and fix using
7117         `modify-all-frames-parameters'.
7118         * scroll-bar.el (set-scroll-bar-mode): Ditto.
7119         * tool-bar.el (tool-bar-mode): Ditto.  Remove 'tool-bar-map length
7120         check before calling `tool-bar-setup'.
7121         (tool-bar-setup): New variable.
7122         (tool-bar-setup): Use it to guard against multiple calls.  Add
7123         optional frame parameter, and select that frame before adding items.
7124         (toggle-tool-bar-mode-from-frame): New function.
7126         * menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
7127         (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and
7128         toggle-tool-bar-mode-from-frame to change "Menu-bar" and
7129         "Tool-bar" toggles to reflect the state of the current frame.
7130         (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'.
7132         * env.el: Require cl for byte compilation (for `block' and `return').
7133         (environment, setenv-internal): New functions.
7134         (let-environment): New macro.
7135         (setenv, getenv): Add optional terminal parameter.  Update docs.
7136         (setenv): Use setenv-internal.  Always set process-environment.
7137         Handle `local-environment-variables'.
7138         (read-envvar-name, setenv, getenv): Use frame parameters
7139         to store the local environment, not terminal parameters.  Include
7140         `process-environment' as well.
7142         * faces.el (tty-run-terminal-initialization): New function.
7143         (tty-create-frame-with-faces): Use it.  Set up faces and
7144         background mode only after the terminal has been initialized.
7145         Call terminal-init-*.  Don't load the initialization file more
7146         than once.  Call set-locale-environment.
7147         (frame-set-background-mode): Handle the 'background-mode terminal
7148         parameter.
7149         (tty-find-type): New function.
7150         (x-create-frame-with-faces): Remove bogus check for
7151         first frame.  Call `tool-bar-setup'.  Don't make frame visible
7152         until we are done setting up all its parameters.  Call
7153         x-setup-function-keys.
7155         * frame.el (make-frame): Always inherit 'environment and 'client
7156         parameters.  Set up the 'environment frame parameter, when needed.
7157         Also inherit 'client parameter.  Don't override explicitly
7158         specified values with inherited ones.  Add 'terminal frame
7159         parameter.  Append window-system-default-frame-alist to parameters
7160         before calling frame-creation-function.
7161         (frame-initialize): Copy the environment from the initial frame.
7162         (window-system-default-frame-alist): Enhance doc string.
7163         (frame-notice-user-settings): Don't put 'tool-bar-lines in
7164         `default-frame-alist' when initial frame is on a tty.
7165         (modify-all-frames-parameters): Simplify using `assq-delete-all'.
7166         Remove specified parameters from `window-system-default-frame-alist'.
7167         (make-frame-on-tty, framep-on-display, suspend-frame):
7168         Extend doc string, update parameter names.
7169         (frames-on-display-list): Use terminal-id to get the display id.
7170         (frame-notice-user-settings): Extend to apply
7171         settings in `window-system-default-frame-alist' as well.
7172         (terminal-id, terminal-parameters, terminal-parameter)
7173         (set-terminal-parameter, terminal-handle-delete-frame): New functions.
7174         (delete-frame-functions): Add to `delete-frame-functions' hook.
7175         (blink-cursor-mode): Adapt blink-cursor-mode default
7176         value from startup.el.
7177         (make-frame-on-display): Protect condition on x-initialized when
7178         x-win.el is not loaded.  Update doc.
7179         (suspend-frame): Use display-controlling-tty-p to decide between
7180         suspend-emacs and suspend-tty.
7181         (frames-on-display-list): Update for display ids.
7182         (framep-on-display): Ditto.
7183         (suspend-frame): Use display-name, not frame-tty-name.
7184         (selected-terminal): New function.
7186         * server.el: Use `device' instead of `display' or `display-id' in
7187         variable and client parameter names.
7188         (server-select-display): Remove (unused).
7189         (server-tty-live-p, server-handle-delete-tty): Remove.
7190         (server-unquote-arg, server-quote-arg, server-buffer-clients):
7191         Update docs.
7192         (server-getenv-from, server-with-environment, server-send-string)
7193         (server-save-buffers-kill-terminal): New functions.
7194         (server-delete-client): Handle quits in kill-buffer.  Don't kill
7195         modified buffers.  Add extra logging.  Delete frames after
7196         deleting the tty.  Clear 'client parameter before deleting a frame.
7197         Use delete-display, not delete-tty.
7198         (server-visit-files): Don't set `server-existing-buffer' if the
7199         buffer already has other clients.  Return list of buffers
7200         created.  Update doc.  Don't set client-record when nowait.
7201         (server-handle-delete-frame): Delete the client if this was its
7202         last frame.  Check that the frame is alive.  Remove bogus comment.
7203         Add note on possible race condition.  Delete tty clients, if needed.
7204         (server-handle-suspend-tty): Use server-send-string.  Kill the
7205         client in case of errors from process-send-string.  Use the display
7206         parameter.
7207         (server-unload-hook): Remove obsolete delete-tty hook.
7208         (server-start): Ask before restarting if the old server still has
7209         clients.  Add feedback messages.  Remove obsolete delete-tty hook.
7210         (server-process-filter): Use server-send-string.  Accept `-dir'
7211         command.  Switch to *scratch* immediately after creating the frame,
7212         before evaluating any -evals.  Protect `display-splash-screen'
7213         call in a condition-case.  Explain why.  Call
7214         `display-startup-echo-area-message' before
7215         `display-splash-screen'.  Don't display the splash screen when no
7216         frame was created.  Show the Emacs splash screen and startup echo
7217         area message.  Display the *scratch* buffer by default.  Store the
7218         local environment in a frame (not terminal) parameter.  Do not try
7219         to decode environment strings.  Fix reference to the 'display
7220         frame parameter.  Change syntax of environment variables.  Put
7221         environment into terminal parameters, not client parameters.  Use
7222         a dummy client with --no-wait's X frames.  In `-position LINE'
7223         handler, don't ruin the request string until the line number is
7224         extracted.  Log opened files.  Handle -current-frame command.
7225         Don't create frames when it is given.  Don't bind X frames to the
7226         client when we are in -no-wait mode.  Set locale environment
7227         variables from client while creating tty frames.  Disable call to
7228         configure-display-for-locale.  When processing -position command,
7229         don't change the request string until the parameters are
7230         extracted.  Don't try to create an X frame when Emacs does not
7231         support it.  Improve logging.  Temporarily set ncurses-related
7232         environment variables to those of the client while creating a new
7233         tty frame.  Select buffers opened by nowait clients, don't leave
7234         them buried under others.  Set the display parameter, and use it
7235         when appropriate.
7237         * startup.el (display-startup-echo-area-message): Handle
7238         `inhibit-startup-echo-area-message' here.
7239         (command-line-1): Moved from here.
7240         (fancy-splash-screens): Use `overriding-local-map' instead of
7241         `overriding-terminal-local-map' for now; the latter doesn't work
7242         right, it looses keypresses to another terminal.  Use
7243         `overriding-terminal-local-map' to set up keymap.  Install a
7244         `delete-frame-functions' hook to catch `delete-frame' events.
7245         Ignore `select-window' events to cope better with
7246         `focus-follows-mouse'.  Don't switch back to the original buffer
7247         if the splash frame has been killed.  Restore previous buffer, even
7248         if it's *scratch*.
7249         (normal-splash-screen): Don't let-bind `mode-line-format'; it
7250         changes the global binding - setq it instead.  Use
7251         `save-buffers-kill-terminal'.
7252         (display-splash-screen): Don't do anything if the splash screen is
7253         already displayed elsewhere.
7254         (fancy-splash-exit, fancy-splash-delete-frame): New functions.
7255         (command-line): Replace duplicated code with a call to
7256         tty-run-terminal-initialization.  Don't load the terminal
7257         initialization file more than once.  Remove call to nonexistent
7258         function `set-locale-translation-file-name'.
7260         * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
7261         parameters.
7262         (xterm-mouse-position-function, xterm-mouse-event): Update.
7263         (xterm-mouse-mode): Don't depend on current value of window-system.
7264         (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
7265         Update for multi-tty.
7266         (turn-on-xterm-mouse-tracking-on-terminal)
7267         (turn-off-xterm-mouse-tracking-on-terminal)
7268         (xterm-mouse-handle-delete-frame): New functions.
7269         (delete-frame-functions, after-make-frame-functions)
7270         (suspend-tty-functions, resume-tty-functions): Install extra hooks
7271         for multi-tty.
7273 2007-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7275         * simple.el (invisible-p): Remove: implemented in C now.
7276         (line-move-invisible-p): Remove obsolete alias.
7278 2007-08-28  Juri Linkov  <juri@jurta.org>
7280         * image-mode.el (image-type): New variable.
7281         (image-mode): Set default major mode name to "Image[text]".
7282         (image-minor-mode): Change LIGHTER to display image-type in the
7283         mode line.
7284         (image-minor-mode): Set default image-type to "text".
7285         (image-toggle-display): After switching to text mode, set
7286         image-type to "text" and major mode name to "Image[text]".
7287         After switching to image mode, set image-type to actual image
7288         type, and add image type to major mode name.  Let-bind the same
7289         variable names as arguments of `image-type' and `create-image'.
7290         Bind `type' to the result of `image-type' and use it as arg
7291         of `create-image' to not determine the image type twice.
7293 2007-08-28  Michael Albinus  <michael.albinus@gmx.de>
7295         * net/tramp.el (tramp-handle-set-file-times): Flush the file properties.
7296         (tramp-set-file-uid-gid, tramp-get-local-uid)
7297         (tramp-get-local-gid): New defuns.
7298         (tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID.
7299         (tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID.
7300         Improve fast track.
7301         (tramp-do-copy-or-rename-file-directly): Sync parameter list with
7302         the other tramp-do-copy-or-rename-file-* functions.  Major rewrite.
7303         (tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
7304         (tramp-handle-write-region): Improve fast track.
7305         (tramp-handle-file-remote-p): IDENTIFICATION can also be `localname'.
7306         (tramp-maybe-open-connection): Let `process-adaptive-read-buffering'
7307         be nil.
7309 2007-08-28  Ivan Kanis  <apple@kanis.eu>
7311         * time.el: New feature to display several time zones in a buffer.
7312         (display-time-world-mode, display-time-world-display)
7313         (display-time-world, display-time-world-timer): New functions.
7314         (display-time-world-list, display-time-world-time-format)
7315         (display-time-world-buffer-name, display-time-world-timer-enable)
7316         (display-time-world-timer-second, display-time-world-mode-map):
7317         New variables.
7319 2007-08-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
7321         * term/x-win.el (x-gtk-stock-map): New variable.
7322         (x-gtk-map-stock): New function.
7324         * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and
7325         prev/next-node.
7327 2007-08-28  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>  (tiny change)
7329         * play/gamegrid.el (gamegrid-init): Set line-spacing to 0.
7331 2007-08-28  Glenn Morris  <rgm@gnu.org>
7333         * progmodes/cc-langs.el (c-constant-kwds): Add java: null, true, false.
7335 2007-08-27  Thien-Thi Nguyen  <ttn@gnuvola.org>
7337         * progmodes/modula2.el (m2-definition, m2-module):
7338         Don't use previous-line.  Reported by T. V. Raman.
7340 2007-08-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7342         * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
7343         argument to tool-bar-mode call.
7345 2007-08-27  Glenn Morris  <rgm@gnu.org>
7347         * diff-mode.el (diff-find-file-name): Only accept regular files,
7348         to rule out /dev/null, directories, etc.
7350         * vc-svn.el (vc-svn-diff): If the repository version of all the
7351         files is the same as the specified OLDVERS, do a local diff.
7353 2007-08-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7355         * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness
7356         of buffers in uniquify-managed.
7358         * simple.el (invisible-p): Rename from text-invisible-p.
7359         Update callers.
7361 2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7363         * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face)
7364         (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode)
7365         (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces)
7366         (cperl-etags-goto-tag-location): Use new style backquotes.
7368         * net/browse-url.el: Remove spurious * in custom docstrings.
7369         (browse-url-filename-alist): Use new-style backquote.
7371         * emacs-lisp/backquote.el (backquote-unquote-symbol)
7372         (backquote-splice-symbol): Clarify they're not new-style unquotes.
7374         * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,)
7375         (\,@): Backslash the , and ,@ which are not new-style unquotes.
7377         * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote.
7379         * net/socks.el (socks-username/password-auth-filter):
7380         Remove unused vars `state' and `desired-len'.
7381         (socks-parse-services, socks-nslookup-host): Use with-current-buffer.
7382         (socks-wait-for-state-change): Use new-style backquotes.
7384         * pcvs.el (cvs-mode-status): Fix long-standing typo.
7386         * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style
7387         backquotes after each `read' rather than once per buffer.
7389         * dframe.el: Remove spurious * in custom docstrings.
7390         (dframe-xemacsp): Remove, use (featurep 'xemacs) instead.
7391         (dframe-xemacs20p): Remove, inline at the sole use point.
7392         (defface): Don't defvar the face, don't use old-style backquote.
7393         (defcustom): Don't use old-style backquote.
7394         (dframe-frame-parameter, dframe-mouse-event-p):
7395         Make it obvious that it's always defined.
7396         (dframe-popup-kludge): New function to replace
7397         dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge.
7398         (dframe-frame-mode, dframe-set-timer-internal)
7399         (dframe-mouse-set-point): Remove use of with-no-warnings from
7400         XEmacs-specific code.
7401         (dframe-set-timer-internal): Fix very old bug with
7402         post-command-idle-hook.
7404         * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'.
7406 2007-08-27  Thien-Thi Nguyen  <ttn@gnuvola.org>
7408         * emacs-lisp/avl-tree.el: New file.
7410 2007-08-26  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
7412         * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
7413         was used.
7415 2007-08-26  Sean O'Rourke  <seano@cs.ucsd.edu>
7417         * complete.el (PC-do-completion): Make RET accept a non-unique but
7418         complete expansion again.
7420 2007-08-26  Thien-Thi Nguyen  <ttn@gnuvola.org>
7422         * eshell/esh-opt.el (eshell-eval-using-options):
7423         Add debug declaration.
7425 2007-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
7427         * log-view.el (log-view-toggle-mark-entry): Add docstring.
7428         (log-view-get-marked): Likewise.
7430         * vc-hooks.el (vc-registered): Use mapc instead of mapcar.
7431         (vc-delete-automatic-version-backups): Likewise.
7433         * vc.el (vc-dired-buffers-for-dir): Likewise.
7435 2007-08-25  Dan Nicolaescu  <dann@ics.uci.edu>
7437         * progmodes/cperl-mode.el (cperl-indent-level): Autoload the
7438         safe-local-variable setting.
7439         * progmodes/perl-mode.el (perl-indent-level): Likewise.
7441         * log-view.el (log-view-marked-list): Delete variable.
7442         (log-view-mode): Don't use it.
7443         (log-view-toggle-mark-entry): Likewise, simplify.
7444         (log-view-current-tag): Don't return properties.
7445         (log-view-get-marked): New function.
7447 2007-08-25  Alexandre Julliard  <julliard@winehq.org>
7449         * vc-git.el (vc-git-mode-line-string): New function.
7451 2007-08-25  Alan Mackenzie  <acm@muc.de>
7453         * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist):
7454         new language variable.
7456         * progmodes/cc-engine.el (c-brace-anchor-point): new function.
7457         (c-add-stmt-syntax): Give accurate anchor points for "namespace",
7458         "extern" etc., rather than BOI.  Fix addition of spurious
7459         syntactic-symbol 'defun-block-intro, replacing it with
7460         'innamespace, etc.
7462 2007-08-25  Juri Linkov  <juri@jurta.org>
7464         * files.el (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el.
7466         * image-mode.el: Add autoloads to put associations in auto-mode-alist:
7467         associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and
7468         "\\.svgz?\\'" with xml-mode and image-mode-maybe.
7470         * image.el (image-type-header-regexps): Use more complex regexp for svg.
7471         (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg).
7472         (image-type-auto-detectable): Add (svg . maybe).
7474         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add .svgz
7475         to treat it like .tgz.
7477         * calendar/cal-bahai.el: Add file coding cookie.
7479 2007-08-25  Reiner Steib  <Reiner.Steib@gmx.de>
7481         * pcvs.el (cvs-query-directory): Only prompt when prefix is given.
7482         Don't behave differently when executed via M-x.  Add doc string.
7484         * sort.el (sort-fold-case, sort-numeric-base): Mark as
7485         safe-local-variable.
7487 2007-08-25  Jay Belanger  <jay.p.belanger@gmail.com>
7489         * calc/calc-forms.el (var-TimeZone): Make nil explicitly
7490         the default value.
7491         (math-calendar-tzinfo): New variable.
7492         (math-get-calendar-tzinfo): New function.
7493         (calcFunc-tzone, calcFunc-dst): Use Emacs's calendar
7494         to get information when zone is nil.
7496 2007-08-24  Dan Nicolaescu  <dann@ics.uci.edu>
7498         * log-view.el (log-view-toggle-mark-entry): New function.
7499         (log-view-mode-map): Bind it.
7500         (log-view-marked-list): New variable.
7501         (log-view-mode): Make it local.
7503 2007-08-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
7505         * play/zone.el (zone-pgm-rat-race): New func.
7506         (zone-programs): Add `zone-pgm-rat-race'.
7508 2007-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7510         * emacs-lisp/byte-opt.el (byte-optimize-if): Don't presume `clause' is
7511         a list.
7513 2007-08-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
7515         * progmodes/hideshow.el (hs-match-data): Delete alias.
7516         (hs-hide-block-at-point, hs-find-block-beginning)
7517         (hs-show-block): Use `match-data' directly.
7519 2007-08-24  Martin Rudalics  <rudalics@gmx.at>
7521         * format.el (format-alist): Fix typo in doc-string.
7523 2007-08-24  Michael Albinus  <michael.albinus@gmx.de>
7525         * net/tramp.el (tramp-local-host-p): New defun.
7526         (tramp-handle-file-local-copy, tramp-handle-write-region):
7527         Implement fast track when being on the local host.
7528         (tramp-file-name-handler): Don't set "started" property.  It shall
7529         be reserved for the "ftp" method.
7530         (tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'.
7532         * net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'.
7533         (tramp-ftp-file-name-handler): Set "started" property.
7535 2007-08-24  Ulrich Mueller  <ulm@gentoo.org>  (tiny change)
7537         * files.el (backup-buffer-copy): Don't wrap delete in
7538         condition-case, only try to delete if file exists.
7540 2007-08-24  Glenn Morris  <rgm@gnu.org>
7542         * files.el (backup-buffer-copy): Revert 2007-08-22 change.
7544         * startup.el (tutorial-directory): Set with eval-at-startup so it
7545         gets the right value in an installed Emacs.
7547 2007-08-24  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
7549         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
7550         (eldoc-highlight-function-argument): Use it.
7552 2007-08-23  Masatake YAMATO  <jet@gyve.org>
7554         * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight
7555         name of parameters in document body.
7557 2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7559         * emacs-lisp/bytecomp.el (byte-compile-output-docform)
7560         (byte-compile-output-as-comment): Use with-current-buffer rather than
7561         a weird set-buffer&prog1 combination.
7563         * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the
7564         test so as to optimise cases where the `progn's result is constant.
7566 2007-08-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
7568         * locate.el (locate-get-file-positions):
7569         Use line-beginning-position and line-end-position.
7571 2007-08-23  John Wiegley  <johnw@newartisans.com>
7573         * calendar/cal-bahai.el: Added in the diacriticals that were
7574         missing for many of the month names.
7576 2007-08-22  Jason Rumney  <jasonr@gnu.org>
7578         * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix.
7580 2007-08-22  Chong Yidong  <cyd@stupidchicken.com>
7582         * image-mode.el (image-minor-mode): Use image-mode-text-map.
7584 2007-08-22  Sean O'Rourke  <sorourke@cs.ucsd.edu>
7586         * dabbrev.el (dabbrev--progress-reporter): New variable.
7587         (dabbrev--scanning-message): Delete func.
7588         (dabbrev--find-expansion): Use a progress reporter
7589         instead of dabbrev--scanning-message.
7591 2007-08-22  Michael Albinus  <michael.albinus@gmx.de>
7593         * comint.el (comint-exec-1): Raise an error if
7594         `start-file-process' does not return a process object.
7596         * shell.el (shell): Prompt for `default-directory' if it is a
7597         remote file name, and if called with a prefix arg.
7599 2007-08-22  Sam Steingold  <sds@gnu.org>
7601         * pcvs.el (cvs-vc-command-advice): Fix a typo in code (file->files).
7603 2007-08-22  Carsten Dominik  <dominik@science.uva.nl>
7605         * textmodes/org-export-latex.el: New file.
7607         * textmodes/org-publish.el (org-publish-org-to-latex): New function.
7609         * textmodes/org.el (org-agenda-skip): Allow a form for
7610         `org-agenda-skip-function'.
7611         (org-agenda-redo): Re-use local settings.
7612         (org-agenda): Store local settings.
7613         (org-agenda-deadline-faces): New option.
7614         (org-agenda-deadline-face): New function.
7615         (org-agenda-get-deadlines, org-agenda-get-scheduled): Also handle
7616         entries on their due date.
7617         (org-agenda-get-timestamps): No longer handle the due dates of
7618         schedules and deadline items.
7619         (org-insert-link-global, org-open-at-point-global): New commands.
7620         (org-export-as-ascii): Call `org-cleaned-string-for-export' with a
7621         :for-ascii parameter.
7622         (org-skip-comments): Function removed.
7623         (org-cleaned-string-for-export): Handle special table lines.
7624         (org-global-properties): New option.
7625         (org-entry-get-with-inheritance): Check global properties.
7626         (org-local-properties): New variable.
7627         (org-set-regexps-and-options): Find the #+PROPERTY line.
7628         (org-link-types): Change type into variable (was constant).
7629         (org-make-link-regexps): New function.
7630         (org-link-re-with-space, org-link-re-with-space2)
7631         (org-angle-link-re, org-plain-link-re, org-bracket-link-regexp)
7632         (org-bracket-link-analytic-regexp, org-any-link-re): Creation of
7633         these regular expressions happens now in the function
7634         `org-make-link-regexps'.
7635         (org-store-link): Call the functions in
7636         `org-store-link-functions'.
7637         (org-add-link-type): New function.
7638         (org-store-link-functions): New variable.
7639         (org-activate-tags): Force matches to be in headlines.
7640         (org-batch-store-agenda-views): Fix bug with killing agenda buffer.
7641         (org-columns-display-here): Make sure this works in a narrowed
7642         buffer by checking for point-min.
7643         (org-columns-display-here): Make the rest of the line intangible,
7644         so that point never can be there.
7645         (org-cleaned-string-for-export): Use `with-current-buffer'.
7646         (org-replace-region-by-html): Use `with-current-buffer'.
7647         (org-unfontify-region, org-do-occur, org-columns-display-here)
7648         (org-columns-remove-overlays, org-columns-quit)
7649         (org-columns-edit-value, org-columns-next-allowed-value)
7650         (org-eval-in-calendar, org-agenda-undo, org-no-read-only)
7651         (org-finalize-agenda, org-remove-subtree-entries-from-agenda)
7652         (org-agenda-todo, org-agenda-change-all-lines)
7653         (org-agenda-align-tags, org-agenda-priority)
7654         (org-agenda-set-tags, org-agenda-toggle-archive-tag)
7655         (org-agenda-show-new-time, org-cleaned-string-for-export)
7656         (org-export-grab-title-from-buffer)
7657         (org-export-as-ascii, org-export-as-html): Use `inhibit-read-only'
7658         instead of `buffer-read-only'.
7659         (org-export-as-html): Set `coding-system-for-write'.
7660         (org-remember-store-without-prompt): New option.
7661         (org-archive-subtree): Fixed bug with modifying TODO keyword.
7662         (org-beginning-of-line): Also treat C-a special in items.
7663         (org-table-convert-refs-to-rc): Fixed problem with column
7664         reference after "..".
7665         (org-columns-compute): Don't mark buffer modified because of text
7666         properties.
7667         (org-batch-store-agenda-views): Use the variable
7668         `default-directory', not the function.
7669         (org-clock-out-if-current): Respect `org-clock-out-when-done'.
7670         (org-clock-out-when-done): New option.
7671         (org-html-entities): Added HTML entities for smileys.
7673 2007-08-22  Glenn Morris  <rgm@gnu.org>
7675         * image.el (create-image): Doc fix.
7677         * startup.el (tutorial-directory): New constant.
7678         (fancy-splash-text): Tutorials now in tutorial-directory.
7679         * tutorial.el (help-with-tutorial): Tutorials now in
7680         tutorial-directory.
7682 2007-08-22  Michael Albinus  <michael.albinus@gmx.de>
7684         * net/tramp.el (top): Require cl.el, when `copy-tree' is not available
7685         otherwise.
7686         (tramp-get-remote-path): New defun.  Replace occurrences of
7687         `tramp-default-remote-path' by this function.
7688         (tramp-set-remote-path): Move most of the code to
7689         `tramp-get-remote-path'.
7690         (tramp-get-ls-command, tramp-get-remote-id): Don't check for not
7691         existing directories, this is done already in
7692         `tramp-get-remote-path'.
7694 2007-08-22  Paul Pogonyshev  <pogonyshev@gmx.net>
7696         * image-file.el (image-file-name-extensions): Add "svg".
7697         * image.el (image-type-header-regexps): Add svg entry.
7699 2007-08-22  Glenn Morris  <rgm@gnu.org>
7701         * files.el (backup-buffer-copy): Check backup directory is
7702         writable, to avoid infloop deleting old backup.
7704         * mail/rmail.el (rmail-movemail-variant-p): Call on load to set
7705         movemail related variables.
7706         (rmail-insert-inbox-text): Use only rmail-movemail-program, which
7707         will now be set before this is called.
7709 2007-08-21  Juri Linkov  <juri@jurta.org>
7711         * delsel.el (delete-selection-pre-hook):
7712         * emulation/cua-base.el (cua-paste): Use `mouse-region-match'
7713         instead of checking last-command.
7715 2007-08-21  Juri Linkov  <juri@jurta.org>
7717         * loadup.el: Preload "button".
7719 2007-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7721         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7722         Add previous-line and next-line.
7724         * vc-arch.el (vc-arch-extra-menu-map): New var and fun.
7725         (vc-arch-find-file-not-found-hook): Remove, it's now the default.
7727         * vc-hooks.el (vc-menu-entry): New var.
7728         (vc-mode-line-map): Use it so that this menu also uses the extra-menu.
7729         (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
7730         (vc-menu-map): Declare and initialize in one step.
7731         (vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter.
7733         * menu-bar.el (vc-menu-map): Don't setup any more.
7734         Instead, just create the proper spot in the menu.
7736 2007-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7738         * smerge-mode.el (smerge-resolve): New arg `safe'.
7739         (smerge-resolve-all, smerge-batch-resolve): New function.
7740         (smerge-refine): Make sure `diff' returns the expected result.
7741         (smerge-parsep-re): New const.
7742         (smerge-mode): Use it to adjust paragraph-separate.
7744         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
7745         Correctly match / regexp matchers as first char on a line when
7746         fontifying only that line.
7748         * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data.
7750 2007-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7752         * vc-bzr.el: Don't fiddle with vc-handled-backend.
7753         (vc-bzr-registered): Don't redundantly protect against
7754         file-error.  Actually use the format-specific code.
7755         (vc-bzr-buffer-nonblank-p): Remove.
7756         (vc-bzr-status): Change `kindchange' -> `kindchanged'.
7758 2007-08-20  Juri Linkov  <juri@jurta.org>
7760         * startup.el (fancy-splash-text): Change multiple tabs into one
7761         tab.  Remove "Useful File menu items" section (with "Exit Emacs"
7762         and "Recover Crashed Session").
7763         (fancy-splash-screens): Set tab-width to 22.
7764         (normal-splash-screen): Replace literal tabs with \t and
7765         fix whitespace.  Remove "Useful File menu items" section (with
7766         "Exit Emacs" and "Recover Crashed Session").
7768 2007-08-20  Johannes Weiner  <hannes@saeurebad.de>  (tiny change)
7770         * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was
7771         extracted from `eval-last-sexp-1'.
7772         (eval-last-sexp-1): Call `preceding-sexp'.
7774 2007-08-20  Thien-Thi Nguyen  <ttn@gnuvola.org>
7776         * vc-rcs.el (vc-rcs-annotate-command):
7777         Fix bug introduced 2007-07-18T16:32:40Z!esr@snark.thyrsus.com:
7778         Add back :vc-annotate-prefix propertization.
7780 2007-08-20  Andreas Schwab  <schwab@suse.de>
7782         * mail/rmail.el (rmail-autodetect): Doc fix.
7784 2007-08-19  Juri Linkov  <juri@jurta.org>
7786         * startup.el (normal-splash-screen): Add more links.
7788 2007-08-19  Juri Linkov  <juri@jurta.org>
7790         * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap'
7791         because it's common to both types of splash screen: fancy and normal.
7792         Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen.
7793         (exit-splash-screen): Rename from `fancy-splash-quit'.
7794         Use `quit-window' instead of `kill-buffer'.
7795         (fancy-splash-head): Use make-button to insert GNU image link.
7796         (fancy-splash-screens, normal-splash-screen): Rename " About GNU
7797         Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*".
7798         (normal-splash-screen): Put "Browse manuals" on the same line with
7799         "Emacs manual".  Remove descriptions from "Useful tasks" and put
7800         all links in two columns on two lines.
7802 2007-08-19  Michael Kifer  <kifer@cs.stonybrook.edu>
7804         * emulation/viper.el (viper-remove-hooks): Remove some additional
7805         viper hooks when the user calls viper-go-away.
7806         (viper-go-away): Restore the default of default-major-mode.
7807         Save the value of default-major-mode before vaperization.
7809         * emulation/viper-cmd.el: Replace error "" with "Viper bell".
7811         * emulation/viper-ex.el: Replace error "" with "Viper bell".
7813         * ediff-util.el (ediff-make-temp-file): Use the coding system of the
7814         buffer for which file is created.
7816 2007-08-19  Glenn Morris  <rgm@gnu.org>
7818         * Makefile.in (custom-deps, finder-data, autoloads, recompile)
7819         (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather
7820         than $(EMACS), so that EMACSLOADPATH is set.  Prevents any system
7821         shadow files messing up the compilation.
7823 2007-08-18  Glenn Morris  <rgm@gnu.org>
7825         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Add doc
7826         string.  Also apply eldoc-argument-case in the help-split-fundoc
7827         case.  Adapt for changed behavior of eldoc-function-argstring,
7828         eldoc-function-argstring-format, and
7829         eldoc-highlight-function-argument.
7830         (eldoc-highlight-function-argument): Handle nil INDEX argument,
7831         just call eldoc-docstring-format-sym-doc in that case.
7832         (eldoc-function-argstring): Change the behavior.  Now it converts
7833         an argument list to a string.
7834         (eldoc-function-argstring-format): Change the behavior.  Now it
7835         applies `eldoc-argument-case' to a string.
7837         * progmodes/scheme.el (scheme-mode-variables): Set
7838         font-lock-comment-start-skip.
7840 2007-08-18  Martin Rudalics  <rudalics@gmx.at>
7842         * progmodes/ada-mode.el (ada-create-syntax-table): Move
7843         set-syntax-table from here to ...
7844         (ada-mode): ... here.  Do not change global value of
7845         comment-multi-line.  Call new function
7846         ada-initialize-syntax-table-properties and add new function
7847         ada-handle-syntax-table-properties to font-lock-mode-hook.
7848         (ada-deactivate-properties, ada-initialize-properties): Replace
7849         by new functions ...
7850         (ada-handle-syntax-table-properties)
7851         (ada-initialize-syntax-table-properties)
7852         (ada-set-syntax-table-properties): ... to set up syntax-table
7853         properties uniformly, independently from whether font-lock-mode
7854         is enabled or not.  Handle read-only buffers and do not change
7855         undo-list when setting syntax-table properties.
7856         (ada-after-change-function): Use ada-set-syntax-table-properties.
7858 2007-08-18  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
7860         * progmodes/meta-mode.el (meta-indent-calculate-last): Remove.
7861         (meta-indent-current-nesting): Use a computation of the nesting
7862         instead.
7863         (meta-indent-current-indentation): Indentation is given according
7864         to nesting and if the previous line was finished or not.
7865         (meta-indent-unfinished-line): Tell if the current line ends with
7866         a finished expression.
7867         (meta-indent-looking-at-code): Like `looking-at', but checks if
7868         the point is in a string before.
7869         (meta-indent-level-count): Use it.  Don't count parenthesis as it's
7870         done in the nesting function.
7871         (meta-indent-in-string-p): Tell if the current point is in a
7872         string.
7873         (meta-indent-calculate): Treat b-o-b as a special case.  Use the
7874         previous functions.
7876 2007-08-17  Thien-Thi Nguyen  <ttn@gnuvola.org>
7878         * emacs-lisp/copyright.el (copyright-limit): New defsubst.
7879         (copyright-update-year, copyright-update)
7880         (copyright-fix-years): Use it.
7882 2007-08-17  Kimit Yada  <kimitto@gmail.com>  (tiny change)
7884         * emacs-lisp/copyright.el (copyright-update-year):
7885         Fix bug: Handle nil copyright-limit.
7887 2007-08-17  Jay Belanger  <jay.p.belanger@gmail.com>
7889         * calc/calc-units.el (math-standard-units): Give exact
7890         conversion for tsp.
7892         * calc/calc.el (math-bignum-digit-length): Compute the
7893         appropriate value.
7895         * calc/calc-bin.el (math-bignum-logb-digit-size)
7896         (math-bignum-digit-power-of-two):
7897         * calc/calc-comb.el (math-small-factorial-table):
7898         * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
7899         (math-approx-gamma-const):
7900         * calc/calc-funcs.el (math-besJ0, math-besJ1, math-besY0)
7901         (math-besY1, math-bernoulli-b-cache):
7902         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
7903         Remove `eval-when-compile's.
7905 2007-08-17  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
7907         * progmodes/cperl-mode.el (cperl-look-at-leading-count)
7908         (cperl-find-pods-heres): Fix an error when typing expressions like
7909         `s{a}{b}'.
7911 2007-08-17  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
7913         * mail/emacsbug.el (report-emacs-bug): Remove the last number of
7914         `emacs-version', use the topic prefix ``version; ''.  Make MS-DOS
7915         a special case (there's no build number).
7917 2007-08-17  T. V. Raman  <raman@users.sf.net>  (tiny change)
7919         * completion.el (symbol-under-point, symbol-before-point)
7920         (symbol-before-point-for-complete): Use buffer-substring-no-properties.
7922 2007-08-17  Glenn Morris  <rgm@gnu.org>
7924         * progmodes/compile.el (compilation-get-file-structure): Make use
7925         of the directory part when checking for an existing entry, to
7926         handle files with same basename in different directories.
7928 2007-08-17  Jay Belanger  <jay.p.belanger@gmail.com>
7930         * calc/calc.el (calc-language-alist): Add texinfo-mode.
7932 2007-08-16  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7934         * ps-print.el (ps-header-font-size, ps-header-title-font-size)
7935         (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing)
7936         (ps-paragraph-spacing): Docstring fix.
7938 2007-08-16  Glenn Morris  <rgm@gnu.org>
7940         * ps-print.el (ps-font-size): Doc fix.
7942 2007-08-16  Richard Stallman  <rms@gnu.org>
7944         * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group.
7946 2007-08-15  Juri Linkov  <juri@jurta.org>
7948         * startup.el (initialization): Change parent group from `internal'
7949         to `environment'.
7950         (initial-buffer-choice): New variable.
7951         (command-line): Revert 2007-07-02 change that sets
7952         buffer-offer-save in *scratch* and enables auto-save in it.
7953         (fancy-splash-text): Add links to existing items.  Add new items
7954         with links for useful tasks.  Move information about Control-g to
7955         fancy-splash-head.  Move "Emacs Guided Tour" to the end.
7956         (fancy-splash-keymap): New variable.
7957         (fancy-splash-last-input-event): Remove variable.
7958         (fancy-splash-insert): Add processing of `:link' element.
7959         (fancy-splash-head): Replace "Type Control-l to begin editing"
7960         with "Type `q' to exit".
7961         (fancy-splash-screens-1): Let-bind inhibit-read-only to t.
7962         (fancy-splash-default-action, fancy-splash-special-event-action):
7963         Remove functions.
7964         (fancy-splash-quit): New function.
7965         (fancy-splash-screens): Rename input arg from `hide-on-input' to
7966         `static' and reverse the condition of its usage.  Don't preserve
7967         original values of `minor-mode-map-alist',
7968         `emulation-mode-map-alists', `special-event-map'.
7969         Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
7970         Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
7971         Remove processing of special events.  Use local key map
7972         `fancy-splash-keymap'.  Set buffer to read-only.
7973         (normal-splash-screen): Rename input arg from `hide-on-input' to
7974         `static' and reverse the condition of its usage.
7975         Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
7976         Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
7977         Add links to existing items.  Add new items with links for useful
7978         tasks.  Use local key map `fancy-splash-keymap'.
7979         (display-splash-screen): Rename input arg from `hide-on-input' to
7980         `static'.
7981         (about-emacs): Add alias to display-splash-screen.
7982         (command-line-1): Use `initial-buffer-choice'.
7984         * menu-bar.el (menu-bar-help-menu):
7985         * term/mac-win.el (mac-apple-event-map): Bind About Emacs menu
7986         item to about-emacs instead of display-splash-screen.
7988 2007-08-15  Jay Belanger  <jay.p.belanger@gmail.com>
7990         * calc/calc-units.el (math-standard-units): Update values.
7991         Put in exact, rational values when possible.
7992         (math-unit-prefixes): Replace floats with powers of ten.
7993         (math-standard-units-systems): Replace floats with integers.
7994         (math-make-unit-string): Remove extra spaces in output.
7996 2007-08-15  Glenn Morris  <rgm@gnu.org>
7998         * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even
7999         sloppier, for the sake of GNU Mailman.
8000         (rmail-digest-rfc1153): Initialize `result' correctly.
8002 2007-08-15  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
8004         * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; '
8005         in the mail title.  Suggested by Reiner Steib.
8007 2007-08-14  Chris Hecker  <checker@d6.com>  (tiny change)
8009         * calc/calc-aent.el (calc-do-quick-calc): Add binary
8010         representation of integers to the list of outputs.
8012 2007-08-14  Glenn Morris  <rgm@gnu.org>
8014         * simple.el (bad-packages-alist): New constant.
8015         (bad-package-check): New function.  Together, these two add elements
8016         to `after-load-alist' to check for problematic external packages.
8017         * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'.
8019 2007-08-14  Jay Belanger  <jay.p.belanger@gmail.com>
8021         * calc/calc-units.el (math-get-standard-units)
8022         (math-get-units, math-make-unit-string)
8023         (math-get-default-units, math-put-default-units): New functions.
8024         (math-default-units-table): New variable.
8025         (calc-convert-units, calc-convert-temperature): Add machinery
8026         to supply default values.
8028 2007-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8030         * emulation/tpu-edt.el: Add tpu-extras's autoloads.
8031         (tpu-gold-map, tpu-global-map): Comment-out the bindings to nil.
8032         (tpu-gold-map): Bind F to tpu-cursor-free-mode.
8033         (minibuffer-local-map): Use funkey symbols rather than esc-sequence.
8035         * emulation/tpu-extras.el: Remove spurious * in docstrings.
8036         Put its autoloads into tpu-edt.el rather than loaddefs.el.
8037         (tpu-cursor-free-mode): Rename from tpu-cursor-free.
8038         Make into a proper minor-mode.
8039         (tpu-backward-char, tpu-next-line, tpu-previous-line)
8040         (tpu-next-end-of-line, tpu-current-end-of-line): Use new name.
8041         (tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook.
8042         (tpu-set-cursor-free, tpu-set-cursor-bound):
8043         Delegate to tpu-cursor-free-mode.
8044         (tpu-next-line, tpu-previous-line, tpu-forward-line)
8045         (tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up):
8046         Use line-move or forward-line instead of next-line-internal.
8048 2007-08-13  Nick Roberts  <nickrob@snap.net.nz>
8050         * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully.
8052 2007-08-12  Richard Stallman  <rms@gnu.org>
8054         * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout)
8055         (cvs-execute-single-file): Use new name split-string-and-unquote.
8056         (cvs-header-msg): Use new name combine-and-quote-strings.
8058         * emulation/vi.el (vi-next-line): Ignore return value of line-move.
8060         * progmodes/gud.el (gud-common-init): Use new name
8061         split-string-and-unquote.
8063         * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop
8064         in javac regexp.
8066         * pcvs-util.el (cvs-qtypedesc-strings): Use new names
8067         combine-and-quote-strings and split-string-and-unquote.
8069         * subr.el (combine-and-quote-strings): Rename from strings->string.
8070         (split-string-and-unquote): Rename from string->strings.
8072 2007-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8074         * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt
8075         to buffer-local settings.
8077         * emacs-lisp/backquote.el (backquote-delay-process): New function.
8078         (backquote-process): Add internal arg `level'.  Use the two to
8079         correctly handle nested backquotes.
8081 2007-08-09  Riccardo Murri  <riccardo.murri@gmail.com>
8083         * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs.
8084         (vc-bzr-state-words): Add "kind changed" state word.
8085         (vc-bzr-status): New function.  Return Bzr idea of file status,
8086         which is different from VC's.
8087         (vc-bzr-state): Use vc-bzr-status.
8088         (vc-workfile-unchanged-p): Use vc-bzr-status.
8089         (vc-bzr-revert): Use synchronous process; expect exitcode 0.
8090         (vc-dired-state): Process "kind changed" state word.
8092 2007-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8094         * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing.
8096         * vc-rcs.el (vc-rcs-find-file-not-found-hook):
8097         Move from vc-default-find-file-not-found-hook.
8099 2007-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8101         * man.el: Remove spurious * in docstrings.
8102         Merge defvars and toplevel setq-defaults.
8103         (Man-highlight-references0): Limit=nil rather than point-max.
8104         (Man-mode-map): Move initialization into the declaration.
8105         (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
8106         (Man-view-header-file): Use expand-file-name rather than concat.
8107         (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
8109         * man.el (Man-next-section): Make sure we do not move backward.
8111 2007-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8113         * files.el (auto-mode-alist): Use the purecopied text (duh!).
8115 2007-08-08  Glenn Morris  <rgm@gnu.org>
8117         * Replace `iff' in doc-strings and comments.
8119 2007-08-08  Martin Rudalics  <rudalics@gmx.at>
8121         * dired.el (dired-pop-to-buffer):
8122         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8123         * calendar/calendar.el (generate-calendar-window):
8124         * progmodes/compile.el (compilation-set-window-height):
8125         * textmodes/two-column.el (2C-two-columns, 2C-merge):
8126         Use window-full-width-p instead of comparing frame-width and
8127         window-width.
8129         * progmodes/compile.el (compilation-find-buffer): Remove extra
8130         argument in call to compilation-buffer-internal-p.
8132 2007-08-07  Tom Tromey  <tromey@redhat.com>
8134         * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level):
8135         Add safe-local-variable property.
8137 2007-08-07  Chong Yidong  <cyd@stupidchicken.com>
8139         * image-mode.el (image-toggle-display): Use image-refresh.
8141 2007-08-07  Riccardo Murri  <riccardo.murri@gmail.com>
8143         * vc-bzr.el: Remove comments about vc-bzr.el being a modified
8144         unofficial version.
8145         (vc-bzr-command): Remove redundant setting of process-connection-type.
8146         (vc-bzr-admin-checkout-format-file): Add autoload.
8147         (vc-bzr-root-dir): Remove in favor of vc-bzr-root.
8148         (vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
8149         (vc-bzr-registered): Compare dirstate format tag with known good
8150         value, abort parsing if match fails.  Warn user in docstring.
8151         (vc-bzr-workfile-version): Case for different Bzr branch formats.
8152         See bzrlib/branch.py in Bzr sources.
8153         (vc-bzr-diff): First argument FILES may be a string rather than a list.
8154         (vc-bzr-shell-command): Remove in favor of
8155         vc-bzr-command-discarding-stderr.
8156         (vc-bzr-command-discarding-stderr): New function.
8158 2007-08-06  Riccardo Murri  <riccardo.murri@gmail.com>
8160         * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr"
8161         program, and return nil.
8162         (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
8163         (vc-bzr-state): Look for path names relative to the repository
8164         root after status keyword.
8165         (vc-bzr-file-name-relative): New function.
8166         (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
8167         depend on it.
8168         (vc-bzr-admin-dirname, ...-checkout-format-file)
8169         (...-branch-format-file, ...-revhistory): Paths to some Bzr internal
8170         files that we now parse directly for speed.
8171         (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
8172         (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
8173         (vc-bzr-state): "bzr status" successful only if exitcode is 0.
8174         (vc-bzr-root): Use `vc-bzr-shell-command'.  Stderr may contain
8175         Bzr warnings, so we must discard it.
8176         (vc-bzr-workfile-version): Speedup counting lines from
8177         `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
8178         if that file doesn't exist.
8179         (vc-bzr-responsible-p): Use `vc-bzr-root' instead of
8180         `vc-bzr-root-dir' for speed.  Add `vc-bzr-admin-dirname' (not ".bzr"!)
8181         to `vc-directory-exclusion-list'.
8182         (vc-bzr-shell-command): New function.
8184 2007-08-06  Tom Tromey  <tromey@redhat.com>
8186         * diff-mode.el (diff-unified->context, diff-reverse-direction)
8187         (diff-fixup-modifs): Typo in docstring.
8189 2007-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8191         * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and
8192         count-screen-lines.
8193         (tpu-edt-off): Disable relevant pieces of advice.
8195         * emulation/tpu-extras.el (tpu-before-save-hook): Rename from
8196         tpu-write-file-hook.  Activate it with add-hook on buffer-save-hook.
8197         (newline, newline-and-indent, do-auto-fill): Use advice instead of
8198         redefining the function.
8199         (tpu-set-scroll-margins): Activate the pieces of advice.
8201 2007-08-06  Martin Rudalics  <rudalics@gmx.at>
8203         * help.el (resize-temp-buffer-window): Use window-full-width-p
8204         instead of comparing frame-width and window-width.
8206 2007-08-13  Stephen Leake  <stephen_leake@stephe-leake.org>
8208         * pcvs-parse.el (cvs-parse-table): Handle additional instance of
8209         optional quotes around files in NEED-UPDATE . REMOVED case.
8211         * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring.
8212         (ada-treat-cmd-string): Improve error message.
8213         (ada-do-file-completion): Call `ada-require-project-file', so
8214         project variables are set properly.
8215         (ada-prj-find-prj-file): Delete Emacs 20.2 support.
8216         (ada-gnatfind-buffer-name): New constant.
8217         (ada-find-any-references): Use new constant.  Set buffer name
8218         properly in compilation-start.  Toggle read-only properly.
8219         (ada-find-in-src-path): Fix spelling error in docstring.
8221         * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide
8222         by zero error.
8224 2007-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8226         * emacs-lisp/autoload.el (autoload-print-form): Use print-quoted.
8228 2007-08-12  Richard Stallman  <rms@gnu.org>
8230         * progmodes/sh-script.el (sh): Delete group `unix'.
8232         * progmodes/gud.el (gud): Change to group `processes'.
8234 2007-08-11  Glenn Morris  <rgm@gnu.org>
8236         * progmodes/compile.el (compilation-buffer-name): Don't check
8237         compilation-arguments.  It is superfluous, and the variable isn't
8238         even set when this function is called.
8240 2007-08-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8242         * term/mac-win.el (mac-ae-reopen-application): New function.
8243         (mac-apple-event-map): Bind "reopen application" Apple event to it.
8245 2007-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8247         * textmodes/tex-mode.el (tex-font-lock-unfontify-region): Fix to
8248         take tex-font-script-display into account.
8249         (tex-font-script-display, tex-font-lock-suscript): Change from a cons
8250         cell to a list of 2 elements to simplify the unfontify code.
8252 2007-08-08  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8254         * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix.
8255         (ps-begin-job): Use ps-default-fg and ps-default-bg only when
8256         ps-print-color-p is neither nil nor black-white.  Reported by Christian
8257         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
8259 2007-08-08  Andreas Schwab  <schwab@suse.de>
8261         * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
8262         self-insert-command, not self-insert.
8264 2007-08-08  Glenn Morris  <rgm@gnu.org>
8266         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Make second
8267         argument optional, for backwards compatibility, and only highlight
8268         args when present.  Fix symbol name typo (doc/args).
8270         * help-mode.el (help-make-xrefs): Search for symbol constituents,
8271         rather than just `-'.
8273 2007-08-07  Jay Belanger  <jay.p.belanger@gmail.com>
8275         * calc/calc-units.el (calc-convert-temperature):
8276         Use `/' to create fractions.
8278 2007-08-07  Michael Albinus  <michael.albinus@gmx.de>
8280         * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more
8281         global matching.
8282         (tramp-handle-shell-command): Handle OUTPUT-BUFFER and
8283         ERROR-BUFFER more robust.  Display output.
8284         (tramp-file-name-handler): Add a connection property when we found
8285         a foreign file name handler.  This allows backends like ftp to
8286         profit also from usr/host name completion based on connection
8287         cache.
8288         (tramp-send-command-and-read): Search for trash after the regexp
8289         until eol only.  In XEmacs, there is a problem with \n.
8291         * net/tramp-cache.el (top): Read persistent connection history
8292         when cache is empty.
8294 2007-08-07  Nic Ferrier  <nferrier@tapsellferrier.co.uk>  (tiny change)
8296         * net/tramp.el (tramp-handle-process-file): Fix bug inserting
8297         resulting output.
8299 2007-08-07  Sam Steingold  <sds@gnu.org>
8301         * progmodes/compile.el (compilation-start): Pass nil as startfile
8302         to comint-exec.
8304 2007-08-07  Chong Yidong  <cyd@stupidchicken.com>
8306         * longlines.el (longlines-decoded): New variable.
8307         (longlines-mode): Avoid encoding or decoding the buffer twice.
8309 2007-08-07  Martin Rudalics  <rudalics@gmx.at>
8311         * format.el (format-insert-file): Make sure that at most one undo
8312         entry is recorded for the insertion.  Inhibit point-motion and
8313         modification hooks around call to insert-file-contents.
8315 2007-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8317         * vc.el (vc-annotate): Select temp-buffer before running vc-exec-after.
8318         Select the buffer's window before moving point.
8320 2007-08-07  Richard Stallman  <rms@gnu.org>
8322         * term.el (term): Remove parent group `unix'.
8324         * simple.el (default-indent-new-line): New function.
8325         It calls comment-line-break-function if there are comments.
8326         (do-auto-fill): Use that.
8328 2007-08-07  Sean O'Rourke  <sorourke@cs.ucsd.edu>
8330         * complete.el (PC-lisp-complete-symbol): Complete symbol around point.
8331         (PC-do-completion): Add "acronym completion" for symbols and
8332         filenames, so e.g. "mvbl" expands to "make-variable-buffer-local".
8334 2007-08-06  Sam Steingold  <sds@gnu.org>
8336         * mouse.el (mouse-buffer-menu): Pass mode-name through
8337         format-mode-line because it may be a list,
8338         e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
8340 2007-08-06  Vinicius Jose Latorre  <viniciusig@ig.com.br>
8342         * printing.el (pr-update-menus): Docstring fix.
8344 2007-08-06  Jason Rumney  <jasonr@gnu.org>
8346         * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
8348         * vc-hooks.el (vc-call): Add doc string.
8350 2007-08-06  Michael Albinus  <michael.albinus@gmx.de>
8352         * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
8353         process-filter.
8355 2007-08-06  Kenichi Handa  <handa@m17n.org>
8357         * international/quail.el: Wrap (require 'help-mode) by
8358         eval-when-compile.
8359         (quail-help-init): New function.
8360         (quail-help): Call quail-help-init.
8361         (quail-store-decode-map-key): Change it to a function.
8363 2007-08-05  Jason Rumney  <jasonr@gnu.org>
8365         * vc.el (vc-rollback): Add norevert argument back.
8366         (vc-revert-buffer): Add back as obsolete alias.
8368 2007-08-05  Peter Povinec  <ppovinec@yahoo.com>  (tiny change)
8370         * term.el: Honor term-default-fg-color and term-default-bg-color
8371         settings when modifying term-current-face.
8372         (term-default-fg-color, term-default-bg-color): Initialize from
8373         default term-current-face.
8374         (term-mode, term-reset-terminal): Set term-current-face with
8375         term-default-fg-color and term-default-bg-color.
8376         (term-handle-colors-array): term-current-face has term-default-fg-color
8377         and term-default-bg-color after reset escape sequence.
8378         (term-handle-colors-array): Set term-current-color with
8379         term-default-fg/bg-color instead of ansi-term-color-vector when the
8380         index (term-ansi-current-color or term-ansi-current-bg-color) is zero.
8382 2007-08-05  Jay Belanger  <jay.p.belanger@gmail.com>
8384         * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables.
8385         (math-nlfit-givens): Let bind free variables.
8387 2007-08-05  Vinicius Jose Latorre  <viniciusig@ig.com.br>
8389         * printing.el: Require lpr and ps-print when loading printing package.
8390         Reported by Glenn Morris <rgm@gnu.org>.
8392 2007-08-05  Michael Albinus  <michael.albinus@gmx.de>
8394         * files.el (set-auto-mode): Handle also remote files wrt
8395         `auto-mode-alist'.
8397 2007-08-04  Jay Belanger  <jay.p.belanger@gmail.com>
8399         * calc/calcalg3.el (calc-curve-fit): Add support for nonlinear
8400         curves and plotting.
8402         * calc/calc-nlfit.el: New file.
8404 2007-08-04  Glenn Morris  <rgm@gnu.org>
8406         * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is
8407         zero, not nil, when the library is first loaded.  Check for a file
8408         that has been modified on disk.
8410         * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist):
8411         Remove duplicate defvar preventing initialization.
8412         (cperl-mode): Fix compilation-error-regexp-alist-alist setting.
8414 2007-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8416         * diff-mode.el (diff-font-lock-keywords): Fix up false positives.
8417         (diff-beginning-of-file): Adjust to the fact that diff-file-header-re
8418         may match up to 4 lines.
8419         (diff-beginning-of-file-and-junk): Rewrite.
8421 2007-08-03  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8423         * printing.el: Evaluate require only during compilation.
8424         (pr-version): New version 6.9.1.
8425         (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR).
8426         (pr-global-menubar): Fix code.
8428 2007-08-03  Dan Nicolaescu  <dann@ics.uci.edu>
8430         * term.el (term-erase-in-display): Fix case when point is not at
8431         the beginning of the line.
8433 2007-08-03  Jay Belanger  <jay.p.belanger@gmail.com>
8435         * calc/calc-ext.el (math-get-value, math-get-sdev)
8436         (math-contains-sdev): New functions.
8438         * calc/calc-graph.el (calc-graph-format-data)
8439         (calc-graph-add-curve): Check for error forms.
8440         (calc-graph-set-styles): Add option for error forms.
8442 2007-08-03  Miles Bader  <miles@gnu.org>
8444         * vc-hooks.el (vc-handled-backends): Change capitalization of VC
8445         backend names for new backends to `Git', `Hg', and `Bzr'.
8446         * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name,
8447         not `HG'.
8448         * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend
8449         name, not `GIT'.
8450         * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info)
8451         (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'.
8453 2007-08-03  Richard Stallman  <rms@gnu.org>
8455         * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
8456         to update deleted flag.
8458         * cus-edit.el (customize-apropos, customize-apropos-options)
8459         (customize-apropos-faces, customize-apropos-groups): Improve prompt.
8461         * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
8463         * startup.el (fancy-splash-head, startup-echo-area-message):
8464         Change message text.
8466         * emulation/tpu-edt.el (next-line-internal): Setting deleted.
8467         All callers use line-move.
8469         * progmodes/compile.el (compilation-find-buffer): Return current
8470         buffer immediately if suitable.
8471         (compile, compilation-buffer-name, compilation-start): Doc fixes.
8473 2007-08-03  Daiki Ueno  <ueno@unixuser.org>
8475         * faces.el (face-normalize-spec): New function.
8476         (frame-set-background-mode): Normalize face-spec before calling
8477         face-spec-match-p.
8479 2007-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8481         * server.el (server-window): Add switch-to-buffer-other-frame option.
8483 2007-08-03  Glenn Morris  <rgm@gnu.org>
8485         * cus-edit.el (customize-apropos): Make the error message indicate
8486         what kind of thing the user was trying to customize.
8488         * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t.
8490         * progmodes/fortran.el (fortran-font-lock-syntactic-keywords):
8491         Fix off-by-one error in previous change.
8493 2007-08-03  Drew Adams  <drew.adams@oracle.com>
8495         * emacs-lisp/pp.el (pp-eval-expression): Add progress message.
8496         Make buffer writable.
8498 2007-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
8500         * calc/calc-math.el (math-sqrt-raw, math-sin-raw-2)
8501         (math-cos-raw-2, math-arctan-raw, math-ln-raw):
8502         Use native Emacs functions, when appropriate.
8504 2007-08-01  Dan Nicolaescu  <dann@ics.uci.edu>
8505             Stefan Monnier  <monnier@iro.umontreal.ca>
8507         * vc.el: Document new VC operation `extra-menu'.
8509         * vc-hooks.el (vc-default-extra-menu): New function.
8511         * menu-bar.el (menu-bar-vc-filter): New function.
8512         (menu-bar-tools-menu): Use it as a filter.
8514 2007-08-01  Eric Hanchrow  <offby1@blarg.net>  (tiny change)
8516         * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix.
8518 2007-08-01  Glenn Morris  <rgm@gnu.org>
8520         * progmodes/fortran.el: Remove leading `*' from all defcustom doc
8521         strings.
8522         (fortran-tab-mode-default): Remove needless autoload.
8523         (fortran-tab-mode-string): Add help-echo and mouse properties, and
8524         mark as risky.
8525         (fortran-line-length): New buffer-local variable, safe if integer.
8526         (fortran-if-start-re, fortran-end-prog-re1, fortran-end-prog-re):
8527         Change from variables to constants.
8528         (fortran-font-lock-syntactic-keywords): Delete as a variable,
8529         replace with a new function definition.
8530         (fortran-mode): Use fortran-line-length, and
8531         fortran-font-lock-syntactic-keywords as a function.  Add a
8532         hack-local-variables-hook function.
8533         (fortran-line-length, fortran-hack-local-variables): New functions.
8534         (fortran-window-create, fortran-strip-sequence-nos): Doc fix.
8535         Use fortran-line-length rather than 72.
8536         (fortran-window-create-momentarily): Doc fix.
8538 2007-07-31  Drew Adams  <drew.adams@oracle.com>  (tiny change)
8540         * cus-edit.el (custom-group-value-create, custom-goto-parent):
8541         Fix parent groups link.
8543 2007-07-31  Paul Pogonyshev  <pogonyshev@gmx.net>
8545         * progmodes/python.el (python-current-defun): Adjust to never fall
8546         into infinite loop.
8548 2007-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8550         * pcvs.el (cvs-vc-command-advice): Handle the new fileset case.
8552 2007-07-29  Kimit Yada  <kimitto@gmail.com>  (tiny change)
8554         * emacs-lisp/copyright.el (copyright-update-year, copyright-update)
8555         (copyright-fix-years, copyright): Correctly handle the case where
8556         copyright-limit is nil.
8558 2007-07-28  Konstantin Novitsky  <knovitsk@Bear.com>  (tiny change)
8560         * progmodes/python.el (run-python): Fix path separator under w32.
8562 2007-07-30  Richard Stallman  <rms@gnu.org>
8564         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8565         Treat non-break space as whitespace in Lisp.
8567 2007-07-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8569         * vc.el (vc-dired-hook): Use inhibit-read-only.
8571         * progmodes/compile.el (compilation-forget-errors):
8572         Reset compilation-auto-jump-to-next.
8574 2007-07-30  Michael Olson  <mwolson@gnu.org>
8576         * cus-edit.el (custom-group-save): Fix void function definition
8577         error.  Thanks to Zhang Wei for the report.
8579         * ps-print.el: Check in trivial changes to the autoloads section
8580         caused by the build process.  These autoloads really ought to be
8581         placed in a separate file, methinks.
8583 2007-07-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8585         * calendar/calendar.el (calendar-mode): Make sure
8586         displayed-(month|year) are set.
8587         (calendar-basic-setup): Display buffer before adjusting window sizes.
8588         (generate-calendar-window): Use inhibit-read-only.  Simplify.
8589         Generate buffer and set displayed-month and displayed-year before
8590         calling update-calendar-mode-line.
8592 2007-07-29  Michael Albinus  <michael.albinus@gmx.de>
8594         * net/tramp.el:
8595         * net/tramp-uu.el:
8596         * net/trampver.el: Use utf-8 encoding with coding cookie.
8598         * net/tramp-cache.el:
8599         * net/tramp-fish.el:
8600         * net/tramp-ftp.el:
8601         * net/tramp-gw.el:
8602         * net/tramp-smb.el: Remove coding cookie.
8604         * net/tramp.el (tramp-handle-verify-visited-file-modtime):
8605         Flush buffer file-name's file property.
8606         (tramp-handle-file-remote-p): The first parameter is FILENAME.
8608         * net/trampver.el: Update release number.
8610 2007-07-29  Juri Linkov  <juri@jurta.org>
8612         * dired.el (dired-mode-map): Bind C-x C-q to dired-toggle-read-only.
8613         Filter out menu item "Edit File Names" `wdired-change-to-wdired-mode'
8614         when major-mode is not dired-mode.
8615         (dired-toggle-read-only): New function.
8616         (dired-recursive-deletes): Remove obsolete comments about old
8617         default value.
8618         (dired-do-flagged-delete, dired-do-delete): Refill docstring.
8620         * wdired.el (wdired-exit): New function.
8621         (wdired-mode-map): Bind C-x C-q to wdired-exit.
8623 2007-07-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8625         * cus-edit.el (customize-read-group): New fun.
8626         (customize-group-other-window, customize-face-other-window):
8627         Prompt before delegating to customize-(group|face).
8628         Bind pop-up-windows rather than use the other-window argument.
8629         (customize-group, customize-face): Prompt from the interactive spec.
8630         Remove args `prompt-for-group' and `other-window'.
8632         * emacs-lisp/advice.el (ad-interactive-form): Re-introduce.
8633         (ad-body-forms, ad-advised-interactive-form): Revert this part of
8634         last change.
8636 2007-07-28  Masatake YAMATO  <jet@gyve.org>
8638         * vc.el (vc-dired-mode): Add a menu for VC related operation.
8639         Use backend name as the menu label.  Suggested by David Kastrup.
8641 2007-07-28  Alan Mackenzie  <acm@muc.de>
8643         Fix problem with modes derived from CC Mode:
8644         * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this
8645         macro to cc-langs.
8646         (c-init-language-vars-for): Remove call to above macro.
8647         * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has
8648         been moved to here.
8649         (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local.
8651 2007-07-28  Eli Zaretskii  <eliz@gnu.org>
8653         * net/trampver.el: Fix the `coding' cookie.
8655 2007-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
8657         * vc-git.el (vc-git-print-log): Support both the old single file
8658         interface and the new one.
8660 2007-07-28  Nick Roberts  <nickrob@snap.net.nz>
8662         * bindings.el (mode-line-remote): Use updated %@ construct.
8664 2007-07-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8666         * calendar/cal-bahai.el (calendar-bahai-month-name-array)
8667         (calendar-bahai-epoch, calendar-bahai-leap-year-p)
8668         (calendar-bahai-leap-base, calendar-bahai-prompt-for-date)
8669         (diary-list-bahai-entries, diary-bahai-mark-entries)
8670         (calendar-bahai-mark-date-pattern, diary-insert-bahai-entry)
8671         (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
8672         New names to clean up namespace.
8673         (list-bahai-diary-entries, mark-bahai-diary-entries)
8674         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
8675         (insert-yearly-bahai-diary-entry, mark-bahai-calendar-date-pattern):
8676         Add compatibility aliases.
8678         * calendar/appt.el: Don't wrap defvar within eval-when-compile.
8680         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right)
8681         (calendar-scroll-left-three-months)
8682         (calendar-scroll-right-three-months): Clean up namespace.
8683         (scroll-calendar-left, scroll-calendar-right)
8684         (scroll-calendar-left-three-months)
8685         (scroll-calendar-right-three-months): Add compatibility aliases.
8687         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
8688         Behave like mouse-scroll-calendar-* when used from the mouse.
8690         * calendar/cal-menu.el (cal-menu-scroll-menu)
8691         (cal-menu-global-mouse-menu):
8692         * calendar/calendar.el (calendar-mode-map):
8693         Use new calendar-scroll-* names.
8694         (mouse-scroll-calendar-left, mouse-scroll-calendar-right):
8695         Remove.  Use calendar-scroll-* directly instead.
8697 2007-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8699         * emacs-lisp/advice.el (ad-interactive-p, ad-interactive-form): Remove.
8700         (ad-body-forms, ad-advised-interactive-form, ad-make-cache-id)
8701         (ad-make-advised-definition, ad-cache-id-verification-code):
8702         Use commandp and interactive-form instead.
8704 2007-07-26  Dan Nicolaescu  <dann@ics.uci.edu>
8706         * vc-git.el: Relicense to GPLv3 or later.
8707         (vc-directory-exclusion-list, vc-handled-backends): Remove.
8709         * vc-hooks.el (vc-handled-backends): Add GIT.
8711         * vc.el (vc-directory-exclusion-list): Add .git.
8713 2007-07-26  Alexandre Julliard  <julliard@winehq.org>
8715         * vc-git.el (vc-git-revision-table)
8716         (vc-git-revision-completion-table): New functions.
8718 2007-07-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8720         * progmodes/ebnf-abn.el (ebnf-abn-skip-comment):
8721         * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment):
8722         * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment):
8723         * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment):
8724         * progmodes/ebnf-iso.el (ebnf-iso-skip-comment):
8725         * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version.
8726         New command actions for EPS header and EPS footer.
8728         * progmodes/ebnf2ps.el: New command actions for EPS header and EPS
8729         footer.  Fix some problems with one-or-more, zero-or-more and
8730         alternative constructions generation.  Some log messages
8731         implementation.  Doc fix.
8732         (ebnf-version): New version 4.4.
8733         (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font)
8734         (ebnf-eps-footer, ebnf-log): New options.
8735         (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header)
8736         (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment)
8737         (ebnf-eps-header-footer-p, ebnf-eps-header-comment)
8738         (ebnf-eps-footer-comment, ebnf-eps-header-footer-file)
8739         (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs.
8740         (ebnf-style-custom-list, ebnf-style-database): Put new values.
8741         (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer)
8742         (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file)
8743         (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory)
8744         (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region)
8745         (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer)
8746         (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job)
8747         (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension)
8748         (ebnf-non-terminal-dimension, ebnf-special-dimension)
8749         (ebnf-terminal-dimension1, ebnf-repeat-dimension)
8750         (ebnf-except-dimension, ebnf-alternative-dimension)
8751         (ebnf-optional-dimension, ebnf-one-or-more-dimension)
8752         (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log
8753         message fun.
8754         (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more)
8755         (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write)
8756         (ebnf-insert-ebnf-prologue, ebnf-production-dimension)
8757         (ebnf-terminal-dimension1, ebnf-alternative-dimension)
8758         (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension)
8759         (ebnf-eps-add-context, ebnf-eps-add-production): Fix code.
8760         (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep
8761         compatibility with Emacs 20 & 21.
8762         (ebnf-eps-header-comment, ebnf-eps-footer-comment)
8763         (ebnf-eps-file-alist, ebnf-basic-width-extra)
8764         (ebnf-basic-empty-height): New vars.
8765         (ebnf-prologue): Fix PostScript code.
8766         (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1)
8767         (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional)
8768         (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence)
8769         (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments.
8771 2007-07-25  Glenn Morris  <rgm@gnu.org>
8773         * Relicense all FSF files to GPLv3 or later.
8775         * COPYING: Switch to GPLv3.
8777 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8779         * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change.
8780         Replace it with another one which disables undo before calling
8781         erase-buffer and then turns it back on if needed.
8783 2007-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
8785         * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out.
8787 2007-07-24  Glenn Morris  <rgm@gnu.org>
8789         * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
8790         (cal-tex-rules, cal-tex-buffer, cal-tex-24)
8791         (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
8792         (cal-tex-cursor-week, cal-tex-cursor-week2)
8793         (cal-tex-cursor-week-iso, cal-tex-week-hours)
8794         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
8795         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8796         (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
8798 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8800         * calendar/calendar.el (calendar-mode-map): Move initialization
8801         into declaration.  Add menu bindings (used to be done in cal-menu).
8802         (calendar-mode): Don't add an activate-menubar-hook.
8804         * calendar/cal-menu.el: Break dependency on calendar.el (i.e. do not
8805         modify calendar-mode-map), use easy-menu, and make sure that C-h k
8806         can be used on the menu entries.
8807         (cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs.
8808         (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
8809         (cal-menu-goto-menu, cal-menu-scroll-menu): New consts.
8810         (cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus.
8811         (calendar-flatten, cal-menu-update): Remove.
8812         (calendar-mouse-insert-hebrew-diary-entry)
8813         (calendar-mouse-insert-islamic-diary-entry)
8814         (calendar-mouse-insert-bahai-diary-entry):
8815         Remove (fold into cal-menu-diary-menu).
8816         (calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu)
8817         (cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu).
8818         (calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu).
8819         (calendar-mouse-view-diary-entries): Minor simplifications.
8820         (calendar-event-to-date): Use with-current-buffer.
8822 2007-07-25  Nick Roberts  <nickrob@snap.net.nz>
8824         * add-log.el (change-log-redate): Remove (not needed anymore and
8825         doesn't appear to work).
8827 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8829         * frame.el: Use mapc and dolist instead of mapcar where possible.
8830         (close-display-connection): New command.
8832 2007-07-25  Alexandre Julliard  <julliard@winehq.org>
8834         * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface.
8835         (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions.
8837 2007-07-25  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8839         * ps-print.el (ps-multibyte-buffer): Docstring fix.
8841         * ps-mule.el: Doc fix.
8842         (ps-multibyte-buffer, ps-mule-font-info-database-default)
8843         (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix.
8845 2007-07-25  Glenn Morris  <rgm@gnu.org>
8847         * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays)
8848         (cal-tex-diary, cal-tex-daily-string, cal-tex-daily-start)
8849         (cal-tex-daily-end, cal-tex-hook)
8850         (cal-tex-cal-one-month, cal-tex-cal-multi-month)
8851         (cal-tex-year, cal-tex-cursor-week, cal-tex-cursor-week2)
8852         (cal-tex-cursor-week-iso, cal-tex-week-hours)
8853         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
8854         (cal-tex-cursor-day, cal-tex-insert-preamble): Doc fix.
8855         (cal-tex-day-prefix, cal-tex-day-name-format)
8856         (cal-tex-cal-one-month, cal-tex-cal-multi-month, cal-tex-myday)
8857         (cal-tex-caldate, cal-tex-LaTeX-hourbox)
8858         (cal-tex-LaTeX-subst-list): Change from variables to constants.
8859         (cal-tex-preamble, cal-tex-arg, cal-tex-nl): Simplify with `format'.
8860         (cal-tex-cursor-filofax-year, cal-tex-weekly4-box): Use \textbf,
8861         etc, rather than \bf.
8862         (cal-tex-mini-calendar): Fix typos in previous change.
8863         (cal-tex-latexify-list): Remove inner let binding.
8864         (cal-tex-end-document, cal-tex-banner): Use multi-line
8865         cal-tex-comment.
8866         (cal-tex-comment): Handle embedded newlines.
8867         (cal-tex-LaTeXify-string): Use substring-no-properties.
8869 2007-07-25  Joakim Verona  <joakim@verona.se>  (tiny change)
8871         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8872         Add support for the Maden build tool.
8874 2007-07-25  William Xu  <william.xwl@gmail.com>  (tiny change)
8876         * net/webjump.el (webjump-url-encode): Fix for non-ASCII characters.
8878 2007-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8880         * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
8882 2007-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
8884         * dired.el (dired-mode-map): Bind wdired-change-to-wdired-mode to
8885         C-x C-q.
8887         * vc-git.el (vc-git-print-log): Fix previous change.
8889 2007-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8891         * window.el (save-selected-window): Minor optimization.
8892         (bw-adjust-window): If operation failed, try with a smaller delta.
8893         (window-fixed-size-p): New function.
8894         (window-area-factor): New var.
8895         (balance-windows-area): New command.
8897         * ps-mule.el (ps-multibyte-buffer): Docstring fixes.
8898         (ps-mule-encode-ethiopic): Make it clear that it's always defined.
8899         (ps-mule-prepare-font-for-components, ps-mule-encode-header-string)
8900         (ps-mule-encode-bit, ps-mule-encode-ucs2): Use dotimes.
8901         (ps-mule-begin-job): Use dolist.
8903 2007-07-24  Michael Albinus  <michael.albinus@gmx.de>
8905         * subr.el (start-file-process-shell-command)
8906         (process-file-shell-command): New defuns.
8908         * progmodes/compile.el (compilation-start):
8909         Apply `start-file-process-shell-command'.
8911 2007-07-24  Alexandre Julliard  <julliard@winehq.org>
8913         * vc-git.el (vc-git-checkout, vc-directory-exclusion-list): Fix typos.
8915 2007-07-24  Alan Mackenzie  <acm@muc.de>
8917         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
8918         Initialise byte-compile-unresolved-functions before rather than
8919         after a compilation.
8920         (byte-compile-unresolved-functions): Amplify doc string.
8922 2007-07-24  Glenn Morris  <rgm@gnu.org>
8924         * startup.el (normal-splash-screen): Use `emacs-copyright'.
8926         * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
8927         (cal-tex-rules, cal-tex-buffer, cal-tex-24)
8928         (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
8929         (cal-tex-cursor-week, cal-tex-cursor-week2)
8930         (cal-tex-cursor-week-iso, cal-tex-week-hours)
8931         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
8932         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8933         (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
8935         * calendar/cal-tex.el: Remove leading `*' from defcustom docs.
8936         (cal-tex-daily-string, cal-tex-daily-start, cal-tex-daily-end)
8937         (cal-tex-day-name-format, cal-tex-cal-one-month)
8938         (cal-tex-cal-multi-month, cal-tex-myday, cal-tex-preamble)
8939         (cal-tex-comment, cal-tex-nl, cal-tex-cmd, cal-tex-e-parbox)
8940         (cal-tex-mini-calendar, cal-tex-em): Doc fix.
8941         (cal-tex-list-holidays, cal-tex-cursor-year)
8942         (cal-tex-cursor-year-landscape, cal-tex-year)
8943         (cal-tex-cursor-filofax-year, cal-tex-cursor-month-landscape)
8944         (cal-tex-cursor-month, cal-tex-insert-days)
8945         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8946         (cal-tex-first-blank-p, cal-tex-cursor-week)
8947         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8948         (cal-tex-week-hours, cal-tex-cursor-week-monday)
8949         (cal-tex-weekly4-box, cal-tex-cursor-filofax-2week)
8950         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
8951         (cal-tex-cursor-day, cal-tex-daily-page, cal-tex-mini-calendar)
8952         (cal-tex-latexify-list, cal-tex-previous-month)
8953         (cal-tex-next-month, cal-tex-insert-preamble): General tidy-up and
8954         modernization, including using dotimes rather than
8955         calendar-for-loop.
8956         (cal-tex-LaTeX-subst-list): Remove `@'.
8957         (cal-tex-em, cal-tex-bf, cal-tex-Huge-bf, cal-tex-large-bf):
8958         Use \textit and \textbf rather than \em and \it.
8960         * calendar/cal-bahai.el (list-bahai-diary-entries)
8961         * calendar/cal-hebrew.el (list-hebrew-diary-entries)
8962         * calendar/cal-islam.el (list-islamic-diary-entries)
8963         * calendar/calendar.el (generate-calendar, generate-calendar-month)
8964         * calendar/diary-lib.el (diary-list-entries)
8965         (mark-calendar-date-pattern): Use `dotimes' rather than
8966         `calendar-for-loop'.
8968         * calendar/calendar.el (calendar-for-loop): Doc fix.
8970 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8972         * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
8973         underlying file is uptodate.
8975 2007-07-23  Christopher J. Madsen  <cjm@cjmweb.net>
8977         * replace.el (perform-replace): Use isearch-no-upper-case-p.
8979 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8981         * vc-hooks.el (vc-mode-line-map): New const.
8982         (vc-mode-line): Use it.
8984 2007-07-23  Alexandre Julliard  <julliard@winehq.org>
8986         * vc-git.el (vc-git-delete-file, vc-git-rename-file)
8987         (vc-git-unregister): New functions.
8988         (vc-git-find-version): Use the result of ls-files as a parameter
8989         for cat-file.
8991 2007-07-23  Michael Albinus  <michael.albinus@gmx.de>
8993         * net/tramp.el (tramp-perl-file-attributes)
8994         (tramp-perl-directory-files-and-attributes)
8995         (tramp-handle-file-attributes-with-stat)
8996         (tramp-handle-directory-files-and-attributes-with-stat)
8997         (tramp-convert-file-attributes): Handle huge file sizes.
8999 2007-07-23  Juri Linkov  <juri@jurta.org>
9001         * isearch.el (isearch-message-function): New variable.
9002         (isearch-update, isearch-search): Use it.
9004         * simple.el (goto-history-element): New function created from
9005         next-history-element.
9006         (next-history-element): Most code moved to goto-history-element.
9007         Call goto-history-element with (- minibuffer-history-position n).
9008         (previous-history-element): Call goto-history-element with (+
9009         minibuffer-history-position n).
9010         (minibuffer-setup-hook): Add minibuffer-history-isearch-setup.
9011         (minibuffer-history-isearch-message-overlay): New buffer-local variable.
9012         (minibuffer-history-isearch-setup, minibuffer-history-isearch-end)
9013         (minibuffer-history-isearch-search, minibuffer-history-isearch-message)
9014         (minibuffer-history-isearch-wrap, minibuffer-history-isearch-push-state)
9015         (minibuffer-history-isearch-pop-state): New functions.
9017 2007-07-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
9019         * vc-hooks.el (vc-stay-local-p): Fix bug: Avoid remove-if-not.
9020         Also, if FILE is a list, return non-nil if any of its elements
9021         should stay local.  Update docstring.
9023 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9025         * emacs-lisp/copyright.el (copyright-update-year): Fix 2007-05-25
9026         change by reverting a small part.
9028 2007-07-23  Richard Stallman  <rms@gnu.org>
9030         * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe.
9032 2007-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
9034         * vc-git.el (vc-git-checkin): Delete unused parameter and the code
9035         handling it.  Use vc-git-command.
9036         (vc-git-find-version, vc-git-diff-tree): New functions.
9037         (vc-git-revert): Use vc-git-command.
9038         (vc-git--run-command): Delete.
9040 2007-07-23  Alexandre Julliard  <julliard@winehq.org>
9042         * vc-git.el (vc-git-workfile-unchanged-p): Update comment.
9044 2007-07-20  Kenichi Handa  <handa@m17n.org>
9046         * international/utf-8.el (utf-8-post-read-conversion):
9047         Temporarily bind utf-8-compose-scripts to nil while running
9048         *-compose-region functions.
9050 2007-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
9052         * vc-git.el: Update status.
9053         (vc-directory-exclusion-list): Use eval-after-load.
9055 2007-07-22  Nick Roberts  <nickrob@snap.net.nz>
9057         * bindings.el (mode-line-remote): New variable.
9058         (help-echo): Add to default values of mode-line-format.
9060         * files.el: Mark mode-line-remote as risky.
9062 2007-07-22  Juri Linkov  <juri@jurta.org>
9064         * isearch.el (isearch-edit-string): Save old point and
9065         isearch-other-end to old-point and old-other-end before reading
9066         the search string from minibuffer.  After exiting minibuffer set
9067         point to old-other-end if point and the search direction is the
9068         same as before reading the search string.
9069         (isearch-del-char): Don't set isearch-yank-flag to t.  Put point
9070         to isearch-other-end.  Instead of isearch-search-and-update call
9071         three functions isearch-search, isearch-push-state and isearch-update.
9073 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
9075         * vc-git.el (vc-git-register, vc-git-checkin): Use vc-git-command,
9076         deal with multiple file arguments.
9077         (vc-git-print-log): Deal with multiple file arguments.
9079 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9081         * diff-mode.el (diff-refine-ignore-spaces-hunk): Rename from
9082         diff-refine-hunk.  Adjust users.
9083         (diff-unified-hunk-p, diff-splittable-p): New functions.
9084         (diff-mode-menu): Use it to disable Split when it doesn't work.
9086 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
9088         * diff-mode.el (diff-mode-menu): New entries.
9090 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9092         * diff-mode.el (diff-unified->context): Use the new `apply' undo entry
9093         if applicable, so as to save undo-log space.
9095         * diff-mode.el (diff-find-file-name): Add arg `batch'.
9097         * diff-mode.el (diff-beginning-of-file-and-junk): New function.
9098         (diff-file-kill): Use it.
9099         (diff-beginning-of-hunk): Add arg `try-harder' using it.
9100         (diff-restrict-view, diff-find-source-location, diff-refine-hunk):
9101         Use it so they find the hunk even when we're in the file header.
9103 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
9105         * vc-git.el (vc-git-revision-granularity, vc-git-root)
9106         (vc-git-command, vc-git-dir-state, vc-git-dired-state-info)
9107         (vc-git-create-repo): New functions.
9108         (vc-git-registered): New autoloaded function definition.
9109         (vc-git-registered): Use vc-git-root.
9110         (vc-git-responsible-p): New defalias.
9111         (vc-git-annotate-extract-revision-at-line): Uncomment.
9112         (vc-git-print-log): Add the file name to the log.
9113         (vc-git-log-view-mode): New derived mode.
9114         (vc-git-diff, vc-git-annotate-command): Use vc-git-command.
9116 2007-07-22  Michael Albinus  <michael.albinus@gmx.de>
9118         * progmodes/grep.el (grep-compute-defaults): Keep default values.
9120 2007-07-22  Ralf Angeli  <angeli@caeruleus.net>
9122         * textmodes/reftex.el (reftex-access-parse-file): Create parse
9123         file in a way that does not interfere with recentf mode.
9124         (reftex-access-parse-file): Do not risk destroying an existing
9125         buffer.
9127 2007-07-22  Alexandre Julliard  <julliard@winehq.org>
9129         * vc-git.el: New file.
9131 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9133         * textmodes/tex-mode.el (tex-font-script-display): Change default.
9135 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
9137         * vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips
9138         for branches and new files.
9140         * vc-hooks.el (vc-default-mode-line-string): Move mouse-face and
9141         local-map handling ...
9142         (vc-mode-line): ... here.  Improve handling of help-echo.
9144         * vc.el (mode-line-string): Document help-echo usage.
9146 2007-07-22  Michael Albinus  <michael.albinus@gmx.de>
9148         Sync with Tramp 2.1.10.
9150         * net/tramp.el (tramp-get-ls-command): Fix typo.
9152         * net/trampver.el: Update release number.
9154 2007-07-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
9156         * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon.
9158         * term/x-win.el (x-handle-no-bitmap-icon): New function.
9160 2007-07-22  Martin Rudalics  <rudalics@gmx.at>
9162         * add-log.el (change-log-fill-parenthesized-list): New function.
9163         (change-log-indent): Call change-log-fill-parenthesized-list.
9164         (change-log-fill-paragraph): Bind fill-indent-according-to-mode to t.
9165         Have lines with leading asterisk start a paragraph.
9167 2007-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
9169         * calc/calc-math.el (math-emacs-precision)
9170         (math-largest-emacs-expt, math-smallest-emacs-expt):
9171         New variables.
9172         (math-use-emacs-fn): New function.
9173         (math-exp-raw): Evaluate with `math-use-emacs-fn', when
9174         appropriate.
9176 2007-07-21  Thien-Thi Nguyen  <ttn@gnuvola.org>
9178         * image-dired.el (image-dired-sane-db-file): New func.
9179         (image-dired-write-tags, image-dired-remove-tag)
9180         (image-dired-list-tags, image-dired-write-comments)
9181         (image-dired-get-comment, image-dired-mark-tagged-files)
9182         (image-dired-create-gallery-lists): Call new func.
9183         Reported by Dieter Wilhelm <dieter@duenenhof-wilhelm.de>.
9185 2007-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
9187         * vc-hg.el (vc-hg-dir-state): Fix loop.
9188         (vc-hg-print-log): Fix expected return value for vc-hg-command.
9189         (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
9190         (vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
9191         (vc-hg-revert): Likewise.
9192         (vc-hg-revision-table, vc-hg-revision-completion-table): New
9193         functions.
9195 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9197         * add-log.el (change-log-resolve-conflict): Don't lose data if the
9198         merge fails.
9200 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
9202         * progmodes/compile.el (compilation-auto-jump-to-first-error):
9203         Add group and version.
9205 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9207         * add-log.el (add-log-file-name): Use file-relative-name.
9208         (add-change-log-entry): Delay reading
9209         add-log-(full-name|mailing-address) to after we've switched to the
9210         ChangeLog buffer so we get the right value.
9211         (add-change-log-entry, add-log-current-defun, change-log-merge):
9212         Use derived-mode-p rather than checking major-mode directly.
9214         * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory
9215         name for buffer-file-name if it refers to a directory.
9217         * vc-arch.el (vc-arch-diff): Fix last change.
9219         * progmodes/compile.el (compilation-start): Remember the original
9220         directory in a buffer-local compilation-directory.
9221         (compile): Set the global value of compilation-directory.
9222         (recompile): Use compilation-directory even in the compilation buffer.
9224 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
9226         * vc-hg.el (vc-hg-diff): Use vc-hg-command.
9228 2007-07-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
9230         * ps-print.el: Problem with foreground and background color when
9231         printing a buffer with and without faces.  Reported by Christian
9232         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
9233         (ps-print-version): New version 6.7.5.
9234         (ps-default-fg): Change default value to nil, so black color is used
9235         when a face does not specify a foreground color.
9236         (ps-default-bg): Change default value to nil, so white color is used
9237         for background color.
9238         (ps-begin-job): Fix code.
9240 2007-07-20  Eli Zaretskii  <eliz@gnu.org>
9242         * makefile.w32-in (install-lisp-SH): Don't create subdirectories
9243         in $(INSTALL_DIR)/lisp/ if they already exist.
9245 2007-07-20  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
9247         * makefile.w32-in (install-lisp-CMD): Don't create subdirectories
9248         in $(INSTALL_DIR)/lisp/ if they already exist.
9250 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9252         * progmodes/vera-mode.el (vera-re-search-forward)
9253         (vera-re-search-backward): Remove use of store-match-data.
9254         (vera-mode-map): Move initialization into declaration.
9256         * progmodes/flymake.el (flymake-buildfile-dirs): Remove.
9257         (flymake-find-buildfile): Use locate-dominating-file.
9259         * vc.el (vc-delistify): Use mapconcat.
9260         (vc-do-command): Minor simplification.
9261         (vc-expand-dirs): Use push.
9263         * vc-mcvs.el (vc-mcvs-create-repo):
9264         * vc-cvs.el (vc-cvs-create-repo): Remove.
9266         * vc-hooks.el (vc-find-root): Fix case where `file' is the current
9267         directory and the root as well.
9269 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
9271         * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
9272         instead of a file.
9274         * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
9275         (vc-hg-registered): Replace if with when.
9276         (vc-hg-state): Deal with nonexistent files and handle removed files.
9277         (vc-hg-dir-state, vc-hg-dired-state-info): New functions.
9278         (vc-hg-checkout): Re-enable.
9279         (vc-hg-create-repo): Fix typos.
9280         (vc-hg-print-log): Fix for multiple files.
9281         (vc-hg-workfile-unchanged-p): New function.
9283         * vc.el: Fix typo.
9284         (vc-print-log): Fix call to print-log.
9285         (vc-default-comment-history): Likewise.
9286         (vc-directory-exclusion-list): Add .hg and .bzr.
9287         (vc-diff-internal): Pass a list instead of a file.
9289         * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
9291         * vc-bzr.el (vc-bzr-create-repo): New function.
9293 2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9295         * vc-hooks.el (vc-find-root): Walk up the tree to find an existing
9296         `file' from which to start the search.
9298 2007-07-19  Eric S. Raymond  <esr@snark.thyrsus.com>
9300         * vc-cvs.el (vc-cvs-checkin, vc-cvs-diff): Finish transition from
9301         having a single file argument to having a list of files as the
9302         first argument.
9304 2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9306         * files.el (locate-dominating-file): New function.
9308 2007-07-18  Michael Albinus  <michael.albinus@gmx.de>
9310         * progmodes/grep.el (grep-host-defaults-alist): New defvar.
9311         (grep-compute-defaults): Use it.
9313 2007-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9315         * uniquify.el: Docstring fixes.
9317 2007-07-18  Eric S. Raymond  <esr@snark.thyrsus.com>
9319         * vc.el (revision-granularity, create-repo): Document new vc
9320         backend properties.
9321         (vc-rollback): Renamed from vc-cancel-version. Update
9322         references. Pass a list instead of a file.
9323         (vc-revert): Renamed from vc-revert-buffer. Update references.
9324         (vc-delistify, vc-expand-dirs): New functions.
9325         (vc-do-command): Rename FILE to FILE-OR-LIST and deal with a list
9326         of files instead of a single file.
9327         (vc-position-context, vc-resync-window, vc-diff-internal)
9328         (vc-print-log): Pass a list instead of a file.
9330         * vc-hooks.el (vc-stay-local-p, vc-backend)
9331         (vc-backend-subdirectory-name): Work on a file list, not a single
9332         file.
9333         (vc-workfile-version): Update docstring.
9334         (vc-menu-map): Use vc-rollback instead of vc-cancel-version and
9335         vc-revert instead of vc-revert-buffer.
9336         (vc-prefix-map): Likewise. Bind vc-update.
9338         * vc-svn.el (vc-svn-revision-granularity, vc-svn-create-repo)
9339         (vc-svn-wash-log): New functions.
9340         (vc-svn-register, vc-svn-checkin, vc-svn-print-log)
9341         (vc-svn-command): Deal with a list of files, not a single file.
9343         * vc-rcs.el (vc-rcs-revision-granularity, vc-rcs-create-repo)
9344         (vc-rcs-wash-log): New functions.
9345         (vc-rcs-register, vc-rcs-checkin, vc-rcs-diff, vc-rcs-print-log):
9346         Deal with a list of files, not a single file.
9347         (vc-rcs-rollback): Likewise. Rename from vc-rcs-cancel-version.
9349         * vc-sccs.el (vc-sccs-revision-granularity, vc-sccs-wash-log): New
9350         functions.
9351         (vc-sccs-register, vc-sccs-checkin, vc-sccs-diff): Deal with a
9352         list of files, not a single file.
9354         * vc-mcvs.el (vc-mcvs-revision-granularity, vc-mcvs-create-repo):
9355         New functions.
9356         (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-print-log)
9357         (vc-mcvs-diff): Deal with a list of files, not a single file.
9359         * vc-hg.el (vc-hg-revision-granularity, vc-hg-create-repo): New
9360         functions.
9361         (vc-hg-print-log): Deal with a list of files, not a single file.
9362         (vc-hg-diff-tree): New function, replace defalias with the same
9363         name.
9364         (vc-hg-register, vc-hg-checkin, vc-hg-command): Rename FILE to
9365         FILES to denote that it is a file list, not a single file.
9367         * vc-cvs.el (vc-cvs-create-repo, vc-cvs-wash-log): New functions.
9368         (vc-cvs-register, vc-cvs-checkin): Deal with a list of files, not
9369         a single file.
9370         (vc-cvs-print-log, vc-cvs-command): Rename FILE to FILES to denote
9371         that it is a file list, not a single file.
9372         (vc-cvs-diff): Likewise. Simplify.
9374         * vc-arch.el (vc-arch-register, vc-arch-checkin, vc-arch-diff):
9375         Deal with a list of files, not a single file.
9377         * vc-bzr.el (vc-bzr-register, vc-bzr-command, vc-bzr-checkin)
9378         (vc-bzr-print-log): Update FILE parameter name to denote that it
9379         is a file list, not a single file.
9380         (vc-bzr-diff): Likewise. Use the car of files.
9382 2007-07-18  Juanma Barranquero  <lekktu@gmail.com>
9384         * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode)
9385         (follow-delete-other-windows-and-split, follow-recenter)
9386         (follow-windows-aligned-p, follow-point-visible-all-windows-p)
9387         (follow-redisplay, follow-estimate-first-window-start)
9388         (follow-xemacs-scrollbar-support, follow-intercept-process-output):
9389         Fix typos in docstrings.
9391 2007-07-18  Martin Rudalics  <rudalics@gmx.at>
9393         * add-log.el (change-log-mode): Use fill-nobreak-predicate to
9394         avoid that filling introduces lines with a single asterisk.
9396         * kmacro.el (kmacro-end-macro): When ignoring empty macro
9397         avoid incorrect kmacro-ring-empty-p messages.
9398         Reported by Michael Schierl <schierlm@gmx.de>.
9400 2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
9402         * vc.el: Add more info about the vc-registered function.
9404 2007-07-17  Michael Albinus  <michael.albinus@gmx.de>
9406         * files.el (file-remote-p): Introduce optional parameter
9407         IDENTIFICATION.
9409         * recentf.el (recentf-keep-default-predicate): Adapt call of
9410         `file-remote-p'.
9412         * progmodes/grep.el (grep-probe): Use `process-file'.
9413         (grep-compute-defaults): Handle variables host specific.
9415         * net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional
9416         parameter IDENTIFICATION.
9418         * net/tramp.el (tramp-handle-file-remote-p): Handle optional
9419         parameter IDENTIFICATION.
9420         (tramp-handle-set-file-times): New defun.  Replaces `tramp-touch'.
9421         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
9422         Add entry for `set-file-times'.
9423         (tramp-do-copy-or-rename-file-via-buffer)
9424         (tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
9425         (tramp-handle-unhandled-file-name-directory): Rewrite.
9426         (tramp-convert-file-attributes): Add error handling when inode is
9427         extraordinary big.
9428         (tramp-get-inode): Change parameter from FILE to VEC.
9429         (tramp-handle-start-file-process): Use (current-buffer) if BUFFER
9430         is nil.  This is according to the specification.  Goto (point-max)
9431         when ready.
9432         (tramp-handle-shell-command): Rewrite completely, using
9433         `process-file' and `start-file-process'.
9434         (tramp-methods, tramp-find-shell)
9435         (tramp-open-connection-setup-interactive-shell)
9436         (tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
9437         var.  Reported by Steve Youngs <steve@sxemacs.org>.
9439         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
9440         entry for `set-file-times'.  Rename `start-process' into
9441         `start-file-process'.  Remove `call-process' entry.
9442         (tramp-fish-handle-set-file-times): New defun.
9443         (tramp-fish-handle-executable-find): Use `process-file'.
9444         (tramp-fish-handle-process-file): New defun.  Replaces
9445         `tramp-fish-handle-call-process'.
9446         (tramp-fish-do-copy-or-rename-file-directly): Use
9447         `set-file-times'.
9448         (tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.
9450         * net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
9451         `tramp-get-inode' parameter.
9453 2007-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9455         * vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version)
9456         (vc-bzr-post-command-function): Remove.  Version 0.8 is already old
9457         nowadays, and by the time Emacs-23 comes out, nobody will even remember
9458         it has ever existed.
9460 2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
9462         * vc.el: Undo previous change.
9464 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
9466         * makefile.w32-in (clean): Don't delete *~.
9468 2007-07-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9470         * textmodes/tex-mode.el (tex-verbatim-environments):
9471         Add safe-local-variable property.
9472         (tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
9473         when starting font-lock rather than when loading tex-mode.el.
9475         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
9476         whole $( rather than just the $.  Rename from sh-quoted-subshell.
9477         (sh-font-lock-syntactic-keywords): Adjust call accordingly.
9479 2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>
9481         * bookmark.el (bookmark-maybe-sort-alist): Don't modify
9482         bookmark-alist.  Instead, if not sorting, simply return it.
9483         (bookmark-bmenu-list): Call bookmark-maybe-sort-alist
9484         for its return value, not for its side effect.
9486         * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the
9487         case of alignment under a constant symbol, find and consider
9488         the sexp actually at indentation to be the "last sexp".
9490 2007-07-16  Drew Adams  <drew.adams@oracle.com>
9492         * mouse.el (mouse-yank-secondary): Better error message if no
9493         secondary selection.
9495 2007-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
9497         * vc-hooks.el (vc-handled-backends): Move BZR later in the list.
9499         * term/xterm.el (xterm-turn-on-modify-other-keys)
9500         (xterm-turn-off-modify-other-keys): New functions.
9501         (terminal-init-xterm): Enable the modifyOtherKeys feature if the
9502         terminal supports it.
9504 2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>
9506         * bookmark.el (bookmark-show-all-annotations):
9507         Make sure each inserted annotation ends with newline.
9509 2007-07-15  Richard Stallman  <rms@gnu.org>
9511         * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.
9513         * tutorial.el (tutorial--find-changed-keys):
9514         Handle C-x specially like ESC.
9516 2007-07-15  Aaron Hawley  <aaronh@garden.org>
9518         * tar-mode.el (tar-get-descriptor): No error for zero-length file.
9520 2007-07-15  Juri Linkov  <juri@jurta.org>
9522         * delsel.el (delete-selection-pre-hook):
9523         * emulation/cua-base.el (cua-paste): Before a yank command,
9524         check also whether last-command is one of mouse-save-then-kill,
9525         mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region.
9527 2007-07-15  Michael Albinus  <michael.albinus@gmx.de>
9529         * recentf.el (recentf-keep-default-predicate): New defun.
9530         (recentf-keep): Use it as initial value.
9532 2007-07-15  Karl Fogel  <kfogel@red-bean.com>
9534         * bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com,
9535         thus restoring bookmark bindings to three slots under C-x r.  See
9536         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.
9538 2007-07-15  Jeff Miller  <jmiller@cablespeed.com>  (tiny change)
9540         * calendar/calendar.el (calendar-goto-bahai-date): Autoload it.
9542 2007-07-15  Jason Rumney  <jasonr@gnu.org>
9544         * w32-fns.el (set-default-process-coding-system): Use dos line ends
9545         for input to cmdproxy on all versions of Windows.
9546         Use dos line ends for input to plink.
9548         * comint.el (comint-simple-send): Concat newline before sending.
9549         (comint-password-prompt-regexp): Recognize plink's passphrase prompt.
9551 2007-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9553         * emacs-lisp/autoload.el (generated-autoload-file): Autoload the
9554         safe-local-variable setting.
9556 2007-07-14  David Kastrup  <dak@gnu.org>
9558         * emacs-lisp/advice.el (defadvice): Doc fix.
9560 2007-07-14  Juanma Barranquero  <lekktu@gmail.com>
9562         * subr.el (when, unless): Doc fix.
9564 2007-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
9566         * replace.el (match): Use yellow1 instead of yellow.
9568         * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
9569         red.
9571         * pcvs-info.el (cvs-unknown): Likewise.
9573 2007-07-13  Eli Zaretskii  <eliz@gnu.org>
9575         * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets.
9576         (install): Use them to copy all *.el files before *.elc.
9578 2007-07-13  Drew Adams  <drew.adams@oracle.com>
9580         * bookmark.el (bookmark-jump-other-window): New function.
9581         (bookmark-map): Bind it to "o".
9583         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html
9584         and its thread contains discussion about this change.
9585         The original patch was slightly tweaked by Karl Fogel
9586         <kfogel@red-bean.com> before committing.
9588 2007-07-13  Karl Fogel  <kfogel@red-bean.com>
9590         * bookmark.el: Shorten some comments to fit within 80 lines.
9592 2007-07-13  Karl Fogel  <kfogel@red-bean.com>
9594         * bookmark.el: Don't define bookmark keys under the "C-xr" map;
9595         instead, make "C-xp" a prefix for bookmark-map.  Patch by Drew
9596         Adams <drew.adams@oracle.com>, mildly tweaked by me.  See
9597         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.
9599 2007-07-13  Carsten Dominik  <dominik@science.uva.nl>
9601         * textmodes/org.el: Bug fixes.
9602         (org-end-of-line): Move to end of line if in headline without tags.
9604 2007-07-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9606         * vc-hooks.el: Remove spurious * in docstrings.
9607         (vc-handled-backends): Add BZR.
9609         * vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.
9611 2007-07-12  Davis Herring  <herring@lanl.gov>
9613         * desktop.el (desktop-buffer-info, desktop-save):
9614         Use `desktop-dirname' instead of `dirname'.
9616 2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>
9618         * progmodes/which-func.el (which-func-modes): Add `python-mode'.
9620         * progmodes/python.el (python-which-func-length-limit): New var.
9621         (python-which-func): New function.
9622         (python-current-defun): Add optional `length-limit' and try to fit
9623         computed function name to that length.
9624         (python-mode): Hook `python-which-func' up.
9626 2007-07-12  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)
9628         * pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case.
9630         * comint.el (comint-dynamic-complete-as-filename):
9631         Use read-file-name-completion-ignore-case.
9633 2007-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9635         * comint.el (comint-dynamic-list-filename-completions):
9636         Use read-file-name-completion-ignore-case.
9638         * vc-cvs.el: Require CL.
9639         (vc-cvs-revision-table, vc-cvs-revision-completion-table):
9640         New functions to provide completion of revision names.
9642         * vc-cvs.el (vc-functions): Clear up the cache when reloading the file.
9643         (vc-cvs-annotate-first-line-re): New const.
9644         (vc-cvs-annotate-process-filter): New fun.
9645         (vc-cvs-annotate-command): Use them and run the command asynchronously.
9647 2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>
9649         * emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation.
9650         (eldoc-print-current-symbol-info): Adjust for changed helper
9651         function signatures.
9652         (eldoc-get-fnsym-args-string): Add `args' argument.  Use new
9653         `eldoc-highlight-function-argument'.
9654         (eldoc-highlight-function-argument): New function.
9655         (eldoc-get-var-docstring): Format documentation with
9656         `font-lock-variable-name-face'.
9657         (eldoc-docstring-format-sym-doc): Add `face' argument and apply it
9658         where suited.
9659         (eldoc-fnsym-in-current-sexp): Return a list with argument index.
9660         (eldoc-beginning-of-sexp): Return number of skipped sexps.
9662 2007-07-11  Michael Albinus  <michael.albinus@gmx.de>
9664         * progmodes/compile.el (compilation-start): `start-process' must
9665         still be redefined when calling `start-process-shell-command'.
9667         * progmodes/gud.el (gud-file-name): When `default-directory' is a
9668         remote file name, prepend its remote part to the filename.
9669         (gud-common-init): When `default-directory' is a remote file name,
9670         make the filename relative to it.
9671         Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
9673 2007-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
9675         * vc-hooks.el (vc-default-mode-line-string): Add a mouse face,
9676         mouse binding and a tooltip.
9678 2007-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9680         * menu-bar.el (vc-menu-map): New defalias.
9682 2007-07-10  Richard Stallman  <rms@gnu.org>
9684         * emacs-lisp/lisp-mode.el (eval-defun):
9685         Explain special handling of `defface'.
9687 2007-07-10  Jim Meyering  <jim@meyering.net>  (tiny change)
9689         * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.
9691         * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.
9693 2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9695         * emacs-lisp/cl.el: Load cl-loaddefs.el quietly.
9697         * vc-arch.el (vc-arch-complete): Remove.
9698         (vc-arch-revision-completion-table): Use complete-with-action.
9700         * subr.el (condition-case-no-debug, with-demoted-errors): New macros.
9701         (complete-with-action): New function.
9702         (dynamic-completion-table): Use it.
9704 2007-07-10  Michael Albinus  <michael.albinus@gmx.de>
9706         * comint.el (make-comint, make-comint-in-buffer)
9707         (comint-exec-1): Replace `start-process' by `start-file-process'.
9709         * progmodes/compile.el (compilation-start): Revert redefining
9710         `start-process'.
9712 2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9714         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
9715         with EOLs when generating MD5 checksums.
9717         * follow.el: Don't change the global map from the follow-mode-map
9718         defvar, but from the toplevel.  Use easy-menu to unify the Emacs and
9719         XEmacs code.
9720         (turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
9721         since `follow-mode' should be used instead for that.
9723         * emacs-lisp/easymenu.el (easy-menu-binding): New function.
9724         (easy-menu-do-define): Use it.
9725         (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
9727         * progmodes/compile.el (compilation-auto-jump-to-first-error)
9728         (compilation-auto-jump-to-next): New vars.
9729         (compilation-auto-jump): New function.
9730         (compilation-error-properties): Use them to jump to first error.
9731         (compilation-start): Set the var if requested.
9733         * emacs-lisp/autoload.el (update-directory-autoloads): Remove
9734         duplicates without also removing entries from other directories.
9736 2007-07-10  Carsten Dominik  <dominik@science.uva.nl>
9738         * textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
9739         Remember span as default.
9740         (org-columns-edit-value): Rename from `org-column-edit'.
9741         (org-columns-display-here-title): Rename from
9742         `org-overlay-columns-title'.
9743         (org-columns-remove-overlays): Rename from org-remove-column-overlays.
9744         (org-columns-get-autowidth-alist): Rename from
9745         `org-get-columns-autowidth-alist'.
9746         (org-columns-display-here): Rename from `org-overlay-columns'.
9747         (org-columns-new-overlay): Rename from `org-new-column-overlay'.
9748         (org-columns-quit): Rename from `org-column-quit'.
9749         (org-columns-show-value): Rename from `org-column-show-value'.
9750         (org-columns-content, org-columns-widen)
9751         (org-columns-next-allowed-value)
9752         (org-columns-edit-allowed, org-columns-store-format)
9753         (org-columns-uncompile-format, org-columns-redo)
9754         (org-columns-edit-attributes, org-delete-property)
9755         (org-set-property, org-columns-update)
9756         (org-columns-compute, org-columns-eval)
9757         (org-columns-not-in-agenda, org-columns-compute-all)
9758         (org-property-next-allowed-value)
9759         (org-columns-compile-format)
9760         (org-fill-paragraph-experimental)
9761         (org-string-to-number, org-property-action)
9762         (org-columns-move-left, org-columns-new)
9763         (org-column-number-to-string)
9764         (org-property-previous-allowed-value)
9765         (org-at-property-p, org-columns-delete)
9766         (org-columns-previous-allowed-value)
9767         (org-columns-move-right, org-columns-narrow)
9768         (org-property-get-allowed-values)
9769         (org-verify-version, org-column-string-to-number)
9770         (org-delete-property-globally): New functions.
9771         (org-columns-current-fmt): Rename from `org-current-columns-fmt'.
9772         (org-columns-overlays): Rename from `org-column-overlays'.
9773         (org-columns-map): Rename from `org-column-map'.
9774         (org-columns-current-maxwidths): Rename from
9775         `org-current-columns-maxwidths'.
9776         (org-columns-begin-marker, org-columns-current-fmt-compiled)
9777         (org-previous-header-line-format)
9778         (org-columns-inhibit-recalculation)
9779         (org-columns-top-level-marker): New variables.
9780         (org-columns-default-format): Rename from `org-default-columns-format'.
9781         (org-property-re): New constant.
9783 2007-07-10  Guanpeng Xu  <herberteuler@hotmail.com>
9785         * subr.el (looking-at-p, string-match-p): New functions.
9787 2007-07-09  Reiner Steib  <Reiner.Steib@gmx.de>
9789         * textmodes/tex-mode.el (tex-fontify-script)
9790         (tex-font-script-display): New variables to make display of
9791         superscripts and subscripts customizable.
9792         (tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
9794 2007-07-09  Richard Stallman  <rms@gnu.org>
9796         * isearch.el (isearch-edit-string): Call to isearch-push-state
9797         after the search.
9799 2007-07-09  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
9801         * window.el (fit-window-to-buffer): Remove setting of window-min-height
9802         to 1 as enlarge-window uses the value to resize/shrink windows other
9803         than WINDOW if needed.
9805 2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>
9807         * cus-start.el (file-coding-system-alist): Fix custom type.
9809 2007-07-08  Chong Yidong  <cyd@stupidchicken.com>
9811         * longlines.el (longlines-wrap-region): Avoid marking buffer as
9812         modified.
9813         (longlines-auto-wrap, longlines-window-change-function):
9814         Remove unnecessary calls to set-buffer-modified-p.
9816 2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>
9818         * cus-start.el (file-coding-system-alist): Fix custom type.
9820 2007-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9822         * vc-cvs.el (vc-cvs-revert): Use vc-default-revert.
9823         (vc-cvs-checkout): Remove last arg now unused; simplify.
9825 2007-07-08  Michael Albinus  <michael.albinus@gmx.de>
9827         * files.el (file-remote-p): Introduce optional parameter CONNECTED.
9829         * net/tramp.el:
9830         * net/tramp-ftp.el:
9831         * net/tramp-smb.el:
9832         * net/tramp-uu.el:
9833         * net/trampver.el: Migrate to Tramp 2.1.
9835         * net/tramp-cache.el:
9836         * net/tramp-fish.el:
9837         * net/tramp-gw.el: New Tramp packages.
9839         * net/tramp-util.el:
9840         * net/tramp-vc.el: Removed.
9842         * net/ange-ftp.el: Add ange-ftp property to 'start-file-process.
9843         (ange-ftp-file-remote-p): Handle optional parameter CONNECTED.
9845         * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.
9847         * progmodes/compile.el (compilation-start): Redefine
9848         `start-process' temporarily when `default-directory' is remote.
9849         Remove case of synchronous compilation, this won't happen ever.
9850         (compilation-setup): Make local variable `comint-file-name-prefix'
9851         for remote compilation.
9853 2007-07-08  Martin Rudalics  <rudalics@gmx.at>
9855         * novice.el (disabled-command-function): Fit window to buffer to
9856         make last line visible.
9857         Reported by Stephen Berman <Stephen.Berman at gmx.net>.
9859         * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
9860         when handling the terminating event.
9862 2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>
9864         * calc/calc.el (math-read-number-simple): Remove leading 0s.
9865         (math-bignum-digit-length): Change to optimal value.
9867         * calc/calc-bin.el (math-bignum-logb-digit-size)
9868         (math-bignum-digit-power-of-two): Evaluate when compiled.
9870         * calc/calc-comb.el (math-small-factorial-table)
9871         (math-init-random-base, math-prime-test): Remove unnecessary calls
9872         to `math-read-number-simple'.
9874         * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
9875         (math-approx-gamma-const): Add docstrings.
9877         * calc/calc-forms.el (math-julian-date-beginning)
9878         (math-julian-date-beginning-int): New constants.
9879         (math-format-date-part, math-parse-standard-date, calcFunc-julian):
9880         Use the new constants.
9882         * calc/calc-funcs.el (math-gammap1-raw): Add docstring.
9884         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
9885         Add docstrings.
9887 2007-07-07  Tom Tromey  <tromey@redhat.com>
9889         * vc.el (vc-annotate): Jump to line and output message only after the
9890         process is really all done.
9892 2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9894         * vc.el (vc-exec-after): Don't move point from the sentinel.
9895         Forcefully read all the remaining text in the pipe upon process exit.
9896         (vc-annotate-display-autoscale, vc-annotate-lines):
9897         Don't stop at the first unrecognized line.
9898         (vc-annotate-display-select): Run autoscale after the process is done
9899         since it depends on the whole result.
9901 2007-07-07  Eli Zaretskii  <eliz@gnu.org>
9903         * term/w32-win.el (menu-bar-open): New function.
9904         Bind <f10> to it.
9906 2007-07-07  Michael Albinus  <michael.albinus@gmx.de>
9908         * simple.el (start-file-process): New defun.
9910 2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9912         * files.el (find-file-confirm-nonexistent-file): Rename from
9913         find-file-confirm-inexistent-file.  Update users.
9915         * emacs-lisp/autoload.el (autoload-find-destination): Understand a new
9916         format of autoload block where the file's time-stamp is replaced by its
9917         MD5 checksum.
9918         (autoload-generate-file-autoloads): Use MD5 checksum instead of
9919         time-stamp for secondary autoloads files.
9920         (update-directory-autoloads): Remove duplicate entries.
9921         Use time-less-p for time-stamps, as done in autoload-find-destination.
9923 2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>
9925         * calc/calc.el (math-read-number): Replace number by variable.
9926         (math-read-number-simple): Properly parse small integers.
9928 2007-07-07  Dan Nicolaescu  <dann@ics.uci.edu>
9930         * vc.el: Fix doc for the checkout function.
9932 2007-07-06  Dan Nicolaescu  <dann@ics.uci.edu>
9934         * vc-hg.el (vc-hg-root): New function.
9935         (vc-hg-registered): Use it.
9936         (vc-hg-diff-tree): New defalias.
9937         (vc-hg-responsible-p): Likewise.
9938         (vc-hg-checkout): Comment out, not needed.
9939         (vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
9940         (vc-hg-find-version, vc-hg-next-version): New functions.
9942 2007-07-06  Andreas Schwab  <schwab@suse.de>
9944         * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any
9945         dynamic bindings around the evaluation of the expression.
9946         Reported by Jay Belanger <jay.p.belanger@gmail.com>.
9948 2007-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9950         * autorevert.el (auto-revert-tail-handler): Use inhibit-read-only.
9951         Run before-revert-hook.  Suggested by Denis Bueno <denbuen@sandia.gov>.
9952         Use run-hooks rather than run-mode-hooks.
9954 2007-07-05  Jay Belanger  <jay.p.belanger@gmail.com>
9956         * calc/calc-comb.el (math-random-digit): Rename to
9957         `math-random-three-digit-number'.
9958         (math-random-digits): Don't depend on representation of integer.
9960         * calc/calc-bin.el (math-bignum-logb-digit-size)
9961         (math-bignum-digit-power-of-two): New constants.
9962         (math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
9963         (math-not-bignum, math-clip-bignum): Use the constants
9964         `math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size'
9965         instead of their values.
9966         (math-clip): Use math-small-integer-size instead of its value.
9968         * calc/calc.el (math-add-bignum): Replace number by constant.
9970 2007-07-05  Chong Yidong  <cyd@stupidchicken.com>
9972         * wid-edit.el (widget-documentation-string-value-create):
9973         Insert indentation spaces.
9975 2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>
9977         * emacs-lisp/byte-opt.el: Revert last change.
9979 2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
9981         * vc-hooks.el (vc-handled-backends): Add HG.
9983         * vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.
9985 2007-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9987         * complete.el (PC-do-complete-and-exit): Add support for the new
9988         `confirm-only' confirmation mode.
9990 2007-07-05  Chong Yidong  <cyd@stupidchicken.com>
9992         * cus-edit.el (custom-commands): New variable.
9993         (custom-tool-bar-map): New variable.  Initialize using
9994         `custom-commands'.
9995         (custom-mode): Use `custom-tool-bar-map'.
9996         (custom-buffer-create-internal): Insert action buttons only if
9997         tool bar is not used.  Use `custom-commands'.
9998         (Custom-help, custom-command-apply): New function.
9999         (custom-command-apply, Custom-set, Custom-save)
10000         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
10001         Use `custom-command-apply' instead of duplicating code.
10002         (customize-group-other-window): Call `customize-group' instead of
10003         duplicating code.
10004         (customize-face-other-window): Call `customize-face' instead of
10005         duplicating code.
10006         (customize-group, customize-face): Add optional args for opening
10007         in another window.
10008         (custom-variable-tag): Don't inherit `variable-pitch' face.
10009         (custom-group-tag): Inherit `variable-pitch' face.
10010         (custom-variable-value-create): Set documentation indentation.
10011         (custom-group-value-create): Make group name a link, instead of
10012         using an extra "go to group" button.
10013         (custom-prompt-variable, custom-group-set, custom-group-save)
10014         (custom-group-reset-current, custom-group-reset-saved)
10015         (custom-group-reset-standard): Minor cleanup.
10017 2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>
10019         * Makefile.in (bootstrap-prepare): When copying from
10020         ldefs-boot.el, make sure loaddefs.el is writeable.
10022         (bootstrap-prepare): Make $(lisp)/ps-print.el
10023         and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.
10025 2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
10027         * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
10028         only caller, and delete.
10029         (vc-hg-state): Deal with exceptions and only parse the output on
10030         successful return.
10031         (vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
10032         caller, and delete.
10033         (vc-hg-workfile-version): Deal with exceptions and only parse the
10034         output on successful return.
10035         (vc-hg-revert): New function.
10037 2007-07-04  Jay Belanger  <jay.p.belanger@gmail.com>
10039         * calculator.el (calculator-expt): Use more cases to determine
10040         the value.
10042 2007-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
10044         * progmodes/gud.el (auto-mode-alist): Match more valid gdb init
10045         file names.
10047 2007-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
10049         * calculator.el (calculator-expt, calculator-integer-p):
10050         New functions.
10051         (calculator-fact): Check to see if the factorial will be too
10052         large before computing it.
10053         (calculator-initial-operators): Use `calculator-expt' to
10054         compute "^".
10055         (calculator-mode): Mention that results which are too large
10056         will return inf.
10057         * calc/calc-comb.el (math-small-factorial-table): Replace list
10058         by vector.
10060 2007-07-03  David Kastrup  <dak@gnu.org>
10062         * shell.el: On request of the authors, remove their addresses for
10063         the sake of bug reports, and add the developer list address as
10064         maintainer information.
10066 2007-07-03  Richard Stallman  <rms@gnu.org>
10068         * files.el (make-directory): Doc fix.
10069         (find-file-confirm-inexistent-file): Make it a defcustom.
10070         Make nil the default.
10072 2007-07-02  Richard Stallman  <rms@gnu.org>
10074         * startup.el (command-line): Set buffer-offer-save in *scratch*
10075         and enable auto-save in it.
10077 2007-07-02  Carsten Dominik  <dominik@science.uva.nl>
10079         * textmodes/org.el (orgstruct-mode-map): New variable.
10080         (orgstruct-mode): New minor mode.
10081         (turn-on-orgstruct, orgstruct-error, orgstruct-setup)
10082         (orgstruct-make-binding, org-context-p, org-get-local-variables)
10083         (org-run-like-in-org-mode): New functions.
10084         (org-cycle-list-bullet): New command.
10085         (org-special-properties, org-property-start-re)
10086         (org-property-end-re): New constants.
10087         (org-with-point-at): New macro.
10088         (org-get-property-block, org-entry-properties, org-entry-get)
10089         (org-entry-delete, org-entry-get-with-inheritance)
10090         (org-entry-put, org-buffer-property-keys): New functions.
10091         (org-insert-property-drawer): New command.
10092         (org-entry-property-inherited-from): New variable.
10093         (org-column): New face.
10094         (org-column-overlays, org-current-columns-fmt)
10095         (org-current-columns-maxwidths, org-column-map): New variables.
10096         (org-column-menu): New menu.
10097         (org-new-column-overlay, org-overlay-columns)
10098         (org-overlay-columns-title, org-remove-column-overlays)
10099         (org-column-show-value, org-column-quit, org-column-edit):
10100         New functions.
10101         (org-columns, org-agenda-columns): New commands.
10102         (org-get-columns-autowidth-alist): New functions.
10103         (org-properties): New customize group.
10104         (org-default-columns-format): New option.
10105         (org-priority): Realign tags after changing priority.
10106         (org-preserve-lc): New macro.
10107         (org-update-checkbox-count): Catch case when there is no headline.
10108         (org-agenda-quit): Remove any column overlays.
10109         (org-beginning-of-item-list): Fixed bug when non-item line is
10110         indented too deep.
10111         (org-cached-props): New variable.
10112         (org-cached-entry-get): New function.
10113         (org-make-tags-matcher): Handle property matches.
10114         (org-table-recalculate): Swap evaluation order: Field formula
10115         first, then column formulas, but don't allow them to overwrite the
10116         field formulas.
10117         (org-table-eval-formula): New argument untouchable.
10118         (org-table-put-field-property): New function.
10120 2007-07-02  Martin Rudalics  <rudalics@gmx.at>
10122         * help-mode.el (help-make-xrefs): Skip spaces too when
10123         skipping tabs.
10125         * ffap.el (dired-at-point-prompter): Improve prompt in
10126         list-directory case.
10128 2007-07-01  Richard Stallman  <rms@gnu.org>
10130         * files.el (find-file-visit-truename): Fix safe-local-variable value.
10132 2007-07-01  Richard Stallman  <rms@gnu.org>
10134         * cus-start.el (max-mini-window-height): Added.
10136 2007-07-01  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)
10138         * complete.el (partial-completion-mode): Remove advice of
10139         read-file-name-internal.
10140         (PC-do-completion): Rebind minibuffer-completion-table.
10141         (PC-read-file-name-internal): New function doing what
10142         read-file-name-internal advice did.
10144 2007-07-01  Paul Pogonyshev  <pogonyshev@gmx.net>
10146         * emacs-lisp/byte-opt.el: Set `binding-is-magic'
10147         property on a few symbols.
10148         (byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
10149         (byte-optimize-lapcode): Remove bindings that are not referenced
10150         and certainly will not effect through dynamic scoping.
10152 2007-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10154         * files.el (find-file-confirm-inexistent-file): New var.
10155         (find-file, find-file-other-window, find-file-other-frame)
10156         (find-file-read-only, find-file-read-only-other-window)
10157         (find-file-read-only-other-frame): Use it.
10159 2007-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10161         * emacs-lisp/rx.el (rx-constituents): Fix up `anything'.
10163 2007-06-29  Juanma Barranquero  <lekktu@gmail.com>
10165         * generic-x.el (generic-define-mswindows-modes)
10166         (generic-define-unix-modes, apache-log-generic-mode)
10167         (bat-generic-mode-keymap, java-manifest-generic-mode)
10168         (show-tabs-generic-mode): Fix typos in docstrings.
10170 2007-06-29  Ryan Yeske  <rcyeske@gmail.com>
10172         * net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections.
10173         (rcirc-default-full-name): Rename from rcirc-default-user-full-name.
10174         (rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified.
10175         (rcirc-print): Never ignore messages from ourself.
10177 2007-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10179         * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\)
10180         syntax as well.  Reported by Juri Linkov <juri@jurta.org>.
10182 2007-06-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
10184         * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to
10185         replace-regexp-in-string.
10187 2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10189         * emacs-lisp/cl.el: Set edebug and indentation before loading
10190         cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
10192 2007-06-28  Andreas Schwab  <schwab@suse.de>
10194         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on
10195         $(lisp)/subdirs.el.
10197 2007-06-28  Juanma Barranquero  <lekktu@gmail.com>
10199         * speedbar.el (speedbar-handle-delete-frame): Don't try to delete
10200         the speedbar frame if nil; that deletes the current frame or
10201         causes an error if it is the only frame.
10202         Reported by Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>.
10204 2007-06-28  Kevin Ryde  <user42@zip.com.au>
10206         * textmodes/nroff-mode.el: Groff \# comments.
10207         (nroff-mode-syntax-table): \# comment intro,
10208         plain # as punct per global table.
10209         (nroff-font-lock-keywords): Add # as a single char escape.
10210         (nroff-mode): In comment-start-skip, match \#.
10212 2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10214         * vc-bzr.el (vc-functions): Clear up the cache when reloading the file.
10215         (vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode
10216         point-min == 1.
10218 2007-06-28  Nick Roberts  <nickrob@snap.net.nz>
10220         * pcvs-util.el (cvs-strings->string, cvs-string->strings):
10221         Rename and move to...
10223         * subr.el (strings->string, string->strings): ...here.
10225         * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout)
10226         (cvs-mode-checkout, cvs-execute-single-file): Use new function names.
10228         * progmodes/gud.el (gud-common-init): Call string->strings instead
10229         of split-string.
10231 2007-06-27  Michael Albinus  <michael.albinus@gmx.de>
10233         * dired-aux.el: Remove `dired-call-process'.
10234         (dired-check-process): Call `process-file'.
10236         * wdired.el (wdired-do-perm-changes): Call `process-file'.
10238         * net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
10239         `ange-ftp-process-file'.
10241 2007-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10243         * emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads.
10245         * emacs-lisp/cl-extra.el:
10246         * emacs-lisp/cl-seq.el:
10247         * emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el.
10248         Add autoload cookies on all defs autoloaded manually in cl.el.
10250         * emacs-lisp/cl-loaddefs.el: New file.
10252         * textmodes/texinfmt.el (texinfo-raisesections-alist)
10253         (texinfo-lowersections-alist): Merge definition and declaration.
10254         (texinfo-start-of-header, texinfo-end-of-header): Remove.
10255         (texinfo-format-syntax-table): Merge init into declaration.
10256         (texinfo-format-parse-line-args, texinfo-format-parse-args)
10257         (texinfo-format-parse-defun-args, texinfo-format-node)
10258         (texinfo-push-stack, texinfo-multitable-widths)
10259         (texinfo-define-info-enclosure, texinfo-alias)
10260         (texinfo-format-defindex, batch-texinfo-format): Use push.
10261         (texinfo-footnote-number): Remove duplicate declaration.
10263         * ps-print.el: Update with auto-generated autoloads.
10265         * ps-mule.el: Set generated-autoload-file to "ps-print.el".
10267 2007-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10269         * emacs-lisp/autoload.el (autoload-generated-file): Interpret names
10270         relative to current dir for file-local settings.
10271         (autoload-generate-file-autoloads): Add `outfile' arg.
10272         (update-directory-autoloads): Use it to directly call
10273         autoload-generate-file-autoloads instead of going through
10274         update-file-autoloads so we avoid redundant searches and so we can know
10275         the set of buffers changed so we can save them all.
10277         * emacs-lisp/autoload.el (autoload-find-destination): Return nil
10278         rather than throwing `up-to-date'.
10279         (autoload-generate-file-autoloads): Adjust correspondingly.
10280         (update-file-autoloads): Be careful to let-bind
10281         autoload-modified-buffers and adjust to new calling conventions.
10282         (autoload-modified-buffers): Make it a dynamically scoped var.
10283         (update-directory-autoloads): Use file-relative-name instead of
10284         autoload-trim-file-name.
10285         (autoload-insert-section-header): Don't use autoload-trim-file-name
10286         since the file is already relative now.
10287         (autoload-trim-file-name): Remove.
10289         * vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job.
10290         (vc-arch-complete, vc-arch--version-completion-table)
10291         (vc-arch-revision-completion-table): New functions to provide
10292         completion of revision names.
10293         (vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel)
10294         (vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions
10295         to let the user trim the revlib.
10297         * vc.el: Add new VC operation `revision-completion-table'.
10298         (vc-default-revision-completion-table): New function.
10299         (vc-version-diff, vc-version-other-window): Use it to provide
10300         completion of revision names if the backend provides it.
10302         * log-edit.el (log-edit-changelog-entries): Use with-current-buffer.
10304         * vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
10305         of newer .svn/entries.
10307 2007-06-25  David Kastrup  <dak@gnu.org>
10309         * calc/calc-poly.el (math-padded-polynomial)
10310         (math-partial-fractions): Add some function comments.
10312 2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10314         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10315         Make `outbuf' optional.
10316         (update-file-autoloads): Use it.
10318 2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10320         * emacs-lisp/autoload.el (autoload-modified-buffers): New var.
10321         (autoload-find-destination): Keep it uptodate.
10322         (autoload-save-buffers): New fun.
10323         (update-file-autoloads): Use it.  Re-add the "up to date" message.
10325         * emacs-lisp/autoload.el: Refactor for upcoming changes.
10326         (autoload-find-destination): New function extracted from
10327         update-file-autoloads.
10328         (update-file-autoloads): Use it.
10329         (autoload-generate-file-autoloads): New function extracted from
10330         generate-file-autoloads.  Use file-relative-name.  Delay computation of
10331         output-start to the first cookie.  Remove done-any, replaced by
10332         output-start.
10333         (generate-file-autoloads): Use it.
10335 2007-06-24  Jay Belanger  <jay.p.belanger@gmail.com>
10337         * calc/calc-comb.el (math-init-random-base, math-prime-test):
10338         Use math-read-number-simple to insert constants.
10339         (math-prime-test): Redo calculation of sum.
10341         * calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size.
10343         * calc/calc-math.el (math-scale-bignum-digit-size): Rename from
10344         math-scale-bignum-3.
10345         (math-isqrt-bignum): Use math-scale-bignum-digit-size and
10346         math-bignum-digit-size.
10347         (math-isqrt-small): Add another possible initial guess.
10349 2007-06-23  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10351         * textmodes/bibtex.el (bibtex-entry-format): New options
10352         `whitespace', `braces', and `string'.
10353         (bibtex-field-braces-alist, bibtex-field-strings-alist)
10354         (bibtex-field-braces-opt, bibtex-field-strings-opt)
10355         (bibtex-cite-matcher-alist): New variables.
10356         (bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist.
10357         (bibtex-flash-head): Use blink-matching-delay.
10358         (bibtex-insert-kill, bibtex-mark-entry): Use push-mark.
10359         (bibtex-format-entry, bibtex-reformat): Handle new options of
10360         bibtex-entry-format.
10361         (bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
10362         New functions.
10363         (bibtex-complete-internal): Do not display messages while
10364         minibuffer is used.  Do not leave around a completions buffer
10365         that is out of date.
10366         (bibtex-copy-summary-as-kill): New optional arg.
10367         (bibtex-font-lock-url): New optional arg no-button.
10368         (bibtex-find-crossref): Use `bibtex-cite-matcher-alist'.
10369         (bibtex-url): Allow multiple URLs per entry.
10371 2007-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10373         * emacs-lisp/autoload.el (autoload-generated-file): New function.
10374         (update-file-autoloads, update-directory-autoloads): Use it.
10375         (autoload-file-load-name): New function.
10376         (generate-file-autoloads, update-file-autoloads): Use it.
10377         (autoload-find-file): Accept non-absolute argument.  Set default-dir.
10378         (generate-file-autoloads): If the autoloaded form is malformed,
10379         indicate the problem with a warning instead of aborting.
10381 2007-06-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
10383         * simple.el (next-error-recenter): Accept `(4)' as well;
10384         also, specify `integer' instead of `number'.
10386 2007-06-23  Eli Zaretskii  <eliz@gnu.org>
10388         * ls-lisp.el (insert-directory): If an invalid regexp error is
10389         thrown, try using FILE as a literal file name, not a wildcard.
10391 2007-06-23  Juanma Barranquero  <lekktu@gmail.com>
10393         * ruler-mode.el (ruler-mode): Prevent clobbering the original
10394         `header-line-format' when reentering ruler mode.
10396 2007-06-23  Eli Zaretskii  <eliz@gnu.org>
10398         * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if
10399         FILE exists as a file.
10401 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
10403         * calc/calc.el (math-bignum-digit-length)
10404         (math-bignum-digit-size, math-small-integer-size):
10405         New constants.
10406         (math-normalize, math-bignum-big, math-make-float)
10407         (math-div10-bignum, math-scale-left, math-scale-left-bignum)
10408         (math-scale-right, math-scale-right-bignum, math-scale-rounding)
10409         (math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
10410         (math-mul-bignum, math-mul-bignum-digit, math-idivmod)
10411         (math-quotient, math-div-bignum, math-div-bignum-digit)
10412         (math-div-bignum-part, math-format-bignum-decimal)
10413         (math-read-bignum): Use math-bignum-digit-length,
10414         math-bignum-digit-size and math-small-integer-size.
10416         * calc/calc-ext.el (math-fixnum-big): Use the variable
10417         math-bignum-digit-size.
10419 2007-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
10421         * log-view.el (log-view-mode-menu): New menu.
10423 2007-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10425         * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change
10426         differently.
10428         * vc-hg.el (vc-hg-registered): Add an autoloaded version.
10429         (vc-hg-log-view-mode): Use log-view-font-lock-keywords.
10431 2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
10433         * vc-hg.el (vc-hg-print-log): Insert the file name.
10434         (vc-hg-log-view-mode): Fontify the file name.
10436 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
10438         * calc/calc-forms.el (math-format-date-part, calc-parse-standard-date)
10439         (calcFunc-julian): Fix incorrect number used in calculations.
10441 2007-06-22  Thien-Thi Nguyen  <ttn@gnuvola.org>
10443         * simple.el (next-error-recenter): New defcustom.
10444         (next-error, next-error-internal): Recenter if specified,
10445         immediately prior to running `next-error-hook'.
10447         * progmodes/hideshow.el (hs-show-block): Use line-end-position.
10448         (hs-hide-block-at-point, hs-hide-comment-region): Likewise.
10450         * progmodes/hideshow.el (hs-hide-all): Use progress reporter.
10452 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
10454         * calc/calc-comb.el (math-small-factorial-table): New variable.
10455         (calcFunc-fact): Use `math-small-factorial-table'.
10457         * calc/calc-ext.el (math-defcache): Allow forms to evaluate
10458         initial values.
10459         (math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
10460         New variables to use in caches.
10462         * calc/calc-forms.el (math-format-date-part, math-parse-standard-date)
10463         (calcFunc-julian): Use `math-read-number-simple' to insert bignums.
10465         * calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
10466         (math-bernoulli-b-cache): Use math-read-number-simple to insert
10467         bignums.
10469         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
10470         New variables to use in caches.
10472 2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
10474         * vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp.
10476         * vc-hg.el (vc-hg-log-view-mode): New mode.
10478 2007-06-21  Jay Belanger  <jay.p.belanger@gmail.com>
10480         * calc/calc.el (math-read-number-simple): New function.
10482 2007-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10484         * progmodes/vera-mode.el (vera-mode): Fix `commend-end-skip' setting.
10485         (vera-font-lock-match-item): Fix doc string.
10486         (vera-in-comment-p): Remove unused function.
10487         (vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
10488         use `syntax-ppss'.
10489         (vera-forward-syntactic-ws): Fix argument order.
10490         (vera-prepare-search): Use `with-syntax-table'.
10491         (vera-indent-line): Fix doc string.
10492         (vera-electric-tab): Fix doc string.
10493         (vera-expand-abbrev): Define alias instead of using `fset'.
10494         (vera-comment-uncomment-region): Use `comment-start-skip'.
10496 2007-06-21  Carsten Dominik  <dominik@science.uva.nl>
10498         * textmodes/org.el (org-export-with-footnotes): New option.
10499         (org-export-as-html): Fix replacement bug for XEmacs.
10500         (org-agenda-default-appointment-duration): New option.
10502 2007-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
10504         * vc-hg.el: Add to do items.
10505         (vc-hg-diff): Add support for comparing different revisions.
10506         (vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
10507         (vc-hg-annotate-extract-revision-at-line)
10508         (vc-hg-previous-version, vc-hg-checkin): New functions.
10509         (vc-hg-annotate-re): New constant.
10511 2007-06-20  Jay Belanger  <jay.p.belanger@gmail.com>
10513         * calc/calc.el (math-standard-ops): Fix precedence of multiplication.
10515 2007-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10517         * log-view.el (log-view-font-lock-keywords): Use `eval' to consult the
10518         buffer-local value of log-view-*-re if applicable.
10520         * vc-bzr.el (vc-bzr-dir-state): Use setq rather than set.
10521         Use vc-bzr-command rather than the ill defined vc-bzr-command*.
10522         (vc-bzr-command*): Remove both (incompatible) versions.
10523         (vc-bzr-do-command*): Remove.
10524         (vc-bzr-with-process-environment, vc-bzr-std-process-invocation):
10525         Remove by folding into its only caller vc-bzr-command.
10526         (vc-bzr-command): Always set the environment, even when ineffective.
10527         (vc-bzr-version): Minor fix up.
10528         (vc-bzr-admin-dirname): New var.
10529         (vc-bzr-bzr-dir): Remove.
10530         (vc-bzr-root-dir): New fun.
10531         (vc-bzr-registered): Use it.  Add an autoloaded version.
10532         (vc-bzr-responsible-p): Use vc-bzr-root-dir as well.
10533         (vc-bzr-view-log-function): Remove.
10534         (vc-bzr-log-view-mode): New major mode to replace it.
10535         (vc-bzr-print-log): Only activate the old hack if needed.
10537         * vc.el (vc-default-log-view-mode): New function.
10538         (vc-print-log): Add new `log-view-mode' VC operation.
10540 2007-06-20  Juanma Barranquero  <lekktu@gmail.com>
10542         * ido.el (ido-find-file-in-dir): Don't signal an error for
10543         empty directories.
10545         * add-log.el (change-log-mode): Set `show-trailing-whitespace'.
10547         * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
10548         directory where the desktop file was found, as the docstring says.
10549         (desktop-kill): Use `read-directory-name'.
10551 2007-06-20  Alan Mackenzie  <acm@muc.de>
10553         * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
10554         When removing lines, also remove the \n.  Correction of patch of
10555         2007-04-21.
10557 2007-06-20  Martin Rudalics  <rudalics@gmx.at>
10559         * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when
10560         event is not a cons cell.  Do not unread drag-mouse-1 events.
10561         Select right window in check whether space was stolen from
10562         window above.
10564         * help-mode.el (help-make-xrefs): Adjust position of new forward
10565         button.
10567 2007-06-20  Riccardo Murri  <riccardo.murri@gmail.com>
10569         * vc-bzr.el (vc-bzr-with-process-environment)
10570         (vc-bzr-std-process-invocation): New macros.
10571         (vc-bzr-command, vc-bzr-command*): Use them.
10572         (vc-bzr-with-c-locale): Remove.
10573         (vc-bzr-dir-state): Replace its use with vc-bzr-command.
10574         (vc-bzr-buffer-nonblank-p): New function.
10575         (vc-bzr-state-words): New const.
10576         (vc-bzr-state): Look for `bzr status' keywords in output.
10577         Display everything else as a warning message to the user.
10578         Fix status report with bzr >= 0.15.
10580 2007-06-20  Dan Nicolaescu  <dann@ics.uci.edu>
10582         * vc-hg.el (vc-hg-global-switches): Simplify.
10583         (vc-hg-state): Handle more states.
10584         (vc-hg-diff): Fix doc-string.
10585         (vc-hg-register): New function.
10586         (vc-hg-checkout): Likewise.
10588 2007-06-20  Reto Zimmermann  <reto@gnu.org>
10590         * progmodes/vera-mode.el: New file.
10592 2007-06-19  Jay Belanger  <jay.p.belanger@gmail.com>
10594         * calc/calc.el (calc-multiplication-has-precendence):
10595         New variable.
10596         (math-standard-ops, math-standard-ops-p, math-expr-ops):
10597         New functions.
10598         (math-expr-opers): Define using math-standard-ops rather than
10599         math-standard-opers.
10600         * calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers
10601         equal the function math-standard-ops rather than the variable
10602         math-standard-opers.
10603         (calc-algebraic-entry): Let math-expr-opers equal
10604         math-standard-ops or math-expr-ops, as appropriate.
10605         (math-expr-read-level, math-read-factor): Let math-expr-opers
10606         equal math-expr-ops.
10607         * calc/calc-embed.el (calc-embedded-finish-edit):
10608         Let math-expr-opers equal the function math-standard-ops
10609         rather than the variable math-standard-opers.
10610         * calc/calc-ext.el (math-read-plain-expr)
10611         (math-format-flat-expr-fancy): Let math-expr-opers equal the
10612         function math-standard-ops rather than the variable
10613         math-standard-opers.
10614         * calc/calc-lang.el (calc-set-language, math-read-big-rec):
10615         Let math-expr-opers equal the function math-standard-ops rather
10616         than the variable math-standard-opers.
10617         * calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers
10618         equal the function math-standard-ops rather than the variable
10619         math-standard-opers.
10620         * calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers
10621         equal the function math-standard-ops rather than the variable
10622         math-standard-opers.
10623         * calc/calccomp.el (math-compose-expr): Let math-expr-opers equal
10624         math-expr-ops.
10626 2007-06-19  Ivan Kanis  <apple@kanis.eu>
10628         * vc-hg.el: New file.
10630 2007-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10632         * progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text
10633         with font-lock-multiline.
10635 2007-06-17  Glenn Morris  <rgm@gnu.org>
10637         * lpr.el (lpr-page-header-switches): Move %s to separate element
10638         for correct quoting.  Doc fix.
10640 2007-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10642         * textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather
10643         than setting sgml-xml-mode.
10644         (sgml-mode, html-mode): Set sgml-xml-mode.
10645         (sgml-skip-tag-backward): Tell if we skipped over matched tags.
10646         (sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
10647         (sgml-electric-tag-pair-before-change-function)
10648         (sgml-electric-tag-pair-flush-overlays): New functions.
10649         (sgml-electric-tag-pair-mode): New minor mode.
10650         (sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
10651         (sgml-calculate-indent): Use assoc-string.
10653 2007-06-16  Karl Fogel  <kfogel@red-bean.com>
10655         * thingatpt.el (thing-at-point-email-regexp): Don't require two
10656         chars before the "@" in an email address.  Andreas Roehler noticed
10657         this problem.
10659 2007-06-15  Karl Fogel  <kfogel@red-bean.com>
10661         * thingatpt.el: Add support for email addresses (`email').
10662         (thing-at-point, bounds-of-thing-at-point): Document `email' support.
10663         (thing-at-point-email-regexp): New variable.
10664         (`email'): Put `bounds-of-thing-at-point' and `thing-at-point'
10665         properties on this symbol, with lambda forms for values.
10667 2007-06-15  Masatake YAMATO  <jet@gyve.org>
10669         * vc-bzr.el (vc-bzr-root): Cache the output of shell command execution.
10671         * vc.el (vc-dired-hook): Check the backend returned from
10672         `vc-responsible-backend' can really handle `subdir'.
10674 2007-06-15  Chong Yidong  <cyd@stupidchicken.com>
10676         * wid-edit.el (widget-add-documentation-string-button):
10677         Fix handling of documentation indent.
10679 2007-06-15  Miles Bader  <miles@fencepost.gnu.org>
10681         * mb-depth.el: New file.
10683 2007-06-15  Masatake YAMATO  <jet@gyve.org>
10685         * vc.el (vc-dired-mode): Show backend name as part of mode name.
10687 2007-06-14  Chong Yidong  <cyd@stupidchicken.com>
10689         * wid-edit.el (widget-default-create): Move ?h handling here...
10690         (widget-default-format-handler): ...from here.
10691         (widget-docstring, widget-add-documentation-string-button): New funs.
10692         (documentation-string): Add :visibility-widget property.
10693         (widget-documentation-string-value-create): Use it.
10695         * cus-edit.el (custom-split-regexp-maybe): Simplify.
10696         (custom-buffer-create-internal): Simplify message.
10697         (custom-variable-tag): Reduce height to normal.
10698         (custom-variable-value-create, custom-face-value-create)
10699         (custom-visibility): New widget.
10700         (custom-visibility): New face.
10701         (custom-group-value-create):
10702         Call widget-add-documentation-string-button, using `custom-visibility'.
10704 2007-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10706         * emacs-lisp/bytecomp.el (byte-compile-current-group)
10707         (byte-compile-nogroup-warn, byte-compile-file): Revert part of last
10708         change.  Apparently the "warning even if the group is implicit" is
10709         a feature rather than a bug.
10711 2007-06-14  Michael Kifer  <kifer@cs.stonybrook.edu>
10713         * emulation/viper.el (viper-describe-key-ad)
10714         (viper-describe-key-briefly-ad): Different advices for Emacs and XEmacs.
10715         Compile them conditionally.
10716         (viper-version): Belated version change.
10718 2007-06-14  Juanma Barranquero  <lekktu@gmail.com>
10720         * follow.el (follow-all-followers, follow-generic-filter):
10721         * pcomplete.el (pcomplete-restore-windows):
10722         * x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state)
10723         (x-dnd-drop-data):
10724         * emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display):
10725         * progmodes/python.el (python-complete-symbol):
10726         * term/mac-win.el (mac-dnd-drop-data): Remove redundant check.
10728 2007-06-13  Ryan Yeske  <rcyeske@gmail.com>
10730         * net/rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax
10731         around bright and dim regexps.  Make sure bright and dim matches
10732         use word anchors.  Send text through rcirc-markup functions.
10733         (rcirc-url-regexp): Add single quote character.
10734         (rcirc-connect): Write logs to disk on auto-save-hook.
10735         Make server a non-optional argument.
10736         (rcirc-log-alist): New variable.
10737         (rcirc-log-directory): Make customizable.
10738         (rcirc-log-flag): New customizable variable.
10739         (rcirc-log): New function.
10740         (rcirc-print): Use above function.
10741         (rcirc-log-write): New function.
10742         (rcirc-generate-new-buffer-name): Strip text properties.
10743         (rcirc-switch-to-buffer-function): Remove variable.
10744         (rcirc-last-non-irc-buffer): Remove variable.
10745         (rcirc-non-irc-buffer): Add function.
10746         (rcirc-next-active-buffer): Use above function.
10747         (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING.
10748         (rcirc-handler-ctcp-KEEPALIVE): Add handler.
10749         (rcirc-handler-CTCP): Don't print KEEPALIVE responses.
10750         (rcirc-omit-mode): Add minor-mode.
10751         (rcirc-mode-map): Change C-c C-o binding.
10752         (rcirc-mode): Clear mode-line-process.  Use a custom
10753         fill-paragraph-function.  Set up buffer-invisibility-spec.
10754         (rcirc-response-formats): Remove timestamp code.
10755         (rcirc-omit-responses): Add variable.
10756         (rcirc-print): Don't put the overlay arrow on potentially omitted
10757         lines.  Log line to disk.  Record activity for private messages
10758         from /dim nicks.  Facify the fill-prefix with rcirc-timestamp face.
10759         (rcirc-jump-to-first-unread-line): Print message if there is no
10760         unread text.
10761         (rcirc-clear-unread): New function.
10762         (rcirc-markup-text-functions): Add variable.
10763         (rcirc-markup-timestamp, rcirc-markup-fill): Add functions.
10764         (rcirc-debug): Don't mess with window configuration.
10765         (rcirc-send-message): Send message before printing locally.
10766         Add SILENT argument, do not print message if non-nil.
10767         (rcirc-visible-buffers): New function and variable.
10768         (rcirc-window-configuration-change-1): Add function.
10769         (rcirc-target-buffer): Make sure ACTIONs don't get sent to the
10770         server buffer.
10771         (rcirc-clean-up-buffer): Set rcirc-target to nil when finished.
10772         (rcirc-fill-paragraph): Add function.
10773         (rcirc-record-activity, rcirc-window-configuration-change-1):
10774         Only update the activity string if it has actually changed.
10775         (rcirc-update-activity-string): Remove padding characters from the
10776         mode-line string.
10777         (rcirc-disconnect-buffer): New function to be called when a
10778         channel is parted or the user quits.
10779         (rcirc-server-name): Warn when the server-name hasn't been set.
10780         (rcirc-window-configuration-change): Postpone work until
10781         post-command-hook.
10782         (rcirc-window-configuration-change-1): Update mode-line and
10783         overlay arrows here.
10784         (rcirc-authenticate): Fixc hanserv identification.
10785         (rcirc-default-server): Remove variable.
10786         (rcirc): Connect according to rcirc-connections.
10787         (rcirc-connections): Add variable.
10788         (rcirc-startup-channels-alist): Remove variable.
10789         (rcirc-startup-channels): Remove function.
10791 2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10793         * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change.
10795 2007-06-13  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>  (tiny change)
10797         * term/xterm.el (terminal-init-xterm): Escape parens in character
10798         constants.
10800 2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10802         * progmodes/sh-script.el: Remove unneeded * from docstrings.
10803         Use [:alpha:] and [:alnum:] where applicable.
10804         (sh-quoted-subshell): Rewrite to correctly
10805         handle nested mixes of `...' and $(...).
10806         (sh-apply-quoted-subshell): Remove.
10807         (sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell.
10809         * vc-arch.el (vc-arch-command): Remove bzr.  It's a different program.
10811 2007-06-13  Michael Kifer  <kifer@cs.stonybrook.edu>
10813         * ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo
10814         previous change.
10816 2007-06-12  Tom Tromey  <tromey@redhat.com>
10818         * subr.el (user-emacs-directory): New defconst.
10819         * cmuscheme.el (scheme-start-file):
10820         * shell.el (shell):
10821         * completion.el (save-completions-file-name):
10822         * custom.el (custom-theme-directory):
10823         * term/x-win.el (emacs-session-filename):
10824         * filesets.el (filesets-menu-cache-file):
10825         * thumbs.el (thumbs-thumbsdir):
10826         * server.el (server-auth-dir):
10827         * image-dired.el (image-dired-dir):
10828         (image-dired-db-file):
10829         (image-dired-temp-image-file):
10830         (image-dired-gallery-dir):
10831         (image-dired-temp-rotate-image-file):
10832         * play/gamegrid.el (gamegrid-user-score-file-directory):
10833         * savehist.el (savehist-file):
10834         * tutorial.el (tutorial--saved-dir):
10835         * startup.el (auto-save-list-file-prefix): Use user-emacs-directory.
10837 2007-06-12  Ralf Angeli  <angeli@caeruleus.net>
10839         * scroll-lock.el (scroll-lock-mode): Doc fix.
10841 2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
10843         * ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis.
10845         * ediff-init.el: Doc strings.
10847 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10849         * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
10850         (byte-compile-file): Bind it.
10851         (byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
10852         group argument is provided implicitly.
10853         (byte-compile-format-warn, byte-compile-from-buffer)
10854         (byte-compile-insert-header): Don't hardcode point-min==1.
10855         (byte-compile-file-form-require): Remove unused var old-load-list.
10856         (byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.
10858 2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
10860         * emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value):
10861         Display error messages.
10862         (viper-prev-destructive-command, viper-insert-prev-from-insertion-ring):
10863         Get rid of cl.el dependencies.
10865         * emulation/viper-init.el (viper-suppress-input-method-change-message):
10866         New variable.
10867         (viper-activate-input-method-action)
10868         (viper-inactivate-input-method-action):
10869         Use viper-suppress-input-method-change-message.
10871         * emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings
10872         for C-s, C-r.
10874         * emulation/viper-util.el (viper-set-cursor-color-according-to-state):
10875         Use viper-replace-overlay-cursor-color instead of
10876         viper-replace-overlay-cursor-color.
10877         (viper-sit-for-short): Use sit-for with 3 arguments.
10879         * emulation/viper.el (viper-insert-state-mode-list): Add gud-mode.
10880         (viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map
10881         to gud-mode.
10883         * ediff-mult.el (ediff-meta-buffer-brief-message)
10884         (ediff-meta-buffer-verbose-message): New variables.
10885         (ediff-meta-buffer-message): Variable deleted.
10886         (ediff-verbose-help-enabled): New variable.
10887         (ediff-toggle-verbose-help-meta-buffer): New function.
10888         (ediff-redraw-directory-group-buffer): Made aware of short/verbose
10889         message options.
10891         * ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp.
10892         (ediff-fixup-patch-map): Improve heuristic.
10894 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10896         * log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\).
10897         (log-view-font-lock-keywords): Simplify.
10898         (log-view-current-file, log-view-current-tag): Simplify.
10900 2007-06-12  Sam Steingold  <sds@gnu.org>
10902         * vc-arch.el (vc-arch-command): Also try "baz" and "bzr".
10904 2007-06-12  Juanma Barranquero  <lekktu@gmail.com>
10906         * desktop.el (desktop-load-locked-desktop): New option.
10907         (desktop-read): Use it.
10908         (desktop-truncate, desktop-outvar, desktop-restore-file-buffer):
10909         Use `when'.
10911 2007-06-12  Davis Herring  <herring@lanl.gov>
10913         * desktop.el (desktop-save-mode-off): New function.
10914         (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
10915         (desktop-full-lock-name, desktop-file-modtime, desktop-owner)
10916         (desktop-claim-lock, desktop-release-lock): New functions.
10917         (desktop-kill): Tell `desktop-save' that this is the last save.
10918         Release the lock afterwards.
10919         (desktop-buffer-info): New function.
10920         (desktop-save): Use it.  Run `desktop-save-hook' where the doc
10921         says to.  Detect conflicts, and manage the lock.
10922         (desktop-read): Detect conflicts.  Manage the lock.
10924 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10926         * emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names.
10928         * emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map.
10929         (tpu-lucid-emacs-p): Remove.  Use (featurep 'xemacs) instead.
10930         (CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars.
10931         (tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using
10932         keysyms rather than byte sequences.
10933         (tpu-copy-keyfile): Don't force the user to use tpu-mapper.el.
10935 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10937         * font-lock.el (font-lock-add-keywords): In case font-lock was only
10938         half-activated, forcefully activate it completely.
10940 2007-06-11  Richard Stallman  <rms@gnu.org>
10942         * cus-edit.el (custom-variable-type): Doc fix.
10944 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10946         * progmodes/sh-script.el (sh-font-lock-backslash-quote)
10947         (sh-font-lock-flush-syntax-ppss-cache): New functions.
10948         (sh-font-lock-syntactic-keywords): Use them to distinguish the
10949         different possible cases for \'.
10951         * complete.el (PC-bindings): Don't bind things already bound in the
10952         parent keymap.
10954         * textmodes/bibtex-style.el: New file.
10956 2007-06-11  Riccardo Murri  <riccardo.murri@gmail.com>
10958         * vc-bzr.el: New file.
10960 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10962         * vc-svn.el (vc-svn-program): New var.
10963         (vc-svn-command): Use it.
10965 2007-06-11  Juanma Barranquero  <lekktu@gmail.com>
10967         * server.el (server-switch-buffer): Remove redundant check.
10969 2007-06-10  Martin Rudalics  <rudalics@gmx.at>
10971         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
10972         Match against file-name-nondirectory.
10973         Fix text on user customization variables.
10974         Reported by Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se>.
10976 2007-06-09  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
10978         * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
10980 2007-06-09  Davis Herring  <herring@lanl.gov>
10982         * desktop.el (desktop-minor-mode-table): Doc fix.
10984 2007-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10986         * textmodes/css-mode.el (css-navigation-syntax-table):
10987         Use set-char-table-range so it also works in the unicode branch.
10989 2007-06-08  Nick Roberts  <nickrob@snap.net.nz>
10991         * help-mode.el (help-xref-forward-stack)
10992         (help-xref-stack-forward-item, help-forward-label): New variables.
10993         (help-forward): New button type.
10994         (help-setup-xref): Initialise help-xref-forward-stack.
10995         (help-make-xrefs): Add forward button, if appropriate.
10996         (help-xref-go-back): Push item on forward stack.
10997         (help-xref-go-forward, help-go-forward): New functions.
10999 2007-06-07  Chong Yidong  <cyd@stupidchicken.com>
11001         * dired.el (dired-mode-map): Remove spurious separator.
11003 2007-06-07  Juanma Barranquero  <lekktu@gmail.com>
11005         * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix.
11007         * progmodes/mixal-mode.el (mixal-operation-codes-alist):
11008         * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring.
11010 2007-06-07  Carsten Dominik  <dominik@science.uva.nl>
11012         * textmodes/org.el: Version number fixed.
11014 2007-06-07  Glenn Morris  <rgm@gnu.org>
11016         * version.el (emacs-copyright): New constant.
11017         * startup.el (fancy-splash-tail): Use emacs-copyright.
11018         * calc/calc-help.el (calc-full-help): Use emacs-copyright.
11020         * emacs-lisp/bytecomp.el (byte-compile-warnings): Add new option
11021         `make-local'.
11022         (byte-compile-warnings-safe-p): Add `make-local'.
11023         (byte-compile-make-variable-buffer-local):
11024         Allow byte-compile-warnings to suppress this warning.
11026         * tutorial.el (tutorial--describe-nonstandard-key): Adjust for new
11027         format of "menu" description.
11028         (tutorial--find-changed-keys): Describe the specific menu a
11029         command is in.
11031         * dframe.el (dframe-frame-parameter, dframe-mouse-event-p):
11032         Rewrite compatibility functions to silence byte-compiler.
11034 2007-06-07  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
11036         * mail/rmailsum.el (rmail-summary-save-buffer): New command.
11037         (rmail-summary-mode-map): Add rmail-summary-save-buffer.
11039 2007-06-07  Eric M. Ludlam  <eric@siege-engine.com>
11041         * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove "iff".
11043 2007-06-07  Juanma Barranquero  <lekktu@gmail.com>
11045         * progmodes/ebrowse.el (ebrowse-member-table):
11046         * textmodes/org.el (org-export-ascii-bullets, org-batch-agenda)
11047         (org-batch-agenda-csv): Fix typos in docstrings.
11049 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
11051         * international/mule-cmds.el (toggle-enable-multibyte-characters)
11052         (sort-coding-systems, search-unencodable-char): Doc fixes.
11053         (coding-system-change-eol-conversion, set-default-coding-systems)
11054         (prefer-coding-system, find-multibyte-characters, princ-list)
11055         (leim-list-entry-regexp, set-input-method, locale-language-names)
11056         (input-method-exit-on-first-char, exit-language-environment-hook)
11057         (locale-charset-language-names): Fix typos in docstrings.
11059 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
11061         * pgg.el (pgg-sign-region, pgg-sign):
11062         * ses.el (ses-call-printer):
11063         * calendar/icalendar.el (icalendar--diarytime-to-isotime):
11064         * textmodes/org.el (org-cycle): Fix typos in docstrings.
11066 2007-06-06  Carsten Dominik  <dominik@science.uva.nl>
11068         * textmodes/org.el (org-export-region-as-html)
11069         (org-replace-region-by-html, org-number-to-letters)
11070         (org-table-fedit-finish, org-normalize-color)
11071         (org-table-fedit-ref-right, org-date-to-gregorian)
11072         (org-table-fedit-move, org-table-convert-refs-to-rc)
11073         (org-calendar-holiday, org-table-fedit-toggle-ref-type)
11074         (org-write-agenda, org-colgroup-info-to-vline-list)
11075         (org-agenda-todo-previousset, org-defkey, org-encode-for-stdout)
11076         (org-indent-line-function, org-export-as-html-to-buffer)
11077         (org-store-agenda-views, org-update-mode-line)
11078         (org-find-if, org-delete-all)
11079         (org-table-fedit-convert-buffer, org-emphasize)
11080         (org-uniquify, org-table-fedit-lisp-indent)
11081         (org-table-fedit-scroll, org-get-todo-sequence-head)
11082         (org-table-fedit-scroll-down, org-table-fedit-line-down)
11083         (org-table-fedit-ref-left, org-agenda-export-csv-mapper)
11084         (org-table-fedit-toggle-coordinates, org-dvipng-color)
11085         (org-table-fedit-line-up, org-table-fedit-ref-down)
11086         (org-table-formula-from-user, org-mode-flyspell-verify)
11087         (org-cycle-show-empty-lines, org-ctrl-c-ret)
11088         (org-table-formula-to-user, org-diary-to-ical-string)
11089         (orgtbl-export, org-table-fedit-post-command)
11090         (org-closed-in-range, org-shiftcontrolright)
11091         (org-table-convert-refs-to-an, org-table-hline-and-move)
11092         (org-table-formula-less-p, org-format-table-ascii)
11093         (org-agenda-get-sexps, org-shift-refpart)
11094         (org-diary-sexp-entry, org-time-string-to-absolute)
11095         (org-table-show-reference, org-letters-to-number)
11096         (org-fix-agenda-info, org-table-fedit-ref-up)
11097         (org-table-fedit-shift-reference, org-table-fedit-abort)
11098         (org-closest-date, org-shiftcontrolleft)
11099         (org-at-heading-or-item-p, org-rematch-and-replace)
11100         (org-agenda-todo-nextset, org-export-grab-title-from-buffer):
11101         New functions.
11102         (org-table-edit-scroll-down, org-finish-edit-formulas)
11103         (org-table-edit-next-field, org-abort-edit-formulas)
11104         (org-font-lock-level, org-export-find-first-heading-line)
11105         (org-table-edit-line-down, org-table-edit-backward-field)
11106         (org-edit-formula-lisp-indent, org-table-edit-move)
11107         (org-check-log-option, org-this-word)
11108         (org-table-edit-line-up, org-table-edit-formulas-post-command)
11109         (org-agenda-file-to-end, org-expand-file-name)
11110         (org-fake-empty-table-line, org-table-edit-scroll)
11111         (org-toggle-log-option, org-show-reference): Function removed.
11112         (org-inhibit-invisibility, org-table-formula-make-cmp-string):
11113         New defsubsts.
11114         (org-unmodified, org-batch-store-agenda-views)
11115         (org-batch-agenda-csv): New macro.
11116         (org-agenda-export): New customization group.
11117         (org-agenda-skip-deadline-if-done, org-agenda-remove-tags)
11118         (org-highest-priority, org-agenda-exporter-settings)
11119         (org-log-done-with-time, org-replace-disputed-keys)
11120         (org-format-latex-header, org-export-table-header-tags)
11121         (org-cycle-separator-lines, org-export-table-data-tags)
11122         (org-icalendar-include-sexps)
11123         (org-empty-line-terminates-plain-lists)
11124         (org-log-repeat, org-special-ctrl-a)
11125         (org-table-use-standard-references, org-disputed-keys)
11126         (org-export-skip-text-before-1st-heading, org-agenda-with-colors)
11127         (org-agenda-export-html-style): New option.
11128         (org-allow-auto-repeat, org-agenda-remove-tags-when-in-prefix)
11129         (org-CUA-compatible): Option removed.
11130         (org-agenda-structure, org-sexp-date): New face.
11131         (org-todo-keywords-for-agenda, org-not-done-keywords)
11132         (org-planning-or-clock-line-re, org-agenda-name)
11133         (org-table-colgroup-info, org-todo-sets)
11134         (constants-unit-system, org-clock-mode-line-entry)
11135         (org-mode-line-timer, org-table-current-begin-pos)
11136         (org-todo-keywords-1, org-mode-line-string)
11137         (org-table-clean-did-remove-column, org-table-fedit-map)
11138         (org-clock-heading, org-table-buffer-is-an)
11139         (org-agenda-info, org-done-keywords)
11140         (org-done-keywords-for-agenda, org-todo-heads)
11141         (org-todo-kwd-alist, org-clock-start-time): New variable.
11142         (org-todo-kwd-priority-p, org-edit-formulas-map)
11143         (org-repeat-re, org-todo-kwd-max-priority)
11144         (org-version, org-done-string)
11145         (org-table-clean-did-remove-column-1, org-disputed-keys):
11146         Remove variables.
11147         (org-table-translate-regexp, org-repeat-re, org-version): New consts.
11148         (org-ts-lengths): Constant removed.
11149         (org-follow-gnus-link): Don't ask how many articles to read.
11150         (org-export-find-first-export-line): Rename from
11151         `org-export-find-first-heading'.
11152         Use `org-export-skip-text-before-1st-heading'.
11153         (org-table-fedit-post-command): Rename from
11154         `org-table-edit-formulas-post-command'.
11155         (org-table-fedit-finish): Rename from `org-finish-edit-formulas'.
11156         (org-table-fedit-abort): Rename from `org-abort-edit-formulas'.
11157         (org-table-fedit-lisp-indent): Rename from
11158         `org-edit-formula-lisp-indent'.
11159         (org-table-show-reference): Rename from `org-show-reference'.
11160         (org-table-store-formulas): Use `org-table-formula-less-p'.
11161         (org-table-edit-formulas): Position cursor to current field equation.
11162         (org-update-checkbox-count, org-hide-archived-subtrees)
11163         (org-timestamp-up-day, org-timestamp-down-day)
11164         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
11165         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
11166         (org-metadown, org-shiftup, org-shiftdown, org-shiftright)
11167         (org-shiftleft, org-ctrl-c-ctrl-c, org-context):
11168         Let `org-on-heading-p' also check for invisible heading.
11169         (org-read-date): Match am/pm times.
11170         (org-eval-in-calendar): Fix default date in prompt.
11172 2007-06-05  Chong Yidong  <cyd@stupidchicken.com>
11174         * files.el (auto-mode-alist): Separate "ChangeLog.1" and
11175         "ChangeLog.a" entries, giving the latter lower priority.
11177 2007-06-05  Juanma Barranquero  <lekktu@gmail.com>
11179         * faces.el (face-id): If the argument is a face alias,
11180         return the ID of the target face.
11182 2007-06-05  Michael Albinus  <michael.albinus@gmx.de>
11184         * net/socks.el (top): Remove unnecessary copyright line.
11186 2007-06-04  Chong Yidong  <cyd@stupidchicken.com>
11188         * longlines.el (longlines-auto-wrap): Handle argument correctly.
11190 2007-06-04  Michael Albinus  <michael.albinus@gmx.de>
11192         * net/socks.el: New file, taken from w3 repository.
11193         (top): Update Copyright.  Don't load cl.el.
11194         (all): Replace `case' by `cond', `string-to-int' by
11195         `string-to-number', and `process-kill-without-query' by
11196         `set-process-query-on-exit-flag'.
11197         (socks-char-int): Remove defalias and all occurrences.
11199 2007-06-04  Juanma Barranquero  <lekktu@gmail.com>
11201         * progmodes/compile.el (compilation-find-file, compilation-handle-exit):
11202         Fix typos in docstrings.
11203         (compilation-search-path, compilation-buffer-name-function): Doc fixes.
11204         (compilation-finish-function): Fix typo in obsolescence declaration.
11206 2007-06-03  Sam Steingold  <sds@gnu.org>
11208         * progmodes/compile.el: Add TIMESTAMP to the LOC data structure, to
11209         handle unending automatic recompilation of changed files (`omake -P').
11210         (compilation-loop): VISITED is now 5th CDR.
11211         (compilation-next-error-function): Set TIMESTAMP.
11213 2007-06-03  Sam Steingold  <sds@gnu.org>
11215         * files.el (kill-buffer-ask): New function.
11216         (kill-some-buffers): Use it.
11217         (kill-matching-buffers): New user command.
11219 2007-06-01  David Kastrup  <dak@gnu.org>
11221         * dired.el (dired-recursive-deletes, dired-recursive-copies):
11222         Change default to `top'.
11224 2007-05-31  Richard Stallman  <rms@gnu.org>
11226         * dired.el (dired-do-flagged-delete, dired-do-delete): Doc fix.
11228 2007-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11230         * textmodes/css-mode.el: New file.
11232 2007-05-30  Michael Olson  <mwolson@gnu.org>
11234         * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has
11235         died and we are trying to send a signal to it.  The program using
11236         tq.el should periodically check to see whether the process has
11237         died and react appropriately -- this is not the responsibility of
11238         tq.el, and is consistent with the rest of the tq.el source code.
11240 2007-05-29  Martin Rudalics  <rudalics@gmx.at>
11242         * textmodes/table.el (table--point-entered-cell-function)
11243         (table--point-left-cell-function):
11244         Bind `inhibit-point-motion-hooks' to t.
11246 2007-05-29  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
11248         * emacs-lisp/rx.el (rx): Doc fix.
11250 2007-05-28  Juanma Barranquero  <lekktu@gmail.com>
11252         * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring.
11254 2007-05-28  Michael Albinus  <michael.albinus@gmx.de>
11256         Sync with Tramp 2.0.56.
11258         * net/tramp.el:
11259         * net/tramp-ftp.el:
11260         * net/tramp-smb.el:
11261         * net/tramp-util.el:
11262         * net/tramp-vc.el:
11263         Don't load cl.el, because that pollutes the namespace.  Replace cl
11264         macros by their implementations where necessary.  Requested by
11265         Richard Stallman <rms@gnu.org>.
11267         * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it
11268         doesn't exist.
11269         (with-parsed-tramp-file-name): Protect debug spec during compilation.
11270         (tramp-handle-insert-directory): Check (featurep 'ls-lisp).
11271         (tramp-file-name-p, tramp-file-name-multi-method)
11272         (tramp-file-name-method, tramp-file-name-user)
11273         (tramp-file-name-host, tramp-file-name-localname): New defuns,
11274         replacing defstruct `tramp-file-name'.
11275         (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1)
11276         (tramp-dissect-file-name, tramp-dissect-multi-file-name):
11277         Apply `vector' instead of `make-tramp-file-name'.
11278         (tramp-handle-make-auto-save-file-name):
11279         Apply `tramp-temporary-file-directory' for compatibility reasons.
11280         (tramp-completion-mode): Use `natnump' instead of `wholenump'
11281         because of XEmacs.
11282         (tramp-completion-mode): `last-input-event' is nil when XEmacs is
11283         started.
11285 2007-05-28  Chong Yidong  <cyd@stupidchicken.com>
11287         * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
11289 2007-05-27  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
11291         * log-edit.el (log-edit-changelog-paragraph): Return point-max
11292         as the end of the ChangeLog paragraph when it ends without a line
11293         termination.
11295 2007-05-27  Ryan Yeske  <rcyeske@gmail.com>
11297         * net/webjump.el (webjump-sample-sites):
11298         Add simple Wikipedia query.
11300 2007-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11302         * emacs-lisp/derived.el (define-derived-mode): Remove bogus
11303         compatibility code.
11305         * emacs-lisp/copyright.el (copyright-names-regexp): New var.
11306         (copyright-update-year): Use it.
11308         * edmacro.el (edmacro-format-keys): Use current-active-maps.
11310         * ediff-init.el (ediff-defvar-local, ediff-with-current-buffer):
11311         Add indentation and debugging info.  Fix up comment convention.
11313         * cus-dep.el (custom-make-dependencies): Simplify.
11315         * composite.el (compose-region, decompose-region):
11316         Use inhibit-read-only and restore-buffer-modified-p.
11318         * xt-mouse.el (xterm-mouse-truncate-wrap): New function.
11319         (xterm-mouse-event): Use it.
11321 2007-05-25  Juanma Barranquero  <lekktu@gmail.com>
11323         * bs.el (bs-cycle-previous): Don't modify the cycle list until
11324         `switch-to-buffer' has returned succesfully.
11325         (bs-cycle-next): Ditto.  Also, don't bury the buffer when the
11326         window is dedicated (it could iconify the frame).
11328 2007-05-25  Miles Bader  <miles@fencepost.gnu.org>
11330         * vc-hooks.el (vc-find-root): Fix file attribute test.
11332 2007-05-24  Richard Stallman  <rms@gnu.org>
11334         * textmodes/flyspell.el (flyspell-correct-word-before-point):
11335         Don't let opoint be nil.
11336         (flyspell-emacs-popup): Explicit error if no dialogs.
11338 2007-05-24  Chong Yidong  <cyd@stupidchicken.com>
11340         * image-mode.el (image-forward-hscroll, image-backward-hscroll)
11341         (image-next-line, image-previous-line, image-scroll-up)
11342         (image-scroll-down, image-bol, image-eol, image-bob, image-eob):
11343         New functions.
11344         (image-mode-map): Remap motion commands.
11345         (image-mode-text-map): New keymap for viewing images as text.
11346         (image-mode): Use image-mode-map.
11347         (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps.
11349 2007-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11351         * textmodes/fill.el (canonically-space-region): Make the second arg
11352         a marker if it's not already the case.
11354 2007-05-23  Eli Zaretskii  <eliz@gnu.org>
11356         * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer)
11357         (tar-get-descriptor): Handle type 55, an extended pax header.
11359 2007-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11361         * autoinsert.el (auto-insert-alist): Quote elisp sample code so as not
11362         to confuse outline-minor-mode.
11364 2007-05-23  Eli Zaretskii  <eliz@gnu.org>
11366         * tar-mode.el (tar-file-name-handler): New function.
11367         (tar-extract): Bind file-name-handler-alist to it to force
11368         find-buffer-file-type-coding-system behave as if the file being
11369         extracted existed.  Use last-coding-system-used to force
11370         buffer-file-coding-system to what decode-coding-region actually
11371         used to decode the file.
11373 2007-05-23  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
11375         * progmodes/compile.el (compilation-handle-exit):
11376         `compilation-finish-function' may change the current buffer.
11378 2007-05-22  Richard Stallman  <rms@gnu.org>
11380         * files.el (set-auto-mode): Doc fix.
11382 2007-05-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
11384         * help-fns.el (find-source-lisp-file): New function.
11385         (describe-function-1): Use find-source-lisp-file to find source
11386         file in compile tree.
11388 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
11390         * dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
11392 2007-05-22  Juanma Barranquero  <lekktu@gmail.com>
11394         * emacs-lisp/easy-mmode.el (define-minor-mode)
11395         (easy-mmode-define-navigation): Fix typos in docstrings.
11397 2007-05-22  Glenn Morris  <rgm@gnu.org>
11399         * files.el (auto-mode-alist): Open `.asd' files in lisp-mode.
11401 2007-05-22  Katsumi Yamaoka  <yamaoka@jpl.org>
11403         * mail/mail-extr.el (mail-extract-address-components):
11404         Recognize non-ASCII characters except for NBSP as words.
11406 2007-05-21  Trent Buck  <trentbuck@gmail.com>  (tiny change)
11408         * net/rcirc.el (rcirc-fill-column): Allow `window-width'.
11409         (rcirc-print): Handle `window-width'.
11410         (rcirc-buffer-maximum-lines): Doc fix.
11412 2007-05-21  Chong Yidong  <cyd@stupidchicken.com>
11414         * image-mode.el (image-toggle-display): Don't clear image cache.
11415         Only use filename in image spec if the file is readable.
11416         Call image-refresh.
11418         * image.el (image-type-from-file-name, image-type): Simplify.
11419         (image-type-auto-detected-p): Don't scan auto-mode-alist.
11421         * files.el (magic-mode-alist): Remove image-type-auto-detected-p.
11422         (magic-fallback-mode-alist): Add image-type-auto-detected-p.
11424 2007-05-20  Nick Roberts  <nickrob@snap.net.nz>
11426         * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there
11427         is an error.
11429         * term/linux.el (terminal-init-linux): Don't signal an error
11430         if gpm isn't running.
11432 2007-05-20  Nick Roberts  <nickrob@snap.net.nz>
11434         * t-mouse.el: Reduce to a minor-mode macro call.
11435         (t-mouse-mode): Remove the lighter.
11437         * term/linux.el (terminal-init-linux): Enable t-mouse by default.
11439 2007-05-19  Dan Nicolaescu  <dann@ics.uci.edu>
11441         * files.el (auto-mode-alist): Change the regexp so that
11442         ChangeLog.unicode and ChangeLog.multi-tty use change-log-mode.
11444 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
11446         * Version 22.1 released.
11448 2007-05-19  Chong Yidong  <cyd@stupidchicken.com>
11450         * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20
11451         changes.
11453 2007-05-19  Kevin Ryde  <user42@zip.com.au>
11455         * info.el (Info-fontify-node): Fontify https as well as http and ftp.
11457 2007-05-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
11459         * textmodes/sgml-mode.el: Revert last change.
11461 2007-05-18  Richard Stallman  <rms@gnu.org>
11463         * simple.el (push-mark): Doc fix.
11465 2007-05-18  Rob Riepel  <riepel@Stanford.EDU>
11467         * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to
11468         tpu-global-map.
11469         (tpu-original-global-map): Variable deleted.
11470         (tpu-control-keys-map): New keymap variable.
11471         (tpu-set-control-keys): Use tpu-reset-control-keys rather than
11472         setting keymapping directly.
11473         (tpu-reset-control-keys): Use tpu-control-keys-map instead of
11474         tpu-global-map.
11475         (tpu-edt-on): Activate the tpu-global-map.
11476         (tpu-edt-off): Deactivate the tpu-global-map.
11478 2007-05-18  Ryan Yeske  <rcyeske@gmail.com>
11480         * textmodes/ispell.el (ispell-get-word): Return markers
11481         for start and end positions.
11482         (ispell-word): Assume END is a marker.
11484 2007-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11486         * printing.el: Group together all XEmacs/Emacs definitions.
11487         (pr-version): New version 6.9.
11488         (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs.
11489         (pr-menu-char-height, pr-menu-char-width): Fix initialization code.
11490         (pr-menu-bind): Fix code.
11491         (pr-e-frame-char-height, pr-e-frame-char-width)
11492         (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function)
11493         (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height)
11494         (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event)
11495         (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel)
11496         (pr-x-event-y-pixel): Aliases eliminated.
11497         (pr-xemacs-global-menubar): Macro moved.
11498         (current-menubar, current-mouse-event, zmacs-region-stays)
11499         (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old)
11500         (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu):
11501         Vars moved.
11502         (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock)
11503         (pr-update-mode-line, pr-do-update-menus, pr-menu-alist)
11504         (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title)
11505         (pr-menu-set-utility-title, pr-even-or-odd-pages)
11506         (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string)
11507         (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs
11508         moved.
11510 2007-05-17  Christian Plate  <cplate@web.de>  (tiny change)
11512         * textmodes/sgml-mode.el (sgml-tag):
11513         Fix bug: Call sgml-transformation-function.
11515 2007-05-17  Martin Rudalics  <rudalics@gmx.at>
11517         * hilit-chg.el (highlight-changes-rotate-faces): Don't set
11518         modified flag of buffer.  Use `inhibit-modification-hooks'.
11520 2007-05-16  Richard Stallman  <rms@gnu.org>
11522         * buff-menu.el (Buffer-menu-sort-column): Doc fix.
11524 2007-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11526         * files.el (magic-mode-alist, magic-fallback-mode-alist):
11527         Move the *ml, Postscript, and XmCD entries to the fallback part.
11529         * files.el (magic-fallback-mode-alist):
11530         Rename from file-start-mode-alist.
11532 2007-05-16  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
11534         * progmodes/compile.el (compilation-handle-exit): Quote first
11535         argument of `run-hook-with-args'.
11537 2007-05-16  Juanma Barranquero  <lekktu@gmail.com>
11539         * buff-menu.el (Buffer-menu-sort-column):
11540         * dabbrev.el (dabbrev-upcase-means-case-search):
11541         * dired.el (dired-recursive-deletes, dired-recursive-copies):
11542         * info.el (Info-current-subfile):
11543         * ls-lisp.el (ls-lisp-verbosity):
11544         * msb.el (msb-menu-cond):
11545         * pcvs.el (cvs-dired-use-hook):
11546         * simple.el (set-mark-command-repeat-pop):
11547         * time.el (display-time-24hr-format, display-time-mail-file):
11548         Doc fixes.
11550         * tutorial.el (get-lang-string, tutorial--find-changed-keys):
11551         * printing.el (pr-ps-fast-fire): Fix typos in docstrings.
11553         * view.el (view-inhibit-help-message): Fix typo in docstring.
11554         (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
11556 2007-05-16  Martin Rudalics  <rudalics@gmx.at>
11558         * textmodes/ispell.el (ispell-start-process): Defend against bad
11559         default-directory.
11561 2007-05-14  Eli Zaretskii  <eliz@gnu.org>
11563         * mail/rmail.el (rmail-convert-to-babyl-format): Check
11564         content-transfer-encoding _last_, because it's its position that
11565         we need as value of base64-header-field-end.
11567 2007-05-14  Juanma Barranquero  <lekktu@gmail.com>
11569         * files.el (mode-require-final-newline, require-final-newline)
11570         (enable-local-variables, enable-local-eval): Doc fixes.
11572 2007-05-13  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11574         * ps-print.el: Use default color when foreground or background color
11575         are unspecified.  Reported by Leo <sdl.web@gmail.com>.
11576         (ps-print-version): New version 6.7.4.
11577         (ps-rgb-color): New argument.  Use default color when color is
11578         unspecified.
11579         (ps-begin-job): Fix code.
11581 2007-05-12  Chong Yidong  <cyd@stupidchicken.com>
11583         * longlines.el (longlines-mode): Make longlines-auto-wrap
11584         buffer-local.  Add hooks unconditionally.
11585         (longlines-auto-wrap): Toggle wrapping.
11586         (longlines-after-change-function)
11587         (longlines-post-command-function): Check longlines-auto-wrap.
11589 2007-05-12  Nick Roberts  <nickrob@snap.net.nz>
11591         * xt-mouse.el (xterm-mouse-debug-buffer): New variable.
11592         (xterm-mouse-translate): Use it.
11594 2007-05-10  Richard Stallman  <rms@gnu.org>
11596         * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
11597         (iso-cvt-write-only): Likewise.
11599         * emacs-lisp/easy-mmode.el (define-minor-mode):
11600         Fix generated doc string.
11602         * startup.el (fancy-splash-text): Add URL of guided tour.
11603         Adjust horizontal and vertical whitespace.
11605         * progmodes/compile.el (compilation-handle-exit):
11606         Use run-hook-with-args to run compilation-finish-functions.
11608         * files.el (file-start-mode-alist): New variable.
11609         (magic-mode-regexp-match-limit): Doc fix.
11610         (set-auto-mode): Handle file-start-mode-alist.
11611         A little cleanup of structure.
11613         * dabbrev.el (dabbrev-eliminate-newlines):
11614         Renamed from dabbrev--eliminate-newlines.  All uses changed.
11616 2007-05-10  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
11618         * man.el (Man-next-section): Don't consider the last line of the page
11619         as being part of any section.
11621 2007-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11623         * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
11624         can take any number of values.
11626 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11628         * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
11629         to the list of citation commands.
11631 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11633         * vc-hooks.el (vc-find-root): Stop searching when the user changes.
11635 2007-05-09  Edward O'Connor  <hober0@gmail.com>  (tiny change)
11637         * progmodes/python.el (python-font-lock-keywords)
11638         (python-open-block-statement-p, python-mode): Add support for the new
11639         "with" keyword.
11641 2007-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11643         * diff-mode.el (diff-apply-hunk, diff-test-hunk): Don't do by default
11644         the exact opposite of diff-goto-source.
11646         * emacs-lisp/advice.el (ad-special-forms): Remove.
11647         (ad-special-form-p): Use subr-arity.
11649         * newcomment.el (comment-search-forward): Make sure we search forward.
11650         (comment-enter-backward): Try and distinguish the non-matching case at
11651         EOB from the non-matching case with a missing comment-end-skip for
11652         a 2-char comment ender.
11653         (comment-choose-indent): New function extracted from comment-indent.
11654         Improve the alignment algorithm.
11655         (comment-indent): Use it.
11657         * textmodes/sgml-mode.el (sgml-lexical-context): Add handling of
11658         XML style Processing Instructions.
11659         (sgml-parse-tag-backward): Handle XML-style PIs.  Also ensure progress.
11660         (sgml-calculate-indent): Handle `pi' context.
11662         * vc.el: Ensure that update-changelog issues an error when used with
11663         a backend that does not implement it.
11664         (vc-update-changelog-rcs2log): Rename from vc-default-update-changelog.
11665         Remove `backend' argument.  Use expand-file-name.
11666         (vc-cvs-update-changelog, vc-rcs-update-changelog): New aliases.
11668         * progmodes/python.el (python-end-of-block): Revert last change.
11669         (python-end-of-statement): Make sure we move *forward*.
11671 2007-05-08  Richard Stallman  <rms@gnu.org>
11673         * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
11674         Don't include non-self-insert commands in the exception for `-'.
11676 2007-05-08  David Reitter  <david.reitter@gmail.com>
11678         * progmodes/python.el (python-guess-indent): Check non-nullness
11679         before comparing indent against the 2..8 interval.
11681 2007-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11683         * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
11684         available.
11686 2007-05-06  Richard Stallman  <rms@gnu.org>
11688         * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.
11690 2007-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11692         * diff.el (diff): Use buffer-local vars diff-old-file and diff-new-file
11693         rather than storing their value in the revert-buffer function.
11695 2007-05-04  Nick Roberts  <nickrob@snap.net.nz>
11697         * t-mouse.el (t-mouse-mode): Do nothing on a graphical display
11698         when disabling t-mouse-mode.
11700 2007-05-01  Davis Herring  <herring@lanl.gov>
11702         * calendar/timeclock.el: Update version number.
11703         (timeclock-modeline-display): Mention timeclock-use-display-time
11704         in explanatory message.
11705         (timeclock-in): Fix non-interactive workday specifications.
11706         (timeclock-log): Don't kill the log buffer if it already existed.
11707         Suppress warnings when finding the log.  Don't check for a nil
11708         project twice.  Run hooks after killing the buffer (if applicable).
11709         (timeclock-geometric-mean): Rename to `timeclock-mean' (it never
11710         was geometric).  All uses changed.
11711         (timeclock-generate-report): Support prefix argument.
11713 2007-05-03  Ryan Yeske  <rcyeske@gmail.com>
11715         * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted
11716         disconnections.
11718 2007-05-01  Romain Francoise  <romain@orebokech.com>
11720         * dired-x.el: Revert 2007-04-06 change.
11722 2007-04-29  Stephen Berman  <Stephen.Berman@gmx.net>
11724         * find-dired.el (find-dired-filter): Propertize all text down to eob.
11726 2007-04-29  Richard Stallman  <rms@gnu.org>
11728         * international/mule.el (auto-coding-alist): Add pdf => no-conversion.
11730 2007-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11732         * progmodes/cc-mode.el (c-before-change): Use point-min rather
11733         than 1.
11735 2007-04-28  Richard Stallman  <rms@gnu.org>
11737         * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style.
11739 2007-04-28  Nick Roberts  <nickrob@snap.net.nz>
11741         * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
11742         don't put stop on toolbar.
11744 2007-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11746         * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.
11748 2007-04-28  Eli Zaretskii  <eliz@gnu.org>
11750         * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e
11751         instead of $(lisp)/mh-e.
11753 2007-04-28  Glenn Morris  <rgm@gnu.org>
11755         * image-dired.el (image-dired-cmd-create-thumbnail-options)
11756         (image-dired-cmd-create-temp-image-options): Replace option
11757         +profile "*" with -strip.
11759 2007-04-27  Chong Yidong  <cyd@stupidchicken.com>
11761         * textmodes/flyspell.el (flyspell-auto-correct-previous-word):
11762         Use window-start and window-end.
11764 2007-04-27  Andreas Schwab  <schwab@suse.de>
11766         * emacs-lisp/sregex.el (sregexq): Fix doc string quoting.
11768 2007-04-27  Eli Zaretskii  <eliz@gnu.org>
11770         * textmodes/fill.el (fill-paragraph): Doc fix.
11772 2007-04-26  Luc Teirlinck  <teirllm@dms.auburn.edu>
11774         * locate.el (locate-in-alternate-database): Doc fix.
11776 2007-04-26  Glenn Morris  <rgm@gnu.org>
11778         * button.el (button): Use underline if supported, else fall back
11779         to color.
11781         * version.el (emacs-version): Increase to 22.1.50.
11783 2007-04-25  Richard Stallman  <rms@gnu.org>
11785         * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'.
11787 2007-04-25  J.D. Smith  <jdsmith@as.arizona.edu>
11789         * progmodes/idlwave.el (idlwave-beginning-of-subprogram)
11790         (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent
11791         pushing mark.
11792         (idlwave-current-routine): Don't push mark.
11794 2007-04-25  Mathias Dahl  <mathias.dahl@gmail.com>
11796         * image-dired.el (image-dired-display-image): Derive image-type from
11797         filename rather than assuming jpeg, in case no resizing was needed.
11799 2007-04-25  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
11801         * custom.el (defface): Doc fix.
11803 See ChangeLog.12 for earlier changes.
11805 ;; Local Variables:
11806 ;; coding: iso-2022-7bit
11807 ;; add-log-time-zone-rule: t
11808 ;; End:
11810     Copyright (C) 2007 Free Software Foundation, Inc.
11812   This file is part of GNU Emacs.
11814   GNU Emacs is free software; you can redistribute it and/or modify
11815   it under the terms of the GNU General Public License as published by
11816   the Free Software Foundation; either version 3, or (at your option)
11817   any later version.
11819   GNU Emacs is distributed in the hope that it will be useful,
11820   but WITHOUT ANY WARRANTY; without even the implied warranty of
11821   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11822   GNU General Public License for more details.
11824   You should have received a copy of the GNU General Public License
11825   along with GNU Emacs; see the file COPYING.  If not, write to the
11826   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
11827   Boston, MA 02110-1301, USA.
11829 ;; arch-tag: 1e8aa93a-fc6c-4ac3-9b10-1f445e1840af