* progmodes/prolog.el: Undo previous change.
[emacs.git] / lisp / ChangeLog
blobe346d83e34dd6e62f13bcdf6dee71f207bf9f337
1 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
3         * progmodes/prolog.el: Undo previous change.
4         (comint-prompt-regexp, comint-process-echoes): Pacify
5         byte-compiler.
7         * progmodes/dcl-mode.el:
8         * play/yow.el:
9         * calendar/todo-mode.el:
10         * calendar/cal-hebrew.el:
11         * vc-hg.el: Undo previous change.
12         
13         * vms-patch.el: Likewise.
14         (print-region-function): Pacify byte-compiler.
16 2007-10-21  Michael Albinus  <michael.albinus@gmx.de>
18         * files.el (backup-buffer-copy): Call `copy-file' with non-nil
19         preserve-uid-gid.
21         * net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
22         compatibility.  It is not used, though.
24         * net/tramp.el (top): Put load of all tramp-* files into a dolist.
25         Require tramp-cmds.el.
26         (tramp-make-tramp-temp-file): We can get rid of DONT-CREATE.
27         (tramp-handle-file-name-all-completions): Expand DIRECTORY.
28          (tramp-do-copy-or-rename-file-directly): Make more rigid checks.
29         (tramp-do-copy-or-rename-file-out-of-band)
30         (tramp-maybe-open-connection): Use `make-temp-name'.  This is
31         possible, because we don't need to create the temporary file, but
32         we need a prefix for ssh, which has its own temporary file
33         handling.
34         (tramp-handle-delete-directory): Add "-f" to rmdir.
35         (tramp-handle-dired-recursive-delete-directory): Call "rm -rf".
36         (tramp-handle-insert-file-contents): Don't raise a tramp-error but
37         a signal, in order to give the callee a chance to suppress.
38         (tramp-handle-write-region): Set owner also in case of short
39         track.  Don't use compatibility calls for `write-region' anymore.
40         (tramp-clear-passwd): Add parameter VEC.  Adapt all callees.
41         (tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'.
43         * net/tramp-cmds.el: New file.
45         * net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to
46         `tramp-clear-passwd'.
48         * net/trampver.el: Update release number.
50 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
52         * progmodes/gud.el (gud-target-name): Move definition before use.
54         * progmodes/dcl-mode.el: Require imenu at compile time.
56         * progmodes/cc-engine.el (c-maybe-stale-found-type): Pacify
57         byte-compiler.
59         * obsolete/fast-lock.el: Use featurep test instead of
60         string-match.
62         * eshell/esh-mode.el (eshell-handle-ansi-color): Require
63         ansi-color at compile time too.
65         * eshell/em-unix.el (eshell/info): Require info at compile time too.
67         * w32-fns.el: Require w32-vars.
69         * diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
70         time too.
72 2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
74         * double.el ([ignore]): Use ignore.
75         (double-setup): Inline into double-mode.
76         (double-mode): Use define-minor-mode.
78 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
80         * textmodes/reftex.el: Move require easymenu before first use.
81         (reftex-info): Require info at compile too.
83         * textmodes/org-publish.el (org-publish-org-to-html)
84         (org-publish-org-to): Require org at compile time too.
85         (org-publish-attachment): Require at compile time too.
87         * term/tty-colors.el (w32-tty-standard-colors):
88         Pacify byte-compiler.
90         * term/pc-win.el (frame-creation-function-alist): Add to this
91         instead of setting frame-creation-function.
93         * play/blackbox.el (bb-up, bb-down): Use forward-line.
95         * net/rcirc.el (rcirc-markup-text-functions): Move definition earlier.
97         * calendar/todo-mode.el: Require calendar at compile time.
99         * calendar/cal-hebrew.el: Require holidays at compile time.
101         * w32-vars.el: Provide w32-vars.
103         * term/w32-win.el: Require w32-vars.
104         (w32-color-map): Pacify byte-compiler.
106         * loadup.el: Load w32-vars before term/w32-win.
108 2007-10-20  Juri Linkov  <juri@jurta.org>
110         * textmodes/fill.el (fill-paragraph): When the region is active,
111         don't try other `or' branches regardless of the value returned by
112         fill-region; just return t.
114 2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>
116         * vc.el (vc-do-command): Condition out a misleading message when
117         running asynchronously.
118         (vc-deduce-fileset): New argument enables using an unregistered
119         visited file as a singleton fileset if nothing else is available.
120         (vc-next-action): Restore file-registering behavior.
122 2007-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
124         * calc/README: Add recent news.
126 2007-10-20  Dan Nicolaescu  <dann@ics.uci.edu>
128         * term/x-win.el (x-gtk-stock-map, icon-map-list)
129         (x-gtk-map-stock): Delete duplicated definitions from merge.
131         * progmodes/compile.el (compilation-skip-to-next-location)
132         (compilation-skip-threshold, compilation-skip-visited):
133         Move definitions earlier.
135         * play/decipher.el (decipher-keypress):
136         * play/zone.el (zone-fall-through-ws):
137         * play/landmark.el (lm-move-down, lm-move-up):
138         * play/handwrite.el (handwrite):
139         * mail/mspools.el (mspools-visit-spool):
140         * wdired.el (wdired-next-line, wdired-previous-line):
141         * tar-mode.el (tar-subfile-save-buffer):
142         * scroll-lock.el (scroll-lock-next-line)
143         (scroll-lock-previous-line):
144         * image-dired.el (image-dired-next-line)
145         (image-dired-previous-line):
146         * ediff-help.el (ediff-help-message-line-length):
147         Use forward-line.
149         * smerge-mode.el (smerge-auto-refine):
150         * diff-mode.el (diff-auto-refine): Add :group.
152         * play/yow.el: Require doctor at compile time.
154         * vmsproc.el: Provide vmsproc.
155         (command-send-input): Use forward-line.
157         * vms-patch.el: Require ps-print and vmsproc at compile time.
159         * vc-mtn.el (log-view-message-re, log-view-file-re)
160         (log-view-font-lock-keywords): Pacify byte-compiler.
162         * vc-hg.el: Require log-view at compile time.
164 2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>
166         * log-view.el (log-view-diff): Adapt log-view-diff for new VC API.
168 2007-10-20  Glenn Morris  <rgm@gnu.org>
170         * progmodes/f90.el (f90-font-lock-keywords-2)
171         (f90-looking-at-type-like): Fix regexp typos.
173 2007-10-19  Juanma Barranquero  <lekktu@gmail.com>
175         * bs.el (bs--track-window-changes): Don't refresh the whole list.
176         (bs-mode): Set mode-class property to special.
178 2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
180         * diff-mode.el (diff-auto-refine): New var.
181         (diff-hunk): Use it.
182         (diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk.
183         (diff-refine-change): Rename from diff-fine-change.  Change it.
184         (diff-refine-preproc): Rename from diff-fine-highlight-preproc.
185         (diff-refine-hunk): Rename from diff-fine-highlight.
187 2007-10-20  John Paul Wallington  <jpw@pobox.com>
189         * help-fns.el (describe-variable-custom-version-info): New function
190         to return variable's version or package version note.
191         (describe-variable): Use it, display result.
193 2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
195         * smerge-mode.el (smerge-auto-refine): New var.
196         (smerge-next, smerge-prev): Use it.
197         (smerge-batch-resolve): Ad-hoc trick for Arch's .rej files.
199         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
200         Add `body' arg.  Cleanup the check-narrow-maybe/re-narrow-maybe mess.
202         * vc-bzr.el (vc-bzr-diff-tree):
203         * vc-git.el (vc-git-diff-tree):
204         * vc-hg.el (vc-hg-diff-tree):
205         * vc-mcvs.el (vc-mcvs-diff-tree):
206         * vc-mtn.el (vc-mtn-diff-tree):
207         * vc-svn.el (vc-svn-diff-tree): Remove.
209         * vc-mtn.el (vc-mtn-revision-completion-table):
210         * vc-cvs.el (vc-cvs-revision-completion-table):
211         * vc-arch.el (vc-arch-revision-completion-table):
212         * vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table):
213         * vc-git.el (vc-git-revision-completion-table, vc-git-revision-table):
214         Make it work when the arg is a list of files.
216 2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
218         * vc.el: Remove `diff-tree' operation, now subsumed by `diff'.
219         Also `revision-completion-table' now takes a list of files.
220         (vc-deduce-fileset): Remove unused var `regexp'.
221         Only obey allow-directory-wildcard in dired buffers.
222         (vc-default-diff-tree): Remove.
223         (vc-diff-added-files): New var.
224         (vc-diff-internal): Use it.  Remove arg `backend'.  Update callers.
225         (vc-version-diff): Revert from `vc-history-diff' to the original name.
226         Remove the `backend' arg.
227         (vc-contains-version-controlled-file): Remove.
228         (vc-diff): Bring it closer to the version in Emacs-22.
229         (vc-revert): Fix typo in let-binding.
230         (vc-default-unregister): Remove.
231         (vc-dired-buffers-for-dir): Remove N^2 behavior.
233 2007-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
235         * textmodes/two-column.el (2C-split, 2C-merge):
236         * textmodes/bib-mode.el (bib-find-key, mark-bib):
237         * progmodes/idlw-shell.el (idlwave-shell-move-or-history):
238         * progmodes/etags.el (find-tag-in-order, etags-tags-apropos)
239         * progmodes/ada-xref.el (ada-get-all-references):
240         * obsolete/mlsupport.el (ml-next-line, ml-previous-line):
241         * emulation/vi.el (vi-previous-line-first-nonwhite)
242         (vi-effective-range, vi-put-before):
243         * emulation/edt.el (edt-next-line, edt-previous-line)
244         (edt-paragraph-forward): Use forward-line.
246         * progmodes/etags.el (tags-apropos): Require apropos at compile
247         time too.
249         * progmodes/prolog.el: Require comint when compiling.
250         (inferior-prolog-flavor): Move defvar before use.
252 2007-10-19  Richard Stallman  <rms@gnu.org>
254         * font-core.el (turn-on-font-lock-if-desired):
255         Rename from `turn-on-font-lock-if-enabled'.
256         Fully obey `font-lock-global-modes'.
258 2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
260         * diff-mode.el (diff-fine-highlight-preproc): Stick to minimal changes
261         which will not affect the behavior of things like forward-word.
262         (diff-fine-highlight): Preserve point.
264         * doc-view.el (doc-view-mode-map): Use remapping.
265         Don't rebind C-v, M-v to their default value.
266         Don't bind mouse-4 and mouse-5: it's mwheel.el's job.
268         * smerge-mode.el: Add word-granularity refinement.
269         (smerge-refine-forward-function, smerge-refine-ignore-whitespace)
270         (smerge-refine-weight-hack): New vars.
271         (smerge-refine-forward): New fun.
272         (smerge-refine-chopup-region, smerge-refine-highlight-change): Use them.
273         (smerge-refine-subst): Use them as well.  Preserve point.
275 2007-10-19  Juanma Barranquero  <lekktu@gmail.com>
277         * follow.el (follow-unload-function): New function.
279         * loadhist.el (unload-function-features-list):
280         Rename from `unload-hook-features-list'.
281         (unload-hook-features-list): Add as obsolete alias.
282         (unload-feature): Use `unload-function-features-list'
283         and new FEATURE-unload-function.
285 2007-10-19  Glenn Morris  <rgm@gnu.org>
287         * bindings.el (mouse-minor-mode-menu)
288         (minor-mode-menu-from-indicator): Move to mouse.el.
289         * mouse.el (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
290         Move here from bindings.el.
292 2007-10-19  Richard Stallman  <rms@gnu.org>
294         * help-fns.el (describe-function-1): Don't use the advice origname
295         if it has no function definition.
297 2007-10-18  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
299         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion.
300         Use `save-restriction' rather than `widen'.
302 2007-10-18  Richard Stallman  <rms@gnu.org>
304         * time.el (display-time-world-time-format): Display day # not month #.
306 2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>
308         * files.el (auto-mode-alist): Don't use doc-view for PS and EPS.
310         * doc-view.el: Remove version keyword.
311         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
312         (doc-view-ps2pdf-program): Use executable-find.  Simplify custom type.
313         (doc-view-ghostscript-options): Improve custom type.
314         (doc-view-cache-directory, doc-view-conversion-buffer)
315         (doc-view-conversion-refresh-interval): Simplify custom type.
317 2007-10-18  Tassilo Horn  <tassilo@member.fsf.org>
319         * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
320         (doc-view-pdf/ps->png-sentinel, doc-view-pdf/ps->png)
321         (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
322         (doc-view-ps->pdf-sentinel, doc-view-ps->pdf):
323         Remove superfluous messages.
324         (doc-view-mode-map): Use the image-mode scrolling commands.
325         Don't rebind C-x k.
327 2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>
329         * doc-view.el (doc-view-ghostscript-options, doc-view-ps->pdf):
330         Add comment about "-dSAFER".
332 2007-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
334         * term/xterm.el: Don't require xt-mouse.
335         (terminal-init-xterm): Run terminal-init-xterm-hook rather than
336         calling turn-on-xterm-mouse-tracking-on-terminal directly.
338         * xt-mouse.el: Don't change the global function-key-map anny more.
339         (xterm-mouse-mode): Use terminal-init-xterm-hook.
340         Don't use after-make-frame-functions now that term/xterm.el calls
341         us directly.
342         (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
343         Use turn-*-xterm-mouse-tracking-on-terminal.  Only once per terminal.
344         (turn-on-xterm-mouse-tracking-on-terminal): Make param optional.
345         Setup input-decode-map and remember that xterm-mouse-mode was
346         enabled in this terminal.
347         (turn-off-xterm-mouse-tracking-on-terminal): Only disable on those
348         terminals where it has been enabled.
350         * faces.el (tty-create-frame-with-faces): Make sure not only
351         tty-run-terminal-initialization but also set-locale-environment
352         are run only once per terminal.
353         (tty-run-terminal-initialization): Don't check if the terminal was
354         already initted.
356         * international/encoded-kb.el (encoded-kbd-setup-display): Be careful
357         not to remove keymaps that just happen to inherit from one of ours.
358         When setting up our keymap, make sure it won't be accidentally
359         modified by someone else.
361 2007-10-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
363         * textmodes/artist.el (artist-previous-line, artist-next-line):
364         * dired.el (dired-next-line, dired-previous-line):
365         * progmodes/delphi.el (delphi-newline):
366         * textmodes/org.el (org-columns-eval):
367         Use forward-line.
369         * emerge.el (emerge-setup): Use insert-buffer-substring.
370         (emerge-prepare-error-list, emerge-setup-with-ancestor): Likewise.
372 2007-10-18  Juanma Barranquero  <lekktu@gmail.com>
374         * textmodes/fill.el (fill-individual-paragraphs): Doc fix.
375         (adaptive-fill-function): Doc fix.  Remove * from docstring.
377 2007-10-18  Tom Horsley  <tom.horsley@att.net>
379         * simple.el (interprogram-paste-function): Doc fix.
380         (current-kill): Accept list of strings as well
381         as single string from `interprogram-paste-function'.
383 2007-10-18  Glenn Morris  <rgm@gnu.org>
385         * ibuf-ext.el (ibuffer-saved-filter-groups): Doc fix.
387 2007-10-18  Drew Adams  <drew.adams@oracle.com>
389         * bindings.el (mode-line-minor-mode-keymap):
390         Add mouse-minor-mode-menu on mouse-1.
391         (mode-line-modes): Add mouse-1 to help-echo text.
392         (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
393         New functions.
394         (mode-line-minor-mode-help): Doc fix.
396 2007-10-17  Juri Linkov  <juri@jurta.org>
398         * textmodes/fill.el (fill-paragraph-or-region): Remove function
399         at the request of RMS.
400         (fill-paragraph): Change `arg' to optional `justify'.  Add interactive
401         arg `region'.  Fix docstring.  At the first `or' branch add call to
402         `fill-region' if it the region is active in transient-mark-mode.
404         * bindings.el (esc-map): Bind M-q to fill-paragraph
405         instead of fill-paragraph-or-region.
407         * tutorial.el (tutorial--default-keys): Replace fill-paragraph-or-region
408         with fill-paragraph.
410         * textmodes/ispell.el (ispell-word): Add interactive arg `region'.
411         Fix docstring.
413         * indent.el (indent-for-tab-command): Change interactive spec from
414         "P" to "p".  Add check for interactive arg before indenting the
415         active region.
417         * files.el (auto-mode-alist): Add \\. before PDF/PS/DVI extensions.
418         Regroup.
420 2007-10-17  Juanma Barranquero  <lekktu@gmail.com>
422         * emacs-lisp/find-func.el: Don't require loadhist.
424         * loadhist.el (feature-symbols, file-provides, file-requires)
425         (file-set-intersect, file-dependents): Simplify.
426         (unload-feature-special-hooks): Update list of special hooks.
428 2007-10-17  Tassilo Horn  <tassilo@member.fsf.org>
430         * bindings.el (completion-ignored-extensions): Remove pdf and dvi
431         extensions since they can be viewed with doc-view.
433         * files.el (auto-mode-alist): Make doc-view-mode the default mode
434         for pdf, ps and dvi files.
436         * doc-view.el: Make doc-view-mode the standard mode for viewing
437         pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
438         text and image display.  Add binding C-c C-e to switch to an
439         editing mode.
440         (doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
441         avoid security problems when rendering files from untrusted sources.
443 2007-10-17  Aaron Hawley  <aaronh@garden.org>
445         * tutorial.el (tutorial--save-tutorial): Display message when tutorial
446         position is not saved.
448 2007-10-17  Reiner Steib  <Reiner.Steib@gmx.de>
450         * doc-view.el: Mention xpdf.  Fix spelling of Ghostscript.
451         (doc-view-ghostscript-options): Fix typo in doc string.
453 2007-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
455         * progmodes/compile.el (compilation-next-error-function): Fix timestamp
456         handling, so compilation-fake-loc works again.
458         * server.el (server-select-display): Nop if we do not support m-f-o-d.
459         (server-process-filter): Revert last change.
461         * vc.el (vc-diff-sentinel, vc-diff-internal): Revert some change in the
462         behavior unrelated to filesets.
464 2007-10-17  Chong Yidong  <cyd@stupidchicken.com>
466         * longlines.el (longlines-wrap-follows-window-size): Integer value
467         specifies wrapping margin.
468         (longlines-mode, longlines-window-change-function):
469         Set window-specific wrapping margin based on the above.
471 2007-10-17  John Wiegley  <johnw@newartisans.com>
473         * eshell/esh-cmd.el (eshell-complex-commands): Add "ls".
475 2007-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
477         * server.el (server-process-filter): Only set display if X11 is
478         supported.
480 2007-10-17  Glenn Morris  <rgm@gnu.org>
482         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
483         Tweak regexp to avoid stack overflow.
485 2007-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
487         * simple.el (reindent-then-newline-and-indent): Don't assume that
488         indent-according-to-mode preserves point.
490 2007-10-16  Juanma Barranquero  <lekktu@gmail.com>
492         * bs.el (bs--make-header-match-string, bs-show-in-buffer)
493         (bs--nth-wrapper): Simplify.
494         (bs-select, bs--insert-one-entry): Simplify.  Use `when'.
495         (bs-buffer-list): Simplify.  Use `when'.  Use `string-match-p'.
496         (bs-sort-buffer-interns-are-last): Use `string-match-p'.
497         (bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp)
498         (bs-maximal-buffer-name-column, bs-minimal-buffer-name-column)
499         (bs-configurations, bs-default-configuration)
500         (bs-alternative-configuration, bs-cycle-configuration-name)
501         (bs-string-show-always, bs-string-show-never, bs-string-current)
502         (bs-string-current-marked, bs-string-marked, bs-string-show-normally)
503         (bs-sort-functions, bs-default-sort-name): Remove * in docstrings.
504         (bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete)
505         (bs-apply-sort-faces, bs-next-config-aux): Use `when'.
506         (bs--window-config-coming-from): Revert 2006-11-09 change.
507         (bs--restore-window-config): Keep the selected frame.
508         (bs--track-window-changes, bs--remove-hooks): New functions.
509         (bs-mode): Use `define-derived-mode'.  Set hook to track window changes.
510         (bs--create-header): Remove.
511         (bs--create-header-line): New function, based on `bs--create-header'.
512         (bs--show-header): Use `bs--create-header-line'.
513         (bs--show-with-configuration): Revert 2006-11-09 change.
514         Don't reuse window unless it is visible on the selected frame.
515         Restore window configuration (possibly in a different frame)
516         before creating any window.
518 2007-10-16  Glenn Morris  <rgm@gnu.org>
520         * simple.el (blink-matching-open): Don't report false errors with
521         the `$' syntax class.
523 2007-10-16  Richard Stallman  <rms@gnu.org>
525         * emacs-lisp/advice.el (ad-get-advice-info): Change to a function.
526         (ad-get-advice-info-macro): New macro, like old ad-get-advice-info.
527         (ad-is-advised, ad-get-advice-info-field)
528         (ad-set-advice-info-field): Use ad-get-advice-info-macro.
530 2007-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
532         * vc-hooks.el (vc-workfile-version): Compatibility alias.
533         (vc-default-working-revision): Compatibility for backends.
535 2007-10-15  Juanma Barranquero  <lekktu@gmail.com>
537         * filesets.el (filesets-alist-get): Use `let' rather than `let*'.
538         (filesets-ormap, filesets-sort-case-sensitive-flag)
539         (filesets-remake-shortcut, filesets-ingroup-collect-files):
540         Fix typos in docstrings.
541         (filesets-conditional-sort, filesets-find-or-display-file)
542         (filesets-data-get-name, filesets-data-get-data)
543         (filesets-data-set, filesets-cmd-query-replace-getargs)
544         (filesets-ingroup-collect): Doc fixes.
546 2007-10-15  Sam Steingold  <sds@gnu.org>
548         * mail/sendmail.el (sendmail-error-reporting-interactive)
549         (sendmail-error-reporting-non-interactive): New variables for
550         sendmail error reporting options to simplify support for imperfect
551         sendmail emulators.
552         (sendmail-send-it): Use them instead of list literals.
554 2007-10-15  Juanma Barranquero  <lekktu@gmail.com>
556         * help-fns.el: Revert previous change; it creates a
557         dependency loop between advice.el and help-fns.el.
559 2007-10-15  Juanma Barranquero  <lekktu@gmail.com>
561         * help-fns.el: Require advice when compiling.
563 2007-10-14  Drew Adams  <drew.adams@oracle.com>
565         * emacs-lisp/ring.el (ring-convert-sequence-to-ring)
566         (ring-insert+extend, ring-remove+insert+extend, ring-member)
567         (ring-next, ring-previous): New functions.
569 2007-10-14  Richard Stallman  <rms@gnu.org>
571         * emacs-lisp/advice.el (documentation): Advice deleted.
572         Doc for advised functions is now handled at C level.
573         This is now handled at C level.
574         (ad-stop-advice, ad-start-advice): Don't enable or disable
575         advice for `documentation'.
576         (ad-advised-definition-docstring-regexp): Var deleted.
577         (ad-make-advised-definition-docstring): Store orig name
578         as text property of string.
579         (ad-advised-definition-p): Check for text property of docstring.
581         * help-fns.el (describe-function-1): Find source of advised functions.
583 2007-10-14  Juri Linkov  <juri@jurta.org>
585         * faces.el (describe-face): Allow handling a string as the face name.
587         * textmodes/ispell.el (ispell-word): Call `ispell-region' on the
588         active region in transient-mark-mode.
589         (ispell-region): Change messages displayed at the start and end of
590         the spell-checking to be the same.
592         * startup.el (fancy-startup-tail): Say exactly what does the button
593         dismiss ("Dismiss this startup screen").  Use text "Never show
594         it again" for the checkbox after this button.
595         (fancy-startup-screen, fancy-about-screen): Put point before the
596         first link, so the user can quickly select links with the keyboard.
597         (normal-mouse-startup-screen): Add more useful text describing how
598         to follow a link.
600 2007-10-14  Glenn Morris  <rgm@gnu.org>
602         * progmodes/etags.el (select-tags-table): Disable undo in the
603         `*Tags Table List*' buffer.
605 2007-10-13  Eli Zaretskii  <eliz@gnu.org>
607         * dired.el (dired-warn-writable): New face.
608         (dired-warn-writable-face): New variable.
609         (dired-font-lock-keywords): Use dired-warn-writable-face, instead
610         of dired-warning-face, for group- and world-writable files.
612 2007-10-13  Richard Stallman  <rms@gnu.org>
614         * files.el (directory-abbrev-alist): Doc fix.
616 2007-10-13  Jari Aalto  <jari.aalto@cante.net>
618         * comint.el (comint-password-prompt-regexp): Add 'LDAP'.
620 2007-10-12  Martin Rudalics  <rudalics@gmx.at>
622         * frame.el (set-frame-configuration): Assign name parameter only
623         if it has been set explicitly before.
625 2007-10-11  Tom Tromey  <tromey@redhat.com>
627         * progmodes/gdb-ui.el (gdb-info-stack-custom): Ensure current
628         frame is visible.
630 2007-10-10  Richard Stallman  <rms@gnu.org>
632         * emacs-lisp/debug.el (debugger-setup-buffer): Disable undo
633         in *Backtrace*.
635         * faces.el (face-font-selection-order): Doc fix.
637         * loadhist.el (unload-feature): Doc fix.
639 2007-10-13  Glenn Morris  <rgm@gnu.org>
641         * progmodes/octave-mod.el (octave-looking-at-kw): Add doc string.
642         (octave-re-search-forward-kw, octave-re-search-backward-kw):
643         Add doc string, and an explicit COUNT argument.
644         (octave-scan-blocks, octave-beginning-of-defun): Explicitly pass
645         `inc' to search functions.
647         * faces.el (face-spec-set): When FRAME is nil, set the default for
648         new frames (restores pre-2007-09-17 behavior).  Doc fix.
650 2007-10-13  John W. Eaton  <jwe@octave.org>
652         * progmodes/octave-mod.el (octave-looking-at-kw)
653         (octave-re-search-forward-kw, octave-re-search-backward-kw):
654         New functions.
655         (octave-in-defun-p, calculate-octave-indent)
656         (octave-blink-matching-block-open, octave-beginning-of-defun)
657         (octave-auto-fill): Use octave-looking-at-kw instead of looking-at,
658         to search for regexps that contain case-sensitive keywords.
659         (octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw.
660         (octave-scan-blocks): Likewise, for octave-re-search-forward-kw.
662 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
664         * frame.el (select-frame-set-input-focus): Fix typo "max" -> "mac".
665         Do not use a single clause cond.
667         * cus-start.el (all): Use test that does not match the X11 version
668         for mac.
670 2007-10-13  Markus Gritsch  <m.gritsch@gmail.com>  (tiny change)
672         * progmodes/ebrowse.el (ebrowse-tree-mode): Disable undo in the
673         BROWSE buffer.
675 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
677         * cus-start.el (all): Undo previous change.
679 2007-10-13  Glenn Morris  <rgm@gnu.org>
681         * woman.el (woman0-rename): Fix paren typo.
683         * mail/feedmail.el (feedmail-run-the-queue)
684         (feedmail-look-at-queue-directory):
685         * mail/reporter.el (reporter-dump-state):
686         * net/eudc-hotlist.el (eudc-edit-hotlist):
687         * net/eudc.el (eudc-display-records)
688         (eudc-filter-duplicate-attributes)
689         (eudc-distribute-field-on-records, eudc-query-form, eudc-process-form):
690         * net/eudcb-bbdb.el (eudc-bbdb-filter-non-matching-record)
691         (eudc-bbdb-query-internal):
692         * net/eudcb-ldap.el (eudc-ldap-simple-query-internal):
693         * net/socks.el (socks-build-auth-list):
694         * progmodes/cc-cmds.el (top level):
695         * progmodes/cc-styles.el (c-make-styles-buffer-local, c-set-style):
696         * progmodes/cperl-mode.el (top level, cperl-imenu-addback)
697         (cperl-write-tags, cperl-tags-treeify):
698         * progmodes/ebnf-yac.el (ebnf-yac-token-table):
699         * progmodes/ebnf2ps.el (ebnf-map-name, ebnf-dimensions):
700         * progmodes/idlw-shell.el (idlwave-shell-filter-bp, top level):
701         * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere)
702         (idlwave-toolbar-remove-everywhere):
703         * progmodes/idlwave.el (idlwave-indent-line)
704         (idlwave-sintern-keyword-list, idlwave-scan-user-lib-files)
705         (idlwave-write-paths, idlwave-all-method-classes)
706         (idlwave-all-method-keyword-classes, idlwave-entry-keywords)
707         (idlwave-fix-keywords, idlwave-display-calling-sequence)
708         (idlwave-complete-in-buffer):
709         * textmodes/org.el (org-export-as-html, org-export-as-ascii)
710         (org-fast-tag-selection):
711         * textmodes/reftex-sel.el (reftex-select-item): Use mapc rather
712         than mapcar.
714 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
716         * diff-mode.el (diff-fine-change): Add :group.
718 2007-10-12  Dan Nicolaescu  <dann@ics.uci.edu>
720         * cus-start.el (all): Use the same test as the 22.2 branch.
722 2007-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
724         * diff-mode.el (diff-current-defun): Force recomputation of
725         change-log-default-name.
727 2007-10-12  Chong Yidong  <cyd@stupidchicken.com>
729         * startup.el (fancy-startup-screen): Remove an unnecessary newline
730         and some leftover logic regarding dedicated frames.  If showing
731         concise startup screen, fit window to buffer.
732         (command-line-1): If we will be using the splash screen, use
733         find-file instead of find-file-other-window to find additional files.
734         Comment out unused code for coping with the old sit-for behavior.
736 2007-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
738         * term/xterm.el (xterm-function-map, xterm-alternatives-map): Use the
739         `meta' modifier consistently, rather than using sometimes meta
740         sometimes alt.
742 2007-10-12  Martin Rudalics  <rudalics@gmx.at>
744         * window.el (handle-select-window): Revert part of 2007-10-08
745         change setting the input focus.
747 2007-10-12  Glenn Morris  <rgm@gnu.org>
749         * startup.el (command-line): Do not read abbrev file in batch mode.
751         * emacs-lisp/byte-opt.el (top level):
752         * mail/rmail.el (rmail-list-to-menu):
753         * obsolete/hilit19.el (hilit-mode):
754         * progmodes/cc-mode.el (c-postprocess-file-styles)
755         (c-submit-bug-report):
756         * textmodes/org-publish.el (org-publish-get-plist-from-filename):
757         * textmodes/reftex.el (reftex-erase-all-selection-and-index-buffers)
758         (reftex-access-parse-file):
759         * textmodes/reftex-cite.el (reftex-do-citation)
760         (reftex-insert-bib-matches):
761         * textmodes/reftex-ref.el (reftex-offer-label-menu):
762         * textmodes/reftex-sel.el (reftex-select-unmark):
763         * textmodes/reftex-toc.el (reftex-toc-do-promote):
764         * vc-mcvs.el (vc-mcvs-checkin): Use mapc rather than mapcar.
766         * cus-edit.el (custom-variable-menu, custom-face-menu)
767         (custom-group-menu): Check init-file-user rather than
768         user-init-file, in case cus-edit is loaded by site-run-file.
770 2007-10-11  Dan Nicolaescu  <dann@ics.uci.edu>
772         * vc.el (vc-deduce-fileset): Delete unused code.
773         (vc-next-action): Fix typos.
775 2007-10-11  Juanma Barranquero  <lekktu@gmail.com>
777         * bs.el (bs--mark-unmark): New function.
778         (bs-mark-current, bs-unmark-current): Use it.
780 2007-10-11  Eric S. Raymond  <esr@snark.thyrsus.com>
782         * vc.el (vc-diff):
783         (vc-diff-internal): Merge a patch by Juanma Barranquero.  Also,
784         temporarily disable the check for his edge case of
785         vc-diff (stopping it from grinding when called from $HOME), as
786         it's calling some brittle code in vc-hooks.el.
787         (with-vc-properties): Fix evaluation time of a macro argument.
788         * ediff-vers.el (ediff-vc-internal):
789         * vc-hooks.el:
790         * loaddefs.el: Follow up on VC terminology change.
792 2007-10-11  Juanma Barranquero  <lekktu@gmail.com>
794         * follow.el (follow-stop-intercept-process-output):
795         Use `follow-call-process-filter' rather than `process-filter'.
796         Simplify.
797         * vc.el (vc0iff): Prevent errors in an edge case.
799 2007-10-11  Eric S. Raymond  <esr@snark.thyrsus.com>
801         * vc-hooks.el (vc-registered): Robustify this function a bit
802         against filenames with no directory component.
804 2007-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
806         * international/characters.el: Undo unwanted and unexplained change.
808 2007-10-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
810         * ps-print.el: Fix the usage of :foreground and :background face
811         attributes.  Reported by Nikolaj Schumacher <n_schumacher@web.de>.
812         (ps-print-version): New version 6.7.6.
813         (ps-face-attributes, ps-face-attribute-list, ps-face-background):
814         Fix code.
815         (ps-face-foreground-color-p, ps-face-background-color-p)
816         (ps-face-color-p): New inline funs.
818 2007-10-10  Carsten Dominik  <dominik@science.uva.nl>
820         * org.el (org-additional-option-like-keywords): New constant.
821         (org-complete): Use `org-additional-option-like-keywords'.
822         (org-parse-local-options): New function.
824 2007-10-10  Carsten Dominik  <dominik@science.uva.nl>
826         * org.el (org-in-clocktable-p): New function.
827         (org-clock-report): Only update the table at point, or insert a
828         new one.
829         (org-clock-goto): New function.
830         (org-open-file): Use `start-process-shell-command' instead of
831         `shell-command' with an ampersand.
832         (org-deadline, org-schedule): New argument REMOVE to remove the
833         date from the entry.
834         (org-agenda-schedule, org-agenda-deadline): Pass the prefix
835         argument to `org-schedule' and `org-deadline'.
836         (org-trim): Use the correct expressions for beginning and end of
837         the string.
838         (org-get-cleaned-entry): Trim the string before returning it.
839         (org-clock-find-position): New function.
840         (org-clock-into-drawer): New option.
841         (org-agenda-tags-column): Rename from
842         `org-agenda-align-tags-to-column'.
843         (org-agenda-align-tags): Allow negative values for
844         `org-agenda-tags-column'.
845         (org-insert-labeled-timestamps-before-properties-drawer): Remove var.
846         (org-agenda-to-appt): New optional argument FILTER.
847         (org-completion-fallback-command): New variable.
848         (org-complete): Use `org-completion-fallback-command'.
849         (org-find-base-buffer-visiting): Catch the case that there is no
850         buffer visiting the file.
851         (org-property-or-variable-value): New function.
852         (org-todo): Use `org-property-or-variable-value'
853         (org-agenda-compact-blocks): New option.
854         (org-prepare-agenda, org-agenda-list): Use `org-agenda-compact-blocks'.
855         (org-agenda-schedule, org-agenda-deadline):
856         Call `org-agenda-show-new-time'.
857         (org-agenda-show-new-time): New argument PREFIX.
858         (org-colgroup-info-to-vline-list): Fix but that cause a
859         shift in the vertical lines.
860         (org-buffer-property-keys): New argument INCLUDE-DEFAULTS.
861         (org-maybe-renumber-ordered-list, org-cycle-list-bullet)
862         (org-indent-item): No arg in call to `org-fix-bullet-type'.
863         (org-fix-bullet-type): Remove argument.
864         (org-read-date): Check for am/pm twice, to catch the end time.
865         (org-goto-map): Use `suppress-keymap'.
866         (org-remember-apply-template): Respect the dynamically scoped
867         selection character.
869         * org.texi (Appointment reminders): New section.
871 2007-10-10  Bastien Guerry  <Bastien.Guerry@ens.fr>
873         * org-export-latex.el (org-export-latex-protect-string):
874         Renaming of `org-latex-protect'.
875         (org-export-latex-emphasis-alist): By default, don't protect
876         any emphasis formatter from further conversion.
877         (org-export-latex-tables): Honor column grouping for tables.
878         (org-export-latex-title-command): New option.
879         (org-export-latex-treat-backslash-char): Use \textbackslash{} to
880         export backslash character.
882 2007-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
884         * frame.el (frame-inherited-parameters): Remove unused `environment'
885         parameter, and let server.el add `client' when needed.
887         * server.el (server-create-tty-frame)
888         (server-create-window-system-frame): Set frame-inherited-parameters.
890         * frame.el (frame-inherited-parameters): New var.
891         (make-frame): Use it.
893         * font-lock.el (lisp-font-lock-keywords-2): Remove let-environment.
895         * env.el (let-environment): Remove.  Unused.
896         (read-envvar-name): Simplify.
897         (setenv): Remove unused arg `frame'.
899         * help-fns.el (describe-variable): Add missing "  " for multiline
900         obsolescence info and missing EOL after global value.
902 2007-10-10  Eric S. Raymond  <esr@snark.thyrsus.com>
904         * add-log.el:
905         * ediff-vers.el:
906         * log-view.el:
907         * pcvs.el:
908         * vc-arch.el:
909         * vc-bzr.el:
910         * vc-cvs.el:
911         * vc.el:
912         * vc-git.el:
913         * vc-hg.el:
914         * vc-hooks.el:
915         * vc-mcvs.el:
916         * vc-mtn.el:
917         * vc-rcs.el:
918         * vc-sccs.el:
919         * vc-svn.el: Terminology cleanup: workfile-version -> working-revision,
920         {find,init,next,previous,annotate-*,log}-version ->
921         {find,init,next,previous,annotate-*,log}-revision,
922         annotate-focus-version -> annotate-working-revision, The term
923         'focus' is gone.  The term 'revision' is now used consistently
924         everywhere that reference to a revision ID is intended, replacing
925         older use of 'version'.
927 2007-10-10  Juanma Barranquero  <lekktu@gmail.com>
929         * follow.el: Change all instances of "Follow Mode" to "Follow
930         mode" in docstrings and messages.
931         (follow-menu-filter): Fix arg passed to `bound-and-true-p'.
933 2007-10-10  Eric S. Raymond  <esr@snark.thyrsus.com>
935         * vc.el (vc-next-action): Rewrite completely; this principal
936         entry point now operates on a current fileset selected either
937         explicitly via VC-Dired or implicitly by visiting a file buffer,
938         rather than always operating on the file of the current buffer as
939         in older versions.  Rewrite the rest of the mode to match.
940         (with-vc-properties): Rewrite to operate on a file list.
941         (with-vc-file): vc-checkin takes a file list argument now.
942         (vc-post-command-functions): This hook now receives a file list.
943         (vc-do-command): Take a either a file or a file list as argument.
944         (vc-deduce-fileset): New function for deducing a file list to
945         operate on.
946         (vc-next-action-on-file, vc-next-action-dired): Remove.
947         Merge into vc-next-action.
948         (vc-register): Adapt to the fact that vc-start-entry now takes a
949         file list.
950         (vc-register-with): New function.
951         (vc-start-entry): Take a file list argument rather than a
952         file argument.
953         (vc-checkout): Cope with vc-start-entry taking a file list.
954         (vc-steal-lock): Cope with with-vc-properties taking a
955         file list.
956         (vc-checkin): Take a file list argument rather than a file argument.
957         (vc-finish-logentry): Use the filelist passed by vc-start-entry.
958         (vc-diff-internal): Rewrite for filesets.
959         (vc-diff-sentinel): New function, tests whether changes were
960         written into a diff buffer.
961         (vc-diff): Rewrite for filesets.
962         (vc-version-diff): Rewrite for filesets.
963         (vc-print-log): Take a fileset argument.
964         (vc-revert): Revert the entire selected fileset, not just the
965         current buffer.
966         (vc-rollback): Roll back the entire selected fileset, if
967         possible.  No longer accepts a prefix argument.
968         (vc-update): Merge new changes for the entire selected
969         fileset, not just the current buffer.
970         (vc-revert-file): Cope with with-vc-properties taking a file list.
971         (vc-default-dired-state-info): Add + status suffix if the file is
972         modified.
973         (vc-annotate-warp-version): Use the new diff machinery.
974         (vc-log-edit): Take a file list argument rather than a file argument.
976 2007-10-10  Michael Albinus  <michael.albinus@gmx.de>
978         Sync with Tramp 2.1.11.
980         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
981         Pacify byte compiler.
983         * net/trampver.el: Update release number.
985 2007-10-09  Richard Stallman  <rms@gnu.org>
987         * play/gamegrid.el (gamegrid-setup-default-font): Use face-spec-set.
989 2007-10-09  Juanma Barranquero  <lekktu@gmail.com>
991         * follow.el: Require easymenu.
992         (follow-mode-hook, follow-mode): Doc fixes.
993         (follow-mode-off-hook): Mark as obsolete.
995 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
997         * window.el (mouse-autoselect-window-cancel): Don't cancel for
998         select-window or select-frame events.
999         (handle-select-window): When autoselecting window set input
1000         focus.  Restructure.
1002         * frame.el (focus-follows-mouse): Move to frame.c.
1003         * cus-start.el (all): Add focus-follows-mouse.
1005 2007-10-08  Juanma Barranquero  <lekktu@gmail.com>
1007         * bs.el (bs-mode): Make sure global-font-lock-mode doesn't
1008         activate font-locking in the *buffer-selection* buffer.
1009         (bs-show-sorted): Doc fix.
1011         * bs.el (bs--get-marked-string, bs--get-modified-string)
1012         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1013         (bs--get-mode-name, bs-mode): Fix typos in docstrings.
1014         (bs--format-aux): Doc fix.
1016 2007-10-08  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
1018         * progmodes/gud.el (gud-gud-gdb-command-name): Fix typo in docstring.
1020 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
1022         * progmodes/gud.el (gud-gud-gdb-command-name): New option.
1023         (gud-gdb): New function for old M-x gdb (text command mode).
1024         (gud-gdb-command-name, gdb): Move to...
1026         * progmodes/gdb-ui.el: ...here and adapt doc string.
1027         (gud-gdba-command-name, gdba): Delete.
1029 2007-10-08  Juanma Barranquero  <lekktu@gmail.com>
1031         * bs.el: Don't defvar `font-lock-verbose'.
1032         (bs-config-clear, bs-kill, bs-string-show-normally, bs-sort-functions)
1033         (bs--get-file-name): Fix typos in docstrings.
1034         (bs--show-header): Use `dolist' instead of `mapcar'.
1035         (bs-mode): Set `show-trailing-whitespace' to nil.
1036         (bs-buffer-sort-function, bs-mouse-select-other-frame)
1037         (bs-visits-non-file, bs-sort-buffer-interns-are-last, bs-show):
1038         Doc fixes.
1040 2007-10-08  Adam Hupp  <adam@hupp.org>  (tiny change)
1042         * progmodes/gdb-ui.el (pdb): Specify file for gud-break.
1044 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
1046         * progmodes/gud.el (gdb): Make graphical mode the default and
1047         switch to text command mode if appropriate, i.e., reverse previous
1048         arrangement.
1049         (gud-gdb-marker-filter): Adapt for above change.
1051         * progmodes/gdb-ui.el (gdb-init-1): Don't set the values
1052         gud-minor-mode and gud-marker-filter.
1053         (gdb-fullname-regexp): New variable.
1054         (gud-gdba-marker-filter): Use it to switch to text command
1055         mode if appropriate.
1057 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
1059         * progmodes/gud.el (gud-display-line): Find source buffer even when
1060         GUD buffer has its own frame.
1062 2007-10-08  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
1064         * term/x-win.el (icon-map-list): Set to nil for 22.1 compatibility.
1066 2007-10-08  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
1068         * term/x-win.el (x-gtk-stock-map): Version is 22.2.
1070 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
1072         * allout.el (allout-before-change-handler): Replace got-char by
1073         goto-char.
1075 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1077         * vc-svn.el (vc-svn-resolve-when-done, vc-svn-find-file-hook): New funs.
1078         Used to try and automatically enabled smerge-mode in the presence of
1079         conflicts and to call `svn resolved' when the conflicts are gone.
1080         (vc-svn-parse-status): Remember the svn-specific status.
1082 2007-10-08  Eli Zaretskii  <eliz@gnu.org>
1084         * menu-bar.el (menu-bar-search-documentation-menu): Rename from
1085         menu-bar-apropos-menu.  All users changed.
1086         (menu-bar-help-menu): Change menu symbols to better match the text
1087         displayed by the menu.
1089 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1091         * files.el (file-name-sans-versions): Use [:alnum:] and also allow
1092         #, @, : and ^.
1094 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1096         * pcvs-defs.el (cvs-mode-map): Bind TAB and backtab.
1098         * log-view.el (log-view-mode-map): Likewise.
1100         * diff-mode.el (diff-mode-shared-map): Likewise.
1102 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1104         * files.el (file-name-sans-versions): Also allow `A-Z'.
1106         * vc.el: Mention all supported VC backends.
1108 2007-10-08  Richard Stallman  <rms@gnu.org>
1110         * wid-edit.el (widget-specify-button): Don't merge mouse-face with
1111         neighbouring buttons.
1113 2007-10-08  Andreas Schwab  <schwab@suse.de>
1115         * files.el (file-name-sans-versions): Also allow `_'.
1117 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1119         * files.el (file-name-sans-versions): Allow - and a-z in version names.
1121         * log-view.el (log-view-mode-map, log-view-mode-menu):
1122         Bind log-view-annotate-version.
1123         (log-view-beginning-of-defun, log-view-end-of-defun)
1124         (log-view-annotate-version): New functions.
1125         (log-view-mode): Use log-view-beginning-of-defun and
1126         log-view-end-of-defun.
1128 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1130         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix staging.
1132 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1134         * wid-edit.el (widget-image-insert): Don't merge mouse-face with
1135         neighbouring buttons.
1137         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1138         Recognize gcc's use of "note" for informational messages.
1140 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1142         * textmodes/css-mode.el (css-electric-keys): electrick->electric.
1143         (css-mode): Update correspondingly.
1145 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1147         * vc-git.el (vc-git-log-view-mode): Add font-lock patterns for
1148         Signed-off-by, Acked-by and Merge.
1150 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1152         * ediff-init.el (ediff-verbose-p): This var is not a constant.
1154 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1156         * vc-mtn.el: New file.
1158         * vc-hooks.el (vc-handled-backends): Add Mtn.
1160 2007-10-08  Eli Zaretskii  <eliz@gnu.org>
1162         * files.el (find-file, find-file-other-window)
1163         (find-file-other-frame, find-file-existing, find-file-read-only)
1164         (find-file-read-only-other-window)
1165         (find-file-read-only-other-frame)
1166         (find-alternate-file-other-window, find-alternate-file): Doc fixes.
1168 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
1170         * progmodes/gud.el (gdb-ready): New variable.
1171         (gdb): Set it to nil.  Set gud-running to nil here...
1172         (gud-common-init): ...instead of here.
1174         * progmodes/gdb-ui.el (gdba, gdb-send, gdb-source-info):
1175         Use gdb-ready.  Discard input until GDB is ready to accept it.
1177 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
1179         * dired.el (dired-warning): Inherit from font-lock-warning-face to
1180         make it show up with eight colors.
1182 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1184         * diff-mode.el (diff-sanity-check-hunk): Fix up the case when unified
1185         diffs are concatenated with no intervening line.
1187 2007-10-08  Dave Love  <fx@gnu.org>
1189         * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
1190         (python-font-lock-keywords): Update to the 2.5 version of the language.
1191         (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
1192         (python-backspace): Only behave funny in code.
1193         (python-compilation-regexp-alist): Add PDB stack trace regexp.
1194         (inferior-python-mode): Add PDB prompt regexp.
1195         (python-fill-paragraph): Refine the fenced-string regexp.
1196         (python-find-imports): Handle imports spanning several lines.
1197         (python-mode): Add `class' to hideshow support.
1199 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1201         * pcvs.el (cvs-mode-add-change-log-entry-other-window):
1202         Use add-log-buffer-file-name-function rather than binding
1203         buffer-file-name, so we don't end up calling change-log-mode in *cvs*
1204         when `fi' is the ChangeLog file itself.
1206         * outline.el (outline-flag-region): Use front-advance.
1208 2007-10-08  Ilya Zakharevich  <ilyaz@cpan.org>
1210         * progmodes/cperl-mode.el: Merge upstream 5.23.
1211         (cperl-where-am-i): Remove function.
1212         (cperl-backward-to-noncomment): Don't go too far when skipping POD/HEREs
1213         (cperl-sniff-for-indent): De-invert [string] and [comment].
1214         When looking for label, skip s:m:y:tr.
1215         (cperl-indent-line): Likewise.
1216         (cperl-mode): Don't assume `font-lock-multiline' is auto-local.
1217         (cperl-windowed-init): Wrong `ps-print' handling.
1218         Both thanks to Chong Yidong.
1219         (cperl-look-at-leading-count): Could fail with unfinished RExen.
1220         (cperl-find-pods-heres): If the second part of s()[] is missing,
1221         don't try to highlight delimiters...
1223 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1225         * progmodes/compile.el (compilation-get-file-structure): Complete last
1226         change by also using spec-directory in the puthash.
1228 2007-10-08  Riccardo Murri  <riccardo.murri@gmail.com>
1230         * vc-bzr.el (vc-bzr-file-name-relative): Use 'when' instead of 'and'.
1231         (vc-bzr-status): Fix shadowing of variable 'status'.
1232         (vc-bzr-workfile-version): Use correct path to 'last-revision' file.
1233         Use `expand-file-name' instead of `concat'.
1234         (vc-bzr-annotate-command): Use option name '--long' instead of '-l'.
1235         Update annotation line regexp.  Fixes launchpad.net [Bug 137435].
1237 2007-10-08  Jason Rumney  <jasonr@gnu.org>
1239         * frame.el (focus-follows-mouse): Doc-fix. Change default on w32.
1241 2007-10-08  Richard Stallman  <rms@gnu.org>
1243         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Make defcustom.
1244         Add `safe-local-variable' property.
1245         (lisp-body-indent): Likewise.
1247 2007-10-08  Richard Stallman  <rms@gnu.org>
1249         * files.el (hack-local-variables-confirm): Rename arg VARS to ALL-VARS.
1250         Add doc string.
1252 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
1254         * files.el (backup-buffer-copy): Try to overwrite old backup first.
1256 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
1258         * repeat.el (repeat): Use last-repeatable-command instead of
1259         real-last-command.  Run pre- and post-command hooks for
1260         self-insertion.  Update doc-string.
1262 2007-10-08  Alexandre Julliard  <julliard@winehq.org>
1264         * vc-git.el (vc-git-state): Call git-add --refresh to update the
1265         state of the file.
1266         (vc-git-workfile-unchanged-p): Delegate implementation to vc-git-state.
1267         (vc-git-create-repo): Fix invalid command.
1269 2007-10-08  Richard Stallman  <rms@gnu.org>
1271         * textmodes/flyspell.el (flyspell-mode):
1272         Catch errors in flyspell-mode-on.
1274 2007-10-09  Juanma Barranquero  <lekktu@gmail.com>
1276         * term/x-win.el (x-alternatives-map): Remove spurious parenthesis.
1278 2007-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1280         * international/encoded-kb.el (encoded-kbd-setup-display):
1281         Use input-decode-map rather than local-key-translation-map.
1283         * term/rxvt.el (rxvt-alternatives-map): New map.
1284         (terminal-init-rxvt): Use it.
1285         Bind rxvt-function-map in input-decode-map.
1287         * term/xterm.el (xterm-alternatives-map): New map.
1288         (terminal-init-xterm): Use it.
1289         Bind xterm-function-map in input-decode-map.
1291         * term/x-win.el (x-alternatives-map): New var.
1292         (x-setup-function-keys): Use it.
1294         * help-fns.el (describe-variable): Slightly change the layout of
1295         meta-info to separate it better from the docstring.
1296         Standardize insertion of extra empty lines in various circumstances.
1298         * diff-mode.el (diff-hunk-style): New fun.
1299         (diff-end-of-hunk): Use it.
1300         (diff-context->unified): Use the new `apply' undo element,
1301         if applicable, so as to save undo-log space.
1302         (diff-fine-change): New face.
1303         (diff-fine-highlight-preproc): New function.
1304         (diff-fine-highlight): New command.
1305         (diff-mode-map, diff-mode-menu): Add diff-fine-highlight.
1307         * smerge-mode.el (smerge-refine-chopup-region): Add `preproc' argument.
1308         (smerge-refine-highlight-change): Add `props' argument.
1309         (smerge-refine-subst): New function holding most of smerge-refine.
1310         (smerge-refine): Use it.
1312 2007-10-08  Eric S. Raymond  <esr@snark.thyrsus.com>
1314         * vc.el (vc-default-wash-log): Remove unused code, the
1315         log washers all live in the backends now.
1316         (vc-default-comment-history): Correct for the fact
1317         that wash-log is argumentless in the new API.
1319 2007-10-08  Michael Albinus  <michael.albinus@gmx.de>
1321         * net/tramp.el (tramp-find-foreign-file-name-handler): Check also host.
1322         (tramp-maybe-send-script): Apply `member' but `memq'.
1323         (tramp-advice-file-expand-wildcards): Simplify implementation.
1325 2007-10-08  Juanma Barranquero  <lekktu@gmail.com>
1327         * follow.el (follow-mode): Don't run hooks twice.  Use `when'.
1329         * mb-depth.el (minibuf-depth-indicator-function): New variable.
1330         (minibuf-depth-setup-minibuffer): Use it.
1332 2007-10-07  Glenn Morris  <rgm@gnu.org>
1334         * simple.el (bad-packages-alist): Clarify Semantic and CEDET
1335         version numbers.
1337 2007-10-06  Juri Linkov  <juri@jurta.org>
1339         * textmodes/fill.el (fill-paragraph-or-region): New function.
1341         * bindings.el (esc-map): Bind M-q to fill-paragraph-or-region
1342         instead of fill-paragraph.
1344         * tutorial.el (tutorial--default-keys): Replace fill-paragraph
1345         with fill-paragraph-or-region.  Suspend command is now the same
1346         `suspend-frame' on window systems and on tty.
1348         * image.el (image-type): Check if image-types is bound to not fail
1349         on tty.
1351         * delsel.el (delete-selection-pre-hook):
1352         * emulation/cua-base.el (cua-paste): Check if mouse-region-match
1353         is fbound to not fail on mouseless tty.
1355 2007-10-06  Michael Albinus  <michael.albinus@gmx.de>
1357         * net/tramp.el (top): Move loading of tramp-util.el and
1358         tramp-vc.el to tramp-compat.el.
1359         (tramp-make-tramp-temp-file): Complete rewrite.  Create remote
1360         temporary file if possible, in order to avoid a security hole.
1361         (tramp-do-copy-or-rename-file-out-of-band)
1362         (tramp-maybe-open-connection): Call `tramp-make-tramp-temp-file'
1363         with DONT-CREATE, because the connection is not setup yet.
1364         (tramp-handle-process-file): Rewrite temporary file handling.
1365         (tramp-completion-mode): New defvar.
1366         (tramp-completion-mode-p): Use it.
1368         * net/tramp-compat.el (top): Load tramp-util.el and tramp-vc.el.
1370         * net/tramp-fish.el (tramp-fish-handle-process-file):
1371         Rewrite temporary file handling.
1373 2007-10-06  Eric S. Raymond  <esr@snark.thyrsus.com>
1375         * vc.el: Workfile version -> focus version change.  Port various
1376         comments from new VC to reduce the noise in the diff.
1377         Patch in the new vc-create-repo function to go with the
1378         header comment about it already present.
1379         There are no changes to existing logic in this patch.
1380         (vc-revert-buffer1): Rename to vc-revert-buffer-internal.
1382 2007-10-06  Aaron Hawley  <aaronh@garden.org>
1384         * autoinsert.el (auto-insert-alist): Add a Texinfo entry.
1386 2007-10-05  Chris Moore  <dooglus@gmail.com>
1388         * server.el (server-kill-new-buffers): Doc fix.
1390 2007-10-05  John W. Eaton  <jwe@octave.org>
1392         * progmodes/octave-mod.el (octave-abbrev-table): Add "until".
1393         (octave-begin-keywords): Add "do".
1394         (octave-end-keywords): Remove "end".
1395         (octave-reserved-words): Add "end".  Remove "all_va_args",
1396         "gplot", and 'gsplot".
1397         (octave-text-functions): Remove "gset", "gshow", "set", and "show".
1398         (octave-variables): Remove "IMAGEPATH", "INFO_FILE",
1399         "INFO_PROGRAM", "LOADPATH", "__error_text__", "automatic_replot",
1400         "default_return_value", "define_all_return_values",
1401         "do_fortran_indexing", "empty_list_elements_ok",
1402         "gnuplot_has_multiplot", "implicit_str_to_num_ok",
1403         "ok_to_lose_imaginary_part", "prefer_column_vectors",
1404         "prefer_zero_one_indexing", "propagate_empty_matrices",
1405         "resize_on_range_error", "treat_neg_dim_as_zero",
1406         "warn_assign_as_truth_value", "warn_comma_in_global_decl",
1407         "warn_divide_by_zero", "warn_function_name_clash",
1408         "warn_missing_semicolon", "whitespace_in_literal_matrix".
1409         Add "DEFAULT_EXEC_PATH", "DEFAULT_LOADPATH", "IMAGE_PATH",
1410         "crash_dumps_octave_core", "sighup_dumps_octave_core",
1411         "sigterm_dumps_octave_core".
1412         (octave-block-match-alist): Remove "end" from block-end keywords.
1413         (octave-mode): Update ftp site address.
1415 2007-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
1417         * vc.el: Reorder functions, no code changes.
1419 2007-10-04  Michael Albinus  <michael.albinus@gmx.de>
1421         * net/tramp.el (tramp-make-temp-file): Move to tramp-compat.el.
1422         (tramp-do-copy-or-rename-file-directly): Handle tmpfile only in
1423         the cond clauses where needed.
1424         (tramp-handle-write-region): Rearrange code for proper handling of
1425         tmpfile.
1427         * net/tramp-compat.el (tramp-compat-make-temp-file): New defsubst.
1429         * net/tramp.el:
1430         * net/tramp-fish.el:
1431         * net/tramp-ftp.el:
1432         * net/tramp-smb.el: Rename `tramp-make-temp-file' to
1433         `tramp-compat-make-temp-file'.
1435 2007-10-04  Juanma Barranquero  <lekktu@gmail.com>
1437         * image-dired.el (image-dired-image-at-point-p): Fix typo in docstring.
1439 2007-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1441         * emacs-lisp/copyright.el (copyright-update): Don't update if the file
1442         already uses a more recent copyright version than the "current" one.
1444 2007-10-03  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
1446         * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-reset-slice)
1447         (doc-view-insert-image): Minor aesthetical docstring changes.
1449 2007-10-03  Tassilo Horn  <tassilo@member.fsf.org>
1451         * doc-view.el (doc-view): Don't ignore pdf and dvi files when
1452         completing filename.
1453         (doc-view-search-internal): Docstring change.
1455 2007-10-03  Michael Albinus  <michael.albinus@gmx.de>
1457         * net/tramp.el (top): Add tramp-compat to `tramp-unload-hook'.
1458         (tramp-file-name-handler-alist):
1459         Add `tramp-handle-insert-file-contents-literally'.  Needed for XEmacs.
1460         (tramp-make-temp-file): Use `make-temp-name'.  `make-temp-file',
1461         used before, creates the file already, which is not desired.
1462         (tramp-do-copy-or-rename-file-directly): Simplify handling of
1463         temporary file.
1464         (tramp-handle-insert-file-contents): Assign the result in the
1465         short track case.
1466         (tramp-handle-insert-file-contents-literally): New defun.
1467         (tramp-completion-mode-p): Revert change from 2007-09-24.
1468         Checking for `return' etc as last character is not sufficient, for
1469         example in dired-mode when entering <g> (revert-buffer) or
1470         <s> (dired-sort).
1472         * net/tramp-compat.el (top): Add also compatibility code for loading
1473         appropriate timer package.
1474         (tramp-compat-copy-tree): Check for `subrp' and `symbol-file' in
1475         order to avoid autoloading problems.
1477         * net/tramp-fish.el:
1478         * net/tramp-smb.el: Move further compatibility code to tramp-compat.el.
1480         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Handle the case
1481         where the second parameter of `copy-file' or `rename-file' is a
1482         remote file but not via ftp.
1484 2007-10-02  Richard Stallman  <rms@gnu.org>
1486         * frame.el (cursor-in-non-selected-windows): Doc fix.
1488 2007-10-01  Thien-Thi Nguyen  <ttn@gnuvola.org>
1490         * play/zone.el (zone): Let-bind show-trailing-whitespace to nil.
1491         Suggested by Chris Moore <christopher.ian.moore@gmail.com>.
1493 2007-10-01  Jay Belanger  <jay.p.belanger@gmail.com>
1495         * calc/calc-math.el (math-largest-emacs-expt): Handle the cases
1496         when `expt' doesn't give range errors.
1498 2007-10-01  Markus Triska  <markus.triska@gmx.at>
1500         * calc/calc-math.el (math-smallest-emacs-expt):
1501         Make the computation more robust.
1503 2007-09-30  David Kastrup  <dak@gnu.org>
1505         * startup.el (argv): Alias for `command-line-args-left' to use as
1506         `(pop argv)' inside of --eval command sequences.  Allows for
1507         passing shell commands into Emacs verbatim without need for Lisp
1508         quoting.
1510         * autorevert.el (auto-revert-handler): In `auto-revert-tail-mode',
1511         check only for changed size.
1512         (auto-revert-tail-handler): Get size from caller.  If the file has
1513         shrunk, tail the whole file again (the file presumably has been
1514         rewritten).
1516         * woman.el (woman-topic-all-completions, woman-mini-help):
1517         Fix fallout from 2007-09-07 introduction of `dolist' when the list
1518         actually was being manipulated in the loop.
1519         (woman-Cyg-to-Win, woman-pre-process-region)
1520         (woman-horizontal-escapes, woman-if-body, woman-unescape)
1521         (woman-strings, woman-special-characters, woman1-hc)
1522         (woman-change-fonts, woman-find-next-control-line):
1523         Use `match-beginning' rather than `match-string' when the result is
1524         just used as a flag.
1526 2007-09-30  Michael Albinus  <michael.albinus@gmx.de>
1528         * net/tramp-compat.el: New file.
1530         * net/tramp.el:
1531         * net/tramp-fish.el:
1532         * net/tramp-smb.el:
1533         * net/tramp-uu.el:
1534         * net/trampver.el: Move compatibility code to tramp-compat.el.
1535         Apply `mapc' instead of `mapcar' when the code needs side effects
1536         only.  Move utf-8 coding cookie to the second line.
1538 2007-09-30  Reiner Steib  <Reiner.Steib@gmx.de>
1540         * term/x-win.el (x-gtk-stock-map): Add Gnus and MH-E icons.
1541         Improve custom type.
1542         (icon-map-list): Make it customizable.  Document how to disable
1543         stock icons.
1545 2007-09-30  Richard Stallman  <rms@gnu.org>
1547         * play/zone.el (zone-hiding-modeline): Use mode-line-format.
1549 2007-09-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
1551         * term/x-win.el (x-gtk-stock-map): Version is 22.2.
1553 2007-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1555         * t-mouse.el (gpm-mouse-mode): Rename from t-mouse-mode.  Rewrite.
1556         (t-mouse-mode): New compatibility alias.
1558 2007-09-28  Dan Nicolaescu  <dann@ics.uci.edu>
1560         * server.el (server-delete-client): Only delete the terminal if it
1561         is non-nil.
1563 2007-09-28  Michael Albinus  <michael.albinus@gmx.de>
1565         * net/tramp.el (with-file-property, with-connection-property):
1566         Highlight as keyword.
1567         (tramp-rfn-eshadow-setup-minibuffer)
1568         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1569         (tramp-set-file-uid-gid, tramp-do-copy-or-rename-file-via-buffer)
1570         (tramp-do-copy-or-rename-file-directly)
1571         (tramp-do-copy-or-rename-file-out-of-band)
1572         (tramp-handle-shell-command, tramp-get-debug-buffer)
1573         (tramp-send-command-and-read, tramp-equal-remote)
1574         (tramp-get-local-gid): Pacify byte-compiler.
1575         (tramp-handle-file-name-directory): Result shall not be expanded.
1576         (tramp-find-foreign-file-name-handler): Rewrite.
1577         (tramp-dissect-file-name): Add optional parameter NODEFAULT.
1579         * net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler.
1581         * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
1582         Apply `tramp-completion-mode-p'.
1583         (tramp-fish-handle-set-file-times)
1584         (tramp-fish-handle-executable-find)
1585         (tramp-fish-handle-process-file, tramp-fish-get-file-entries)
1586         (tramp-fish-retrieve-data): Pacify byte-compiler.
1588         * net/tramp-gw.el (tramp-gw-basic-authentication):
1589         Call `tramp-read-passwd' with first parameter `nil'.
1591 2007-09-28  Glenn Morris  <rgm@gnu.org>
1593         * mail/supercite.el (sc-attribs-filter-namelist): Use mapc rather
1594         than mapcar.
1596         * textmodes/tex-mode.el (tex-suscript-height-ratio)
1597         (tex-suscript-height-minimum): New customizable variables.
1598         (tex-suscript-height): New function.
1599         (superscript, subscript): Set height using tex-suscript-height
1600         rather than fixing at 0.8.
1601         (tex-fontify-script, tex-font-script-display): Add :version tag.
1603 2007-09-27  Juanma Barranquero  <lekktu@gmail.com>
1605         * progmodes/python.el (python-eldoc-function): Doc fix.
1607 2007-09-27  Glenn Morris  <rgm@gnu.org>
1609         * image.el (image-type-auto-detected-p): Doc fix.  Don't detect an
1610         image if it is not in image-type-auto-detectable, or is there with
1611         a nil value.
1613 2007-09-27  Michael Albinus  <michael.albinus@gmx.de>
1615         * net/tramp.el (tramp-maybe-open-connection): Make test for alive
1616         connection more robust.
1618 2007-09-26  Juanma Barranquero  <lekktu@gmail.com>
1620         * emacs-lisp/eldoc.el (eldoc-function-argstring-format):
1621         Deal with the case that special &keywords are at the beginning or
1622         end of the argument list.  Also add some (incomplete) support for
1623         non-standard arglists.
1625 2007-09-26  Juanma Barranquero  <lekktu@gmail.com>
1627         * emacs-lisp/eldoc.el (eldoc-message-commands-table-size)
1628         (eldoc-message-commands, eldoc-current-idle-delay)
1629         (eldoc-function-argstring-format): Fix typos in docstrings.
1631 2007-09-26  Jay Belanger  <jay.p.belanger@gmail.com>
1633         * calc/calc-units.el (calc-convert-units)
1634         (calc-convert-temperature): Remove unnecessary colons.
1636 2007-09-26  Bastien Guerry  <bzg@altern.org>
1638         * org-export-latex.el (org-export-latex-tables-verbatim): New function.
1639         (org-export-latex-remove-from-headlines): Name changed because of typo.
1640         (org-export-latex-quotation-marks-convention): Option removed.
1641         (org-export-latex-make-preamble): Handle the DATE option.
1642         (org-export-latex-cleaned-string): Now the only cleaning function,
1643         synched up with org.el.
1644         (org-export-latex-lists, org-export-latex-parse-list)
1645         (org-export-list-to-latex): New functions.
1647 2007-09-26  Carsten Dominik  <dominik@science.uva.nl>
1649         * org.el (org-kill-is-subtree-p): Use `org-outline-regexp'.
1650         (org-outline-regexp): New constant.
1651         (org-remember-handler): Throw error when the target file is not in
1652         org-mode.
1653         (org-cleaned-string-for-export): No longer call
1654         `org-export-latex-cleaned-string' with an argument.
1655         (org-get-tags): Returns now a list, not a string.
1656         (org-get-tags-string): New function.
1657         (org-archive-subtree): No need to split return of `org-get-tags'.
1658         (org-set-tags, org-entry-properties): Call `org-get-tags-string'
1659         instead of `org-get-tags'.
1660         (org-agenda-format-date): Rename from `org-agenda-date-format'.
1661         (org-time-from-absolute, org-agenda-format-date-aligned): New funs.
1662         (org-compatible-face): New argument INHERITS.  Inherit from this
1663         face if possible.
1664         (org-level-1, org-level-2, org-level-3, org-level-4)
1665         (org-level-5, org-level-6, org-level-7, org-level-8)
1666         (org-special-keyword, org-drawer, org-column, org-warning)
1667         (org-archived, org-todo, org-done, org-headline-done, org-table)
1668         (org-formula, org-code, org-agenda-structure)
1669         (org-scheduled-today, org-scheduled-previously)
1670         (org-upcoming-deadline, org-time-grid): Call `org-compatible-face'
1671         in the new way.
1672         (org-get-heading): New argument NO-TAGS.
1673         (org-fast-tag-selection-include-todo): Made defvar instead of
1674         defcustom, feature is not deprecated.
1675         (org-remember-store-without-prompt): New default value t.
1676         (org-todo-log-states): New variable.
1677         (org-set-regexps-and-options): #+TODO is an alias for SEQ_TODO.
1678         Compute the log states.
1679         (org-goto-map): More commands copied from global map.  Also bind
1680         `org-occur'.
1681         (org-goto): Made into a general lookup command.
1682         (org-get-location): Complete rewrite.
1683         (org-goto-exit-command): New variable.
1684         (org-goto-selected-point): New variable.
1685         (org-goto-ret, org-goto-left, org-goto-right, org-goto-quit):
1686         Set the new variables.
1687         (org-paste-subtree): Whitespace insertion strategy revised.
1688         (org-remember-apply-template): Protect v-A from the possibility
1689         that v-a might be nil.
1690         (org-remember-handler): Insertion rules revised.
1691         (org-todo): Respect org-todo-log-states.
1692         (org-up-heading-safe): New function.
1693         (org-entry-get-with-inheritance): Use `org-up-heading-safe'.
1695 2007-09-26  Dan Nicolaescu  <dann@ics.uci.edu>
1697         * progmodes/cc-cmds.el (c-indent-line-or-region): Only indent the
1698         region if in transient-mark-mode.
1700 2007-09-26  Juanma Barranquero  <lekktu@gmail.com>
1702         * calc/calc-ext.el (calc-init-extensions, calc-reset):
1703         * calc/calc-help.el (calc-full-help):
1704         * calc/calc-misc.el (another-calc):
1705         * calc/calc-store.el (calc-var-name-map):
1706         * calc/calc-stuff.el (calc-flush-caches):
1707         * calc/calc-units.el (math-build-units-table):
1708         * calc/calc.el (calc-digit-map, calc-dispatch-map, calc-mode)
1709         (calc-quit):
1710         * calendar/icalendar.el (icalendar--format-ical-event)
1711         (icalendar--convert-ical-to-diary):
1712         * emacs-lisp/authors.el (authors):
1713         * emacs-lisp/cust-print.el (custom-print-install)
1714         (custom-print-uninstall):
1715         * emacs-lisp/disass.el (disassemble-1):
1716         * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1717         * emacs-lisp/edebug.el (byte-compile-resolve-functions):
1718         * emacs-lisp/elint.el (elint-current-buffer, elint-check-defun-form)
1719         (elint-check-let-form, elint-check-condition-case-form)
1720         (elint-initialize):
1721         * emacs-lisp/elp.el (elp-results):
1722         * emacs-lisp/generic.el (generic-mode-internal):
1723         * emacs-lisp/re-builder.el (reb-delete-overlays):
1724         * emacs-lisp/regi.el (regi-interpret):
1725         * emacs-lisp/sregex.el (sregex--char-aux):
1726         * emulation/cua-rect.el (cua--deactivate-rectangle)
1727         (cua--highlight-rectangle, cua--rectangle-post-command):
1728         * emulation/viper-keym.el (viper-toggle-key, viper-ESC-key):
1729         * emulation/viper-macs.el (viper-describe-kbd-macros)
1730         (viper-describe-one-macro):
1731         * emulation/viper-util.el (viper-setup-master-buffer):
1732         * emulation/viper.el (set-viper-state-in-major-mode):
1733         * international/mule-diag.el (describe-current-coding-system):
1734         * language/ethio-util.el (ethio-fidel-to-sera-buffer):
1735         * mail/emacsbug.el (report-emacs-bug):
1736         * net/ange-ftp.el (ange-ftp-call-chmod, ange-ftp-parse-bs2000-listing):
1737         * obsolete/hilit19.el (hilit-unhighlight-region)
1738         (hilit-set-mode-patterns):
1739         * play/solitaire.el (solitaire-check, solitaire-solve):
1740         * play/zone.el (zone-pgm-rotate):
1741         * progmodes/ada-mode.el (ada-save-exceptions-to-file):
1742         * progmodes/ada-prj.el (ada-prj-display-page):
1743         * progmodes/delphi.el (delphi-search-directory, delphi-find-unit-file)
1744         (delphi-debug-mode-map, delphi-mode-map, delphi-mode):
1745         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-view-exit-fn)
1746         (ebrowse-member-mode, ebrowse-save-tree-as, ebrowse-save-class):
1747         * progmodes/sh-script.el (sh-make-vars-local)
1748         (sh-reset-indent-vars-to-global-values):
1749         * progmodes/sql.el (top):
1750         * progmodes/vhdl-mode.el (vhdl-set-style, vhdl-regress-line):
1751         * progmodes/xscheme.el (top):
1752         * textmodes/artist.el (artist-mt-get-symbol-from-keyword-sub)
1753         (artist-go-retrieve-from-symbol-sub, artist-go-get-symbol-shift-sub)
1754         (artist-fc-retrieve-from-symbol-sub, artist-vaporize-line)
1755         (artist-vaporize-lines, artist-ellipse-compute-fill-info)
1756         (artist-submit-bug-report):
1757         * textmodes/flyspell.el (flyspell-delay-commands)
1758         (flyspell-deplacement-commands):
1759         * textmodes/table.el (table--generate-source-epilogue, table-insert)
1760         (table--generate-source-cells-in-a-row, table--make-cell-map)
1761         (*table--cell-describe-bindings): Use `mapc' rather than `mapcar'.
1763 2007-09-25  Juanma Barranquero  <lekktu@gmail.com>
1765         * allout.el (produce-allout-mode-map, allout-process-exposed):
1766         * ansi-color.el (ansi-color-make-color-map):
1767         * autoinsert.el (auto-insert):
1768         * bookmark.el (bookmark-bmenu-list, bookmark-show-all-annotations):
1769         * dired-aux.el (dired-create-files):
1770         * dired.el (dired-restore-desktop-buffer):
1771         * ediff-diff.el (ediff-setup-fine-diff-regions):
1772         * ediff-mult.el (ediff-intersect-directories)
1773         (ediff-redraw-directory-group-buffer, ediff-dir-diff-copy-file)
1774         (ediff-redraw-registry-buffer):
1775         * ediff-ptch.el (ediff-fixup-patch-map):
1776         * ediff-util.el (ediff-toggle-multiframe, ediff-toggle-use-toolbar)
1777         (ediff-really-quit, ediff-clear-diff-vector):
1778         * emerge.el (emerge-really-quit):
1779         * ffap.el (ffap-replace-file-component):
1780         * filecache.el (file-cache-add-directory)
1781         (file-cache-add-directory-recursively)
1782         (file-cache-add-from-file-cache-buffer, file-cache-delete-file-regexp)
1783         (file-cache-delete-directory, file-cache-files-matching-internal)
1784         (file-cache-display):
1785         * files.el (cd):
1786         * find-lisp.el (find-lisp-insert-directory):
1787         * finder.el (finder-compile-keywords):
1788         * help.el (view-emacs-news):
1789         * hi-lock.el (hi-lock-write-interactive-patterns):
1790         * ido.el (ido-to-end, ido-set-matches-1):
1791         * image-dired.el (image-dired-display-thumbs, image-dired-remove-tag)
1792         (image-dired-mark-tagged-files):
1793         * jka-cmpr-hook.el (jka-compr-get-compression-info):
1794         * printing.el (pr-eval-local-alist, pr-eval-setting-alist):
1795         * ps-print.el (ps-background, ps-begin-file)
1796         (ps-build-reference-face-lists):
1797         * simple.el (clone-buffer):
1798         * startup.el (command-line):
1799         * tempo.el (tempo-insert-template, tempo-is-user-element)
1800         (tempo-forward-mark, tempo-backward-mark):
1801         * woman.el (woman-dired-define-keys): Use `mapc' rather than `mapcar'.
1803 2007-09-25  Glenn Morris  <rgm@gnu.org>
1805         * textmodes/tex-mode.el (tex-font-script-display): Doc fix.
1807         * view.el (view-search-no-match-lines): Add a doc string.
1808         Rewrite to simplify and work better.
1810 2007-09-24  Dan Nicolaescu  <dann@ics.uci.edu>
1812         * progmodes/cc-mode.el (c-mode-base-map):
1813         Use c-indent-line-or-region instead of c-indent-line.
1815         * indent.el (indent-for-tab-command): First check if the region is
1816         active.
1818 2007-09-24  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
1820         * whitespace.el (whitespace-tickle-timer): Don't install the timer if
1821         whitespace-rescan-timer-time is 0.
1823 2007-09-24  Karl Berry  <karl@gnu.org>
1825         * international/mule.el (coding-system-base): Fix doc string grammar.
1827 2007-09-24  Michael Albinus  <michael.albinus@gmx.de>
1829         * net/tramp.el (tramp-completion-mode-p): Rename from
1830         `tramp-completion-mode'.  Revert logic, check `return', `newline'
1831         and such alike.  Packages like Icicles tend to use other completion
1832         characters but `tab' and `space' only.
1834 2007-09-24  Adam Hupp  <adam@hupp.org>
1836         * progmodes/python.el (run-python): Import emacs module without
1837         waiting; prevents lockup on error.
1839 2007-09-23  Richard Stallman  <rms@gnu.org>
1841         * mail/sendmail.el (mail-bury): Delete the frame
1842         if this frame looks like it was made for this message.
1844         * completion.el (completion-separator-self-insert-command)
1845         (completion-separator-self-insert-autofilling):
1846         If `self-insert-command' has been remapped, use the substitute.
1848         * simple.el (copy-region-as-kill): Doc fix.
1850         * textmodes/org.el (org-confirm-shell-link-function)
1851         (org-confirm-elisp-link-function): Doc fixes.
1853 2007-09-23  Glenn Morris  <rgm@gnu.org>
1855         * ses.el (ses-calculate-cell): Don't evaluate unsafe formulae.
1857 2007-09-23  Dan Nicolaescu  <dann@ics.uci.edu>
1859         * term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar.
1861         * term/tvi970.el (terminal-init-tvi970): Likewise.
1863         * term/sun-mouse.el (print-mouse-format): Likewise.
1865         * term/sun.el (scroll-down-in-place, scroll-up-in-place):
1866         Use forward-line instead of previous-line and next-line.
1868 2007-09-22  Juri Linkov  <juri@jurta.org>
1870         * textmodes/org.el (org-confirm-shell-link-function): Doc fix.
1872         * tutorial.el (tutorial--default-keys): Update standard bindings:
1873         rename `iconify-or-deiconify-frame' to `suspend-frame',
1874         and `save-buffers-kill-emacs' to `save-buffers-kill-terminal'.
1876 2007-09-22  Juri Linkov  <juri@jurta.org>
1878         * startup.el (fancy-startup-text, fancy-about-text, fancy-startup-tail):
1879         Add help-echo to external links and to links without description.
1880         (fancy-splash-insert): Use help-echo from the 3rd element of the
1881         link specification list, or "Follow this link" if it's nil.  Doc fix.
1883 2007-09-22  Juri Linkov  <juri@jurta.org>
1885         * startup.el (command-line): Rename `inhibit-startup-message' to
1886         `inhibit-startup-screen'.
1887         (fancy-about-text): Use shorter label for "Ordering Manuals".
1888         (fancy-startup-tail): Add optional arg `concise'.  When `concise'
1889         is nil, display a line with "To start..." and 3 links to useful
1890         tasks.  Display the "Dismiss" button and "Don't show this message
1891         again" only when concise is non-nil.
1892         (fancy-startup-screen): Call `fancy-startup-tail' with optional
1893         arg `concise'.  If CONCISE is non-nil, display a concise version
1894         of the splash screen in another window.  Otherwise, switch to the
1895         startup buffer in the same window.
1896         (startup-echo-area-message): Change displayed binding from
1897         C-h C-p (describe-project) to C-h C-a (about-emacs), and change
1898         text "about the GNU system and GNU/Linux" to "about GNU Emacs and
1899         the GNU system".
1900         (display-startup-screen): Fix buffer name from "*About GNU Emacs*"
1901         to "*GNU Emacs*".
1902         (display-about-screen): Don't check the existence of the buffer
1903         "*About GNU Emacs*".
1904         (display-splash-screen): Make alias to `display-startup-screen'.
1905         (command-line-1): Rename `inhibit-startup-message' to
1906         `inhibit-startup-screen'.  Inhibit startup screen when Emacs is
1907         started with command line options "-f", "-funcall", "-e", "-eval",
1908         "-execute", "-insert", "-find-file", "-file", "-visit".
1909         Inhibit startup screen when Emacs is started with a file name only
1910         on tty (i.e. don't inhibit it when started with a file name like
1911         "emacs FILE..." on a window system).
1912         (command-line-1): Simplify logic of displaying the startup screen:
1913         if file-count > 0, then display the concise version in another
1914         window, otherwise display full version in the same window.
1916         * help.el (help-map): Bind C-h C-a to about-emacs.
1917         (help-for-help-internal): Add C-a description to C-h help text.
1919 2007-09-22  Dan Nicolaescu  <dann@ics.uci.edu>
1921         * emacs-lisp/checkdoc.el (checkdoc-force-docstrings-flag)
1922         (checkdoc-permit-comma-termination-flag): Autoload the
1923         safe-local-variable setting.
1925         * bookmark.el (bookmark-xemacsp): Remove.
1926         (bookmark-make): Don't use bookmark-xemacsp,
1927         use (featurep 'xemacs) instead.
1929         * speedbar.el (speedbar-frame-mode)
1930         (speedbar-frame-reposition-smartly)
1931         (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps)
1932         (speedbar-check-vc): Remove use of non-existent variable
1933         dframe-xemacsp, use (featurep 'xemacs) instead.
1935         * indent.el (indent-for-tab-command): Indent the region if
1936         transient-mark-mode and the region is active.
1938 2007-09-21  Francesco Potort\e,Al\e(B  <pot@gnu.org>
1940         * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to
1941         add inferior-octave-directory-tracker to the buffer-local value
1942         of comint-input-filter-functions.
1944 2007-09-21  Dan Nicolaescu  <dann@ics.uci.edu>
1946         * xt-mouse.el (xterm-mouse-mode): Re-enable suspend-tty-functions.
1948 2007-09-21  Juanma Barranquero  <lekktu@gmail.com>
1950         * frame.el (suspend-frame): Call `iconify-or-deiconify-frame' also
1951         on w32 frames.
1953 2007-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1955         * startup.el (normal-top-level): Remove DISPLAY from
1956         process-environment to let it be computed dynamically in callproc.c.
1958         * frame.el (frame-initialize, make-frame):
1959         * faces.el (tty-set-up-initial-frame-faces):
1960         * env.el (setenv): Don't set display-environment-variable.
1962         * server.el (server-getenv-from): Remove.  Use getenv-internal instead.
1963         (server-create-tty-frame): Don't set unused `tty' property.
1964         Set `display' instead of display-environment-variable.
1965         (server-create-window-system-frame): No display-environment-variable.
1967 2007-09-21  Michael Albinus  <michael.albinus@gmx.de>
1969         * rfn-eshadow.el (rfn-eshadow-setup-minibuffer-hook)
1970         (rfn-eshadow-update-overlay-hook): New defvars.
1971         (rfn-eshadow-setup-minibuffer, rfn-eshadow-update-overlay):
1972         Run the hooks.
1974         * net/tramp.el (tramp-rfn-eshadow-overlay): New defvar.
1975         (tramp-rfn-eshadow-setup-minibuffer)
1976         (tramp-rfn-eshadow-update-overlay): New defuns.  Hook into
1977         rfn-eshadow.el.
1979         * net/tramp-smb.el (tramp-smb-errors): Add error message for call
1980         timeout.
1982 2007-09-21  Glenn Morris  <rgm@gnu.org>
1984         * obsolete/sun-fns.el (emacs-quit-menu): Remove emacstool-related code.
1985         * term/sun-mouse.el (suspend-emacstool): Remove.
1986         * term/sun.el: Remove emacstool-related code.
1988         * emacs-lisp/bytecomp.el (byte-compile-warnings)
1989         (byte-compile-warnings-safe-p): Add `mapcar'.
1990         (byte-compile-warning-types): Add mapcar and make-local.
1991         (byte-compile-normal-call): Add option to suppress mapcar warning.
1992         (top-level): Use mapc rather than mapcar in eval-when-compile.
1994         * textmodes/tex-mode.el (tex-validate-region): Handle escaped parens.
1995         (tex-next-unmatched-eparen, tex-last-unended-eparen): New functions.
1996         (latex-forward-sexp-1, latex-backward-sexp-1): Doc fix.
1997         Handle escaped parens.
1998         (latex-forward-sexp): Doc fix.
2000         * eshell/esh-mode.el (eshell-output-filter-functions): Add
2001         eshell-postoutput-scroll-to-bottom.
2003         * loadup.el: Remove termdev.
2005         * progmodes/fortran.el (fortran-mode-abbrev-table, fortran-line-length):
2006         * progmodes/f90.el (f90-mode-abbrev-table): Use mapc rather than mapcar.
2008 2007-09-21  Markus Triska  <markus.triska@gmx.at>
2010         * emacs-lisp/bytecomp.el (byte-compile-normal-call): Warn when
2011         `mapcar' is called for effect.
2013 2007-09-21  Kevin Ryde  <user42@zip.com.au>
2015         * international/mule.el (sgml-html-meta-auto-coding-function):
2016         Bind `case-fold-search' to t.
2018 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2020         * termdev.el: Remove.
2022         * frame.el (get-device-terminal): New function.  Moved from termdev.el.
2023         (frames-on-display-list): Use it.
2025         * bindings.el: Bind C-z to suspend-frame instead of suspend-emacs.
2027         * termdev.el (terminal-id): Ask terminal-live-p before giving up.
2029 2007-09-20  Richard Stallman  <rms@gnu.org>
2031         * newcomment.el (comment-add): If EXTRA, double `comment-add' value.
2033 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2035         * add-log.el (add-log-current-defun): Fix thinko w.r.t derived-mode-p.
2037 2007-09-20  Glenn Morris  <rgm@gnu.org>
2039         * textmodes/tex-mode.el (tex-validate-buffer): Use paragraph
2040         motion functions, rather than hard-coding "\n\n".
2041         (tex-validate-region): Check for eobp, to speed up.
2042         (tex-next-unmatched-end): Doc fix.
2044 2007-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2046         * files.el (auto-mode-alist): Use archive-mode for .rar files.
2048         * international/mule.el (auto-coding-alist): Rar archives are binary.
2050         * arc-mode.el: Add basic support for Rar.
2051         (archive-find-type): Recognize Rar's signature.
2052         (archive-desummarize): New fun.
2053         (archive-summarize): Use it to restore the buffer's data in case
2054         someone wants to switch to some other major mode.
2055         (archive-resummarize): Use it as well.
2056         (archive-rar-summarize, archive-rar-extract): New functions.
2058         * filesets.el: Remove spurious * in docstrings.
2059         (filesets-running-xemacs): Remove.  Use (featurep 'xemacs) instead.
2060         (filesets-conditional-sort): Remove unused arg `simply-do-it'.
2061         (filesets-ingroup-collect): Remove unused arg `depth'.
2062         (filesets-update): Remove unused arg `version'.
2064         * finder.el (finder-compile-keywords): Fix up comment style.
2065         (finder-mouse-face-on-line): previous-line -> forward-line.
2067         * recentf.el: Remove spurious * in docstrings.
2068         (recentf-save-list): Fix up comment style.
2070         * progmodes/octave-mod.el: Remove spurious * in docstrings.
2071         (octave-mode-map): Move init into declaration and remove \t binding.
2072         (octave-mode-startup-message): Remove unused var.
2073         (octave-scan-blocks): Remove unused arg `from'.
2074         (octave-forward-block, octave-down-block, octave-up-block):
2075         Update callers.
2077         * progmodes/meta-mode.el (meta-mode-syntax-table): Move init into decl.
2078         (meta-mode-map): Likewise and remove \t binding.
2080         * net/snmp-mode.el: Remove spurious * in docstrings.
2081         (snmp-rfc1155-types, snmp-rfc1213-types, snmp-rfc1902-types)
2082         (snmp-rfc1903-types, snmp-rfc1155-access, snmp-rfc1902-access)
2083         (snmp-rfc1212-status, snmp-rfc1902-status): Remove list wrappers now
2084         that completion accepts lists of strings.
2085         (snmp-mode-syntax-table): Move initialization into declaration.
2086         (snmp-mode-map): Likewise and remove \t binding.
2087         (snmp-common-mode): Set tab-always-indent according to snmp-t-a-i.
2088         (snmp-indent-line, snmp-mode-imenu-create-index): Remove unused var.
2089         (snmp-indent-command): Remove.
2091         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Use the default TAB
2092         binding, so tab-always-indent works right.
2094 2007-09-19  Johannes Weiner  <hannes@saeurebad.de>
2096         * net/browse-url.el (browse-url-elinks-new-window): New function.
2097         (browse-url-elinks): Use browse-url-elinks-new-window.
2098         Accept optional second argument `new-window'.  Fix typo in doc-string.
2099         (browse-url-elinks-sentinel): Use browse-url-elinks-new-window.
2100         Improve error message.
2102 2007-09-19  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2104         * net/browse-url.el (browse-url-url-encode-chars): Use the right
2105         parameter name in the function body.
2106         Reported by Johannes Weiner.
2108 2007-09-19  Glenn Morris  <rgm@gnu.org>
2110         * net/socks.el (socks-open-network-stream): Signal an explicit
2111         error if the port associated with a service string can't be found.
2113         * textmodes/tex-mode.el (tex-terminate-paragraph):
2114         Use backward-paragraph.
2116 2007-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2118         * server.el (server-running-p): New function.
2120 2007-09-18  Jason Rumney  <jasonr@gnu.org>
2122         * term/w32-win.el (w32-focus-frame): Make obsolete alias for
2123         x-focus-frame.
2125         * frame.el (select-frame-set-input-focus, select-frame-by-name):
2126         Use x-focus-frame for w32.
2128 2007-09-17  David Kastrup  <dak@gnu.org>
2130         * textmodes/tex-mode.el (tex-verbatim-environments):
2131         Eliminate CL dependency.
2133 2007-09-17  Richard Stallman  <rms@gnu.org>
2135         * newcomment.el (comment-add): New arg EXTRA.
2136         (comment-region-default): Pass EXTRA if not indenting lines.
2138 2007-09-17  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2140         * net/browse-url.el (browse-url-url-encode-chars): New function.
2141         URL-encode some chars in a string.
2142         (browse-url-encode-url): Rewrite using the previous function.
2143         (browse-url-file-url): Use `browse-url-url-encode-chars'.
2144         (browse-url-elinks-sentinel): Fix typo.
2145         (browse-url-new-window-flag): Doc change.
2147 2007-09-17  Glenn Morris  <rgm@gnu.org>
2149         * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
2150         filename from `--file-line-error', if it is available.
2152 2007-09-17  Joe Wells  <jbw@macs.hw.ac.uk>  (tiny change)
2154         * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match
2155         TeX `--file-line-error' format.
2157 2007-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
2159         * xt-mouse.el: Delete add-hook calls that were moved to
2160         xterm-mouse-mode.
2161         (xterm-mouse-mode): Disable resume-tty-functions, explain why it
2162         does not work.
2164 2007-09-17  Richard Stallman  <rms@gnu.org>
2166         * cus-face.el (custom-theme-set-faces): Undo previous change.
2168         * faces.el (face-spec-set): When FRAME nil, look up each frame in SPEC.
2170 2007-09-17  Glenn Morris  <rgm@gnu.org>
2172         * textmodes/tex-mode.el (tex-region): Simplify previous change,
2173         handling the case where the region is not in `tex-main-file'.
2174         (tex-region-1): Delete.
2175         (tex-region-header): New function, doing the header part of the
2176         old tex-region-1.
2178 2007-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2180         * simple.el (newline): Simplify use of prefix-numeric-value.
2181         (line-move-partial): Remove unused var `ppos'.
2182         (line-move-1): Replace 9999 with most-positive-fixnum.
2183         (move-end-of-line): Use more efficient single-property search.
2184         (move-beginning-of-line): Remove unused var `start'.
2185         (blink-matching-open): Restructure in a more functional style.
2187 2007-09-16  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2189         * calendar/holidays.el (list-holidays): Remove the cyclic alias.
2191 2007-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2193         * server.el (server-clients): Only keep procs, no properties any more.
2194         (server-client): Remove.
2195         (server-client-get, server-client-set): Remove, replace all callers by
2196         process-get and process-put resp.
2197         (server-clients-with, server-add-client, server-delete-client)
2198         (server-create-tty-frame, server-create-window-system-frame)
2199         (server-process-filter, server-execute, server-visit-files)
2200         (server-buffer-done, server-kill-buffer-query-function)
2201         (server-kill-emacs-query-function, server-switch-buffer)
2202         (server-save-buffers-kill-terminal): Update accordingly.
2204         * server.el (server-with-environment): Simplify.
2205         (server-select-display, server-unselect-display): Re-add functions that
2206         seem to have been lost in the multi-tty merge.
2207         (server-eval-and-print, server-create-tty-frame)
2208         (server-create-window-system-frame, server-goto-toplevel)
2209         (server-execute, server-return-error): New functions extracted from
2210         server-process-filter.
2211         (server-execute-continuation): New functions.
2212         (server-process-filter): Restructure so that all arguments are analysed
2213         first and then acted upon in a subsequent stage.  This way
2214         server-goto-toplevel can be executed later, when we know if
2215         it's necessary.
2216         Remove the "-version" and "-version-good" support.
2218 2007-09-16  Drew Adams  <drew.adams@oracle.com>
2220         * cus-edit (custom-face-edit-activate): Doc fix.
2222 2007-09-16  Glenn Morris  <rgm@gnu.org>
2224         * calendar/cal-menu.el, calendar/calendar.el, calendar/diary-lib.el:
2225         Following cal-bahai renaming, update all instances of
2226         list-bahai-diary-entries to diary-bahai-list-entries,
2227         mark-bahai-diary-entries to diary-bahai-mark-entries,
2228         calendar-goto-bahai-date to calendar-bahai-goto-date,
2229         insert-bahai-diary-entry to diary-bahai-insert-entry,
2230         insert-monthly-bahai-diary-entry to diary-bahai-insert-monthly-entry,
2231         insert-yearly-bahai-diary-entry to diary-bahai-insert-yearly-entry, and
2232         calendar-print-bahai-date to calendar-bahai-print-date.
2234         * textmodes/tex-mode.el (tex-region): Handle the case where the
2235         region is not in `tex-main-file'.  Move the old code that applies
2236         to both cases...
2237         (tex-region-1): ...to this new function.
2239 2007-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2241         * vc.el (vc-process-sentinel): New function.
2242         (vc-exec-after): Use it instead of using ugly hackish analysis and
2243         construction of Elisp code.
2244         (vc-sentinel-movepoint): New dynamically scoped var.
2245         (vc-print-log, vc-annotate): Set it to move the user's point.
2247         * vc-cvs.el (vc-cvs-annotate-time): Use inhibit-read-only and
2248         inhibit-modification-hooks.
2250         * calendar/cal-bahai.el (mark-bahai-diary-entries): Fix up typo.
2251         (calendar-bahai-print-date, calendar-bahai-goto-date)
2252         (diary-bahai-list-entries, diary-bahai-insert-entry):
2253         New names to clean up the namespace a bit more.
2254         (calendar-goto-bahai-date, calendar-print-bahai-date): Compat aliases.
2256 2007-09-15  Glenn Morris  <rgm@gnu.org>
2258         * calendar/holidays.el (holiday-list): Rename it back to
2259         `list-holidays', but leave `holiday-list' as an alias.
2261         * textmodes/bibtex-style.el (bibtex-style-indent-basic): Specify a
2262         custom group.
2264         * textmodes/css-mode.el (css): New custom group.
2265         (css-electrick-keys, css-selector, css-property)
2266         (css-indent-offset): Specify custom group.
2268 2007-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2270         * pcvs.el (cvs-tags-list, cvs-retrieve-revision, cvs-find-modif)
2271         (cvs-execute-single-file): Use process-file.
2272         (cvs-run-process): Use start-file-process.
2274 2007-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
2276         * xt-mouse.el (xterm-mouse-mode): Add hooks here not at the top
2277         level.  Remove the hooks when turning off the mode.
2279         * term/xterm.el: Require xt-mouse at compile time.
2280         (terminal-init-xterm): Turn on xterm mouse tracking for this
2281         terminal if xterm-mouse-mode is enabled.
2283 2007-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
2285         * term/xterm.el (xterm-function-map): Replace bindings that were
2286         deleted by the merge.
2288 2007-09-14  Ulf Jasper  <ulf.jasper@web.de>
2290         * play/bubbles.el (bubbles-version): Bump value to "0.5".
2291         (bubbles-mode-map): Move define-key statements here.
2292         (bubbles-game-theme-menu): Ditto.
2293         (bubbles-graphics-theme-menu): Ditto.
2294         (bubbles-menu): Ditto.
2295         (bubbles-mode): Initialize buffer-undo-list, redisplay.
2296         (bubbles--initialize): Reset buffer-undo-list, redisplay.
2297         (bubbles-plop): Set buffer-undo-list, redisplay.
2298         (bubbles-undo): Reset buffer-undo-list, redisplay.
2299         (bubbles--show-images): Take care of missing text properties.
2301 2007-09-14  Glenn Morris  <rgm@gnu.org>
2303         * startup.el (fancy-startup-text, fancy-about-text): Fix face
2304         quoting.
2306         * calendar/cal-hebrew.el, calendar/cal-menu.el
2307         * calendar/calendar.el, calendar/diary-lib.el
2308         * calendar/holidays.el: Rename all instances of
2309         list-calendar-holidays callers to calendar-list-holidays,
2310         list-holidays to holiday-list, check-calendar-holidays to
2311         calendar-check-holidays, mark-calendar-holidays to
2312         calendar-mark-holidays, and filter-visible-calendar-holidays to
2313         holiday-filter-visible-calendar.
2315 2007-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
2317         * term/xterm.el (xterm-function-map): Add C-M- bindings.
2319 2007-09-13  Sascha Wilde  <wilde@sha-bang.de>  (tiny change)
2321         * play/bubbles.el (bubbles--initialize-images): Fix bug:
2322         Use transparent background for empty cells in graphics mode.
2324 2007-09-13  Jari Aalto  <jari.aalto@cante.net>
2326         * man.el (Man-default-man-entry): At end of line, continue looking
2327         to the next line for possible end of hyphenated command.
2329 2007-09-13  Chris Moore  <dooglus@gmail.com>
2331         * shell.el (shell-resync-dirs): Don't move the cursor relative to
2332         the command being edited.
2334 2007-09-12  Jim Meyering  <jim@meyering.net>  (tiny change)
2336         * emacs-lisp/copyright.el (copyright-names-regexp): Doc fix: typo.
2338 2007-09-12  Dan Nicolaescu  <dann@ics.uci.edu>
2340         * term/xterm.el (xterm-function-map): Add bindings for M-S- and
2341         C-M-S- keys.
2343         * term/rxvt.el (rxvt-function-map): Initialize in the declaration.
2345 2007-09-12  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2347         * net/browse-url.el (browse-url-encode-url): Fix an infinite loop.
2348         New argument `filename-p' to use one set of confusing chars or another.
2349         (browse-url-file-url): Use the argument.
2350         Suggested by Johannes Weiner.
2352 2007-09-12  Romain Francoise  <romain@orebokech.com>
2354         * cus-start.el (all): Revert 2007-09-08 change.
2356 2007-09-12  Aaron Hawley  <aaronh@garden.org>
2358         * jka-cmpr-hook.el (jka-compr-compression-info-list): Use gzip to
2359         extract .Z files, since it is more common than uncompress.
2361 2007-09-12  Glenn Morris  <rgm@gnu.org>
2363         * textmodes/org-publish.el (org-publish-org-to-html): Remove
2364         duplicate function definition.
2366 2007-09-10  Chris Moore  <dooglus@gmail.com>
2368         * diff-mode.el (diff-sanity-check-hunk):
2369         Also accept single-line hunks.
2371 2007-09-10  Chong Yidong  <cyd@stupidchicken.com>
2373         * startup.el (startup-screen-inhibit-startup-screen)
2374         (pure-space-overflow-message): New vars.
2375         (fancy-splash-insert): Allow functions for face and link specs.
2376         (fancy-splash-head): Remove unused arg.  Move splash text...
2377         (fancy-startup-text, fancy-about-text): ...here.
2378         (fancy-startup-tail): Rename from fancy-splash-tail.
2379         (fancy-startup-screen, fancy-about-screen): Split off from
2380         fancy-splash-screens.
2381         (display-startup-screen): New function.
2382         (display-about-screen): Rename from display-splash-screen.
2383         (command-line-1): Use concise startup screen if necessary.
2385 2007-09-10  Thien-Thi Nguyen  <ttn@gnuvola.org>
2387         * net/browse-url.el (browse-url-encode-url): Use copy-sequence.
2388         Reported by Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>.
2390 2007-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2392         * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
2393         (python-font-lock-keywords): Update to the 2.5 version of the language.
2394         (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
2395         (python-backspace): Only behave funny in code.
2396         (python-compilation-regexp-alist): Add PDB stack trace regexp.
2397         (inferior-python-mode): Add PDB prompt regexp.
2398         (python-fill-paragraph): Refine the fenced-string regexp.
2399         (python-find-imports): Handle imports spanning several lines.
2400         (python-mode): Add `class' to hideshow support.
2402 2007-09-10  Dave Love  <fx@gnu.org>
2404         * outline.el (outline-4, outline-5, outline-7):
2405         Move font-lock-builtin-face down from 4 to 7 to better keep the
2406         progression of color brightness, and to better match Org-mode's faces.
2408 2007-09-10  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2410         * progmodes/meta-mode.el (meta-font-lock-keywords)
2411         (font-lock-match-meta-declaration-item-and-skip-to-next)
2412         (meta-comment-indent, meta-indent-previous-line)
2413         (meta-indent-unfinished-line, meta-beginning-of-defun)
2414         (meta-end-of-defun, meta-common-initialization): Handle \f.
2415         (meta-indent-unfinished-line): Do not handle a `%' in a string as
2416         a comment-start.
2418         * files.el (file-modes-char-to-who, file-modes-char-to-right)
2419         (file-modes-rights-to-number): Auxiliary functions for symbolic to
2420         numeric notation of file modes.
2421         (file-modes-symbolic-to-number): New.  Convert symbolic modes to its
2422         numeric value.
2423         (read-file-modes): New.  Read either an octal value of a file mode or a
2424         symbolic value, and return its numeric value.
2426         * dired-aux.el (dired-do-chmod): Change to use the built-in
2427         `set-file-modes' and the previous symbolic mode parsing functions.
2429 2007-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2431         * textmodes/texinfo.el: Remove spurious * in docstrings.
2432         (texinfo-mode-syntax-table, texinfo-mode-map):
2433         Initialize in the declaration.
2435         * tmm.el: Remove spurious * in docstrings.
2436         (tmm-prompt): Use with-current-buffer.
2438         * vcursor.el: Remove spurious * in docstrings.
2439         (vcursor-map): Initialize in the declaration.
2440         (vcursor-use-vcursor-map): Use define-minor-mode.
2441         (vcursor-toggle-vcursor-map): Keep as an obsolete alias.
2443         * wid-browse.el (widget-browse-mode-map, widget-minor-mode-map):
2444         Initialize in the declaration.
2445         (widget-minor-mode): Use define-minor-mode.
2447         * woman.el (woman-mode-map, woman-syntax-table):
2448         Initialize in the declaration.
2450 2007-09-09  Tassilo Horn  <tassilo@member.fsf.org>
2452         * doc-view.el: New file.
2454 2007-09-09  Juri Linkov  <juri@jurta.org>
2456         * Makefile.in (update-authors): Add etc/ to AUTHORS.
2458         * makefile.w32-in (update-authors): Add etc/ to AUTHORS.
2460         * startup.el (initial-buffer-choice): Rename choice "Splash screen"
2461         to "Startup screen".  Fix docstring.
2462         (inhibit-startup-screen): Rename from `inhibit-splash-screen'.
2463         (inhibit-splash-screen): Make alias to `inhibit-startup-screen'.
2464         (inhibit-startup-message): Change alias to `inhibit-startup-screen'.
2465         (initial-scratch-message): Fix docstring.
2466         (fancy-startup-text): Move link to Emacs Manual below Emacs Guided
2467         Tour (which is a kind of tutorial and will be next to Emacs Tutorial).
2468         Add link to "Customize Startup" and set interval between links to
2469         5 spaces.
2470         (fancy-about-text): Add links "Authors" and "Contributing".
2471         (fancy-splash-head): Add text "Welcome to " on the startup screen,
2472         and "This is " on the about screen.  Add link to
2473         "http://www.gnu.org/software/emacs/" for "GNU Emacs".
2474         For the about screen move emacs version to the header from
2475         `fancy-splash-tail' (as it's done already for normal about screen).
2476         (fancy-splash-tail): Insert emacs version only for startup screen.
2477         (normal-splash-screen): Remove duplicate empty lines.
2478         (normal-about-screen): Add links "Authors" and "Contributing".
2480         * menu-bar.el (menu-bar-help-menu):
2481         Move "About Emacs" and "About GNU" to the end of the Help menu.
2482         Move "Emacs Psychotherapist" after "Send Bug Report...".
2483         Move "External Packages" after "Find Emacs Packages".
2485 2007-09-09  Michael Albinus  <michael.albinus@gmx.de>
2487         * net/tramp.el (top): Remove declarations of `tramp-gw-*' symbols,
2488         they are useless with the byte compiler.
2489         (tramp-make-temp-file, tramp-make-tramp-temp-file): Move up.
2490         (tramp-do-copy-or-rename-file-directly): Rearrange let-bindings.
2491         (tramp-compute-multi-hops): Mask `tramp-gw-*' symbols.
2492         (tramp-file-name-real-host, tramp-file-name-port)
2493         (tramp-find-method, tramp-find-user, tramp-find-host): Make them
2494         defuns.
2496         * net/tramp-cache.el (top): Improve error message when
2497         `tramp-persistency-file-name' is corrupted.
2499 2007-09-09  Carsten Dominik  <dominik@science.uva.nl>
2501         * textmodes/org.el (org-re): Also replace the :alpha: class.
2502         (org-todo-tag-alist): Variable removed.
2503         (org-todo-key-alist, org-todo-key-trigger) New variables.
2504         (org-use-fast-todo-selection): New option.
2505         (org-log-done): Docstring fixed.
2506         (org-deadline-warning-days): New default value 14.
2507         (org-edit-timestamp-down-means-later) New option.
2508         (org-tag-alist): Docstring fixed.
2509         (org-fast-tag-selection-include-todo): New option.
2510         (org-export-language-setup): New languages added.
2511         (org-set-regexps-and-options): Compute the new variables.
2512         (org-paste-subtree): Cleaning up.
2513         (org-remember-apply-template): New escape %A.
2514         (org-todo): Call fast TODO selection.
2515         (org-fast-todo-selection): New function.
2516         (org-add-log-note): Allow prefix for abort exit.
2517         (org-at-property-p, org-entry-properties)
2518         (org-columns-get-autowidth-alist): Use :alpha: class.
2519         (org-get-wdays): New function.
2520         (org-agenda-remove-date): New variable.
2521         (org-agenda-get-deadlines): Use `org-get-wdays'.
2522         (org-agenda-get-deadlines): Reverse ee before returning.
2523         (org-format-agenda-item): New argument REMOVE-RE.
2524         (org-agenda-convert-date): Baha'i calendar added.
2525         (org-infile-export-plist): Also find DATE line.
2526         (org-get-min-level): New function.
2527         (org-export-as-html, org-export-as-ascii): Use the date format.
2528         (org-shiftup, org-shiftdown): Use.
2529         `org-edit-timestamp-down-means-later'.
2530         (org-assign-fast-keys): New function.
2532 2007-09-08  Fredrik Axelsson  <f.axelsson@gmail.com>
2534         * cus-start.el (all): Add prefer-window-split-horizontally from
2535         window.c.
2537 2007-09-08  Eli Zaretskii  <eliz@gnu.org>
2539         * net/browse-url.el (browse-url-galeon): Fix last change.
2540         (top-level): Require cl when compiling.
2542 2007-09-08  Carsten Dominik  <dominik@science.uva.nl>
2544         * textmodes/org-export-latex.el: arch-tag restored.
2546         * textmodes/org-publish.el: arch-tag restored.
2548 2007-09-08  Masatake YAMATO  <jet@gyve.org>
2550         * progmodes/which-func.el (which-func-modes): Add diff-mode.
2552         * progmodes/cc-langs.el: Support new keywords added to
2553         objective-c frontend of gcc.
2554         (c-simple-stmt-kwds): Add @throw.
2555         (c-block-stmt-2-kwds): Add @synchronized.
2556         (c-block-stmt-1-kwds): Add @finally and @try.
2558 2007-09-07  Carsten Dominik  <dominik@science.uva.nl>
2560         * textmodes/org.el (org-edit-timestamp-down-means-later): New option.
2561         (org-agenda-after-show-hook): New variable.
2562         (org-columns-compile-format)
2563         (org-columns-get-autowidth-alist, org-buffer-property-keys)
2564         (org-entry-properties, org-at-property-p): Allow [:alnum:] in
2565         property names.
2566         (org-get-wdays): New function.
2568 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2570         * simple.el (normal-erase-is-backspace-setup-frame): Massage.
2572         * term/xterm.el (xterm-function-map): Initialize in the declaration.
2574         * vc-arch.el (vc-arch-checkin): Fix typo.
2576 2007-09-07  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
2578         * cus-face.el (custom-theme-set-faces): Set face attributes
2579         locally for each frame.
2581 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2583         * progmodes/fortran.el (fortran-mode): Set font-lock-syntactic-keywords
2584         via font-lock-defaults.
2586         * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via
2587         derived-mode-p.
2589 2007-09-07  Thien-Thi Nguyen  <ttn@gnuvola.org>
2591         * progmodes/autoconf.el (autoconf-definition-regexp):
2592         Handle optional square brackets around definition name.
2594 2007-09-07  Johannes Weiner  <hannes@saeurebad.de>
2596         * net/browse-url.el (browse-url-browser-function): Add elinks.
2597         (browse-url-elinks-wrapper): New option.
2598         (browse-url-encode-url, browse-url-elinks)
2599         (browse-url-elinks-sentinel): New functions.
2600         (browse-url-file-url, browse-url-netscape, browse-url-mozilla)
2601         (browse-url-firefox, browse-url-galeon, browse-url-epiphany):
2602         Use new function browse-url-encode-url.
2604 2007-09-07  Glenn Morris  <rgm@gnu.org>
2606         * version.el (emacs-version): Revert 2007-08-29 change: no need to
2607         say if multi-tty is present.
2609 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2611         * cus-start.el (split-window-preferred-function): Add custom info.
2613         * calendar/holidays.el (holiday-list, calendar-check-holidays)
2614         (calendar-mark-holidays, calendar-list-holidays)
2615         (holiday-filter-visible-calendar): New names to clean up namespace.
2616         (filter-visible-calendar-holidays, list-calendar-holidays)
2617         (mark-calendar-holidays, check-calendar-holidays, list-holidays):
2618         Add compatibility aliases.
2619         (calendar-check-holidays, calendar-mark-holidays)
2620         (calendar-holiday-list, holiday-filter-visible-calendar): Use dolist.
2621         (holiday-sexp): Replace append with list.
2622         (holiday-filter-visible-calendar): Replace append with push.
2624         * woman.el: Remove spurious * in docstrings.
2625         (woman-mini-help, woman-non-underline-faces, woman0-rename)
2626         (woman-topic-all-completions-merge, woman-file-name-all-completions)
2627         (woman-select-symbol-fonts, woman-expand-directory-path): Use dolist.
2628         (woman-write-directory-cache, woman-display-extended-fonts)
2629         (WoMan-log-begin, WoMan-log-1): Use with-current-buffer.
2630         (woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails.
2631         (woman-mode): Use inhibit-read-only.
2632         (woman-negative-vertical-space): Use dotimes.
2633         (woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char.
2635 2007-09-06  Romain Francoise  <romain@orebokech.com>
2637         * vc-bzr.el (vc-bzr-admin-lastrev): New defconst.
2638         (vc-bzr-workfile-version): Use it.
2640 2007-09-06  Sean O'Rourke  <sorourke@cs.ucsd.edu>
2642         * complete.el (PC-do-completion): Don't try to treat
2643         empty string as an abbreviation.
2645 2007-09-06  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
2647         * help-fns.el (describe-variable): Keep doc's text properties.
2649 2007-09-06  Dan Nicolaescu  <dann@ics.uci.edu>
2651         * vc.el (vc-default-diff-tree): Pass a list to the diff vc command
2652         instead of a file.
2654 2007-09-06  Glenn Morris  <rgm@gnu.org>
2656         * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New.
2657         (checkdoc-minor-mode): Allow user to specify lighter via
2658         checkdoc-minor-mode-string.
2660 2007-09-05  Richard Stallman  <rms@gnu.org>
2662         * startup.el (fancy-startup-text): Rename from fancy-splash-text.
2663         Several items removed, simplified, or put on one line.
2664         (fancy-about-text): Add substantial contents, part of startup text.
2665         (fancy-splash-head): Make "GNU" or "GNU/Linux" a link.
2666         (normal-splash-screen): Call normal-mouse-startup-screen,
2667         normal-no-mouse-startup-screen, or normal-about-screen.
2668         (normal-mouse-startup-screen): New fn, broken out, shortened.
2669         (normal-no-mouse-startup-screen): New fn, broken out.
2670         (normal-about-screen): New function, contents all new.
2672 2007-09-05  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2674         * emacs-lisp/rx.el (rx): Fix typo in docstring.
2676 2007-09-05  Glenn Morris  <rgm@gnu.org>
2678         * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
2679         is bound.
2681 2007-09-05  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
2683         * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
2684         in doc string.
2686 2007-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
2688         * server.el (server-start, server-unload-hook): Undo previous change.
2690         * xt-mouse.el: Undo previous change.
2692 2007-09-04  Juri Linkov  <juri@jurta.org>
2694         * startup.el (fancy-about-text): New variable.
2695         (fancy-splash-delay, fancy-splash-max-time): Remove user options.
2696         (fancy-current-text, fancy-splash-stop-time)
2697         (fancy-splash-outer-buffer): Remove variables.
2698         (fancy-splash-head, fancy-splash-tail): Add new optional argument
2699         `startup' and use it to conditionally display different texts for
2700         Startup and About screens.  Don't display Help commands on the About
2701         screen.
2702         (fancy-splash-screens-1): Remove function and move its content to
2703         `fancy-splash-screens' to the part that dislpays the About screen.
2704         (exit-splash-screen): Don't treat specially exiting from
2705         alternating screens.
2706         (fancy-splash-screens): Rename argument `static' to `startup'.
2707         Fix docstring.  Remove code for displaying alternating screens.
2708         Use arg `startup' in calls to `fancy-splash-head', `fancy-splash-tail'.
2709         Remove let-bind for `fancy-splash-outer-buffer' and add let-bind
2710         for `inhibit-read-only'.
2711         (normal-splash-screen): Rename argument `static' to `startup'.
2712         Fix docstring.  Use argument `startup' to conditionally display
2713         different texts for Startup and About screens.  Don't display Help
2714         commands on the About screen.  Remove `unwind-protect' `sit-for'
2715         delay and `kill-buffer' after it.
2716         (display-startup-echo-area-message): Remove call to
2717         `use-fancy-splash-screens-p' because image.el is preloaded and
2718         doesn't display "Loading image... done".
2719         (display-splash-screen): Rename argument `static' to `startup'.
2720         Fix docstring.
2722 2007-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
2724         * server.el (server-start, server-unload-hook):
2725         suspend-tty-functions has been renamed to suspend-tty-hook.
2727         * xt-mouse.el: Likewise. resume-tty-functions has been renamed to
2728         resume-tty-hook.
2730 2007-09-03  Emanuele Giaquinta  <e.giaquinta@glauco.it>  (tiny change)
2732         * loadup.el: Fix merge problem, only load "button" once.
2734 2007-09-03  Glenn Morris  <rgm@gnu.org>
2736         * vc-svn.el (vc-svn-print-log): If there is only one file, use
2737         "Working file:" as the prefix, for the sake of
2738         log-view-current-file.
2740 2007-09-02  Dan Nicolaescu  <dann@ics.uci.edu>
2742         * term/xterm.el (xterm-modify-other-keys-terminal-list): New variable.
2743         (xterm-turn-on-modify-other-keys): Only turn on modify-other-keys
2744         if the selected frames is in
2745         xterm-modify-other-keys-terminal-list.
2746         (xterm-turn-off-modify-other-keys): Add an optional frame
2747         parameter.  Only turn off modify-other-keys if FRAME is in
2748         xterm-modify-other-keys-terminal-list.
2749         (xterm-remove-modify-other-keys): New function.
2750         (terminal-init-xterm): Use it.  Deal with delete-frame hook.
2751         Add the selected frame to xterm-modify-other-keys-terminal-list.
2753 2007-09-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
2755         * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager.
2756         (icon-map-list): New variable.
2757         (x-gtk-map-stock): Use icon-map-list.
2759 2007-09-02  Romain Francoise  <romain@orebokech.com>
2761         * log-view.el (log-view-current-file): Balance parens.
2763 2007-09-02  Glenn Morris  <rgm@gnu.org>
2765         * comint.el (comint-mode): Don't set scroll-conservatively.
2767         * eshell/em-unix.el (eshell/time): Stringify and flatten the
2768         non-command arguments.
2770         * log-view.el (log-view-current-file): Give a more explicit error
2771         if log-view-file-re fails to find a match.
2773 2007-09-01  Thien-Thi Nguyen  <ttn@gnuvola.org>
2775         * emacs-lisp/bytecomp.el (byte-recompile-directory):
2776         Fix bug: Don't expand top-level file name more than once.
2777         Reported by Dmitry Antipov <dmantipov@yandex.ru>.
2779 2007-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2781         * server.el (server-process-filter): Don't display the splash screen.
2782         It's annoying enough on the initial screen and becomes positively
2783         obnoxious here.
2785 2007-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2787         * emacs-lisp/avl-tree.el: Use defstruct rather than macros.
2788         Change naming to use "avl-tree--" for internal functions.
2790 2007-08-31  Dan Nicolaescu  <dann@ics.uci.edu>
2792         * term/x-win.el (x-menu-bar-open): Delete duplicated function from
2793         the merge.
2794         (global-set-key): Delete f10 mapping, now done in menu-bar.el.
2795         (provide): Move to the end of file.
2797         * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff.
2799 2007-08-31  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2801         * textmodes/flyspell.el (flyspell-mark-duplications-exceptions):
2802         New variable.  List of exceptions for the duplicated word rule.
2803         (flyspell-mark-duplications-flag): Mention it.
2804         (flyspell-word): Treat it.
2806         * files.el (create-file-buffer): If the filename sans directory starts
2807         with spaces, remove them.
2809 2007-08-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
2811         * term/x-win.el (x-gtk-stock-map): Add etc/images to keys.
2812         (x-gtk-map-stock): Use two directory elements when matching
2813         file name.
2815 2007-08-31  James Wright  <james@chumsley.org>
2817         * eshell/em-unix.el (eshell/info): New function.
2819 2007-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2821         * frame.el (frame-initialize, make-frame):
2822         * server.el (server-process-filter):
2823         * faces.el (tty-set-up-initial-frame-faces): Don't set
2824         term-environment-variable since it's not used any more.
2826         * env.el (setenv): Don't treat $TERM specially.
2828         * startup.el (normal-top-level): Set $TERM to `dumb' so that unless
2829         stated otherwise, subprocesses do not send back escape sequences
2830         corresponding to the terminal from which Emacs was started.
2832 2007-08-31  Thien-Thi Nguyen  <ttn@gnuvola.org>
2834         * calculator.el: Require cl for compilation.
2836 2007-08-30  Daniel Pfeiffer  <occitan@esperanto.org>
2838         * outline.el (outline-font-lock-levels): Comment out unused var.
2839         (outline-font-lock-face): Wrap around face list to handle any
2840         nesting depth gracefully.
2842 2007-08-30  Michael Albinus  <michael.albinus@gmx.de>
2844         * net/ange-ftp.el: Add ange-ftp property to `set-file-modes' and
2845         `set-file-times'.
2847 2007-08-30  Carsten Dominik  <dominik@science.uva.nl>
2849         * textmodes/org.el (org-export-visible): Fix drawers before export.
2850         (org-do-sort): Allow sorting by priority.
2851         (org-agenda-files): Ignore non-existing files.
2852         (org-agenda-skip-unavailable-files): New variable.
2853         (org-ellipsis): All a face as value.
2854         (org-mode): Interprete the face value of `org-ellipsis'.
2855         (org-archive-save-context-info): New option.
2856         (org-archive-subtree): Store context info in archived entry.
2857         (org-fast-tag-selection-can-set-todo-state): New variable.
2858         (org-fast-tag-selection): Allow setting TODO states through this
2859         interface.
2860         (org-cycle): Docstring updated.
2861         (org-todo-keyword-faces): New option.
2862         (org-get-todo-face): New function.
2863         (org-set-font-lock-defaults, org-agenda-highlight-todo):
2864         Use `org-get-todo-face'.
2865         (org-switch-to-buffer-other-window): New function.
2866         (org-table-edit-field, org-table-show-reference)
2867         (org-table-edit-formulas, org-add-log-note)
2868         (org-fast-tag-selection, org-agenda, org-prepare-agenda)
2869         (org-timeline): Use `org-switch-to-buffer-other-window' instead of
2870         `switch-to-buffer-other-window' to make sure that the temporary
2871         windows show up on the current frame.
2872         (org-mhe-get-message-real-folder, org-batch-store-agenda-views)
2873         (org-get-entries-from-diary, org-replace-region-by-html):
2874         Don't allow pop-up frames.
2875         (org-agenda-get-deadlines, org-agenda-get-scheduled):
2876         Fix problems with time-of-day.
2877         (org-export-get-title-from-subtree): New function.
2878         (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems
2879         with listing items that are DONE.
2880         (org-change-tag-in-region): New command.
2881         (org-agenda-skip-scheduled-if-done)
2882         (org-agenda-skip-deadline-if-done): Docstring clarified.
2883         (org-mode): Hide drawers on startup.
2884         (org-get-todo-face): New function.
2885         (org-todo-keyword-faces): New option.
2886         (org-set-regexps-and-options): Use `org-remove-keyword-keys'.
2887         (org-remove-keyword-keys): New function.
2889 2007-08-30  Jari Aalto  <jari.aalto@cante.net>  (tiny change)
2891         * progmodes/grep.el (grep-find-ignored-directories):
2892         Add monotone _MTN bookkeeping directory in workspaces.
2893         Add RCS control directory.  List items in alphabetical order.
2895         * progmodes/grep.el (grep-files-aliases): Add cc alias.
2896         Sort items in alphabetical order.  Fix parens.
2898 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
2900         * vc-hg.el (vc-hg-extra-menu-map): New variable.
2901         (vc-hg-extra-menu, vc-hg-outgoing, vc-hg-incoming, vc-hg-push)
2902         (vc-hg-pull): New functions.
2903         (vc-hg-outgoing-mode, vc-hg-incoming-mode): New derived modes.
2905         * term/mac-win.el: Don't require url, only autoloaded url
2906         functions are used in this file.
2908 2007-08-29  Andreas Schwab  <schwab@suse.de>
2910         * shell.el (shell): Return correct value from interactive spec.
2912 2007-08-29  Glenn Morris  <rgm@gnu.org>
2914         * version.el (emacs-version): Increase to 23.0.50.
2916 2007-08-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
2918         * term/x-win.el (x-gtk-stock-map): :version changed to 23.1.
2920 2007-08-29  Juri Linkov  <juri@jurta.org>
2922         * loadup.el: Add "button" loading after "faces" and move "startup"
2923         to load after "button".
2925 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
2927         * loadup.el: Load term/mac-win on a Mac using Carbon.
2929         * term/mac-win.el: Provide mac-win.
2930         (mac-initialized): New variable.
2931         (mac-initialize-window-system): New function.  Move global setup here.
2932         (handle-args-function-alist, frame-creation-function-alist):
2933         (window-system-initialization-alist): Add mac entries.
2934         (x-setup-function-keys): New function containing all the
2935         top level function key definitions.
2937         * term/x-win.el (x-menu-bar-open): Use accelerate-menu.
2939         * env.el (read-envvar-name): Don't consider the environment frame param.
2941         * env.el (setenv):
2942         * frame.el (frame-initialize, make-frame):
2943         * faces.el (tty-set-up-initial-frame-faces):
2944         * server.el (server-process-filter): Set
2945         display-environment-variable and term-environment-variable.
2947         * server.el (server-process-filter): Set COLORFGBG and COLORTERM.
2949 2007-08-29  Jason Rumney  <jasonr@gnu.org>
2951         * loadup.el: Only load term/x-win when X is compiled in.
2952         Load term/w32-win and dependencies on windows-nt.
2954         * term/w32-win.el: Reorder to match x-win.el more closely.
2955         Provide w32-win.  Don't throw error when global window-system not w32.
2956         (internal-face-interactive): Remove obsolete function.
2957         (x-setup-function-keys): Use local-function-key-map.
2958         (w32-initialized): New variable.
2959         (w32-initialize-window-system): Set it.
2960         Move more global setup here.
2961         (x-setup-function-keys): New function.
2962         (w32-initialize-window-system): Move non function key global setup here.
2963         (x-cut-buffer-max): Remove.
2964         (w32-initialize-window-system): New function.
2965         (handle-args-function-alist, frame-creation-function-alist):
2966         (window-system-initialization-alist): Add w32 entries.
2968 2007-08-29  David Kastrup  <dak@gnu.org>
2970         * env.el (getenv): Pass frame to getenv-internal.
2972 2007-08-29  Karoly Lorentey  <lorentey@elte.hu>
2974         * version.el (emacs-version): Show if multi-tty is present.
2976         * loadup.el: Delay loading env; mule-conf gets confused by cl
2977         during bootstrap.  Also load termdev and term/x-win.
2979         * bindings.el (mode-line-client): New variable.
2980         (help-echo): Add it to the default mode-line format.
2982         * cus-start.el: Remove bogus window-system reference from GTK test.
2984         * ebrowse.el (ebrowse-electric-list-mode-map)
2985         (ebrowse-electric-position-mode-map):
2986         * ebuff-menu.el (electric-buffer-menu-mode-map):
2987         * echistory.el (electric-history-map): Bind C-z to `suspend-frame',
2988         not `suspend-emacs'.
2990         * ediff-wind.el (ediff-setup-windows-automatic): New function.
2991         (ediff-window-setup-function): Use it as default.
2993         * files.el (save-buffers-kill-terminal): New function.
2994         (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal.
2996         * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'
2997         and `with-selected-frame'.
2999         * help-fns.el (describe-variable): Describe frame-local variables
3000         correctly.
3002         * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
3003         display support.
3004         (normal-erase-is-backspace-setup-frame): New function.
3006         * subr.el (with-selected-frame): New function.
3007         (read-quoted-char): Use terminal-local binding of
3008         local-function-key-map instead of function-key-map.
3010         * talk.el (talk): New function.
3011         (talk-handle-delete-frame): New function.
3012         (talk-add-display): Open a new frame only if FRAME was not a frame.
3014         * termdev.el: New file.
3016         * menu-bar.el (menu-bar-open): New function.  Bind it to f10.
3017         * term/x-win.el: Don't bind f10.
3018         * tmm.el: Remove autoload binding for f10.
3020         * international/encoded-kb.el (encoded-kbd-setup-display): Use
3021         `set-input-meta-mode'.  Fix broken condition before set-input-mode.
3022         Store the saved input method as a terminal parameter.  Add keymap
3023         parameter.  Use it instead of changing key-translation-map directly.
3024         (saved-key-translation-map, encoded-kbd-mode, saved-input-mode):
3025         Remove.
3026         (encoded-kbd-setup-display): New function.
3028         * international/mule-cmds.el (set-locale-environment): Fix getenv
3029         call.  Use save-buffers-kill-terminal.  Ignore window-system; always
3030         set the keyboard coding system.  Add DISPLAY parameter.
3031         (set-display-table-and-terminal-coding-system): Add DISPLAY
3032         parameter.  Pass it to set-terminal-coding-system.
3034         * international/mule.el (keyboard-coding-system): Test for
3035         encoded-kbd-setup-display, not encoded-kbd-mode.
3036         (set-terminal-coding-system, set-keyboard-coding-system): Add
3037         DISPLAY parameter.
3038         (set-keyboard-coding-system): Use encoded-kbd-setup-display.
3040         * term/README: Update.
3042         * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
3044         * term/x-win.el (x-setup-function-keys): New function.  Move
3045         function-key-map tweaks here.  Protect against multiple calls on
3046         the same terminal.  Use terminal-local binding of
3047         local-function-key-map instead of function-key-map.
3048         (x-initialize-window-system): Make a copy of pure list.  Pass a
3049         frame getenv.
3051         * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el:
3052         * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el:
3053         * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el:
3054         * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el:
3055         * term/tvi970.el, term/wyse50.el: Use terminal-local binding of
3056         local-function-key-map instead of function-key-map.
3058         * term/rxvt.el, term/xterm.el: Speed up load time by protecting
3059         `substitute-key-definition' and `define-key' calls against
3060         multiple execution.  Use terminal-local binding of
3061         local-function-key-map instead of function-key-map.  Pass a frame
3062         to getenv.
3064         * edmacro.el (edmacro-format-keys):
3065         * emulation/cua-base.el (cua--pre-command-handler):
3066         * isearch.el (isearch-other-meta-char):
3067         * xt-mouse.el: Use terminal-local binding of
3068         local-function-key-map instead of function-key-map.
3070         * fringe.el (set-fringe-mode): Simplify and fix using
3071         `modify-all-frames-parameters'.
3072         * scroll-bar.el (set-scroll-bar-mode): Ditto.
3073         * tool-bar.el (tool-bar-mode): Ditto.  Remove 'tool-bar-map length
3074         check before calling `tool-bar-setup'.
3075         (tool-bar-setup): New variable.
3076         (tool-bar-setup): Use it to guard against multiple calls.  Add
3077         optional frame parameter, and select that frame before adding items.
3078         (toggle-tool-bar-mode-from-frame): New function.
3080         * menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
3081         (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and
3082         toggle-tool-bar-mode-from-frame to change "Menu-bar" and
3083         "Tool-bar" toggles to reflect the state of the current frame.
3084         (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'.
3086         * env.el: Require cl for byte compilation (for `block' and `return').
3087         (environment, setenv-internal): New functions.
3088         (let-environment): New macro.
3089         (setenv, getenv): Add optional terminal parameter.  Update docs.
3090         (setenv): Use setenv-internal.  Always set process-environment.
3091         Handle `local-environment-variables'.
3092         (read-envvar-name, setenv, getenv): Use frame parameters
3093         to store the local environment, not terminal parameters.  Include
3094         `process-environment' as well.
3096         * faces.el (tty-run-terminal-initialization): New function.
3097         (tty-create-frame-with-faces): Use it.  Set up faces and
3098         background mode only after the terminal has been initialized.
3099         Call terminal-init-*.  Don't load the initialization file more
3100         than once.  Call set-locale-environment.
3101         (frame-set-background-mode): Handle the 'background-mode terminal
3102         parameter.
3103         (tty-find-type): New function.
3104         (x-create-frame-with-faces): Remove bogus check for
3105         first frame.  Call `tool-bar-setup'.  Don't make frame visible
3106         until we are done setting up all its parameters.  Call
3107         x-setup-function-keys.
3109         * frame.el (make-frame): Always inherit 'environment and 'client
3110         parameters.  Set up the 'environment frame parameter, when needed.
3111         Also inherit 'client parameter.  Don't override explicitly
3112         specified values with inherited ones.  Add 'terminal frame
3113         parameter.  Append window-system-default-frame-alist to parameters
3114         before calling frame-creation-function.
3115         (frame-initialize): Copy the environment from the initial frame.
3116         (window-system-default-frame-alist): Enhance doc string.
3117         (frame-notice-user-settings): Don't put 'tool-bar-lines in
3118         `default-frame-alist' when initial frame is on a tty.
3119         (modify-all-frames-parameters): Simplify using `assq-delete-all'.
3120         Remove specified parameters from `window-system-default-frame-alist'.
3121         (make-frame-on-tty, framep-on-display, suspend-frame):
3122         Extend doc string, update parameter names.
3123         (frames-on-display-list): Use terminal-id to get the display id.
3124         (frame-notice-user-settings): Extend to apply
3125         settings in `window-system-default-frame-alist' as well.
3126         (terminal-id, terminal-parameters, terminal-parameter)
3127         (set-terminal-parameter, terminal-handle-delete-frame): New functions.
3128         (delete-frame-functions): Add to `delete-frame-functions' hook.
3129         (blink-cursor-mode): Adapt blink-cursor-mode default
3130         value from startup.el.
3131         (make-frame-on-display): Protect condition on x-initialized when
3132         x-win.el is not loaded.  Update doc.
3133         (suspend-frame): Use display-controlling-tty-p to decide between
3134         suspend-emacs and suspend-tty.
3135         (frames-on-display-list): Update for display ids.
3136         (framep-on-display): Ditto.
3137         (suspend-frame): Use display-name, not frame-tty-name.
3138         (selected-terminal): New function.
3140         * server.el: Use `device' instead of `display' or `display-id' in
3141         variable and client parameter names.
3142         (server-select-display): Remove (unused).
3143         (server-tty-live-p, server-handle-delete-tty): Remove.
3144         (server-unquote-arg, server-quote-arg, server-buffer-clients):
3145         Update docs.
3146         (server-getenv-from, server-with-environment, server-send-string)
3147         (server-save-buffers-kill-terminal): New functions.
3148         (server-delete-client): Handle quits in kill-buffer.  Don't kill
3149         modified buffers.  Add extra logging.  Delete frames after
3150         deleting the tty.  Clear 'client parameter before deleting a frame.
3151         Use delete-display, not delete-tty.
3152         (server-visit-files): Don't set `server-existing-buffer' if the
3153         buffer already has other clients.  Return list of buffers
3154         created.  Update doc.  Don't set client-record when nowait.
3155         (server-handle-delete-frame): Delete the client if this was its
3156         last frame.  Check that the frame is alive.  Remove bogus comment.
3157         Add note on possible race condition.  Delete tty clients, if needed.
3158         (server-handle-suspend-tty): Use server-send-string.  Kill the
3159         client in case of errors from process-send-string.  Use the display
3160         parameter.
3161         (server-unload-hook): Remove obsolete delete-tty hook.
3162         (server-start): Ask before restarting if the old server still has
3163         clients.  Add feedback messages.  Remove obsolete delete-tty hook.
3164         (server-process-filter): Use server-send-string.  Accept `-dir'
3165         command.  Switch to *scratch* immediately after creating the frame,
3166         before evaluating any -evals.  Protect `display-splash-screen'
3167         call in a condition-case.  Explain why.  Call
3168         `display-startup-echo-area-message' before
3169         `display-splash-screen'.  Don't display the splash screen when no
3170         frame was created.  Show the Emacs splash screen and startup echo
3171         area message.  Display the *scratch* buffer by default.  Store the
3172         local environment in a frame (not terminal) parameter.  Do not try
3173         to decode environment strings.  Fix reference to the 'display
3174         frame parameter.  Change syntax of environment variables.  Put
3175         environment into terminal parameters, not client parameters.  Use
3176         a dummy client with --no-wait's X frames.  In `-position LINE'
3177         handler, don't ruin the request string until the line number is
3178         extracted.  Log opened files.  Handle -current-frame command.
3179         Don't create frames when it is given.  Don't bind X frames to the
3180         client when we are in -no-wait mode.  Set locale environment
3181         variables from client while creating tty frames.  Disable call to
3182         configure-display-for-locale.  When processing -position command,
3183         don't change the request string until the parameters are
3184         extracted.  Don't try to create an X frame when Emacs does not
3185         support it.  Improve logging.  Temporarily set ncurses-related
3186         environment variables to those of the client while creating a new
3187         tty frame.  Select buffers opened by nowait clients, don't leave
3188         them buried under others.  Set the display parameter, and use it
3189         when appropriate.
3191         * startup.el (display-startup-echo-area-message): Handle
3192         `inhibit-startup-echo-area-message' here.
3193         (command-line-1): Moved from here.
3194         (fancy-splash-screens): Use `overriding-local-map' instead of
3195         `overriding-terminal-local-map' for now; the latter doesn't work
3196         right, it looses keypresses to another terminal.  Use
3197         `overriding-terminal-local-map' to set up keymap.  Install a
3198         `delete-frame-functions' hook to catch `delete-frame' events.
3199         Ignore `select-window' events to cope better with
3200         `focus-follows-mouse'.  Don't switch back to the original buffer
3201         if the splash frame has been killed.  Restore previous buffer, even
3202         if it's *scratch*.
3203         (normal-splash-screen): Don't let-bind `mode-line-format'; it
3204         changes the global binding - setq it instead.  Use
3205         `save-buffers-kill-terminal'.
3206         (display-splash-screen): Don't do anything if the splash screen is
3207         already displayed elsewhere.
3208         (fancy-splash-exit, fancy-splash-delete-frame): New functions.
3209         (command-line): Replace duplicated code with a call to
3210         tty-run-terminal-initialization.  Don't load the terminal
3211         initialization file more than once.  Remove call to nonexistent
3212         function `set-locale-translation-file-name'.
3214         * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
3215         parameters.
3216         (xterm-mouse-position-function, xterm-mouse-event): Update.
3217         (xterm-mouse-mode): Don't depend on current value of window-system.
3218         (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
3219         Update for multi-tty.
3220         (turn-on-xterm-mouse-tracking-on-terminal)
3221         (turn-off-xterm-mouse-tracking-on-terminal)
3222         (xterm-mouse-handle-delete-frame): New functions.
3223         (delete-frame-functions, after-make-frame-functions)
3224         (suspend-tty-functions, resume-tty-functions): Install extra hooks
3225         for multi-tty.
3227 2007-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3229         * simple.el (invisible-p): Remove: implemented in C now.
3230         (line-move-invisible-p): Remove obsolete alias.
3232 2007-08-28  Juri Linkov  <juri@jurta.org>
3234         * image-mode.el (image-type): New variable.
3235         (image-mode): Set default major mode name to "Image[text]".
3236         (image-minor-mode): Change LIGHTER to display image-type in the
3237         mode line.
3238         (image-minor-mode): Set default image-type to "text".
3239         (image-toggle-display): After switching to text mode, set
3240         image-type to "text" and major mode name to "Image[text]".
3241         After switching to image mode, set image-type to actual image
3242         type, and add image type to major mode name.  Let-bind the same
3243         variable names as arguments of `image-type' and `create-image'.
3244         Bind `type' to the result of `image-type' and use it as arg
3245         of `create-image' to not determine the image type twice.
3247 2007-08-28  Michael Albinus  <michael.albinus@gmx.de>
3249         * net/tramp.el (tramp-handle-set-file-times): Flush the file properties.
3250         (tramp-set-file-uid-gid, tramp-get-local-uid)
3251         (tramp-get-local-gid): New defuns.
3252         (tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID.
3253         (tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID.
3254         Improve fast track.
3255         (tramp-do-copy-or-rename-file-directly): Sync parameter list with
3256         the other tramp-do-copy-or-rename-file-* functions.  Major rewrite.
3257         (tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
3258         (tramp-handle-write-region): Improve fast track.
3259         (tramp-handle-file-remote-p): IDENTIFICATION can also be `localname'.
3260         (tramp-maybe-open-connection): Let `process-adaptive-read-buffering'
3261         be nil.
3263 2007-08-28  Ivan Kanis  <apple@kanis.eu>
3265         * time.el: New feature to display several time zones in a buffer.
3266         (display-time-world-mode, display-time-world-display)
3267         (display-time-world, display-time-world-timer): New functions.
3268         (display-time-world-list, display-time-world-time-format)
3269         (display-time-world-buffer-name, display-time-world-timer-enable)
3270         (display-time-world-timer-second, display-time-world-mode-map):
3271         New variables.
3273 2007-08-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
3275         * term/x-win.el (x-gtk-stock-map): New variable.
3276         (x-gtk-map-stock): New function.
3278         * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and
3279         prev/next-node.
3281 2007-08-28  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>  (tiny change)
3283         * play/gamegrid.el (gamegrid-init): Set line-spacing to 0.
3285 2007-08-28  Glenn Morris  <rgm@gnu.org>
3287         * progmodes/cc-langs.el (c-constant-kwds): Add java: null, true, false.
3289 2007-08-27  Thien-Thi Nguyen  <ttn@gnuvola.org>
3291         * progmodes/modula2.el (m2-definition, m2-module):
3292         Don't use previous-line.  Reported by T. V. Raman.
3294 2007-08-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3296         * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
3297         argument to tool-bar-mode call.
3299 2007-08-27  Glenn Morris  <rgm@gnu.org>
3301         * diff-mode.el (diff-find-file-name): Only accept regular files,
3302         to rule out /dev/null, directories, etc.
3304         * vc-svn.el (vc-svn-diff): If the repository version of all the
3305         files is the same as the specified OLDVERS, do a local diff.
3307 2007-08-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3309         * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness
3310         of buffers in uniquify-managed.
3312         * simple.el (invisible-p): Rename from text-invisible-p.
3313         Update callers.
3315 2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3317         * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face)
3318         (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode)
3319         (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces)
3320         (cperl-etags-goto-tag-location): Use new style backquotes.
3322         * net/browse-url.el: Remove spurious * in custom docstrings.
3323         (browse-url-filename-alist): Use new-style backquote.
3325         * emacs-lisp/backquote.el (backquote-unquote-symbol)
3326         (backquote-splice-symbol): Clarify they're not new-style unquotes.
3328         * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,)
3329         (\,@): Backslash the , and ,@ which are not new-style unquotes.
3331         * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote.
3333         * net/socks.el (socks-username/password-auth-filter):
3334         Remove unused vars `state' and `desired-len'.
3335         (socks-parse-services, socks-nslookup-host): Use with-current-buffer.
3336         (socks-wait-for-state-change): Use new-style backquotes.
3338         * pcvs.el (cvs-mode-status): Fix long-standing typo.
3340         * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style
3341         backquotes after each `read' rather than once per buffer.
3343         * dframe.el: Remove spurious * in custom docstrings.
3344         (dframe-xemacsp): Remove, use (featurep 'xemacs) instead.
3345         (dframe-xemacs20p): Remove, inline at the sole use point.
3346         (defface): Don't defvar the face, don't use old-style backquote.
3347         (defcustom): Don't use old-style backquote.
3348         (dframe-frame-parameter, dframe-mouse-event-p):
3349         Make it obvious that it's always defined.
3350         (dframe-popup-kludge): New function to replace
3351         dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge.
3352         (dframe-frame-mode, dframe-set-timer-internal)
3353         (dframe-mouse-set-point): Remove use of with-no-warnings from
3354         XEmacs-specific code.
3355         (dframe-set-timer-internal): Fix very old bug with
3356         post-command-idle-hook.
3358         * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'.
3360 2007-08-27  Thien-Thi Nguyen  <ttn@gnuvola.org>
3362         * emacs-lisp/avl-tree.el: New file.
3364 2007-08-26  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
3366         * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
3367         was used.
3369 2007-08-26  Sean O'Rourke  <seano@cs.ucsd.edu>
3371         * complete.el (PC-do-completion): Make RET accept a non-unique but
3372         complete expansion again.
3374 2007-08-26  Thien-Thi Nguyen  <ttn@gnuvola.org>
3376         * eshell/esh-opt.el (eshell-eval-using-options):
3377         Add debug declaration.
3379 2007-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
3381         * log-view.el (log-view-toggle-mark-entry): Add docstring.
3382         (log-view-get-marked): Likewise.
3384         * vc-hooks.el (vc-registered): Use mapc instead of mapcar.
3385         (vc-delete-automatic-version-backups): Likewise.
3387         * vc.el (vc-dired-buffers-for-dir): Likewise.
3389 2007-08-25  Dan Nicolaescu  <dann@ics.uci.edu>
3391         * progmodes/cperl-mode.el (cperl-indent-level): Autoload the
3392         safe-local-variable setting.
3393         * progmodes/perl-mode.el (perl-indent-level): Likewise.
3395         * log-view.el (log-view-marked-list): Delete variable.
3396         (log-view-mode): Don't use it.
3397         (log-view-toggle-mark-entry): Likewise, simplify.
3398         (log-view-current-tag): Don't return properties.
3399         (log-view-get-marked): New function.
3401 2007-08-25  Alexandre Julliard  <julliard@winehq.org>
3403         * vc-git.el (vc-git-mode-line-string): New function.
3405 2007-08-25  Alan Mackenzie  <acm@muc.de>
3407         * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist):
3408         new language variable.
3410         * progmodes/cc-engine.el (c-brace-anchor-point): new function.
3411         (c-add-stmt-syntax): Give accurate anchor points for "namespace",
3412         "extern" etc., rather than BOI.  Fix addition of spurious
3413         syntactic-symbol 'defun-block-intro, replacing it with
3414         'innamespace, etc.
3416 2007-08-25  Juri Linkov  <juri@jurta.org>
3418         * files.el (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el.
3420         * image-mode.el: Add autoloads to put associations in auto-mode-alist:
3421         associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and
3422         "\\.svgz?\\'" with xml-mode and image-mode-maybe.
3424         * image.el (image-type-header-regexps): Use more complex regexp for svg.
3425         (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg).
3426         (image-type-auto-detectable): Add (svg . maybe).
3428         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add .svgz
3429         to treat it like .tgz.
3431         * calendar/cal-bahai.el: Add file coding cookie.
3433 2007-08-25  Reiner Steib  <Reiner.Steib@gmx.de>
3435         * pcvs.el (cvs-query-directory): Only prompt when prefix is given.
3436         Don't behave differently when executed via M-x.  Add doc string.
3438         * sort.el (sort-fold-case, sort-numeric-base): Mark as
3439         safe-local-variable.
3441 2007-08-25  Jay Belanger  <jay.p.belanger@gmail.com>
3443         * calc/calc-forms.el (var-TimeZone): Make nil explicitly
3444         the default value.
3445         (math-calendar-tzinfo): New variable.
3446         (math-get-calendar-tzinfo): New function.
3447         (calcFunc-tzone, calcFunc-dst): Use Emacs's calendar
3448         to get information when zone is nil.
3450 2007-08-24  Dan Nicolaescu  <dann@ics.uci.edu>
3452         * log-view.el (log-view-toggle-mark-entry): New function.
3453         (log-view-mode-map): Bind it.
3454         (log-view-marked-list): New variable.
3455         (log-view-mode): Make it local.
3457 2007-08-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
3459         * play/zone.el (zone-pgm-rat-race): New func.
3460         (zone-programs): Add `zone-pgm-rat-race'.
3462 2007-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3464         * emacs-lisp/byte-opt.el (byte-optimize-if): Don't presume `clause' is
3465         a list.
3467 2007-08-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
3469         * progmodes/hideshow.el (hs-match-data): Delete alias.
3470         (hs-hide-block-at-point, hs-find-block-beginning)
3471         (hs-show-block): Use `match-data' directly.
3473 2007-08-24  Martin Rudalics  <rudalics@gmx.at>
3475         * format.el (format-alist): Fix typo in doc-string.
3477 2007-08-24  Michael Albinus  <michael.albinus@gmx.de>
3479         * net/tramp.el (tramp-local-host-p): New defun.
3480         (tramp-handle-file-local-copy, tramp-handle-write-region):
3481         Implement fast track when being on the local host.
3482         (tramp-file-name-handler): Don't set "started" property.  It shall
3483         be reserved for the "ftp" method.
3484         (tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'.
3486         * net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'.
3487         (tramp-ftp-file-name-handler): Set "started" property.
3489 2007-08-24  Ulrich Mueller  <ulm@gentoo.org>  (tiny change)
3491         * files.el (backup-buffer-copy): Don't wrap delete in
3492         condition-case, only try to delete if file exists.
3494 2007-08-24  Glenn Morris  <rgm@gnu.org>
3496         * files.el (backup-buffer-copy): Revert 2007-08-22 change.
3498         * startup.el (tutorial-directory): Set with eval-at-startup so it
3499         gets the right value in an installed Emacs.
3501 2007-08-24  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
3503         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
3504         (eldoc-highlight-function-argument): Use it.
3506 2007-08-23  Masatake YAMATO  <jet@gyve.org>
3508         * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight
3509         name of parameters in document body.
3511 2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3513         * emacs-lisp/bytecomp.el (byte-compile-output-docform)
3514         (byte-compile-output-as-comment): Use with-current-buffer rather than
3515         a weird set-buffer&prog1 combination.
3517         * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the
3518         test so as to optimise cases where the `progn's result is constant.
3520 2007-08-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
3522         * locate.el (locate-get-file-positions):
3523         Use line-beginning-position and line-end-position.
3525 2007-08-23  John Wiegley  <johnw@newartisans.com>
3527         * calendar/cal-bahai.el: Added in the diacriticals that were
3528         missing for many of the month names.
3530 2007-08-22  Jason Rumney  <jasonr@gnu.org>
3532         * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix.
3534 2007-08-22  Chong Yidong  <cyd@stupidchicken.com>
3536         * image-mode.el (image-minor-mode): Use image-mode-text-map.
3538 2007-08-22  Sean O'Rourke  <sorourke@cs.ucsd.edu>
3540         * dabbrev.el (dabbrev--progress-reporter): New variable.
3541         (dabbrev--scanning-message): Delete func.
3542         (dabbrev--find-expansion): Use a progress reporter
3543         instead of dabbrev--scanning-message.
3545 2007-08-22  Michael Albinus  <michael.albinus@gmx.de>
3547         * comint.el (comint-exec-1): Raise an error if
3548         `start-file-process' does not return a process object.
3550         * shell.el (shell): Prompt for `default-directory' if it is a
3551         remote file name, and if called with a prefix arg.
3553 2007-08-22  Sam Steingold  <sds@gnu.org>
3555         * pcvs.el (cvs-vc-command-advice): Fix a typo in code (file->files).
3557 2007-08-22  Carsten Dominik  <dominik@science.uva.nl>
3559         * textmodes/org-export-latex.el: New file.
3561         * textmodes/org-publish.el (org-publish-org-to-latex): New function.
3563         * textmodes/org.el (org-agenda-skip): Allow a form for
3564         `org-agenda-skip-function'.
3565         (org-agenda-redo): Re-use local settings.
3566         (org-agenda): Store local settings.
3567         (org-agenda-deadline-faces): New option.
3568         (org-agenda-deadline-face): New function.
3569         (org-agenda-get-deadlines, org-agenda-get-scheduled): Also handle
3570         entries on their due date.
3571         (org-agenda-get-timestamps): No longer handle the due dates of
3572         schedules and deadline items.
3573         (org-insert-link-global, org-open-at-point-global): New commands.
3574         (org-export-as-ascii): Call `org-cleaned-string-for-export' with a
3575         :for-ascii parameter.
3576         (org-skip-comments): Function removed.
3577         (org-cleaned-string-for-export): Handle special table lines.
3578         (org-global-properties): New option.
3579         (org-entry-get-with-inheritance): Check global properties.
3580         (org-local-properties): New variable.
3581         (org-set-regexps-and-options): Find the #+PROPERTY line.
3582         (org-link-types): Change type into variable (was constant).
3583         (org-make-link-regexps): New function.
3584         (org-link-re-with-space, org-link-re-with-space2)
3585         (org-angle-link-re, org-plain-link-re, org-bracket-link-regexp)
3586         (org-bracket-link-analytic-regexp, org-any-link-re): Creation of
3587         these regular expressions happens now in the function
3588         `org-make-link-regexps'.
3589         (org-store-link): Call the functions in
3590         `org-store-link-functions'.
3591         (org-add-link-type): New function.
3592         (org-store-link-functions): New variable.
3593         (org-activate-tags): Force matches to be in headlines.
3594         (org-batch-store-agenda-views): Fix bug with killing agenda buffer.
3595         (org-columns-display-here): Make sure this works in a narrowed
3596         buffer by checking for point-min.
3597         (org-columns-display-here): Make the rest of the line intangible,
3598         so that point never can be there.
3599         (org-cleaned-string-for-export): Use `with-current-buffer'.
3600         (org-replace-region-by-html): Use `with-current-buffer'.
3601         (org-unfontify-region, org-do-occur, org-columns-display-here)
3602         (org-columns-remove-overlays, org-columns-quit)
3603         (org-columns-edit-value, org-columns-next-allowed-value)
3604         (org-eval-in-calendar, org-agenda-undo, org-no-read-only)
3605         (org-finalize-agenda, org-remove-subtree-entries-from-agenda)
3606         (org-agenda-todo, org-agenda-change-all-lines)
3607         (org-agenda-align-tags, org-agenda-priority)
3608         (org-agenda-set-tags, org-agenda-toggle-archive-tag)
3609         (org-agenda-show-new-time, org-cleaned-string-for-export)
3610         (org-export-grab-title-from-buffer)
3611         (org-export-as-ascii, org-export-as-html): Use `inhibit-read-only'
3612         instead of `buffer-read-only'.
3613         (org-export-as-html): Set `coding-system-for-write'.
3614         (org-remember-store-without-prompt): New option.
3615         (org-archive-subtree): Fixed bug with modifying TODO keyword.
3616         (org-beginning-of-line): Also treat C-a special in items.
3617         (org-table-convert-refs-to-rc): Fixed problem with column
3618         reference after "..".
3619         (org-columns-compute): Don't mark buffer modified because of text
3620         properties.
3621         (org-batch-store-agenda-views): Use the variable
3622         `default-directory', not the function.
3623         (org-clock-out-if-current): Respect `org-clock-out-when-done'.
3624         (org-clock-out-when-done): New option.
3625         (org-html-entities): Added HTML entities for smileys.
3627 2007-08-22  Glenn Morris  <rgm@gnu.org>
3629         * image.el (create-image): Doc fix.
3631         * startup.el (tutorial-directory): New constant.
3632         (fancy-splash-text): Tutorials now in tutorial-directory.
3633         * tutorial.el (help-with-tutorial): Tutorials now in
3634         tutorial-directory.
3636 2007-08-22  Michael Albinus  <michael.albinus@gmx.de>
3638         * net/tramp.el (top): Require cl.el, when `copy-tree' is not available
3639         otherwise.
3640         (tramp-get-remote-path): New defun.  Replace occurrences of
3641         `tramp-default-remote-path' by this function.
3642         (tramp-set-remote-path): Move most of the code to
3643         `tramp-get-remote-path'.
3644         (tramp-get-ls-command, tramp-get-remote-id): Don't check for not
3645         existing directories, this is done already in
3646         `tramp-get-remote-path'.
3648 2007-08-22  Paul Pogonyshev  <pogonyshev@gmx.net>
3650         * image-file.el (image-file-name-extensions): Add "svg".
3651         * image.el (image-type-header-regexps): Add svg entry.
3653 2007-08-22  Glenn Morris  <rgm@gnu.org>
3655         * files.el (backup-buffer-copy): Check backup directory is
3656         writable, to avoid infloop deleting old backup.
3658         * mail/rmail.el (rmail-movemail-variant-p): Call on load to set
3659         movemail related variables.
3660         (rmail-insert-inbox-text): Use only rmail-movemail-program, which
3661         will now be set before this is called.
3663 2007-08-21  Juri Linkov  <juri@jurta.org>
3665         * delsel.el (delete-selection-pre-hook):
3666         * emulation/cua-base.el (cua-paste): Use `mouse-region-match'
3667         instead of checking last-command.
3669 2007-08-21  Juri Linkov  <juri@jurta.org>
3671         * loadup.el: Preload "button".
3673 2007-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3675         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3676         Add previous-line and next-line.
3678         * vc-arch.el (vc-arch-extra-menu-map): New var and fun.
3679         (vc-arch-find-file-not-found-hook): Remove, it's now the default.
3681         * vc-hooks.el (vc-menu-entry): New var.
3682         (vc-mode-line-map): Use it so that this menu also uses the extra-menu.
3683         (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
3684         (vc-menu-map): Declare and initialize in one step.
3685         (vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter.
3687         * menu-bar.el (vc-menu-map): Don't setup any more.
3688         Instead, just create the proper spot in the menu.
3690 2007-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3692         * smerge-mode.el (smerge-resolve): New arg `safe'.
3693         (smerge-resolve-all, smerge-batch-resolve): New function.
3694         (smerge-refine): Make sure `diff' returns the expected result.
3695         (smerge-parsep-re): New const.
3696         (smerge-mode): Use it to adjust paragraph-separate.
3698         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
3699         Correctly match / regexp matchers as first char on a line when
3700         fontifying only that line.
3702         * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data.
3704 2007-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3706         * vc-bzr.el: Don't fiddle with vc-handled-backend.
3707         (vc-bzr-registered): Don't redundantly protect against
3708         file-error.  Actually use the format-specific code.
3709         (vc-bzr-buffer-nonblank-p): Remove.
3710         (vc-bzr-status): Change `kindchange' -> `kindchanged'.
3712 2007-08-20  Juri Linkov  <juri@jurta.org>
3714         * startup.el (fancy-splash-text): Change multiple tabs into one
3715         tab.  Remove "Useful File menu items" section (with "Exit Emacs"
3716         and "Recover Crashed Session").
3717         (fancy-splash-screens): Set tab-width to 22.
3718         (normal-splash-screen): Replace literal tabs with \t and
3719         fix whitespace.  Remove "Useful File menu items" section (with
3720         "Exit Emacs" and "Recover Crashed Session").
3722 2007-08-20  Johannes Weiner  <hannes@saeurebad.de>  (tiny change)
3724         * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was
3725         extracted from `eval-last-sexp-1'.
3726         (eval-last-sexp-1): Call `preceding-sexp'.
3728 2007-08-20  Thien-Thi Nguyen  <ttn@gnuvola.org>
3730         * vc-rcs.el (vc-rcs-annotate-command):
3731         Fix bug introduced 2007-07-18T16:32:40Z!esr@snark.thyrsus.com:
3732         Add back :vc-annotate-prefix propertization.
3734 2007-08-20  Andreas Schwab  <schwab@suse.de>
3736         * mail/rmail.el (rmail-autodetect): Doc fix.
3738 2007-08-19  Juri Linkov  <juri@jurta.org>
3740         * startup.el (normal-splash-screen): Add more links.
3742 2007-08-19  Juri Linkov  <juri@jurta.org>
3744         * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap'
3745         because it's common to both types of splash screen: fancy and normal.
3746         Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen.
3747         (exit-splash-screen): Rename from `fancy-splash-quit'.
3748         Use `quit-window' instead of `kill-buffer'.
3749         (fancy-splash-head): Use make-button to insert GNU image link.
3750         (fancy-splash-screens, normal-splash-screen): Rename " About GNU
3751         Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*".
3752         (normal-splash-screen): Put "Browse manuals" on the same line with
3753         "Emacs manual".  Remove descriptions from "Useful tasks" and put
3754         all links in two columns on two lines.
3756 2007-08-19  Michael Kifer  <kifer@cs.stonybrook.edu>
3758         * viper.el (viper-remove-hooks): Remove some additional viper hooks
3759         when the user calls viper-go-away.
3760         (viper-go-away): Restore the default of default-major-mode.
3761         Save the value of default-major-mode before vaperization.
3763         * viper-cmd.el: Replace error "" with "Viper bell".
3765         * viper-ex.el: Replace error "" with "Viper bell".
3767         * ediff-util.el (ediff-make-temp-file): Use the coding system of the
3768         buffer for which file is created.
3770 2007-08-19  Glenn Morris  <rgm@gnu.org>
3772         * Makefile.in (custom-deps, finder-data, autoloads, recompile)
3773         (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather
3774         than $(EMACS), so that EMACSLOADPATH is set.  Prevents any system
3775         shadow files messing up the compilation.
3777 2007-08-18  Glenn Morris  <rgm@gnu.org>
3779         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Add doc
3780         string.  Also apply eldoc-argument-case in the help-split-fundoc
3781         case.  Adapt for changed behavior of eldoc-function-argstring,
3782         eldoc-function-argstring-format, and
3783         eldoc-highlight-function-argument.
3784         (eldoc-highlight-function-argument): Handle nil INDEX argument,
3785         just call eldoc-docstring-format-sym-doc in that case.
3786         (eldoc-function-argstring): Change the behavior.  Now it converts
3787         an argument list to a string.
3788         (eldoc-function-argstring-format): Change the behavior.  Now it
3789         applies `eldoc-argument-case' to a string.
3791         * progmodes/scheme.el (scheme-mode-variables): Set
3792         font-lock-comment-start-skip.
3794 2007-08-18  Martin Rudalics  <rudalics@gmx.at>
3796         * progmodes/ada-mode.el (ada-create-syntax-table): Move
3797         set-syntax-table from here to ...
3798         (ada-mode): ... here.  Do not change global value of
3799         comment-multi-line.  Call new function
3800         ada-initialize-syntax-table-properties and add new function
3801         ada-handle-syntax-table-properties to font-lock-mode-hook.
3802         (ada-deactivate-properties, ada-initialize-properties): Replace
3803         by new functions ...
3804         (ada-handle-syntax-table-properties)
3805         (ada-initialize-syntax-table-properties)
3806         (ada-set-syntax-table-properties): ... to set up syntax-table
3807         properties uniformly, independently from whether font-lock-mode
3808         is enabled or not.  Handle read-only buffers and do not change
3809         undo-list when setting syntax-table properties.
3810         (ada-after-change-function): Use ada-set-syntax-table-properties.
3812 2007-08-18  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
3814         * progmodes/meta-mode.el (meta-indent-calculate-last): Remove.
3815         (meta-indent-current-nesting): Use a computation of the nesting
3816         instead.
3817         (meta-indent-current-indentation): Indentation is given according
3818         to nesting and if the previous line was finished or not.
3819         (meta-indent-unfinished-line): Tell if the current line ends with
3820         a finished expression.
3821         (meta-indent-looking-at-code): Like `looking-at', but checks if
3822         the point is in a string before.
3823         (meta-indent-level-count): Use it.  Don't count parenthesis as it's
3824         done in the nesting function.
3825         (meta-indent-in-string-p): Tell if the current point is in a
3826         string.
3827         (meta-indent-calculate): Treat b-o-b as a special case.  Use the
3828         previous functions.
3830 2007-08-17  Thien-Thi Nguyen  <ttn@gnuvola.org>
3832         * emacs-lisp/copyright.el (copyright-limit): New defsubst.
3833         (copyright-update-year, copyright-update)
3834         (copyright-fix-years): Use it.
3836 2007-08-17  Kimit Yada  <kimitto@gmail.com>  (tiny change)
3838         * emacs-lisp/copyright.el (copyright-update-year):
3839         Fix bug: Handle nil copyright-limit.
3841 2007-08-17  Jay Belanger  <jay.p.belanger@gmail.com>
3843         * calc/calc-units.el (math-standard-units): Give exact
3844         conversion for tsp.
3846         * calc/calc.el (math-bignum-digit-length): Compute the
3847         appropriate value.
3849         * calc/calc-bin.el (math-bignum-logb-digit-size)
3850         (math-bignum-digit-power-of-two):
3851         * calc/calc-comb.el (math-small-factorial-table):
3852         * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
3853         (math-approx-gamma-const):
3854         * calc/calc-funcs.el (math-besJ0, math-besJ1, math-besY0)
3855         (math-besY1, math-bernoulli-b-cache):
3856         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
3857         Remove `eval-when-compile's.
3859 2007-08-17  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
3861         * progmode/cperl-mode.el (cperl-look-at-leading-count)
3862         (cperl-find-pods-heres): Fix an error when typing expressions like
3863         `s{a}{b}'.
3865 2007-08-17  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
3867         * mail/emacsbug.el (report-emacs-bug): Remove the last number of
3868         `emacs-version', use the topic prefix ``version; ''.  Make MS-DOS
3869         a special case (there's no build number).
3871 2007-08-17  T. V. Raman  <raman@users.sf.net>  (tiny change)
3873         * completion.el (symbol-under-point, symbol-before-point)
3874         (symbol-before-point-for-complete): Use buffer-substring-no-properties.
3876 2007-08-17  Glenn Morris  <rgm@gnu.org>
3878         * progmodes/compile.el (compilation-get-file-structure): Make use
3879         of the directory part when checking for an existing entry, to
3880         handle files with same basename in different directories.
3882 2007-08-17  Jay Belanger  <jay.p.belanger@gmail.com>
3884         * calc/calc.el (calc-language-alist): Add texinfo-mode.
3886 2007-08-16  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3888         * ps-print.el (ps-header-font-size, ps-header-title-font-size)
3889         (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing)
3890         (ps-paragraph-spacing): Docstring fix.
3892 2007-08-16  Glenn Morris  <rgm@gnu.org>
3894         * ps-print.el (ps-font-size): Doc fix.
3896 2007-08-16  Richard Stallman  <rms@gnu.org>
3898         * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group.
3900 2007-08-15  Juri Linkov  <juri@jurta.org>
3902         * startup.el (initialization): Change parent group from `internal'
3903         to `environment'.
3904         (initial-buffer-choice): New variable.
3905         (command-line): Revert 2007-07-02 change that sets
3906         buffer-offer-save in *scratch* and enables auto-save in it.
3907         (fancy-splash-text): Add links to existing items.  Add new items
3908         with links for useful tasks.  Move information about Control-g to
3909         fancy-splash-head.  Move "Emacs Guided Tour" to the end.
3910         (fancy-splash-keymap): New variable.
3911         (fancy-splash-last-input-event): Remove variable.
3912         (fancy-splash-insert): Add processing of `:link' element.
3913         (fancy-splash-head): Replace "Type Control-l to begin editing"
3914         with "Type `q' to exit".
3915         (fancy-splash-screens-1): Let-bind inhibit-read-only to t.
3916         (fancy-splash-default-action, fancy-splash-special-event-action):
3917         Remove functions.
3918         (fancy-splash-quit): New function.
3919         (fancy-splash-screens): Rename input arg from `hide-on-input' to
3920         `static' and reverse the condition of its usage.  Don't preserve
3921         original values of `minor-mode-map-alist',
3922         `emulation-mode-map-alists', `special-event-map'.
3923         Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
3924         Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
3925         Remove processing of special events.  Use local key map
3926         `fancy-splash-keymap'.  Set buffer to read-only.
3927         (normal-splash-screen): Rename input arg from `hide-on-input' to
3928         `static' and reverse the condition of its usage.
3929         Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
3930         Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
3931         Add links to existing items.  Add new items with links for useful
3932         tasks.  Use local key map `fancy-splash-keymap'.
3933         (display-splash-screen): Rename input arg from `hide-on-input' to
3934         `static'.
3935         (about-emacs): Add alias to display-splash-screen.
3936         (command-line-1): Use `initial-buffer-choice'.
3938         * menu-bar.el (menu-bar-help-menu):
3939         * term/mac-win.el (mac-apple-event-map): Bind About Emacs menu
3940         item to about-emacs instead of display-splash-screen.
3942 2007-08-15  Jay Belanger  <jay.p.belanger@gmail.com>
3944         * calc/calc-units.el (math-standard-units): Update values.
3945         Put in exact, rational values when possible.
3946         (math-unit-prefixes): Replace floats with powers of ten.
3947         (math-standard-units-systems): Replace floats with integers.
3948         (math-make-unit-string): Remove extra spaces in output.
3950 2007-08-15  Glenn Morris  <rgm@gnu.org>
3952         * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even
3953         sloppier, for the sake of GNU Mailman.
3954         (rmail-digest-rfc1153): Initialize `result' correctly.
3956 2007-08-15  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
3958         * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; '
3959         in the mail title.  Suggested by Reiner Steib.
3961 2007-08-14  Chris Hecker  <checker@d6.com>  (tiny change)
3963         * calc/calc-aent.el (calc-do-quick-calc): Add binary
3964         representation of integers to the list of outputs.
3966 2007-08-14  Glenn Morris  <rgm@gnu.org>
3968         * simple.el (bad-packages-alist): New constant.
3969         (bad-package-check): New function.  Together, these two add elements
3970         to `after-load-alist' to check for problematic external packages.
3971         * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'.
3973 2007-08-14  Jay Belanger  <jay.p.belanger@gmail.com>
3975         * calc/calc-units.el (math-get-standard-units)
3976         (math-get-units, math-make-unit-string)
3977         (math-get-default-units, math-put-default-units): New functions.
3978         (math-default-units-table): New variable.
3979         (calc-convert-units, calc-convert-temperature): Add machinery
3980         to supply default values.
3982 2007-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3984         * emulation/tpu-edt.el: Add tpu-extras's autoloads.
3985         (tpu-gold-map, tpu-global-map): Comment-out the bindings to nil.
3986         (tpu-gold-map): Bind F to tpu-cursor-free-mode.
3987         (minibuffer-local-map): Use funkey symbols rather than esc-sequence.
3989         * emulation/tpu-extras.el: Remove spurious * in docstrings.
3990         Put its autoloads into tpu-edt.el rather than loaddefs.el.
3991         (tpu-cursor-free-mode): Rename from tpu-cursor-free.
3992         Make into a proper minor-mode.
3993         (tpu-backward-char, tpu-next-line, tpu-previous-line)
3994         (tpu-next-end-of-line, tpu-current-end-of-line): Use new name.
3995         (tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook.
3996         (tpu-set-cursor-free, tpu-set-cursor-bound):
3997         Delegate to tpu-cursor-free-mode.
3998         (tpu-next-line, tpu-previous-line, tpu-forward-line)
3999         (tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up):
4000         Use line-move or forward-line instead of next-line-internal.
4002 2007-08-13  Nick Roberts  <nickrob@snap.net.nz>
4004         * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully.
4006 2007-08-12  Richard Stallman  <rms@gnu.org>
4008         * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout)
4009         (cvs-execute-single-file): Use new name split-string-and-unquote.
4010         (cvs-header-msg): Use new name combine-and-quote-strings.
4012         * emulation/vi.el (vi-next-line): Ignore return value of line-move.
4014         * progmodes/gud.el (gud-common-init): Use new name
4015         split-string-and-unquote.
4017         * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop
4018         in javac regexp.
4020         * pcvs-util.el (cvs-qtypedesc-strings): Use new names
4021         combine-and-quote-strings and split-string-and-unquote.
4023         * subr.el (combine-and-quote-strings): Rename from strings->string.
4024         (split-string-and-unquote): Rename from string->strings.
4026 2007-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4028         * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt
4029         to buffer-local settings.
4031         * emacs-lisp/backquote.el (backquote-delay-process): New function.
4032         (backquote-process): Add internal arg `level'.  Use the two to
4033         correctly handle nested backquotes.
4035 2007-08-09  Riccardo Murri  <riccardo.murri@gmail.com>
4037         * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs.
4038         (vc-bzr-state-words): Add "kind changed" state word.
4039         (vc-bzr-status): New function.  Return Bzr idea of file status,
4040         which is different from VC's.
4041         (vc-bzr-state): Use vc-bzr-status.
4042         (vc-workfile-unchanged-p): Use vc-bzr-status.
4043         (vc-bzr-revert): Use synchronous process; expect exitcode 0.
4044         (vc-dired-state): Process "kind changed" state word.
4046 2007-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4048         * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing.
4050         * vc-rcs.el (vc-rcs-find-file-not-found-hook):
4051         Move from vc-default-find-file-not-found-hook.
4053 2007-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4055         * man.el: Remove spurious * in docstrings.
4056         Merge defvars and toplevel setq-defaults.
4057         (Man-highlight-references0): Limit=nil rather than point-max.
4058         (Man-mode-map): Move initialization into the declaration.
4059         (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
4060         (Man-view-header-file): Use expand-file-name rather than concat.
4061         (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
4063         * man.el (Man-next-section): Make sure we do not move backward.
4065 2007-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4067         * files.el (auto-mode-alist): Use the purecopied text (duh!).
4069 2007-08-08  Glenn Morris  <rgm@gnu.org>
4071         * Replace `iff' in doc-strings and comments.
4073 2007-08-08  Martin Rudalics  <rudalics@gmx.at>
4075         * dired.el (dired-pop-to-buffer):
4076         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4077         * calendar/calendar.el (generate-calendar-window):
4078         * progmodes/compile.el (compilation-set-window-height):
4079         * textmodes/two-column.el (2C-two-columns, 2C-merge):
4080         Use window-full-width-p instead of comparing frame-width and
4081         window-width.
4083         * progmodes/compile.el (compilation-find-buffer): Remove extra
4084         argument in call to compilation-buffer-internal-p.
4086 2007-08-07  Tom Tromey  <tromey@redhat.com>
4088         * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level):
4089         Add safe-local-variable property.
4091 2007-08-07  Chong Yidong  <cyd@stupidchicken.com>
4093         * image-mode.el (image-toggle-display): Use image-refresh.
4095 2007-08-07  Riccardo Murri  <riccardo.murri@gmail.com>
4097         * vc-bzr.el: Remove comments about vc-bzr.el being a modified
4098         unofficial version.
4099         (vc-bzr-command): Remove redundant setting of process-connection-type.
4100         (vc-bzr-admin-checkout-format-file): Add autoload.
4101         (vc-bzr-root-dir): Remove in favor of vc-bzr-root.
4102         (vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
4103         (vc-bzr-registered): Compare dirstate format tag with known good
4104         value, abort parsing if match fails.  Warn user in docstring.
4105         (vc-bzr-workfile-version): Case for different Bzr branch formats.
4106         See bzrlib/branch.py in Bzr sources.
4107         (vc-bzr-diff): First argument FILES may be a string rather than a list.
4108         (vc-bzr-shell-command): Remove in favor of
4109         vc-bzr-command-discarding-stderr.
4110         (vc-bzr-command-discarding-stderr): New function.
4112 2007-08-06  Riccardo Murri  <riccardo.murri@gmail.com>
4114         * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr"
4115         program, and return nil.
4116         (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
4117         (vc-bzr-state): Look for path names relative to the repository
4118         root after status keyword.
4119         (vc-bzr-file-name-relative): New function.
4120         (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
4121         depend on it.
4122         (vc-bzr-admin-dirname, ...-checkout-format-file)
4123         (...-branch-format-file, ...-revhistory): Paths to some Bzr internal
4124         files that we now parse directly for speed.
4125         (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
4126         (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
4127         (vc-bzr-state): "bzr status" successful only if exitcode is 0.
4128         (vc-bzr-root): Use `vc-bzr-shell-command'.  Stderr may contain
4129         Bzr warnings, so we must discard it.
4130         (vc-bzr-workfile-version): Speedup counting lines from
4131         `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
4132         if that file doesn't exist.
4133         (vc-bzr-responsible-p): Use `vc-bzr-root' instead of
4134         `vc-bzr-root-dir' for speed.  Add `vc-bzr-admin-dirname' (not ".bzr"!)
4135         to `vc-directory-exclusion-list'.
4136         (vc-bzr-shell-command): New function.
4138 2007-08-06  Tom Tromey  <tromey@redhat.com>
4140         * diff-mode.el (diff-unified->context, diff-reverse-direction)
4141         (diff-fixup-modifs): Typo in docstring.
4143 2007-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4145         * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and
4146         count-screen-lines.
4147         (tpu-edt-off): Disable relevant pieces of advice.
4149         * emulation/tpu-extras.el (tpu-before-save-hook): Rename from
4150         tpu-write-file-hook.  Activate it with add-hook on buffer-save-hook.
4151         (newline, newline-and-indent, do-auto-fill): Use advice instead of
4152         redefining the function.
4153         (tpu-set-scroll-margins): Activate the pieces of advice.
4155 2007-08-06  Martin Rudalics  <rudalics@gmx.at>
4157         * help.el (resize-temp-buffer-window): Use window-full-width-p
4158         instead of comparing frame-width and window-width.
4160 2007-08-13  Stephen Leake  <stephen_leake@stephe-leake.org>
4162         * pcvs-parse.el (cvs-parse-table): Handle additional instance of
4163         optional quotes around files in NEED-UPDATE . REMOVED case.
4165         * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring.
4166         (ada-treat-cmd-string): Improve error message.
4167         (ada-do-file-completion): Call `ada-require-project-file', so
4168         project variables are set properly.
4169         (ada-prj-find-prj-file): Delete Emacs 20.2 support.
4170         (ada-gnatfind-buffer-name): New constant.
4171         (ada-find-any-references): Use new constant.  Set buffer name
4172         properly in compilation-start.  Toggle read-only properly.
4173         (ada-find-in-src-path): Fix spelling error in docstring.
4175         * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide
4176         by zero error.
4178 2007-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4180         * emacs-lisp/autoload.el (autoload-print-form): Use print-quoted.
4182 2007-08-12  Richard Stallman  <rms@gnu.org>
4184         * progmodes/sh-script.el (sh): Delete group `unix'.
4186         * progmodes/gud.el (gud): Change to group `processes'.
4188 2007-08-11  Glenn Morris  <rgm@gnu.org>
4190         * progmodes/compile.el (compilation-buffer-name): Don't check
4191         compilation-arguments.  It is superfluous, and the variable isn't
4192         even set when this function is called.
4194 2007-08-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4196         * term/mac-win.el (mac-ae-reopen-application): New function.
4197         (mac-apple-event-map): Bind "reopen application" Apple event to it.
4199 2007-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4201         * textmodes/tex-mode.el (tex-font-lock-unfontify-region): Fix to
4202         take tex-font-script-display into account.
4203         (tex-font-script-display, tex-font-lock-suscript): Change from a cons
4204         cell to a list of 2 elements to simplify the unfontify code.
4206 2007-08-08  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4208         * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix.
4209         (ps-begin-job): Use ps-default-fg and ps-default-bg only when
4210         ps-print-color-p is neither nil nor black-white.  Reported by Christian
4211         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
4213 2007-08-08  Andreas Schwab  <schwab@suse.de>
4215         * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
4216         self-insert-command, not self-insert.
4218 2007-08-08  Glenn Morris  <rgm@gnu.org>
4220         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Make second
4221         argument optional, for backwards compatibility, and only highlight
4222         args when present.  Fix symbol name typo (doc/args).
4224         * help-mode.el (help-make-xrefs): Search for symbol constituents,
4225         rather than just `-'.
4227 2007-08-07  Jay Belanger  <jay.p.belanger@gmail.com>
4229         * calc/calc-units.el (calc-convert-temperature):
4230         Use `/' to create fractions.
4232 2007-08-07  Michael Albinus  <michael.albinus@gmx.de>
4234         * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more
4235         global matching.
4236         (tramp-handle-shell-command): Handle OUTPUT-BUFFER and
4237         ERROR-BUFFER more robust.  Display output.
4238         (tramp-file-name-handler): Add a connection property when we found
4239         a foreign file name handler.  This allows backends like ftp to
4240         profit also from usr/host name completion based on connection
4241         cache.
4242         (tramp-send-command-and-read): Search for trash after the regexp
4243         until eol only.  In XEmacs, there is a problem with \n.
4245         * net/tramp-cache.el (top): Read persistent connection history
4246         when cache is empty.
4248 2007-08-07  Nic Ferrier  <nferrier@tapsellferrier.co.uk>  (tiny change)
4250         * net/tramp.el (tramp-handle-process-file): Fix bug inserting
4251         resulting output.
4253 2007-08-07  Sam Steingold  <sds@gnu.org>
4255         * progmodes/compile.el (compilation-start): Pass nil as startfile
4256         to comint-exec.
4258 2007-08-07  Chong Yidong  <cyd@stupidchicken.com>
4260         * longlines.el (longlines-decoded): New variable.
4261         (longlines-mode): Avoid encoding or decoding the buffer twice.
4263 2007-08-07  Martin Rudalics  <rudalics@gmx.at>
4265         * format.el (format-insert-file): Make sure that at most one undo
4266         entry is recorded for the insertion.  Inhibit point-motion and
4267         modification hooks around call to insert-file-contents.
4269 2007-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4271         * vc.el (vc-annotate): Select temp-buffer before running vc-exec-after.
4272         Select the buffer's window before moving point.
4274 2007-08-07  Richard Stallman  <rms@gnu.org>
4276         * term.el (term): Remove parent group `unix'.
4278         * simple.el (default-indent-new-line): New function.
4279         It calls comment-line-break-function if there are comments.
4280         (do-auto-fill): Use that.
4282 2007-08-07  Sean O'Rourke  <sorourke@cs.ucsd.edu>
4284         * complete.el (PC-lisp-complete-symbol): Complete symbol around point.
4285         (PC-do-completion): Add "acronym completion" for symbols and
4286         filenames, so e.g. "mvbl" expands to "make-variable-buffer-local".
4288 2007-08-06  Sam Steingold  <sds@gnu.org>
4290         * mouse.el (mouse-buffer-menu): Pass mode-name through
4291         format-mode-line because it may be a list,
4292         e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
4294 2007-08-06  Vinicius Jose Latorre  <viniciusig@ig.com.br>
4296         * printing.el (pr-update-menus): Docstring fix.
4298 2007-08-06  Jason Rumney  <jasonr@gnu.org>
4300         * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
4302         * vc-hooks.el (vc-call): Add doc string.
4304 2007-08-06  Michael Albinus  <michael.albinus@gmx.de>
4306         * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
4307         process-filter.
4309 2007-08-06  Kenichi Handa  <handa@m17n.org>
4311         * international/quail.el: Wrap (require 'help-mode) by
4312         eval-when-compile.
4313         (quail-help-init): New function.
4314         (quail-help): Call quail-help-init.
4315         (quail-store-decode-map-key): Change it to a function.
4317 2007-08-05  Jason Rumney  <jasonr@gnu.org>
4319         * vc.el (vc-rollback): Add norevert argument back.
4320         (vc-revert-buffer): Add back as obsolete alias.
4322 2007-08-05  Peter Povinec  <ppovinec@yahoo.com>  (tiny change)
4324         * term.el: Honor term-default-fg-color and term-default-bg-color
4325         settings when modifying term-current-face.
4326         (term-default-fg-color, term-default-bg-color): Initialize from
4327         default term-current-face.
4328         (term-mode, term-reset-terminal): Set term-current-face with
4329         term-default-fg-color and term-default-bg-color.
4330         (term-handle-colors-array): term-current-face has term-default-fg-color
4331         and term-default-bg-color after reset escape sequence.
4332         (term-handle-colors-array): Set term-current-color with
4333         term-default-fg/bg-color instead of ansi-term-color-vector when the
4334         index (term-ansi-current-color or term-ansi-current-bg-color) is zero.
4336 2007-08-05  Jay Belanger  <jay.p.belanger@gmail.com>
4338         * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables.
4339         (math-nlfit-givens): Let bind free variables.
4341 2007-08-05  Vinicius Jose Latorre  <viniciusig@ig.com.br>
4343         * printing.el: Require lpr and ps-print when loading printing package.
4344         Reported by Glenn Morris <rgm@gnu.org>.
4346 2007-08-05  Michael Albinus  <michael.albinus@gmx.de>
4348         * files.el (set-auto-mode): Handle also remote files wrt
4349         `auto-mode-alist'.
4351 2007-08-04  Jay Belanger  <jay.p.belanger@gmail.com>
4353         * calc/calcalg3.el (calc-curve-fit): Add support for nonlinear
4354         curves and plotting.
4356         * calc/calc-nlfit.el: New file.
4358 2007-08-04  Glenn Morris  <rgm@gnu.org>
4360         * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is
4361         zero, not nil, when the library is first loaded.  Check for a file
4362         that has been modified on disk.
4364         * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist):
4365         Remove duplicate defvar preventing initialization.
4366         (cperl-mode): Fix compilation-error-regexp-alist-alist setting.
4368 2007-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4370         * diff-mode.el (diff-font-lock-keywords): Fix up false positives.
4371         (diff-beginning-of-file): Adjust to the fact that diff-file-header-re
4372         may match up to 4 lines.
4373         (diff-beginning-of-file-and-junk): Rewrite.
4375 2007-08-03  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4377         * printing.el: Evaluate require only during compilation.
4378         (pr-version): New version 6.9.1.
4379         (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR).
4380         (pr-global-menubar): Fix code.
4382 2007-08-03  Dan Nicolaescu  <dann@ics.uci.edu>
4384         * term.el (term-erase-in-display): Fix case when point is not at
4385         the beginning of the line.
4387 2007-08-03  Jay Belanger  <jay.p.belanger@gmail.com>
4389         * calc/calc-ext.el (math-get-value, math-get-sdev)
4390         (math-contains-sdev): New functions.
4392         * calc/calc-graph.el (calc-graph-format-data)
4393         (calc-graph-add-curve): Check for error forms.
4394         (calc-graph-set-styles): Add option for error forms.
4396 2007-08-03  Miles Bader  <miles@gnu.org>
4398         * vc-hooks.el (vc-handled-backends): Change capitalization of VC
4399         backend names for new backends to `Git', `Hg', and `Bzr'.
4400         * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name,
4401         not `HG'.
4402         * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend
4403         name, not `GIT'.
4404         * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info)
4405         (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'.
4407 2007-08-03  Richard Stallman  <rms@gnu.org>
4409         * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
4410         to update deleted flag.
4412         * cus-edit.el (customize-apropos, customize-apropos-options)
4413         (customize-apropos-faces, customize-apropos-groups): Improve prompt.
4415         * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
4417         * startup.el (fancy-splash-head, startup-echo-area-message):
4418         Change message text.
4420         * emulation/tpu-edt.el (next-line-internal): Setting deleted.
4421         All callers use line-move.
4423         * progmodes/compile.el (compilation-find-buffer): Return current
4424         buffer immediately if suitable.
4425         (compile, compilation-buffer-name, compilation-start): Doc fixes.
4427 2007-08-03  Daiki Ueno  <ueno@unixuser.org>
4429         * faces.el (face-normalize-spec): New function.
4430         (frame-set-background-mode): Normalize face-spec before calling
4431         face-spec-match-p.
4433 2007-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4435         * server.el (server-window): Add switch-to-buffer-other-frame option.
4437 2007-08-03  Glenn Morris  <rgm@gnu.org>
4439         * cus-edit.el (customize-apropos): Make the error message indicate
4440         what kind of thing the user was trying to customize.
4442         * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t.
4444         * progmodes/fortran.el (fortran-font-lock-syntactic-keywords):
4445         Fix off-by-one error in previous change.
4447 2007-08-03  Drew Adams  <drew.adams@oracle.com>
4449         * emacs-lisp/pp.el (pp-eval-expression): Add progress message.
4450         Make buffer writable.
4452 2007-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
4454         * calc/calc-math.el (math-sqrt-raw, math-sin-raw-2)
4455         (math-cos-raw-2, math-arctan-raw, math-ln-raw):
4456         Use native Emacs functions, when appropriate.
4458 2007-08-01  Dan Nicolaescu  <dann@ics.uci.edu>
4459             Stefan Monnier  <monnier@iro.umontreal.ca>
4461         * vc.el: Document new VC operation `extra-menu'.
4463         * vc-hooks.el (vc-default-extra-menu): New function.
4465         * menu-bar.el (menu-bar-vc-filter): New function.
4466         (menu-bar-tools-menu): Use it as a filter.
4468 2007-08-01  Eric Hanchrow  <offby1@blarg.net>  (tiny change)
4470         * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix.
4472 2007-08-01  Glenn Morris  <rgm@gnu.org>
4474         * progmodes/fortran.el: Remove leading `*' from all defcustom doc
4475         strings.
4476         (fortran-tab-mode-default): Remove needless autoload.
4477         (fortran-tab-mode-string): Add help-echo and mouse properties, and
4478         mark as risky.
4479         (fortran-line-length): New buffer-local variable, safe if integer.
4480         (fortran-if-start-re, fortran-end-prog-re1, fortran-end-prog-re):
4481         Change from variables to constants.
4482         (fortran-font-lock-syntactic-keywords): Delete as a variable,
4483         replace with a new function definition.
4484         (fortran-mode): Use fortran-line-length, and
4485         fortran-font-lock-syntactic-keywords as a function.  Add a
4486         hack-local-variables-hook function.
4487         (fortran-line-length, fortran-hack-local-variables): New functions.
4488         (fortran-window-create, fortran-strip-sequence-nos): Doc fix.
4489         Use fortran-line-length rather than 72.
4490         (fortran-window-create-momentarily): Doc fix.
4492 2007-07-31  Drew Adams  <drew.adams@oracle.com>  (tiny change)
4494         * cus-edit.el (custom-group-value-create, custom-goto-parent):
4495         Fix parent groups link.
4497 2007-07-31  Paul Pogonyshev  <pogonyshev@gmx.net>
4499         * progmodes/python.el (python-current-defun): Adjust to never fall
4500         into infinite loop.
4502 2007-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4504         * pcvs.el (cvs-vc-command-advice): Handle the new fileset case.
4506 2007-07-29  Kimit Yada  <kimitto@gmail.com>  (tiny change)
4508         * emacs-lisp/copyright.el (copyright-update-year, copyright-update)
4509         (copyright-fix-years, copyright): Correctly handle the case where
4510         copyright-limit is nil.
4512 2007-07-28  Konstantin Novitsky  <knovitsk@Bear.com>  (tiny change)
4514         * progmodes/python.el (run-python): Fix path separator under w32.
4516 2007-07-30  Richard Stallman  <rms@gnu.org>
4518         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4519         Treat non-break space as whitespace in Lisp.
4521 2007-07-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4523         * vc.el (vc-dired-hook): Use inhibit-read-only.
4525         * progmodes/compile.el (compilation-forget-errors):
4526         Reset compilation-auto-jump-to-next.
4528 2007-07-30  Michael Olson  <mwolson@gnu.org>
4530         * cus-edit.el (custom-group-save): Fix void function definition
4531         error.  Thanks to Zhang Wei for the report.
4533         * ps-print.el: Check in trivial changes to the autoloads section
4534         caused by the build process.  These autoloads really ought to be
4535         placed in a separate file, methinks.
4537 2007-07-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4539         * calendar/calendar.el (calendar-mode): Make sure
4540         displayed-(month|year) are set.
4541         (calendar-basic-setup): Display buffer before adjusting window sizes.
4542         (generate-calendar-window): Use inhibit-read-only.  Simplify.
4543         Generate buffer and set displayed-month and displayed-year before
4544         calling update-calendar-mode-line.
4546 2007-07-29  Michael Albinus  <michael.albinus@gmx.de>
4548         * net/tramp.el:
4549         * net/tramp-uu.el:
4550         * net/trampver.el: Use utf-8 encoding with coding cookie.
4552         * net/tramp-cache.el:
4553         * net/tramp-fish.el:
4554         * net/tramp-ftp.el:
4555         * net/tramp-gw.el:
4556         * net/tramp-smb.el: Remove coding cookie.
4558         * net/tramp.el (tramp-handle-verify-visited-file-modtime):
4559         Flush buffer file-name's file property.
4560         (tramp-handle-file-remote-p): The first parameter is FILENAME.
4562         * net/trampver.el: Update release number.
4564 2007-07-29  Juri Linkov  <juri@jurta.org>
4566         * dired.el (dired-mode-map): Bind C-x C-q to dired-toggle-read-only.
4567         Filter out menu item "Edit File Names" `wdired-change-to-wdired-mode'
4568         when major-mode is not dired-mode.
4569         (dired-toggle-read-only): New function.
4570         (dired-recursive-deletes): Remove obsolete comments about old
4571         default value.
4572         (dired-do-flagged-delete, dired-do-delete): Refill docstring.
4574         * wdired.el (wdired-exit): New function.
4575         (wdired-mode-map): Bind C-x C-q to wdired-exit.
4577 2007-07-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4579         * cus-edit.el (customize-read-group): New fun.
4580         (customize-group-other-window, customize-face-other-window):
4581         Prompt before delegating to customize-(group|face).
4582         Bind pop-up-windows rather than use the other-window argument.
4583         (customize-group, customize-face): Prompt from the interactive spec.
4584         Remove args `prompt-for-group' and `other-window'.
4586         * emacs-lisp/advice.el (ad-interactive-form): Re-introduce.
4587         (ad-body-forms, ad-advised-interactive-form): Revert this part of
4588         last change.
4590 2007-07-28  Masatake YAMATO  <jet@gyve.org>
4592         * vc.el (vc-dired-mode): Add a menu for VC related operation.
4593         Use backend name as the menu label.  Suggested by David Kastrup.
4595 2007-07-28  Alan Mackenzie  <acm@muc.de>
4597         Fix problem with modes derived from CC Mode:
4598         * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this
4599         macro to cc-langs.
4600         (c-init-language-vars-for): Remove call to above macro.
4601         * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has
4602         been moved to here.
4603         (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local.
4605 2007-07-28  Eli Zaretskii  <eliz@gnu.org>
4607         * net/trampver.el: Fix the `coding' cookie.
4609 2007-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
4611         * vc-git.el (vc-git-print-log): Support both the old single file
4612         interface and the new one.
4614 2007-07-28  Nick Roberts  <nickrob@snap.net.nz>
4616         * bindings.el (mode-line-remote): Use updated %@ construct.
4618 2007-07-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4620         * calendar/cal-bahai.el (calendar-bahai-month-name-array)
4621         (calendar-bahai-epoch, calendar-bahai-leap-year-p)
4622         (calendar-bahai-leap-base, calendar-bahai-prompt-for-date)
4623         (diary-list-bahai-entries, diary-bahai-mark-entries)
4624         (calendar-bahai-mark-date-pattern, diary-insert-bahai-entry)
4625         (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
4626         New names to clean up namespace.
4627         (list-bahai-diary-entries, mark-bahai-diary-entries)
4628         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
4629         (insert-yearly-bahai-diary-entry, mark-bahai-calendar-date-pattern):
4630         Add compatibility aliases.
4632         * calendar/appt.el: Don't wrap defvar within eval-when-compile.
4634         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right)
4635         (calendar-scroll-left-three-months)
4636         (calendar-scroll-right-three-months): Clean up namespace.
4637         (scroll-calendar-left, scroll-calendar-right)
4638         (scroll-calendar-left-three-months)
4639         (scroll-calendar-right-three-months): Add compatibility aliases.
4641         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
4642         Behave like mouse-scroll-calendar-* when used from the mouse.
4644         * calendar/cal-menu.el (cal-menu-scroll-menu)
4645         (cal-menu-global-mouse-menu):
4646         * calendar/calendar.el (calendar-mode-map):
4647         Use new calendar-scroll-* names.
4648         (mouse-scroll-calendar-left, mouse-scroll-calendar-right):
4649         Remove.  Use calendar-scroll-* directly instead.
4651 2007-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4653         * emacs-lisp/advice.el (ad-interactive-p, ad-interactive-form): Remove.
4654         (ad-body-forms, ad-advised-interactive-form, ad-make-cache-id)
4655         (ad-make-advised-definition, ad-cache-id-verification-code):
4656         Use commandp and interactive-form instead.
4658 2007-07-26  Dan Nicolaescu  <dann@ics.uci.edu>
4660         * vc-git.el: Relicense to GPLv3 or later.
4661         (vc-directory-exclusion-list, vc-handled-backends): Remove.
4663         * vc-hooks.el (vc-handled-backends): Add GIT.
4665         * vc.el (vc-directory-exclusion-list): Add .git.
4667 2007-07-26  Alexandre Julliard  <julliard@winehq.org>
4669         * vc-git.el (vc-git-revision-table)
4670         (vc-git-revision-completion-table): New functions.
4672 2007-07-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4674         * progmodes/ebnf-abn.el (ebnf-abn-skip-comment):
4675         * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment):
4676         * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment):
4677         * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment):
4678         * progmodes/ebnf-iso.el (ebnf-iso-skip-comment):
4679         * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version.
4680         New command actions for EPS header and EPS footer.
4682         * progmodes/ebnf2ps.el: New command actions for EPS header and EPS
4683         footer.  Fix some problems with one-or-more, zero-or-more and
4684         alternative constructions generation.  Some log messages
4685         implementation.  Doc fix.
4686         (ebnf-version): New version 4.4.
4687         (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font)
4688         (ebnf-eps-footer, ebnf-log): New options.
4689         (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header)
4690         (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment)
4691         (ebnf-eps-header-footer-p, ebnf-eps-header-comment)
4692         (ebnf-eps-footer-comment, ebnf-eps-header-footer-file)
4693         (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs.
4694         (ebnf-style-custom-list, ebnf-style-database): Put new values.
4695         (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer)
4696         (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file)
4697         (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory)
4698         (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region)
4699         (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer)
4700         (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job)
4701         (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension)
4702         (ebnf-non-terminal-dimension, ebnf-special-dimension)
4703         (ebnf-terminal-dimension1, ebnf-repeat-dimension)
4704         (ebnf-except-dimension, ebnf-alternative-dimension)
4705         (ebnf-optional-dimension, ebnf-one-or-more-dimension)
4706         (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log
4707         message fun.
4708         (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more)
4709         (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write)
4710         (ebnf-insert-ebnf-prologue, ebnf-production-dimension)
4711         (ebnf-terminal-dimension1, ebnf-alternative-dimension)
4712         (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension)
4713         (ebnf-eps-add-context, ebnf-eps-add-production): Fix code.
4714         (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep
4715         compatibility with Emacs 20 & 21.
4716         (ebnf-eps-header-comment, ebnf-eps-footer-comment)
4717         (ebnf-eps-file-alist, ebnf-basic-width-extra)
4718         (ebnf-basic-empty-height): New vars.
4719         (ebnf-prologue): Fix PostScript code.
4720         (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1)
4721         (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional)
4722         (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence)
4723         (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments.
4725 2007-07-25  Glenn Morris  <rgm@gnu.org>
4727         * Relicense all FSF files to GPLv3 or later.
4729         * COPYING: Switch to GPLv3.
4731 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4733         * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change.
4734         Replace it with another one which disables undo before calling
4735         erase-buffer and then turns it back on if needed.
4737 2007-07-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4739         * ps-print.el: Problem with foreground and background color when
4740         printing a buffer with and without faces.  Reported by Christian
4741         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
4742         (ps-print-version): New version 6.7.5.
4743         (ps-default-fg): Change default value to nil, so black color is used
4744         when a face does not specify a foreground color.
4745         (ps-default-bg): Change default value to nil, so white color is used
4746         for background color.
4747         (ps-begin-job): Fix code.
4749 2007-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
4751         * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out.
4753 2007-07-24  Glenn Morris  <rgm@gnu.org>
4755         * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
4756         (cal-tex-rules, cal-tex-buffer, cal-tex-24)
4757         (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
4758         (cal-tex-cursor-week, cal-tex-cursor-week2)
4759         (cal-tex-cursor-week-iso, cal-tex-week-hours)
4760         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
4761         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4762         (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
4764 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4766         * calendar/calendar.el (calendar-mode-map): Move initialization
4767         into declaration.  Add menu bindings (used to be done in cal-menu).
4768         (calendar-mode): Don't add an activate-menubar-hook.
4770         * calendar/cal-menu.el: Break dependency on calendar.el (i.e. do not
4771         modify calendar-mode-map), use easy-menu, and make sure that C-h k
4772         can be used on the menu entries.
4773         (cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs.
4774         (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
4775         (cal-menu-goto-menu, cal-menu-scroll-menu): New consts.
4776         (cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus.
4777         (calendar-flatten, cal-menu-update): Remove.
4778         (calendar-mouse-insert-hebrew-diary-entry)
4779         (calendar-mouse-insert-islamic-diary-entry)
4780         (calendar-mouse-insert-bahai-diary-entry):
4781         Remove (fold into cal-menu-diary-menu).
4782         (calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu)
4783         (cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu).
4784         (calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu).
4785         (calendar-mouse-view-diary-entries): Minor simplifications.
4786         (calendar-event-to-date): Use with-current-buffer.
4788 2007-07-25  Nick Roberts  <nickrob@snap.net.nz>
4790         * add-log.el (change-log-redate): Remove (not needed anymore and
4791         doesn't appear to work).
4793 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4795         * frame.el: Use mapc and dolist instead of mapcar where possible.
4796         (close-display-connection): New command.
4798 2007-07-25  Alexandre Julliard  <julliard@winehq.org>
4800         * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface.
4801         (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions.
4803 2007-07-25  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4805         * ps-print.el (ps-multibyte-buffer): Docstring fix.
4807         * ps-mule.el: Doc fix.
4808         (ps-multibyte-buffer, ps-mule-font-info-database-default)
4809         (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix.
4811 2007-07-25  Glenn Morris  <rgm@gnu.org>
4813         * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays)
4814         (cal-tex-diary, cal-tex-daily-string, cal-tex-daily-start)
4815         (cal-tex-daily-end, cal-tex-hook)
4816         (cal-tex-cal-one-month, cal-tex-cal-multi-month)
4817         (cal-tex-year, cal-tex-cursor-week, cal-tex-cursor-week2)
4818         (cal-tex-cursor-week-iso, cal-tex-week-hours)
4819         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
4820         (cal-tex-cursor-day, cal-tex-insert-preamble): Doc fix.
4821         (cal-tex-day-prefix, cal-tex-day-name-format)
4822         (cal-tex-cal-one-month, cal-tex-cal-multi-month, cal-tex-myday)
4823         (cal-tex-caldate, cal-tex-LaTeX-hourbox)
4824         (cal-tex-LaTeX-subst-list): Change from variables to constants.
4825         (cal-tex-preamble, cal-tex-arg, cal-tex-nl): Simplify with `format'.
4826         (cal-tex-cursor-filofax-year, cal-tex-weekly4-box): Use \textbf,
4827         etc, rather than \bf.
4828         (cal-tex-mini-calendar): Fix typos in previous change.
4829         (cal-tex-latexify-list): Remove inner let binding.
4830         (cal-tex-end-document, cal-tex-banner): Use multi-line
4831         cal-tex-comment.
4832         (cal-tex-comment): Handle embedded newlines.
4833         (cal-tex-LaTeXify-string): Use substring-no-properties.
4835 2007-07-25  Joakim Verona  <joakim@verona.se>  (tiny change)
4837         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4838         Add support for the Maden build tool.
4840 2007-07-25  William Xu  <william.xwl@gmail.com>  (tiny change)
4842         * net/webjump.el (webjump-url-encode): Fix for non-ASCII characters.
4844 2007-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4846         * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
4848 2007-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
4850         * dired.el (dired-mode-map): Bind wdired-change-to-wdired-mode to
4851         C-x C-q.
4853         * vc-git.el (vc-git-print-log): Fix previous change.
4855 2007-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4857         * window.el (save-selected-window): Minor optimization.
4858         (bw-adjust-window): If operation failed, try with a smaller delta.
4859         (window-fixed-size-p): New function.
4860         (window-area-factor): New var.
4861         (balance-windows-area): New command.
4863         * ps-mule.el (ps-multibyte-buffer): Docstring fixes.
4864         (ps-mule-encode-ethiopic): Make it clear that it's always defined.
4865         (ps-mule-prepare-font-for-components, ps-mule-encode-header-string)
4866         (ps-mule-encode-bit, ps-mule-encode-ucs2): Use dotimes.
4867         (ps-mule-begin-job): Use dolist.
4869 2007-07-24  Michael Albinus  <michael.albinus@gmx.de>
4871         * subr.el (start-file-process-shell-command)
4872         (process-file-shell-command): New defuns.
4874         * progmodes/compile.el (compilation-start):
4875         Apply `start-file-process-shell-command'.
4877 2007-07-24  Alexandre Julliard  <julliard@winehq.org>
4879         * vc-git.el (vc-git-checkout, vc-directory-exclusion-list): Fix typos.
4881 2007-07-24  Alan Mackenzie  <acm@muc.de>
4883         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4884         Initialise byte-compile-unresolved-functions before rather than
4885         after a compilation.
4886         (byte-compile-unresolved-functions): Amplify doc string.
4888 2007-07-24  Glenn Morris  <rgm@gnu.org>
4890         * startup.el (normal-splash-screen): Use `emacs-copyright'.
4892         * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
4893         (cal-tex-rules, cal-tex-buffer, cal-tex-24)
4894         (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
4895         (cal-tex-cursor-week, cal-tex-cursor-week2)
4896         (cal-tex-cursor-week-iso, cal-tex-week-hours)
4897         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
4898         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4899         (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
4901         * calendar/cal-tex.el: Remove leading `*' from defcustom docs.
4902         (cal-tex-daily-string, cal-tex-daily-start, cal-tex-daily-end)
4903         (cal-tex-day-name-format, cal-tex-cal-one-month)
4904         (cal-tex-cal-multi-month, cal-tex-myday, cal-tex-preamble)
4905         (cal-tex-comment, cal-tex-nl, cal-tex-cmd, cal-tex-e-parbox)
4906         (cal-tex-mini-calendar, cal-tex-em): Doc fix.
4907         (cal-tex-list-holidays, cal-tex-cursor-year)
4908         (cal-tex-cursor-year-landscape, cal-tex-year)
4909         (cal-tex-cursor-filofax-year, cal-tex-cursor-month-landscape)
4910         (cal-tex-cursor-month, cal-tex-insert-days)
4911         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4912         (cal-tex-first-blank-p, cal-tex-cursor-week)
4913         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4914         (cal-tex-week-hours, cal-tex-cursor-week-monday)
4915         (cal-tex-weekly4-box, cal-tex-cursor-filofax-2week)
4916         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
4917         (cal-tex-cursor-day, cal-tex-daily-page, cal-tex-mini-calendar)
4918         (cal-tex-latexify-list, cal-tex-previous-month)
4919         (cal-tex-next-month, cal-tex-insert-preamble): General tidy-up and
4920         modernization, including using dotimes rather than
4921         calendar-for-loop.
4922         (cal-tex-LaTeX-subst-list): Remove `@'.
4923         (cal-tex-em, cal-tex-bf, cal-tex-Huge-bf, cal-tex-large-bf):
4924         Use \textit and \textbf rather than \em and \it.
4926         * calendar/cal-bahai.el (list-bahai-diary-entries)
4927         * calendar/cal-hebrew.el (list-hebrew-diary-entries)
4928         * calendar/cal-islam.el (list-islamic-diary-entries)
4929         * calendar/calendar.el (generate-calendar, generate-calendar-month)
4930         * calendar/diary-lib.el (diary-list-entries)
4931         (mark-calendar-date-pattern): Use `dotimes' rather than
4932         `calendar-for-loop'.
4934         * calendar/calendar.el (calendar-for-loop): Doc fix.
4936 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4938         * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
4939         underlying file is uptodate.
4941 2007-07-23  Christopher J. Madsen  <cjm@cjmweb.net>
4943         * replace.el (perform-replace): Use isearch-no-upper-case-p.
4945 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4947         * vc-hooks.el (vc-mode-line-map): New const.
4948         (vc-mode-line): Use it.
4950 2007-07-23  Alexandre Julliard  <julliard@winehq.org>
4952         * vc-git.el (vc-git-delete-file, vc-git-rename-file)
4953         (vc-git-unregister): New functions.
4954         (vc-git-find-version): Use the result of ls-files as a parameter
4955         for cat-file.
4957 2007-07-23  Michael Albinus  <michael.albinus@gmx.de>
4959         * net/tramp.el (tramp-perl-file-attributes)
4960         (tramp-perl-directory-files-and-attributes)
4961         (tramp-handle-file-attributes-with-stat)
4962         (tramp-handle-directory-files-and-attributes-with-stat)
4963         (tramp-convert-file-attributes): Handle huge file sizes.
4965 2007-07-23  Juri Linkov  <juri@jurta.org>
4967         * isearch.el (isearch-message-function): New variable.
4968         (isearch-update, isearch-search): Use it.
4970         * simple.el (goto-history-element): New function created from
4971         next-history-element.
4972         (next-history-element): Most code moved to goto-history-element.
4973         Call goto-history-element with (- minibuffer-history-position n).
4974         (previous-history-element): Call goto-history-element with (+
4975         minibuffer-history-position n).
4976         (minibuffer-setup-hook): Add minibuffer-history-isearch-setup.
4977         (minibuffer-history-isearch-message-overlay): New buffer-local variable.
4978         (minibuffer-history-isearch-setup, minibuffer-history-isearch-end)
4979         (minibuffer-history-isearch-search, minibuffer-history-isearch-message)
4980         (minibuffer-history-isearch-wrap, minibuffer-history-isearch-push-state)
4981         (minibuffer-history-isearch-pop-state): New functions.
4983 2007-07-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
4985         * vc-hooks.el (vc-stay-local-p): Fix bug: Avoid remove-if-not.
4986         Also, if FILE is a list, return non-nil if any of its elements
4987         should stay local.  Update docstring.
4989 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4991         * emacs-lisp/copyright.el (copyright-update-year): Fix 2007-05-25
4992         change by reverting a small part.
4994 2007-07-23  Richard Stallman  <rms@gnu.org>
4996         * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe.
4998 2007-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
5000         * vc-git.el (vc-git-checkin): Delete unused parameter and the code
5001         handling it.  Use vc-git-command.
5002         (vc-git-find-version, vc-git-diff-tree): New functions.
5003         (vc-git-revert): Use vc-git-command.
5004         (vc-git--run-command): Delete.
5006 2007-07-23  Alexandre Julliard  <julliard@winehq.org>
5008         * vc-git.el (vc-git-workfile-unchanged-p): Update comment.
5010 2007-07-20  Kenichi Handa  <handa@m17n.org>
5012         * international/utf-8.el (utf-8-post-read-conversion):
5013         Temporarily bind utf-8-compose-scripts to nil while running
5014         *-compose-region functions.
5016 2007-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
5018         * vc-git.el: Update status.
5019         (vc-directory-exclusion-list): Use eval-after-load.
5021 2007-07-22  Nick Roberts  <nickrob@snap.net.nz>
5023         * bindings.el (mode-line-remote): New variable.
5024         (help-echo): Add to default values of mode-line-format.
5026         * files.el: Mark mode-line-remote as risky.
5028 2007-07-22  Juri Linkov  <juri@jurta.org>
5030         * isearch.el (isearch-edit-string): Save old point and
5031         isearch-other-end to old-point and old-other-end before reading
5032         the search string from minibuffer.  After exiting minibuffer set
5033         point to old-other-end if point and the search direction is the
5034         same as before reading the search string.
5035         (isearch-del-char): Don't set isearch-yank-flag to t.  Put point
5036         to isearch-other-end.  Instead of isearch-search-and-update call
5037         three functions isearch-search, isearch-push-state and isearch-update.
5039 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
5041         * vc-git.el (vc-git-register, vc-git-checkin): Use vc-git-command,
5042         deal with multiple file arguments.
5043         (vc-git-print-log): Deal with multiple file arguments.
5045 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5047         * diff-mode.el (diff-refine-ignore-spaces-hunk): Rename from
5048         diff-refine-hunk.  Adjust users.
5049         (diff-unified-hunk-p, diff-splittable-p): New functions.
5050         (diff-mode-menu): Use it to disable Split when it doesn't work.
5052 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
5054         * diff-mode.el (diff-mode-menu): New entries.
5056 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5058         * diff-mode.el (diff-unified->context): Use the new `apply' undo entry
5059         if applicable, so as to save undo-log space.
5061         * diff-mode.el (diff-find-file-name): Add arg `batch'.
5063         * diff-mode.el (diff-beginning-of-file-and-junk): New function.
5064         (diff-file-kill): Use it.
5065         (diff-beginning-of-hunk): Add arg `try-harder' using it.
5066         (diff-restrict-view, diff-find-source-location, diff-refine-hunk):
5067         Use it so they find the hunk even when we're in the file header.
5069 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
5071         * vc-git.el (vc-git-revision-granularity, vc-git-root)
5072         (vc-git-command, vc-git-dir-state, vc-git-dired-state-info)
5073         (vc-git-create-repo): New functions.
5074         (vc-git-registered): New autoloaded function definition.
5075         (vc-git-registered): Use vc-git-root.
5076         (vc-git-responsible-p): New defalias.
5077         (vc-git-annotate-extract-revision-at-line): Uncomment.
5078         (vc-git-print-log): Add the file name to the log.
5079         (vc-git-log-view-mode): New derived mode.
5080         (vc-git-diff, vc-git-annotate-command): Use vc-git-command.
5082 2007-07-22  Michael Albinus  <michael.albinus@gmx.de>
5084         * progmodes/grep.el (grep-compute-defaults): Keep default values.
5086 2007-07-22  Ralf Angeli  <angeli@caeruleus.net>
5088         * textmodes/reftex.el (reftex-access-parse-file): Create parse
5089         file in a way that does not interfere with recentf mode.
5090         (reftex-access-parse-file): Do not risk destroying an existing
5091         buffer.
5093 2007-07-22  Alexandre Julliard  <julliard@winehq.org>
5095         * vc-git.el: New file.
5097 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5099         * textmodes/tex-mode.el (tex-font-script-display): Change default.
5101 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
5103         * vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips
5104         for branches and new files.
5106         * vc-hooks.el (vc-default-mode-line-string): Move mouse-face and
5107         local-map handling ...
5108         (vc-mode-line): ... here.  Improve handling of help-echo.
5110         * vc.el (mode-line-string): Document help-echo usage.
5112 2007-07-22  Michael Albinus  <michael.albinus@gmx.de>
5114         Sync with Tramp 2.1.10.
5116         * net/tramp.el (tramp-get-ls-command): Fix typo.
5118         * net/trampver.el: Update release number.
5120 2007-07-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
5122         * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon.
5124         * term/x-win.el (x-handle-no-bitmap-icon): New function.
5126 2007-07-22  Martin Rudalics  <rudalics@gmx.at>
5128         * add-log.el (change-log-fill-parenthesized-list): New function.
5129         (change-log-indent): Call change-log-fill-parenthesized-list.
5130         (change-log-fill-paragraph): Bind fill-indent-according-to-mode to t.
5131         Have lines with leading asterisk start a paragraph.
5133 2007-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
5135         * calc/calc-math.el (math-emacs-precision)
5136         (math-largest-emacs-expt, math-smallest-emacs-expt):
5137         New variables.
5138         (math-use-emacs-fn): New function.
5139         (math-exp-raw): Evaluate with `math-use-emacs-fn', when
5140         appropriate.
5142 2007-07-21  Thien-Thi Nguyen  <ttn@gnuvola.org>
5144         * image-dired.el (image-dired-sane-db-file): New func.
5145         (image-dired-write-tags, image-dired-remove-tag)
5146         (image-dired-list-tags, image-dired-write-comments)
5147         (image-dired-get-comment, image-dired-mark-tagged-files)
5148         (image-dired-create-gallery-lists): Call new func.
5149         Reported by Dieter Wilhelm <dieter@duenenhof-wilhelm.de>.
5151 2007-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
5153         * vc-hg.el (vc-hg-dir-state): Fix loop.
5154         (vc-hg-print-log): Fix expected return value for vc-hg-command.
5155         (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
5156         (vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
5157         (vc-hg-revert): Likewise.
5158         (vc-hg-revision-table, vc-hg-revision-completion-table): New
5159         functions.
5161 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5163         * add-log.el (change-log-resolve-conflict): Don't lose data if the
5164         merge fails.
5166 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
5168         * progmodes/compile.el (compilation-auto-jump-to-first-error):
5169         Add group and version.
5171 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5173         * add-log.el (add-log-file-name): Use file-relative-name.
5174         (add-change-log-entry): Delay reading
5175         add-log-(full-name|mailing-address) to after we've switched to the
5176         ChangeLog buffer so we get the right value.
5177         (add-change-log-entry, add-log-current-defun, change-log-merge):
5178         Use derived-mode-p rather than checking major-mode directly.
5180         * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory
5181         name for buffer-file-name if it refers to a directory.
5183         * vc-arch.el (vc-arch-diff): Fix last change.
5185         * progmodes/compile.el (compilation-start): Remember the original
5186         directory in a buffer-local compilation-directory.
5187         (compile): Set the global value of compilation-directory.
5188         (recompile): Use compilation-directory even in the compilation buffer.
5190 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
5192         * vc-hg.el (vc-hg-diff): Use vc-hg-command.
5194 2007-07-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5196         * ps-print.el: Problem with foreground and background color when
5197         printing a buffer with and without faces.  Reported by Christian
5198         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
5199         (ps-print-version): New version 6.7.5.
5200         (ps-default-fg): Change default value to nil, so black color is used
5201         when a face does not specify a foreground color.
5202         (ps-default-bg): Change default value to nil, so white color is used
5203         for background color.
5204         (ps-begin-job): Fix code.
5206 2007-07-20  Eli Zaretskii  <eliz@gnu.org>
5208         * makefile.w32-in (install-lisp-SH): Don't create subdirectories
5209         in $(INSTALL_DIR)/lisp/ if they already exist.
5211 2007-07-20  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
5213         * makefile.w32-in (install-lisp-CMD): Don't create subdirectories
5214         in $(INSTALL_DIR)/lisp/ if they already exist.
5216 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5218         * progmodes/vera-mode.el (vera-re-search-forward)
5219         (vera-re-search-backward): Remove use of store-match-data.
5220         (vera-mode-map): Move initialization into declaration.
5222         * progmodes/flymake.el (flymake-buildfile-dirs): Remove.
5223         (flymake-find-buildfile): Use locate-dominating-file.
5225         * vc.el (vc-delistify): Use mapconcat.
5226         (vc-do-command): Minor simplification.
5227         (vc-expand-dirs): Use push.
5229         * vc-mcvs.el (vc-mcvs-create-repo):
5230         * vc-cvs.el (vc-cvs-create-repo): Remove.
5232         * vc-hooks.el (vc-find-root): Fix case where `file' is the current
5233         directory and the root as well.
5235 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
5237         * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
5238         instead of a file.
5240         * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
5241         (vc-hg-registered): Replace if with when.
5242         (vc-hg-state): Deal with nonexistent files and handle removed files.
5243         (vc-hg-dir-state, vc-hg-dired-state-info): New functions.
5244         (vc-hg-checkout): Re-enable.
5245         (vc-hg-create-repo): Fix typos.
5246         (vc-hg-print-log): Fix for multiple files.
5247         (vc-hg-workfile-unchanged-p): New function.
5249         * vc.el: Fix typo.
5250         (vc-print-log): Fix call to print-log.
5251         (vc-default-comment-history): Likewise.
5252         (vc-directory-exclusion-list): Add .hg and .bzr.
5253         (vc-diff-internal): Pass a list instead of a file.
5255         * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
5257         * vc-bzr.el (vc-bzr-create-repo): New function.
5259 2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5261         * vc-hooks.el (vc-find-root): Walk up the tree to find an existing
5262         `file' from which to start the search.
5264 2007-07-19  Eric S. Raymond  <esr@snark.thyrsus.com>
5266         * vc-cvs.el (vc-cvs-checkin, vc-cvs-diff): Finish transition from
5267         having a single file argument to having a list of files as the
5268         first argument.
5270 2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5272         * files.el (locate-dominating-file): New function.
5274 2007-07-18  Michael Albinus  <michael.albinus@gmx.de>
5276         * progmodes/grep.el (grep-host-defaults-alist): New defvar.
5277         (grep-compute-defaults): Use it.
5279 2007-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5281         * uniquify.el: Docstring fixes.
5283 2007-07-18  Eric S. Raymond  <esr@snark.thyrsus.com>
5285         * vc.el (revision-granularity, create-repo): Document new vc
5286         backend properties.
5287         (vc-rollback): Renamed from vc-cancel-version. Update
5288         references. Pass a list instead of a file.
5289         (vc-revert): Renamed from vc-revert-buffer. Update references.
5290         (vc-delistify, vc-expand-dirs): New functions.
5291         (vc-do-command): Rename FILE to FILE-OR-LIST and deal with a list
5292         of files instead of a single file.
5293         (vc-position-context, vc-resync-window, vc-diff-internal)
5294         (vc-print-log): Pass a list instead of a file.
5296         * vc-hooks.el (vc-stay-local-p, vc-backend)
5297         (vc-backend-subdirectory-name): Work on a file list, not a single
5298         file.
5299         (vc-workfile-version): Update docstring.
5300         (vc-menu-map): Use vc-rollback instead of vc-cancel-version and
5301         vc-revert instead of vc-revert-buffer.
5302         (vc-prefix-map): Likewise. Bind vc-update.
5304         * vc-svn.el (vc-svn-revision-granularity, vc-svn-create-repo)
5305         (vc-svn-wash-log): New functions.
5306         (vc-svn-register, vc-svn-checkin, vc-svn-print-log)
5307         (vc-svn-command): Deal with a list of files, not a single file.
5309         * vc-rcs.el (vc-rcs-revision-granularity, vc-rcs-create-repo)
5310         (vc-rcs-wash-log): New functions.
5311         (vc-rcs-register, vc-rcs-checkin, vc-rcs-diff, vc-rcs-print-log):
5312         Deal with a list of files, not a single file.
5313         (vc-rcs-rollback): Likewise. Rename from vc-rcs-cancel-version.
5315         * vc-sccs.el (vc-sccs-revision-granularity, vc-sccs-wash-log): New
5316         functions.
5317         (vc-sccs-register, vc-sccs-checkin, vc-sccs-diff): Deal with a
5318         list of files, not a single file.
5320         * vc-mcvs.el (vc-mcvs-revision-granularity, vc-mcvs-create-repo):
5321         New functions.
5322         (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-print-log)
5323         (vc-mcvs-diff): Deal with a list of files, not a single file.
5325         * vc-hg.el (vc-hg-revision-granularity, vc-hg-create-repo): New
5326         functions.
5327         (vc-hg-print-log): Deal with a list of files, not a single file.
5328         (vc-hg-diff-tree): New function, replace defalias with the same
5329         name.
5330         (vc-hg-register, vc-hg-checkin, vc-hg-command): Rename FILE to
5331         FILES to denote that it is a file list, not a single file.
5333         * vc-cvs.el (vc-cvs-create-repo, vc-cvs-wash-log): New functions.
5334         (vc-cvs-register, vc-cvs-checkin): Deal with a list of files, not
5335         a single file.
5336         (vc-cvs-print-log, vc-cvs-command): Rename FILE to FILES to denote
5337         that it is a file list, not a single file.
5338         (vc-cvs-diff): Likewise. Simplify.
5340         * vc-arch.el (vc-arch-register, vc-arch-checkin, vc-arch-diff):
5341         Deal with a list of files, not a single file.
5343         * vc-bzr.el (vc-bzr-register, vc-bzr-command, vc-bzr-checkin)
5344         (vc-bzr-print-log): Update FILE parameter name to denote that it
5345         is a file list, not a single file.
5346         (vc-bzr-diff): Likewise. Use the car of files.
5348 2007-07-18  Juanma Barranquero  <lekktu@gmail.com>
5350         * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode)
5351         (follow-delete-other-windows-and-split, follow-recenter)
5352         (follow-windows-aligned-p, follow-point-visible-all-windows-p)
5353         (follow-redisplay, follow-estimate-first-window-start)
5354         (follow-xemacs-scrollbar-support, follow-intercept-process-output):
5355         Fix typos in docstrings.
5357 2007-07-18  Martin Rudalics  <rudalics@gmx.at>
5359         * add-log.el (change-log-mode): Use fill-nobreak-predicate to
5360         avoid that filling introduces lines with a single asterisk.
5362         * kmacro.el (kmacro-end-macro): When ignoring empty macro
5363         avoid incorrect kmacro-ring-empty-p messages.
5364         Reported by Michael Schierl <schierlm@gmx.de>.
5366 2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
5368         * vc.el: Add more info about the vc-registered function.
5370 2007-07-17  Michael Albinus  <michael.albinus@gmx.de>
5372         * files.el (file-remote-p): Introduce optional parameter
5373         IDENTIFICATION.
5375         * recentf.el (recentf-keep-default-predicate): Adapt call of
5376         `file-remote-p'.
5378         * progmodes/grep.el (grep-probe): Use `process-file'.
5379         (grep-compute-defaults): Handle variables host specific.
5381         * net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional
5382         parameter IDENTIFICATION.
5384         * net/tramp.el (tramp-handle-file-remote-p): Handle optional
5385         parameter IDENTIFICATION.
5386         (tramp-handle-set-file-times): New defun.  Replaces `tramp-touch'.
5387         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
5388         Add entry for `set-file-times'.
5389         (tramp-do-copy-or-rename-file-via-buffer)
5390         (tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
5391         (tramp-handle-unhandled-file-name-directory): Rewrite.
5392         (tramp-convert-file-attributes): Add error handling when inode is
5393         extraordinary big.
5394         (tramp-get-inode): Change parameter from FILE to VEC.
5395         (tramp-handle-start-file-process): Use (current-buffer) if BUFFER
5396         is nil.  This is according to the specification.  Goto (point-max)
5397         when ready.
5398         (tramp-handle-shell-command): Rewrite completely, using
5399         `process-file' and `start-file-process'.
5400         (tramp-methods, tramp-find-shell)
5401         (tramp-open-connection-setup-interactive-shell)
5402         (tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
5403         var.  Reported by Steve Youngs <steve@sxemacs.org>.
5405         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
5406         entry for `set-file-times'.  Rename `start-process' into
5407         `start-file-process'.  Remove `call-process' entry.
5408         (tramp-fish-handle-set-file-times): New defun.
5409         (tramp-fish-handle-executable-find): Use `process-file'.
5410         (tramp-fish-handle-process-file): New defun.  Replaces
5411         `tramp-fish-handle-call-process'.
5412         (tramp-fish-do-copy-or-rename-file-directly): Use
5413         `set-file-times'.
5414         (tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.
5416         * net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
5417         `tramp-get-inode' parameter.
5419 2007-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5421         * vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version)
5422         (vc-bzr-post-command-function): Remove.  Version 0.8 is already old
5423         nowadays, and by the time Emacs-23 comes out, nobody will even remember
5424         it has ever existed.
5426 2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
5428         * vc.el: Undo previous change.
5430 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
5432         * makefile.w32-in (clean): Don't delete *~.
5434 2007-07-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5436         * textmodes/tex-mode.el (tex-verbatim-environments):
5437         Add safe-local-variable property.
5438         (tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
5439         when starting font-lock rather than when loading tex-mode.el.
5441         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
5442         whole $( rather than just the $.  Rename from sh-quoted-subshell.
5443         (sh-font-lock-syntactic-keywords): Adjust call accordingly.
5445 2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>
5447         * bookmark.el (bookmark-maybe-sort-alist): Don't modify
5448         bookmark-alist.  Instead, if not sorting, simply return it.
5449         (bookmark-bmenu-list): Call bookmark-maybe-sort-alist
5450         for its return value, not for its side effect.
5452         * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the
5453         case of alignment under a constant symbol, find and consider
5454         the sexp actually at indentation to be the "last sexp".
5456 2007-07-16  Drew Adams  <drew.adams@oracle.com>
5458         * mouse.el (mouse-yank-secondary): Better error message if no
5459         secondary selection.
5461 2007-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
5463         * vc-hooks.el (vc-handled-backends): Move BZR later in the list.
5465         * term/xterm.el (xterm-turn-on-modify-other-keys)
5466         (xterm-turn-off-modify-other-keys): New functions.
5467         (terminal-init-xterm): Enable the modifyOtherKeys feature if the
5468         terminal supports it.
5470 2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>
5472         * bookmark.el (bookmark-show-all-annotations):
5473         Make sure each inserted annotation ends with newline.
5475 2007-07-15  Richard Stallman  <rms@gnu.org>
5477         * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.
5479         * tutorial.el (tutorial--find-changed-keys):
5480         Handle C-x specially like ESC.
5482 2007-07-15  Aaron Hawley  <aaronh@garden.org>
5484         * tar-mode.el (tar-get-descriptor): No error for zero-length file.
5486 2007-07-15  Juri Linkov  <juri@jurta.org>
5488         * delsel.el (delete-selection-pre-hook):
5489         * emulation/cua-base.el (cua-paste): Before a yank command,
5490         check also whether last-command is one of mouse-save-then-kill,
5491         mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region.
5493 2007-07-15  Michael Albinus  <michael.albinus@gmx.de>
5495         * recentf.el (recentf-keep-default-predicate): New defun.
5496         (recentf-keep): Use it as initial value.
5498 2007-07-15  Karl Fogel  <kfogel@red-bean.com>
5500         * bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com,
5501         thus restoring bookmark bindings to three slots under C-x r.  See
5502         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.
5504 2007-07-15  Jeff Miller  <jmiller@cablespeed.com>  (tiny change)
5506         * calendar/calendar.el (calendar-goto-bahai-date): Autoload it.
5508 2007-07-15  Jason Rumney  <jasonr@gnu.org>
5510         * w32-fns.el (set-default-process-coding-system): Use dos line ends
5511         for input to cmdproxy on all versions of Windows.
5512         Use dos line ends for input to plink.
5514         * comint.el (comint-simple-send): Concat newline before sending.
5515         (comint-password-prompt-regexp): Recognize plink's passphrase prompt.
5517 2007-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5519         * emacs-lisp/autoload.el (generated-autoload-file): Autoload the
5520         safe-local-variable setting.
5522 2007-07-14  David Kastrup  <dak@gnu.org>
5524         * emacs-lisp/advice.el (defadvice): Doc fix.
5526 2007-07-14  Juanma Barranquero  <lekktu@gmail.com>
5528         * subr.el (when, unless): Doc fix.
5530 2007-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
5532         * replace.el (match): Use yellow1 instead of yellow.
5534         * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
5535         red.
5537         * pcvs-info.el (cvs-unknown): Likewise.
5539 2007-07-13  Eli Zaretskii  <eliz@gnu.org>
5541         * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets.
5542         (install): Use them to copy all *.el files before *.elc.
5544 2007-07-13  Drew Adams  <drew.adams@oracle.com>
5546         * bookmark.el (bookmark-jump-other-window): New function.
5547         (bookmark-map): Bind it to "o".
5549         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html
5550         and its thread contains discussion about this change.
5551         The original patch was slightly tweaked by Karl Fogel
5552         <kfogel@red-bean.com> before committing.
5554 2007-07-13  Karl Fogel  <kfogel@red-bean.com>
5556         * bookmark.el: Shorten some comments to fit within 80 lines.
5558 2007-07-13  Karl Fogel  <kfogel@red-bean.com>
5560         * bookmark.el: Don't define bookmark keys under the "C-xr" map;
5561         instead, make "C-xp" a prefix for bookmark-map.  Patch by Drew
5562         Adams <drew.adams@oracle.com>, mildly tweaked by me.  See
5563         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.
5565 2007-07-13  Carsten Dominik  <dominik@science.uva.nl>
5567         * textmodes/org.el: Bug fixes.
5568         (org-end-of-line): Move to end of line if in headline without tags.
5570 2007-07-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5572         * vc-hooks.el: Remove spurious * in docstrings.
5573         (vc-handled-backends): Add BZR.
5575         * vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.
5577 2007-07-12  Davis Herring  <herring@lanl.gov>
5579         * desktop.el (desktop-buffer-info, desktop-save):
5580         Use `desktop-dirname' instead of `dirname'.
5582 2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>
5584         * progmodes/which-func.el (which-func-modes): Add `python-mode'.
5586         * progmodes/python.el (python-which-func-length-limit): New var.
5587         (python-which-func): New function.
5588         (python-current-defun): Add optional `length-limit' and try to fit
5589         computed function name to that length.
5590         (python-mode): Hook `python-which-func' up.
5592 2007-07-12  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)
5594         * pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case.
5596         * comint.el (comint-dynamic-complete-as-filename):
5597         Use read-file-name-completion-ignore-case.
5599 2007-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5601         * comint.el (comint-dynamic-list-filename-completions):
5602         Use read-file-name-completion-ignore-case.
5604         * vc-cvs.el: Require CL.
5605         (vc-cvs-revision-table, vc-cvs-revision-completion-table):
5606         New functions to provide completion of revision names.
5608         * vc-cvs.el (vc-functions): Clear up the cache when reloading the file.
5609         (vc-cvs-annotate-first-line-re): New const.
5610         (vc-cvs-annotate-process-filter): New fun.
5611         (vc-cvs-annotate-command): Use them and run the command asynchronously.
5613 2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>
5615         * emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation.
5616         (eldoc-print-current-symbol-info): Adjust for changed helper
5617         function signatures.
5618         (eldoc-get-fnsym-args-string): Add `args' argument.  Use new
5619         `eldoc-highlight-function-argument'.
5620         (eldoc-highlight-function-argument): New function.
5621         (eldoc-get-var-docstring): Format documentation with
5622         `font-lock-variable-name-face'.
5623         (eldoc-docstring-format-sym-doc): Add `face' argument and apply it
5624         where suited.
5625         (eldoc-fnsym-in-current-sexp): Return a list with argument index.
5626         (eldoc-beginning-of-sexp): Return number of skipped sexps.
5628 2007-07-11  Michael Albinus  <michael.albinus@gmx.de>
5630         * progmodes/compile.el (compilation-start): `start-process' must
5631         still be redefined when calling `start-process-shell-command'.
5633         * progmodes/gud.el (gud-file-name): When `default-directory' is a
5634         remote file name, prepend its remote part to the filename.
5635         (gud-common-init): When `default-directory' is a remote file name,
5636         make the filename relative to it.
5637         Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
5639 2007-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
5641         * vc-hooks.el (vc-default-mode-line-string): Add a mouse face,
5642         mouse binding and a tooltip.
5644 2007-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5646         * menu-bar.el (vc-menu-map): New defalias.
5648 2007-07-10  Richard Stallman  <rms@gnu.org>
5650         * emacs-lisp/lisp-mode.el (eval-defun):
5651         Explain special handling of `defface'.
5653 2007-07-10  Jim Meyering  <jim@meyering.net>  (tiny change)
5655         * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.
5657         * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.
5659 2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5661         * emacs-lisp/cl.el: Load cl-loaddefs.el quietly.
5663         * vc-arch.el (vc-arch-complete): Remove.
5664         (vc-arch-revision-completion-table): Use complete-with-action.
5666         * subr.el (condition-case-no-debug, with-demoted-errors): New macros.
5667         (complete-with-action): New function.
5668         (dynamic-completion-table): Use it.
5670 2007-07-10  Michael Albinus  <michael.albinus@gmx.de>
5672         * comint.el (make-comint, make-comint-in-buffer)
5673         (comint-exec-1): Replace `start-process' by `start-file-process'.
5675         * progmodes/compile.el (compilation-start): Revert redefining
5676         `start-process'.
5678 2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5680         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
5681         with EOLs when generating MD5 checksums.
5683         * follow.el: Don't change the global map from the follow-mode-map
5684         defvar, but from the toplevel.  Use easy-menu to unify the Emacs and
5685         XEmacs code.
5686         (turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
5687         since `follow-mode' should be used instead for that.
5689         * emacs-lisp/easymenu.el (easy-menu-binding): New function.
5690         (easy-menu-do-define): Use it.
5691         (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
5693         * progmodes/compile.el (compilation-auto-jump-to-first-error)
5694         (compilation-auto-jump-to-next): New vars.
5695         (compilation-auto-jump): New function.
5696         (compilation-error-properties): Use them to jump to first error.
5697         (compilation-start): Set the var if requested.
5699         * emacs-lisp/autoload.el (update-directory-autoloads): Remove
5700         duplicates without also removing entries from other directories.
5702 2007-07-10  Carsten Dominik  <dominik@science.uva.nl>
5704         * textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
5705         Remember span as default.
5706         (org-columns-edit-value): Rename from `org-column-edit'.
5707         (org-columns-display-here-title): Rename from
5708         `org-overlay-columns-title'.
5709         (org-columns-remove-overlays): Rename from org-remove-column-overlays.
5710         (org-columns-get-autowidth-alist): Rename from
5711         `org-get-columns-autowidth-alist'.
5712         (org-columns-display-here): Rename from `org-overlay-columns'.
5713         (org-columns-new-overlay): Rename from `org-new-column-overlay'.
5714         (org-columns-quit): Rename from `org-column-quit'.
5715         (org-columns-show-value): Rename from `org-column-show-value'.
5716         (org-columns-content, org-columns-widen)
5717         (org-columns-next-allowed-value)
5718         (org-columns-edit-allowed, org-columns-store-format)
5719         (org-columns-uncompile-format, org-columns-redo)
5720         (org-columns-edit-attributes, org-delete-property)
5721         (org-set-property, org-columns-update)
5722         (org-columns-compute, org-columns-eval)
5723         (org-columns-not-in-agenda, org-columns-compute-all)
5724         (org-property-next-allowed-value)
5725         (org-columns-compile-format)
5726         (org-fill-paragraph-experimental)
5727         (org-string-to-number, org-property-action)
5728         (org-columns-move-left, org-columns-new)
5729         (org-column-number-to-string)
5730         (org-property-previous-allowed-value)
5731         (org-at-property-p, org-columns-delete)
5732         (org-columns-previous-allowed-value)
5733         (org-columns-move-right, org-columns-narrow)
5734         (org-property-get-allowed-values)
5735         (org-verify-version, org-column-string-to-number)
5736         (org-delete-property-globally): New functions.
5737         (org-columns-current-fmt): Rename from `org-current-columns-fmt'.
5738         (org-columns-overlays): Rename from `org-column-overlays'.
5739         (org-columns-map): Rename from `org-column-map'.
5740         (org-columns-current-maxwidths): Rename from
5741         `org-current-columns-maxwidths'.
5742         (org-columns-begin-marker, org-columns-current-fmt-compiled)
5743         (org-previous-header-line-format)
5744         (org-columns-inhibit-recalculation)
5745         (org-columns-top-level-marker): New variables.
5746         (org-columns-default-format): Rename from `org-default-columns-format'.
5747         (org-property-re): New constant.
5749 2007-07-10  Guanpeng Xu  <herberteuler@hotmail.com>
5751         * subr.el (looking-at-p, string-match-p): New functions.
5753 2007-07-09  Reiner Steib  <Reiner.Steib@gmx.de>
5755         * textmodes/tex-mode.el (tex-fontify-script)
5756         (tex-font-script-display): New variables to make display of
5757         superscripts and subscripts customizable.
5758         (tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
5760 2007-07-09  Richard Stallman  <rms@gnu.org>
5762         * isearch.el (isearch-edit-string): Call to isearch-push-state
5763         after the search.
5765 2007-07-09  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
5767         * window.el (fit-window-to-buffer): Remove setting of window-min-height
5768         to 1 as enlarge-window uses the value to resize/shrink windows other
5769         than WINDOW if needed.
5771 2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>
5773         * cus-start.el (file-coding-system-alist): Fix custom type.
5775 2007-07-08  Chong Yidong  <cyd@stupidchicken.com>
5777         * longlines.el (longlines-wrap-region): Avoid marking buffer as
5778         modified.
5779         (longlines-auto-wrap, longlines-window-change-function):
5780         Remove unnecessary calls to set-buffer-modified-p.
5782 2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>
5784         * cus-start.el (file-coding-system-alist): Fix custom type.
5786 2007-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5788         * vc-cvs.el (vc-cvs-revert): Use vc-default-revert.
5789         (vc-cvs-checkout): Remove last arg now unused; simplify.
5791 2007-07-08  Michael Albinus  <michael.albinus@gmx.de>
5793         * files.el (file-remote-p): Introduce optional parameter CONNECTED.
5795         * net/tramp.el:
5796         * net/tramp-ftp.el:
5797         * net/tramp-smb.el:
5798         * net/tramp-uu.el:
5799         * net/trampver.el: Migrate to Tramp 2.1.
5801         * net/tramp-cache.el:
5802         * net/tramp-fish.el:
5803         * net/tramp-gw.el: New Tramp packages.
5805         * net/tramp-util.el:
5806         * net/tramp-vc.el: Removed.
5808         * net/ange-ftp.el: Add ange-ftp property to 'start-file-process.
5809         (ange-ftp-file-remote-p): Handle optional parameter CONNECTED.
5811         * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.
5813         * progmodes/compile.el (compilation-start): Redefine
5814         `start-process' temporarily when `default-directory' is remote.
5815         Remove case of synchronous compilation, this won't happen ever.
5816         (compilation-setup): Make local variable `comint-file-name-prefix'
5817         for remote compilation.
5819 2007-07-08  Martin Rudalics  <rudalics@gmx.at>
5821         * novice.el (disabled-command-function): Fit window to buffer to
5822         make last line visible.
5823         Reported by Stephen Berman <Stephen.Berman at gmx.net>.
5825         * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
5826         when handling the terminating event.
5828 2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>
5830         * calc/calc.el (math-read-number-simple): Remove leading 0s.
5831         (math-bignum-digit-length): Change to optimal value.
5833         * calc/calc-bin.el (math-bignum-logb-digit-size)
5834         (math-bignum-digit-power-of-two): Evaluate when compiled.
5836         * calc/calc-comb.el (math-small-factorial-table)
5837         (math-init-random-base, math-prime-test): Remove unnecessary calls
5838         to `math-read-number-simple'.
5840         * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
5841         (math-approx-gamma-const): Add docstrings.
5843         * calc/calc-forms.el (math-julian-date-beginning)
5844         (math-julian-date-beginning-int): New constants.
5845         (math-format-date-part, math-parse-standard-date, calcFunc-julian):
5846         Use the new constants.
5848         * calc/calc-funcs.el (math-gammap1-raw): Add docstring.
5850         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
5851         Add docstrings.
5853 2007-07-07  Tom Tromey  <tromey@redhat.com>
5855         * vc.el (vc-annotate): Jump to line and output message only after the
5856         process is really all done.
5858 2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5860         * vc.el (vc-exec-after): Don't move point from the sentinel.
5861         Forcefully read all the remaining text in the pipe upon process exit.
5862         (vc-annotate-display-autoscale, vc-annotate-lines):
5863         Don't stop at the first unrecognized line.
5864         (vc-annotate-display-select): Run autoscale after the process is done
5865         since it depends on the whole result.
5867 2007-07-07  Eli Zaretskii  <eliz@gnu.org>
5869         * term/w32-win.el (menu-bar-open): New function.
5870         Bind <f10> to it.
5872 2007-07-07  Michael Albinus  <michael.albinus@gmx.de>
5874         * simple.el (start-file-process): New defun.
5876 2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5878         * files.el (find-file-confirm-nonexistent-file): Rename from
5879         find-file-confirm-inexistent-file.  Update users.
5881         * emacs-lisp/autoload.el (autoload-find-destination): Understand a new
5882         format of autoload block where the file's time-stamp is replaced by its
5883         MD5 checksum.
5884         (autoload-generate-file-autoloads): Use MD5 checksum instead of
5885         time-stamp for secondary autoloads files.
5886         (update-directory-autoloads): Remove duplicate entries.
5887         Use time-less-p for time-stamps, as done in autoload-find-destination.
5889 2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>
5891         * calc/calc.el (math-read-number): Replace number by variable.
5892         (math-read-number-simple): Properly parse small integers.
5894 2007-07-07  Dan Nicolaescu  <dann@ics.uci.edu>
5896         * vc.el: Fix doc for the checkout function.
5898 2007-07-06  Dan Nicolaescu  <dann@ics.uci.edu>
5900         * vc-hg.el (vc-hg-root): New function.
5901         (vc-hg-registered): Use it.
5902         (vc-hg-diff-tree): New defalias.
5903         (vc-hg-responsible-p): Likewise.
5904         (vc-hg-checkout): Comment out, not needed.
5905         (vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
5906         (vc-hg-find-version, vc-hg-next-version): New functions.
5908 2007-07-06  Andreas Schwab  <schwab@suse.de>
5910         * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any
5911         dynamic bindings around the evaluation of the expression.
5912         Reported by Jay Belanger <jay.p.belanger@gmail.com>.
5914 2007-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5916         * autorevert.el (auto-revert-tail-handler): Use inhibit-read-only.
5917         Run before-revert-hook.  Suggested by Denis Bueno <denbuen@sandia.gov>.
5918         Use run-hooks rather than run-mode-hooks.
5920 2007-07-05  Jay Belanger  <jay.p.belanger@gmail.com>
5922         * calc/calc-comb.el (math-random-digit): Rename to
5923         `math-random-three-digit-number'.
5924         (math-random-digits): Don't depend on representation of integer.
5926         * calc/calc-bin.el (math-bignum-logb-digit-size)
5927         (math-bignum-digit-power-of-two): New constants.
5928         (math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
5929         (math-not-bignum, math-clip-bignum): Use the constants
5930         `math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size'
5931         instead of their values.
5932         (math-clip): Use math-small-integer-size instead of its value.
5934         * calc/calc.el (math-add-bignum): Replace number by constant.
5936 2007-07-05  Chong Yidong  <cyd@stupidchicken.com>
5938         * wid-edit.el (widget-documentation-string-value-create):
5939         Insert indentation spaces.
5941 2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>
5943         * emacs-lisp/byte-opt.el: Revert last change.
5945 2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
5947         * vc-hooks.el (vc-handled-backends): Add HG.
5949         * vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.
5951 2007-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5953         * complete.el (PC-do-complete-and-exit): Add support for the new
5954         `confirm-only' confirmation mode.
5956 2007-07-05  Chong Yidong  <cyd@stupidchicken.com>
5958         * cus-edit.el (custom-commands): New variable.
5959         (custom-tool-bar-map): New variable.  Initialize using
5960         `custom-commands'.
5961         (custom-mode): Use `custom-tool-bar-map'.
5962         (custom-buffer-create-internal): Insert action buttons only if
5963         tool bar is not used.  Use `custom-commands'.
5964         (Custom-help, custom-command-apply): New function.
5965         (custom-command-apply, Custom-set, Custom-save)
5966         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
5967         Use `custom-command-apply' instead of duplicating code.
5968         (customize-group-other-window): Call `customize-group' instead of
5969         duplicating code.
5970         (customize-face-other-window): Call `customize-face' instead of
5971         duplicating code.
5972         (customize-group, customize-face): Add optional args for opening
5973         in another window.
5974         (custom-variable-tag): Don't inherit `variable-pitch' face.
5975         (custom-group-tag): Inherit `variable-pitch' face.
5976         (custom-variable-value-create): Set documentation indentation.
5977         (custom-group-value-create): Make group name a link, instead of
5978         using an extra "go to group" button.
5979         (custom-prompt-variable, custom-group-set, custom-group-save)
5980         (custom-group-reset-current, custom-group-reset-saved)
5981         (custom-group-reset-standard): Minor cleanup.
5983 2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>
5985         * Makefile.in (bootstrap-prepare): When copying from
5986         ldefs-boot.el, make sure loaddefs.el is writeable.
5988         (bootstrap-prepare): Make $(lisp)/ps-print.el
5989         and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.
5991 2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
5993         * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
5994         only caller, and delete.
5995         (vc-hg-state): Deal with exceptions and only parse the output on
5996         successful return.
5997         (vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
5998         caller, and delete.
5999         (vc-hg-workfile-version): Deal with exceptions and only parse the
6000         output on successful return.
6001         (vc-hg-revert): New function.
6003 2007-07-04  Jay Belanger  <jay.p.belanger@gmail.com>
6005         * calculator.el (calculator-expt): Use more cases to determine
6006         the value.
6008 2007-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
6010         * progmodes/gud.el (auto-mode-alist): Match more valid gdb init
6011         file names.
6013 2007-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
6015         * calculator.el (calculator-expt, calculator-integer-p):
6016         New functions.
6017         (calculator-fact): Check to see if the factorial will be too
6018         large before computing it.
6019         (calculator-initial-operators): Use `calculator-expt' to
6020         compute "^".
6021         (calculator-mode): Mention that results which are too large
6022         will return inf.
6023         * calc/calc-comb.el (math-small-factorial-table): Replace list
6024         by vector.
6026 2007-07-03  David Kastrup  <dak@gnu.org>
6028         * shell.el: On request of the authors, remove their addresses for
6029         the sake of bug reports, and add the developer list address as
6030         maintainer information.
6032 2007-07-03  Richard Stallman  <rms@gnu.org>
6034         * files.el (make-directory): Doc fix.
6035         (find-file-confirm-inexistent-file): Make it a defcustom.
6036         Make nil the default.
6038 2007-07-02  Richard Stallman  <rms@gnu.org>
6040         * startup.el (command-line): Set buffer-offer-save in *scratch*
6041         and enable auto-save in it.
6043 2007-07-02  Carsten Dominik  <dominik@science.uva.nl>
6045         * textmodes/org.el (orgstruct-mode-map): New variable.
6046         (orgstruct-mode): New minor mode.
6047         (turn-on-orgstruct, orgstruct-error, orgstruct-setup)
6048         (orgstruct-make-binding, org-context-p, org-get-local-variables)
6049         (org-run-like-in-org-mode): New functions.
6050         (org-cycle-list-bullet): New command.
6051         (org-special-properties, org-property-start-re)
6052         (org-property-end-re): New constants.
6053         (org-with-point-at): New macro.
6054         (org-get-property-block, org-entry-properties, org-entry-get)
6055         (org-entry-delete, org-entry-get-with-inheritance)
6056         (org-entry-put, org-buffer-property-keys): New functions.
6057         (org-insert-property-drawer): New command.
6058         (org-entry-property-inherited-from): New variable.
6059         (org-column): New face.
6060         (org-column-overlays, org-current-columns-fmt)
6061         (org-current-columns-maxwidths, org-column-map): New variables.
6062         (org-column-menu): New menu.
6063         (org-new-column-overlay, org-overlay-columns)
6064         (org-overlay-columns-title, org-remove-column-overlays)
6065         (org-column-show-value, org-column-quit, org-column-edit): New
6066         functions.
6067         (org-columns, org-agenda-columns): New commands.
6068         (org-get-columns-autowidth-alist): New functions.
6069         (org-properties): New customize group.
6070         (org-default-columns-format): New option.
6071         (org-priority): Realign tags after changing priority.
6072         (org-preserve-lc): New macro.
6073         (org-update-checkbox-count): Catch case when there is no headline.
6074         (org-agenda-quit): Remove any column overlays.
6075         (org-beginning-of-item-list): Fixed bug when non-item line is
6076         indented too deep.
6077         (org-cached-props): New variable.
6078         (org-cached-entry-get): New function.
6079         (org-make-tags-matcher): Handle property matches.
6080         (org-table-recalculate): Swap evaluation order: Field formula
6081         first, then column formulas, but don't allow them to overwrite the
6082         field formulas.
6083         (org-table-eval-formula): New argument untouchable.
6084         (org-table-put-field-property): New function.
6086 2007-07-02  Martin Rudalics  <rudalics@gmx.at>
6088         * help-mode.el (help-make-xrefs): Skip spaces too when
6089         skipping tabs.
6091         * ffap.el (dired-at-point-prompter): Improve prompt in
6092         list-directory case.
6094 2007-07-01  Richard Stallman  <rms@gnu.org>
6096         * files.el (find-file-visit-truename): Fix safe-local-variable value.
6098 2007-07-01  Richard Stallman  <rms@gnu.org>
6100         * cus-start.el (max-mini-window-height): Added.
6102 2007-07-01  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)
6104         * complete.el (partial-completion-mode): Remove advice of
6105         read-file-name-internal.
6106         (PC-do-completion): Rebind minibuffer-completion-table.
6107         (PC-read-file-name-internal): New function doing what
6108         read-file-name-internal advice did.
6110 2007-07-01  Paul Pogonyshev  <pogonyshev@gmx.net>
6112         * emacs-lisp/byte-opt.el: Set `binding-is-magic'
6113         property on a few symbols.
6114         (byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
6115         (byte-optimize-lapcode): Remove bindings that are not referenced
6116         and certainly will not effect through dynamic scoping.
6118 2007-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6120         * files.el (find-file-confirm-inexistent-file): New var.
6121         (find-file, find-file-other-window, find-file-other-frame)
6122         (find-file-read-only, find-file-read-only-other-window)
6123         (find-file-read-only-other-frame): Use it.
6125 2007-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6127         * emacs-lisp/rx.el (rx-constituents): Fix up `anything'.
6129 2007-06-29  Juanma Barranquero  <lekktu@gmail.com>
6131         * generic-x.el (generic-define-mswindows-modes)
6132         (generic-define-unix-modes, apache-log-generic-mode)
6133         (bat-generic-mode-keymap, java-manifest-generic-mode)
6134         (show-tabs-generic-mode): Fix typos in docstrings.
6136 2007-06-29  Ryan Yeske  <rcyeske@gmail.com>
6138         * net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections.
6139         (rcirc-default-full-name): Rename from rcirc-default-user-full-name.
6140         (rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified.
6141         (rcirc-print): Never ignore messages from ourself.
6143 2007-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6145         * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\)
6146         syntax as well.  Reported by Juri Linkov <juri@jurta.org>.
6148 2007-06-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
6150         * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to
6151         replace-regexp-in-string.
6153 2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6155         * emacs-lisp/cl.el: Set edebug and indentation before loading
6156         cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
6158 2007-06-28  Andreas Schwab  <schwab@suse.de>
6160         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on
6161         $(lisp)/subdirs.el.
6163 2007-06-28  Juanma Barranquero  <lekktu@gmail.com>
6165         * speedbar.el (speedbar-handle-delete-frame): Don't try to delete
6166         the speedbar frame if nil; that deletes the current frame or
6167         causes an error if it is the only frame.
6168         Reported by Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>.
6170 2007-06-28  Kevin Ryde  <user42@zip.com.au>
6172         * textmodes/nroff-mode.el: Groff \# comments.
6173         (nroff-mode-syntax-table): \# comment intro,
6174         plain # as punct per global table.
6175         (nroff-font-lock-keywords): Add # as a single char escape.
6176         (nroff-mode): In comment-start-skip, match \#.
6178 2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6180         * vc-bzr.el (vc-functions): Clear up the cache when reloading the file.
6181         (vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode
6182         point-min == 1.
6184 2007-06-28  Nick Roberts  <nickrob@snap.net.nz>
6186         * pcvs-util.el (cvs-strings->string, cvs-string->strings):
6187         Rename and move to...
6189         * subr.el (strings->string, string->strings): ...here.
6191         * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout)
6192         (cvs-mode-checkout, cvs-execute-single-file): Use new function names.
6194         * progmodes/gud.el (gud-common-init): Call string->strings instead
6195         of split-string.
6197 2007-06-27  Michael Albinus  <michael.albinus@gmx.de>
6199         * dired-aux.el: Remove `dired-call-process'.
6200         (dired-check-process): Call `process-file'.
6202         * wdired.el (wdired-do-perm-changes): Call `process-file'.
6204         * net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
6205         `ange-ftp-process-file'.
6207 2007-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6209         * emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads.
6211         * emacs-lisp/cl-extra.el:
6212         * emacs-lisp/cl-seq.el:
6213         * emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el.
6214         Add autoload cookies on all defs autoloaded manually in cl.el.
6216         * emacs-lisp/cl-loaddefs.el: New file.
6218         * textmodes/texinfmt.el (texinfo-raisesections-alist)
6219         (texinfo-lowersections-alist): Merge definition and declaration.
6220         (texinfo-start-of-header, texinfo-end-of-header): Remove.
6221         (texinfo-format-syntax-table): Merge init into declaration.
6222         (texinfo-format-parse-line-args, texinfo-format-parse-args)
6223         (texinfo-format-parse-defun-args, texinfo-format-node)
6224         (texinfo-push-stack, texinfo-multitable-widths)
6225         (texinfo-define-info-enclosure, texinfo-alias)
6226         (texinfo-format-defindex, batch-texinfo-format): Use push.
6227         (texinfo-footnote-number): Remove duplicate declaration.
6229         * ps-print.el: Update with auto-generated autoloads.
6231         * ps-mule.el: Set generated-autoload-file to "ps-print.el".
6233 2007-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6235         * emacs-lisp/autoload.el (autoload-generated-file): Interpret names
6236         relative to current dir for file-local settings.
6237         (autoload-generate-file-autoloads): Add `outfile' arg.
6238         (update-directory-autoloads): Use it to directly call
6239         autoload-generate-file-autoloads instead of going through
6240         update-file-autoloads so we avoid redundant searches and so we can know
6241         the set of buffers changed so we can save them all.
6243         * emacs-lisp/autoload.el (autoload-find-destination): Return nil
6244         rather than throwing `up-to-date'.
6245         (autoload-generate-file-autoloads): Adjust correspondingly.
6246         (update-file-autoloads): Be careful to let-bind
6247         autoload-modified-buffers and adjust to new calling conventions.
6248         (autoload-modified-buffers): Make it a dynamically scoped var.
6249         (update-directory-autoloads): Use file-relative-name instead of
6250         autoload-trim-file-name.
6251         (autoload-insert-section-header): Don't use autoload-trim-file-name
6252         since the file is already relative now.
6253         (autoload-trim-file-name): Remove.
6255         * vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job.
6256         (vc-arch-complete, vc-arch--version-completion-table)
6257         (vc-arch-revision-completion-table): New functions to provide
6258         completion of revision names.
6259         (vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel)
6260         (vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions
6261         to let the user trim the revlib.
6263         * vc.el: Add new VC operation `revision-completion-table'.
6264         (vc-default-revision-completion-table): New function.
6265         (vc-version-diff, vc-version-other-window): Use it to provide
6266         completion of revision names if the backend provides it.
6268         * log-edit.el (log-edit-changelog-entries): Use with-current-buffer.
6270         * vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
6271         of newer .svn/entries.
6273 2007-06-25  David Kastrup  <dak@gnu.org>
6275         * calc/calc-poly.el (math-padded-polynomial)
6276         (math-partial-fractions): Add some function comments.
6278 2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6280         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6281         Make `outbuf' optional.
6282         (update-file-autoloads): Use it.
6284 2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6286         * emacs-lisp/autoload.el (autoload-modified-buffers): New var.
6287         (autoload-find-destination): Keep it uptodate.
6288         (autoload-save-buffers): New fun.
6289         (update-file-autoloads): Use it.  Re-add the "up to date" message.
6291         * emacs-lisp/autoload.el: Refactor for upcoming changes.
6292         (autoload-find-destination): New function extracted from
6293         update-file-autoloads.
6294         (update-file-autoloads): Use it.
6295         (autoload-generate-file-autoloads): New function extracted from
6296         generate-file-autoloads.  Use file-relative-name.  Delay computation of
6297         output-start to the first cookie.  Remove done-any, replaced by
6298         output-start.
6299         (generate-file-autoloads): Use it.
6301 2007-06-24  Jay Belanger  <jay.p.belanger@gmail.com>
6303         * calc/calc-comb.el (math-init-random-base, math-prime-test):
6304         Use math-read-number-simple to insert constants.
6305         (math-prime-test): Redo calculation of sum.
6307         * calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size.
6309         * calc/calc-math.el (math-scale-bignum-digit-size): Rename from
6310         math-scale-bignum-3.
6311         (math-isqrt-bignum): Use math-scale-bignum-digit-size and
6312         math-bignum-digit-size.
6313         (math-isqrt-small): Add another possible initial guess.
6315 2007-06-23  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
6317         * textmodes/bibtex.el (bibtex-entry-format): New options
6318         `whitespace', `braces', and `string'.
6319         (bibtex-field-braces-alist, bibtex-field-strings-alist)
6320         (bibtex-field-braces-opt, bibtex-field-strings-opt)
6321         (bibtex-cite-matcher-alist): New variables.
6322         (bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist.
6323         (bibtex-flash-head): Use blink-matching-delay.
6324         (bibtex-insert-kill, bibtex-mark-entry): Use push-mark.
6325         (bibtex-format-entry, bibtex-reformat): Handle new options of
6326         bibtex-entry-format.
6327         (bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
6328         New functions.
6329         (bibtex-complete-internal): Do not display messages while
6330         minibuffer is used.  Do not leave around a completions buffer
6331         that is out of date.
6332         (bibtex-copy-summary-as-kill): New optional arg.
6333         (bibtex-font-lock-url): New optional arg no-button.
6334         (bibtex-find-crossref): Use `bibtex-cite-matcher-alist'.
6335         (bibtex-url): Allow multiple URLs per entry.
6337 2007-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6339         * emacs-lisp/autoload.el (autoload-generated-file): New function.
6340         (update-file-autoloads, update-directory-autoloads): Use it.
6341         (autoload-file-load-name): New function.
6342         (generate-file-autoloads, update-file-autoloads): Use it.
6343         (autoload-find-file): Accept non-absolute argument.  Set default-dir.
6344         (generate-file-autoloads): If the autoloaded form is malformed,
6345         indicate the problem with a warning instead of aborting.
6347 2007-06-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
6349         * simple.el (next-error-recenter): Accept `(4)' as well;
6350         also, specify `integer' instead of `number'.
6352 2007-06-23  Eli Zaretskii  <eliz@gnu.org>
6354         * ls-lisp.el (insert-directory): If an invalid regexp error is
6355         thrown, try using FILE as a literal file name, not a wildcard.
6357 2007-06-23  Juanma Barranquero  <lekktu@gmail.com>
6359         * ruler-mode.el (ruler-mode): Prevent clobbering the original
6360         `header-line-format' when reentering ruler mode.
6362 2007-06-23  Eli Zaretskii  <eliz@gnu.org>
6364         * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if
6365         FILE exists as a file.
6367 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
6369         * calc/calc.el (math-bignum-digit-length)
6370         (math-bignum-digit-size, math-small-integer-size):
6371         New constants.
6372         (math-normalize, math-bignum-big, math-make-float)
6373         (math-div10-bignum, math-scale-left, math-scale-left-bignum)
6374         (math-scale-right, math-scale-right-bignum, math-scale-rounding)
6375         (math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
6376         (math-mul-bignum, math-mul-bignum-digit, math-idivmod)
6377         (math-quotient, math-div-bignum, math-div-bignum-digit)
6378         (math-div-bignum-part, math-format-bignum-decimal)
6379         (math-read-bignum): Use math-bignum-digit-length,
6380         math-bignum-digit-size and math-small-integer-size.
6382         * calc/calc-ext.el (math-fixnum-big): Use the variable
6383         math-bignum-digit-size.
6385 2007-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
6387         * log-view.el (log-view-mode-menu): New menu.
6389 2007-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6391         * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change
6392         differently.
6394         * vc-hg.el (vc-hg-registered): Add an autoloaded version.
6395         (vc-hg-log-view-mode): Use log-view-font-lock-keywords.
6397 2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6399         * vc-hg.el (vc-hg-print-log): Insert the file name.
6400         (vc-hg-log-view-mode): Fontify the file name.
6402 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
6404         * calc/calc-forms.el (math-format-date-part, calc-parse-standard-date)
6405         (calcFunc-julian): Fix incorrect number used in calculations.
6407 2007-06-22  Thien-Thi Nguyen  <ttn@gnuvola.org>
6409         * simple.el (next-error-recenter): New defcustom.
6410         (next-error, next-error-internal): Recenter if specified,
6411         immediately prior to running `next-error-hook'.
6413         * progmodes/hideshow.el (hs-show-block): Use line-end-position.
6414         (hs-hide-block-at-point, hs-hide-comment-region): Likewise.
6416         * progmodes/hideshow.el (hs-hide-all): Use progress reporter.
6418 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
6420         * calc/calc-comb.el (math-small-factorial-table): New variable.
6421         (calcFunc-fact): Use `math-small-factorial-table'.
6423         * calc/calc-ext.el (math-defcache): Allow forms to evaluate
6424         initial values.
6425         (math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
6426         New variables to use in caches.
6428         * calc/calc-forms.el (math-format-date-part, math-parse-standard-date)
6429         (calcFunc-julian): Use `math-read-number-simple' to insert bignums.
6431         * calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
6432         (math-bernoulli-b-cache): Use math-read-number-simple to insert
6433         bignums.
6435         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
6436         New variables to use in caches.
6438 2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6440         * vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp.
6442         * vc-hg.el (vc-hg-log-view-mode): New mode.
6444 2007-06-21  Jay Belanger  <jay.p.belanger@gmail.com>
6446         * calc/calc.el (math-read-number-simple): New function.
6448 2007-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6450         * vera-mode.el (vera-mode): Fix `commend-end-skip' setting.
6451         (vera-font-lock-match-item): Fix doc string.
6452         (vera-in-comment-p): Remove unused function.
6453         (vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
6454         use `syntax-ppss'.
6455         (vera-forward-syntactic-ws): Fix argument order.
6456         (vera-prepare-search): Use `with-syntax-table'.
6457         (vera-indent-line): Fix doc string.
6458         (vera-electric-tab): Fix doc string.
6459         (vera-expand-abbrev): Define alias instead of using `fset'.
6460         (vera-comment-uncomment-region): Use `comment-start-skip'.
6462 2007-06-21  Carsten Dominik  <dominik@science.uva.nl>
6464         * textmodes/org.el (org-export-with-footnotes): New option.
6465         (org-export-as-html): Fix replacement bug for XEmacs.
6466         (org-agenda-default-appointment-duration): New option.
6468 2007-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6470         * vc-hg.el: Add to do items.
6471         (vc-hg-diff): Add support for comparing different revisions.
6472         (vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
6473         (vc-hg-annotate-extract-revision-at-line)
6474         (vc-hg-previous-version, vc-hg-checkin): New functions.
6475         (vc-hg-annotate-re): New constant.
6477 2007-06-20  Jay Belanger  <jay.p.belanger@gmail.com>
6479         * calc/calc.el (math-standard-ops): Fix precedence of multiplication.
6481 2007-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6483         * log-view.el (log-view-font-lock-keywords): Use `eval' to consult the
6484         buffer-local value of log-view-*-re if applicable.
6486         * vc-bzr.el (vc-bzr-dir-state): Use setq rather than set.
6487         Use vc-bzr-command rather than the ill defined vc-bzr-command*.
6488         (vc-bzr-command*): Remove both (incompatible) versions.
6489         (vc-bzr-do-command*): Remove.
6490         (vc-bzr-with-process-environment, vc-bzr-std-process-invocation):
6491         Remove by folding into its only caller vc-bzr-command.
6492         (vc-bzr-command): Always set the environment, even when ineffective.
6493         (vc-bzr-version): Minor fix up.
6494         (vc-bzr-admin-dirname): New var.
6495         (vc-bzr-bzr-dir): Remove.
6496         (vc-bzr-root-dir): New fun.
6497         (vc-bzr-registered): Use it.  Add an autoloaded version.
6498         (vc-bzr-responsible-p): Use vc-bzr-root-dir as well.
6499         (vc-bzr-view-log-function): Remove.
6500         (vc-bzr-log-view-mode): New major mode to replace it.
6501         (vc-bzr-print-log): Only activate the old hack if needed.
6503         * vc.el (vc-default-log-view-mode): New function.
6504         (vc-print-log): Add new `log-view-mode' VC operation.
6506 2007-06-20  Juanma Barranquero  <lekktu@gmail.com>
6508         * ido.el (ido-find-file-in-dir): Don't signal an error for
6509         empty directories.
6511         * add-log.el (change-log-mode): Set `show-trailing-whitespace'.
6513         * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
6514         directory where the desktop file was found, as the docstring says.
6515         (desktop-kill): Use `read-directory-name'.
6517 2007-06-20  Alan Mackenzie  <acm@muc.de>
6519         * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
6520         When removing lines, also remove the \n.  Correction of patch of
6521         2007-04-21.
6523 2007-06-20  Martin Rudalics  <rudalics@gmx.at>
6525         * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when
6526         event is not a cons cell.  Do not unread drag-mouse-1 events.
6527         Select right window in check whether space was stolen from
6528         window above.
6530         * help-mode.el (help-make-xrefs): Adjust position of new forward
6531         button.
6533 2007-06-20  Riccardo Murri  <riccardo.murri@gmail.com>
6535         * vc-bzr.el (vc-bzr-with-process-environment)
6536         (vc-bzr-std-process-invocation): New macros.
6537         (vc-bzr-command, vc-bzr-command*): Use them.
6538         (vc-bzr-with-c-locale): Remove.
6539         (vc-bzr-dir-state): Replace its use with vc-bzr-command.
6540         (vc-bzr-buffer-nonblank-p): New function.
6541         (vc-bzr-state-words): New const.
6542         (vc-bzr-state): Look for `bzr status` keywords in output.
6543         Display everything else as a warning message to the user.
6544         Fix status report with bzr >= 0.15.
6546 2007-06-20  Dan Nicolaescu  <dann@ics.uci.edu>
6548         * vc-hg.el (vc-hg-global-switches): Simplify.
6549         (vc-hg-state): Handle more states.
6550         (vc-hg-diff): Fix doc-string.
6551         (vc-hg-register): New function.
6552         (vc-hg-checkout): Likewise.
6554 2007-06-20  Reto Zimmermann  <reto@gnu.org>
6556         * progmodes/vera-mode.el: New file.
6558 2007-06-19  Jay Belanger  <jay.p.belanger@gmail.com>
6560         * calc/calc.el (calc-multiplication-has-precendence):
6561         New variable.
6562         (math-standard-ops, math-standard-ops-p, math-expr-ops):
6563         New functions.
6564         (math-expr-opers): Define using math-standard-ops rather than
6565         math-standard-opers.
6566         * calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers
6567         equal the function math-standard-ops rather than the variable
6568         math-standard-opers.
6569         (calc-algebraic-entry): Let math-expr-opers equal
6570         math-standard-ops or math-expr-ops, as appropriate.
6571         (math-expr-read-level, math-read-factor): Let math-expr-opers
6572         equal math-expr-ops.
6573         * calc/calc-embed.el (calc-embedded-finish-edit):
6574         Let math-expr-opers equal the function math-standard-ops
6575         rather than the variable math-standard-opers.
6576         * calc/calc-ext.el (math-read-plain-expr)
6577         (math-format-flat-expr-fancy): Let math-expr-opers equal the
6578         function math-standard-ops rather than the variable
6579         math-standard-opers.
6580         * calc/calc-lang.el (calc-set-language, math-read-big-rec):
6581         Let math-expr-opers equal the function math-standard-ops rather
6582         than the variable math-standard-opers.
6583         * calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers
6584         equal the function math-standard-ops rather than the variable
6585         math-standard-opers.
6586         * calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers
6587         equal the function math-standard-ops rather than the variable
6588         math-standard-opers.
6589         * calc/calccomp.el (math-compose-expr): Let math-expr-opers equal
6590         math-expr-ops.
6592 2007-06-19  Ivan Kanis  <apple@kanis.eu>
6594         * vc-hg.el: New file.
6596 2007-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6598         * progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text
6599         with font-lock-multiline.
6601 2007-06-17  Glenn Morris  <rgm@gnu.org>
6603         * lpr.el (lpr-page-header-switches): Move %s to separate element
6604         for correct quoting.  Doc fix.
6606 2007-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6608         * textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather
6609         than setting sgml-xml-mode.
6610         (sgml-mode, html-mode): Set sgml-xml-mode.
6611         (sgml-skip-tag-backward): Tell if we skipped over matched tags.
6612         (sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
6613         (sgml-electric-tag-pair-before-change-function)
6614         (sgml-electric-tag-pair-flush-overlays): New functions.
6615         (sgml-electric-tag-pair-mode): New minor mode.
6616         (sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
6617         (sgml-calculate-indent): Use assoc-string.
6619 2007-06-16  Karl Fogel  <kfogel@red-bean.com>
6621         * thingatpt.el (thing-at-point-email-regexp): Don't require two
6622         chars before the "@" in an email address.  Andreas Roehler noticed
6623         this problem.
6625 2007-06-15  Karl Fogel  <kfogel@red-bean.com>
6627         * thingatpt.el: Add support for email addresses (`email').
6628         (thing-at-point, bounds-of-thing-at-point): Document `email' support.
6629         (thing-at-point-email-regexp): New variable.
6630         (`email'): Put `bounds-of-thing-at-point' and `thing-at-point'
6631         properties on this symbol, with lambda forms for values.
6633 2007-06-15  Masatake YAMATO  <jet@gyve.org>
6635         * vc-bzr.el (vc-bzr-root): Cache the output of shell command execution.
6637         * vc.el (vc-dired-hook): Check the backend returned from
6638         `vc-responsible-backend' can really handle `subdir'.
6640 2007-06-15  Chong Yidong  <cyd@stupidchicken.com>
6642         * wid-edit.el (widget-add-documentation-string-button):
6643         Fix handling of documentation indent.
6645 2007-06-15  Miles Bader  <miles@fencepost.gnu.org>
6647         * mb-depth.el: New file.
6649 2007-06-15  Masatake YAMATO  <jet@gyve.org>
6651         * vc.el (vc-dired-mode): Show backend name as part of mode name.
6653 2007-06-14  Chong Yidong  <cyd@stupidchicken.com>
6655         * wid-edit.el (widget-default-create): Move ?h handling here...
6656         (widget-default-format-handler): ...from here.
6657         (widget-docstring, widget-add-documentation-string-button): New funs.
6658         (documentation-string): Add :visibility-widget property.
6659         (widget-documentation-string-value-create): Use it.
6661         * cus-edit.el (custom-split-regexp-maybe): Simplify.
6662         (custom-buffer-create-internal): Simplify message.
6663         (custom-variable-tag): Reduce height to normal.
6664         (custom-variable-value-create, custom-face-value-create)
6665         (custom-visibility): New widget.
6666         (custom-visibility): New face.
6667         (custom-group-value-create):
6668         Call widget-add-documentation-string-button, using `custom-visibility'.
6670 2007-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6672         * emacs-lisp/bytecomp.el (byte-compile-current-group)
6673         (byte-compile-nogroup-warn, byte-compile-file): Revert part of last
6674         change.  Apparently the "warning even if the group is implicit" is
6675         a feature rather than a bug.
6677 2007-06-14  Michael Kifer  <kifer@cs.stonybrook.edu>
6679         * viper.el (viper-describe-key-ad, viper-describe-key-briefly-ad):
6680         Different advices for Emacs and XEmacs.  Compile them conditionally.
6681         (viper-version): Belated version change.
6683 2007-06-14  Juanma Barranquero  <lekktu@gmail.com>
6685         * follow.el (follow-all-followers, follow-generic-filter):
6686         * pcomplete.el (pcomplete-restore-windows):
6687         * x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state)
6688         (x-dnd-drop-data):
6689         * emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display):
6690         * progmodes/python.el (python-complete-symbol):
6691         * term/mac-win.el (mac-dnd-drop-data): Remove redundant check.
6693 2007-06-13  Ryan Yeske  <rcyeske@gmail.com>
6695         * rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax
6696         around bright and dim regexps.  Make sure bright and dim matches
6697         use word anchors.  Send text through rcirc-markup functions.
6698         (rcirc-url-regexp): Add single quote character.
6699         (rcirc-connect): Write logs to disk on auto-save-hook.
6700         Make server a non-optional argument.
6701         (rcirc-log-alist): New variable.
6702         (rcirc-log-directory): Make customizable.
6703         (rcirc-log-flag): New customizable variable.
6704         (rcirc-log): New function.
6705         (rcirc-print): Use above function.
6706         (rcirc-log-write): New function.
6707         (rcirc-generate-new-buffer-name): Strip text properties.
6708         (rcirc-switch-to-buffer-function): Remove variable.
6709         (rcirc-last-non-irc-buffer): Remove variable.
6710         (rcirc-non-irc-buffer): Add function.
6711         (rcirc-next-active-buffer): Use above function.
6712         (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING.
6713         (rcirc-handler-ctcp-KEEPALIVE): Add handler.
6714         (rcirc-handler-CTCP): Don't print KEEPALIVE responses.
6715         (rcirc-omit-mode): Add minor-mode.
6716         (rcirc-mode-map): Change C-c C-o binding.
6717         (rcirc-mode): Clear mode-line-process.  Use a custom
6718         fill-paragraph-function.  Set up buffer-invisibility-spec.
6719         (rcirc-response-formats): Remove timestamp code.
6720         (rcirc-omit-responses): Add variable.
6721         (rcirc-print): Don't put the overlay arrow on potentially omitted
6722         lines.  Log line to disk.  Record activity for private messages
6723         from /dim nicks.  Facify the fill-prefix with rcirc-timestamp face.
6724         (rcirc-jump-to-first-unread-line): Print message if there is no
6725         unread text.
6726         (rcirc-clear-unread): New function.
6727         (rcirc-markup-text-functions): Add variable.
6728         (rcirc-markup-timestamp, rcirc-markup-fill): Add functions.
6729         (rcirc-debug): Don't mess with window configuration.
6730         (rcirc-send-message): Send message before printing locally.
6731         Add SILENT argument, do not print message if non-nil.
6732         (rcirc-visible-buffers): New function and variable.
6733         (rcirc-window-configuration-change-1): Add function.
6734         (rcirc-target-buffer): Make sure ACTIONs don't get sent to the
6735         server buffer.
6736         (rcirc-clean-up-buffer): Set rcirc-target to nil when finished.
6737         (rcirc-fill-paragraph): Add function.
6738         (rcirc-record-activity, rcirc-window-configuration-change-1):
6739         Only update the activity string if it has actually changed.
6740         (rcirc-update-activity-string): Remove padding characters from the
6741         mode-line string.
6742         (rcirc-disconnect-buffer): New function to be called when a
6743         channel is parted or the user quits.
6744         (rcirc-server-name): Warn when the server-name hasn't been set.
6745         (rcirc-window-configuration-change): Postpone work until
6746         post-command-hook.
6747         (rcirc-window-configuration-change-1): Update mode-line and
6748         overlay arrows here.
6749         (rcirc-authenticate): Fixc hanserv identification.
6750         (rcirc-default-server): Remove variable.
6751         (rcirc): Connect according to rcirc-connections.
6752         (rcirc-connections): Add variable.
6753         (rcirc-startup-channels-alist): Remove variable.
6754         (rcirc-startup-channels): Remove function.
6756 2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6758         * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change.
6760 2007-06-13  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>  (tiny change)
6762         * term/xterm.el (terminal-init-xterm): Escape parens in character
6763         constants.
6765 2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6767         * progmodes/sh-script.el: Remove unneeded * from docstrings.
6768         Use [:alpha:] and [:alnum:] where applicable.
6769         (sh-quoted-subshell): Rewrite to correctly
6770         handle nested mixes of `...` and $(...).
6771         (sh-apply-quoted-subshell): Remove.
6772         (sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell.
6774         * vc-arch.el (vc-arch-command): Remove bzr.  It's a different program.
6776 2007-06-13  Michael Kifer  <kifer@cs.stonybrook.edu>
6778         * ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo
6779         previous change.
6781 2007-06-12  Tom Tromey  <tromey@redhat.com>
6783         * subr.el (user-emacs-directory): New defconst.
6784         * cmuscheme.el (scheme-start-file):
6785         * shell.el (shell):
6786         * completion.el (save-completions-file-name):
6787         * custom.el (custom-theme-directory):
6788         * term/x-win.el (emacs-session-filename):
6789         * filesets.el (filesets-menu-cache-file):
6790         * thumbs.el (thumbs-thumbsdir):
6791         * server.el (server-auth-dir):
6792         * image-dired.el (image-dired-dir):
6793         (image-dired-db-file):
6794         (image-dired-temp-image-file):
6795         (image-dired-gallery-dir):
6796         (image-dired-temp-rotate-image-file):
6797         * play/gamegrid.el (gamegrid-user-score-file-directory):
6798         * savehist.el (savehist-file):
6799         * tutorial.el (tutorial--saved-dir):
6800         * startup.el (auto-save-list-file-prefix): Use user-emacs-directory.
6802 2007-06-12  Ralf Angeli  <angeli@caeruleus.net>
6804         * scroll-lock.el (scroll-lock-mode): Doc fix.
6806 2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
6808         * ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis.
6810         * ediff-init.el: Doc strings.
6812 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6814         * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
6815         (byte-compile-file): Bind it.
6816         (byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
6817         group argument is provided implicitly.
6818         (byte-compile-format-warn, byte-compile-from-buffer)
6819         (byte-compile-insert-header): Don't hardcode point-min==1.
6820         (byte-compile-file-form-require): Remove unused var old-load-list.
6821         (byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.
6823 2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
6825         * emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value):
6826         Display error messages.
6827         (viper-prev-destructive-command, viper-insert-prev-from-insertion-ring):
6828         Get rid of cl.el dependencies.
6830         * emulation/viper-init.el (viper-suppress-input-method-change-message):
6831         New variable.
6832         (viper-activate-input-method-action)
6833         (viper-inactivate-input-method-action):
6834         Use viper-suppress-input-method-change-message.
6836         * emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings
6837         for C-s, C-r.
6839         * emulation/viper-util.el (viper-set-cursor-color-according-to-state):
6840         Use viper-replace-overlay-cursor-color instead of
6841         viper-replace-overlay-cursor-color.
6842         (viper-sit-for-short): Use sit-for with 3 arguments.
6844         * emulation/viper.el (viper-insert-state-mode-list): Add gud-mode.
6845         (viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map
6846         to gud-mode.
6848         * ediff-mult.el (ediff-meta-buffer-brief-message)
6849         (ediff-meta-buffer-verbose-message): New variables.
6850         (ediff-meta-buffer-message): Variable deleted.
6851         (ediff-verbose-help-enabled): New variable.
6852         (ediff-toggle-verbose-help-meta-buffer): New function.
6853         (ediff-redraw-directory-group-buffer): Made aware of short/verbose
6854         message options.
6856         * ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp.
6857         (ediff-fixup-patch-map): Improve heuristic.
6859 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6861         * log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\).
6862         (log-view-font-lock-keywords): Simplify.
6863         (log-view-current-file, log-view-current-tag): Simplify.
6865 2007-06-12  Sam Steingold  <sds@gnu.org>
6867         * vc-arch.el (vc-arch-command): Also try "baz" and "bzr".
6869 2007-06-12  Juanma Barranquero  <lekktu@gmail.com>
6871         * desktop.el (desktop-load-locked-desktop): New option.
6872         (desktop-read): Use it.
6873         (desktop-truncate, desktop-outvar, desktop-restore-file-buffer):
6874         Use `when'.
6876 2007-06-12  Davis Herring  <herring@lanl.gov>
6878         * desktop.el (desktop-save-mode-off): New function.
6879         (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
6880         (desktop-full-lock-name, desktop-file-modtime, desktop-owner)
6881         (desktop-claim-lock, desktop-release-lock): New functions.
6882         (desktop-kill): Tell `desktop-save' that this is the last save.
6883         Release the lock afterwards.
6884         (desktop-buffer-info): New function.
6885         (desktop-save): Use it.  Run `desktop-save-hook' where the doc
6886         says to.  Detect conflicts, and manage the lock.
6887         (desktop-read): Detect conflicts.  Manage the lock.
6889 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6891         * emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names.
6893         * emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map.
6894         (tpu-lucid-emacs-p): Remove.  Use (featurep 'xemacs) instead.
6895         (CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars.
6896         (tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using
6897         keysyms rather than byte sequences.
6898         (tpu-copy-keyfile): Don't force the user to use tpu-mapper.el.
6900 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6902         * font-lock.el (font-lock-add-keywords): In case font-lock was only
6903         half-activated, forcefully activate it completely.
6905 2007-06-11  Richard Stallman  <rms@gnu.org>
6907         * cus-edit.el (custom-variable-type): Doc fix.
6909 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6911         * progmodes/sh-script.el (sh-font-lock-backslash-quote)
6912         (sh-font-lock-flush-syntax-ppss-cache): New functions.
6913         (sh-font-lock-syntactic-keywords): Use them to distinguish the
6914         different possible cases for \'.
6916         * complete.el (PC-bindings): Don't bind things already bound in the
6917         parent keymap.
6919         * textmodes/bibtex-style.el: New file.
6921 2007-06-11  Riccardo Murri  <riccardo.murri@gmail.com>
6923         * vc-bzr.el: New file.
6925 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6927         * vc-svn.el (vc-svn-program): New var.
6928         (vc-svn-command): Use it.
6930 2007-06-11  Juanma Barranquero  <lekktu@gmail.com>
6932         * server.el (server-switch-buffer): Remove redundant check.
6934 2007-06-10  Martin Rudalics  <rudalics@gmx.at>
6936         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
6937         Match against file-name-nondirectory.
6938         Fix text on user customization variables.
6939         Reported by Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se>.
6941 2007-06-09  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
6943         * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
6945 2007-06-09  Davis Herring  <herring@lanl.gov>
6947         * desktop.el (desktop-minor-mode-table): Doc fix.
6949 2007-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6951         * textmodes/css-mode.el (css-navigation-syntax-table):
6952         Use set-char-table-range so it also works in the unicode branch.
6954 2007-06-08  Nick Roberts  <nickrob@snap.net.nz>
6956         * help-mode.el (help-xref-forward-stack)
6957         (help-xref-stack-forward-item, help-forward-label): New variables.
6958         (help-forward): New button type.
6959         (help-setup-xref): Initialise help-xref-forward-stack.
6960         (help-make-xrefs): Add forward button, if appropriate.
6961         (help-xref-go-back): Push item on forward stack.
6962         (help-xref-go-forward, help-go-forward): New functions.
6964 2007-06-07  Chong Yidong  <cyd@stupidchicken.com>
6966         * dired.el (dired-mode-map): Remove spurious separator.
6968 2007-06-07  Juanma Barranquero  <lekktu@gmail.com>
6970         * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix.
6972         * progmodes/mixal-mode.el (mixal-operation-codes-alist):
6973         * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring.
6975 2007-06-07  Carsten Dominik  <dominik@science.uva.nl>
6977         * textmodes/org.el: Version number fixed.
6979 2007-06-07  Glenn Morris  <rgm@gnu.org>
6981         * version.el (emacs-copyright): New constant.
6982         * startup.el (fancy-splash-tail): Use emacs-copyright.
6983         * calc/calc-help.el (calc-full-help): Use emacs-copyright.
6985         * emacs-lisp/bytecomp.el (byte-compile-warnings): Add new option
6986         `make-local'.
6987         (byte-compile-warnings-safe-p): Add `make-local'.
6988         (byte-compile-make-variable-buffer-local):
6989         Allow byte-compile-warnings to suppress this warning.
6991         * tutorial.el (tutorial--describe-nonstandard-key): Adjust for new
6992         format of "menu" description.
6993         (tutorial--find-changed-keys): Describe the specific menu a
6994         command is in.
6996         * dframe.el (dframe-frame-parameter, dframe-mouse-event-p):
6997         Rewrite compatibility functions to silence byte-compiler.
6999 2007-06-07  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
7001         * mail/rmailsum.el (rmail-summary-save-buffer): New command.
7002         (rmail-summary-mode-map): Add rmail-summary-save-buffer.
7004 2007-06-07  Eric M. Ludlam  <eric@siege-engine.com>
7006         * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove "iff".
7008 2007-06-07  Juanma Barranquero  <lekktu@gmail.com>
7010         * progmodes/ebrowse.el (ebrowse-member-table):
7011         * textmodes/org.el (org-export-ascii-bullets, org-batch-agenda)
7012         (org-batch-agenda-csv): Fix typos in docstrings.
7014 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
7016         * international/mule-cmds.el (toggle-enable-multibyte-characters)
7017         (sort-coding-systems, search-unencodable-char): Doc fixes.
7018         (coding-system-change-eol-conversion, set-default-coding-systems)
7019         (prefer-coding-system, find-multibyte-characters, princ-list)
7020         (leim-list-entry-regexp, set-input-method, locale-language-names)
7021         (input-method-exit-on-first-char, exit-language-environment-hook)
7022         (locale-charset-language-names): Fix typos in docstrings.
7024 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
7026         * pgg.el (pgg-sign-region, pgg-sign):
7027         * ses.el (ses-call-printer):
7028         * calendar/icalendar.el (icalendar--diarytime-to-isotime):
7029         * textmodes/org.el (org-cycle): Fix typos in docstrings.
7031 2007-06-06  Carsten Dominik  <dominik@science.uva.nl>
7033         * textmodes/org.el
7034         (org-export-region-as-html, org-replace-region-by-html)
7035         (org-number-to-letters, org-table-fedit-finish)
7036         (org-normalize-color, org-table-fedit-ref-right)
7037         (org-date-to-gregorian, org-table-fedit-move)
7038         (org-table-convert-refs-to-rc, org-calendar-holiday)
7039         (org-table-fedit-toggle-ref-type, org-write-agenda)
7040         (org-colgroup-info-to-vline-list, org-agenda-todo-previousset)
7041         (org-defkey, org-encode-for-stdout)
7042         (org-indent-line-function, org-export-as-html-to-buffer)
7043         (org-store-agenda-views, org-update-mode-line)
7044         (org-find-if, org-delete-all)
7045         (org-table-fedit-convert-buffer, org-emphasize)
7046         (org-uniquify, org-table-fedit-lisp-indent)
7047         (org-table-fedit-scroll, org-get-todo-sequence-head)
7048         (org-table-fedit-scroll-down, org-table-fedit-line-down)
7049         (org-table-fedit-ref-left, org-agenda-export-csv-mapper)
7050         (org-table-fedit-toggle-coordinates, org-dvipng-color)
7051         (org-table-fedit-line-up, org-table-fedit-ref-down)
7052         (org-table-formula-from-user, org-mode-flyspell-verify)
7053         (org-cycle-show-empty-lines, org-ctrl-c-ret)
7054         (org-table-formula-to-user, org-diary-to-ical-string)
7055         (orgtbl-export, org-table-fedit-post-command)
7056         (org-closed-in-range, org-shiftcontrolright)
7057         (org-table-convert-refs-to-an, org-table-hline-and-move)
7058         (org-table-formula-less-p, org-format-table-ascii)
7059         (org-agenda-get-sexps, org-shift-refpart)
7060         (org-diary-sexp-entry, org-time-string-to-absolute)
7061         (org-table-show-reference, org-letters-to-number)
7062         (org-fix-agenda-info, org-table-fedit-ref-up)
7063         (org-table-fedit-shift-reference, org-table-fedit-abort)
7064         (org-closest-date, org-shiftcontrolleft)
7065         (org-at-heading-or-item-p, org-rematch-and-replace)
7066         (org-agenda-todo-nextset, org-export-grab-title-from-buffer):
7067         New functions.
7068         (org-table-edit-scroll-down, org-finish-edit-formulas)
7069         (org-table-edit-next-field, org-abort-edit-formulas)
7070         (org-font-lock-level, org-export-find-first-heading-line)
7071         (org-table-edit-line-down, org-table-edit-backward-field)
7072         (org-edit-formula-lisp-indent, org-table-edit-move)
7073         (org-check-log-option, org-this-word)
7074         (org-table-edit-line-up, org-table-edit-formulas-post-command)
7075         (org-agenda-file-to-end, org-expand-file-name)
7076         (org-fake-empty-table-line, org-table-edit-scroll)
7077         (org-toggle-log-option, org-show-reference): Function removed.
7078         (org-inhibit-invisibility, org-table-formula-make-cmp-string):
7079         New defsubsts.
7080         (org-unmodified, org-batch-store-agenda-views)
7081         (org-batch-agenda-csv): New macro.
7082         (org-agenda-export): New customization group.
7083         (org-agenda-skip-deadline-if-done, org-agenda-remove-tags)
7084         (org-highest-priority, org-agenda-exporter-settings)
7085         (org-log-done-with-time, org-replace-disputed-keys)
7086         (org-format-latex-header, org-export-table-header-tags)
7087         (org-cycle-separator-lines, org-export-table-data-tags)
7088         (org-icalendar-include-sexps)
7089         (org-empty-line-terminates-plain-lists)
7090         (org-log-repeat, org-special-ctrl-a)
7091         (org-table-use-standard-references, org-disputed-keys)
7092         (org-export-skip-text-before-1st-heading, org-agenda-with-colors)
7093         (org-agenda-export-html-style): New option.
7094         (org-allow-auto-repeat, org-agenda-remove-tags-when-in-prefix)
7095         (org-CUA-compatible): Option removed.
7096         (org-agenda-structure, org-sexp-date): New face.
7097         (org-todo-keywords-for-agenda, org-not-done-keywords)
7098         (org-planning-or-clock-line-re, org-agenda-name)
7099         (org-table-colgroup-info, org-todo-sets)
7100         (constants-unit-system, org-clock-mode-line-entry)
7101         (org-mode-line-timer, org-table-current-begin-pos)
7102         (org-todo-keywords-1, org-mode-line-string)
7103         (org-table-clean-did-remove-column, org-table-fedit-map)
7104         (org-clock-heading, org-table-buffer-is-an)
7105         (org-agenda-info, org-done-keywords)
7106         (org-done-keywords-for-agenda, org-todo-heads)
7107         (org-todo-kwd-alist, org-clock-start-time): New variable.
7108         (org-todo-kwd-priority-p, org-edit-formulas-map)
7109         (org-repeat-re, org-todo-kwd-max-priority)
7110         (org-version, org-done-string)
7111         (org-table-clean-did-remove-column-1, org-disputed-keys):
7112         Remove variables.
7113         (org-table-translate-regexp, org-repeat-re, org-version): New consts.
7114         (org-ts-lengths): Constant removed.
7115         (org-follow-gnus-link): Don't ask how many articles to read.
7116         (org-export-find-first-export-line): Rename from
7117         `org-export-find-first-heading'.
7118         Use `org-export-skip-text-before-1st-heading'.
7119         (org-table-fedit-post-command): Rename from
7120         `org-table-edit-formulas-post-command'.
7121         (org-table-fedit-finish): Rename from `org-finish-edit-formulas'.
7122         (org-table-fedit-abort): Rename from `org-abort-edit-formulas'.
7123         (org-table-fedit-lisp-indent): Rename from
7124         `org-edit-formula-lisp-indent'.
7125         (org-table-show-reference): Rename from `org-show-reference'.
7126         (org-table-store-formulas): Use `org-table-formula-less-p'.
7127         (org-table-edit-formulas): Position cursor to current field equation.
7128         (org-update-checkbox-count, org-hide-archived-subtrees)
7129         (org-timestamp-up-day, org-timestamp-down-day)
7130         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
7131         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
7132         (org-metadown, org-shiftup, org-shiftdown, org-shiftright)
7133         (org-shiftleft, org-ctrl-c-ctrl-c, org-context):
7134         Let `org-on-heading-p' also check for invisible heading.
7135         (org-read-date): Match am/pm times.
7136         (org-eval-in-calendar): Fix default date in prompt.
7138 2007-06-05  Chong Yidong  <cyd@stupidchicken.com>
7140         * files.el (auto-mode-alist): Separate "ChangeLog.1" and
7141         "ChangeLog.a" entries, giving the latter lower priority.
7143 2007-06-05  Juanma Barranquero  <lekktu@gmail.com>
7145         * faces.el (face-id): If the argument is a face alias,
7146         return the ID of the target face.
7148 2007-06-05  Michael Albinus  <michael.albinus@gmx.de>
7150         * net/socks.el (top): Remove unnecessary copyright line.
7152 2007-06-04  Chong Yidong  <cyd@stupidchicken.com>
7154         * longlines.el (longlines-auto-wrap): Handle argument correctly.
7156 2007-06-04  Michael Albinus  <michael.albinus@gmx.de>
7158         * net/socks.el: New file, taken from w3 repository.
7159         (top): Update Copyright.  Don't load cl.el.
7160         (all): Replace `case' by `cond', `string-to-int' by
7161         `string-to-number', and `process-kill-without-query' by
7162         `set-process-query-on-exit-flag'.
7163         (socks-char-int): Remove defalias and all occurrences.
7165 2007-06-04  Juanma Barranquero  <lekktu@gmail.com>
7167         * progmodes/compile.el (compilation-find-file, compilation-handle-exit):
7168         Fix typos in docstrings.
7169         (compilation-search-path, compilation-buffer-name-function): Doc fixes.
7170         (compilation-finish-function): Fix typo in obsolescence declaration.
7172 2007-06-03  Sam Steingold  <sds@gnu.org>
7174         * progmodes/compile.el: Add TIMESTAMP to the LOC data structure, to
7175         handle unending automatic recompilation of changed files (`omake -P').
7176         (compilation-loop): VISITED is now 5th CDR.
7177         (compilation-next-error-function): Set TIMESTAMP.
7179 2007-06-03  Sam Steingold  <sds@gnu.org>
7181         * files.el (kill-buffer-ask): New function.
7182         (kill-some-buffers): Use it.
7183         (kill-matching-buffers): New user command.
7185 2007-06-01  David Kastrup  <dak@gnu.org>
7187         * dired.el (dired-recursive-deletes, dired-recursive-copies):
7188         Change default to `top'.
7190 2007-05-31  Richard Stallman  <rms@gnu.org>
7192         * dired.el (dired-do-flagged-delete, dired-do-delete): Doc fix.
7194 2007-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7196         * textmodes/css-mode.el: New file.
7198 2007-05-30  Michael Olson  <mwolson@gnu.org>
7200         * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has
7201         died and we are trying to send a signal to it.  The program using
7202         tq.el should periodically check to see whether the process has
7203         died and react appropriately -- this is not the responsibility of
7204         tq.el, and is consistent with the rest of the tq.el source code.
7206 2007-05-29  Martin Rudalics  <rudalics@gmx.at>
7208         * textmodes/table.el (table--point-entered-cell-function)
7209         (table--point-left-cell-function):
7210         Bind `inhibit-point-motion-hooks' to t.
7212 2007-05-29  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
7214         * emacs-lisp/rx.el (rx): Doc fix.
7216 2007-05-28  Juanma Barranquero  <lekktu@gmail.com>
7218         * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring.
7220 2007-05-28  Michael Albinus  <michael.albinus@gmx.de>
7222         Sync with Tramp 2.0.56.
7224         * net/tramp.el:
7225         * net/tramp-ftp.el:
7226         * net/tramp-smb.el:
7227         * net/tramp-util.el:
7228         * net/tramp-vc.el:
7229         Don't load cl.el, because that pollutes the namespace.  Replace cl
7230         macros by their implementations where necessary.  Requested by
7231         Richard Stallman <rms@gnu.org>.
7233         * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it
7234         doesn't exist.
7235         (with-parsed-tramp-file-name): Protect debug spec during compilation.
7236         (tramp-handle-insert-directory): Check (featurep 'ls-lisp).
7237         (tramp-file-name-p, tramp-file-name-multi-method)
7238         (tramp-file-name-method, tramp-file-name-user)
7239         (tramp-file-name-host, tramp-file-name-localname): New defuns,
7240         replacing defstruct `tramp-file-name'.
7241         (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1)
7242         (tramp-dissect-file-name, tramp-dissect-multi-file-name):
7243         Apply `vector' instead of `make-tramp-file-name'.
7244         (tramp-handle-make-auto-save-file-name):
7245         Apply `tramp-temporary-file-directory' for compatibility reasons.
7246         (tramp-completion-mode): Use `natnump' instead of `wholenump'
7247         because of XEmacs.
7248         (tramp-completion-mode): `last-input-event' is nil when XEmacs is
7249         started.
7251 2007-05-28  Chong Yidong  <cyd@stupidchicken.com>
7253         * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
7255 2007-05-27  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
7257         * log-edit.el (log-edit-changelog-paragraph): Return point-max
7258         as the end of the ChangeLog paragraph when it ends without a line
7259         termination.
7261 2007-05-27  Ryan Yeske  <rcyeske@gmail.com>
7263         * net/webjump.el (webjump-sample-sites):
7264         Add simple Wikipedia query.
7266 2007-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7268         * emacs-lisp/derived.el (define-derived-mode): Remove bogus
7269         compatibility code.
7271         * emacs-lisp/copyright.el (copyright-names-regexp): New var.
7272         (copyright-update-year): Use it.
7274         * edmacro.el (edmacro-format-keys): Use current-active-maps.
7276         * ediff-init.el (ediff-defvar-local, ediff-with-current-buffer):
7277         Add indentation and debugging info.  Fix up comment convention.
7279         * cus-dep.el (custom-make-dependencies): Simplify.
7281         * composite.el (compose-region, decompose-region):
7282         Use inhibit-read-only and restore-buffer-modified-p.
7284         * xt-mouse.el (xterm-mouse-truncate-wrap): New function.
7285         (xterm-mouse-event): Use it.
7287 2007-05-25  Juanma Barranquero  <lekktu@gmail.com>
7289         * bs.el (bs-cycle-previous): Don't modify the cycle list until
7290         `switch-to-buffer' has returned succesfully.
7291         (bs-cycle-next): Ditto.  Also, don't bury the buffer when the
7292         window is dedicated (it could iconify the frame).
7294 2007-05-25  Miles Bader  <miles@fencepost.gnu.org>
7296         * vc-hooks.el (vc-find-root): Fix file attribute test.
7298 2007-05-24  Richard Stallman  <rms@gnu.org>
7300         * textmodes/flyspell.el (flyspell-correct-word-before-point):
7301         Don't let opoint be nil.
7302         (flyspell-emacs-popup): Explicit error if no dialogs.
7304 2007-05-24  Chong Yidong  <cyd@stupidchicken.com>
7306         * image-mode.el (image-forward-hscroll, image-backward-hscroll)
7307         (image-next-line, image-previous-line, image-scroll-up)
7308         (image-scroll-down, image-bol, image-eol, image-bob, image-eob):
7309         New functions.
7310         (image-mode-map): Remap motion commands.
7311         (image-mode-text-map): New keymap for viewing images as text.
7312         (image-mode): Use image-mode-map.
7313         (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps.
7315 2007-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7317         * textmodes/fill.el (canonically-space-region): Make the second arg
7318         a marker if it's not already the case.
7320 2007-05-23  Eli Zaretskii  <eliz@gnu.org>
7322         * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer)
7323         (tar-get-descriptor): Handle type 55, an extended pax header.
7325 2007-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7327         * autoinsert.el (auto-insert-alist): Quote elisp sample code so as not
7328         to confuse outline-minor-mode.
7330 2007-05-23  Eli Zaretskii  <eliz@gnu.org>
7332         * tar-mode.el (tar-file-name-handler): New function.
7333         (tar-extract): Bind file-name-handler-alist to it to force
7334         find-buffer-file-type-coding-system behave as if the file being
7335         extracted existed.  Use last-coding-system-used to force
7336         buffer-file-coding-system to what decode-coding-region actually
7337         used to decode the file.
7339 2007-05-23  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
7341         * progmodes/compile.el (compilation-handle-exit):
7342         `compilation-finish-function' may change the current buffer.
7344 2007-05-22  Richard Stallman  <rms@gnu.org>
7346         * files.el (set-auto-mode): Doc fix.
7348 2007-05-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
7350         * help-fns.el (find-source-lisp-file): New function.
7351         (describe-function-1): Use find-source-lisp-file to find source
7352         file in compile tree.
7354 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
7356         * dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
7358 2007-05-22  Juanma Barranquero  <lekktu@gmail.com>
7360         * emacs-lisp/easy-mmode.el (define-minor-mode)
7361         (easy-mmode-define-navigation): Fix typos in docstrings.
7363 2007-05-22  Glenn Morris  <rgm@gnu.org>
7365         * files.el (auto-mode-alist): Open `.asd' files in lisp-mode.
7367 2007-05-22  Katsumi Yamaoka  <yamaoka@jpl.org>
7369         * mail/mail-extr.el (mail-extract-address-components):
7370         Recognize non-ASCII characters except for NBSP as words.
7372 2007-05-21  Trent Buck  <trentbuck@gmail.com>  (tiny change)
7374         * net/rcirc.el (rcirc-fill-column): Allow `window-width'.
7375         (rcirc-print): Handle `window-width'.
7376         (rcirc-buffer-maximum-lines): Doc fix.
7378 2007-05-21  Chong Yidong  <cyd@stupidchicken.com>
7380         * image-mode.el (image-toggle-display): Don't clear image cache.
7381         Only use filename in image spec if the file is readable.
7382         Call image-refresh.
7384         * image.el (image-type-from-file-name, image-type): Simplify.
7385         (image-type-auto-detected-p): Don't scan auto-mode-alist.
7387         * files.el (magic-mode-alist): Remove image-type-auto-detected-p.
7388         (magic-fallback-mode-alist): Add image-type-auto-detected-p.
7390 2007-05-20  Nick Roberts  <nickrob@snap.net.nz>
7392         * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there
7393         is an error.
7395         * term/linux.el (terminal-init-linux): Don't signal an error
7396         if gpm isn't running.
7398 2007-05-20  Nick Roberts  <nickrob@snap.net.nz>
7400         * t-mouse.el: Reduce to a minor-mode macro call.
7401         (t-mouse-mode): Remove the lighter.
7403         * term/linux.el (terminal-init-linux): Enable t-mouse by default.
7405 2007-05-19  Dan Nicolaescu  <dann@ics.uci.edu>
7407         * files.el (auto-mode-alist): Change the regexp so that
7408         ChangeLog.unicode and ChangeLog.multi-tty use change-log-mode.
7410 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
7412         * Version 22.1 released.
7414 2007-05-19  Chong Yidong  <cyd@stupidchicken.com>
7416         * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20
7417         changes.
7419 2007-05-19  Kevin Ryde  <user42@zip.com.au>
7421         * info.el (Info-fontify-node): Fontify https as well as http and ftp.
7423 2007-05-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
7425         * textmodes/sgml-mode.el: Revert last change.
7427 2007-05-18  Richard Stallman  <rms@gnu.org>
7429         * simple.el (push-mark): Doc fix.
7431 2007-05-18  Rob Riepel  <riepel@Stanford.EDU>
7433         * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to
7434         tpu-global-map.
7435         (tpu-original-global-map): Variable deleted.
7436         (tpu-control-keys-map): New keymap variable.
7437         (tpu-set-control-keys): Use tpu-reset-control-keys rather than
7438         setting keymapping directly.
7439         (tpu-reset-control-keys): Use tpu-control-keys-map instead of
7440         tpu-global-map.
7441         (tpu-edt-on): Activate the tpu-global-map.
7442         (tpu-edt-off): Deactivate the tpu-global-map.
7444 2007-05-18  Ryan Yeske  <rcyeske@gmail.com>
7446         * textmodes/ispell.el (ispell-get-word): Return markers
7447         for start and end positions.
7448         (ispell-word): Assume END is a marker.
7450 2007-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7452         * printing.el: Group together all XEmacs/Emacs definitions.
7453         (pr-version): New version 6.9.
7454         (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs.
7455         (pr-menu-char-height, pr-menu-char-width): Fix initialization code.
7456         (pr-menu-bind): Fix code.
7457         (pr-e-frame-char-height, pr-e-frame-char-width)
7458         (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function)
7459         (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height)
7460         (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event)
7461         (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel)
7462         (pr-x-event-y-pixel): Aliases eliminated.
7463         (pr-xemacs-global-menubar): Macro moved.
7464         (current-menubar, current-mouse-event, zmacs-region-stays)
7465         (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old)
7466         (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu):
7467         Vars moved.
7468         (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock)
7469         (pr-update-mode-line, pr-do-update-menus, pr-menu-alist)
7470         (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title)
7471         (pr-menu-set-utility-title, pr-even-or-odd-pages)
7472         (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string)
7473         (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs
7474         moved.
7476 2007-05-17  Christian Plate  <cplate@web.de>  (tiny change)
7478         * textmodes/sgml-mode.el (sgml-tag):
7479         Fix bug: Call sgml-transformation-function.
7481 2007-05-17  Martin Rudalics  <rudalics@gmx.at>
7483         * hilit-chg.el (highlight-changes-rotate-faces): Don't set
7484         modified flag of buffer.  Use `inhibit-modification-hooks'.
7486 2007-05-16  Richard Stallman  <rms@gnu.org>
7488         * buff-menu.el (Buffer-menu-sort-column): Doc fix.
7490 2007-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7492         * files.el (magic-mode-alist, magic-fallback-mode-alist):
7493         Move the *ml, Postscript, and XmCD entries to the fallback part.
7495         * files.el (magic-fallback-mode-alist):
7496         Rename from file-start-mode-alist.
7498 2007-05-16  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
7500         * progmodes/compile.el (compilation-handle-exit): Quote first
7501         argument of `run-hook-with-args'.
7503 2007-05-16  Juanma Barranquero  <lekktu@gmail.com>
7505         * buff-menu.el (Buffer-menu-sort-column):
7506         * dabbrev.el (dabbrev-upcase-means-case-search):
7507         * dired.el (dired-recursive-deletes, dired-recursive-copies):
7508         * info.el (Info-current-subfile):
7509         * ls-lisp.el (ls-lisp-verbosity):
7510         * msb.el (msb-menu-cond):
7511         * pcvs.el (cvs-dired-use-hook):
7512         * simple.el (set-mark-command-repeat-pop):
7513         * time.el (display-time-24hr-format, display-time-mail-file):
7514         Doc fixes.
7516         * tutorial.el (get-lang-string, tutorial--find-changed-keys):
7517         * printing.el (pr-ps-fast-fire): Fix typos in docstrings.
7519         * view.el (view-inhibit-help-message): Fix typo in docstring.
7520         (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
7522 2007-05-16  Martin Rudalics  <rudalics@gmx.at>
7524         * textmodes/ispell.el (ispell-start-process): Defend against bad
7525         default-directory.
7527 2007-05-14  Eli Zaretskii  <eliz@gnu.org>
7529         * mail/rmail.el (rmail-convert-to-babyl-format): Check
7530         content-transfer-encoding _last_, because it's its position that
7531         we need as value of base64-header-field-end.
7533 2007-05-14  Juanma Barranquero  <lekktu@gmail.com>
7535         * files.el (mode-require-final-newline, require-final-newline)
7536         (enable-local-variables, enable-local-eval): Doc fixes.
7538 2007-05-13  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7540         * ps-print.el: Use default color when foreground or background color
7541         are unspecified.  Reported by Leo <sdl.web@gmail.com>.
7542         (ps-print-version): New version 6.7.4.
7543         (ps-rgb-color): New argument.  Use default color when color is
7544         unspecified.
7545         (ps-begin-job): Fix code.
7547 2007-05-12  Chong Yidong  <cyd@stupidchicken.com>
7549         * longlines.el (longlines-mode): Make longlines-auto-wrap
7550         buffer-local.  Add hooks unconditionally.
7551         (longlines-auto-wrap): Toggle wrapping.
7552         (longlines-after-change-function)
7553         (longlines-post-command-function): Check longlines-auto-wrap.
7555 2007-05-12  Nick Roberts  <nickrob@snap.net.nz>
7557         * xt-mouse.el (xterm-mouse-debug-buffer): New variable.
7558         (xterm-mouse-translate): Use it.
7560 2007-05-10  Richard Stallman  <rms@gnu.org>
7562         * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
7563         (iso-cvt-write-only): Likewise.
7565         * emacs-lisp/easy-mmode.el (define-minor-mode):
7566         Fix generated doc string.
7568         * startup.el (fancy-splash-text): Add URL of guided tour.
7569         Adjust horizontal and vertical whitespace.
7571         * progmodes/compile.el (compilation-handle-exit):
7572         Use run-hook-with-args to run compilation-finish-functions.
7574         * files.el (file-start-mode-alist): New variable.
7575         (magic-mode-regexp-match-limit): Doc fix.
7576         (set-auto-mode): Handle file-start-mode-alist.
7577         A little cleanup of structure.
7579         * dabbrev.el (dabbrev-eliminate-newlines):
7580         Renamed from dabbrev--eliminate-newlines.  All uses changed.
7582 2007-05-10  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
7584         * man.el (Man-next-section): Don't consider the last line of the page
7585         as being part of any section.
7587 2007-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7589         * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
7590         can take any number of values.
7592 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7594         * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
7595         to the list of citation commands.
7597 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7599         * vc-hooks.el (vc-find-root): Stop searching when the user changes.
7601 2007-05-09  Edward O'Connor  <hober0@gmail.com>  (tiny change)
7603         * progmodes/python.el (python-font-lock-keywords)
7604         (python-open-block-statement-p, python-mode): Add support for the new
7605         "with" keyword.
7607 2007-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7609         * diff-mode.el (diff-apply-hunk, diff-test-hunk): Don't do by default
7610         the exact opposite of diff-goto-source.
7612         * emacs-lisp/advice.el (ad-special-forms): Remove.
7613         (ad-special-form-p): Use subr-arity.
7615         * newcomment.el (comment-search-forward): Make sure we search forward.
7616         (comment-enter-backward): Try and distinguish the non-matching case at
7617         EOB from the non-matching case with a missing comment-end-skip for
7618         a 2-char comment ender.
7619         (comment-choose-indent): New function extracted from comment-indent.
7620         Improve the alignment algorithm.
7621         (comment-indent): Use it.
7623         * textmodes/sgml-mode.el (sgml-lexical-context): Add handling of
7624         XML style Processing Instructions.
7625         (sgml-parse-tag-backward): Handle XML-style PIs.  Also ensure progress.
7626         (sgml-calculate-indent): Handle `pi' context.
7628         * vc.el: Ensure that update-changelog issues an error when used with
7629         a backend that does not implement it.
7630         (vc-update-changelog-rcs2log): Rename from vc-default-update-changelog.
7631         Remove `backend' argument.  Use expand-file-name.
7632         (vc-cvs-update-changelog, vc-rcs-update-changelog): New aliases.
7634         * progmodes/python.el (python-end-of-block): Revert last change.
7635         (python-end-of-statement): Make sure we move *forward*.
7637 2007-05-08  Richard Stallman  <rms@gnu.org>
7639         * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
7640         Don't include non-self-insert commands in the exception for `-'.
7642 2007-05-08  David Reitter  <david.reitter@gmail.com>
7644         * progmodes/python.el (python-guess-indent): Check non-nullness
7645         before comparing indent against the 2..8 interval.
7647 2007-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7649         * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
7650         available.
7652 2007-05-06  Richard Stallman  <rms@gnu.org>
7654         * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.
7656 2007-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7658         * diff.el (diff): Use buffer-local vars diff-old-file and diff-new-file
7659         rather than storing their value in the revert-buffer function.
7661 2007-05-04  Nick Roberts  <nickrob@snap.net.nz>
7663         * t-mouse.el (t-mouse-mode): Do nothing on a graphical display
7664         when disabling t-mouse-mode.
7666 2007-05-01  Davis Herring  <herring@lanl.gov>
7668         * calendar/timeclock.el: Update version number.
7669         (timeclock-modeline-display): Mention timeclock-use-display-time
7670         in explanatory message.
7671         (timeclock-in): Fix non-interactive workday specifications.
7672         (timeclock-log): Don't kill the log buffer if it already existed.
7673         Suppress warnings when finding the log.  Don't check for a nil
7674         project twice.  Run hooks after killing the buffer (if applicable).
7675         (timeclock-geometric-mean): Rename to `timeclock-mean' (it never
7676         was geometric).  All uses changed.
7677         (timeclock-generate-report): Support prefix argument.
7679 2007-05-03  Ryan Yeske  <rcyeske@gmail.com>
7681         * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted
7682         disconnections.
7684 2007-05-01  Romain Francoise  <romain@orebokech.com>
7686         * dired-x.el: Revert 2007-04-06 change.
7688 2007-04-29  Stephen Berman  <Stephen.Berman@gmx.net>
7690         * find-dired.el (find-dired-filter): Propertize all text down to eob.
7692 2007-04-29  Richard Stallman  <rms@gnu.org>
7694         * international/mule.el (auto-coding-alist): Add pdf => no-conversion.
7696 2007-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7698         * progmodes/cc-mode.el (c-before-change): Use point-min rather
7699         than 1.
7701 2007-04-28  Richard Stallman  <rms@gnu.org>
7703         * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style.
7705 2007-04-28  Nick Roberts  <nickrob@snap.net.nz>
7707         * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
7708         don't put stop on toolbar.
7710 2007-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7712         * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.
7714 2007-04-28  Eli Zaretskii  <eliz@gnu.org>
7716         * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e
7717         instead of $(lisp)/mh-e.
7719 2007-04-28  Glenn Morris  <rgm@gnu.org>
7721         * image-dired.el (image-dired-cmd-create-thumbnail-options)
7722         (image-dired-cmd-create-temp-image-options): Replace option
7723         +profile "*" with -strip.
7725 2007-04-27  Chong Yidong  <cyd@stupidchicken.com>
7727         * textmodes/flyspell.el (flyspell-auto-correct-previous-word):
7728         Use window-start and window-end.
7730 2007-04-27  Andreas Schwab  <schwab@suse.de>
7732         * emacs-lisp/sregex.el (sregexq): Fix doc string quoting.
7734 2007-04-27  Eli Zaretskii  <eliz@gnu.org>
7736         * textmodes/fill.el (fill-paragraph): Doc fix.
7738 2007-04-26  Luc Teirlinck  <teirllm@dms.auburn.edu>
7740         * locate.el (locate-in-alternate-database): Doc fix.
7742 2007-04-26  Glenn Morris  <rgm@gnu.org>
7744         * button.el (button): Use underline if supported, else fall back
7745         to color.
7747         * version.el (emacs-version): Increase to 22.1.50.
7749 2007-04-25  Richard Stallman  <rms@gnu.org>
7751         * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'.
7753 2007-04-25  J.D. Smith  <jdsmith@as.arizona.edu>
7755         * progmodes/idlwave.el (idlwave-beginning-of-subprogram)
7756         (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent
7757         pushing mark.
7758         (idlwave-current-routine): Don't push mark.
7760 2007-04-25  Mathias Dahl  <mathias.dahl@gmail.com>
7762         * image-dired.el (image-dired-display-image): Derive image-type from
7763         filename rather than assuming jpeg, in case no resizing was needed.
7765 2007-04-25  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
7767         * custom.el (defface): Doc fix.
7769 See ChangeLog.12 for earlier changes.
7771 ;; Local Variables:
7772 ;; coding: iso-2022-7bit
7773 ;; add-log-time-zone-rule: t
7774 ;; End:
7776     Copyright (C) 2007 Free Software Foundation, Inc.
7778   This file is part of GNU Emacs.
7780   GNU Emacs is free software; you can redistribute it and/or modify
7781   it under the terms of the GNU General Public License as published by
7782   the Free Software Foundation; either version 3, or (at your option)
7783   any later version.
7785   GNU Emacs is distributed in the hope that it will be useful,
7786   but WITHOUT ANY WARRANTY; without even the implied warranty of
7787   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7788   GNU General Public License for more details.
7790   You should have received a copy of the GNU General Public License
7791   along with GNU Emacs; see the file COPYING.  If not, write to the
7792   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
7793   Boston, MA 02110-1301, USA.
7795 ;; arch-tag: 1e8aa93a-fc6c-4ac3-9b10-1f445e1840af