Move variable definitions before use.
[emacs.git] / lisp / ChangeLog
blob42cf5c9d97632f30320d2f9d470fe8684aea29d4
1 2007-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
3         * printing.el: Move variable definitions before use.
4         (pr-menu-char-width, pr-menu-char-height): Pacify byte compiler.
6 2007-10-22  Juri Linkov  <juri@jurta.org>
8         * isearch-multi.el: New file.
10         * isearch.el (isearch-search-string): After finding the next
11         occurrence switch to buffer isearch-buffers-current-buffer when
12         isearch-buffers-next-buffer-function is non-nil and
13         isearch-buffers-current-buffer is live.
15         * add-log.el (change-log-mode): Make and set buffer-local variable
16         isearch-buffers-next-buffer-function to change-log-next-buffer.
17         Call isearch-buffers-minor-mode.
18         (change-log-next-buffer): New function.
20 2007-10-22  Carsten Dominik  <dominik@science.uva.nl>
22         * org.el (org-read-date-get-relative): New function.
23         (org-agenda-file-regexp): New variable.
24         (org-agenda-files): Allow directories in the variable.
25         (org-agenda-get-restriction-and-command): New function.
26         (org-agenda): Use `org-agenda-get-restriction-and-command'.
27         (org-todo-blocker-hook, org-todo-trigger-hook): New hooks.
28         (org-entry-is-todo-p, org-entry-is-done-p, org-get-todo-state):
29         New functions.
30         (org-entry-add-to-multivalued-property)
31         (org-entry-remove-from-multivalued-property)
32         (org-entry-member-in-multivalued-property): New functions.
33         (org-remember-apply-template): Catch C-g and make sure window
34         configuration is restored.
35         (org-agenda-open-link): Make it work with several links in the line.
36         (org-drawers, org-set-regexps-and-options)
37         (org-get-current-options): Add support for a DRAWERS in-buffer option.
38         (org-agenda-window-frame-fractions): New option.
39         (org-fit-agenda-window): Use `org-agenda-window-frame-fractions'.
40         (org-columns-cleanup-item, org-find-entry-with-id)
41         (org-insert-columns-dblock, org-listtable-to-string)
42         (org-dblock-write:columnview, org-columns-capture-view)
43         (org-edit-headline): New functions.
44         (org-agenda-to-appt): Require calendar.
45         (org-entry-get-with-inheritance): Widen for search.
46         (org-columns-display-here): Don't mark buffer as modified when
47         adding space characters to accomodate column overlays.
48         (org-export-as-html): Better formatting of tags in the toc.
49         (org-columns-display-here): Make the ITEM column as compact as possible.
50         (org-remember-templates): Customization interface improved.
51         (org-export-with-property-drawer): Variable removed.
52         (org-export-with-drawers): New option.
53         (org-complex-heading-regexp): New variable.
54         (org-sort-entries): Rewrite using `sort-subr'.
55         (org-set-property): More appropriate completion during interactive use.
56         (org-sort-entries): Allow sorting by property.
57         (org-additional-option-like-keywords): Add more values.
58         (org-sort-entries-or-items): Rename from `org-sort-entries'.
60 2007-10-22  Carsten Dominik  <dominik@science.uva.nl>
62         * org.el (org-get-date-from-calendar): New function.
63         (org-at-timestamp-p, org-timestamp-change)
64         (org-remember-templates): First element of each entry is now a
65         name for the template.
66         (org-store-log-note): Check for `org-note-abort'.
67         (org-kill-note-or-show-branches): New command.
68         (org-fontify-priorities): New option.
69         (org-fontify-priorities): New function.
70         (org-cut-subtree, org-copy-subtree): New argument N to
71         act on N sequential subtrees.
72         (org-paste-subtree): Fix the level at which a tree is pasted.
73         (org-fit-agenda-window): Limitations on window size removed.
74         (org-agenda-find-same-or-today-or-agenda): Rename from
75         `org-agenda-find-today-or-agenda'.
76         (org-scheduled-past-days): New option.
77         (org-agenda-scheduled-leaders)
78         (org-agenda-deadline-leaders): New options.
79         (org-agenda-get-deadlines): Use `org-agenda-deadline-leaders'.
80         (org-agenda-get-scheduled): Use `org-agenda-scheduled-leaders'.
81         (org-export-with-tags, org-export-plist-vars)
82         (org-infile-export-plist): New "tags" option.
83         (org-use-property-inheritance): New option.
84         (org-cached-entry-get): Use `org-use-property-inheritance'.
85         (org-remember-apply-template): Fix typo.
87 2007-10-22  Michael Albinus  <michael.albinus@gmx.de>
89         * net/tramp.el (tramp-find-shell)
90         (tramp-open-connection-setup-interactive-shell): Improve sending
91         initial commands.
92         (tramp-action-terminal): Send debug message.
93         (tramp-wait-for-shell-prompt, tramp-send-command-internal): Remove.
94         (tramp-barf-if-no-shell-prompt): Insert code of
95         `tramp-wait-for-shell-prompt'.
97 2007-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
99         * term/AT386.el (terminal-init-AT386): Use input-decode-map.
101         * term/vt200.el (terminal-init-vt200):
102         * term/vt201.el (terminal-init-vt201):
103         * term/vt220.el (terminal-init-vt220):
104         * term/vt240.el (terminal-init-vt240):
105         * term/vt300.el (terminal-init-vt300):
106         * term/vt320.el (terminal-init-vt320):
107         * term/vt400.el (terminal-init-vt400):
108         * term/vt420.el (terminal-init-vt420): Use input-decode-map.
110         * term/wyse50.el (wyse50-terminal-map): New var.
111         (terminal-init-wyse50): Use it and input-decode-map.
112         (enable-arrow-keys): Emasculate.
114         * term/tvi970.el (tvi970-terminal-map): New var.
115         (terminal-init-tvi970): Use it and input-decode-map.
116         (tvi970-keypad-numeric): Remove.
117         (tvi970-set-keypad-mode): Use a terminal-parameter rather than var.
119         * term/sun.el (sun-raw-prefix): Fill as part of declaration.
120         (terminal-init-sun): Use it and input-decode-map.
122         * term/news.el (terminal-init-news):
123         * term/lk201.el (terminal-init-lk201):
124         * term/iris-ansi.el (terminal-init-iris-ansi): Use input-decode-map.
126 2007-10-22  Sean O'Rourke  <sorourke@cs.ucsd.edu>
128         * complete.el (PC-expand-many-files): Remove.
129         (PC-do-completion): Call file-expand-wildcards instead of
130         PC-expand-many-files.
132         * net/tramp.el (tramp-handle-expand-many-files): Remove.
133         (PC-expand-many-files): Remove advice.
135 2007-10-22  Glenn Morris  <rgm@gnu.org>
137         * progmodes/f90.el: Remove leading "*" from defcustom doc-strings.
138         Add some support for Fortran 2003 syntax:
139         (f90-type-indent): Now also applies to `enum'.
140         (f90-associate-indent): New user option.
141         (f90-keywords-re, f90-keywords-level-3-re, f90-procedures-re):
142         Add some F2003 keywords.
143         (f90-constants-re): New constant.
144         (f90-font-lock-keywords-1): Add `associate' blocks, and `abstract
145         Interface'.
146         (f90-font-lock-keywords-2): Add `enumerator', `generic', `procedure',
147         `class'.  Arguments for `type'/`class' may have spaces.  Add a new
148         element for functions with specified types.  Add `end enum' and
149         `select type'.  Add `implicit enumerator' and `procedure'.
150         Add `class default' and `type is', `class is'.  Fix `go to' regexp.
151         (f90-font-lock-keywords-3): Add `asynchronous' attribute.
152         (f90-font-lock-keywords-4): Add `f90-constants-re'.
153         (f90-blocks-re): Add `enum' and `associate'.
154         (f90-else-like-re): Add `class is', `type is', and `class default'.
155         (f90-end-type-re): Add `enum'.
156         (f90-end-associate-re, f90-typeis-re): New constants.
157         (f90-end-block-re): Add `enum' and `associate'.  Change from
158         optional whitespace to end-of-word, to avoid `enumerator'.
159         (f90-start-block-re): Add `select type', `abstract interface', and
160         `enum'.  Avoid `type is', and `type (sometype)'.
161         (f90-mode-abbrev-table): Add `enumerator', `protected', and `volatile'.
162         (f90-mode): Doc fix.
163         (f90-looking-at-select-case): Doc fix.  Add `select type'.
164         (f90-looking-at-associate): New function.
165         (f90-looking-at-type-like): Avoid `type is' and `type (sometype)'.
166         Add `enum' and `abstract interface'.
167         (f90-no-block-limit): Add `select type' and `abstract interface'.
168         (f90-get-correct-indent, f90-calculate-indent)
169         (f90-end-of-block, f90-beginning-of-block, f90-next-block)
170         (f90-indent-region, f90-match-end): Handle `associate' blocks.
172 2007-10-22  Martin Rudalics  <rudalics@gmx.at>
174         * progmodes/fortran.el (fortran-mode-map, fortran-window-create):
175         Use window-full-width-p.
177 2007-10-22  Dan Nicolaescu  <dann@ics.uci.edu>
179         * mail/vms-pmail.el (insert-signature): Don't use end-of-buffer.
181         * tooltip.el: Use featurep 'xemacs.
183         * printing.el: Move variable definitions before use, no code change.
185 2007-10-22  Juri Linkov  <juri@jurta.org>
187         * simple.el (goto-history-element): Allow minibuffer-default to be
188         a list of default values accessible by typing M-n in the minibuffer.
190         * dired-x.el (dired-guess-shell-command): Put all guesses to the
191         minibuffer default value list instead of pushing them temporarily
192         to the history list.
194 2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
196         * emacs-lisp/byte-opt.el (byte-optimize-featurep): Fix paren typo.
198 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
200         * w32-fns.el (w32-quote-process-args):
201         * dos-w32.el (print-region-function, lpr-headers-switches)
202         (ps-print-region-function): Pacify byte-compiler.
204         * emulation/edt-mapper.el (function-key-map):
205         (edt-map-key): Make it a function instead of using fset.
206         Inline edt-gnu-map-key and edt-lucid-map-key.  Use featurep 'xemacs.
207         (edt-gnu-map-key, edt-lucid-map-key): Remove.
208         (edt-x-emacs-p): Remove.
209         (edt-emacs-variant, edt-window-system, edt-xserver):
210         Use featurep 'xemacs.
212         * net/eudc.el: Use (featurep 'xemacs) instead of the string test.
213         Replace eudc-xemacs-p with its definition.
214         (eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
215         (eudc-emacs-mule-p): Remove.
216         (eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
217         eudc-xemacs-p with feature tests.
219         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
220         (eudc-bob-url-keymap, eudc-bob-sound-keymap)
221         (eudc-bob-generic-keymap, eudc-bob-popup-menu)
222         (eudc-bob-toggle-inline-display):
223         * net/eudc-hotlist.el (eudc-hotlist-emacs-menu):
224         Replace eudc-emacs-p and eudc-xemacs-p with feature tests.
226         * net/eudcb-ph.el (eudc-ph-open-session):
227         Replace eudc-xemacs-mule-p with its former definition.
229         * progmodes/octave-mod.el (octave-xemacs-p): Remove.
230         (octave-abbrev-start): Replace octave-xemacs-p with (featurep 'xemacs).
232         * progmodes/vera-mode.el (vera-xemacs): Remove.
233         (vera-mode-syntax-table): Replace vera-xemacs with (featurep 'xemacs).
235         * progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
236         (vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
237         (vhdl-speedbar-initialize, vhdl-ps-print-init)
238         (vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
239         (vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
240         with (featurep 'xemacs).
242         * progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
243         (save-buffer-state-x):
244         * obsolete/fast-lock.el (fast-lock-verbose):
245         * emulation/viper-init.el (viper-xemacs-p)
246         (viper-cond-compile-for-xemacs-or-emacs):
247         * emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
248         * ps-print.el (case-fold-search):
249         * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
250         * calculator.el (calculator-help): Use featurep 'xemacs.
252         * progmodes/prolog.el: Undo previous change.
253         (comint-prompt-regexp, comint-process-echoes): Pacify byte-compiler.
255         * progmodes/dcl-mode.el:
256         * play/yow.el:
257         * calendar/todo-mode.el:
258         * calendar/cal-hebrew.el:
259         * vc-hg.el: Undo previous change.
261         * vms-patch.el: Likewise.
262         (print-region-function): Pacify byte-compiler.
264 2007-10-21  Michael Albinus  <michael.albinus@gmx.de>
266         * files.el (backup-buffer-copy): Call `copy-file' with non-nil
267         preserve-uid-gid.
269         * net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
270         compatibility.  It is not used, though.
272         * net/tramp.el (top): Put load of all tramp-* files into a dolist.
273         Require tramp-cmds.el.
274         (tramp-make-tramp-temp-file): We can get rid of DONT-CREATE.
275         (tramp-handle-file-name-all-completions): Expand DIRECTORY.
276          (tramp-do-copy-or-rename-file-directly): Make more rigid checks.
277         (tramp-do-copy-or-rename-file-out-of-band)
278         (tramp-maybe-open-connection): Use `make-temp-name'.  This is
279         possible, because we don't need to create the temporary file, but
280         we need a prefix for ssh, which has its own temporary file handling.
281         (tramp-handle-delete-directory): Add "-f" to rmdir.
282         (tramp-handle-dired-recursive-delete-directory): Call "rm -rf".
283         (tramp-handle-insert-file-contents): Don't raise a tramp-error but
284         a signal, in order to give the callee a chance to suppress.
285         (tramp-handle-write-region): Set owner also in case of short
286         track.  Don't use compatibility calls for `write-region' anymore.
287         (tramp-clear-passwd): Add parameter VEC.  Adapt all callees.
288         (tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'.
290         * net/tramp-cmds.el: New file.
292         * net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to
293         `tramp-clear-passwd'.
295         * net/trampver.el: Update release number.
297 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
299         * progmodes/gud.el (gud-target-name): Move definition before use.
301         * progmodes/dcl-mode.el: Require imenu at compile time.
303         * progmodes/cc-engine.el (c-maybe-stale-found-type):
304         Pacify byte-compiler.
306         * obsolete/fast-lock.el: Use featurep test instead of string-match.
308         * eshell/esh-mode.el (eshell-handle-ansi-color):
309         Require ansi-color at compile time too.
311         * eshell/em-unix.el (eshell/info): Require info at compile time too.
313         * w32-fns.el: Require w32-vars.
315         * diff-mode.el (diff-refine-hunk): Require smerge-mode at compile
316         time too.
318 2007-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
320         * double.el ([ignore]): Use `ignore'.
321         (double-setup): Inline into double-mode.
322         (double-mode): Use define-minor-mode.
324 2007-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
326         * textmodes/reftex.el: Move require easymenu before first use.
327         (reftex-info): Require info at compile too.
329         * textmodes/org-publish.el (org-publish-org-to-html)
330         (org-publish-org-to): Require org at compile time too.
331         (org-publish-attachment): Require at compile time too.
333         * term/tty-colors.el (w32-tty-standard-colors):
334         Pacify byte-compiler.
336         * term/pc-win.el (frame-creation-function-alist): Add to this
337         instead of setting frame-creation-function.
339         * play/blackbox.el (bb-up, bb-down): Use forward-line.
341         * net/rcirc.el (rcirc-markup-text-functions): Move definition earlier.
343         * calendar/todo-mode.el: Require calendar at compile time.
345         * calendar/cal-hebrew.el: Require holidays at compile time.
347         * w32-vars.el: Provide w32-vars.
349         * term/w32-win.el: Require w32-vars.
350         (w32-color-map): Pacify byte-compiler.
352         * loadup.el: Load w32-vars before term/w32-win.
354 2007-10-20  Juri Linkov  <juri@jurta.org>
356         * textmodes/fill.el (fill-paragraph): When the region is active,
357         don't try other `or' branches regardless of the value returned by
358         fill-region; just return t.
360 2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>
362         * vc.el (vc-do-command): Condition out a misleading message when
363         running asynchronously.
364         (vc-deduce-fileset): New argument enables using an unregistered
365         visited file as a singleton fileset if nothing else is available.
366         (vc-next-action): Restore file-registering behavior.
368 2007-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
370         * calc/README: Add recent news.
372 2007-10-20  Dan Nicolaescu  <dann@ics.uci.edu>
374         * term/x-win.el (x-gtk-stock-map, icon-map-list)
375         (x-gtk-map-stock): Delete duplicated definitions from merge.
377         * progmodes/compile.el (compilation-skip-to-next-location)
378         (compilation-skip-threshold, compilation-skip-visited):
379         Move definitions earlier.
381         * play/decipher.el (decipher-keypress):
382         * play/zone.el (zone-fall-through-ws):
383         * play/landmark.el (lm-move-down, lm-move-up):
384         * play/handwrite.el (handwrite):
385         * mail/mspools.el (mspools-visit-spool):
386         * wdired.el (wdired-next-line, wdired-previous-line):
387         * tar-mode.el (tar-subfile-save-buffer):
388         * scroll-lock.el (scroll-lock-next-line)
389         (scroll-lock-previous-line):
390         * image-dired.el (image-dired-next-line)
391         (image-dired-previous-line):
392         * ediff-help.el (ediff-help-message-line-length):
393         Use forward-line.
395         * smerge-mode.el (smerge-auto-refine):
396         * diff-mode.el (diff-auto-refine): Add :group.
398         * play/yow.el: Require doctor at compile time.
400         * vmsproc.el: Provide vmsproc.
401         (command-send-input): Use forward-line.
403         * vms-patch.el: Require ps-print and vmsproc at compile time.
405         * vc-mtn.el (log-view-message-re, log-view-file-re)
406         (log-view-font-lock-keywords): Pacify byte-compiler.
408         * vc-hg.el: Require log-view at compile time.
410 2007-10-20  Eric S. Raymond  <esr@snark.thyrsus.com>
412         * log-view.el (log-view-diff): Adapt log-view-diff for new VC API.
414 2007-10-20  Glenn Morris  <rgm@gnu.org>
416         * progmodes/f90.el (f90-font-lock-keywords-2)
417         (f90-looking-at-type-like): Fix regexp typos.
419 2007-10-19  Juanma Barranquero  <lekktu@gmail.com>
421         * bs.el (bs--track-window-changes): Don't refresh the whole list.
422         (bs-mode): Set mode-class property to special.
424 2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
426         * diff-mode.el (diff-auto-refine): New var.
427         (diff-hunk): Use it.
428         (diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk.
429         (diff-refine-change): Rename from diff-fine-change.  Change it.
430         (diff-refine-preproc): Rename from diff-fine-highlight-preproc.
431         (diff-refine-hunk): Rename from diff-fine-highlight.
433 2007-10-20  John Paul Wallington  <jpw@pobox.com>
435         * help-fns.el (describe-variable-custom-version-info): New function
436         to return variable's version or package version note.
437         (describe-variable): Use it, display result.
439 2007-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
441         * smerge-mode.el (smerge-auto-refine): New var.
442         (smerge-next, smerge-prev): Use it.
443         (smerge-batch-resolve): Ad-hoc trick for Arch's .rej files.
445         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
446         Add `body' arg.  Cleanup the check-narrow-maybe/re-narrow-maybe mess.
448         * vc-bzr.el (vc-bzr-diff-tree):
449         * vc-git.el (vc-git-diff-tree):
450         * vc-hg.el (vc-hg-diff-tree):
451         * vc-mcvs.el (vc-mcvs-diff-tree):
452         * vc-mtn.el (vc-mtn-diff-tree):
453         * vc-svn.el (vc-svn-diff-tree): Remove.
455         * vc-mtn.el (vc-mtn-revision-completion-table):
456         * vc-cvs.el (vc-cvs-revision-completion-table):
457         * vc-arch.el (vc-arch-revision-completion-table):
458         * vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table):
459         * vc-git.el (vc-git-revision-completion-table, vc-git-revision-table):
460         Make it work when the arg is a list of files.
462 2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
464         * vc.el: Remove `diff-tree' operation, now subsumed by `diff'.
465         Also `revision-completion-table' now takes a list of files.
466         (vc-deduce-fileset): Remove unused var `regexp'.
467         Only obey allow-directory-wildcard in dired buffers.
468         (vc-default-diff-tree): Remove.
469         (vc-diff-added-files): New var.
470         (vc-diff-internal): Use it.  Remove arg `backend'.  Update callers.
471         (vc-version-diff): Revert from `vc-history-diff' to the original name.
472         Remove the `backend' arg.
473         (vc-contains-version-controlled-file): Remove.
474         (vc-diff): Bring it closer to the version in Emacs-22.
475         (vc-revert): Fix typo in let-binding.
476         (vc-default-unregister): Remove.
477         (vc-dired-buffers-for-dir): Remove N^2 behavior.
479 2007-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
481         * textmodes/two-column.el (2C-split, 2C-merge):
482         * textmodes/bib-mode.el (bib-find-key, mark-bib):
483         * progmodes/idlw-shell.el (idlwave-shell-move-or-history):
484         * progmodes/etags.el (find-tag-in-order, etags-tags-apropos)
485         * progmodes/ada-xref.el (ada-get-all-references):
486         * obsolete/mlsupport.el (ml-next-line, ml-previous-line):
487         * emulation/vi.el (vi-previous-line-first-nonwhite)
488         (vi-effective-range, vi-put-before):
489         * emulation/edt.el (edt-next-line, edt-previous-line)
490         (edt-paragraph-forward): Use forward-line.
492         * progmodes/etags.el (tags-apropos): Require apropos at compile
493         time too.
495         * progmodes/prolog.el: Require comint when compiling.
496         (inferior-prolog-flavor): Move defvar before use.
498 2007-10-19  Richard Stallman  <rms@gnu.org>
500         * font-core.el (turn-on-font-lock-if-desired):
501         Rename from `turn-on-font-lock-if-enabled'.
502         Fully obey `font-lock-global-modes'.
504 2007-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
506         * diff-mode.el (diff-fine-highlight-preproc): Stick to minimal changes
507         which will not affect the behavior of things like forward-word.
508         (diff-fine-highlight): Preserve point.
510         * doc-view.el (doc-view-mode-map): Use remapping.
511         Don't rebind C-v, M-v to their default value.
512         Don't bind mouse-4 and mouse-5: it's mwheel.el's job.
514         * smerge-mode.el: Add word-granularity refinement.
515         (smerge-refine-forward-function, smerge-refine-ignore-whitespace)
516         (smerge-refine-weight-hack): New vars.
517         (smerge-refine-forward): New fun.
518         (smerge-refine-chopup-region, smerge-refine-highlight-change): Use them.
519         (smerge-refine-subst): Use them as well.  Preserve point.
521 2007-10-19  Juanma Barranquero  <lekktu@gmail.com>
523         * follow.el (follow-unload-function): New function.
525         * loadhist.el (unload-function-features-list):
526         Rename from `unload-hook-features-list'.
527         (unload-hook-features-list): Add as obsolete alias.
528         (unload-feature): Use `unload-function-features-list'
529         and new FEATURE-unload-function.
531 2007-10-19  Glenn Morris  <rgm@gnu.org>
533         * bindings.el (mouse-minor-mode-menu)
534         (minor-mode-menu-from-indicator): Move to mouse.el.
535         * mouse.el (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
536         Move here from bindings.el.
538 2007-10-19  Richard Stallman  <rms@gnu.org>
540         * help-fns.el (describe-function-1): Don't use the advice origname
541         if it has no function definition.
543 2007-10-18  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
545         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion.
546         Use `save-restriction' rather than `widen'.
548 2007-10-18  Richard Stallman  <rms@gnu.org>
550         * time.el (display-time-world-time-format): Display day # not month #.
552 2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>
554         * files.el (auto-mode-alist): Don't use doc-view for PS and EPS.
556         * doc-view.el: Remove version keyword.
557         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
558         (doc-view-ps2pdf-program): Use executable-find.  Simplify custom type.
559         (doc-view-ghostscript-options): Improve custom type.
560         (doc-view-cache-directory, doc-view-conversion-buffer)
561         (doc-view-conversion-refresh-interval): Simplify custom type.
563 2007-10-18  Tassilo Horn  <tassilo@member.fsf.org>
565         * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf)
566         (doc-view-pdf/ps->png-sentinel, doc-view-pdf/ps->png)
567         (doc-view-pdf->txt-sentinel, doc-view-pdf->txt)
568         (doc-view-ps->pdf-sentinel, doc-view-ps->pdf):
569         Remove superfluous messages.
570         (doc-view-mode-map): Use the image-mode scrolling commands.
571         Don't rebind C-x k.
573 2007-10-18  Reiner Steib  <Reiner.Steib@gmx.de>
575         * doc-view.el (doc-view-ghostscript-options, doc-view-ps->pdf):
576         Add comment about "-dSAFER".
578 2007-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
580         * term/xterm.el: Don't require xt-mouse.
581         (terminal-init-xterm): Run terminal-init-xterm-hook rather than
582         calling turn-on-xterm-mouse-tracking-on-terminal directly.
584         * xt-mouse.el: Don't change the global function-key-map anny more.
585         (xterm-mouse-mode): Use terminal-init-xterm-hook.
586         Don't use after-make-frame-functions now that term/xterm.el calls
587         us directly.
588         (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
589         Use turn-*-xterm-mouse-tracking-on-terminal.  Only once per terminal.
590         (turn-on-xterm-mouse-tracking-on-terminal): Make param optional.
591         Setup input-decode-map and remember that xterm-mouse-mode was
592         enabled in this terminal.
593         (turn-off-xterm-mouse-tracking-on-terminal): Only disable on those
594         terminals where it has been enabled.
596         * faces.el (tty-create-frame-with-faces): Make sure not only
597         tty-run-terminal-initialization but also set-locale-environment
598         are run only once per terminal.
599         (tty-run-terminal-initialization): Don't check if the terminal was
600         already initted.
602         * international/encoded-kb.el (encoded-kbd-setup-display): Be careful
603         not to remove keymaps that just happen to inherit from one of ours.
604         When setting up our keymap, make sure it won't be accidentally
605         modified by someone else.
607 2007-10-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
609         * textmodes/artist.el (artist-previous-line, artist-next-line):
610         * dired.el (dired-next-line, dired-previous-line):
611         * progmodes/delphi.el (delphi-newline):
612         * textmodes/org.el (org-columns-eval):
613         Use forward-line.
615         * emerge.el (emerge-setup): Use insert-buffer-substring.
616         (emerge-prepare-error-list, emerge-setup-with-ancestor): Likewise.
618 2007-10-18  Juanma Barranquero  <lekktu@gmail.com>
620         * textmodes/fill.el (fill-individual-paragraphs): Doc fix.
621         (adaptive-fill-function): Doc fix.  Remove * from docstring.
623 2007-10-18  Tom Horsley  <tom.horsley@att.net>
625         * simple.el (interprogram-paste-function): Doc fix.
626         (current-kill): Accept list of strings as well
627         as single string from `interprogram-paste-function'.
629 2007-10-18  Glenn Morris  <rgm@gnu.org>
631         * ibuf-ext.el (ibuffer-saved-filter-groups): Doc fix.
633 2007-10-18  Drew Adams  <drew.adams@oracle.com>
635         * bindings.el (mode-line-minor-mode-keymap):
636         Add mouse-minor-mode-menu on mouse-1.
637         (mode-line-modes): Add mouse-1 to help-echo text.
638         (mouse-minor-mode-menu, minor-mode-menu-from-indicator):
639         New functions.
640         (mode-line-minor-mode-help): Doc fix.
642 2007-10-17  Juri Linkov  <juri@jurta.org>
644         * textmodes/fill.el (fill-paragraph-or-region): Remove function
645         at the request of RMS.
646         (fill-paragraph): Change `arg' to optional `justify'.  Add interactive
647         arg `region'.  Fix docstring.  At the first `or' branch add call to
648         `fill-region' if it the region is active in transient-mark-mode.
650         * bindings.el (esc-map): Bind M-q to fill-paragraph
651         instead of fill-paragraph-or-region.
653         * tutorial.el (tutorial--default-keys): Replace fill-paragraph-or-region
654         with fill-paragraph.
656         * textmodes/ispell.el (ispell-word): Add interactive arg `region'.
657         Fix docstring.
659         * indent.el (indent-for-tab-command): Change interactive spec from
660         "P" to "p".  Add check for interactive arg before indenting the
661         active region.
663         * files.el (auto-mode-alist): Add \\. before PDF/PS/DVI extensions.
664         Regroup.
666 2007-10-17  Juanma Barranquero  <lekktu@gmail.com>
668         * emacs-lisp/find-func.el: Don't require loadhist.
670         * loadhist.el (feature-symbols, file-provides, file-requires)
671         (file-set-intersect, file-dependents): Simplify.
672         (unload-feature-special-hooks): Update list of special hooks.
674 2007-10-17  Tassilo Horn  <tassilo@member.fsf.org>
676         * bindings.el (completion-ignored-extensions): Remove pdf and dvi
677         extensions since they can be viewed with doc-view.
679         * files.el (auto-mode-alist): Make doc-view-mode the default mode
680         for pdf, ps and dvi files.
682         * doc-view.el: Make doc-view-mode the standard mode for viewing
683         pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
684         text and image display.  Add binding C-c C-e to switch to an
685         editing mode.
686         (doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
687         avoid security problems when rendering files from untrusted sources.
689 2007-10-17  Aaron Hawley  <aaronh@garden.org>
691         * tutorial.el (tutorial--save-tutorial): Display message when tutorial
692         position is not saved.
694 2007-10-17  Reiner Steib  <Reiner.Steib@gmx.de>
696         * doc-view.el: Mention xpdf.  Fix spelling of Ghostscript.
697         (doc-view-ghostscript-options): Fix typo in doc string.
699 2007-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
701         * progmodes/compile.el (compilation-next-error-function): Fix timestamp
702         handling, so compilation-fake-loc works again.
704         * server.el (server-select-display): Nop if we do not support m-f-o-d.
705         (server-process-filter): Revert last change.
707         * vc.el (vc-diff-sentinel, vc-diff-internal): Revert some change in the
708         behavior unrelated to filesets.
710 2007-10-17  Chong Yidong  <cyd@stupidchicken.com>
712         * longlines.el (longlines-wrap-follows-window-size): Integer value
713         specifies wrapping margin.
714         (longlines-mode, longlines-window-change-function):
715         Set window-specific wrapping margin based on the above.
717 2007-10-17  John Wiegley  <johnw@newartisans.com>
719         * eshell/esh-cmd.el (eshell-complex-commands): Add "ls".
721 2007-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
723         * server.el (server-process-filter): Only set display if X11 is
724         supported.
726 2007-10-17  Glenn Morris  <rgm@gnu.org>
728         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression):
729         Tweak regexp to avoid stack overflow.
731 2007-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
733         * simple.el (reindent-then-newline-and-indent): Don't assume that
734         indent-according-to-mode preserves point.
736 2007-10-16  Juanma Barranquero  <lekktu@gmail.com>
738         * bs.el (bs--make-header-match-string, bs-show-in-buffer)
739         (bs--nth-wrapper): Simplify.
740         (bs-select, bs--insert-one-entry): Simplify.  Use `when'.
741         (bs-buffer-list): Simplify.  Use `when'.  Use `string-match-p'.
742         (bs-sort-buffer-interns-are-last): Use `string-match-p'.
743         (bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp)
744         (bs-maximal-buffer-name-column, bs-minimal-buffer-name-column)
745         (bs-configurations, bs-default-configuration)
746         (bs-alternative-configuration, bs-cycle-configuration-name)
747         (bs-string-show-always, bs-string-show-never, bs-string-current)
748         (bs-string-current-marked, bs-string-marked, bs-string-show-normally)
749         (bs-sort-functions, bs-default-sort-name): Remove * in docstrings.
750         (bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete)
751         (bs-apply-sort-faces, bs-next-config-aux): Use `when'.
752         (bs--window-config-coming-from): Revert 2006-11-09 change.
753         (bs--restore-window-config): Keep the selected frame.
754         (bs--track-window-changes, bs--remove-hooks): New functions.
755         (bs-mode): Use `define-derived-mode'.  Set hook to track window changes.
756         (bs--create-header): Remove.
757         (bs--create-header-line): New function, based on `bs--create-header'.
758         (bs--show-header): Use `bs--create-header-line'.
759         (bs--show-with-configuration): Revert 2006-11-09 change.
760         Don't reuse window unless it is visible on the selected frame.
761         Restore window configuration (possibly in a different frame)
762         before creating any window.
764 2007-10-16  Glenn Morris  <rgm@gnu.org>
766         * simple.el (blink-matching-open): Don't report false errors with
767         the `$' syntax class.
769 2007-10-16  Richard Stallman  <rms@gnu.org>
771         * emacs-lisp/advice.el (ad-get-advice-info): Change to a function.
772         (ad-get-advice-info-macro): New macro, like old ad-get-advice-info.
773         (ad-is-advised, ad-get-advice-info-field)
774         (ad-set-advice-info-field): Use ad-get-advice-info-macro.
776 2007-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
778         * vc-hooks.el (vc-workfile-version): Compatibility alias.
779         (vc-default-working-revision): Compatibility for backends.
781 2007-10-15  Juanma Barranquero  <lekktu@gmail.com>
783         * filesets.el (filesets-alist-get): Use `let' rather than `let*'.
784         (filesets-ormap, filesets-sort-case-sensitive-flag)
785         (filesets-remake-shortcut, filesets-ingroup-collect-files):
786         Fix typos in docstrings.
787         (filesets-conditional-sort, filesets-find-or-display-file)
788         (filesets-data-get-name, filesets-data-get-data)
789         (filesets-data-set, filesets-cmd-query-replace-getargs)
790         (filesets-ingroup-collect): Doc fixes.
792 2007-10-15  Sam Steingold  <sds@gnu.org>
794         * mail/sendmail.el (sendmail-error-reporting-interactive)
795         (sendmail-error-reporting-non-interactive): New variables for
796         sendmail error reporting options to simplify support for imperfect
797         sendmail emulators.
798         (sendmail-send-it): Use them instead of list literals.
800 2007-10-15  Juanma Barranquero  <lekktu@gmail.com>
802         * help-fns.el: Revert previous change; it creates a
803         dependency loop between advice.el and help-fns.el.
805 2007-10-15  Juanma Barranquero  <lekktu@gmail.com>
807         * help-fns.el: Require advice when compiling.
809 2007-10-14  Drew Adams  <drew.adams@oracle.com>
811         * emacs-lisp/ring.el (ring-convert-sequence-to-ring)
812         (ring-insert+extend, ring-remove+insert+extend, ring-member)
813         (ring-next, ring-previous): New functions.
815 2007-10-14  Richard Stallman  <rms@gnu.org>
817         * emacs-lisp/advice.el (documentation): Advice deleted.
818         Doc for advised functions is now handled at C level.
819         (ad-stop-advice, ad-start-advice): Don't enable or disable
820         advice for `documentation'.
821         (ad-advised-definition-docstring-regexp): Var deleted.
822         (ad-make-advised-definition-docstring): Store orig name
823         as text property of string.
824         (ad-advised-definition-p): Check for text property of docstring.
826         * help-fns.el (describe-function-1): Find source of advised functions.
828 2007-10-14  Juri Linkov  <juri@jurta.org>
830         * faces.el (describe-face): Allow handling a string as the face name.
832         * textmodes/ispell.el (ispell-word): Call `ispell-region' on the
833         active region in transient-mark-mode.
834         (ispell-region): Change messages displayed at the start and end of
835         the spell-checking to be the same.
837         * startup.el (fancy-startup-tail): Say exactly what does the button
838         dismiss ("Dismiss this startup screen").  Use text "Never show
839         it again" for the checkbox after this button.
840         (fancy-startup-screen, fancy-about-screen): Put point before the
841         first link, so the user can quickly select links with the keyboard.
842         (normal-mouse-startup-screen): Add more useful text describing how
843         to follow a link.
845 2007-10-14  Glenn Morris  <rgm@gnu.org>
847         * progmodes/etags.el (select-tags-table): Disable undo in the
848         `*Tags Table List*' buffer.
850 2007-10-13  Eli Zaretskii  <eliz@gnu.org>
852         * dired.el (dired-warn-writable): New face.
853         (dired-warn-writable-face): New variable.
854         (dired-font-lock-keywords): Use dired-warn-writable-face, instead
855         of dired-warning-face, for group- and world-writable files.
857 2007-10-13  Richard Stallman  <rms@gnu.org>
859         * files.el (directory-abbrev-alist): Doc fix.
861 2007-10-13  Jari Aalto  <jari.aalto@cante.net>
863         * comint.el (comint-password-prompt-regexp): Add 'LDAP'.
865 2007-10-12  Martin Rudalics  <rudalics@gmx.at>
867         * frame.el (set-frame-configuration): Assign name parameter only
868         if it has been set explicitly before.
870 2007-10-11  Tom Tromey  <tromey@redhat.com>
872         * progmodes/gdb-ui.el (gdb-info-stack-custom): Ensure current
873         frame is visible.
875 2007-10-10  Richard Stallman  <rms@gnu.org>
877         * emacs-lisp/debug.el (debugger-setup-buffer): Disable undo
878         in *Backtrace*.
880         * faces.el (face-font-selection-order): Doc fix.
882         * loadhist.el (unload-feature): Doc fix.
884 2007-10-13  Glenn Morris  <rgm@gnu.org>
886         * progmodes/octave-mod.el (octave-looking-at-kw): Add doc string.
887         (octave-re-search-forward-kw, octave-re-search-backward-kw):
888         Add doc string, and an explicit COUNT argument.
889         (octave-scan-blocks, octave-beginning-of-defun): Explicitly pass
890         `inc' to search functions.
892         * faces.el (face-spec-set): When FRAME is nil, set the default for
893         new frames (restores pre-2007-09-17 behavior).  Doc fix.
895 2007-10-13  John W. Eaton  <jwe@octave.org>
897         * progmodes/octave-mod.el (octave-looking-at-kw)
898         (octave-re-search-forward-kw, octave-re-search-backward-kw):
899         New functions.
900         (octave-in-defun-p, calculate-octave-indent)
901         (octave-blink-matching-block-open, octave-beginning-of-defun)
902         (octave-auto-fill): Use octave-looking-at-kw instead of looking-at,
903         to search for regexps that contain case-sensitive keywords.
904         (octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw.
905         (octave-scan-blocks): Likewise, for octave-re-search-forward-kw.
907 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
909         * frame.el (select-frame-set-input-focus): Fix typo "max" -> "mac".
910         Do not use a single clause cond.
912         * cus-start.el (all): Use test that does not match the X11 version
913         for mac.
915 2007-10-13  Markus Gritsch  <m.gritsch@gmail.com>  (tiny change)
917         * progmodes/ebrowse.el (ebrowse-tree-mode): Disable undo in the
918         BROWSE buffer.
920 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
922         * cus-start.el (all): Undo previous change.
924 2007-10-13  Glenn Morris  <rgm@gnu.org>
926         * woman.el (woman0-rename): Fix paren typo.
928         * mail/feedmail.el (feedmail-run-the-queue)
929         (feedmail-look-at-queue-directory):
930         * mail/reporter.el (reporter-dump-state):
931         * net/eudc-hotlist.el (eudc-edit-hotlist):
932         * net/eudc.el (eudc-display-records)
933         (eudc-filter-duplicate-attributes)
934         (eudc-distribute-field-on-records, eudc-query-form, eudc-process-form):
935         * net/eudcb-bbdb.el (eudc-bbdb-filter-non-matching-record)
936         (eudc-bbdb-query-internal):
937         * net/eudcb-ldap.el (eudc-ldap-simple-query-internal):
938         * net/socks.el (socks-build-auth-list):
939         * progmodes/cc-cmds.el (top level):
940         * progmodes/cc-styles.el (c-make-styles-buffer-local, c-set-style):
941         * progmodes/cperl-mode.el (top level, cperl-imenu-addback)
942         (cperl-write-tags, cperl-tags-treeify):
943         * progmodes/ebnf-yac.el (ebnf-yac-token-table):
944         * progmodes/ebnf2ps.el (ebnf-map-name, ebnf-dimensions):
945         * progmodes/idlw-shell.el (idlwave-shell-filter-bp, top level):
946         * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere)
947         (idlwave-toolbar-remove-everywhere):
948         * progmodes/idlwave.el (idlwave-indent-line)
949         (idlwave-sintern-keyword-list, idlwave-scan-user-lib-files)
950         (idlwave-write-paths, idlwave-all-method-classes)
951         (idlwave-all-method-keyword-classes, idlwave-entry-keywords)
952         (idlwave-fix-keywords, idlwave-display-calling-sequence)
953         (idlwave-complete-in-buffer):
954         * textmodes/org.el (org-export-as-html, org-export-as-ascii)
955         (org-fast-tag-selection):
956         * textmodes/reftex-sel.el (reftex-select-item): Use mapc rather
957         than mapcar.
959 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
961         * diff-mode.el (diff-fine-change): Add :group.
963 2007-10-12  Dan Nicolaescu  <dann@ics.uci.edu>
965         * cus-start.el (all): Use the same test as the 22.2 branch.
967 2007-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
969         * diff-mode.el (diff-current-defun): Force recomputation of
970         change-log-default-name.
972 2007-10-12  Chong Yidong  <cyd@stupidchicken.com>
974         * startup.el (fancy-startup-screen): Remove an unnecessary newline
975         and some leftover logic regarding dedicated frames.  If showing
976         concise startup screen, fit window to buffer.
977         (command-line-1): If we will be using the splash screen, use
978         find-file instead of find-file-other-window to find additional files.
979         Comment out unused code for coping with the old sit-for behavior.
981 2007-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
983         * term/xterm.el (xterm-function-map, xterm-alternatives-map): Use the
984         `meta' modifier consistently, rather than using sometimes meta
985         sometimes alt.
987 2007-10-12  Martin Rudalics  <rudalics@gmx.at>
989         * window.el (handle-select-window): Revert part of 2007-10-08
990         change setting the input focus.
992 2007-10-12  Glenn Morris  <rgm@gnu.org>
994         * startup.el (command-line): Do not read abbrev file in batch mode.
996         * emacs-lisp/byte-opt.el (top level):
997         * mail/rmail.el (rmail-list-to-menu):
998         * obsolete/hilit19.el (hilit-mode):
999         * progmodes/cc-mode.el (c-postprocess-file-styles)
1000         (c-submit-bug-report):
1001         * textmodes/org-publish.el (org-publish-get-plist-from-filename):
1002         * textmodes/reftex.el (reftex-erase-all-selection-and-index-buffers)
1003         (reftex-access-parse-file):
1004         * textmodes/reftex-cite.el (reftex-do-citation)
1005         (reftex-insert-bib-matches):
1006         * textmodes/reftex-ref.el (reftex-offer-label-menu):
1007         * textmodes/reftex-sel.el (reftex-select-unmark):
1008         * textmodes/reftex-toc.el (reftex-toc-do-promote):
1009         * vc-mcvs.el (vc-mcvs-checkin): Use mapc rather than mapcar.
1011         * cus-edit.el (custom-variable-menu, custom-face-menu)
1012         (custom-group-menu): Check init-file-user rather than
1013         user-init-file, in case cus-edit is loaded by site-run-file.
1015 2007-10-11  Dan Nicolaescu  <dann@ics.uci.edu>
1017         * vc.el (vc-deduce-fileset): Delete unused code.
1018         (vc-next-action): Fix typos.
1020 2007-10-11  Juanma Barranquero  <lekktu@gmail.com>
1022         * bs.el (bs--mark-unmark): New function.
1023         (bs-mark-current, bs-unmark-current): Use it.
1025 2007-10-11  Eric S. Raymond  <esr@snark.thyrsus.com>
1027         * vc.el (vc-diff):
1028         (vc-diff-internal): Merge a patch by Juanma Barranquero.  Also,
1029         temporarily disable the check for his edge case of
1030         vc-diff (stopping it from grinding when called from $HOME), as
1031         it's calling some brittle code in vc-hooks.el.
1032         (with-vc-properties): Fix evaluation time of a macro argument.
1033         * ediff-vers.el (ediff-vc-internal):
1034         * vc-hooks.el:
1035         * loaddefs.el: Follow up on VC terminology change.
1037 2007-10-11  Juanma Barranquero  <lekktu@gmail.com>
1039         * follow.el (follow-stop-intercept-process-output):
1040         Use `follow-call-process-filter' rather than `process-filter'.
1041         Simplify.
1042         * vc.el (vc0iff): Prevent errors in an edge case.
1044 2007-10-11  Eric S. Raymond  <esr@snark.thyrsus.com>
1046         * vc-hooks.el (vc-registered): Robustify this function a bit
1047         against filenames with no directory component.
1049 2007-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1051         * international/characters.el: Undo unwanted and unexplained change.
1053 2007-10-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1055         * ps-print.el: Fix the usage of :foreground and :background face
1056         attributes.  Reported by Nikolaj Schumacher <n_schumacher@web.de>.
1057         (ps-print-version): New version 6.7.6.
1058         (ps-face-attributes, ps-face-attribute-list, ps-face-background):
1059         Fix code.
1060         (ps-face-foreground-color-p, ps-face-background-color-p)
1061         (ps-face-color-p): New inline funs.
1063 2007-10-10  Carsten Dominik  <dominik@science.uva.nl>
1065         * org.el (org-additional-option-like-keywords): New constant.
1066         (org-complete): Use `org-additional-option-like-keywords'.
1067         (org-parse-local-options): New function.
1069 2007-10-10  Carsten Dominik  <dominik@science.uva.nl>
1071         * org.el (org-in-clocktable-p): New function.
1072         (org-clock-report): Only update the table at point, or insert a
1073         new one.
1074         (org-clock-goto): New function.
1075         (org-open-file): Use `start-process-shell-command' instead of
1076         `shell-command' with an ampersand.
1077         (org-deadline, org-schedule): New argument REMOVE to remove the
1078         date from the entry.
1079         (org-agenda-schedule, org-agenda-deadline): Pass the prefix
1080         argument to `org-schedule' and `org-deadline'.
1081         (org-trim): Use the correct expressions for beginning and end of
1082         the string.
1083         (org-get-cleaned-entry): Trim the string before returning it.
1084         (org-clock-find-position): New function.
1085         (org-clock-into-drawer): New option.
1086         (org-agenda-tags-column): Rename from
1087         `org-agenda-align-tags-to-column'.
1088         (org-agenda-align-tags): Allow negative values for
1089         `org-agenda-tags-column'.
1090         (org-insert-labeled-timestamps-before-properties-drawer): Remove var.
1091         (org-agenda-to-appt): New optional argument FILTER.
1092         (org-completion-fallback-command): New variable.
1093         (org-complete): Use `org-completion-fallback-command'.
1094         (org-find-base-buffer-visiting): Catch the case that there is no
1095         buffer visiting the file.
1096         (org-property-or-variable-value): New function.
1097         (org-todo): Use `org-property-or-variable-value'
1098         (org-agenda-compact-blocks): New option.
1099         (org-prepare-agenda, org-agenda-list): Use `org-agenda-compact-blocks'.
1100         (org-agenda-schedule, org-agenda-deadline):
1101         Call `org-agenda-show-new-time'.
1102         (org-agenda-show-new-time): New argument PREFIX.
1103         (org-colgroup-info-to-vline-list): Fix but that cause a
1104         shift in the vertical lines.
1105         (org-buffer-property-keys): New argument INCLUDE-DEFAULTS.
1106         (org-maybe-renumber-ordered-list, org-cycle-list-bullet)
1107         (org-indent-item): No arg in call to `org-fix-bullet-type'.
1108         (org-fix-bullet-type): Remove argument.
1109         (org-read-date): Check for am/pm twice, to catch the end time.
1110         (org-goto-map): Use `suppress-keymap'.
1111         (org-remember-apply-template): Respect the dynamically scoped
1112         selection character.
1114         * org.texi (Appointment reminders): New section.
1116 2007-10-10  Bastien Guerry  <Bastien.Guerry@ens.fr>
1118         * org-export-latex.el (org-export-latex-protect-string):
1119         Renaming of `org-latex-protect'.
1120         (org-export-latex-emphasis-alist): By default, don't protect
1121         any emphasis formatter from further conversion.
1122         (org-export-latex-tables): Honor column grouping for tables.
1123         (org-export-latex-title-command): New option.
1124         (org-export-latex-treat-backslash-char): Use \textbackslash{} to
1125         export backslash character.
1127 2007-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1129         * frame.el (frame-inherited-parameters): Remove unused `environment'
1130         parameter, and let server.el add `client' when needed.
1132         * server.el (server-create-tty-frame)
1133         (server-create-window-system-frame): Set frame-inherited-parameters.
1135         * frame.el (frame-inherited-parameters): New var.
1136         (make-frame): Use it.
1138         * font-lock.el (lisp-font-lock-keywords-2): Remove let-environment.
1140         * env.el (let-environment): Remove.  Unused.
1141         (read-envvar-name): Simplify.
1142         (setenv): Remove unused arg `frame'.
1144         * help-fns.el (describe-variable): Add missing "  " for multiline
1145         obsolescence info and missing EOL after global value.
1147 2007-10-10  Eric S. Raymond  <esr@snark.thyrsus.com>
1149         * add-log.el:
1150         * ediff-vers.el:
1151         * log-view.el:
1152         * pcvs.el:
1153         * vc-arch.el:
1154         * vc-bzr.el:
1155         * vc-cvs.el:
1156         * vc.el:
1157         * vc-git.el:
1158         * vc-hg.el:
1159         * vc-hooks.el:
1160         * vc-mcvs.el:
1161         * vc-mtn.el:
1162         * vc-rcs.el:
1163         * vc-sccs.el:
1164         * vc-svn.el: Terminology cleanup: workfile-version -> working-revision,
1165         {find,init,next,previous,annotate-*,log}-version ->
1166         {find,init,next,previous,annotate-*,log}-revision,
1167         annotate-focus-version -> annotate-working-revision, The term
1168         'focus' is gone.  The term 'revision' is now used consistently
1169         everywhere that reference to a revision ID is intended, replacing
1170         older use of 'version'.
1172 2007-10-10  Juanma Barranquero  <lekktu@gmail.com>
1174         * follow.el: Change all instances of "Follow Mode" to "Follow
1175         mode" in docstrings and messages.
1176         (follow-menu-filter): Fix arg passed to `bound-and-true-p'.
1178 2007-10-10  Eric S. Raymond  <esr@snark.thyrsus.com>
1180         * vc.el (vc-next-action): Rewrite completely; this principal
1181         entry point now operates on a current fileset selected either
1182         explicitly via VC-Dired or implicitly by visiting a file buffer,
1183         rather than always operating on the file of the current buffer as
1184         in older versions.  Rewrite the rest of the mode to match.
1185         (with-vc-properties): Rewrite to operate on a file list.
1186         (with-vc-file): vc-checkin takes a file list argument now.
1187         (vc-post-command-functions): This hook now receives a file list.
1188         (vc-do-command): Take a either a file or a file list as argument.
1189         (vc-deduce-fileset): New function for deducing a file list to
1190         operate on.
1191         (vc-next-action-on-file, vc-next-action-dired): Remove.
1192         Merge into vc-next-action.
1193         (vc-register): Adapt to the fact that vc-start-entry now takes a
1194         file list.
1195         (vc-register-with): New function.
1196         (vc-start-entry): Take a file list argument rather than a
1197         file argument.
1198         (vc-checkout): Cope with vc-start-entry taking a file list.
1199         (vc-steal-lock): Cope with with-vc-properties taking a
1200         file list.
1201         (vc-checkin): Take a file list argument rather than a file argument.
1202         (vc-finish-logentry): Use the filelist passed by vc-start-entry.
1203         (vc-diff-internal): Rewrite for filesets.
1204         (vc-diff-sentinel): New function, tests whether changes were
1205         written into a diff buffer.
1206         (vc-diff): Rewrite for filesets.
1207         (vc-version-diff): Rewrite for filesets.
1208         (vc-print-log): Take a fileset argument.
1209         (vc-revert): Revert the entire selected fileset, not just the
1210         current buffer.
1211         (vc-rollback): Roll back the entire selected fileset, if
1212         possible.  No longer accepts a prefix argument.
1213         (vc-update): Merge new changes for the entire selected
1214         fileset, not just the current buffer.
1215         (vc-revert-file): Cope with with-vc-properties taking a file list.
1216         (vc-default-dired-state-info): Add + status suffix if the file is
1217         modified.
1218         (vc-annotate-warp-version): Use the new diff machinery.
1219         (vc-log-edit): Take a file list argument rather than a file argument.
1221 2007-10-10  Michael Albinus  <michael.albinus@gmx.de>
1223         Sync with Tramp 2.1.11.
1225         * net/tramp.el (tramp-open-connection-setup-interactive-shell):
1226         Pacify byte compiler.
1228         * net/trampver.el: Update release number.
1230 2007-10-09  Richard Stallman  <rms@gnu.org>
1232         * play/gamegrid.el (gamegrid-setup-default-font): Use face-spec-set.
1234 2007-10-09  Juanma Barranquero  <lekktu@gmail.com>
1236         * follow.el: Require easymenu.
1237         (follow-mode-hook, follow-mode): Doc fixes.
1238         (follow-mode-off-hook): Mark as obsolete.
1240 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
1242         * window.el (mouse-autoselect-window-cancel): Don't cancel for
1243         select-window or select-frame events.
1244         (handle-select-window): When autoselecting window set input
1245         focus.  Restructure.
1247         * frame.el (focus-follows-mouse): Move to frame.c.
1248         * cus-start.el (all): Add focus-follows-mouse.
1250 2007-10-08  Juanma Barranquero  <lekktu@gmail.com>
1252         * bs.el (bs-mode): Make sure global-font-lock-mode doesn't
1253         activate font-locking in the *buffer-selection* buffer.
1254         (bs-show-sorted): Doc fix.
1256         * bs.el (bs--get-marked-string, bs--get-modified-string)
1257         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1258         (bs--get-mode-name, bs-mode): Fix typos in docstrings.
1259         (bs--format-aux): Doc fix.
1261 2007-10-08  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
1263         * progmodes/gud.el (gud-gud-gdb-command-name): Fix typo in docstring.
1265 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
1267         * progmodes/gud.el (gud-gud-gdb-command-name): New option.
1268         (gud-gdb): New function for old M-x gdb (text command mode).
1269         (gud-gdb-command-name, gdb): Move to...
1271         * progmodes/gdb-ui.el: ...here and adapt doc string.
1272         (gud-gdba-command-name, gdba): Delete.
1274 2007-10-08  Juanma Barranquero  <lekktu@gmail.com>
1276         * bs.el: Don't defvar `font-lock-verbose'.
1277         (bs-config-clear, bs-kill, bs-string-show-normally, bs-sort-functions)
1278         (bs--get-file-name): Fix typos in docstrings.
1279         (bs--show-header): Use `dolist' instead of `mapcar'.
1280         (bs-mode): Set `show-trailing-whitespace' to nil.
1281         (bs-buffer-sort-function, bs-mouse-select-other-frame)
1282         (bs-visits-non-file, bs-sort-buffer-interns-are-last, bs-show):
1283         Doc fixes.
1285 2007-10-08  Adam Hupp  <adam@hupp.org>  (tiny change)
1287         * progmodes/gdb-ui.el (pdb): Specify file for gud-break.
1289 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
1291         * progmodes/gud.el (gdb): Make graphical mode the default and
1292         switch to text command mode if appropriate, i.e., reverse previous
1293         arrangement.
1294         (gud-gdb-marker-filter): Adapt for above change.
1296         * progmodes/gdb-ui.el (gdb-init-1): Don't set the values
1297         gud-minor-mode and gud-marker-filter.
1298         (gdb-fullname-regexp): New variable.
1299         (gud-gdba-marker-filter): Use it to switch to text command
1300         mode if appropriate.
1302 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
1304         * progmodes/gud.el (gud-display-line): Find source buffer even when
1305         GUD buffer has its own frame.
1307 2007-10-08  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
1309         * term/x-win.el (icon-map-list): Set to nil for 22.1 compatibility.
1311 2007-10-08  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
1313         * term/x-win.el (x-gtk-stock-map): Version is 22.2.
1315 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
1317         * allout.el (allout-before-change-handler): Replace got-char by
1318         goto-char.
1320 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1322         * vc-svn.el (vc-svn-resolve-when-done, vc-svn-find-file-hook): New funs.
1323         Used to try and automatically enabled smerge-mode in the presence of
1324         conflicts and to call `svn resolved' when the conflicts are gone.
1325         (vc-svn-parse-status): Remember the svn-specific status.
1327 2007-10-08  Eli Zaretskii  <eliz@gnu.org>
1329         * menu-bar.el (menu-bar-search-documentation-menu): Rename from
1330         menu-bar-apropos-menu.  All users changed.
1331         (menu-bar-help-menu): Change menu symbols to better match the text
1332         displayed by the menu.
1334 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1336         * files.el (file-name-sans-versions): Use [:alnum:] and also allow
1337         #, @, : and ^.
1339 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1341         * pcvs-defs.el (cvs-mode-map): Bind TAB and backtab.
1343         * log-view.el (log-view-mode-map): Likewise.
1345         * diff-mode.el (diff-mode-shared-map): Likewise.
1347 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1349         * files.el (file-name-sans-versions): Also allow `A-Z'.
1351         * vc.el: Mention all supported VC backends.
1353 2007-10-08  Richard Stallman  <rms@gnu.org>
1355         * wid-edit.el (widget-specify-button): Don't merge mouse-face with
1356         neighbouring buttons.
1358 2007-10-08  Andreas Schwab  <schwab@suse.de>
1360         * files.el (file-name-sans-versions): Also allow `_'.
1362 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1364         * files.el (file-name-sans-versions): Allow - and a-z in version names.
1366         * log-view.el (log-view-mode-map, log-view-mode-menu):
1367         Bind log-view-annotate-version.
1368         (log-view-beginning-of-defun, log-view-end-of-defun)
1369         (log-view-annotate-version): New functions.
1370         (log-view-mode): Use log-view-beginning-of-defun and
1371         log-view-end-of-defun.
1373 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1375         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix staging.
1377 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1379         * wid-edit.el (widget-image-insert): Don't merge mouse-face with
1380         neighbouring buttons.
1382         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1383         Recognize gcc's use of "note" for informational messages.
1385 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1387         * textmodes/css-mode.el (css-electric-keys): electrick->electric.
1388         (css-mode): Update correspondingly.
1390 2007-10-08  Dan Nicolaescu  <dann@ics.uci.edu>
1392         * vc-git.el (vc-git-log-view-mode): Add font-lock patterns for
1393         Signed-off-by, Acked-by and Merge.
1395 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1397         * ediff-init.el (ediff-verbose-p): This var is not a constant.
1399 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1401         * vc-mtn.el: New file.
1403         * vc-hooks.el (vc-handled-backends): Add Mtn.
1405 2007-10-08  Eli Zaretskii  <eliz@gnu.org>
1407         * files.el (find-file, find-file-other-window)
1408         (find-file-other-frame, find-file-existing, find-file-read-only)
1409         (find-file-read-only-other-window)
1410         (find-file-read-only-other-frame)
1411         (find-alternate-file-other-window, find-alternate-file): Doc fixes.
1413 2007-10-08  Nick Roberts  <nickrob@snap.net.nz>
1415         * progmodes/gud.el (gdb-ready): New variable.
1416         (gdb): Set it to nil.  Set gud-running to nil here...
1417         (gud-common-init): ...instead of here.
1419         * progmodes/gdb-ui.el (gdba, gdb-send, gdb-source-info):
1420         Use gdb-ready.  Discard input until GDB is ready to accept it.
1422 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
1424         * dired.el (dired-warning): Inherit from font-lock-warning-face to
1425         make it show up with eight colors.
1427 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1429         * diff-mode.el (diff-sanity-check-hunk): Fix up the case when unified
1430         diffs are concatenated with no intervening line.
1432 2007-10-08  Dave Love  <fx@gnu.org>
1434         * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
1435         (python-font-lock-keywords): Update to the 2.5 version of the language.
1436         (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
1437         (python-backspace): Only behave funny in code.
1438         (python-compilation-regexp-alist): Add PDB stack trace regexp.
1439         (inferior-python-mode): Add PDB prompt regexp.
1440         (python-fill-paragraph): Refine the fenced-string regexp.
1441         (python-find-imports): Handle imports spanning several lines.
1442         (python-mode): Add `class' to hideshow support.
1444 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1446         * pcvs.el (cvs-mode-add-change-log-entry-other-window):
1447         Use add-log-buffer-file-name-function rather than binding
1448         buffer-file-name, so we don't end up calling change-log-mode in *cvs*
1449         when `fi' is the ChangeLog file itself.
1451         * outline.el (outline-flag-region): Use front-advance.
1453 2007-10-08  Ilya Zakharevich  <ilyaz@cpan.org>
1455         * progmodes/cperl-mode.el: Merge upstream 5.23.
1456         (cperl-where-am-i): Remove function.
1457         (cperl-backward-to-noncomment): Don't go too far when skipping POD/HEREs
1458         (cperl-sniff-for-indent): De-invert [string] and [comment].
1459         When looking for label, skip s:m:y:tr.
1460         (cperl-indent-line): Likewise.
1461         (cperl-mode): Don't assume `font-lock-multiline' is auto-local.
1462         (cperl-windowed-init): Wrong `ps-print' handling.
1463         Both thanks to Chong Yidong.
1464         (cperl-look-at-leading-count): Could fail with unfinished RExen.
1465         (cperl-find-pods-heres): If the second part of s()[] is missing,
1466         don't try to highlight delimiters...
1468 2007-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1470         * progmodes/compile.el (compilation-get-file-structure): Complete last
1471         change by also using spec-directory in the puthash.
1473 2007-10-08  Riccardo Murri  <riccardo.murri@gmail.com>
1475         * vc-bzr.el (vc-bzr-file-name-relative): Use 'when' instead of 'and'.
1476         (vc-bzr-status): Fix shadowing of variable 'status'.
1477         (vc-bzr-workfile-version): Use correct path to 'last-revision' file.
1478         Use `expand-file-name' instead of `concat'.
1479         (vc-bzr-annotate-command): Use option name '--long' instead of '-l'.
1480         Update annotation line regexp.  Fixes launchpad.net [Bug 137435].
1482 2007-10-08  Jason Rumney  <jasonr@gnu.org>
1484         * frame.el (focus-follows-mouse): Doc-fix. Change default on w32.
1486 2007-10-08  Richard Stallman  <rms@gnu.org>
1488         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Make defcustom.
1489         Add `safe-local-variable' property.
1490         (lisp-body-indent): Likewise.
1492 2007-10-08  Richard Stallman  <rms@gnu.org>
1494         * files.el (hack-local-variables-confirm): Rename arg VARS to ALL-VARS.
1495         Add doc string.
1497 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
1499         * files.el (backup-buffer-copy): Try to overwrite old backup first.
1501 2007-10-08  Martin Rudalics  <rudalics@gmx.at>
1503         * repeat.el (repeat): Use last-repeatable-command instead of
1504         real-last-command.  Run pre- and post-command hooks for
1505         self-insertion.  Update doc-string.
1507 2007-10-08  Alexandre Julliard  <julliard@winehq.org>
1509         * vc-git.el (vc-git-state): Call git-add --refresh to update the
1510         state of the file.
1511         (vc-git-workfile-unchanged-p): Delegate implementation to vc-git-state.
1512         (vc-git-create-repo): Fix invalid command.
1514 2007-10-08  Richard Stallman  <rms@gnu.org>
1516         * textmodes/flyspell.el (flyspell-mode):
1517         Catch errors in flyspell-mode-on.
1519 2007-10-09  Juanma Barranquero  <lekktu@gmail.com>
1521         * term/x-win.el (x-alternatives-map): Remove spurious parenthesis.
1523 2007-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1525         * international/encoded-kb.el (encoded-kbd-setup-display):
1526         Use input-decode-map rather than local-key-translation-map.
1528         * term/rxvt.el (rxvt-alternatives-map): New map.
1529         (terminal-init-rxvt): Use it.
1530         Bind rxvt-function-map in input-decode-map.
1532         * term/xterm.el (xterm-alternatives-map): New map.
1533         (terminal-init-xterm): Use it.
1534         Bind xterm-function-map in input-decode-map.
1536         * term/x-win.el (x-alternatives-map): New var.
1537         (x-setup-function-keys): Use it.
1539         * help-fns.el (describe-variable): Slightly change the layout of
1540         meta-info to separate it better from the docstring.
1541         Standardize insertion of extra empty lines in various circumstances.
1543         * diff-mode.el (diff-hunk-style): New fun.
1544         (diff-end-of-hunk): Use it.
1545         (diff-context->unified): Use the new `apply' undo element,
1546         if applicable, so as to save undo-log space.
1547         (diff-fine-change): New face.
1548         (diff-fine-highlight-preproc): New function.
1549         (diff-fine-highlight): New command.
1550         (diff-mode-map, diff-mode-menu): Add diff-fine-highlight.
1552         * smerge-mode.el (smerge-refine-chopup-region): Add `preproc' argument.
1553         (smerge-refine-highlight-change): Add `props' argument.
1554         (smerge-refine-subst): New function holding most of smerge-refine.
1555         (smerge-refine): Use it.
1557 2007-10-08  Eric S. Raymond  <esr@snark.thyrsus.com>
1559         * vc.el (vc-default-wash-log): Remove unused code, the
1560         log washers all live in the backends now.
1561         (vc-default-comment-history): Correct for the fact
1562         that wash-log is argumentless in the new API.
1564 2007-10-08  Michael Albinus  <michael.albinus@gmx.de>
1566         * net/tramp.el (tramp-find-foreign-file-name-handler): Check also host.
1567         (tramp-maybe-send-script): Apply `member' but `memq'.
1568         (tramp-advice-file-expand-wildcards): Simplify implementation.
1570 2007-10-08  Juanma Barranquero  <lekktu@gmail.com>
1572         * follow.el (follow-mode): Don't run hooks twice.  Use `when'.
1574         * mb-depth.el (minibuf-depth-indicator-function): New variable.
1575         (minibuf-depth-setup-minibuffer): Use it.
1577 2007-10-07  Glenn Morris  <rgm@gnu.org>
1579         * simple.el (bad-packages-alist): Clarify Semantic and CEDET
1580         version numbers.
1582 2007-10-06  Juri Linkov  <juri@jurta.org>
1584         * textmodes/fill.el (fill-paragraph-or-region): New function.
1586         * bindings.el (esc-map): Bind M-q to fill-paragraph-or-region
1587         instead of fill-paragraph.
1589         * tutorial.el (tutorial--default-keys): Replace fill-paragraph
1590         with fill-paragraph-or-region.  Suspend command is now the same
1591         `suspend-frame' on window systems and on tty.
1593         * image.el (image-type): Check if image-types is bound to not fail
1594         on tty.
1596         * delsel.el (delete-selection-pre-hook):
1597         * emulation/cua-base.el (cua-paste): Check if mouse-region-match
1598         is fbound to not fail on mouseless tty.
1600 2007-10-06  Michael Albinus  <michael.albinus@gmx.de>
1602         * net/tramp.el (top): Move loading of tramp-util.el and
1603         tramp-vc.el to tramp-compat.el.
1604         (tramp-make-tramp-temp-file): Complete rewrite.  Create remote
1605         temporary file if possible, in order to avoid a security hole.
1606         (tramp-do-copy-or-rename-file-out-of-band)
1607         (tramp-maybe-open-connection): Call `tramp-make-tramp-temp-file'
1608         with DONT-CREATE, because the connection is not setup yet.
1609         (tramp-handle-process-file): Rewrite temporary file handling.
1610         (tramp-completion-mode): New defvar.
1611         (tramp-completion-mode-p): Use it.
1613         * net/tramp-compat.el (top): Load tramp-util.el and tramp-vc.el.
1615         * net/tramp-fish.el (tramp-fish-handle-process-file):
1616         Rewrite temporary file handling.
1618 2007-10-06  Eric S. Raymond  <esr@snark.thyrsus.com>
1620         * vc.el: Workfile version -> focus version change.  Port various
1621         comments from new VC to reduce the noise in the diff.
1622         Patch in the new vc-create-repo function to go with the
1623         header comment about it already present.
1624         There are no changes to existing logic in this patch.
1625         (vc-revert-buffer1): Rename to vc-revert-buffer-internal.
1627 2007-10-06  Aaron Hawley  <aaronh@garden.org>
1629         * autoinsert.el (auto-insert-alist): Add a Texinfo entry.
1631 2007-10-05  Chris Moore  <dooglus@gmail.com>
1633         * server.el (server-kill-new-buffers): Doc fix.
1635 2007-10-05  John W. Eaton  <jwe@octave.org>
1637         * progmodes/octave-mod.el (octave-abbrev-table): Add "until".
1638         (octave-begin-keywords): Add "do".
1639         (octave-end-keywords): Remove "end".
1640         (octave-reserved-words): Add "end".  Remove "all_va_args",
1641         "gplot", and 'gsplot".
1642         (octave-text-functions): Remove "gset", "gshow", "set", and "show".
1643         (octave-variables): Remove "IMAGEPATH", "INFO_FILE",
1644         "INFO_PROGRAM", "LOADPATH", "__error_text__", "automatic_replot",
1645         "default_return_value", "define_all_return_values",
1646         "do_fortran_indexing", "empty_list_elements_ok",
1647         "gnuplot_has_multiplot", "implicit_str_to_num_ok",
1648         "ok_to_lose_imaginary_part", "prefer_column_vectors",
1649         "prefer_zero_one_indexing", "propagate_empty_matrices",
1650         "resize_on_range_error", "treat_neg_dim_as_zero",
1651         "warn_assign_as_truth_value", "warn_comma_in_global_decl",
1652         "warn_divide_by_zero", "warn_function_name_clash",
1653         "warn_missing_semicolon", "whitespace_in_literal_matrix".
1654         Add "DEFAULT_EXEC_PATH", "DEFAULT_LOADPATH", "IMAGE_PATH",
1655         "crash_dumps_octave_core", "sighup_dumps_octave_core",
1656         "sigterm_dumps_octave_core".
1657         (octave-block-match-alist): Remove "end" from block-end keywords.
1658         (octave-mode): Update ftp site address.
1660 2007-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
1662         * vc.el: Reorder functions, no code changes.
1664 2007-10-04  Michael Albinus  <michael.albinus@gmx.de>
1666         * net/tramp.el (tramp-make-temp-file): Move to tramp-compat.el.
1667         (tramp-do-copy-or-rename-file-directly): Handle tmpfile only in
1668         the cond clauses where needed.
1669         (tramp-handle-write-region): Rearrange code for proper handling of
1670         tmpfile.
1672         * net/tramp-compat.el (tramp-compat-make-temp-file): New defsubst.
1674         * net/tramp.el:
1675         * net/tramp-fish.el:
1676         * net/tramp-ftp.el:
1677         * net/tramp-smb.el: Rename `tramp-make-temp-file' to
1678         `tramp-compat-make-temp-file'.
1680 2007-10-04  Juanma Barranquero  <lekktu@gmail.com>
1682         * image-dired.el (image-dired-image-at-point-p): Fix typo in docstring.
1684 2007-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1686         * emacs-lisp/copyright.el (copyright-update): Don't update if the file
1687         already uses a more recent copyright version than the "current" one.
1689 2007-10-03  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
1691         * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-reset-slice)
1692         (doc-view-insert-image): Minor aesthetical docstring changes.
1694 2007-10-03  Tassilo Horn  <tassilo@member.fsf.org>
1696         * doc-view.el (doc-view): Don't ignore pdf and dvi files when
1697         completing filename.
1698         (doc-view-search-internal): Docstring change.
1700 2007-10-03  Michael Albinus  <michael.albinus@gmx.de>
1702         * net/tramp.el (top): Add tramp-compat to `tramp-unload-hook'.
1703         (tramp-file-name-handler-alist):
1704         Add `tramp-handle-insert-file-contents-literally'.  Needed for XEmacs.
1705         (tramp-make-temp-file): Use `make-temp-name'.  `make-temp-file',
1706         used before, creates the file already, which is not desired.
1707         (tramp-do-copy-or-rename-file-directly): Simplify handling of
1708         temporary file.
1709         (tramp-handle-insert-file-contents): Assign the result in the
1710         short track case.
1711         (tramp-handle-insert-file-contents-literally): New defun.
1712         (tramp-completion-mode-p): Revert change from 2007-09-24.
1713         Checking for `return' etc as last character is not sufficient, for
1714         example in dired-mode when entering <g> (revert-buffer) or
1715         <s> (dired-sort).
1717         * net/tramp-compat.el (top): Add also compatibility code for loading
1718         appropriate timer package.
1719         (tramp-compat-copy-tree): Check for `subrp' and `symbol-file' in
1720         order to avoid autoloading problems.
1722         * net/tramp-fish.el:
1723         * net/tramp-smb.el: Move further compatibility code to tramp-compat.el.
1725         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Handle the case
1726         where the second parameter of `copy-file' or `rename-file' is a
1727         remote file but not via ftp.
1729 2007-10-02  Richard Stallman  <rms@gnu.org>
1731         * frame.el (cursor-in-non-selected-windows): Doc fix.
1733 2007-10-01  Thien-Thi Nguyen  <ttn@gnuvola.org>
1735         * play/zone.el (zone): Let-bind show-trailing-whitespace to nil.
1736         Suggested by Chris Moore <christopher.ian.moore@gmail.com>.
1738 2007-10-01  Jay Belanger  <jay.p.belanger@gmail.com>
1740         * calc/calc-math.el (math-largest-emacs-expt): Handle the cases
1741         when `expt' doesn't give range errors.
1743 2007-10-01  Markus Triska  <markus.triska@gmx.at>
1745         * calc/calc-math.el (math-smallest-emacs-expt):
1746         Make the computation more robust.
1748 2007-09-30  David Kastrup  <dak@gnu.org>
1750         * startup.el (argv): Alias for `command-line-args-left' to use as
1751         `(pop argv)' inside of --eval command sequences.  Allows for
1752         passing shell commands into Emacs verbatim without need for Lisp
1753         quoting.
1755         * autorevert.el (auto-revert-handler): In `auto-revert-tail-mode',
1756         check only for changed size.
1757         (auto-revert-tail-handler): Get size from caller.  If the file has
1758         shrunk, tail the whole file again (the file presumably has been
1759         rewritten).
1761         * woman.el (woman-topic-all-completions, woman-mini-help):
1762         Fix fallout from 2007-09-07 introduction of `dolist' when the list
1763         actually was being manipulated in the loop.
1764         (woman-Cyg-to-Win, woman-pre-process-region)
1765         (woman-horizontal-escapes, woman-if-body, woman-unescape)
1766         (woman-strings, woman-special-characters, woman1-hc)
1767         (woman-change-fonts, woman-find-next-control-line):
1768         Use `match-beginning' rather than `match-string' when the result is
1769         just used as a flag.
1771 2007-09-30  Michael Albinus  <michael.albinus@gmx.de>
1773         * net/tramp-compat.el: New file.
1775         * net/tramp.el:
1776         * net/tramp-fish.el:
1777         * net/tramp-smb.el:
1778         * net/tramp-uu.el:
1779         * net/trampver.el: Move compatibility code to tramp-compat.el.
1780         Apply `mapc' instead of `mapcar' when the code needs side effects
1781         only.  Move utf-8 coding cookie to the second line.
1783 2007-09-30  Reiner Steib  <Reiner.Steib@gmx.de>
1785         * term/x-win.el (x-gtk-stock-map): Add Gnus and MH-E icons.
1786         Improve custom type.
1787         (icon-map-list): Make it customizable.  Document how to disable
1788         stock icons.
1790 2007-09-30  Richard Stallman  <rms@gnu.org>
1792         * play/zone.el (zone-hiding-modeline): Use mode-line-format.
1794 2007-09-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
1796         * term/x-win.el (x-gtk-stock-map): Version is 22.2.
1798 2007-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1800         * t-mouse.el (gpm-mouse-mode): Rename from t-mouse-mode.  Rewrite.
1801         (t-mouse-mode): New compatibility alias.
1803 2007-09-28  Dan Nicolaescu  <dann@ics.uci.edu>
1805         * server.el (server-delete-client): Only delete the terminal if it
1806         is non-nil.
1808 2007-09-28  Michael Albinus  <michael.albinus@gmx.de>
1810         * net/tramp.el (with-file-property, with-connection-property):
1811         Highlight as keyword.
1812         (tramp-rfn-eshadow-setup-minibuffer)
1813         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1814         (tramp-set-file-uid-gid, tramp-do-copy-or-rename-file-via-buffer)
1815         (tramp-do-copy-or-rename-file-directly)
1816         (tramp-do-copy-or-rename-file-out-of-band)
1817         (tramp-handle-shell-command, tramp-get-debug-buffer)
1818         (tramp-send-command-and-read, tramp-equal-remote)
1819         (tramp-get-local-gid): Pacify byte-compiler.
1820         (tramp-handle-file-name-directory): Result shall not be expanded.
1821         (tramp-find-foreign-file-name-handler): Rewrite.
1822         (tramp-dissect-file-name): Add optional parameter NODEFAULT.
1824         * net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler.
1826         * net/tramp-fish.el (tramp-fish-handle-expand-file-name):
1827         Apply `tramp-completion-mode-p'.
1828         (tramp-fish-handle-set-file-times)
1829         (tramp-fish-handle-executable-find)
1830         (tramp-fish-handle-process-file, tramp-fish-get-file-entries)
1831         (tramp-fish-retrieve-data): Pacify byte-compiler.
1833         * net/tramp-gw.el (tramp-gw-basic-authentication):
1834         Call `tramp-read-passwd' with first parameter `nil'.
1836 2007-09-28  Glenn Morris  <rgm@gnu.org>
1838         * mail/supercite.el (sc-attribs-filter-namelist): Use mapc rather
1839         than mapcar.
1841         * textmodes/tex-mode.el (tex-suscript-height-ratio)
1842         (tex-suscript-height-minimum): New customizable variables.
1843         (tex-suscript-height): New function.
1844         (superscript, subscript): Set height using tex-suscript-height
1845         rather than fixing at 0.8.
1846         (tex-fontify-script, tex-font-script-display): Add :version tag.
1848 2007-09-27  Juanma Barranquero  <lekktu@gmail.com>
1850         * progmodes/python.el (python-eldoc-function): Doc fix.
1852 2007-09-27  Glenn Morris  <rgm@gnu.org>
1854         * image.el (image-type-auto-detected-p): Doc fix.  Don't detect an
1855         image if it is not in image-type-auto-detectable, or is there with
1856         a nil value.
1858 2007-09-27  Michael Albinus  <michael.albinus@gmx.de>
1860         * net/tramp.el (tramp-maybe-open-connection): Make test for alive
1861         connection more robust.
1863 2007-09-26  Juanma Barranquero  <lekktu@gmail.com>
1865         * emacs-lisp/eldoc.el (eldoc-function-argstring-format):
1866         Deal with the case that special &keywords are at the beginning or
1867         end of the argument list.  Also add some (incomplete) support for
1868         non-standard arglists.
1870 2007-09-26  Juanma Barranquero  <lekktu@gmail.com>
1872         * emacs-lisp/eldoc.el (eldoc-message-commands-table-size)
1873         (eldoc-message-commands, eldoc-current-idle-delay)
1874         (eldoc-function-argstring-format): Fix typos in docstrings.
1876 2007-09-26  Jay Belanger  <jay.p.belanger@gmail.com>
1878         * calc/calc-units.el (calc-convert-units)
1879         (calc-convert-temperature): Remove unnecessary colons.
1881 2007-09-26  Bastien Guerry  <bzg@altern.org>
1883         * org-export-latex.el (org-export-latex-tables-verbatim): New function.
1884         (org-export-latex-remove-from-headlines): Name changed because of typo.
1885         (org-export-latex-quotation-marks-convention): Option removed.
1886         (org-export-latex-make-preamble): Handle the DATE option.
1887         (org-export-latex-cleaned-string): Now the only cleaning function,
1888         synched up with org.el.
1889         (org-export-latex-lists, org-export-latex-parse-list)
1890         (org-export-list-to-latex): New functions.
1892 2007-09-26  Carsten Dominik  <dominik@science.uva.nl>
1894         * org.el (org-kill-is-subtree-p): Use `org-outline-regexp'.
1895         (org-outline-regexp): New constant.
1896         (org-remember-handler): Throw error when the target file is not in
1897         org-mode.
1898         (org-cleaned-string-for-export): No longer call
1899         `org-export-latex-cleaned-string' with an argument.
1900         (org-get-tags): Returns now a list, not a string.
1901         (org-get-tags-string): New function.
1902         (org-archive-subtree): No need to split return of `org-get-tags'.
1903         (org-set-tags, org-entry-properties): Call `org-get-tags-string'
1904         instead of `org-get-tags'.
1905         (org-agenda-format-date): Rename from `org-agenda-date-format'.
1906         (org-time-from-absolute, org-agenda-format-date-aligned): New funs.
1907         (org-compatible-face): New argument INHERITS.  Inherit from this
1908         face if possible.
1909         (org-level-1, org-level-2, org-level-3, org-level-4)
1910         (org-level-5, org-level-6, org-level-7, org-level-8)
1911         (org-special-keyword, org-drawer, org-column, org-warning)
1912         (org-archived, org-todo, org-done, org-headline-done, org-table)
1913         (org-formula, org-code, org-agenda-structure)
1914         (org-scheduled-today, org-scheduled-previously)
1915         (org-upcoming-deadline, org-time-grid): Call `org-compatible-face'
1916         in the new way.
1917         (org-get-heading): New argument NO-TAGS.
1918         (org-fast-tag-selection-include-todo): Made defvar instead of
1919         defcustom, feature is not deprecated.
1920         (org-remember-store-without-prompt): New default value t.
1921         (org-todo-log-states): New variable.
1922         (org-set-regexps-and-options): #+TODO is an alias for SEQ_TODO.
1923         Compute the log states.
1924         (org-goto-map): More commands copied from global map.  Also bind
1925         `org-occur'.
1926         (org-goto): Made into a general lookup command.
1927         (org-get-location): Complete rewrite.
1928         (org-goto-exit-command): New variable.
1929         (org-goto-selected-point): New variable.
1930         (org-goto-ret, org-goto-left, org-goto-right, org-goto-quit):
1931         Set the new variables.
1932         (org-paste-subtree): Whitespace insertion strategy revised.
1933         (org-remember-apply-template): Protect v-A from the possibility
1934         that v-a might be nil.
1935         (org-remember-handler): Insertion rules revised.
1936         (org-todo): Respect org-todo-log-states.
1937         (org-up-heading-safe): New function.
1938         (org-entry-get-with-inheritance): Use `org-up-heading-safe'.
1940 2007-09-26  Dan Nicolaescu  <dann@ics.uci.edu>
1942         * progmodes/cc-cmds.el (c-indent-line-or-region): Only indent the
1943         region if in transient-mark-mode.
1945 2007-09-26  Juanma Barranquero  <lekktu@gmail.com>
1947         * calc/calc-ext.el (calc-init-extensions, calc-reset):
1948         * calc/calc-help.el (calc-full-help):
1949         * calc/calc-misc.el (another-calc):
1950         * calc/calc-store.el (calc-var-name-map):
1951         * calc/calc-stuff.el (calc-flush-caches):
1952         * calc/calc-units.el (math-build-units-table):
1953         * calc/calc.el (calc-digit-map, calc-dispatch-map, calc-mode)
1954         (calc-quit):
1955         * calendar/icalendar.el (icalendar--format-ical-event)
1956         (icalendar--convert-ical-to-diary):
1957         * emacs-lisp/authors.el (authors):
1958         * emacs-lisp/cust-print.el (custom-print-install)
1959         (custom-print-uninstall):
1960         * emacs-lisp/disass.el (disassemble-1):
1961         * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1962         * emacs-lisp/edebug.el (byte-compile-resolve-functions):
1963         * emacs-lisp/elint.el (elint-current-buffer, elint-check-defun-form)
1964         (elint-check-let-form, elint-check-condition-case-form)
1965         (elint-initialize):
1966         * emacs-lisp/elp.el (elp-results):
1967         * emacs-lisp/generic.el (generic-mode-internal):
1968         * emacs-lisp/re-builder.el (reb-delete-overlays):
1969         * emacs-lisp/regi.el (regi-interpret):
1970         * emacs-lisp/sregex.el (sregex--char-aux):
1971         * emulation/cua-rect.el (cua--deactivate-rectangle)
1972         (cua--highlight-rectangle, cua--rectangle-post-command):
1973         * emulation/viper-keym.el (viper-toggle-key, viper-ESC-key):
1974         * emulation/viper-macs.el (viper-describe-kbd-macros)
1975         (viper-describe-one-macro):
1976         * emulation/viper-util.el (viper-setup-master-buffer):
1977         * emulation/viper.el (set-viper-state-in-major-mode):
1978         * international/mule-diag.el (describe-current-coding-system):
1979         * language/ethio-util.el (ethio-fidel-to-sera-buffer):
1980         * mail/emacsbug.el (report-emacs-bug):
1981         * net/ange-ftp.el (ange-ftp-call-chmod, ange-ftp-parse-bs2000-listing):
1982         * obsolete/hilit19.el (hilit-unhighlight-region)
1983         (hilit-set-mode-patterns):
1984         * play/solitaire.el (solitaire-check, solitaire-solve):
1985         * play/zone.el (zone-pgm-rotate):
1986         * progmodes/ada-mode.el (ada-save-exceptions-to-file):
1987         * progmodes/ada-prj.el (ada-prj-display-page):
1988         * progmodes/delphi.el (delphi-search-directory, delphi-find-unit-file)
1989         (delphi-debug-mode-map, delphi-mode-map, delphi-mode):
1990         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-view-exit-fn)
1991         (ebrowse-member-mode, ebrowse-save-tree-as, ebrowse-save-class):
1992         * progmodes/sh-script.el (sh-make-vars-local)
1993         (sh-reset-indent-vars-to-global-values):
1994         * progmodes/sql.el (top):
1995         * progmodes/vhdl-mode.el (vhdl-set-style, vhdl-regress-line):
1996         * progmodes/xscheme.el (top):
1997         * textmodes/artist.el (artist-mt-get-symbol-from-keyword-sub)
1998         (artist-go-retrieve-from-symbol-sub, artist-go-get-symbol-shift-sub)
1999         (artist-fc-retrieve-from-symbol-sub, artist-vaporize-line)
2000         (artist-vaporize-lines, artist-ellipse-compute-fill-info)
2001         (artist-submit-bug-report):
2002         * textmodes/flyspell.el (flyspell-delay-commands)
2003         (flyspell-deplacement-commands):
2004         * textmodes/table.el (table--generate-source-epilogue, table-insert)
2005         (table--generate-source-cells-in-a-row, table--make-cell-map)
2006         (*table--cell-describe-bindings): Use `mapc' rather than `mapcar'.
2008 2007-09-25  Juanma Barranquero  <lekktu@gmail.com>
2010         * allout.el (produce-allout-mode-map, allout-process-exposed):
2011         * ansi-color.el (ansi-color-make-color-map):
2012         * autoinsert.el (auto-insert):
2013         * bookmark.el (bookmark-bmenu-list, bookmark-show-all-annotations):
2014         * dired-aux.el (dired-create-files):
2015         * dired.el (dired-restore-desktop-buffer):
2016         * ediff-diff.el (ediff-setup-fine-diff-regions):
2017         * ediff-mult.el (ediff-intersect-directories)
2018         (ediff-redraw-directory-group-buffer, ediff-dir-diff-copy-file)
2019         (ediff-redraw-registry-buffer):
2020         * ediff-ptch.el (ediff-fixup-patch-map):
2021         * ediff-util.el (ediff-toggle-multiframe, ediff-toggle-use-toolbar)
2022         (ediff-really-quit, ediff-clear-diff-vector):
2023         * emerge.el (emerge-really-quit):
2024         * ffap.el (ffap-replace-file-component):
2025         * filecache.el (file-cache-add-directory)
2026         (file-cache-add-directory-recursively)
2027         (file-cache-add-from-file-cache-buffer, file-cache-delete-file-regexp)
2028         (file-cache-delete-directory, file-cache-files-matching-internal)
2029         (file-cache-display):
2030         * files.el (cd):
2031         * find-lisp.el (find-lisp-insert-directory):
2032         * finder.el (finder-compile-keywords):
2033         * help.el (view-emacs-news):
2034         * hi-lock.el (hi-lock-write-interactive-patterns):
2035         * ido.el (ido-to-end, ido-set-matches-1):
2036         * image-dired.el (image-dired-display-thumbs, image-dired-remove-tag)
2037         (image-dired-mark-tagged-files):
2038         * jka-cmpr-hook.el (jka-compr-get-compression-info):
2039         * printing.el (pr-eval-local-alist, pr-eval-setting-alist):
2040         * ps-print.el (ps-background, ps-begin-file)
2041         (ps-build-reference-face-lists):
2042         * simple.el (clone-buffer):
2043         * startup.el (command-line):
2044         * tempo.el (tempo-insert-template, tempo-is-user-element)
2045         (tempo-forward-mark, tempo-backward-mark):
2046         * woman.el (woman-dired-define-keys): Use `mapc' rather than `mapcar'.
2048 2007-09-25  Glenn Morris  <rgm@gnu.org>
2050         * textmodes/tex-mode.el (tex-font-script-display): Doc fix.
2052         * view.el (view-search-no-match-lines): Add a doc string.
2053         Rewrite to simplify and work better.
2055 2007-09-24  Dan Nicolaescu  <dann@ics.uci.edu>
2057         * progmodes/cc-mode.el (c-mode-base-map):
2058         Use c-indent-line-or-region instead of c-indent-line.
2060         * indent.el (indent-for-tab-command): First check if the region is
2061         active.
2063 2007-09-24  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2065         * whitespace.el (whitespace-tickle-timer): Don't install the timer if
2066         whitespace-rescan-timer-time is 0.
2068 2007-09-24  Karl Berry  <karl@gnu.org>
2070         * international/mule.el (coding-system-base): Fix doc string grammar.
2072 2007-09-24  Michael Albinus  <michael.albinus@gmx.de>
2074         * net/tramp.el (tramp-completion-mode-p): Rename from
2075         `tramp-completion-mode'.  Revert logic, check `return', `newline'
2076         and such alike.  Packages like Icicles tend to use other completion
2077         characters but `tab' and `space' only.
2079 2007-09-24  Adam Hupp  <adam@hupp.org>
2081         * progmodes/python.el (run-python): Import emacs module without
2082         waiting; prevents lockup on error.
2084 2007-09-23  Richard Stallman  <rms@gnu.org>
2086         * mail/sendmail.el (mail-bury): Delete the frame
2087         if this frame looks like it was made for this message.
2089         * completion.el (completion-separator-self-insert-command)
2090         (completion-separator-self-insert-autofilling):
2091         If `self-insert-command' has been remapped, use the substitute.
2093         * simple.el (copy-region-as-kill): Doc fix.
2095         * textmodes/org.el (org-confirm-shell-link-function)
2096         (org-confirm-elisp-link-function): Doc fixes.
2098 2007-09-23  Glenn Morris  <rgm@gnu.org>
2100         * ses.el (ses-calculate-cell): Don't evaluate unsafe formulae.
2102 2007-09-23  Dan Nicolaescu  <dann@ics.uci.edu>
2104         * term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar.
2106         * term/tvi970.el (terminal-init-tvi970): Likewise.
2108         * term/sun-mouse.el (print-mouse-format): Likewise.
2110         * term/sun.el (scroll-down-in-place, scroll-up-in-place):
2111         Use forward-line instead of previous-line and next-line.
2113 2007-09-22  Juri Linkov  <juri@jurta.org>
2115         * textmodes/org.el (org-confirm-shell-link-function): Doc fix.
2117         * tutorial.el (tutorial--default-keys): Update standard bindings:
2118         rename `iconify-or-deiconify-frame' to `suspend-frame',
2119         and `save-buffers-kill-emacs' to `save-buffers-kill-terminal'.
2121 2007-09-22  Juri Linkov  <juri@jurta.org>
2123         * startup.el (fancy-startup-text, fancy-about-text, fancy-startup-tail):
2124         Add help-echo to external links and to links without description.
2125         (fancy-splash-insert): Use help-echo from the 3rd element of the
2126         link specification list, or "Follow this link" if it's nil.  Doc fix.
2128 2007-09-22  Juri Linkov  <juri@jurta.org>
2130         * startup.el (command-line): Rename `inhibit-startup-message' to
2131         `inhibit-startup-screen'.
2132         (fancy-about-text): Use shorter label for "Ordering Manuals".
2133         (fancy-startup-tail): Add optional arg `concise'.  When `concise'
2134         is nil, display a line with "To start..." and 3 links to useful
2135         tasks.  Display the "Dismiss" button and "Don't show this message
2136         again" only when concise is non-nil.
2137         (fancy-startup-screen): Call `fancy-startup-tail' with optional
2138         arg `concise'.  If CONCISE is non-nil, display a concise version
2139         of the splash screen in another window.  Otherwise, switch to the
2140         startup buffer in the same window.
2141         (startup-echo-area-message): Change displayed binding from
2142         C-h C-p (describe-project) to C-h C-a (about-emacs), and change
2143         text "about the GNU system and GNU/Linux" to "about GNU Emacs and
2144         the GNU system".
2145         (display-startup-screen): Fix buffer name from "*About GNU Emacs*"
2146         to "*GNU Emacs*".
2147         (display-about-screen): Don't check the existence of the buffer
2148         "*About GNU Emacs*".
2149         (display-splash-screen): Make alias to `display-startup-screen'.
2150         (command-line-1): Rename `inhibit-startup-message' to
2151         `inhibit-startup-screen'.  Inhibit startup screen when Emacs is
2152         started with command line options "-f", "-funcall", "-e", "-eval",
2153         "-execute", "-insert", "-find-file", "-file", "-visit".
2154         Inhibit startup screen when Emacs is started with a file name only
2155         on tty (i.e. don't inhibit it when started with a file name like
2156         "emacs FILE..." on a window system).
2157         (command-line-1): Simplify logic of displaying the startup screen:
2158         if file-count > 0, then display the concise version in another
2159         window, otherwise display full version in the same window.
2161         * help.el (help-map): Bind C-h C-a to about-emacs.
2162         (help-for-help-internal): Add C-a description to C-h help text.
2164 2007-09-22  Dan Nicolaescu  <dann@ics.uci.edu>
2166         * emacs-lisp/checkdoc.el (checkdoc-force-docstrings-flag)
2167         (checkdoc-permit-comma-termination-flag): Autoload the
2168         safe-local-variable setting.
2170         * bookmark.el (bookmark-xemacsp): Remove.
2171         (bookmark-make): Don't use bookmark-xemacsp,
2172         use (featurep 'xemacs) instead.
2174         * speedbar.el (speedbar-frame-mode)
2175         (speedbar-frame-reposition-smartly)
2176         (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps)
2177         (speedbar-check-vc): Remove use of non-existent variable
2178         dframe-xemacsp, use (featurep 'xemacs) instead.
2180         * indent.el (indent-for-tab-command): Indent the region if
2181         transient-mark-mode and the region is active.
2183 2007-09-21  Francesco Potort\e,Al\e(B  <pot@gnu.org>
2185         * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to
2186         add inferior-octave-directory-tracker to the buffer-local value
2187         of comint-input-filter-functions.
2189 2007-09-21  Dan Nicolaescu  <dann@ics.uci.edu>
2191         * xt-mouse.el (xterm-mouse-mode): Re-enable suspend-tty-functions.
2193 2007-09-21  Juanma Barranquero  <lekktu@gmail.com>
2195         * frame.el (suspend-frame): Call `iconify-or-deiconify-frame' also
2196         on w32 frames.
2198 2007-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2200         * startup.el (normal-top-level): Remove DISPLAY from
2201         process-environment to let it be computed dynamically in callproc.c.
2203         * frame.el (frame-initialize, make-frame):
2204         * faces.el (tty-set-up-initial-frame-faces):
2205         * env.el (setenv): Don't set display-environment-variable.
2207         * server.el (server-getenv-from): Remove.  Use getenv-internal instead.
2208         (server-create-tty-frame): Don't set unused `tty' property.
2209         Set `display' instead of display-environment-variable.
2210         (server-create-window-system-frame): No display-environment-variable.
2212 2007-09-21  Michael Albinus  <michael.albinus@gmx.de>
2214         * rfn-eshadow.el (rfn-eshadow-setup-minibuffer-hook)
2215         (rfn-eshadow-update-overlay-hook): New defvars.
2216         (rfn-eshadow-setup-minibuffer, rfn-eshadow-update-overlay):
2217         Run the hooks.
2219         * net/tramp.el (tramp-rfn-eshadow-overlay): New defvar.
2220         (tramp-rfn-eshadow-setup-minibuffer)
2221         (tramp-rfn-eshadow-update-overlay): New defuns.  Hook into
2222         rfn-eshadow.el.
2224         * net/tramp-smb.el (tramp-smb-errors): Add error message for call
2225         timeout.
2227 2007-09-21  Glenn Morris  <rgm@gnu.org>
2229         * obsolete/sun-fns.el (emacs-quit-menu): Remove emacstool-related code.
2230         * term/sun-mouse.el (suspend-emacstool): Remove.
2231         * term/sun.el: Remove emacstool-related code.
2233         * emacs-lisp/bytecomp.el (byte-compile-warnings)
2234         (byte-compile-warnings-safe-p): Add `mapcar'.
2235         (byte-compile-warning-types): Add mapcar and make-local.
2236         (byte-compile-normal-call): Add option to suppress mapcar warning.
2237         (top-level): Use mapc rather than mapcar in eval-when-compile.
2239         * textmodes/tex-mode.el (tex-validate-region): Handle escaped parens.
2240         (tex-next-unmatched-eparen, tex-last-unended-eparen): New functions.
2241         (latex-forward-sexp-1, latex-backward-sexp-1): Doc fix.
2242         Handle escaped parens.
2243         (latex-forward-sexp): Doc fix.
2245         * eshell/esh-mode.el (eshell-output-filter-functions):
2246         Add eshell-postoutput-scroll-to-bottom.
2248         * loadup.el: Remove termdev.
2250         * progmodes/fortran.el (fortran-mode-abbrev-table, fortran-line-length):
2251         * progmodes/f90.el (f90-mode-abbrev-table): Use mapc rather than mapcar.
2253 2007-09-21  Markus Triska  <markus.triska@gmx.at>
2255         * emacs-lisp/bytecomp.el (byte-compile-normal-call): Warn when
2256         `mapcar' is called for effect.
2258 2007-09-21  Kevin Ryde  <user42@zip.com.au>
2260         * international/mule.el (sgml-html-meta-auto-coding-function):
2261         Bind `case-fold-search' to t.
2263 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2265         * termdev.el: Remove.
2267         * frame.el (get-device-terminal): New function.  Moved from termdev.el.
2268         (frames-on-display-list): Use it.
2270         * bindings.el: Bind C-z to suspend-frame instead of suspend-emacs.
2272         * termdev.el (terminal-id): Ask terminal-live-p before giving up.
2274 2007-09-20  Richard Stallman  <rms@gnu.org>
2276         * newcomment.el (comment-add): If EXTRA, double `comment-add' value.
2278 2007-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2280         * add-log.el (add-log-current-defun): Fix thinko w.r.t derived-mode-p.
2282 2007-09-20  Glenn Morris  <rgm@gnu.org>
2284         * textmodes/tex-mode.el (tex-validate-buffer): Use paragraph
2285         motion functions, rather than hard-coding "\n\n".
2286         (tex-validate-region): Check for eobp, to speed up.
2287         (tex-next-unmatched-end): Doc fix.
2289 2007-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2291         * files.el (auto-mode-alist): Use archive-mode for .rar files.
2293         * international/mule.el (auto-coding-alist): Rar archives are binary.
2295         * arc-mode.el: Add basic support for Rar.
2296         (archive-find-type): Recognize Rar's signature.
2297         (archive-desummarize): New fun.
2298         (archive-summarize): Use it to restore the buffer's data in case
2299         someone wants to switch to some other major mode.
2300         (archive-resummarize): Use it as well.
2301         (archive-rar-summarize, archive-rar-extract): New functions.
2303         * filesets.el: Remove spurious * in docstrings.
2304         (filesets-running-xemacs): Remove.  Use (featurep 'xemacs) instead.
2305         (filesets-conditional-sort): Remove unused arg `simply-do-it'.
2306         (filesets-ingroup-collect): Remove unused arg `depth'.
2307         (filesets-update): Remove unused arg `version'.
2309         * finder.el (finder-compile-keywords): Fix up comment style.
2310         (finder-mouse-face-on-line): previous-line -> forward-line.
2312         * recentf.el: Remove spurious * in docstrings.
2313         (recentf-save-list): Fix up comment style.
2315         * progmodes/octave-mod.el: Remove spurious * in docstrings.
2316         (octave-mode-map): Move init into declaration and remove \t binding.
2317         (octave-mode-startup-message): Remove unused var.
2318         (octave-scan-blocks): Remove unused arg `from'.
2319         (octave-forward-block, octave-down-block, octave-up-block):
2320         Update callers.
2322         * progmodes/meta-mode.el (meta-mode-syntax-table): Move init into decl.
2323         (meta-mode-map): Likewise and remove \t binding.
2325         * net/snmp-mode.el: Remove spurious * in docstrings.
2326         (snmp-rfc1155-types, snmp-rfc1213-types, snmp-rfc1902-types)
2327         (snmp-rfc1903-types, snmp-rfc1155-access, snmp-rfc1902-access)
2328         (snmp-rfc1212-status, snmp-rfc1902-status): Remove list wrappers now
2329         that completion accepts lists of strings.
2330         (snmp-mode-syntax-table): Move initialization into declaration.
2331         (snmp-mode-map): Likewise and remove \t binding.
2332         (snmp-common-mode): Set tab-always-indent according to snmp-t-a-i.
2333         (snmp-indent-line, snmp-mode-imenu-create-index): Remove unused var.
2334         (snmp-indent-command): Remove.
2336         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Use the default TAB
2337         binding, so tab-always-indent works right.
2339 2007-09-19  Johannes Weiner  <hannes@saeurebad.de>
2341         * net/browse-url.el (browse-url-elinks-new-window): New function.
2342         (browse-url-elinks): Use browse-url-elinks-new-window.
2343         Accept optional second argument `new-window'.  Fix typo in doc-string.
2344         (browse-url-elinks-sentinel): Use browse-url-elinks-new-window.
2345         Improve error message.
2347 2007-09-19  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2349         * net/browse-url.el (browse-url-url-encode-chars): Use the right
2350         parameter name in the function body.
2351         Reported by Johannes Weiner.
2353 2007-09-19  Glenn Morris  <rgm@gnu.org>
2355         * net/socks.el (socks-open-network-stream): Signal an explicit
2356         error if the port associated with a service string can't be found.
2358         * textmodes/tex-mode.el (tex-terminate-paragraph):
2359         Use backward-paragraph.
2361 2007-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2363         * server.el (server-running-p): New function.
2365 2007-09-18  Jason Rumney  <jasonr@gnu.org>
2367         * term/w32-win.el (w32-focus-frame): Make obsolete alias for
2368         x-focus-frame.
2370         * frame.el (select-frame-set-input-focus, select-frame-by-name):
2371         Use x-focus-frame for w32.
2373 2007-09-17  David Kastrup  <dak@gnu.org>
2375         * textmodes/tex-mode.el (tex-verbatim-environments):
2376         Eliminate CL dependency.
2378 2007-09-17  Richard Stallman  <rms@gnu.org>
2380         * newcomment.el (comment-add): New arg EXTRA.
2381         (comment-region-default): Pass EXTRA if not indenting lines.
2383 2007-09-17  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2385         * net/browse-url.el (browse-url-url-encode-chars): New function.
2386         URL-encode some chars in a string.
2387         (browse-url-encode-url): Rewrite using the previous function.
2388         (browse-url-file-url): Use `browse-url-url-encode-chars'.
2389         (browse-url-elinks-sentinel): Fix typo.
2390         (browse-url-new-window-flag): Doc change.
2392 2007-09-17  Glenn Morris  <rgm@gnu.org>
2394         * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the
2395         filename from `--file-line-error', if it is available.
2397 2007-09-17  Joe Wells  <jbw@macs.hw.ac.uk>  (tiny change)
2399         * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match
2400         TeX `--file-line-error' format.
2402 2007-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
2404         * xt-mouse.el: Delete add-hook calls that were moved to
2405         xterm-mouse-mode.
2406         (xterm-mouse-mode): Disable resume-tty-functions, explain why it
2407         does not work.
2409 2007-09-17  Richard Stallman  <rms@gnu.org>
2411         * cus-face.el (custom-theme-set-faces): Undo previous change.
2413         * faces.el (face-spec-set): When FRAME nil, look up each frame in SPEC.
2415 2007-09-17  Glenn Morris  <rgm@gnu.org>
2417         * textmodes/tex-mode.el (tex-region): Simplify previous change,
2418         handling the case where the region is not in `tex-main-file'.
2419         (tex-region-1): Delete.
2420         (tex-region-header): New function, doing the header part of the
2421         old tex-region-1.
2423 2007-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2425         * simple.el (newline): Simplify use of prefix-numeric-value.
2426         (line-move-partial): Remove unused var `ppos'.
2427         (line-move-1): Replace 9999 with most-positive-fixnum.
2428         (move-end-of-line): Use more efficient single-property search.
2429         (move-beginning-of-line): Remove unused var `start'.
2430         (blink-matching-open): Restructure in a more functional style.
2432 2007-09-16  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2434         * calendar/holidays.el (list-holidays): Remove the cyclic alias.
2436 2007-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2438         * server.el (server-clients): Only keep procs, no properties any more.
2439         (server-client): Remove.
2440         (server-client-get, server-client-set): Remove, replace all callers by
2441         process-get and process-put resp.
2442         (server-clients-with, server-add-client, server-delete-client)
2443         (server-create-tty-frame, server-create-window-system-frame)
2444         (server-process-filter, server-execute, server-visit-files)
2445         (server-buffer-done, server-kill-buffer-query-function)
2446         (server-kill-emacs-query-function, server-switch-buffer)
2447         (server-save-buffers-kill-terminal): Update accordingly.
2449         * server.el (server-with-environment): Simplify.
2450         (server-select-display, server-unselect-display): Re-add functions that
2451         seem to have been lost in the multi-tty merge.
2452         (server-eval-and-print, server-create-tty-frame)
2453         (server-create-window-system-frame, server-goto-toplevel)
2454         (server-execute, server-return-error): New functions extracted from
2455         server-process-filter.
2456         (server-execute-continuation): New functions.
2457         (server-process-filter): Restructure so that all arguments are analysed
2458         first and then acted upon in a subsequent stage.  This way
2459         server-goto-toplevel can be executed later, when we know if
2460         it's necessary.
2461         Remove the "-version" and "-version-good" support.
2463 2007-09-16  Drew Adams  <drew.adams@oracle.com>
2465         * cus-edit (custom-face-edit-activate): Doc fix.
2467 2007-09-16  Glenn Morris  <rgm@gnu.org>
2469         * calendar/cal-menu.el, calendar/calendar.el, calendar/diary-lib.el:
2470         Following cal-bahai renaming, update all instances of
2471         list-bahai-diary-entries to diary-bahai-list-entries,
2472         mark-bahai-diary-entries to diary-bahai-mark-entries,
2473         calendar-goto-bahai-date to calendar-bahai-goto-date,
2474         insert-bahai-diary-entry to diary-bahai-insert-entry,
2475         insert-monthly-bahai-diary-entry to diary-bahai-insert-monthly-entry,
2476         insert-yearly-bahai-diary-entry to diary-bahai-insert-yearly-entry, and
2477         calendar-print-bahai-date to calendar-bahai-print-date.
2479         * textmodes/tex-mode.el (tex-region): Handle the case where the
2480         region is not in `tex-main-file'.  Move the old code that applies
2481         to both cases...
2482         (tex-region-1): ...to this new function.
2484 2007-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2486         * vc.el (vc-process-sentinel): New function.
2487         (vc-exec-after): Use it instead of using ugly hackish analysis and
2488         construction of Elisp code.
2489         (vc-sentinel-movepoint): New dynamically scoped var.
2490         (vc-print-log, vc-annotate): Set it to move the user's point.
2492         * vc-cvs.el (vc-cvs-annotate-time): Use inhibit-read-only and
2493         inhibit-modification-hooks.
2495         * calendar/cal-bahai.el (mark-bahai-diary-entries): Fix up typo.
2496         (calendar-bahai-print-date, calendar-bahai-goto-date)
2497         (diary-bahai-list-entries, diary-bahai-insert-entry):
2498         New names to clean up the namespace a bit more.
2499         (calendar-goto-bahai-date, calendar-print-bahai-date): Compat aliases.
2501 2007-09-15  Glenn Morris  <rgm@gnu.org>
2503         * calendar/holidays.el (holiday-list): Rename it back to
2504         `list-holidays', but leave `holiday-list' as an alias.
2506         * textmodes/bibtex-style.el (bibtex-style-indent-basic): Specify a
2507         custom group.
2509         * textmodes/css-mode.el (css): New custom group.
2510         (css-electrick-keys, css-selector, css-property)
2511         (css-indent-offset): Specify custom group.
2513 2007-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2515         * pcvs.el (cvs-tags-list, cvs-retrieve-revision, cvs-find-modif)
2516         (cvs-execute-single-file): Use process-file.
2517         (cvs-run-process): Use start-file-process.
2519 2007-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
2521         * xt-mouse.el (xterm-mouse-mode): Add hooks here not at the top
2522         level.  Remove the hooks when turning off the mode.
2524         * term/xterm.el: Require xt-mouse at compile time.
2525         (terminal-init-xterm): Turn on xterm mouse tracking for this
2526         terminal if xterm-mouse-mode is enabled.
2528 2007-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
2530         * term/xterm.el (xterm-function-map): Replace bindings that were
2531         deleted by the merge.
2533 2007-09-14  Ulf Jasper  <ulf.jasper@web.de>
2535         * play/bubbles.el (bubbles-version): Bump value to "0.5".
2536         (bubbles-mode-map): Move define-key statements here.
2537         (bubbles-game-theme-menu): Ditto.
2538         (bubbles-graphics-theme-menu): Ditto.
2539         (bubbles-menu): Ditto.
2540         (bubbles-mode): Initialize buffer-undo-list, redisplay.
2541         (bubbles--initialize): Reset buffer-undo-list, redisplay.
2542         (bubbles-plop): Set buffer-undo-list, redisplay.
2543         (bubbles-undo): Reset buffer-undo-list, redisplay.
2544         (bubbles--show-images): Take care of missing text properties.
2546 2007-09-14  Glenn Morris  <rgm@gnu.org>
2548         * startup.el (fancy-startup-text, fancy-about-text): Fix face
2549         quoting.
2551         * calendar/cal-hebrew.el, calendar/cal-menu.el
2552         * calendar/calendar.el, calendar/diary-lib.el
2553         * calendar/holidays.el: Rename all instances of
2554         list-calendar-holidays callers to calendar-list-holidays,
2555         list-holidays to holiday-list, check-calendar-holidays to
2556         calendar-check-holidays, mark-calendar-holidays to
2557         calendar-mark-holidays, and filter-visible-calendar-holidays to
2558         holiday-filter-visible-calendar.
2560 2007-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
2562         * term/xterm.el (xterm-function-map): Add C-M- bindings.
2564 2007-09-13  Sascha Wilde  <wilde@sha-bang.de>  (tiny change)
2566         * play/bubbles.el (bubbles--initialize-images): Fix bug:
2567         Use transparent background for empty cells in graphics mode.
2569 2007-09-13  Jari Aalto  <jari.aalto@cante.net>
2571         * man.el (Man-default-man-entry): At end of line, continue looking
2572         to the next line for possible end of hyphenated command.
2574 2007-09-13  Chris Moore  <dooglus@gmail.com>
2576         * shell.el (shell-resync-dirs): Don't move the cursor relative to
2577         the command being edited.
2579 2007-09-12  Jim Meyering  <jim@meyering.net>  (tiny change)
2581         * emacs-lisp/copyright.el (copyright-names-regexp): Doc fix: typo.
2583 2007-09-12  Dan Nicolaescu  <dann@ics.uci.edu>
2585         * term/xterm.el (xterm-function-map): Add bindings for M-S- and
2586         C-M-S- keys.
2588         * term/rxvt.el (rxvt-function-map): Initialize in the declaration.
2590 2007-09-12  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2592         * net/browse-url.el (browse-url-encode-url): Fix an infinite loop.
2593         New argument `filename-p' to use one set of confusing chars or another.
2594         (browse-url-file-url): Use the argument.
2595         Suggested by Johannes Weiner.
2597 2007-09-12  Romain Francoise  <romain@orebokech.com>
2599         * cus-start.el (all): Revert 2007-09-08 change.
2601 2007-09-12  Aaron Hawley  <aaronh@garden.org>
2603         * jka-cmpr-hook.el (jka-compr-compression-info-list): Use gzip to
2604         extract .Z files, since it is more common than uncompress.
2606 2007-09-12  Glenn Morris  <rgm@gnu.org>
2608         * textmodes/org-publish.el (org-publish-org-to-html): Remove
2609         duplicate function definition.
2611 2007-09-10  Chris Moore  <dooglus@gmail.com>
2613         * diff-mode.el (diff-sanity-check-hunk):
2614         Also accept single-line hunks.
2616 2007-09-10  Chong Yidong  <cyd@stupidchicken.com>
2618         * startup.el (startup-screen-inhibit-startup-screen)
2619         (pure-space-overflow-message): New vars.
2620         (fancy-splash-insert): Allow functions for face and link specs.
2621         (fancy-splash-head): Remove unused arg.  Move splash text...
2622         (fancy-startup-text, fancy-about-text): ...here.
2623         (fancy-startup-tail): Rename from fancy-splash-tail.
2624         (fancy-startup-screen, fancy-about-screen): Split off from
2625         fancy-splash-screens.
2626         (display-startup-screen): New function.
2627         (display-about-screen): Rename from display-splash-screen.
2628         (command-line-1): Use concise startup screen if necessary.
2630 2007-09-10  Thien-Thi Nguyen  <ttn@gnuvola.org>
2632         * net/browse-url.el (browse-url-encode-url): Use copy-sequence.
2633         Reported by Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>.
2635 2007-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2637         * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10.
2638         (python-font-lock-keywords): Update to the 2.5 version of the language.
2639         (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil.
2640         (python-backspace): Only behave funny in code.
2641         (python-compilation-regexp-alist): Add PDB stack trace regexp.
2642         (inferior-python-mode): Add PDB prompt regexp.
2643         (python-fill-paragraph): Refine the fenced-string regexp.
2644         (python-find-imports): Handle imports spanning several lines.
2645         (python-mode): Add `class' to hideshow support.
2647 2007-09-10  Dave Love  <fx@gnu.org>
2649         * outline.el (outline-4, outline-5, outline-7):
2650         Move font-lock-builtin-face down from 4 to 7 to better keep the
2651         progression of color brightness, and to better match Org-mode's faces.
2653 2007-09-10  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2655         * progmodes/meta-mode.el (meta-font-lock-keywords)
2656         (font-lock-match-meta-declaration-item-and-skip-to-next)
2657         (meta-comment-indent, meta-indent-previous-line)
2658         (meta-indent-unfinished-line, meta-beginning-of-defun)
2659         (meta-end-of-defun, meta-common-initialization): Handle \f.
2660         (meta-indent-unfinished-line): Do not handle a `%' in a string as
2661         a comment-start.
2663         * files.el (file-modes-char-to-who, file-modes-char-to-right)
2664         (file-modes-rights-to-number): Auxiliary functions for symbolic to
2665         numeric notation of file modes.
2666         (file-modes-symbolic-to-number): New.  Convert symbolic modes to its
2667         numeric value.
2668         (read-file-modes): New.  Read either an octal value of a file mode or a
2669         symbolic value, and return its numeric value.
2671         * dired-aux.el (dired-do-chmod): Change to use the built-in
2672         `set-file-modes' and the previous symbolic mode parsing functions.
2674 2007-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2676         * textmodes/texinfo.el: Remove spurious * in docstrings.
2677         (texinfo-mode-syntax-table, texinfo-mode-map):
2678         Initialize in the declaration.
2680         * tmm.el: Remove spurious * in docstrings.
2681         (tmm-prompt): Use with-current-buffer.
2683         * vcursor.el: Remove spurious * in docstrings.
2684         (vcursor-map): Initialize in the declaration.
2685         (vcursor-use-vcursor-map): Use define-minor-mode.
2686         (vcursor-toggle-vcursor-map): Keep as an obsolete alias.
2688         * wid-browse.el (widget-browse-mode-map, widget-minor-mode-map):
2689         Initialize in the declaration.
2690         (widget-minor-mode): Use define-minor-mode.
2692         * woman.el (woman-mode-map, woman-syntax-table):
2693         Initialize in the declaration.
2695 2007-09-09  Tassilo Horn  <tassilo@member.fsf.org>
2697         * doc-view.el: New file.
2699 2007-09-09  Juri Linkov  <juri@jurta.org>
2701         * Makefile.in (update-authors): Add etc/ to AUTHORS.
2703         * makefile.w32-in (update-authors): Add etc/ to AUTHORS.
2705         * startup.el (initial-buffer-choice): Rename choice "Splash screen"
2706         to "Startup screen".  Fix docstring.
2707         (inhibit-startup-screen): Rename from `inhibit-splash-screen'.
2708         (inhibit-splash-screen): Make alias to `inhibit-startup-screen'.
2709         (inhibit-startup-message): Change alias to `inhibit-startup-screen'.
2710         (initial-scratch-message): Fix docstring.
2711         (fancy-startup-text): Move link to Emacs Manual below Emacs Guided
2712         Tour (which is a kind of tutorial and will be next to Emacs Tutorial).
2713         Add link to "Customize Startup" and set interval between links to
2714         5 spaces.
2715         (fancy-about-text): Add links "Authors" and "Contributing".
2716         (fancy-splash-head): Add text "Welcome to " on the startup screen,
2717         and "This is " on the about screen.  Add link to
2718         "http://www.gnu.org/software/emacs/" for "GNU Emacs".
2719         For the about screen move emacs version to the header from
2720         `fancy-splash-tail' (as it's done already for normal about screen).
2721         (fancy-splash-tail): Insert emacs version only for startup screen.
2722         (normal-splash-screen): Remove duplicate empty lines.
2723         (normal-about-screen): Add links "Authors" and "Contributing".
2725         * menu-bar.el (menu-bar-help-menu):
2726         Move "About Emacs" and "About GNU" to the end of the Help menu.
2727         Move "Emacs Psychotherapist" after "Send Bug Report...".
2728         Move "External Packages" after "Find Emacs Packages".
2730 2007-09-09  Michael Albinus  <michael.albinus@gmx.de>
2732         * net/tramp.el (top): Remove declarations of `tramp-gw-*' symbols,
2733         they are useless with the byte compiler.
2734         (tramp-make-temp-file, tramp-make-tramp-temp-file): Move up.
2735         (tramp-do-copy-or-rename-file-directly): Rearrange let-bindings.
2736         (tramp-compute-multi-hops): Mask `tramp-gw-*' symbols.
2737         (tramp-file-name-real-host, tramp-file-name-port)
2738         (tramp-find-method, tramp-find-user, tramp-find-host): Make them
2739         defuns.
2741         * net/tramp-cache.el (top): Improve error message when
2742         `tramp-persistency-file-name' is corrupted.
2744 2007-09-09  Carsten Dominik  <dominik@science.uva.nl>
2746         * textmodes/org.el (org-re): Also replace the :alpha: class.
2747         (org-todo-tag-alist): Variable removed.
2748         (org-todo-key-alist, org-todo-key-trigger) New variables.
2749         (org-use-fast-todo-selection): New option.
2750         (org-log-done): Docstring fixed.
2751         (org-deadline-warning-days): New default value 14.
2752         (org-edit-timestamp-down-means-later) New option.
2753         (org-tag-alist): Docstring fixed.
2754         (org-fast-tag-selection-include-todo): New option.
2755         (org-export-language-setup): New languages added.
2756         (org-set-regexps-and-options): Compute the new variables.
2757         (org-paste-subtree): Cleaning up.
2758         (org-remember-apply-template): New escape %A.
2759         (org-todo): Call fast TODO selection.
2760         (org-fast-todo-selection): New function.
2761         (org-add-log-note): Allow prefix for abort exit.
2762         (org-at-property-p, org-entry-properties)
2763         (org-columns-get-autowidth-alist): Use :alpha: class.
2764         (org-get-wdays): New function.
2765         (org-agenda-remove-date): New variable.
2766         (org-agenda-get-deadlines): Use `org-get-wdays'.
2767         (org-agenda-get-deadlines): Reverse ee before returning.
2768         (org-format-agenda-item): New argument REMOVE-RE.
2769         (org-agenda-convert-date): Baha'i calendar added.
2770         (org-infile-export-plist): Also find DATE line.
2771         (org-get-min-level): New function.
2772         (org-export-as-html, org-export-as-ascii): Use the date format.
2773         (org-shiftup, org-shiftdown): Use.
2774         `org-edit-timestamp-down-means-later'.
2775         (org-assign-fast-keys): New function.
2777 2007-09-08  Fredrik Axelsson  <f.axelsson@gmail.com>
2779         * cus-start.el (all): Add prefer-window-split-horizontally from
2780         window.c.
2782 2007-09-08  Eli Zaretskii  <eliz@gnu.org>
2784         * net/browse-url.el (browse-url-galeon): Fix last change.
2785         (top-level): Require cl when compiling.
2787 2007-09-08  Carsten Dominik  <dominik@science.uva.nl>
2789         * textmodes/org-export-latex.el: arch-tag restored.
2791         * textmodes/org-publish.el: arch-tag restored.
2793 2007-09-08  Masatake YAMATO  <jet@gyve.org>
2795         * progmodes/which-func.el (which-func-modes): Add diff-mode.
2797         * progmodes/cc-langs.el: Support new keywords added to
2798         objective-c frontend of gcc.
2799         (c-simple-stmt-kwds): Add @throw.
2800         (c-block-stmt-2-kwds): Add @synchronized.
2801         (c-block-stmt-1-kwds): Add @finally and @try.
2803 2007-09-07  Carsten Dominik  <dominik@science.uva.nl>
2805         * textmodes/org.el (org-edit-timestamp-down-means-later): New option.
2806         (org-agenda-after-show-hook): New variable.
2807         (org-columns-compile-format)
2808         (org-columns-get-autowidth-alist, org-buffer-property-keys)
2809         (org-entry-properties, org-at-property-p): Allow [:alnum:] in
2810         property names.
2811         (org-get-wdays): New function.
2813 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2815         * simple.el (normal-erase-is-backspace-setup-frame): Massage.
2817         * term/xterm.el (xterm-function-map): Initialize in the declaration.
2819         * vc-arch.el (vc-arch-checkin): Fix typo.
2821 2007-09-07  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
2823         * cus-face.el (custom-theme-set-faces): Set face attributes
2824         locally for each frame.
2826 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2828         * progmodes/fortran.el (fortran-mode): Set font-lock-syntactic-keywords
2829         via font-lock-defaults.
2831         * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via
2832         derived-mode-p.
2834 2007-09-07  Thien-Thi Nguyen  <ttn@gnuvola.org>
2836         * progmodes/autoconf.el (autoconf-definition-regexp):
2837         Handle optional square brackets around definition name.
2839 2007-09-07  Johannes Weiner  <hannes@saeurebad.de>
2841         * net/browse-url.el (browse-url-browser-function): Add elinks.
2842         (browse-url-elinks-wrapper): New option.
2843         (browse-url-encode-url, browse-url-elinks)
2844         (browse-url-elinks-sentinel): New functions.
2845         (browse-url-file-url, browse-url-netscape, browse-url-mozilla)
2846         (browse-url-firefox, browse-url-galeon, browse-url-epiphany):
2847         Use new function browse-url-encode-url.
2849 2007-09-07  Glenn Morris  <rgm@gnu.org>
2851         * version.el (emacs-version): Revert 2007-08-29 change: no need to
2852         say if multi-tty is present.
2854 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2856         * cus-start.el (split-window-preferred-function): Add custom info.
2858         * calendar/holidays.el (holiday-list, calendar-check-holidays)
2859         (calendar-mark-holidays, calendar-list-holidays)
2860         (holiday-filter-visible-calendar): New names to clean up namespace.
2861         (filter-visible-calendar-holidays, list-calendar-holidays)
2862         (mark-calendar-holidays, check-calendar-holidays, list-holidays):
2863         Add compatibility aliases.
2864         (calendar-check-holidays, calendar-mark-holidays)
2865         (calendar-holiday-list, holiday-filter-visible-calendar): Use dolist.
2866         (holiday-sexp): Replace append with list.
2867         (holiday-filter-visible-calendar): Replace append with push.
2869         * woman.el: Remove spurious * in docstrings.
2870         (woman-mini-help, woman-non-underline-faces, woman0-rename)
2871         (woman-topic-all-completions-merge, woman-file-name-all-completions)
2872         (woman-select-symbol-fonts, woman-expand-directory-path): Use dolist.
2873         (woman-write-directory-cache, woman-display-extended-fonts)
2874         (WoMan-log-begin, WoMan-log-1): Use with-current-buffer.
2875         (woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails.
2876         (woman-mode): Use inhibit-read-only.
2877         (woman-negative-vertical-space): Use dotimes.
2878         (woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char.
2880 2007-09-06  Romain Francoise  <romain@orebokech.com>
2882         * vc-bzr.el (vc-bzr-admin-lastrev): New defconst.
2883         (vc-bzr-workfile-version): Use it.
2885 2007-09-06  Sean O'Rourke  <sorourke@cs.ucsd.edu>
2887         * complete.el (PC-do-completion): Don't try to treat
2888         empty string as an abbreviation.
2890 2007-09-06  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
2892         * help-fns.el (describe-variable): Keep doc's text properties.
2894 2007-09-06  Dan Nicolaescu  <dann@ics.uci.edu>
2896         * vc.el (vc-default-diff-tree): Pass a list to the diff vc command
2897         instead of a file.
2899 2007-09-06  Glenn Morris  <rgm@gnu.org>
2901         * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New.
2902         (checkdoc-minor-mode): Allow user to specify lighter via
2903         checkdoc-minor-mode-string.
2905 2007-09-05  Richard Stallman  <rms@gnu.org>
2907         * startup.el (fancy-startup-text): Rename from fancy-splash-text.
2908         Several items removed, simplified, or put on one line.
2909         (fancy-about-text): Add substantial contents, part of startup text.
2910         (fancy-splash-head): Make "GNU" or "GNU/Linux" a link.
2911         (normal-splash-screen): Call normal-mouse-startup-screen,
2912         normal-no-mouse-startup-screen, or normal-about-screen.
2913         (normal-mouse-startup-screen): New fn, broken out, shortened.
2914         (normal-no-mouse-startup-screen): New fn, broken out.
2915         (normal-about-screen): New function, contents all new.
2917 2007-09-05  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
2919         * emacs-lisp/rx.el (rx): Fix typo in docstring.
2921 2007-09-05  Glenn Morris  <rgm@gnu.org>
2923         * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
2924         is bound.
2926 2007-09-05  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
2928         * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
2929         in doc string.
2931 2007-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
2933         * server.el (server-start, server-unload-hook): Undo previous change.
2935         * xt-mouse.el: Undo previous change.
2937 2007-09-04  Juri Linkov  <juri@jurta.org>
2939         * startup.el (fancy-about-text): New variable.
2940         (fancy-splash-delay, fancy-splash-max-time): Remove user options.
2941         (fancy-current-text, fancy-splash-stop-time)
2942         (fancy-splash-outer-buffer): Remove variables.
2943         (fancy-splash-head, fancy-splash-tail): Add new optional argument
2944         `startup' and use it to conditionally display different texts for
2945         Startup and About screens.  Don't display Help commands on the About
2946         screen.
2947         (fancy-splash-screens-1): Remove function and move its content to
2948         `fancy-splash-screens' to the part that dislpays the About screen.
2949         (exit-splash-screen): Don't treat specially exiting from
2950         alternating screens.
2951         (fancy-splash-screens): Rename argument `static' to `startup'.
2952         Fix docstring.  Remove code for displaying alternating screens.
2953         Use arg `startup' in calls to `fancy-splash-head', `fancy-splash-tail'.
2954         Remove let-bind for `fancy-splash-outer-buffer' and add let-bind
2955         for `inhibit-read-only'.
2956         (normal-splash-screen): Rename argument `static' to `startup'.
2957         Fix docstring.  Use argument `startup' to conditionally display
2958         different texts for Startup and About screens.  Don't display Help
2959         commands on the About screen.  Remove `unwind-protect' `sit-for'
2960         delay and `kill-buffer' after it.
2961         (display-startup-echo-area-message): Remove call to
2962         `use-fancy-splash-screens-p' because image.el is preloaded and
2963         doesn't display "Loading image... done".
2964         (display-splash-screen): Rename argument `static' to `startup'.
2965         Fix docstring.
2967 2007-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
2969         * server.el (server-start, server-unload-hook):
2970         suspend-tty-functions has been renamed to suspend-tty-hook.
2972         * xt-mouse.el: Likewise. resume-tty-functions has been renamed to
2973         resume-tty-hook.
2975 2007-09-03  Emanuele Giaquinta  <e.giaquinta@glauco.it>  (tiny change)
2977         * loadup.el: Fix merge problem, only load "button" once.
2979 2007-09-03  Glenn Morris  <rgm@gnu.org>
2981         * vc-svn.el (vc-svn-print-log): If there is only one file, use
2982         "Working file:" as the prefix, for the sake of
2983         log-view-current-file.
2985 2007-09-02  Dan Nicolaescu  <dann@ics.uci.edu>
2987         * term/xterm.el (xterm-modify-other-keys-terminal-list): New variable.
2988         (xterm-turn-on-modify-other-keys): Only turn on modify-other-keys
2989         if the selected frames is in
2990         xterm-modify-other-keys-terminal-list.
2991         (xterm-turn-off-modify-other-keys): Add an optional frame
2992         parameter.  Only turn off modify-other-keys if FRAME is in
2993         xterm-modify-other-keys-terminal-list.
2994         (xterm-remove-modify-other-keys): New function.
2995         (terminal-init-xterm): Use it.  Deal with delete-frame hook.
2996         Add the selected frame to xterm-modify-other-keys-terminal-list.
2998 2007-09-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
3000         * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager.
3001         (icon-map-list): New variable.
3002         (x-gtk-map-stock): Use icon-map-list.
3004 2007-09-02  Romain Francoise  <romain@orebokech.com>
3006         * log-view.el (log-view-current-file): Balance parens.
3008 2007-09-02  Glenn Morris  <rgm@gnu.org>
3010         * comint.el (comint-mode): Don't set scroll-conservatively.
3012         * eshell/em-unix.el (eshell/time): Stringify and flatten the
3013         non-command arguments.
3015         * log-view.el (log-view-current-file): Give a more explicit error
3016         if log-view-file-re fails to find a match.
3018 2007-09-01  Thien-Thi Nguyen  <ttn@gnuvola.org>
3020         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3021         Fix bug: Don't expand top-level file name more than once.
3022         Reported by Dmitry Antipov <dmantipov@yandex.ru>.
3024 2007-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3026         * server.el (server-process-filter): Don't display the splash screen.
3027         It's annoying enough on the initial screen and becomes positively
3028         obnoxious here.
3030 2007-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3032         * emacs-lisp/avl-tree.el: Use defstruct rather than macros.
3033         Change naming to use "avl-tree--" for internal functions.
3035 2007-08-31  Dan Nicolaescu  <dann@ics.uci.edu>
3037         * term/x-win.el (x-menu-bar-open): Delete duplicated function from
3038         the merge.
3039         (global-set-key): Delete f10 mapping, now done in menu-bar.el.
3040         (provide): Move to the end of file.
3042         * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff.
3044 2007-08-31  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
3046         * textmodes/flyspell.el (flyspell-mark-duplications-exceptions):
3047         New variable.  List of exceptions for the duplicated word rule.
3048         (flyspell-mark-duplications-flag): Mention it.
3049         (flyspell-word): Treat it.
3051         * files.el (create-file-buffer): If the filename sans directory starts
3052         with spaces, remove them.
3054 2007-08-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
3056         * term/x-win.el (x-gtk-stock-map): Add etc/images to keys.
3057         (x-gtk-map-stock): Use two directory elements when matching
3058         file name.
3060 2007-08-31  James Wright  <james@chumsley.org>
3062         * eshell/em-unix.el (eshell/info): New function.
3064 2007-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3066         * frame.el (frame-initialize, make-frame):
3067         * server.el (server-process-filter):
3068         * faces.el (tty-set-up-initial-frame-faces): Don't set
3069         term-environment-variable since it's not used any more.
3071         * env.el (setenv): Don't treat $TERM specially.
3073         * startup.el (normal-top-level): Set $TERM to `dumb' so that unless
3074         stated otherwise, subprocesses do not send back escape sequences
3075         corresponding to the terminal from which Emacs was started.
3077 2007-08-31  Thien-Thi Nguyen  <ttn@gnuvola.org>
3079         * calculator.el: Require cl for compilation.
3081 2007-08-30  Daniel Pfeiffer  <occitan@esperanto.org>
3083         * outline.el (outline-font-lock-levels): Comment out unused var.
3084         (outline-font-lock-face): Wrap around face list to handle any
3085         nesting depth gracefully.
3087 2007-08-30  Michael Albinus  <michael.albinus@gmx.de>
3089         * net/ange-ftp.el: Add ange-ftp property to `set-file-modes' and
3090         `set-file-times'.
3092 2007-08-30  Carsten Dominik  <dominik@science.uva.nl>
3094         * textmodes/org.el (org-export-visible): Fix drawers before export.
3095         (org-do-sort): Allow sorting by priority.
3096         (org-agenda-files): Ignore non-existing files.
3097         (org-agenda-skip-unavailable-files): New variable.
3098         (org-ellipsis): All a face as value.
3099         (org-mode): Interprete the face value of `org-ellipsis'.
3100         (org-archive-save-context-info): New option.
3101         (org-archive-subtree): Store context info in archived entry.
3102         (org-fast-tag-selection-can-set-todo-state): New variable.
3103         (org-fast-tag-selection): Allow setting TODO states through this
3104         interface.
3105         (org-cycle): Docstring updated.
3106         (org-todo-keyword-faces): New option.
3107         (org-get-todo-face): New function.
3108         (org-set-font-lock-defaults, org-agenda-highlight-todo):
3109         Use `org-get-todo-face'.
3110         (org-switch-to-buffer-other-window): New function.
3111         (org-table-edit-field, org-table-show-reference)
3112         (org-table-edit-formulas, org-add-log-note)
3113         (org-fast-tag-selection, org-agenda, org-prepare-agenda)
3114         (org-timeline): Use `org-switch-to-buffer-other-window' instead of
3115         `switch-to-buffer-other-window' to make sure that the temporary
3116         windows show up on the current frame.
3117         (org-mhe-get-message-real-folder, org-batch-store-agenda-views)
3118         (org-get-entries-from-diary, org-replace-region-by-html):
3119         Don't allow pop-up frames.
3120         (org-agenda-get-deadlines, org-agenda-get-scheduled):
3121         Fix problems with time-of-day.
3122         (org-export-get-title-from-subtree): New function.
3123         (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems
3124         with listing items that are DONE.
3125         (org-change-tag-in-region): New command.
3126         (org-agenda-skip-scheduled-if-done)
3127         (org-agenda-skip-deadline-if-done): Docstring clarified.
3128         (org-mode): Hide drawers on startup.
3129         (org-get-todo-face): New function.
3130         (org-todo-keyword-faces): New option.
3131         (org-set-regexps-and-options): Use `org-remove-keyword-keys'.
3132         (org-remove-keyword-keys): New function.
3134 2007-08-30  Jari Aalto  <jari.aalto@cante.net>  (tiny change)
3136         * progmodes/grep.el (grep-find-ignored-directories):
3137         Add monotone _MTN bookkeeping directory in workspaces.
3138         Add RCS control directory.  List items in alphabetical order.
3140         * progmodes/grep.el (grep-files-aliases): Add cc alias.
3141         Sort items in alphabetical order.  Fix parens.
3143 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
3145         * vc-hg.el (vc-hg-extra-menu-map): New variable.
3146         (vc-hg-extra-menu, vc-hg-outgoing, vc-hg-incoming, vc-hg-push)
3147         (vc-hg-pull): New functions.
3148         (vc-hg-outgoing-mode, vc-hg-incoming-mode): New derived modes.
3150         * term/mac-win.el: Don't require url, only autoloaded url
3151         functions are used in this file.
3153 2007-08-29  Andreas Schwab  <schwab@suse.de>
3155         * shell.el (shell): Return correct value from interactive spec.
3157 2007-08-29  Glenn Morris  <rgm@gnu.org>
3159         * version.el (emacs-version): Increase to 23.0.50.
3161 2007-08-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
3163         * term/x-win.el (x-gtk-stock-map): :version changed to 23.1.
3165 2007-08-29  Juri Linkov  <juri@jurta.org>
3167         * loadup.el: Add "button" loading after "faces" and move "startup"
3168         to load after "button".
3170 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
3172         * loadup.el: Load term/mac-win on a Mac using Carbon.
3174         * term/mac-win.el: Provide mac-win.
3175         (mac-initialized): New variable.
3176         (mac-initialize-window-system): New function.  Move global setup here.
3177         (handle-args-function-alist, frame-creation-function-alist):
3178         (window-system-initialization-alist): Add mac entries.
3179         (x-setup-function-keys): New function containing all the
3180         top level function key definitions.
3182         * term/x-win.el (x-menu-bar-open): Use accelerate-menu.
3184         * env.el (read-envvar-name): Don't consider the environment frame param.
3186         * env.el (setenv):
3187         * frame.el (frame-initialize, make-frame):
3188         * faces.el (tty-set-up-initial-frame-faces):
3189         * server.el (server-process-filter): Set
3190         display-environment-variable and term-environment-variable.
3192         * server.el (server-process-filter): Set COLORFGBG and COLORTERM.
3194 2007-08-29  Jason Rumney  <jasonr@gnu.org>
3196         * loadup.el: Only load term/x-win when X is compiled in.
3197         Load term/w32-win and dependencies on windows-nt.
3199         * term/w32-win.el: Reorder to match x-win.el more closely.
3200         Provide w32-win.  Don't throw error when global window-system not w32.
3201         (internal-face-interactive): Remove obsolete function.
3202         (x-setup-function-keys): Use local-function-key-map.
3203         (w32-initialized): New variable.
3204         (w32-initialize-window-system): Set it.
3205         Move more global setup here.
3206         (x-setup-function-keys): New function.
3207         (w32-initialize-window-system): Move non function key global setup here.
3208         (x-cut-buffer-max): Remove.
3209         (w32-initialize-window-system): New function.
3210         (handle-args-function-alist, frame-creation-function-alist):
3211         (window-system-initialization-alist): Add w32 entries.
3213 2007-08-29  David Kastrup  <dak@gnu.org>
3215         * env.el (getenv): Pass frame to getenv-internal.
3217 2007-08-29  Karoly Lorentey  <lorentey@elte.hu>
3219         * version.el (emacs-version): Show if multi-tty is present.
3221         * loadup.el: Delay loading env; mule-conf gets confused by cl
3222         during bootstrap.  Also load termdev and term/x-win.
3224         * bindings.el (mode-line-client): New variable.
3225         (help-echo): Add it to the default mode-line format.
3227         * cus-start.el: Remove bogus window-system reference from GTK test.
3229         * ebrowse.el (ebrowse-electric-list-mode-map)
3230         (ebrowse-electric-position-mode-map):
3231         * ebuff-menu.el (electric-buffer-menu-mode-map):
3232         * echistory.el (electric-history-map): Bind C-z to `suspend-frame',
3233         not `suspend-emacs'.
3235         * ediff-wind.el (ediff-setup-windows-automatic): New function.
3236         (ediff-window-setup-function): Use it as default.
3238         * files.el (save-buffers-kill-terminal): New function.
3239         (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal.
3241         * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'
3242         and `with-selected-frame'.
3244         * help-fns.el (describe-variable): Describe frame-local variables
3245         correctly.
3247         * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
3248         display support.
3249         (normal-erase-is-backspace-setup-frame): New function.
3251         * subr.el (with-selected-frame): New function.
3252         (read-quoted-char): Use terminal-local binding of
3253         local-function-key-map instead of function-key-map.
3255         * talk.el (talk): New function.
3256         (talk-handle-delete-frame): New function.
3257         (talk-add-display): Open a new frame only if FRAME was not a frame.
3259         * termdev.el: New file.
3261         * menu-bar.el (menu-bar-open): New function.  Bind it to f10.
3262         * term/x-win.el: Don't bind f10.
3263         * tmm.el: Remove autoload binding for f10.
3265         * international/encoded-kb.el (encoded-kbd-setup-display): Use
3266         `set-input-meta-mode'.  Fix broken condition before set-input-mode.
3267         Store the saved input method as a terminal parameter.  Add keymap
3268         parameter.  Use it instead of changing key-translation-map directly.
3269         (saved-key-translation-map, encoded-kbd-mode, saved-input-mode):
3270         Remove.
3271         (encoded-kbd-setup-display): New function.
3273         * international/mule-cmds.el (set-locale-environment): Fix getenv
3274         call.  Use save-buffers-kill-terminal.  Ignore window-system; always
3275         set the keyboard coding system.  Add DISPLAY parameter.
3276         (set-display-table-and-terminal-coding-system): Add DISPLAY
3277         parameter.  Pass it to set-terminal-coding-system.
3279         * international/mule.el (keyboard-coding-system): Test for
3280         encoded-kbd-setup-display, not encoded-kbd-mode.
3281         (set-terminal-coding-system, set-keyboard-coding-system): Add
3282         DISPLAY parameter.
3283         (set-keyboard-coding-system): Use encoded-kbd-setup-display.
3285         * term/README: Update.
3287         * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
3289         * term/x-win.el (x-setup-function-keys): New function.  Move
3290         function-key-map tweaks here.  Protect against multiple calls on
3291         the same terminal.  Use terminal-local binding of
3292         local-function-key-map instead of function-key-map.
3293         (x-initialize-window-system): Make a copy of pure list.  Pass a
3294         frame getenv.
3296         * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el:
3297         * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el:
3298         * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el:
3299         * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el:
3300         * term/tvi970.el, term/wyse50.el: Use terminal-local binding of
3301         local-function-key-map instead of function-key-map.
3303         * term/rxvt.el, term/xterm.el: Speed up load time by protecting
3304         `substitute-key-definition' and `define-key' calls against
3305         multiple execution.  Use terminal-local binding of
3306         local-function-key-map instead of function-key-map.  Pass a frame
3307         to getenv.
3309         * edmacro.el (edmacro-format-keys):
3310         * emulation/cua-base.el (cua--pre-command-handler):
3311         * isearch.el (isearch-other-meta-char):
3312         * xt-mouse.el: Use terminal-local binding of
3313         local-function-key-map instead of function-key-map.
3315         * fringe.el (set-fringe-mode): Simplify and fix using
3316         `modify-all-frames-parameters'.
3317         * scroll-bar.el (set-scroll-bar-mode): Ditto.
3318         * tool-bar.el (tool-bar-mode): Ditto.  Remove 'tool-bar-map length
3319         check before calling `tool-bar-setup'.
3320         (tool-bar-setup): New variable.
3321         (tool-bar-setup): Use it to guard against multiple calls.  Add
3322         optional frame parameter, and select that frame before adding items.
3323         (toggle-tool-bar-mode-from-frame): New function.
3325         * menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
3326         (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and
3327         toggle-tool-bar-mode-from-frame to change "Menu-bar" and
3328         "Tool-bar" toggles to reflect the state of the current frame.
3329         (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'.
3331         * env.el: Require cl for byte compilation (for `block' and `return').
3332         (environment, setenv-internal): New functions.
3333         (let-environment): New macro.
3334         (setenv, getenv): Add optional terminal parameter.  Update docs.
3335         (setenv): Use setenv-internal.  Always set process-environment.
3336         Handle `local-environment-variables'.
3337         (read-envvar-name, setenv, getenv): Use frame parameters
3338         to store the local environment, not terminal parameters.  Include
3339         `process-environment' as well.
3341         * faces.el (tty-run-terminal-initialization): New function.
3342         (tty-create-frame-with-faces): Use it.  Set up faces and
3343         background mode only after the terminal has been initialized.
3344         Call terminal-init-*.  Don't load the initialization file more
3345         than once.  Call set-locale-environment.
3346         (frame-set-background-mode): Handle the 'background-mode terminal
3347         parameter.
3348         (tty-find-type): New function.
3349         (x-create-frame-with-faces): Remove bogus check for
3350         first frame.  Call `tool-bar-setup'.  Don't make frame visible
3351         until we are done setting up all its parameters.  Call
3352         x-setup-function-keys.
3354         * frame.el (make-frame): Always inherit 'environment and 'client
3355         parameters.  Set up the 'environment frame parameter, when needed.
3356         Also inherit 'client parameter.  Don't override explicitly
3357         specified values with inherited ones.  Add 'terminal frame
3358         parameter.  Append window-system-default-frame-alist to parameters
3359         before calling frame-creation-function.
3360         (frame-initialize): Copy the environment from the initial frame.
3361         (window-system-default-frame-alist): Enhance doc string.
3362         (frame-notice-user-settings): Don't put 'tool-bar-lines in
3363         `default-frame-alist' when initial frame is on a tty.
3364         (modify-all-frames-parameters): Simplify using `assq-delete-all'.
3365         Remove specified parameters from `window-system-default-frame-alist'.
3366         (make-frame-on-tty, framep-on-display, suspend-frame):
3367         Extend doc string, update parameter names.
3368         (frames-on-display-list): Use terminal-id to get the display id.
3369         (frame-notice-user-settings): Extend to apply
3370         settings in `window-system-default-frame-alist' as well.
3371         (terminal-id, terminal-parameters, terminal-parameter)
3372         (set-terminal-parameter, terminal-handle-delete-frame): New functions.
3373         (delete-frame-functions): Add to `delete-frame-functions' hook.
3374         (blink-cursor-mode): Adapt blink-cursor-mode default
3375         value from startup.el.
3376         (make-frame-on-display): Protect condition on x-initialized when
3377         x-win.el is not loaded.  Update doc.
3378         (suspend-frame): Use display-controlling-tty-p to decide between
3379         suspend-emacs and suspend-tty.
3380         (frames-on-display-list): Update for display ids.
3381         (framep-on-display): Ditto.
3382         (suspend-frame): Use display-name, not frame-tty-name.
3383         (selected-terminal): New function.
3385         * server.el: Use `device' instead of `display' or `display-id' in
3386         variable and client parameter names.
3387         (server-select-display): Remove (unused).
3388         (server-tty-live-p, server-handle-delete-tty): Remove.
3389         (server-unquote-arg, server-quote-arg, server-buffer-clients):
3390         Update docs.
3391         (server-getenv-from, server-with-environment, server-send-string)
3392         (server-save-buffers-kill-terminal): New functions.
3393         (server-delete-client): Handle quits in kill-buffer.  Don't kill
3394         modified buffers.  Add extra logging.  Delete frames after
3395         deleting the tty.  Clear 'client parameter before deleting a frame.
3396         Use delete-display, not delete-tty.
3397         (server-visit-files): Don't set `server-existing-buffer' if the
3398         buffer already has other clients.  Return list of buffers
3399         created.  Update doc.  Don't set client-record when nowait.
3400         (server-handle-delete-frame): Delete the client if this was its
3401         last frame.  Check that the frame is alive.  Remove bogus comment.
3402         Add note on possible race condition.  Delete tty clients, if needed.
3403         (server-handle-suspend-tty): Use server-send-string.  Kill the
3404         client in case of errors from process-send-string.  Use the display
3405         parameter.
3406         (server-unload-hook): Remove obsolete delete-tty hook.
3407         (server-start): Ask before restarting if the old server still has
3408         clients.  Add feedback messages.  Remove obsolete delete-tty hook.
3409         (server-process-filter): Use server-send-string.  Accept `-dir'
3410         command.  Switch to *scratch* immediately after creating the frame,
3411         before evaluating any -evals.  Protect `display-splash-screen'
3412         call in a condition-case.  Explain why.  Call
3413         `display-startup-echo-area-message' before
3414         `display-splash-screen'.  Don't display the splash screen when no
3415         frame was created.  Show the Emacs splash screen and startup echo
3416         area message.  Display the *scratch* buffer by default.  Store the
3417         local environment in a frame (not terminal) parameter.  Do not try
3418         to decode environment strings.  Fix reference to the 'display
3419         frame parameter.  Change syntax of environment variables.  Put
3420         environment into terminal parameters, not client parameters.  Use
3421         a dummy client with --no-wait's X frames.  In `-position LINE'
3422         handler, don't ruin the request string until the line number is
3423         extracted.  Log opened files.  Handle -current-frame command.
3424         Don't create frames when it is given.  Don't bind X frames to the
3425         client when we are in -no-wait mode.  Set locale environment
3426         variables from client while creating tty frames.  Disable call to
3427         configure-display-for-locale.  When processing -position command,
3428         don't change the request string until the parameters are
3429         extracted.  Don't try to create an X frame when Emacs does not
3430         support it.  Improve logging.  Temporarily set ncurses-related
3431         environment variables to those of the client while creating a new
3432         tty frame.  Select buffers opened by nowait clients, don't leave
3433         them buried under others.  Set the display parameter, and use it
3434         when appropriate.
3436         * startup.el (display-startup-echo-area-message): Handle
3437         `inhibit-startup-echo-area-message' here.
3438         (command-line-1): Moved from here.
3439         (fancy-splash-screens): Use `overriding-local-map' instead of
3440         `overriding-terminal-local-map' for now; the latter doesn't work
3441         right, it looses keypresses to another terminal.  Use
3442         `overriding-terminal-local-map' to set up keymap.  Install a
3443         `delete-frame-functions' hook to catch `delete-frame' events.
3444         Ignore `select-window' events to cope better with
3445         `focus-follows-mouse'.  Don't switch back to the original buffer
3446         if the splash frame has been killed.  Restore previous buffer, even
3447         if it's *scratch*.
3448         (normal-splash-screen): Don't let-bind `mode-line-format'; it
3449         changes the global binding - setq it instead.  Use
3450         `save-buffers-kill-terminal'.
3451         (display-splash-screen): Don't do anything if the splash screen is
3452         already displayed elsewhere.
3453         (fancy-splash-exit, fancy-splash-delete-frame): New functions.
3454         (command-line): Replace duplicated code with a call to
3455         tty-run-terminal-initialization.  Don't load the terminal
3456         initialization file more than once.  Remove call to nonexistent
3457         function `set-locale-translation-file-name'.
3459         * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
3460         parameters.
3461         (xterm-mouse-position-function, xterm-mouse-event): Update.
3462         (xterm-mouse-mode): Don't depend on current value of window-system.
3463         (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
3464         Update for multi-tty.
3465         (turn-on-xterm-mouse-tracking-on-terminal)
3466         (turn-off-xterm-mouse-tracking-on-terminal)
3467         (xterm-mouse-handle-delete-frame): New functions.
3468         (delete-frame-functions, after-make-frame-functions)
3469         (suspend-tty-functions, resume-tty-functions): Install extra hooks
3470         for multi-tty.
3472 2007-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3474         * simple.el (invisible-p): Remove: implemented in C now.
3475         (line-move-invisible-p): Remove obsolete alias.
3477 2007-08-28  Juri Linkov  <juri@jurta.org>
3479         * image-mode.el (image-type): New variable.
3480         (image-mode): Set default major mode name to "Image[text]".
3481         (image-minor-mode): Change LIGHTER to display image-type in the
3482         mode line.
3483         (image-minor-mode): Set default image-type to "text".
3484         (image-toggle-display): After switching to text mode, set
3485         image-type to "text" and major mode name to "Image[text]".
3486         After switching to image mode, set image-type to actual image
3487         type, and add image type to major mode name.  Let-bind the same
3488         variable names as arguments of `image-type' and `create-image'.
3489         Bind `type' to the result of `image-type' and use it as arg
3490         of `create-image' to not determine the image type twice.
3492 2007-08-28  Michael Albinus  <michael.albinus@gmx.de>
3494         * net/tramp.el (tramp-handle-set-file-times): Flush the file properties.
3495         (tramp-set-file-uid-gid, tramp-get-local-uid)
3496         (tramp-get-local-gid): New defuns.
3497         (tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID.
3498         (tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID.
3499         Improve fast track.
3500         (tramp-do-copy-or-rename-file-directly): Sync parameter list with
3501         the other tramp-do-copy-or-rename-file-* functions.  Major rewrite.
3502         (tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
3503         (tramp-handle-write-region): Improve fast track.
3504         (tramp-handle-file-remote-p): IDENTIFICATION can also be `localname'.
3505         (tramp-maybe-open-connection): Let `process-adaptive-read-buffering'
3506         be nil.
3508 2007-08-28  Ivan Kanis  <apple@kanis.eu>
3510         * time.el: New feature to display several time zones in a buffer.
3511         (display-time-world-mode, display-time-world-display)
3512         (display-time-world, display-time-world-timer): New functions.
3513         (display-time-world-list, display-time-world-time-format)
3514         (display-time-world-buffer-name, display-time-world-timer-enable)
3515         (display-time-world-timer-second, display-time-world-mode-map):
3516         New variables.
3518 2007-08-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
3520         * term/x-win.el (x-gtk-stock-map): New variable.
3521         (x-gtk-map-stock): New function.
3523         * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and
3524         prev/next-node.
3526 2007-08-28  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>  (tiny change)
3528         * play/gamegrid.el (gamegrid-init): Set line-spacing to 0.
3530 2007-08-28  Glenn Morris  <rgm@gnu.org>
3532         * progmodes/cc-langs.el (c-constant-kwds): Add java: null, true, false.
3534 2007-08-27  Thien-Thi Nguyen  <ttn@gnuvola.org>
3536         * progmodes/modula2.el (m2-definition, m2-module):
3537         Don't use previous-line.  Reported by T. V. Raman.
3539 2007-08-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
3541         * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
3542         argument to tool-bar-mode call.
3544 2007-08-27  Glenn Morris  <rgm@gnu.org>
3546         * diff-mode.el (diff-find-file-name): Only accept regular files,
3547         to rule out /dev/null, directories, etc.
3549         * vc-svn.el (vc-svn-diff): If the repository version of all the
3550         files is the same as the specified OLDVERS, do a local diff.
3552 2007-08-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3554         * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness
3555         of buffers in uniquify-managed.
3557         * simple.el (invisible-p): Rename from text-invisible-p.
3558         Update callers.
3560 2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3562         * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face)
3563         (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode)
3564         (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces)
3565         (cperl-etags-goto-tag-location): Use new style backquotes.
3567         * net/browse-url.el: Remove spurious * in custom docstrings.
3568         (browse-url-filename-alist): Use new-style backquote.
3570         * emacs-lisp/backquote.el (backquote-unquote-symbol)
3571         (backquote-splice-symbol): Clarify they're not new-style unquotes.
3573         * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,)
3574         (\,@): Backslash the , and ,@ which are not new-style unquotes.
3576         * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote.
3578         * net/socks.el (socks-username/password-auth-filter):
3579         Remove unused vars `state' and `desired-len'.
3580         (socks-parse-services, socks-nslookup-host): Use with-current-buffer.
3581         (socks-wait-for-state-change): Use new-style backquotes.
3583         * pcvs.el (cvs-mode-status): Fix long-standing typo.
3585         * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style
3586         backquotes after each `read' rather than once per buffer.
3588         * dframe.el: Remove spurious * in custom docstrings.
3589         (dframe-xemacsp): Remove, use (featurep 'xemacs) instead.
3590         (dframe-xemacs20p): Remove, inline at the sole use point.
3591         (defface): Don't defvar the face, don't use old-style backquote.
3592         (defcustom): Don't use old-style backquote.
3593         (dframe-frame-parameter, dframe-mouse-event-p):
3594         Make it obvious that it's always defined.
3595         (dframe-popup-kludge): New function to replace
3596         dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge.
3597         (dframe-frame-mode, dframe-set-timer-internal)
3598         (dframe-mouse-set-point): Remove use of with-no-warnings from
3599         XEmacs-specific code.
3600         (dframe-set-timer-internal): Fix very old bug with
3601         post-command-idle-hook.
3603         * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'.
3605 2007-08-27  Thien-Thi Nguyen  <ttn@gnuvola.org>
3607         * emacs-lisp/avl-tree.el: New file.
3609 2007-08-26  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
3611         * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
3612         was used.
3614 2007-08-26  Sean O'Rourke  <seano@cs.ucsd.edu>
3616         * complete.el (PC-do-completion): Make RET accept a non-unique but
3617         complete expansion again.
3619 2007-08-26  Thien-Thi Nguyen  <ttn@gnuvola.org>
3621         * eshell/esh-opt.el (eshell-eval-using-options):
3622         Add debug declaration.
3624 2007-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
3626         * log-view.el (log-view-toggle-mark-entry): Add docstring.
3627         (log-view-get-marked): Likewise.
3629         * vc-hooks.el (vc-registered): Use mapc instead of mapcar.
3630         (vc-delete-automatic-version-backups): Likewise.
3632         * vc.el (vc-dired-buffers-for-dir): Likewise.
3634 2007-08-25  Dan Nicolaescu  <dann@ics.uci.edu>
3636         * progmodes/cperl-mode.el (cperl-indent-level): Autoload the
3637         safe-local-variable setting.
3638         * progmodes/perl-mode.el (perl-indent-level): Likewise.
3640         * log-view.el (log-view-marked-list): Delete variable.
3641         (log-view-mode): Don't use it.
3642         (log-view-toggle-mark-entry): Likewise, simplify.
3643         (log-view-current-tag): Don't return properties.
3644         (log-view-get-marked): New function.
3646 2007-08-25  Alexandre Julliard  <julliard@winehq.org>
3648         * vc-git.el (vc-git-mode-line-string): New function.
3650 2007-08-25  Alan Mackenzie  <acm@muc.de>
3652         * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist):
3653         new language variable.
3655         * progmodes/cc-engine.el (c-brace-anchor-point): new function.
3656         (c-add-stmt-syntax): Give accurate anchor points for "namespace",
3657         "extern" etc., rather than BOI.  Fix addition of spurious
3658         syntactic-symbol 'defun-block-intro, replacing it with
3659         'innamespace, etc.
3661 2007-08-25  Juri Linkov  <juri@jurta.org>
3663         * files.el (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el.
3665         * image-mode.el: Add autoloads to put associations in auto-mode-alist:
3666         associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and
3667         "\\.svgz?\\'" with xml-mode and image-mode-maybe.
3669         * image.el (image-type-header-regexps): Use more complex regexp for svg.
3670         (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg).
3671         (image-type-auto-detectable): Add (svg . maybe).
3673         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add .svgz
3674         to treat it like .tgz.
3676         * calendar/cal-bahai.el: Add file coding cookie.
3678 2007-08-25  Reiner Steib  <Reiner.Steib@gmx.de>
3680         * pcvs.el (cvs-query-directory): Only prompt when prefix is given.
3681         Don't behave differently when executed via M-x.  Add doc string.
3683         * sort.el (sort-fold-case, sort-numeric-base): Mark as
3684         safe-local-variable.
3686 2007-08-25  Jay Belanger  <jay.p.belanger@gmail.com>
3688         * calc/calc-forms.el (var-TimeZone): Make nil explicitly
3689         the default value.
3690         (math-calendar-tzinfo): New variable.
3691         (math-get-calendar-tzinfo): New function.
3692         (calcFunc-tzone, calcFunc-dst): Use Emacs's calendar
3693         to get information when zone is nil.
3695 2007-08-24  Dan Nicolaescu  <dann@ics.uci.edu>
3697         * log-view.el (log-view-toggle-mark-entry): New function.
3698         (log-view-mode-map): Bind it.
3699         (log-view-marked-list): New variable.
3700         (log-view-mode): Make it local.
3702 2007-08-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
3704         * play/zone.el (zone-pgm-rat-race): New func.
3705         (zone-programs): Add `zone-pgm-rat-race'.
3707 2007-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3709         * emacs-lisp/byte-opt.el (byte-optimize-if): Don't presume `clause' is
3710         a list.
3712 2007-08-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
3714         * progmodes/hideshow.el (hs-match-data): Delete alias.
3715         (hs-hide-block-at-point, hs-find-block-beginning)
3716         (hs-show-block): Use `match-data' directly.
3718 2007-08-24  Martin Rudalics  <rudalics@gmx.at>
3720         * format.el (format-alist): Fix typo in doc-string.
3722 2007-08-24  Michael Albinus  <michael.albinus@gmx.de>
3724         * net/tramp.el (tramp-local-host-p): New defun.
3725         (tramp-handle-file-local-copy, tramp-handle-write-region):
3726         Implement fast track when being on the local host.
3727         (tramp-file-name-handler): Don't set "started" property.  It shall
3728         be reserved for the "ftp" method.
3729         (tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'.
3731         * net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'.
3732         (tramp-ftp-file-name-handler): Set "started" property.
3734 2007-08-24  Ulrich Mueller  <ulm@gentoo.org>  (tiny change)
3736         * files.el (backup-buffer-copy): Don't wrap delete in
3737         condition-case, only try to delete if file exists.
3739 2007-08-24  Glenn Morris  <rgm@gnu.org>
3741         * files.el (backup-buffer-copy): Revert 2007-08-22 change.
3743         * startup.el (tutorial-directory): Set with eval-at-startup so it
3744         gets the right value in an installed Emacs.
3746 2007-08-24  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
3748         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
3749         (eldoc-highlight-function-argument): Use it.
3751 2007-08-23  Masatake YAMATO  <jet@gyve.org>
3753         * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight
3754         name of parameters in document body.
3756 2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3758         * emacs-lisp/bytecomp.el (byte-compile-output-docform)
3759         (byte-compile-output-as-comment): Use with-current-buffer rather than
3760         a weird set-buffer&prog1 combination.
3762         * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the
3763         test so as to optimise cases where the `progn's result is constant.
3765 2007-08-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
3767         * locate.el (locate-get-file-positions):
3768         Use line-beginning-position and line-end-position.
3770 2007-08-23  John Wiegley  <johnw@newartisans.com>
3772         * calendar/cal-bahai.el: Added in the diacriticals that were
3773         missing for many of the month names.
3775 2007-08-22  Jason Rumney  <jasonr@gnu.org>
3777         * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix.
3779 2007-08-22  Chong Yidong  <cyd@stupidchicken.com>
3781         * image-mode.el (image-minor-mode): Use image-mode-text-map.
3783 2007-08-22  Sean O'Rourke  <sorourke@cs.ucsd.edu>
3785         * dabbrev.el (dabbrev--progress-reporter): New variable.
3786         (dabbrev--scanning-message): Delete func.
3787         (dabbrev--find-expansion): Use a progress reporter
3788         instead of dabbrev--scanning-message.
3790 2007-08-22  Michael Albinus  <michael.albinus@gmx.de>
3792         * comint.el (comint-exec-1): Raise an error if
3793         `start-file-process' does not return a process object.
3795         * shell.el (shell): Prompt for `default-directory' if it is a
3796         remote file name, and if called with a prefix arg.
3798 2007-08-22  Sam Steingold  <sds@gnu.org>
3800         * pcvs.el (cvs-vc-command-advice): Fix a typo in code (file->files).
3802 2007-08-22  Carsten Dominik  <dominik@science.uva.nl>
3804         * textmodes/org-export-latex.el: New file.
3806         * textmodes/org-publish.el (org-publish-org-to-latex): New function.
3808         * textmodes/org.el (org-agenda-skip): Allow a form for
3809         `org-agenda-skip-function'.
3810         (org-agenda-redo): Re-use local settings.
3811         (org-agenda): Store local settings.
3812         (org-agenda-deadline-faces): New option.
3813         (org-agenda-deadline-face): New function.
3814         (org-agenda-get-deadlines, org-agenda-get-scheduled): Also handle
3815         entries on their due date.
3816         (org-agenda-get-timestamps): No longer handle the due dates of
3817         schedules and deadline items.
3818         (org-insert-link-global, org-open-at-point-global): New commands.
3819         (org-export-as-ascii): Call `org-cleaned-string-for-export' with a
3820         :for-ascii parameter.
3821         (org-skip-comments): Function removed.
3822         (org-cleaned-string-for-export): Handle special table lines.
3823         (org-global-properties): New option.
3824         (org-entry-get-with-inheritance): Check global properties.
3825         (org-local-properties): New variable.
3826         (org-set-regexps-and-options): Find the #+PROPERTY line.
3827         (org-link-types): Change type into variable (was constant).
3828         (org-make-link-regexps): New function.
3829         (org-link-re-with-space, org-link-re-with-space2)
3830         (org-angle-link-re, org-plain-link-re, org-bracket-link-regexp)
3831         (org-bracket-link-analytic-regexp, org-any-link-re): Creation of
3832         these regular expressions happens now in the function
3833         `org-make-link-regexps'.
3834         (org-store-link): Call the functions in
3835         `org-store-link-functions'.
3836         (org-add-link-type): New function.
3837         (org-store-link-functions): New variable.
3838         (org-activate-tags): Force matches to be in headlines.
3839         (org-batch-store-agenda-views): Fix bug with killing agenda buffer.
3840         (org-columns-display-here): Make sure this works in a narrowed
3841         buffer by checking for point-min.
3842         (org-columns-display-here): Make the rest of the line intangible,
3843         so that point never can be there.
3844         (org-cleaned-string-for-export): Use `with-current-buffer'.
3845         (org-replace-region-by-html): Use `with-current-buffer'.
3846         (org-unfontify-region, org-do-occur, org-columns-display-here)
3847         (org-columns-remove-overlays, org-columns-quit)
3848         (org-columns-edit-value, org-columns-next-allowed-value)
3849         (org-eval-in-calendar, org-agenda-undo, org-no-read-only)
3850         (org-finalize-agenda, org-remove-subtree-entries-from-agenda)
3851         (org-agenda-todo, org-agenda-change-all-lines)
3852         (org-agenda-align-tags, org-agenda-priority)
3853         (org-agenda-set-tags, org-agenda-toggle-archive-tag)
3854         (org-agenda-show-new-time, org-cleaned-string-for-export)
3855         (org-export-grab-title-from-buffer)
3856         (org-export-as-ascii, org-export-as-html): Use `inhibit-read-only'
3857         instead of `buffer-read-only'.
3858         (org-export-as-html): Set `coding-system-for-write'.
3859         (org-remember-store-without-prompt): New option.
3860         (org-archive-subtree): Fixed bug with modifying TODO keyword.
3861         (org-beginning-of-line): Also treat C-a special in items.
3862         (org-table-convert-refs-to-rc): Fixed problem with column
3863         reference after "..".
3864         (org-columns-compute): Don't mark buffer modified because of text
3865         properties.
3866         (org-batch-store-agenda-views): Use the variable
3867         `default-directory', not the function.
3868         (org-clock-out-if-current): Respect `org-clock-out-when-done'.
3869         (org-clock-out-when-done): New option.
3870         (org-html-entities): Added HTML entities for smileys.
3872 2007-08-22  Glenn Morris  <rgm@gnu.org>
3874         * image.el (create-image): Doc fix.
3876         * startup.el (tutorial-directory): New constant.
3877         (fancy-splash-text): Tutorials now in tutorial-directory.
3878         * tutorial.el (help-with-tutorial): Tutorials now in
3879         tutorial-directory.
3881 2007-08-22  Michael Albinus  <michael.albinus@gmx.de>
3883         * net/tramp.el (top): Require cl.el, when `copy-tree' is not available
3884         otherwise.
3885         (tramp-get-remote-path): New defun.  Replace occurrences of
3886         `tramp-default-remote-path' by this function.
3887         (tramp-set-remote-path): Move most of the code to
3888         `tramp-get-remote-path'.
3889         (tramp-get-ls-command, tramp-get-remote-id): Don't check for not
3890         existing directories, this is done already in
3891         `tramp-get-remote-path'.
3893 2007-08-22  Paul Pogonyshev  <pogonyshev@gmx.net>
3895         * image-file.el (image-file-name-extensions): Add "svg".
3896         * image.el (image-type-header-regexps): Add svg entry.
3898 2007-08-22  Glenn Morris  <rgm@gnu.org>
3900         * files.el (backup-buffer-copy): Check backup directory is
3901         writable, to avoid infloop deleting old backup.
3903         * mail/rmail.el (rmail-movemail-variant-p): Call on load to set
3904         movemail related variables.
3905         (rmail-insert-inbox-text): Use only rmail-movemail-program, which
3906         will now be set before this is called.
3908 2007-08-21  Juri Linkov  <juri@jurta.org>
3910         * delsel.el (delete-selection-pre-hook):
3911         * emulation/cua-base.el (cua-paste): Use `mouse-region-match'
3912         instead of checking last-command.
3914 2007-08-21  Juri Linkov  <juri@jurta.org>
3916         * loadup.el: Preload "button".
3918 2007-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3920         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3921         Add previous-line and next-line.
3923         * vc-arch.el (vc-arch-extra-menu-map): New var and fun.
3924         (vc-arch-find-file-not-found-hook): Remove, it's now the default.
3926         * vc-hooks.el (vc-menu-entry): New var.
3927         (vc-mode-line-map): Use it so that this menu also uses the extra-menu.
3928         (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
3929         (vc-menu-map): Declare and initialize in one step.
3930         (vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter.
3932         * menu-bar.el (vc-menu-map): Don't setup any more.
3933         Instead, just create the proper spot in the menu.
3935 2007-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3937         * smerge-mode.el (smerge-resolve): New arg `safe'.
3938         (smerge-resolve-all, smerge-batch-resolve): New function.
3939         (smerge-refine): Make sure `diff' returns the expected result.
3940         (smerge-parsep-re): New const.
3941         (smerge-mode): Use it to adjust paragraph-separate.
3943         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
3944         Correctly match / regexp matchers as first char on a line when
3945         fontifying only that line.
3947         * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data.
3949 2007-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3951         * vc-bzr.el: Don't fiddle with vc-handled-backend.
3952         (vc-bzr-registered): Don't redundantly protect against
3953         file-error.  Actually use the format-specific code.
3954         (vc-bzr-buffer-nonblank-p): Remove.
3955         (vc-bzr-status): Change `kindchange' -> `kindchanged'.
3957 2007-08-20  Juri Linkov  <juri@jurta.org>
3959         * startup.el (fancy-splash-text): Change multiple tabs into one
3960         tab.  Remove "Useful File menu items" section (with "Exit Emacs"
3961         and "Recover Crashed Session").
3962         (fancy-splash-screens): Set tab-width to 22.
3963         (normal-splash-screen): Replace literal tabs with \t and
3964         fix whitespace.  Remove "Useful File menu items" section (with
3965         "Exit Emacs" and "Recover Crashed Session").
3967 2007-08-20  Johannes Weiner  <hannes@saeurebad.de>  (tiny change)
3969         * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was
3970         extracted from `eval-last-sexp-1'.
3971         (eval-last-sexp-1): Call `preceding-sexp'.
3973 2007-08-20  Thien-Thi Nguyen  <ttn@gnuvola.org>
3975         * vc-rcs.el (vc-rcs-annotate-command):
3976         Fix bug introduced 2007-07-18T16:32:40Z!esr@snark.thyrsus.com:
3977         Add back :vc-annotate-prefix propertization.
3979 2007-08-20  Andreas Schwab  <schwab@suse.de>
3981         * mail/rmail.el (rmail-autodetect): Doc fix.
3983 2007-08-19  Juri Linkov  <juri@jurta.org>
3985         * startup.el (normal-splash-screen): Add more links.
3987 2007-08-19  Juri Linkov  <juri@jurta.org>
3989         * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap'
3990         because it's common to both types of splash screen: fancy and normal.
3991         Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen.
3992         (exit-splash-screen): Rename from `fancy-splash-quit'.
3993         Use `quit-window' instead of `kill-buffer'.
3994         (fancy-splash-head): Use make-button to insert GNU image link.
3995         (fancy-splash-screens, normal-splash-screen): Rename " About GNU
3996         Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*".
3997         (normal-splash-screen): Put "Browse manuals" on the same line with
3998         "Emacs manual".  Remove descriptions from "Useful tasks" and put
3999         all links in two columns on two lines.
4001 2007-08-19  Michael Kifer  <kifer@cs.stonybrook.edu>
4003         * viper.el (viper-remove-hooks): Remove some additional viper hooks
4004         when the user calls viper-go-away.
4005         (viper-go-away): Restore the default of default-major-mode.
4006         Save the value of default-major-mode before vaperization.
4008         * viper-cmd.el: Replace error "" with "Viper bell".
4010         * viper-ex.el: Replace error "" with "Viper bell".
4012         * ediff-util.el (ediff-make-temp-file): Use the coding system of the
4013         buffer for which file is created.
4015 2007-08-19  Glenn Morris  <rgm@gnu.org>
4017         * Makefile.in (custom-deps, finder-data, autoloads, recompile)
4018         (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather
4019         than $(EMACS), so that EMACSLOADPATH is set.  Prevents any system
4020         shadow files messing up the compilation.
4022 2007-08-18  Glenn Morris  <rgm@gnu.org>
4024         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Add doc
4025         string.  Also apply eldoc-argument-case in the help-split-fundoc
4026         case.  Adapt for changed behavior of eldoc-function-argstring,
4027         eldoc-function-argstring-format, and
4028         eldoc-highlight-function-argument.
4029         (eldoc-highlight-function-argument): Handle nil INDEX argument,
4030         just call eldoc-docstring-format-sym-doc in that case.
4031         (eldoc-function-argstring): Change the behavior.  Now it converts
4032         an argument list to a string.
4033         (eldoc-function-argstring-format): Change the behavior.  Now it
4034         applies `eldoc-argument-case' to a string.
4036         * progmodes/scheme.el (scheme-mode-variables): Set
4037         font-lock-comment-start-skip.
4039 2007-08-18  Martin Rudalics  <rudalics@gmx.at>
4041         * progmodes/ada-mode.el (ada-create-syntax-table): Move
4042         set-syntax-table from here to ...
4043         (ada-mode): ... here.  Do not change global value of
4044         comment-multi-line.  Call new function
4045         ada-initialize-syntax-table-properties and add new function
4046         ada-handle-syntax-table-properties to font-lock-mode-hook.
4047         (ada-deactivate-properties, ada-initialize-properties): Replace
4048         by new functions ...
4049         (ada-handle-syntax-table-properties)
4050         (ada-initialize-syntax-table-properties)
4051         (ada-set-syntax-table-properties): ... to set up syntax-table
4052         properties uniformly, independently from whether font-lock-mode
4053         is enabled or not.  Handle read-only buffers and do not change
4054         undo-list when setting syntax-table properties.
4055         (ada-after-change-function): Use ada-set-syntax-table-properties.
4057 2007-08-18  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
4059         * progmodes/meta-mode.el (meta-indent-calculate-last): Remove.
4060         (meta-indent-current-nesting): Use a computation of the nesting
4061         instead.
4062         (meta-indent-current-indentation): Indentation is given according
4063         to nesting and if the previous line was finished or not.
4064         (meta-indent-unfinished-line): Tell if the current line ends with
4065         a finished expression.
4066         (meta-indent-looking-at-code): Like `looking-at', but checks if
4067         the point is in a string before.
4068         (meta-indent-level-count): Use it.  Don't count parenthesis as it's
4069         done in the nesting function.
4070         (meta-indent-in-string-p): Tell if the current point is in a
4071         string.
4072         (meta-indent-calculate): Treat b-o-b as a special case.  Use the
4073         previous functions.
4075 2007-08-17  Thien-Thi Nguyen  <ttn@gnuvola.org>
4077         * emacs-lisp/copyright.el (copyright-limit): New defsubst.
4078         (copyright-update-year, copyright-update)
4079         (copyright-fix-years): Use it.
4081 2007-08-17  Kimit Yada  <kimitto@gmail.com>  (tiny change)
4083         * emacs-lisp/copyright.el (copyright-update-year):
4084         Fix bug: Handle nil copyright-limit.
4086 2007-08-17  Jay Belanger  <jay.p.belanger@gmail.com>
4088         * calc/calc-units.el (math-standard-units): Give exact
4089         conversion for tsp.
4091         * calc/calc.el (math-bignum-digit-length): Compute the
4092         appropriate value.
4094         * calc/calc-bin.el (math-bignum-logb-digit-size)
4095         (math-bignum-digit-power-of-two):
4096         * calc/calc-comb.el (math-small-factorial-table):
4097         * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
4098         (math-approx-gamma-const):
4099         * calc/calc-funcs.el (math-besJ0, math-besJ1, math-besY0)
4100         (math-besY1, math-bernoulli-b-cache):
4101         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
4102         Remove `eval-when-compile's.
4104 2007-08-17  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
4106         * progmode/cperl-mode.el (cperl-look-at-leading-count)
4107         (cperl-find-pods-heres): Fix an error when typing expressions like
4108         `s{a}{b}'.
4110 2007-08-17  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
4112         * mail/emacsbug.el (report-emacs-bug): Remove the last number of
4113         `emacs-version', use the topic prefix ``version; ''.  Make MS-DOS
4114         a special case (there's no build number).
4116 2007-08-17  T. V. Raman  <raman@users.sf.net>  (tiny change)
4118         * completion.el (symbol-under-point, symbol-before-point)
4119         (symbol-before-point-for-complete): Use buffer-substring-no-properties.
4121 2007-08-17  Glenn Morris  <rgm@gnu.org>
4123         * progmodes/compile.el (compilation-get-file-structure): Make use
4124         of the directory part when checking for an existing entry, to
4125         handle files with same basename in different directories.
4127 2007-08-17  Jay Belanger  <jay.p.belanger@gmail.com>
4129         * calc/calc.el (calc-language-alist): Add texinfo-mode.
4131 2007-08-16  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4133         * ps-print.el (ps-header-font-size, ps-header-title-font-size)
4134         (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing)
4135         (ps-paragraph-spacing): Docstring fix.
4137 2007-08-16  Glenn Morris  <rgm@gnu.org>
4139         * ps-print.el (ps-font-size): Doc fix.
4141 2007-08-16  Richard Stallman  <rms@gnu.org>
4143         * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group.
4145 2007-08-15  Juri Linkov  <juri@jurta.org>
4147         * startup.el (initialization): Change parent group from `internal'
4148         to `environment'.
4149         (initial-buffer-choice): New variable.
4150         (command-line): Revert 2007-07-02 change that sets
4151         buffer-offer-save in *scratch* and enables auto-save in it.
4152         (fancy-splash-text): Add links to existing items.  Add new items
4153         with links for useful tasks.  Move information about Control-g to
4154         fancy-splash-head.  Move "Emacs Guided Tour" to the end.
4155         (fancy-splash-keymap): New variable.
4156         (fancy-splash-last-input-event): Remove variable.
4157         (fancy-splash-insert): Add processing of `:link' element.
4158         (fancy-splash-head): Replace "Type Control-l to begin editing"
4159         with "Type `q' to exit".
4160         (fancy-splash-screens-1): Let-bind inhibit-read-only to t.
4161         (fancy-splash-default-action, fancy-splash-special-event-action):
4162         Remove functions.
4163         (fancy-splash-quit): New function.
4164         (fancy-splash-screens): Rename input arg from `hide-on-input' to
4165         `static' and reverse the condition of its usage.  Don't preserve
4166         original values of `minor-mode-map-alist',
4167         `emulation-mode-map-alists', `special-event-map'.
4168         Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
4169         Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
4170         Remove processing of special events.  Use local key map
4171         `fancy-splash-keymap'.  Set buffer to read-only.
4172         (normal-splash-screen): Rename input arg from `hide-on-input' to
4173         `static' and reverse the condition of its usage.
4174         Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
4175         Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
4176         Add links to existing items.  Add new items with links for useful
4177         tasks.  Use local key map `fancy-splash-keymap'.
4178         (display-splash-screen): Rename input arg from `hide-on-input' to
4179         `static'.
4180         (about-emacs): Add alias to display-splash-screen.
4181         (command-line-1): Use `initial-buffer-choice'.
4183         * menu-bar.el (menu-bar-help-menu):
4184         * term/mac-win.el (mac-apple-event-map): Bind About Emacs menu
4185         item to about-emacs instead of display-splash-screen.
4187 2007-08-15  Jay Belanger  <jay.p.belanger@gmail.com>
4189         * calc/calc-units.el (math-standard-units): Update values.
4190         Put in exact, rational values when possible.
4191         (math-unit-prefixes): Replace floats with powers of ten.
4192         (math-standard-units-systems): Replace floats with integers.
4193         (math-make-unit-string): Remove extra spaces in output.
4195 2007-08-15  Glenn Morris  <rgm@gnu.org>
4197         * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even
4198         sloppier, for the sake of GNU Mailman.
4199         (rmail-digest-rfc1153): Initialize `result' correctly.
4201 2007-08-15  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
4203         * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; '
4204         in the mail title.  Suggested by Reiner Steib.
4206 2007-08-14  Chris Hecker  <checker@d6.com>  (tiny change)
4208         * calc/calc-aent.el (calc-do-quick-calc): Add binary
4209         representation of integers to the list of outputs.
4211 2007-08-14  Glenn Morris  <rgm@gnu.org>
4213         * simple.el (bad-packages-alist): New constant.
4214         (bad-package-check): New function.  Together, these two add elements
4215         to `after-load-alist' to check for problematic external packages.
4216         * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'.
4218 2007-08-14  Jay Belanger  <jay.p.belanger@gmail.com>
4220         * calc/calc-units.el (math-get-standard-units)
4221         (math-get-units, math-make-unit-string)
4222         (math-get-default-units, math-put-default-units): New functions.
4223         (math-default-units-table): New variable.
4224         (calc-convert-units, calc-convert-temperature): Add machinery
4225         to supply default values.
4227 2007-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4229         * emulation/tpu-edt.el: Add tpu-extras's autoloads.
4230         (tpu-gold-map, tpu-global-map): Comment-out the bindings to nil.
4231         (tpu-gold-map): Bind F to tpu-cursor-free-mode.
4232         (minibuffer-local-map): Use funkey symbols rather than esc-sequence.
4234         * emulation/tpu-extras.el: Remove spurious * in docstrings.
4235         Put its autoloads into tpu-edt.el rather than loaddefs.el.
4236         (tpu-cursor-free-mode): Rename from tpu-cursor-free.
4237         Make into a proper minor-mode.
4238         (tpu-backward-char, tpu-next-line, tpu-previous-line)
4239         (tpu-next-end-of-line, tpu-current-end-of-line): Use new name.
4240         (tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook.
4241         (tpu-set-cursor-free, tpu-set-cursor-bound):
4242         Delegate to tpu-cursor-free-mode.
4243         (tpu-next-line, tpu-previous-line, tpu-forward-line)
4244         (tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up):
4245         Use line-move or forward-line instead of next-line-internal.
4247 2007-08-13  Nick Roberts  <nickrob@snap.net.nz>
4249         * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully.
4251 2007-08-12  Richard Stallman  <rms@gnu.org>
4253         * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout)
4254         (cvs-execute-single-file): Use new name split-string-and-unquote.
4255         (cvs-header-msg): Use new name combine-and-quote-strings.
4257         * emulation/vi.el (vi-next-line): Ignore return value of line-move.
4259         * progmodes/gud.el (gud-common-init): Use new name
4260         split-string-and-unquote.
4262         * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop
4263         in javac regexp.
4265         * pcvs-util.el (cvs-qtypedesc-strings): Use new names
4266         combine-and-quote-strings and split-string-and-unquote.
4268         * subr.el (combine-and-quote-strings): Rename from strings->string.
4269         (split-string-and-unquote): Rename from string->strings.
4271 2007-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4273         * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt
4274         to buffer-local settings.
4276         * emacs-lisp/backquote.el (backquote-delay-process): New function.
4277         (backquote-process): Add internal arg `level'.  Use the two to
4278         correctly handle nested backquotes.
4280 2007-08-09  Riccardo Murri  <riccardo.murri@gmail.com>
4282         * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs.
4283         (vc-bzr-state-words): Add "kind changed" state word.
4284         (vc-bzr-status): New function.  Return Bzr idea of file status,
4285         which is different from VC's.
4286         (vc-bzr-state): Use vc-bzr-status.
4287         (vc-workfile-unchanged-p): Use vc-bzr-status.
4288         (vc-bzr-revert): Use synchronous process; expect exitcode 0.
4289         (vc-dired-state): Process "kind changed" state word.
4291 2007-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4293         * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing.
4295         * vc-rcs.el (vc-rcs-find-file-not-found-hook):
4296         Move from vc-default-find-file-not-found-hook.
4298 2007-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4300         * man.el: Remove spurious * in docstrings.
4301         Merge defvars and toplevel setq-defaults.
4302         (Man-highlight-references0): Limit=nil rather than point-max.
4303         (Man-mode-map): Move initialization into the declaration.
4304         (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
4305         (Man-view-header-file): Use expand-file-name rather than concat.
4306         (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
4308         * man.el (Man-next-section): Make sure we do not move backward.
4310 2007-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4312         * files.el (auto-mode-alist): Use the purecopied text (duh!).
4314 2007-08-08  Glenn Morris  <rgm@gnu.org>
4316         * Replace `iff' in doc-strings and comments.
4318 2007-08-08  Martin Rudalics  <rudalics@gmx.at>
4320         * dired.el (dired-pop-to-buffer):
4321         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4322         * calendar/calendar.el (generate-calendar-window):
4323         * progmodes/compile.el (compilation-set-window-height):
4324         * textmodes/two-column.el (2C-two-columns, 2C-merge):
4325         Use window-full-width-p instead of comparing frame-width and
4326         window-width.
4328         * progmodes/compile.el (compilation-find-buffer): Remove extra
4329         argument in call to compilation-buffer-internal-p.
4331 2007-08-07  Tom Tromey  <tromey@redhat.com>
4333         * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level):
4334         Add safe-local-variable property.
4336 2007-08-07  Chong Yidong  <cyd@stupidchicken.com>
4338         * image-mode.el (image-toggle-display): Use image-refresh.
4340 2007-08-07  Riccardo Murri  <riccardo.murri@gmail.com>
4342         * vc-bzr.el: Remove comments about vc-bzr.el being a modified
4343         unofficial version.
4344         (vc-bzr-command): Remove redundant setting of process-connection-type.
4345         (vc-bzr-admin-checkout-format-file): Add autoload.
4346         (vc-bzr-root-dir): Remove in favor of vc-bzr-root.
4347         (vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
4348         (vc-bzr-registered): Compare dirstate format tag with known good
4349         value, abort parsing if match fails.  Warn user in docstring.
4350         (vc-bzr-workfile-version): Case for different Bzr branch formats.
4351         See bzrlib/branch.py in Bzr sources.
4352         (vc-bzr-diff): First argument FILES may be a string rather than a list.
4353         (vc-bzr-shell-command): Remove in favor of
4354         vc-bzr-command-discarding-stderr.
4355         (vc-bzr-command-discarding-stderr): New function.
4357 2007-08-06  Riccardo Murri  <riccardo.murri@gmail.com>
4359         * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr"
4360         program, and return nil.
4361         (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
4362         (vc-bzr-state): Look for path names relative to the repository
4363         root after status keyword.
4364         (vc-bzr-file-name-relative): New function.
4365         (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
4366         depend on it.
4367         (vc-bzr-admin-dirname, ...-checkout-format-file)
4368         (...-branch-format-file, ...-revhistory): Paths to some Bzr internal
4369         files that we now parse directly for speed.
4370         (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
4371         (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
4372         (vc-bzr-state): "bzr status" successful only if exitcode is 0.
4373         (vc-bzr-root): Use `vc-bzr-shell-command'.  Stderr may contain
4374         Bzr warnings, so we must discard it.
4375         (vc-bzr-workfile-version): Speedup counting lines from
4376         `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
4377         if that file doesn't exist.
4378         (vc-bzr-responsible-p): Use `vc-bzr-root' instead of
4379         `vc-bzr-root-dir' for speed.  Add `vc-bzr-admin-dirname' (not ".bzr"!)
4380         to `vc-directory-exclusion-list'.
4381         (vc-bzr-shell-command): New function.
4383 2007-08-06  Tom Tromey  <tromey@redhat.com>
4385         * diff-mode.el (diff-unified->context, diff-reverse-direction)
4386         (diff-fixup-modifs): Typo in docstring.
4388 2007-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4390         * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and
4391         count-screen-lines.
4392         (tpu-edt-off): Disable relevant pieces of advice.
4394         * emulation/tpu-extras.el (tpu-before-save-hook): Rename from
4395         tpu-write-file-hook.  Activate it with add-hook on buffer-save-hook.
4396         (newline, newline-and-indent, do-auto-fill): Use advice instead of
4397         redefining the function.
4398         (tpu-set-scroll-margins): Activate the pieces of advice.
4400 2007-08-06  Martin Rudalics  <rudalics@gmx.at>
4402         * help.el (resize-temp-buffer-window): Use window-full-width-p
4403         instead of comparing frame-width and window-width.
4405 2007-08-13  Stephen Leake  <stephen_leake@stephe-leake.org>
4407         * pcvs-parse.el (cvs-parse-table): Handle additional instance of
4408         optional quotes around files in NEED-UPDATE . REMOVED case.
4410         * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring.
4411         (ada-treat-cmd-string): Improve error message.
4412         (ada-do-file-completion): Call `ada-require-project-file', so
4413         project variables are set properly.
4414         (ada-prj-find-prj-file): Delete Emacs 20.2 support.
4415         (ada-gnatfind-buffer-name): New constant.
4416         (ada-find-any-references): Use new constant.  Set buffer name
4417         properly in compilation-start.  Toggle read-only properly.
4418         (ada-find-in-src-path): Fix spelling error in docstring.
4420         * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide
4421         by zero error.
4423 2007-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4425         * emacs-lisp/autoload.el (autoload-print-form): Use print-quoted.
4427 2007-08-12  Richard Stallman  <rms@gnu.org>
4429         * progmodes/sh-script.el (sh): Delete group `unix'.
4431         * progmodes/gud.el (gud): Change to group `processes'.
4433 2007-08-11  Glenn Morris  <rgm@gnu.org>
4435         * progmodes/compile.el (compilation-buffer-name): Don't check
4436         compilation-arguments.  It is superfluous, and the variable isn't
4437         even set when this function is called.
4439 2007-08-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4441         * term/mac-win.el (mac-ae-reopen-application): New function.
4442         (mac-apple-event-map): Bind "reopen application" Apple event to it.
4444 2007-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4446         * textmodes/tex-mode.el (tex-font-lock-unfontify-region): Fix to
4447         take tex-font-script-display into account.
4448         (tex-font-script-display, tex-font-lock-suscript): Change from a cons
4449         cell to a list of 2 elements to simplify the unfontify code.
4451 2007-08-08  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4453         * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix.
4454         (ps-begin-job): Use ps-default-fg and ps-default-bg only when
4455         ps-print-color-p is neither nil nor black-white.  Reported by Christian
4456         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
4458 2007-08-08  Andreas Schwab  <schwab@suse.de>
4460         * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
4461         self-insert-command, not self-insert.
4463 2007-08-08  Glenn Morris  <rgm@gnu.org>
4465         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Make second
4466         argument optional, for backwards compatibility, and only highlight
4467         args when present.  Fix symbol name typo (doc/args).
4469         * help-mode.el (help-make-xrefs): Search for symbol constituents,
4470         rather than just `-'.
4472 2007-08-07  Jay Belanger  <jay.p.belanger@gmail.com>
4474         * calc/calc-units.el (calc-convert-temperature):
4475         Use `/' to create fractions.
4477 2007-08-07  Michael Albinus  <michael.albinus@gmx.de>
4479         * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more
4480         global matching.
4481         (tramp-handle-shell-command): Handle OUTPUT-BUFFER and
4482         ERROR-BUFFER more robust.  Display output.
4483         (tramp-file-name-handler): Add a connection property when we found
4484         a foreign file name handler.  This allows backends like ftp to
4485         profit also from usr/host name completion based on connection
4486         cache.
4487         (tramp-send-command-and-read): Search for trash after the regexp
4488         until eol only.  In XEmacs, there is a problem with \n.
4490         * net/tramp-cache.el (top): Read persistent connection history
4491         when cache is empty.
4493 2007-08-07  Nic Ferrier  <nferrier@tapsellferrier.co.uk>  (tiny change)
4495         * net/tramp.el (tramp-handle-process-file): Fix bug inserting
4496         resulting output.
4498 2007-08-07  Sam Steingold  <sds@gnu.org>
4500         * progmodes/compile.el (compilation-start): Pass nil as startfile
4501         to comint-exec.
4503 2007-08-07  Chong Yidong  <cyd@stupidchicken.com>
4505         * longlines.el (longlines-decoded): New variable.
4506         (longlines-mode): Avoid encoding or decoding the buffer twice.
4508 2007-08-07  Martin Rudalics  <rudalics@gmx.at>
4510         * format.el (format-insert-file): Make sure that at most one undo
4511         entry is recorded for the insertion.  Inhibit point-motion and
4512         modification hooks around call to insert-file-contents.
4514 2007-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4516         * vc.el (vc-annotate): Select temp-buffer before running vc-exec-after.
4517         Select the buffer's window before moving point.
4519 2007-08-07  Richard Stallman  <rms@gnu.org>
4521         * term.el (term): Remove parent group `unix'.
4523         * simple.el (default-indent-new-line): New function.
4524         It calls comment-line-break-function if there are comments.
4525         (do-auto-fill): Use that.
4527 2007-08-07  Sean O'Rourke  <sorourke@cs.ucsd.edu>
4529         * complete.el (PC-lisp-complete-symbol): Complete symbol around point.
4530         (PC-do-completion): Add "acronym completion" for symbols and
4531         filenames, so e.g. "mvbl" expands to "make-variable-buffer-local".
4533 2007-08-06  Sam Steingold  <sds@gnu.org>
4535         * mouse.el (mouse-buffer-menu): Pass mode-name through
4536         format-mode-line because it may be a list,
4537         e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
4539 2007-08-06  Vinicius Jose Latorre  <viniciusig@ig.com.br>
4541         * printing.el (pr-update-menus): Docstring fix.
4543 2007-08-06  Jason Rumney  <jasonr@gnu.org>
4545         * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
4547         * vc-hooks.el (vc-call): Add doc string.
4549 2007-08-06  Michael Albinus  <michael.albinus@gmx.de>
4551         * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
4552         process-filter.
4554 2007-08-06  Kenichi Handa  <handa@m17n.org>
4556         * international/quail.el: Wrap (require 'help-mode) by
4557         eval-when-compile.
4558         (quail-help-init): New function.
4559         (quail-help): Call quail-help-init.
4560         (quail-store-decode-map-key): Change it to a function.
4562 2007-08-05  Jason Rumney  <jasonr@gnu.org>
4564         * vc.el (vc-rollback): Add norevert argument back.
4565         (vc-revert-buffer): Add back as obsolete alias.
4567 2007-08-05  Peter Povinec  <ppovinec@yahoo.com>  (tiny change)
4569         * term.el: Honor term-default-fg-color and term-default-bg-color
4570         settings when modifying term-current-face.
4571         (term-default-fg-color, term-default-bg-color): Initialize from
4572         default term-current-face.
4573         (term-mode, term-reset-terminal): Set term-current-face with
4574         term-default-fg-color and term-default-bg-color.
4575         (term-handle-colors-array): term-current-face has term-default-fg-color
4576         and term-default-bg-color after reset escape sequence.
4577         (term-handle-colors-array): Set term-current-color with
4578         term-default-fg/bg-color instead of ansi-term-color-vector when the
4579         index (term-ansi-current-color or term-ansi-current-bg-color) is zero.
4581 2007-08-05  Jay Belanger  <jay.p.belanger@gmail.com>
4583         * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables.
4584         (math-nlfit-givens): Let bind free variables.
4586 2007-08-05  Vinicius Jose Latorre  <viniciusig@ig.com.br>
4588         * printing.el: Require lpr and ps-print when loading printing package.
4589         Reported by Glenn Morris <rgm@gnu.org>.
4591 2007-08-05  Michael Albinus  <michael.albinus@gmx.de>
4593         * files.el (set-auto-mode): Handle also remote files wrt
4594         `auto-mode-alist'.
4596 2007-08-04  Jay Belanger  <jay.p.belanger@gmail.com>
4598         * calc/calcalg3.el (calc-curve-fit): Add support for nonlinear
4599         curves and plotting.
4601         * calc/calc-nlfit.el: New file.
4603 2007-08-04  Glenn Morris  <rgm@gnu.org>
4605         * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is
4606         zero, not nil, when the library is first loaded.  Check for a file
4607         that has been modified on disk.
4609         * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist):
4610         Remove duplicate defvar preventing initialization.
4611         (cperl-mode): Fix compilation-error-regexp-alist-alist setting.
4613 2007-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4615         * diff-mode.el (diff-font-lock-keywords): Fix up false positives.
4616         (diff-beginning-of-file): Adjust to the fact that diff-file-header-re
4617         may match up to 4 lines.
4618         (diff-beginning-of-file-and-junk): Rewrite.
4620 2007-08-03  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4622         * printing.el: Evaluate require only during compilation.
4623         (pr-version): New version 6.9.1.
4624         (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR).
4625         (pr-global-menubar): Fix code.
4627 2007-08-03  Dan Nicolaescu  <dann@ics.uci.edu>
4629         * term.el (term-erase-in-display): Fix case when point is not at
4630         the beginning of the line.
4632 2007-08-03  Jay Belanger  <jay.p.belanger@gmail.com>
4634         * calc/calc-ext.el (math-get-value, math-get-sdev)
4635         (math-contains-sdev): New functions.
4637         * calc/calc-graph.el (calc-graph-format-data)
4638         (calc-graph-add-curve): Check for error forms.
4639         (calc-graph-set-styles): Add option for error forms.
4641 2007-08-03  Miles Bader  <miles@gnu.org>
4643         * vc-hooks.el (vc-handled-backends): Change capitalization of VC
4644         backend names for new backends to `Git', `Hg', and `Bzr'.
4645         * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name,
4646         not `HG'.
4647         * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend
4648         name, not `GIT'.
4649         * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info)
4650         (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'.
4652 2007-08-03  Richard Stallman  <rms@gnu.org>
4654         * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
4655         to update deleted flag.
4657         * cus-edit.el (customize-apropos, customize-apropos-options)
4658         (customize-apropos-faces, customize-apropos-groups): Improve prompt.
4660         * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
4662         * startup.el (fancy-splash-head, startup-echo-area-message):
4663         Change message text.
4665         * emulation/tpu-edt.el (next-line-internal): Setting deleted.
4666         All callers use line-move.
4668         * progmodes/compile.el (compilation-find-buffer): Return current
4669         buffer immediately if suitable.
4670         (compile, compilation-buffer-name, compilation-start): Doc fixes.
4672 2007-08-03  Daiki Ueno  <ueno@unixuser.org>
4674         * faces.el (face-normalize-spec): New function.
4675         (frame-set-background-mode): Normalize face-spec before calling
4676         face-spec-match-p.
4678 2007-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4680         * server.el (server-window): Add switch-to-buffer-other-frame option.
4682 2007-08-03  Glenn Morris  <rgm@gnu.org>
4684         * cus-edit.el (customize-apropos): Make the error message indicate
4685         what kind of thing the user was trying to customize.
4687         * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t.
4689         * progmodes/fortran.el (fortran-font-lock-syntactic-keywords):
4690         Fix off-by-one error in previous change.
4692 2007-08-03  Drew Adams  <drew.adams@oracle.com>
4694         * emacs-lisp/pp.el (pp-eval-expression): Add progress message.
4695         Make buffer writable.
4697 2007-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
4699         * calc/calc-math.el (math-sqrt-raw, math-sin-raw-2)
4700         (math-cos-raw-2, math-arctan-raw, math-ln-raw):
4701         Use native Emacs functions, when appropriate.
4703 2007-08-01  Dan Nicolaescu  <dann@ics.uci.edu>
4704             Stefan Monnier  <monnier@iro.umontreal.ca>
4706         * vc.el: Document new VC operation `extra-menu'.
4708         * vc-hooks.el (vc-default-extra-menu): New function.
4710         * menu-bar.el (menu-bar-vc-filter): New function.
4711         (menu-bar-tools-menu): Use it as a filter.
4713 2007-08-01  Eric Hanchrow  <offby1@blarg.net>  (tiny change)
4715         * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix.
4717 2007-08-01  Glenn Morris  <rgm@gnu.org>
4719         * progmodes/fortran.el: Remove leading `*' from all defcustom doc
4720         strings.
4721         (fortran-tab-mode-default): Remove needless autoload.
4722         (fortran-tab-mode-string): Add help-echo and mouse properties, and
4723         mark as risky.
4724         (fortran-line-length): New buffer-local variable, safe if integer.
4725         (fortran-if-start-re, fortran-end-prog-re1, fortran-end-prog-re):
4726         Change from variables to constants.
4727         (fortran-font-lock-syntactic-keywords): Delete as a variable,
4728         replace with a new function definition.
4729         (fortran-mode): Use fortran-line-length, and
4730         fortran-font-lock-syntactic-keywords as a function.  Add a
4731         hack-local-variables-hook function.
4732         (fortran-line-length, fortran-hack-local-variables): New functions.
4733         (fortran-window-create, fortran-strip-sequence-nos): Doc fix.
4734         Use fortran-line-length rather than 72.
4735         (fortran-window-create-momentarily): Doc fix.
4737 2007-07-31  Drew Adams  <drew.adams@oracle.com>  (tiny change)
4739         * cus-edit.el (custom-group-value-create, custom-goto-parent):
4740         Fix parent groups link.
4742 2007-07-31  Paul Pogonyshev  <pogonyshev@gmx.net>
4744         * progmodes/python.el (python-current-defun): Adjust to never fall
4745         into infinite loop.
4747 2007-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4749         * pcvs.el (cvs-vc-command-advice): Handle the new fileset case.
4751 2007-07-29  Kimit Yada  <kimitto@gmail.com>  (tiny change)
4753         * emacs-lisp/copyright.el (copyright-update-year, copyright-update)
4754         (copyright-fix-years, copyright): Correctly handle the case where
4755         copyright-limit is nil.
4757 2007-07-28  Konstantin Novitsky  <knovitsk@Bear.com>  (tiny change)
4759         * progmodes/python.el (run-python): Fix path separator under w32.
4761 2007-07-30  Richard Stallman  <rms@gnu.org>
4763         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4764         Treat non-break space as whitespace in Lisp.
4766 2007-07-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4768         * vc.el (vc-dired-hook): Use inhibit-read-only.
4770         * progmodes/compile.el (compilation-forget-errors):
4771         Reset compilation-auto-jump-to-next.
4773 2007-07-30  Michael Olson  <mwolson@gnu.org>
4775         * cus-edit.el (custom-group-save): Fix void function definition
4776         error.  Thanks to Zhang Wei for the report.
4778         * ps-print.el: Check in trivial changes to the autoloads section
4779         caused by the build process.  These autoloads really ought to be
4780         placed in a separate file, methinks.
4782 2007-07-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4784         * calendar/calendar.el (calendar-mode): Make sure
4785         displayed-(month|year) are set.
4786         (calendar-basic-setup): Display buffer before adjusting window sizes.
4787         (generate-calendar-window): Use inhibit-read-only.  Simplify.
4788         Generate buffer and set displayed-month and displayed-year before
4789         calling update-calendar-mode-line.
4791 2007-07-29  Michael Albinus  <michael.albinus@gmx.de>
4793         * net/tramp.el:
4794         * net/tramp-uu.el:
4795         * net/trampver.el: Use utf-8 encoding with coding cookie.
4797         * net/tramp-cache.el:
4798         * net/tramp-fish.el:
4799         * net/tramp-ftp.el:
4800         * net/tramp-gw.el:
4801         * net/tramp-smb.el: Remove coding cookie.
4803         * net/tramp.el (tramp-handle-verify-visited-file-modtime):
4804         Flush buffer file-name's file property.
4805         (tramp-handle-file-remote-p): The first parameter is FILENAME.
4807         * net/trampver.el: Update release number.
4809 2007-07-29  Juri Linkov  <juri@jurta.org>
4811         * dired.el (dired-mode-map): Bind C-x C-q to dired-toggle-read-only.
4812         Filter out menu item "Edit File Names" `wdired-change-to-wdired-mode'
4813         when major-mode is not dired-mode.
4814         (dired-toggle-read-only): New function.
4815         (dired-recursive-deletes): Remove obsolete comments about old
4816         default value.
4817         (dired-do-flagged-delete, dired-do-delete): Refill docstring.
4819         * wdired.el (wdired-exit): New function.
4820         (wdired-mode-map): Bind C-x C-q to wdired-exit.
4822 2007-07-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4824         * cus-edit.el (customize-read-group): New fun.
4825         (customize-group-other-window, customize-face-other-window):
4826         Prompt before delegating to customize-(group|face).
4827         Bind pop-up-windows rather than use the other-window argument.
4828         (customize-group, customize-face): Prompt from the interactive spec.
4829         Remove args `prompt-for-group' and `other-window'.
4831         * emacs-lisp/advice.el (ad-interactive-form): Re-introduce.
4832         (ad-body-forms, ad-advised-interactive-form): Revert this part of
4833         last change.
4835 2007-07-28  Masatake YAMATO  <jet@gyve.org>
4837         * vc.el (vc-dired-mode): Add a menu for VC related operation.
4838         Use backend name as the menu label.  Suggested by David Kastrup.
4840 2007-07-28  Alan Mackenzie  <acm@muc.de>
4842         Fix problem with modes derived from CC Mode:
4843         * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this
4844         macro to cc-langs.
4845         (c-init-language-vars-for): Remove call to above macro.
4846         * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has
4847         been moved to here.
4848         (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local.
4850 2007-07-28  Eli Zaretskii  <eliz@gnu.org>
4852         * net/trampver.el: Fix the `coding' cookie.
4854 2007-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
4856         * vc-git.el (vc-git-print-log): Support both the old single file
4857         interface and the new one.
4859 2007-07-28  Nick Roberts  <nickrob@snap.net.nz>
4861         * bindings.el (mode-line-remote): Use updated %@ construct.
4863 2007-07-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4865         * calendar/cal-bahai.el (calendar-bahai-month-name-array)
4866         (calendar-bahai-epoch, calendar-bahai-leap-year-p)
4867         (calendar-bahai-leap-base, calendar-bahai-prompt-for-date)
4868         (diary-list-bahai-entries, diary-bahai-mark-entries)
4869         (calendar-bahai-mark-date-pattern, diary-insert-bahai-entry)
4870         (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
4871         New names to clean up namespace.
4872         (list-bahai-diary-entries, mark-bahai-diary-entries)
4873         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
4874         (insert-yearly-bahai-diary-entry, mark-bahai-calendar-date-pattern):
4875         Add compatibility aliases.
4877         * calendar/appt.el: Don't wrap defvar within eval-when-compile.
4879         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right)
4880         (calendar-scroll-left-three-months)
4881         (calendar-scroll-right-three-months): Clean up namespace.
4882         (scroll-calendar-left, scroll-calendar-right)
4883         (scroll-calendar-left-three-months)
4884         (scroll-calendar-right-three-months): Add compatibility aliases.
4886         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
4887         Behave like mouse-scroll-calendar-* when used from the mouse.
4889         * calendar/cal-menu.el (cal-menu-scroll-menu)
4890         (cal-menu-global-mouse-menu):
4891         * calendar/calendar.el (calendar-mode-map):
4892         Use new calendar-scroll-* names.
4893         (mouse-scroll-calendar-left, mouse-scroll-calendar-right):
4894         Remove.  Use calendar-scroll-* directly instead.
4896 2007-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4898         * emacs-lisp/advice.el (ad-interactive-p, ad-interactive-form): Remove.
4899         (ad-body-forms, ad-advised-interactive-form, ad-make-cache-id)
4900         (ad-make-advised-definition, ad-cache-id-verification-code):
4901         Use commandp and interactive-form instead.
4903 2007-07-26  Dan Nicolaescu  <dann@ics.uci.edu>
4905         * vc-git.el: Relicense to GPLv3 or later.
4906         (vc-directory-exclusion-list, vc-handled-backends): Remove.
4908         * vc-hooks.el (vc-handled-backends): Add GIT.
4910         * vc.el (vc-directory-exclusion-list): Add .git.
4912 2007-07-26  Alexandre Julliard  <julliard@winehq.org>
4914         * vc-git.el (vc-git-revision-table)
4915         (vc-git-revision-completion-table): New functions.
4917 2007-07-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4919         * progmodes/ebnf-abn.el (ebnf-abn-skip-comment):
4920         * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment):
4921         * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment):
4922         * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment):
4923         * progmodes/ebnf-iso.el (ebnf-iso-skip-comment):
4924         * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version.
4925         New command actions for EPS header and EPS footer.
4927         * progmodes/ebnf2ps.el: New command actions for EPS header and EPS
4928         footer.  Fix some problems with one-or-more, zero-or-more and
4929         alternative constructions generation.  Some log messages
4930         implementation.  Doc fix.
4931         (ebnf-version): New version 4.4.
4932         (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font)
4933         (ebnf-eps-footer, ebnf-log): New options.
4934         (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header)
4935         (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment)
4936         (ebnf-eps-header-footer-p, ebnf-eps-header-comment)
4937         (ebnf-eps-footer-comment, ebnf-eps-header-footer-file)
4938         (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs.
4939         (ebnf-style-custom-list, ebnf-style-database): Put new values.
4940         (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer)
4941         (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file)
4942         (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory)
4943         (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region)
4944         (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer)
4945         (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job)
4946         (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension)
4947         (ebnf-non-terminal-dimension, ebnf-special-dimension)
4948         (ebnf-terminal-dimension1, ebnf-repeat-dimension)
4949         (ebnf-except-dimension, ebnf-alternative-dimension)
4950         (ebnf-optional-dimension, ebnf-one-or-more-dimension)
4951         (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log
4952         message fun.
4953         (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more)
4954         (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write)
4955         (ebnf-insert-ebnf-prologue, ebnf-production-dimension)
4956         (ebnf-terminal-dimension1, ebnf-alternative-dimension)
4957         (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension)
4958         (ebnf-eps-add-context, ebnf-eps-add-production): Fix code.
4959         (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep
4960         compatibility with Emacs 20 & 21.
4961         (ebnf-eps-header-comment, ebnf-eps-footer-comment)
4962         (ebnf-eps-file-alist, ebnf-basic-width-extra)
4963         (ebnf-basic-empty-height): New vars.
4964         (ebnf-prologue): Fix PostScript code.
4965         (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1)
4966         (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional)
4967         (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence)
4968         (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments.
4970 2007-07-25  Glenn Morris  <rgm@gnu.org>
4972         * Relicense all FSF files to GPLv3 or later.
4974         * COPYING: Switch to GPLv3.
4976 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4978         * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change.
4979         Replace it with another one which disables undo before calling
4980         erase-buffer and then turns it back on if needed.
4982 2007-07-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4984         * ps-print.el: Problem with foreground and background color when
4985         printing a buffer with and without faces.  Reported by Christian
4986         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
4987         (ps-print-version): New version 6.7.5.
4988         (ps-default-fg): Change default value to nil, so black color is used
4989         when a face does not specify a foreground color.
4990         (ps-default-bg): Change default value to nil, so white color is used
4991         for background color.
4992         (ps-begin-job): Fix code.
4994 2007-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
4996         * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out.
4998 2007-07-24  Glenn Morris  <rgm@gnu.org>
5000         * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
5001         (cal-tex-rules, cal-tex-buffer, cal-tex-24)
5002         (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
5003         (cal-tex-cursor-week, cal-tex-cursor-week2)
5004         (cal-tex-cursor-week-iso, cal-tex-week-hours)
5005         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
5006         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5007         (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
5009 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5011         * calendar/calendar.el (calendar-mode-map): Move initialization
5012         into declaration.  Add menu bindings (used to be done in cal-menu).
5013         (calendar-mode): Don't add an activate-menubar-hook.
5015         * calendar/cal-menu.el: Break dependency on calendar.el (i.e. do not
5016         modify calendar-mode-map), use easy-menu, and make sure that C-h k
5017         can be used on the menu entries.
5018         (cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs.
5019         (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
5020         (cal-menu-goto-menu, cal-menu-scroll-menu): New consts.
5021         (cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus.
5022         (calendar-flatten, cal-menu-update): Remove.
5023         (calendar-mouse-insert-hebrew-diary-entry)
5024         (calendar-mouse-insert-islamic-diary-entry)
5025         (calendar-mouse-insert-bahai-diary-entry):
5026         Remove (fold into cal-menu-diary-menu).
5027         (calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu)
5028         (cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu).
5029         (calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu).
5030         (calendar-mouse-view-diary-entries): Minor simplifications.
5031         (calendar-event-to-date): Use with-current-buffer.
5033 2007-07-25  Nick Roberts  <nickrob@snap.net.nz>
5035         * add-log.el (change-log-redate): Remove (not needed anymore and
5036         doesn't appear to work).
5038 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5040         * frame.el: Use mapc and dolist instead of mapcar where possible.
5041         (close-display-connection): New command.
5043 2007-07-25  Alexandre Julliard  <julliard@winehq.org>
5045         * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface.
5046         (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions.
5048 2007-07-25  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5050         * ps-print.el (ps-multibyte-buffer): Docstring fix.
5052         * ps-mule.el: Doc fix.
5053         (ps-multibyte-buffer, ps-mule-font-info-database-default)
5054         (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix.
5056 2007-07-25  Glenn Morris  <rgm@gnu.org>
5058         * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays)
5059         (cal-tex-diary, cal-tex-daily-string, cal-tex-daily-start)
5060         (cal-tex-daily-end, cal-tex-hook)
5061         (cal-tex-cal-one-month, cal-tex-cal-multi-month)
5062         (cal-tex-year, cal-tex-cursor-week, cal-tex-cursor-week2)
5063         (cal-tex-cursor-week-iso, cal-tex-week-hours)
5064         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
5065         (cal-tex-cursor-day, cal-tex-insert-preamble): Doc fix.
5066         (cal-tex-day-prefix, cal-tex-day-name-format)
5067         (cal-tex-cal-one-month, cal-tex-cal-multi-month, cal-tex-myday)
5068         (cal-tex-caldate, cal-tex-LaTeX-hourbox)
5069         (cal-tex-LaTeX-subst-list): Change from variables to constants.
5070         (cal-tex-preamble, cal-tex-arg, cal-tex-nl): Simplify with `format'.
5071         (cal-tex-cursor-filofax-year, cal-tex-weekly4-box): Use \textbf,
5072         etc, rather than \bf.
5073         (cal-tex-mini-calendar): Fix typos in previous change.
5074         (cal-tex-latexify-list): Remove inner let binding.
5075         (cal-tex-end-document, cal-tex-banner): Use multi-line
5076         cal-tex-comment.
5077         (cal-tex-comment): Handle embedded newlines.
5078         (cal-tex-LaTeXify-string): Use substring-no-properties.
5080 2007-07-25  Joakim Verona  <joakim@verona.se>  (tiny change)
5082         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5083         Add support for the Maden build tool.
5085 2007-07-25  William Xu  <william.xwl@gmail.com>  (tiny change)
5087         * net/webjump.el (webjump-url-encode): Fix for non-ASCII characters.
5089 2007-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5091         * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
5093 2007-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
5095         * dired.el (dired-mode-map): Bind wdired-change-to-wdired-mode to
5096         C-x C-q.
5098         * vc-git.el (vc-git-print-log): Fix previous change.
5100 2007-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5102         * window.el (save-selected-window): Minor optimization.
5103         (bw-adjust-window): If operation failed, try with a smaller delta.
5104         (window-fixed-size-p): New function.
5105         (window-area-factor): New var.
5106         (balance-windows-area): New command.
5108         * ps-mule.el (ps-multibyte-buffer): Docstring fixes.
5109         (ps-mule-encode-ethiopic): Make it clear that it's always defined.
5110         (ps-mule-prepare-font-for-components, ps-mule-encode-header-string)
5111         (ps-mule-encode-bit, ps-mule-encode-ucs2): Use dotimes.
5112         (ps-mule-begin-job): Use dolist.
5114 2007-07-24  Michael Albinus  <michael.albinus@gmx.de>
5116         * subr.el (start-file-process-shell-command)
5117         (process-file-shell-command): New defuns.
5119         * progmodes/compile.el (compilation-start):
5120         Apply `start-file-process-shell-command'.
5122 2007-07-24  Alexandre Julliard  <julliard@winehq.org>
5124         * vc-git.el (vc-git-checkout, vc-directory-exclusion-list): Fix typos.
5126 2007-07-24  Alan Mackenzie  <acm@muc.de>
5128         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5129         Initialise byte-compile-unresolved-functions before rather than
5130         after a compilation.
5131         (byte-compile-unresolved-functions): Amplify doc string.
5133 2007-07-24  Glenn Morris  <rgm@gnu.org>
5135         * startup.el (normal-splash-screen): Use `emacs-copyright'.
5137         * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
5138         (cal-tex-rules, cal-tex-buffer, cal-tex-24)
5139         (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
5140         (cal-tex-cursor-week, cal-tex-cursor-week2)
5141         (cal-tex-cursor-week-iso, cal-tex-week-hours)
5142         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
5143         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5144         (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
5146         * calendar/cal-tex.el: Remove leading `*' from defcustom docs.
5147         (cal-tex-daily-string, cal-tex-daily-start, cal-tex-daily-end)
5148         (cal-tex-day-name-format, cal-tex-cal-one-month)
5149         (cal-tex-cal-multi-month, cal-tex-myday, cal-tex-preamble)
5150         (cal-tex-comment, cal-tex-nl, cal-tex-cmd, cal-tex-e-parbox)
5151         (cal-tex-mini-calendar, cal-tex-em): Doc fix.
5152         (cal-tex-list-holidays, cal-tex-cursor-year)
5153         (cal-tex-cursor-year-landscape, cal-tex-year)
5154         (cal-tex-cursor-filofax-year, cal-tex-cursor-month-landscape)
5155         (cal-tex-cursor-month, cal-tex-insert-days)
5156         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5157         (cal-tex-first-blank-p, cal-tex-cursor-week)
5158         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5159         (cal-tex-week-hours, cal-tex-cursor-week-monday)
5160         (cal-tex-weekly4-box, cal-tex-cursor-filofax-2week)
5161         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
5162         (cal-tex-cursor-day, cal-tex-daily-page, cal-tex-mini-calendar)
5163         (cal-tex-latexify-list, cal-tex-previous-month)
5164         (cal-tex-next-month, cal-tex-insert-preamble): General tidy-up and
5165         modernization, including using dotimes rather than
5166         calendar-for-loop.
5167         (cal-tex-LaTeX-subst-list): Remove `@'.
5168         (cal-tex-em, cal-tex-bf, cal-tex-Huge-bf, cal-tex-large-bf):
5169         Use \textit and \textbf rather than \em and \it.
5171         * calendar/cal-bahai.el (list-bahai-diary-entries)
5172         * calendar/cal-hebrew.el (list-hebrew-diary-entries)
5173         * calendar/cal-islam.el (list-islamic-diary-entries)
5174         * calendar/calendar.el (generate-calendar, generate-calendar-month)
5175         * calendar/diary-lib.el (diary-list-entries)
5176         (mark-calendar-date-pattern): Use `dotimes' rather than
5177         `calendar-for-loop'.
5179         * calendar/calendar.el (calendar-for-loop): Doc fix.
5181 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5183         * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
5184         underlying file is uptodate.
5186 2007-07-23  Christopher J. Madsen  <cjm@cjmweb.net>
5188         * replace.el (perform-replace): Use isearch-no-upper-case-p.
5190 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5192         * vc-hooks.el (vc-mode-line-map): New const.
5193         (vc-mode-line): Use it.
5195 2007-07-23  Alexandre Julliard  <julliard@winehq.org>
5197         * vc-git.el (vc-git-delete-file, vc-git-rename-file)
5198         (vc-git-unregister): New functions.
5199         (vc-git-find-version): Use the result of ls-files as a parameter
5200         for cat-file.
5202 2007-07-23  Michael Albinus  <michael.albinus@gmx.de>
5204         * net/tramp.el (tramp-perl-file-attributes)
5205         (tramp-perl-directory-files-and-attributes)
5206         (tramp-handle-file-attributes-with-stat)
5207         (tramp-handle-directory-files-and-attributes-with-stat)
5208         (tramp-convert-file-attributes): Handle huge file sizes.
5210 2007-07-23  Juri Linkov  <juri@jurta.org>
5212         * isearch.el (isearch-message-function): New variable.
5213         (isearch-update, isearch-search): Use it.
5215         * simple.el (goto-history-element): New function created from
5216         next-history-element.
5217         (next-history-element): Most code moved to goto-history-element.
5218         Call goto-history-element with (- minibuffer-history-position n).
5219         (previous-history-element): Call goto-history-element with (+
5220         minibuffer-history-position n).
5221         (minibuffer-setup-hook): Add minibuffer-history-isearch-setup.
5222         (minibuffer-history-isearch-message-overlay): New buffer-local variable.
5223         (minibuffer-history-isearch-setup, minibuffer-history-isearch-end)
5224         (minibuffer-history-isearch-search, minibuffer-history-isearch-message)
5225         (minibuffer-history-isearch-wrap, minibuffer-history-isearch-push-state)
5226         (minibuffer-history-isearch-pop-state): New functions.
5228 2007-07-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
5230         * vc-hooks.el (vc-stay-local-p): Fix bug: Avoid remove-if-not.
5231         Also, if FILE is a list, return non-nil if any of its elements
5232         should stay local.  Update docstring.
5234 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5236         * emacs-lisp/copyright.el (copyright-update-year): Fix 2007-05-25
5237         change by reverting a small part.
5239 2007-07-23  Richard Stallman  <rms@gnu.org>
5241         * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe.
5243 2007-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
5245         * vc-git.el (vc-git-checkin): Delete unused parameter and the code
5246         handling it.  Use vc-git-command.
5247         (vc-git-find-version, vc-git-diff-tree): New functions.
5248         (vc-git-revert): Use vc-git-command.
5249         (vc-git--run-command): Delete.
5251 2007-07-23  Alexandre Julliard  <julliard@winehq.org>
5253         * vc-git.el (vc-git-workfile-unchanged-p): Update comment.
5255 2007-07-20  Kenichi Handa  <handa@m17n.org>
5257         * international/utf-8.el (utf-8-post-read-conversion):
5258         Temporarily bind utf-8-compose-scripts to nil while running
5259         *-compose-region functions.
5261 2007-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
5263         * vc-git.el: Update status.
5264         (vc-directory-exclusion-list): Use eval-after-load.
5266 2007-07-22  Nick Roberts  <nickrob@snap.net.nz>
5268         * bindings.el (mode-line-remote): New variable.
5269         (help-echo): Add to default values of mode-line-format.
5271         * files.el: Mark mode-line-remote as risky.
5273 2007-07-22  Juri Linkov  <juri@jurta.org>
5275         * isearch.el (isearch-edit-string): Save old point and
5276         isearch-other-end to old-point and old-other-end before reading
5277         the search string from minibuffer.  After exiting minibuffer set
5278         point to old-other-end if point and the search direction is the
5279         same as before reading the search string.
5280         (isearch-del-char): Don't set isearch-yank-flag to t.  Put point
5281         to isearch-other-end.  Instead of isearch-search-and-update call
5282         three functions isearch-search, isearch-push-state and isearch-update.
5284 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
5286         * vc-git.el (vc-git-register, vc-git-checkin): Use vc-git-command,
5287         deal with multiple file arguments.
5288         (vc-git-print-log): Deal with multiple file arguments.
5290 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5292         * diff-mode.el (diff-refine-ignore-spaces-hunk): Rename from
5293         diff-refine-hunk.  Adjust users.
5294         (diff-unified-hunk-p, diff-splittable-p): New functions.
5295         (diff-mode-menu): Use it to disable Split when it doesn't work.
5297 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
5299         * diff-mode.el (diff-mode-menu): New entries.
5301 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5303         * diff-mode.el (diff-unified->context): Use the new `apply' undo entry
5304         if applicable, so as to save undo-log space.
5306         * diff-mode.el (diff-find-file-name): Add arg `batch'.
5308         * diff-mode.el (diff-beginning-of-file-and-junk): New function.
5309         (diff-file-kill): Use it.
5310         (diff-beginning-of-hunk): Add arg `try-harder' using it.
5311         (diff-restrict-view, diff-find-source-location, diff-refine-hunk):
5312         Use it so they find the hunk even when we're in the file header.
5314 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
5316         * vc-git.el (vc-git-revision-granularity, vc-git-root)
5317         (vc-git-command, vc-git-dir-state, vc-git-dired-state-info)
5318         (vc-git-create-repo): New functions.
5319         (vc-git-registered): New autoloaded function definition.
5320         (vc-git-registered): Use vc-git-root.
5321         (vc-git-responsible-p): New defalias.
5322         (vc-git-annotate-extract-revision-at-line): Uncomment.
5323         (vc-git-print-log): Add the file name to the log.
5324         (vc-git-log-view-mode): New derived mode.
5325         (vc-git-diff, vc-git-annotate-command): Use vc-git-command.
5327 2007-07-22  Michael Albinus  <michael.albinus@gmx.de>
5329         * progmodes/grep.el (grep-compute-defaults): Keep default values.
5331 2007-07-22  Ralf Angeli  <angeli@caeruleus.net>
5333         * textmodes/reftex.el (reftex-access-parse-file): Create parse
5334         file in a way that does not interfere with recentf mode.
5335         (reftex-access-parse-file): Do not risk destroying an existing
5336         buffer.
5338 2007-07-22  Alexandre Julliard  <julliard@winehq.org>
5340         * vc-git.el: New file.
5342 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5344         * textmodes/tex-mode.el (tex-font-script-display): Change default.
5346 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
5348         * vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips
5349         for branches and new files.
5351         * vc-hooks.el (vc-default-mode-line-string): Move mouse-face and
5352         local-map handling ...
5353         (vc-mode-line): ... here.  Improve handling of help-echo.
5355         * vc.el (mode-line-string): Document help-echo usage.
5357 2007-07-22  Michael Albinus  <michael.albinus@gmx.de>
5359         Sync with Tramp 2.1.10.
5361         * net/tramp.el (tramp-get-ls-command): Fix typo.
5363         * net/trampver.el: Update release number.
5365 2007-07-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
5367         * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon.
5369         * term/x-win.el (x-handle-no-bitmap-icon): New function.
5371 2007-07-22  Martin Rudalics  <rudalics@gmx.at>
5373         * add-log.el (change-log-fill-parenthesized-list): New function.
5374         (change-log-indent): Call change-log-fill-parenthesized-list.
5375         (change-log-fill-paragraph): Bind fill-indent-according-to-mode to t.
5376         Have lines with leading asterisk start a paragraph.
5378 2007-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
5380         * calc/calc-math.el (math-emacs-precision)
5381         (math-largest-emacs-expt, math-smallest-emacs-expt):
5382         New variables.
5383         (math-use-emacs-fn): New function.
5384         (math-exp-raw): Evaluate with `math-use-emacs-fn', when
5385         appropriate.
5387 2007-07-21  Thien-Thi Nguyen  <ttn@gnuvola.org>
5389         * image-dired.el (image-dired-sane-db-file): New func.
5390         (image-dired-write-tags, image-dired-remove-tag)
5391         (image-dired-list-tags, image-dired-write-comments)
5392         (image-dired-get-comment, image-dired-mark-tagged-files)
5393         (image-dired-create-gallery-lists): Call new func.
5394         Reported by Dieter Wilhelm <dieter@duenenhof-wilhelm.de>.
5396 2007-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
5398         * vc-hg.el (vc-hg-dir-state): Fix loop.
5399         (vc-hg-print-log): Fix expected return value for vc-hg-command.
5400         (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
5401         (vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
5402         (vc-hg-revert): Likewise.
5403         (vc-hg-revision-table, vc-hg-revision-completion-table): New
5404         functions.
5406 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5408         * add-log.el (change-log-resolve-conflict): Don't lose data if the
5409         merge fails.
5411 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
5413         * progmodes/compile.el (compilation-auto-jump-to-first-error):
5414         Add group and version.
5416 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5418         * add-log.el (add-log-file-name): Use file-relative-name.
5419         (add-change-log-entry): Delay reading
5420         add-log-(full-name|mailing-address) to after we've switched to the
5421         ChangeLog buffer so we get the right value.
5422         (add-change-log-entry, add-log-current-defun, change-log-merge):
5423         Use derived-mode-p rather than checking major-mode directly.
5425         * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory
5426         name for buffer-file-name if it refers to a directory.
5428         * vc-arch.el (vc-arch-diff): Fix last change.
5430         * progmodes/compile.el (compilation-start): Remember the original
5431         directory in a buffer-local compilation-directory.
5432         (compile): Set the global value of compilation-directory.
5433         (recompile): Use compilation-directory even in the compilation buffer.
5435 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
5437         * vc-hg.el (vc-hg-diff): Use vc-hg-command.
5439 2007-07-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5441         * ps-print.el: Problem with foreground and background color when
5442         printing a buffer with and without faces.  Reported by Christian
5443         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
5444         (ps-print-version): New version 6.7.5.
5445         (ps-default-fg): Change default value to nil, so black color is used
5446         when a face does not specify a foreground color.
5447         (ps-default-bg): Change default value to nil, so white color is used
5448         for background color.
5449         (ps-begin-job): Fix code.
5451 2007-07-20  Eli Zaretskii  <eliz@gnu.org>
5453         * makefile.w32-in (install-lisp-SH): Don't create subdirectories
5454         in $(INSTALL_DIR)/lisp/ if they already exist.
5456 2007-07-20  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
5458         * makefile.w32-in (install-lisp-CMD): Don't create subdirectories
5459         in $(INSTALL_DIR)/lisp/ if they already exist.
5461 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5463         * progmodes/vera-mode.el (vera-re-search-forward)
5464         (vera-re-search-backward): Remove use of store-match-data.
5465         (vera-mode-map): Move initialization into declaration.
5467         * progmodes/flymake.el (flymake-buildfile-dirs): Remove.
5468         (flymake-find-buildfile): Use locate-dominating-file.
5470         * vc.el (vc-delistify): Use mapconcat.
5471         (vc-do-command): Minor simplification.
5472         (vc-expand-dirs): Use push.
5474         * vc-mcvs.el (vc-mcvs-create-repo):
5475         * vc-cvs.el (vc-cvs-create-repo): Remove.
5477         * vc-hooks.el (vc-find-root): Fix case where `file' is the current
5478         directory and the root as well.
5480 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
5482         * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
5483         instead of a file.
5485         * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
5486         (vc-hg-registered): Replace if with when.
5487         (vc-hg-state): Deal with nonexistent files and handle removed files.
5488         (vc-hg-dir-state, vc-hg-dired-state-info): New functions.
5489         (vc-hg-checkout): Re-enable.
5490         (vc-hg-create-repo): Fix typos.
5491         (vc-hg-print-log): Fix for multiple files.
5492         (vc-hg-workfile-unchanged-p): New function.
5494         * vc.el: Fix typo.
5495         (vc-print-log): Fix call to print-log.
5496         (vc-default-comment-history): Likewise.
5497         (vc-directory-exclusion-list): Add .hg and .bzr.
5498         (vc-diff-internal): Pass a list instead of a file.
5500         * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
5502         * vc-bzr.el (vc-bzr-create-repo): New function.
5504 2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5506         * vc-hooks.el (vc-find-root): Walk up the tree to find an existing
5507         `file' from which to start the search.
5509 2007-07-19  Eric S. Raymond  <esr@snark.thyrsus.com>
5511         * vc-cvs.el (vc-cvs-checkin, vc-cvs-diff): Finish transition from
5512         having a single file argument to having a list of files as the
5513         first argument.
5515 2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5517         * files.el (locate-dominating-file): New function.
5519 2007-07-18  Michael Albinus  <michael.albinus@gmx.de>
5521         * progmodes/grep.el (grep-host-defaults-alist): New defvar.
5522         (grep-compute-defaults): Use it.
5524 2007-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5526         * uniquify.el: Docstring fixes.
5528 2007-07-18  Eric S. Raymond  <esr@snark.thyrsus.com>
5530         * vc.el (revision-granularity, create-repo): Document new vc
5531         backend properties.
5532         (vc-rollback): Renamed from vc-cancel-version. Update
5533         references. Pass a list instead of a file.
5534         (vc-revert): Renamed from vc-revert-buffer. Update references.
5535         (vc-delistify, vc-expand-dirs): New functions.
5536         (vc-do-command): Rename FILE to FILE-OR-LIST and deal with a list
5537         of files instead of a single file.
5538         (vc-position-context, vc-resync-window, vc-diff-internal)
5539         (vc-print-log): Pass a list instead of a file.
5541         * vc-hooks.el (vc-stay-local-p, vc-backend)
5542         (vc-backend-subdirectory-name): Work on a file list, not a single
5543         file.
5544         (vc-workfile-version): Update docstring.
5545         (vc-menu-map): Use vc-rollback instead of vc-cancel-version and
5546         vc-revert instead of vc-revert-buffer.
5547         (vc-prefix-map): Likewise. Bind vc-update.
5549         * vc-svn.el (vc-svn-revision-granularity, vc-svn-create-repo)
5550         (vc-svn-wash-log): New functions.
5551         (vc-svn-register, vc-svn-checkin, vc-svn-print-log)
5552         (vc-svn-command): Deal with a list of files, not a single file.
5554         * vc-rcs.el (vc-rcs-revision-granularity, vc-rcs-create-repo)
5555         (vc-rcs-wash-log): New functions.
5556         (vc-rcs-register, vc-rcs-checkin, vc-rcs-diff, vc-rcs-print-log):
5557         Deal with a list of files, not a single file.
5558         (vc-rcs-rollback): Likewise. Rename from vc-rcs-cancel-version.
5560         * vc-sccs.el (vc-sccs-revision-granularity, vc-sccs-wash-log): New
5561         functions.
5562         (vc-sccs-register, vc-sccs-checkin, vc-sccs-diff): Deal with a
5563         list of files, not a single file.
5565         * vc-mcvs.el (vc-mcvs-revision-granularity, vc-mcvs-create-repo):
5566         New functions.
5567         (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-print-log)
5568         (vc-mcvs-diff): Deal with a list of files, not a single file.
5570         * vc-hg.el (vc-hg-revision-granularity, vc-hg-create-repo): New
5571         functions.
5572         (vc-hg-print-log): Deal with a list of files, not a single file.
5573         (vc-hg-diff-tree): New function, replace defalias with the same
5574         name.
5575         (vc-hg-register, vc-hg-checkin, vc-hg-command): Rename FILE to
5576         FILES to denote that it is a file list, not a single file.
5578         * vc-cvs.el (vc-cvs-create-repo, vc-cvs-wash-log): New functions.
5579         (vc-cvs-register, vc-cvs-checkin): Deal with a list of files, not
5580         a single file.
5581         (vc-cvs-print-log, vc-cvs-command): Rename FILE to FILES to denote
5582         that it is a file list, not a single file.
5583         (vc-cvs-diff): Likewise. Simplify.
5585         * vc-arch.el (vc-arch-register, vc-arch-checkin, vc-arch-diff):
5586         Deal with a list of files, not a single file.
5588         * vc-bzr.el (vc-bzr-register, vc-bzr-command, vc-bzr-checkin)
5589         (vc-bzr-print-log): Update FILE parameter name to denote that it
5590         is a file list, not a single file.
5591         (vc-bzr-diff): Likewise. Use the car of files.
5593 2007-07-18  Juanma Barranquero  <lekktu@gmail.com>
5595         * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode)
5596         (follow-delete-other-windows-and-split, follow-recenter)
5597         (follow-windows-aligned-p, follow-point-visible-all-windows-p)
5598         (follow-redisplay, follow-estimate-first-window-start)
5599         (follow-xemacs-scrollbar-support, follow-intercept-process-output):
5600         Fix typos in docstrings.
5602 2007-07-18  Martin Rudalics  <rudalics@gmx.at>
5604         * add-log.el (change-log-mode): Use fill-nobreak-predicate to
5605         avoid that filling introduces lines with a single asterisk.
5607         * kmacro.el (kmacro-end-macro): When ignoring empty macro
5608         avoid incorrect kmacro-ring-empty-p messages.
5609         Reported by Michael Schierl <schierlm@gmx.de>.
5611 2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
5613         * vc.el: Add more info about the vc-registered function.
5615 2007-07-17  Michael Albinus  <michael.albinus@gmx.de>
5617         * files.el (file-remote-p): Introduce optional parameter
5618         IDENTIFICATION.
5620         * recentf.el (recentf-keep-default-predicate): Adapt call of
5621         `file-remote-p'.
5623         * progmodes/grep.el (grep-probe): Use `process-file'.
5624         (grep-compute-defaults): Handle variables host specific.
5626         * net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional
5627         parameter IDENTIFICATION.
5629         * net/tramp.el (tramp-handle-file-remote-p): Handle optional
5630         parameter IDENTIFICATION.
5631         (tramp-handle-set-file-times): New defun.  Replaces `tramp-touch'.
5632         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
5633         Add entry for `set-file-times'.
5634         (tramp-do-copy-or-rename-file-via-buffer)
5635         (tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
5636         (tramp-handle-unhandled-file-name-directory): Rewrite.
5637         (tramp-convert-file-attributes): Add error handling when inode is
5638         extraordinary big.
5639         (tramp-get-inode): Change parameter from FILE to VEC.
5640         (tramp-handle-start-file-process): Use (current-buffer) if BUFFER
5641         is nil.  This is according to the specification.  Goto (point-max)
5642         when ready.
5643         (tramp-handle-shell-command): Rewrite completely, using
5644         `process-file' and `start-file-process'.
5645         (tramp-methods, tramp-find-shell)
5646         (tramp-open-connection-setup-interactive-shell)
5647         (tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
5648         var.  Reported by Steve Youngs <steve@sxemacs.org>.
5650         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
5651         entry for `set-file-times'.  Rename `start-process' into
5652         `start-file-process'.  Remove `call-process' entry.
5653         (tramp-fish-handle-set-file-times): New defun.
5654         (tramp-fish-handle-executable-find): Use `process-file'.
5655         (tramp-fish-handle-process-file): New defun.  Replaces
5656         `tramp-fish-handle-call-process'.
5657         (tramp-fish-do-copy-or-rename-file-directly): Use
5658         `set-file-times'.
5659         (tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.
5661         * net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
5662         `tramp-get-inode' parameter.
5664 2007-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5666         * vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version)
5667         (vc-bzr-post-command-function): Remove.  Version 0.8 is already old
5668         nowadays, and by the time Emacs-23 comes out, nobody will even remember
5669         it has ever existed.
5671 2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
5673         * vc.el: Undo previous change.
5675 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
5677         * makefile.w32-in (clean): Don't delete *~.
5679 2007-07-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5681         * textmodes/tex-mode.el (tex-verbatim-environments):
5682         Add safe-local-variable property.
5683         (tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
5684         when starting font-lock rather than when loading tex-mode.el.
5686         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
5687         whole $( rather than just the $.  Rename from sh-quoted-subshell.
5688         (sh-font-lock-syntactic-keywords): Adjust call accordingly.
5690 2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>
5692         * bookmark.el (bookmark-maybe-sort-alist): Don't modify
5693         bookmark-alist.  Instead, if not sorting, simply return it.
5694         (bookmark-bmenu-list): Call bookmark-maybe-sort-alist
5695         for its return value, not for its side effect.
5697         * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the
5698         case of alignment under a constant symbol, find and consider
5699         the sexp actually at indentation to be the "last sexp".
5701 2007-07-16  Drew Adams  <drew.adams@oracle.com>
5703         * mouse.el (mouse-yank-secondary): Better error message if no
5704         secondary selection.
5706 2007-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
5708         * vc-hooks.el (vc-handled-backends): Move BZR later in the list.
5710         * term/xterm.el (xterm-turn-on-modify-other-keys)
5711         (xterm-turn-off-modify-other-keys): New functions.
5712         (terminal-init-xterm): Enable the modifyOtherKeys feature if the
5713         terminal supports it.
5715 2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>
5717         * bookmark.el (bookmark-show-all-annotations):
5718         Make sure each inserted annotation ends with newline.
5720 2007-07-15  Richard Stallman  <rms@gnu.org>
5722         * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.
5724         * tutorial.el (tutorial--find-changed-keys):
5725         Handle C-x specially like ESC.
5727 2007-07-15  Aaron Hawley  <aaronh@garden.org>
5729         * tar-mode.el (tar-get-descriptor): No error for zero-length file.
5731 2007-07-15  Juri Linkov  <juri@jurta.org>
5733         * delsel.el (delete-selection-pre-hook):
5734         * emulation/cua-base.el (cua-paste): Before a yank command,
5735         check also whether last-command is one of mouse-save-then-kill,
5736         mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region.
5738 2007-07-15  Michael Albinus  <michael.albinus@gmx.de>
5740         * recentf.el (recentf-keep-default-predicate): New defun.
5741         (recentf-keep): Use it as initial value.
5743 2007-07-15  Karl Fogel  <kfogel@red-bean.com>
5745         * bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com,
5746         thus restoring bookmark bindings to three slots under C-x r.  See
5747         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.
5749 2007-07-15  Jeff Miller  <jmiller@cablespeed.com>  (tiny change)
5751         * calendar/calendar.el (calendar-goto-bahai-date): Autoload it.
5753 2007-07-15  Jason Rumney  <jasonr@gnu.org>
5755         * w32-fns.el (set-default-process-coding-system): Use dos line ends
5756         for input to cmdproxy on all versions of Windows.
5757         Use dos line ends for input to plink.
5759         * comint.el (comint-simple-send): Concat newline before sending.
5760         (comint-password-prompt-regexp): Recognize plink's passphrase prompt.
5762 2007-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5764         * emacs-lisp/autoload.el (generated-autoload-file): Autoload the
5765         safe-local-variable setting.
5767 2007-07-14  David Kastrup  <dak@gnu.org>
5769         * emacs-lisp/advice.el (defadvice): Doc fix.
5771 2007-07-14  Juanma Barranquero  <lekktu@gmail.com>
5773         * subr.el (when, unless): Doc fix.
5775 2007-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
5777         * replace.el (match): Use yellow1 instead of yellow.
5779         * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
5780         red.
5782         * pcvs-info.el (cvs-unknown): Likewise.
5784 2007-07-13  Eli Zaretskii  <eliz@gnu.org>
5786         * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets.
5787         (install): Use them to copy all *.el files before *.elc.
5789 2007-07-13  Drew Adams  <drew.adams@oracle.com>
5791         * bookmark.el (bookmark-jump-other-window): New function.
5792         (bookmark-map): Bind it to "o".
5794         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html
5795         and its thread contains discussion about this change.
5796         The original patch was slightly tweaked by Karl Fogel
5797         <kfogel@red-bean.com> before committing.
5799 2007-07-13  Karl Fogel  <kfogel@red-bean.com>
5801         * bookmark.el: Shorten some comments to fit within 80 lines.
5803 2007-07-13  Karl Fogel  <kfogel@red-bean.com>
5805         * bookmark.el: Don't define bookmark keys under the "C-xr" map;
5806         instead, make "C-xp" a prefix for bookmark-map.  Patch by Drew
5807         Adams <drew.adams@oracle.com>, mildly tweaked by me.  See
5808         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.
5810 2007-07-13  Carsten Dominik  <dominik@science.uva.nl>
5812         * textmodes/org.el: Bug fixes.
5813         (org-end-of-line): Move to end of line if in headline without tags.
5815 2007-07-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5817         * vc-hooks.el: Remove spurious * in docstrings.
5818         (vc-handled-backends): Add BZR.
5820         * vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.
5822 2007-07-12  Davis Herring  <herring@lanl.gov>
5824         * desktop.el (desktop-buffer-info, desktop-save):
5825         Use `desktop-dirname' instead of `dirname'.
5827 2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>
5829         * progmodes/which-func.el (which-func-modes): Add `python-mode'.
5831         * progmodes/python.el (python-which-func-length-limit): New var.
5832         (python-which-func): New function.
5833         (python-current-defun): Add optional `length-limit' and try to fit
5834         computed function name to that length.
5835         (python-mode): Hook `python-which-func' up.
5837 2007-07-12  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)
5839         * pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case.
5841         * comint.el (comint-dynamic-complete-as-filename):
5842         Use read-file-name-completion-ignore-case.
5844 2007-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5846         * comint.el (comint-dynamic-list-filename-completions):
5847         Use read-file-name-completion-ignore-case.
5849         * vc-cvs.el: Require CL.
5850         (vc-cvs-revision-table, vc-cvs-revision-completion-table):
5851         New functions to provide completion of revision names.
5853         * vc-cvs.el (vc-functions): Clear up the cache when reloading the file.
5854         (vc-cvs-annotate-first-line-re): New const.
5855         (vc-cvs-annotate-process-filter): New fun.
5856         (vc-cvs-annotate-command): Use them and run the command asynchronously.
5858 2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>
5860         * emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation.
5861         (eldoc-print-current-symbol-info): Adjust for changed helper
5862         function signatures.
5863         (eldoc-get-fnsym-args-string): Add `args' argument.  Use new
5864         `eldoc-highlight-function-argument'.
5865         (eldoc-highlight-function-argument): New function.
5866         (eldoc-get-var-docstring): Format documentation with
5867         `font-lock-variable-name-face'.
5868         (eldoc-docstring-format-sym-doc): Add `face' argument and apply it
5869         where suited.
5870         (eldoc-fnsym-in-current-sexp): Return a list with argument index.
5871         (eldoc-beginning-of-sexp): Return number of skipped sexps.
5873 2007-07-11  Michael Albinus  <michael.albinus@gmx.de>
5875         * progmodes/compile.el (compilation-start): `start-process' must
5876         still be redefined when calling `start-process-shell-command'.
5878         * progmodes/gud.el (gud-file-name): When `default-directory' is a
5879         remote file name, prepend its remote part to the filename.
5880         (gud-common-init): When `default-directory' is a remote file name,
5881         make the filename relative to it.
5882         Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
5884 2007-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
5886         * vc-hooks.el (vc-default-mode-line-string): Add a mouse face,
5887         mouse binding and a tooltip.
5889 2007-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5891         * menu-bar.el (vc-menu-map): New defalias.
5893 2007-07-10  Richard Stallman  <rms@gnu.org>
5895         * emacs-lisp/lisp-mode.el (eval-defun):
5896         Explain special handling of `defface'.
5898 2007-07-10  Jim Meyering  <jim@meyering.net>  (tiny change)
5900         * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.
5902         * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.
5904 2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5906         * emacs-lisp/cl.el: Load cl-loaddefs.el quietly.
5908         * vc-arch.el (vc-arch-complete): Remove.
5909         (vc-arch-revision-completion-table): Use complete-with-action.
5911         * subr.el (condition-case-no-debug, with-demoted-errors): New macros.
5912         (complete-with-action): New function.
5913         (dynamic-completion-table): Use it.
5915 2007-07-10  Michael Albinus  <michael.albinus@gmx.de>
5917         * comint.el (make-comint, make-comint-in-buffer)
5918         (comint-exec-1): Replace `start-process' by `start-file-process'.
5920         * progmodes/compile.el (compilation-start): Revert redefining
5921         `start-process'.
5923 2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5925         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
5926         with EOLs when generating MD5 checksums.
5928         * follow.el: Don't change the global map from the follow-mode-map
5929         defvar, but from the toplevel.  Use easy-menu to unify the Emacs and
5930         XEmacs code.
5931         (turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
5932         since `follow-mode' should be used instead for that.
5934         * emacs-lisp/easymenu.el (easy-menu-binding): New function.
5935         (easy-menu-do-define): Use it.
5936         (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
5938         * progmodes/compile.el (compilation-auto-jump-to-first-error)
5939         (compilation-auto-jump-to-next): New vars.
5940         (compilation-auto-jump): New function.
5941         (compilation-error-properties): Use them to jump to first error.
5942         (compilation-start): Set the var if requested.
5944         * emacs-lisp/autoload.el (update-directory-autoloads): Remove
5945         duplicates without also removing entries from other directories.
5947 2007-07-10  Carsten Dominik  <dominik@science.uva.nl>
5949         * textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
5950         Remember span as default.
5951         (org-columns-edit-value): Rename from `org-column-edit'.
5952         (org-columns-display-here-title): Rename from
5953         `org-overlay-columns-title'.
5954         (org-columns-remove-overlays): Rename from org-remove-column-overlays.
5955         (org-columns-get-autowidth-alist): Rename from
5956         `org-get-columns-autowidth-alist'.
5957         (org-columns-display-here): Rename from `org-overlay-columns'.
5958         (org-columns-new-overlay): Rename from `org-new-column-overlay'.
5959         (org-columns-quit): Rename from `org-column-quit'.
5960         (org-columns-show-value): Rename from `org-column-show-value'.
5961         (org-columns-content, org-columns-widen)
5962         (org-columns-next-allowed-value)
5963         (org-columns-edit-allowed, org-columns-store-format)
5964         (org-columns-uncompile-format, org-columns-redo)
5965         (org-columns-edit-attributes, org-delete-property)
5966         (org-set-property, org-columns-update)
5967         (org-columns-compute, org-columns-eval)
5968         (org-columns-not-in-agenda, org-columns-compute-all)
5969         (org-property-next-allowed-value)
5970         (org-columns-compile-format)
5971         (org-fill-paragraph-experimental)
5972         (org-string-to-number, org-property-action)
5973         (org-columns-move-left, org-columns-new)
5974         (org-column-number-to-string)
5975         (org-property-previous-allowed-value)
5976         (org-at-property-p, org-columns-delete)
5977         (org-columns-previous-allowed-value)
5978         (org-columns-move-right, org-columns-narrow)
5979         (org-property-get-allowed-values)
5980         (org-verify-version, org-column-string-to-number)
5981         (org-delete-property-globally): New functions.
5982         (org-columns-current-fmt): Rename from `org-current-columns-fmt'.
5983         (org-columns-overlays): Rename from `org-column-overlays'.
5984         (org-columns-map): Rename from `org-column-map'.
5985         (org-columns-current-maxwidths): Rename from
5986         `org-current-columns-maxwidths'.
5987         (org-columns-begin-marker, org-columns-current-fmt-compiled)
5988         (org-previous-header-line-format)
5989         (org-columns-inhibit-recalculation)
5990         (org-columns-top-level-marker): New variables.
5991         (org-columns-default-format): Rename from `org-default-columns-format'.
5992         (org-property-re): New constant.
5994 2007-07-10  Guanpeng Xu  <herberteuler@hotmail.com>
5996         * subr.el (looking-at-p, string-match-p): New functions.
5998 2007-07-09  Reiner Steib  <Reiner.Steib@gmx.de>
6000         * textmodes/tex-mode.el (tex-fontify-script)
6001         (tex-font-script-display): New variables to make display of
6002         superscripts and subscripts customizable.
6003         (tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
6005 2007-07-09  Richard Stallman  <rms@gnu.org>
6007         * isearch.el (isearch-edit-string): Call to isearch-push-state
6008         after the search.
6010 2007-07-09  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
6012         * window.el (fit-window-to-buffer): Remove setting of window-min-height
6013         to 1 as enlarge-window uses the value to resize/shrink windows other
6014         than WINDOW if needed.
6016 2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>
6018         * cus-start.el (file-coding-system-alist): Fix custom type.
6020 2007-07-08  Chong Yidong  <cyd@stupidchicken.com>
6022         * longlines.el (longlines-wrap-region): Avoid marking buffer as
6023         modified.
6024         (longlines-auto-wrap, longlines-window-change-function):
6025         Remove unnecessary calls to set-buffer-modified-p.
6027 2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>
6029         * cus-start.el (file-coding-system-alist): Fix custom type.
6031 2007-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6033         * vc-cvs.el (vc-cvs-revert): Use vc-default-revert.
6034         (vc-cvs-checkout): Remove last arg now unused; simplify.
6036 2007-07-08  Michael Albinus  <michael.albinus@gmx.de>
6038         * files.el (file-remote-p): Introduce optional parameter CONNECTED.
6040         * net/tramp.el:
6041         * net/tramp-ftp.el:
6042         * net/tramp-smb.el:
6043         * net/tramp-uu.el:
6044         * net/trampver.el: Migrate to Tramp 2.1.
6046         * net/tramp-cache.el:
6047         * net/tramp-fish.el:
6048         * net/tramp-gw.el: New Tramp packages.
6050         * net/tramp-util.el:
6051         * net/tramp-vc.el: Removed.
6053         * net/ange-ftp.el: Add ange-ftp property to 'start-file-process.
6054         (ange-ftp-file-remote-p): Handle optional parameter CONNECTED.
6056         * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.
6058         * progmodes/compile.el (compilation-start): Redefine
6059         `start-process' temporarily when `default-directory' is remote.
6060         Remove case of synchronous compilation, this won't happen ever.
6061         (compilation-setup): Make local variable `comint-file-name-prefix'
6062         for remote compilation.
6064 2007-07-08  Martin Rudalics  <rudalics@gmx.at>
6066         * novice.el (disabled-command-function): Fit window to buffer to
6067         make last line visible.
6068         Reported by Stephen Berman <Stephen.Berman at gmx.net>.
6070         * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
6071         when handling the terminating event.
6073 2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>
6075         * calc/calc.el (math-read-number-simple): Remove leading 0s.
6076         (math-bignum-digit-length): Change to optimal value.
6078         * calc/calc-bin.el (math-bignum-logb-digit-size)
6079         (math-bignum-digit-power-of-two): Evaluate when compiled.
6081         * calc/calc-comb.el (math-small-factorial-table)
6082         (math-init-random-base, math-prime-test): Remove unnecessary calls
6083         to `math-read-number-simple'.
6085         * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
6086         (math-approx-gamma-const): Add docstrings.
6088         * calc/calc-forms.el (math-julian-date-beginning)
6089         (math-julian-date-beginning-int): New constants.
6090         (math-format-date-part, math-parse-standard-date, calcFunc-julian):
6091         Use the new constants.
6093         * calc/calc-funcs.el (math-gammap1-raw): Add docstring.
6095         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
6096         Add docstrings.
6098 2007-07-07  Tom Tromey  <tromey@redhat.com>
6100         * vc.el (vc-annotate): Jump to line and output message only after the
6101         process is really all done.
6103 2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6105         * vc.el (vc-exec-after): Don't move point from the sentinel.
6106         Forcefully read all the remaining text in the pipe upon process exit.
6107         (vc-annotate-display-autoscale, vc-annotate-lines):
6108         Don't stop at the first unrecognized line.
6109         (vc-annotate-display-select): Run autoscale after the process is done
6110         since it depends on the whole result.
6112 2007-07-07  Eli Zaretskii  <eliz@gnu.org>
6114         * term/w32-win.el (menu-bar-open): New function.
6115         Bind <f10> to it.
6117 2007-07-07  Michael Albinus  <michael.albinus@gmx.de>
6119         * simple.el (start-file-process): New defun.
6121 2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6123         * files.el (find-file-confirm-nonexistent-file): Rename from
6124         find-file-confirm-inexistent-file.  Update users.
6126         * emacs-lisp/autoload.el (autoload-find-destination): Understand a new
6127         format of autoload block where the file's time-stamp is replaced by its
6128         MD5 checksum.
6129         (autoload-generate-file-autoloads): Use MD5 checksum instead of
6130         time-stamp for secondary autoloads files.
6131         (update-directory-autoloads): Remove duplicate entries.
6132         Use time-less-p for time-stamps, as done in autoload-find-destination.
6134 2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>
6136         * calc/calc.el (math-read-number): Replace number by variable.
6137         (math-read-number-simple): Properly parse small integers.
6139 2007-07-07  Dan Nicolaescu  <dann@ics.uci.edu>
6141         * vc.el: Fix doc for the checkout function.
6143 2007-07-06  Dan Nicolaescu  <dann@ics.uci.edu>
6145         * vc-hg.el (vc-hg-root): New function.
6146         (vc-hg-registered): Use it.
6147         (vc-hg-diff-tree): New defalias.
6148         (vc-hg-responsible-p): Likewise.
6149         (vc-hg-checkout): Comment out, not needed.
6150         (vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
6151         (vc-hg-find-version, vc-hg-next-version): New functions.
6153 2007-07-06  Andreas Schwab  <schwab@suse.de>
6155         * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any
6156         dynamic bindings around the evaluation of the expression.
6157         Reported by Jay Belanger <jay.p.belanger@gmail.com>.
6159 2007-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6161         * autorevert.el (auto-revert-tail-handler): Use inhibit-read-only.
6162         Run before-revert-hook.  Suggested by Denis Bueno <denbuen@sandia.gov>.
6163         Use run-hooks rather than run-mode-hooks.
6165 2007-07-05  Jay Belanger  <jay.p.belanger@gmail.com>
6167         * calc/calc-comb.el (math-random-digit): Rename to
6168         `math-random-three-digit-number'.
6169         (math-random-digits): Don't depend on representation of integer.
6171         * calc/calc-bin.el (math-bignum-logb-digit-size)
6172         (math-bignum-digit-power-of-two): New constants.
6173         (math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
6174         (math-not-bignum, math-clip-bignum): Use the constants
6175         `math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size'
6176         instead of their values.
6177         (math-clip): Use math-small-integer-size instead of its value.
6179         * calc/calc.el (math-add-bignum): Replace number by constant.
6181 2007-07-05  Chong Yidong  <cyd@stupidchicken.com>
6183         * wid-edit.el (widget-documentation-string-value-create):
6184         Insert indentation spaces.
6186 2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>
6188         * emacs-lisp/byte-opt.el: Revert last change.
6190 2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
6192         * vc-hooks.el (vc-handled-backends): Add HG.
6194         * vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.
6196 2007-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6198         * complete.el (PC-do-complete-and-exit): Add support for the new
6199         `confirm-only' confirmation mode.
6201 2007-07-05  Chong Yidong  <cyd@stupidchicken.com>
6203         * cus-edit.el (custom-commands): New variable.
6204         (custom-tool-bar-map): New variable.  Initialize using
6205         `custom-commands'.
6206         (custom-mode): Use `custom-tool-bar-map'.
6207         (custom-buffer-create-internal): Insert action buttons only if
6208         tool bar is not used.  Use `custom-commands'.
6209         (Custom-help, custom-command-apply): New function.
6210         (custom-command-apply, Custom-set, Custom-save)
6211         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
6212         Use `custom-command-apply' instead of duplicating code.
6213         (customize-group-other-window): Call `customize-group' instead of
6214         duplicating code.
6215         (customize-face-other-window): Call `customize-face' instead of
6216         duplicating code.
6217         (customize-group, customize-face): Add optional args for opening
6218         in another window.
6219         (custom-variable-tag): Don't inherit `variable-pitch' face.
6220         (custom-group-tag): Inherit `variable-pitch' face.
6221         (custom-variable-value-create): Set documentation indentation.
6222         (custom-group-value-create): Make group name a link, instead of
6223         using an extra "go to group" button.
6224         (custom-prompt-variable, custom-group-set, custom-group-save)
6225         (custom-group-reset-current, custom-group-reset-saved)
6226         (custom-group-reset-standard): Minor cleanup.
6228 2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>
6230         * Makefile.in (bootstrap-prepare): When copying from
6231         ldefs-boot.el, make sure loaddefs.el is writeable.
6233         (bootstrap-prepare): Make $(lisp)/ps-print.el
6234         and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.
6236 2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
6238         * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
6239         only caller, and delete.
6240         (vc-hg-state): Deal with exceptions and only parse the output on
6241         successful return.
6242         (vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
6243         caller, and delete.
6244         (vc-hg-workfile-version): Deal with exceptions and only parse the
6245         output on successful return.
6246         (vc-hg-revert): New function.
6248 2007-07-04  Jay Belanger  <jay.p.belanger@gmail.com>
6250         * calculator.el (calculator-expt): Use more cases to determine
6251         the value.
6253 2007-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
6255         * progmodes/gud.el (auto-mode-alist): Match more valid gdb init
6256         file names.
6258 2007-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
6260         * calculator.el (calculator-expt, calculator-integer-p):
6261         New functions.
6262         (calculator-fact): Check to see if the factorial will be too
6263         large before computing it.
6264         (calculator-initial-operators): Use `calculator-expt' to
6265         compute "^".
6266         (calculator-mode): Mention that results which are too large
6267         will return inf.
6268         * calc/calc-comb.el (math-small-factorial-table): Replace list
6269         by vector.
6271 2007-07-03  David Kastrup  <dak@gnu.org>
6273         * shell.el: On request of the authors, remove their addresses for
6274         the sake of bug reports, and add the developer list address as
6275         maintainer information.
6277 2007-07-03  Richard Stallman  <rms@gnu.org>
6279         * files.el (make-directory): Doc fix.
6280         (find-file-confirm-inexistent-file): Make it a defcustom.
6281         Make nil the default.
6283 2007-07-02  Richard Stallman  <rms@gnu.org>
6285         * startup.el (command-line): Set buffer-offer-save in *scratch*
6286         and enable auto-save in it.
6288 2007-07-02  Carsten Dominik  <dominik@science.uva.nl>
6290         * textmodes/org.el (orgstruct-mode-map): New variable.
6291         (orgstruct-mode): New minor mode.
6292         (turn-on-orgstruct, orgstruct-error, orgstruct-setup)
6293         (orgstruct-make-binding, org-context-p, org-get-local-variables)
6294         (org-run-like-in-org-mode): New functions.
6295         (org-cycle-list-bullet): New command.
6296         (org-special-properties, org-property-start-re)
6297         (org-property-end-re): New constants.
6298         (org-with-point-at): New macro.
6299         (org-get-property-block, org-entry-properties, org-entry-get)
6300         (org-entry-delete, org-entry-get-with-inheritance)
6301         (org-entry-put, org-buffer-property-keys): New functions.
6302         (org-insert-property-drawer): New command.
6303         (org-entry-property-inherited-from): New variable.
6304         (org-column): New face.
6305         (org-column-overlays, org-current-columns-fmt)
6306         (org-current-columns-maxwidths, org-column-map): New variables.
6307         (org-column-menu): New menu.
6308         (org-new-column-overlay, org-overlay-columns)
6309         (org-overlay-columns-title, org-remove-column-overlays)
6310         (org-column-show-value, org-column-quit, org-column-edit): New
6311         functions.
6312         (org-columns, org-agenda-columns): New commands.
6313         (org-get-columns-autowidth-alist): New functions.
6314         (org-properties): New customize group.
6315         (org-default-columns-format): New option.
6316         (org-priority): Realign tags after changing priority.
6317         (org-preserve-lc): New macro.
6318         (org-update-checkbox-count): Catch case when there is no headline.
6319         (org-agenda-quit): Remove any column overlays.
6320         (org-beginning-of-item-list): Fixed bug when non-item line is
6321         indented too deep.
6322         (org-cached-props): New variable.
6323         (org-cached-entry-get): New function.
6324         (org-make-tags-matcher): Handle property matches.
6325         (org-table-recalculate): Swap evaluation order: Field formula
6326         first, then column formulas, but don't allow them to overwrite the
6327         field formulas.
6328         (org-table-eval-formula): New argument untouchable.
6329         (org-table-put-field-property): New function.
6331 2007-07-02  Martin Rudalics  <rudalics@gmx.at>
6333         * help-mode.el (help-make-xrefs): Skip spaces too when
6334         skipping tabs.
6336         * ffap.el (dired-at-point-prompter): Improve prompt in
6337         list-directory case.
6339 2007-07-01  Richard Stallman  <rms@gnu.org>
6341         * files.el (find-file-visit-truename): Fix safe-local-variable value.
6343 2007-07-01  Richard Stallman  <rms@gnu.org>
6345         * cus-start.el (max-mini-window-height): Added.
6347 2007-07-01  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)
6349         * complete.el (partial-completion-mode): Remove advice of
6350         read-file-name-internal.
6351         (PC-do-completion): Rebind minibuffer-completion-table.
6352         (PC-read-file-name-internal): New function doing what
6353         read-file-name-internal advice did.
6355 2007-07-01  Paul Pogonyshev  <pogonyshev@gmx.net>
6357         * emacs-lisp/byte-opt.el: Set `binding-is-magic'
6358         property on a few symbols.
6359         (byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
6360         (byte-optimize-lapcode): Remove bindings that are not referenced
6361         and certainly will not effect through dynamic scoping.
6363 2007-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6365         * files.el (find-file-confirm-inexistent-file): New var.
6366         (find-file, find-file-other-window, find-file-other-frame)
6367         (find-file-read-only, find-file-read-only-other-window)
6368         (find-file-read-only-other-frame): Use it.
6370 2007-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6372         * emacs-lisp/rx.el (rx-constituents): Fix up `anything'.
6374 2007-06-29  Juanma Barranquero  <lekktu@gmail.com>
6376         * generic-x.el (generic-define-mswindows-modes)
6377         (generic-define-unix-modes, apache-log-generic-mode)
6378         (bat-generic-mode-keymap, java-manifest-generic-mode)
6379         (show-tabs-generic-mode): Fix typos in docstrings.
6381 2007-06-29  Ryan Yeske  <rcyeske@gmail.com>
6383         * net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections.
6384         (rcirc-default-full-name): Rename from rcirc-default-user-full-name.
6385         (rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified.
6386         (rcirc-print): Never ignore messages from ourself.
6388 2007-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6390         * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\)
6391         syntax as well.  Reported by Juri Linkov <juri@jurta.org>.
6393 2007-06-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
6395         * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to
6396         replace-regexp-in-string.
6398 2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6400         * emacs-lisp/cl.el: Set edebug and indentation before loading
6401         cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
6403 2007-06-28  Andreas Schwab  <schwab@suse.de>
6405         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on
6406         $(lisp)/subdirs.el.
6408 2007-06-28  Juanma Barranquero  <lekktu@gmail.com>
6410         * speedbar.el (speedbar-handle-delete-frame): Don't try to delete
6411         the speedbar frame if nil; that deletes the current frame or
6412         causes an error if it is the only frame.
6413         Reported by Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>.
6415 2007-06-28  Kevin Ryde  <user42@zip.com.au>
6417         * textmodes/nroff-mode.el: Groff \# comments.
6418         (nroff-mode-syntax-table): \# comment intro,
6419         plain # as punct per global table.
6420         (nroff-font-lock-keywords): Add # as a single char escape.
6421         (nroff-mode): In comment-start-skip, match \#.
6423 2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6425         * vc-bzr.el (vc-functions): Clear up the cache when reloading the file.
6426         (vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode
6427         point-min == 1.
6429 2007-06-28  Nick Roberts  <nickrob@snap.net.nz>
6431         * pcvs-util.el (cvs-strings->string, cvs-string->strings):
6432         Rename and move to...
6434         * subr.el (strings->string, string->strings): ...here.
6436         * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout)
6437         (cvs-mode-checkout, cvs-execute-single-file): Use new function names.
6439         * progmodes/gud.el (gud-common-init): Call string->strings instead
6440         of split-string.
6442 2007-06-27  Michael Albinus  <michael.albinus@gmx.de>
6444         * dired-aux.el: Remove `dired-call-process'.
6445         (dired-check-process): Call `process-file'.
6447         * wdired.el (wdired-do-perm-changes): Call `process-file'.
6449         * net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
6450         `ange-ftp-process-file'.
6452 2007-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6454         * emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads.
6456         * emacs-lisp/cl-extra.el:
6457         * emacs-lisp/cl-seq.el:
6458         * emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el.
6459         Add autoload cookies on all defs autoloaded manually in cl.el.
6461         * emacs-lisp/cl-loaddefs.el: New file.
6463         * textmodes/texinfmt.el (texinfo-raisesections-alist)
6464         (texinfo-lowersections-alist): Merge definition and declaration.
6465         (texinfo-start-of-header, texinfo-end-of-header): Remove.
6466         (texinfo-format-syntax-table): Merge init into declaration.
6467         (texinfo-format-parse-line-args, texinfo-format-parse-args)
6468         (texinfo-format-parse-defun-args, texinfo-format-node)
6469         (texinfo-push-stack, texinfo-multitable-widths)
6470         (texinfo-define-info-enclosure, texinfo-alias)
6471         (texinfo-format-defindex, batch-texinfo-format): Use push.
6472         (texinfo-footnote-number): Remove duplicate declaration.
6474         * ps-print.el: Update with auto-generated autoloads.
6476         * ps-mule.el: Set generated-autoload-file to "ps-print.el".
6478 2007-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6480         * emacs-lisp/autoload.el (autoload-generated-file): Interpret names
6481         relative to current dir for file-local settings.
6482         (autoload-generate-file-autoloads): Add `outfile' arg.
6483         (update-directory-autoloads): Use it to directly call
6484         autoload-generate-file-autoloads instead of going through
6485         update-file-autoloads so we avoid redundant searches and so we can know
6486         the set of buffers changed so we can save them all.
6488         * emacs-lisp/autoload.el (autoload-find-destination): Return nil
6489         rather than throwing `up-to-date'.
6490         (autoload-generate-file-autoloads): Adjust correspondingly.
6491         (update-file-autoloads): Be careful to let-bind
6492         autoload-modified-buffers and adjust to new calling conventions.
6493         (autoload-modified-buffers): Make it a dynamically scoped var.
6494         (update-directory-autoloads): Use file-relative-name instead of
6495         autoload-trim-file-name.
6496         (autoload-insert-section-header): Don't use autoload-trim-file-name
6497         since the file is already relative now.
6498         (autoload-trim-file-name): Remove.
6500         * vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job.
6501         (vc-arch-complete, vc-arch--version-completion-table)
6502         (vc-arch-revision-completion-table): New functions to provide
6503         completion of revision names.
6504         (vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel)
6505         (vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions
6506         to let the user trim the revlib.
6508         * vc.el: Add new VC operation `revision-completion-table'.
6509         (vc-default-revision-completion-table): New function.
6510         (vc-version-diff, vc-version-other-window): Use it to provide
6511         completion of revision names if the backend provides it.
6513         * log-edit.el (log-edit-changelog-entries): Use with-current-buffer.
6515         * vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
6516         of newer .svn/entries.
6518 2007-06-25  David Kastrup  <dak@gnu.org>
6520         * calc/calc-poly.el (math-padded-polynomial)
6521         (math-partial-fractions): Add some function comments.
6523 2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6525         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6526         Make `outbuf' optional.
6527         (update-file-autoloads): Use it.
6529 2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6531         * emacs-lisp/autoload.el (autoload-modified-buffers): New var.
6532         (autoload-find-destination): Keep it uptodate.
6533         (autoload-save-buffers): New fun.
6534         (update-file-autoloads): Use it.  Re-add the "up to date" message.
6536         * emacs-lisp/autoload.el: Refactor for upcoming changes.
6537         (autoload-find-destination): New function extracted from
6538         update-file-autoloads.
6539         (update-file-autoloads): Use it.
6540         (autoload-generate-file-autoloads): New function extracted from
6541         generate-file-autoloads.  Use file-relative-name.  Delay computation of
6542         output-start to the first cookie.  Remove done-any, replaced by
6543         output-start.
6544         (generate-file-autoloads): Use it.
6546 2007-06-24  Jay Belanger  <jay.p.belanger@gmail.com>
6548         * calc/calc-comb.el (math-init-random-base, math-prime-test):
6549         Use math-read-number-simple to insert constants.
6550         (math-prime-test): Redo calculation of sum.
6552         * calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size.
6554         * calc/calc-math.el (math-scale-bignum-digit-size): Rename from
6555         math-scale-bignum-3.
6556         (math-isqrt-bignum): Use math-scale-bignum-digit-size and
6557         math-bignum-digit-size.
6558         (math-isqrt-small): Add another possible initial guess.
6560 2007-06-23  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
6562         * textmodes/bibtex.el (bibtex-entry-format): New options
6563         `whitespace', `braces', and `string'.
6564         (bibtex-field-braces-alist, bibtex-field-strings-alist)
6565         (bibtex-field-braces-opt, bibtex-field-strings-opt)
6566         (bibtex-cite-matcher-alist): New variables.
6567         (bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist.
6568         (bibtex-flash-head): Use blink-matching-delay.
6569         (bibtex-insert-kill, bibtex-mark-entry): Use push-mark.
6570         (bibtex-format-entry, bibtex-reformat): Handle new options of
6571         bibtex-entry-format.
6572         (bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
6573         New functions.
6574         (bibtex-complete-internal): Do not display messages while
6575         minibuffer is used.  Do not leave around a completions buffer
6576         that is out of date.
6577         (bibtex-copy-summary-as-kill): New optional arg.
6578         (bibtex-font-lock-url): New optional arg no-button.
6579         (bibtex-find-crossref): Use `bibtex-cite-matcher-alist'.
6580         (bibtex-url): Allow multiple URLs per entry.
6582 2007-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6584         * emacs-lisp/autoload.el (autoload-generated-file): New function.
6585         (update-file-autoloads, update-directory-autoloads): Use it.
6586         (autoload-file-load-name): New function.
6587         (generate-file-autoloads, update-file-autoloads): Use it.
6588         (autoload-find-file): Accept non-absolute argument.  Set default-dir.
6589         (generate-file-autoloads): If the autoloaded form is malformed,
6590         indicate the problem with a warning instead of aborting.
6592 2007-06-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
6594         * simple.el (next-error-recenter): Accept `(4)' as well;
6595         also, specify `integer' instead of `number'.
6597 2007-06-23  Eli Zaretskii  <eliz@gnu.org>
6599         * ls-lisp.el (insert-directory): If an invalid regexp error is
6600         thrown, try using FILE as a literal file name, not a wildcard.
6602 2007-06-23  Juanma Barranquero  <lekktu@gmail.com>
6604         * ruler-mode.el (ruler-mode): Prevent clobbering the original
6605         `header-line-format' when reentering ruler mode.
6607 2007-06-23  Eli Zaretskii  <eliz@gnu.org>
6609         * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if
6610         FILE exists as a file.
6612 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
6614         * calc/calc.el (math-bignum-digit-length)
6615         (math-bignum-digit-size, math-small-integer-size):
6616         New constants.
6617         (math-normalize, math-bignum-big, math-make-float)
6618         (math-div10-bignum, math-scale-left, math-scale-left-bignum)
6619         (math-scale-right, math-scale-right-bignum, math-scale-rounding)
6620         (math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
6621         (math-mul-bignum, math-mul-bignum-digit, math-idivmod)
6622         (math-quotient, math-div-bignum, math-div-bignum-digit)
6623         (math-div-bignum-part, math-format-bignum-decimal)
6624         (math-read-bignum): Use math-bignum-digit-length,
6625         math-bignum-digit-size and math-small-integer-size.
6627         * calc/calc-ext.el (math-fixnum-big): Use the variable
6628         math-bignum-digit-size.
6630 2007-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
6632         * log-view.el (log-view-mode-menu): New menu.
6634 2007-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6636         * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change
6637         differently.
6639         * vc-hg.el (vc-hg-registered): Add an autoloaded version.
6640         (vc-hg-log-view-mode): Use log-view-font-lock-keywords.
6642 2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6644         * vc-hg.el (vc-hg-print-log): Insert the file name.
6645         (vc-hg-log-view-mode): Fontify the file name.
6647 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
6649         * calc/calc-forms.el (math-format-date-part, calc-parse-standard-date)
6650         (calcFunc-julian): Fix incorrect number used in calculations.
6652 2007-06-22  Thien-Thi Nguyen  <ttn@gnuvola.org>
6654         * simple.el (next-error-recenter): New defcustom.
6655         (next-error, next-error-internal): Recenter if specified,
6656         immediately prior to running `next-error-hook'.
6658         * progmodes/hideshow.el (hs-show-block): Use line-end-position.
6659         (hs-hide-block-at-point, hs-hide-comment-region): Likewise.
6661         * progmodes/hideshow.el (hs-hide-all): Use progress reporter.
6663 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
6665         * calc/calc-comb.el (math-small-factorial-table): New variable.
6666         (calcFunc-fact): Use `math-small-factorial-table'.
6668         * calc/calc-ext.el (math-defcache): Allow forms to evaluate
6669         initial values.
6670         (math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
6671         New variables to use in caches.
6673         * calc/calc-forms.el (math-format-date-part, math-parse-standard-date)
6674         (calcFunc-julian): Use `math-read-number-simple' to insert bignums.
6676         * calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
6677         (math-bernoulli-b-cache): Use math-read-number-simple to insert
6678         bignums.
6680         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
6681         New variables to use in caches.
6683 2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6685         * vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp.
6687         * vc-hg.el (vc-hg-log-view-mode): New mode.
6689 2007-06-21  Jay Belanger  <jay.p.belanger@gmail.com>
6691         * calc/calc.el (math-read-number-simple): New function.
6693 2007-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6695         * vera-mode.el (vera-mode): Fix `commend-end-skip' setting.
6696         (vera-font-lock-match-item): Fix doc string.
6697         (vera-in-comment-p): Remove unused function.
6698         (vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
6699         use `syntax-ppss'.
6700         (vera-forward-syntactic-ws): Fix argument order.
6701         (vera-prepare-search): Use `with-syntax-table'.
6702         (vera-indent-line): Fix doc string.
6703         (vera-electric-tab): Fix doc string.
6704         (vera-expand-abbrev): Define alias instead of using `fset'.
6705         (vera-comment-uncomment-region): Use `comment-start-skip'.
6707 2007-06-21  Carsten Dominik  <dominik@science.uva.nl>
6709         * textmodes/org.el (org-export-with-footnotes): New option.
6710         (org-export-as-html): Fix replacement bug for XEmacs.
6711         (org-agenda-default-appointment-duration): New option.
6713 2007-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6715         * vc-hg.el: Add to do items.
6716         (vc-hg-diff): Add support for comparing different revisions.
6717         (vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
6718         (vc-hg-annotate-extract-revision-at-line)
6719         (vc-hg-previous-version, vc-hg-checkin): New functions.
6720         (vc-hg-annotate-re): New constant.
6722 2007-06-20  Jay Belanger  <jay.p.belanger@gmail.com>
6724         * calc/calc.el (math-standard-ops): Fix precedence of multiplication.
6726 2007-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6728         * log-view.el (log-view-font-lock-keywords): Use `eval' to consult the
6729         buffer-local value of log-view-*-re if applicable.
6731         * vc-bzr.el (vc-bzr-dir-state): Use setq rather than set.
6732         Use vc-bzr-command rather than the ill defined vc-bzr-command*.
6733         (vc-bzr-command*): Remove both (incompatible) versions.
6734         (vc-bzr-do-command*): Remove.
6735         (vc-bzr-with-process-environment, vc-bzr-std-process-invocation):
6736         Remove by folding into its only caller vc-bzr-command.
6737         (vc-bzr-command): Always set the environment, even when ineffective.
6738         (vc-bzr-version): Minor fix up.
6739         (vc-bzr-admin-dirname): New var.
6740         (vc-bzr-bzr-dir): Remove.
6741         (vc-bzr-root-dir): New fun.
6742         (vc-bzr-registered): Use it.  Add an autoloaded version.
6743         (vc-bzr-responsible-p): Use vc-bzr-root-dir as well.
6744         (vc-bzr-view-log-function): Remove.
6745         (vc-bzr-log-view-mode): New major mode to replace it.
6746         (vc-bzr-print-log): Only activate the old hack if needed.
6748         * vc.el (vc-default-log-view-mode): New function.
6749         (vc-print-log): Add new `log-view-mode' VC operation.
6751 2007-06-20  Juanma Barranquero  <lekktu@gmail.com>
6753         * ido.el (ido-find-file-in-dir): Don't signal an error for
6754         empty directories.
6756         * add-log.el (change-log-mode): Set `show-trailing-whitespace'.
6758         * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
6759         directory where the desktop file was found, as the docstring says.
6760         (desktop-kill): Use `read-directory-name'.
6762 2007-06-20  Alan Mackenzie  <acm@muc.de>
6764         * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
6765         When removing lines, also remove the \n.  Correction of patch of
6766         2007-04-21.
6768 2007-06-20  Martin Rudalics  <rudalics@gmx.at>
6770         * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when
6771         event is not a cons cell.  Do not unread drag-mouse-1 events.
6772         Select right window in check whether space was stolen from
6773         window above.
6775         * help-mode.el (help-make-xrefs): Adjust position of new forward
6776         button.
6778 2007-06-20  Riccardo Murri  <riccardo.murri@gmail.com>
6780         * vc-bzr.el (vc-bzr-with-process-environment)
6781         (vc-bzr-std-process-invocation): New macros.
6782         (vc-bzr-command, vc-bzr-command*): Use them.
6783         (vc-bzr-with-c-locale): Remove.
6784         (vc-bzr-dir-state): Replace its use with vc-bzr-command.
6785         (vc-bzr-buffer-nonblank-p): New function.
6786         (vc-bzr-state-words): New const.
6787         (vc-bzr-state): Look for `bzr status' keywords in output.
6788         Display everything else as a warning message to the user.
6789         Fix status report with bzr >= 0.15.
6791 2007-06-20  Dan Nicolaescu  <dann@ics.uci.edu>
6793         * vc-hg.el (vc-hg-global-switches): Simplify.
6794         (vc-hg-state): Handle more states.
6795         (vc-hg-diff): Fix doc-string.
6796         (vc-hg-register): New function.
6797         (vc-hg-checkout): Likewise.
6799 2007-06-20  Reto Zimmermann  <reto@gnu.org>
6801         * progmodes/vera-mode.el: New file.
6803 2007-06-19  Jay Belanger  <jay.p.belanger@gmail.com>
6805         * calc/calc.el (calc-multiplication-has-precendence):
6806         New variable.
6807         (math-standard-ops, math-standard-ops-p, math-expr-ops):
6808         New functions.
6809         (math-expr-opers): Define using math-standard-ops rather than
6810         math-standard-opers.
6811         * calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers
6812         equal the function math-standard-ops rather than the variable
6813         math-standard-opers.
6814         (calc-algebraic-entry): Let math-expr-opers equal
6815         math-standard-ops or math-expr-ops, as appropriate.
6816         (math-expr-read-level, math-read-factor): Let math-expr-opers
6817         equal math-expr-ops.
6818         * calc/calc-embed.el (calc-embedded-finish-edit):
6819         Let math-expr-opers equal the function math-standard-ops
6820         rather than the variable math-standard-opers.
6821         * calc/calc-ext.el (math-read-plain-expr)
6822         (math-format-flat-expr-fancy): Let math-expr-opers equal the
6823         function math-standard-ops rather than the variable
6824         math-standard-opers.
6825         * calc/calc-lang.el (calc-set-language, math-read-big-rec):
6826         Let math-expr-opers equal the function math-standard-ops rather
6827         than the variable math-standard-opers.
6828         * calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers
6829         equal the function math-standard-ops rather than the variable
6830         math-standard-opers.
6831         * calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers
6832         equal the function math-standard-ops rather than the variable
6833         math-standard-opers.
6834         * calc/calccomp.el (math-compose-expr): Let math-expr-opers equal
6835         math-expr-ops.
6837 2007-06-19  Ivan Kanis  <apple@kanis.eu>
6839         * vc-hg.el: New file.
6841 2007-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6843         * progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text
6844         with font-lock-multiline.
6846 2007-06-17  Glenn Morris  <rgm@gnu.org>
6848         * lpr.el (lpr-page-header-switches): Move %s to separate element
6849         for correct quoting.  Doc fix.
6851 2007-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6853         * textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather
6854         than setting sgml-xml-mode.
6855         (sgml-mode, html-mode): Set sgml-xml-mode.
6856         (sgml-skip-tag-backward): Tell if we skipped over matched tags.
6857         (sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
6858         (sgml-electric-tag-pair-before-change-function)
6859         (sgml-electric-tag-pair-flush-overlays): New functions.
6860         (sgml-electric-tag-pair-mode): New minor mode.
6861         (sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
6862         (sgml-calculate-indent): Use assoc-string.
6864 2007-06-16  Karl Fogel  <kfogel@red-bean.com>
6866         * thingatpt.el (thing-at-point-email-regexp): Don't require two
6867         chars before the "@" in an email address.  Andreas Roehler noticed
6868         this problem.
6870 2007-06-15  Karl Fogel  <kfogel@red-bean.com>
6872         * thingatpt.el: Add support for email addresses (`email').
6873         (thing-at-point, bounds-of-thing-at-point): Document `email' support.
6874         (thing-at-point-email-regexp): New variable.
6875         (`email'): Put `bounds-of-thing-at-point' and `thing-at-point'
6876         properties on this symbol, with lambda forms for values.
6878 2007-06-15  Masatake YAMATO  <jet@gyve.org>
6880         * vc-bzr.el (vc-bzr-root): Cache the output of shell command execution.
6882         * vc.el (vc-dired-hook): Check the backend returned from
6883         `vc-responsible-backend' can really handle `subdir'.
6885 2007-06-15  Chong Yidong  <cyd@stupidchicken.com>
6887         * wid-edit.el (widget-add-documentation-string-button):
6888         Fix handling of documentation indent.
6890 2007-06-15  Miles Bader  <miles@fencepost.gnu.org>
6892         * mb-depth.el: New file.
6894 2007-06-15  Masatake YAMATO  <jet@gyve.org>
6896         * vc.el (vc-dired-mode): Show backend name as part of mode name.
6898 2007-06-14  Chong Yidong  <cyd@stupidchicken.com>
6900         * wid-edit.el (widget-default-create): Move ?h handling here...
6901         (widget-default-format-handler): ...from here.
6902         (widget-docstring, widget-add-documentation-string-button): New funs.
6903         (documentation-string): Add :visibility-widget property.
6904         (widget-documentation-string-value-create): Use it.
6906         * cus-edit.el (custom-split-regexp-maybe): Simplify.
6907         (custom-buffer-create-internal): Simplify message.
6908         (custom-variable-tag): Reduce height to normal.
6909         (custom-variable-value-create, custom-face-value-create)
6910         (custom-visibility): New widget.
6911         (custom-visibility): New face.
6912         (custom-group-value-create):
6913         Call widget-add-documentation-string-button, using `custom-visibility'.
6915 2007-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6917         * emacs-lisp/bytecomp.el (byte-compile-current-group)
6918         (byte-compile-nogroup-warn, byte-compile-file): Revert part of last
6919         change.  Apparently the "warning even if the group is implicit" is
6920         a feature rather than a bug.
6922 2007-06-14  Michael Kifer  <kifer@cs.stonybrook.edu>
6924         * viper.el (viper-describe-key-ad, viper-describe-key-briefly-ad):
6925         Different advices for Emacs and XEmacs.  Compile them conditionally.
6926         (viper-version): Belated version change.
6928 2007-06-14  Juanma Barranquero  <lekktu@gmail.com>
6930         * follow.el (follow-all-followers, follow-generic-filter):
6931         * pcomplete.el (pcomplete-restore-windows):
6932         * x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state)
6933         (x-dnd-drop-data):
6934         * emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display):
6935         * progmodes/python.el (python-complete-symbol):
6936         * term/mac-win.el (mac-dnd-drop-data): Remove redundant check.
6938 2007-06-13  Ryan Yeske  <rcyeske@gmail.com>
6940         * rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax
6941         around bright and dim regexps.  Make sure bright and dim matches
6942         use word anchors.  Send text through rcirc-markup functions.
6943         (rcirc-url-regexp): Add single quote character.
6944         (rcirc-connect): Write logs to disk on auto-save-hook.
6945         Make server a non-optional argument.
6946         (rcirc-log-alist): New variable.
6947         (rcirc-log-directory): Make customizable.
6948         (rcirc-log-flag): New customizable variable.
6949         (rcirc-log): New function.
6950         (rcirc-print): Use above function.
6951         (rcirc-log-write): New function.
6952         (rcirc-generate-new-buffer-name): Strip text properties.
6953         (rcirc-switch-to-buffer-function): Remove variable.
6954         (rcirc-last-non-irc-buffer): Remove variable.
6955         (rcirc-non-irc-buffer): Add function.
6956         (rcirc-next-active-buffer): Use above function.
6957         (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING.
6958         (rcirc-handler-ctcp-KEEPALIVE): Add handler.
6959         (rcirc-handler-CTCP): Don't print KEEPALIVE responses.
6960         (rcirc-omit-mode): Add minor-mode.
6961         (rcirc-mode-map): Change C-c C-o binding.
6962         (rcirc-mode): Clear mode-line-process.  Use a custom
6963         fill-paragraph-function.  Set up buffer-invisibility-spec.
6964         (rcirc-response-formats): Remove timestamp code.
6965         (rcirc-omit-responses): Add variable.
6966         (rcirc-print): Don't put the overlay arrow on potentially omitted
6967         lines.  Log line to disk.  Record activity for private messages
6968         from /dim nicks.  Facify the fill-prefix with rcirc-timestamp face.
6969         (rcirc-jump-to-first-unread-line): Print message if there is no
6970         unread text.
6971         (rcirc-clear-unread): New function.
6972         (rcirc-markup-text-functions): Add variable.
6973         (rcirc-markup-timestamp, rcirc-markup-fill): Add functions.
6974         (rcirc-debug): Don't mess with window configuration.
6975         (rcirc-send-message): Send message before printing locally.
6976         Add SILENT argument, do not print message if non-nil.
6977         (rcirc-visible-buffers): New function and variable.
6978         (rcirc-window-configuration-change-1): Add function.
6979         (rcirc-target-buffer): Make sure ACTIONs don't get sent to the
6980         server buffer.
6981         (rcirc-clean-up-buffer): Set rcirc-target to nil when finished.
6982         (rcirc-fill-paragraph): Add function.
6983         (rcirc-record-activity, rcirc-window-configuration-change-1):
6984         Only update the activity string if it has actually changed.
6985         (rcirc-update-activity-string): Remove padding characters from the
6986         mode-line string.
6987         (rcirc-disconnect-buffer): New function to be called when a
6988         channel is parted or the user quits.
6989         (rcirc-server-name): Warn when the server-name hasn't been set.
6990         (rcirc-window-configuration-change): Postpone work until
6991         post-command-hook.
6992         (rcirc-window-configuration-change-1): Update mode-line and
6993         overlay arrows here.
6994         (rcirc-authenticate): Fixc hanserv identification.
6995         (rcirc-default-server): Remove variable.
6996         (rcirc): Connect according to rcirc-connections.
6997         (rcirc-connections): Add variable.
6998         (rcirc-startup-channels-alist): Remove variable.
6999         (rcirc-startup-channels): Remove function.
7001 2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7003         * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change.
7005 2007-06-13  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>  (tiny change)
7007         * term/xterm.el (terminal-init-xterm): Escape parens in character
7008         constants.
7010 2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7012         * progmodes/sh-script.el: Remove unneeded * from docstrings.
7013         Use [:alpha:] and [:alnum:] where applicable.
7014         (sh-quoted-subshell): Rewrite to correctly
7015         handle nested mixes of `...' and $(...).
7016         (sh-apply-quoted-subshell): Remove.
7017         (sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell.
7019         * vc-arch.el (vc-arch-command): Remove bzr.  It's a different program.
7021 2007-06-13  Michael Kifer  <kifer@cs.stonybrook.edu>
7023         * ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo
7024         previous change.
7026 2007-06-12  Tom Tromey  <tromey@redhat.com>
7028         * subr.el (user-emacs-directory): New defconst.
7029         * cmuscheme.el (scheme-start-file):
7030         * shell.el (shell):
7031         * completion.el (save-completions-file-name):
7032         * custom.el (custom-theme-directory):
7033         * term/x-win.el (emacs-session-filename):
7034         * filesets.el (filesets-menu-cache-file):
7035         * thumbs.el (thumbs-thumbsdir):
7036         * server.el (server-auth-dir):
7037         * image-dired.el (image-dired-dir):
7038         (image-dired-db-file):
7039         (image-dired-temp-image-file):
7040         (image-dired-gallery-dir):
7041         (image-dired-temp-rotate-image-file):
7042         * play/gamegrid.el (gamegrid-user-score-file-directory):
7043         * savehist.el (savehist-file):
7044         * tutorial.el (tutorial--saved-dir):
7045         * startup.el (auto-save-list-file-prefix): Use user-emacs-directory.
7047 2007-06-12  Ralf Angeli  <angeli@caeruleus.net>
7049         * scroll-lock.el (scroll-lock-mode): Doc fix.
7051 2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
7053         * ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis.
7055         * ediff-init.el: Doc strings.
7057 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7059         * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
7060         (byte-compile-file): Bind it.
7061         (byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
7062         group argument is provided implicitly.
7063         (byte-compile-format-warn, byte-compile-from-buffer)
7064         (byte-compile-insert-header): Don't hardcode point-min==1.
7065         (byte-compile-file-form-require): Remove unused var old-load-list.
7066         (byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.
7068 2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
7070         * emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value):
7071         Display error messages.
7072         (viper-prev-destructive-command, viper-insert-prev-from-insertion-ring):
7073         Get rid of cl.el dependencies.
7075         * emulation/viper-init.el (viper-suppress-input-method-change-message):
7076         New variable.
7077         (viper-activate-input-method-action)
7078         (viper-inactivate-input-method-action):
7079         Use viper-suppress-input-method-change-message.
7081         * emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings
7082         for C-s, C-r.
7084         * emulation/viper-util.el (viper-set-cursor-color-according-to-state):
7085         Use viper-replace-overlay-cursor-color instead of
7086         viper-replace-overlay-cursor-color.
7087         (viper-sit-for-short): Use sit-for with 3 arguments.
7089         * emulation/viper.el (viper-insert-state-mode-list): Add gud-mode.
7090         (viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map
7091         to gud-mode.
7093         * ediff-mult.el (ediff-meta-buffer-brief-message)
7094         (ediff-meta-buffer-verbose-message): New variables.
7095         (ediff-meta-buffer-message): Variable deleted.
7096         (ediff-verbose-help-enabled): New variable.
7097         (ediff-toggle-verbose-help-meta-buffer): New function.
7098         (ediff-redraw-directory-group-buffer): Made aware of short/verbose
7099         message options.
7101         * ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp.
7102         (ediff-fixup-patch-map): Improve heuristic.
7104 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7106         * log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\).
7107         (log-view-font-lock-keywords): Simplify.
7108         (log-view-current-file, log-view-current-tag): Simplify.
7110 2007-06-12  Sam Steingold  <sds@gnu.org>
7112         * vc-arch.el (vc-arch-command): Also try "baz" and "bzr".
7114 2007-06-12  Juanma Barranquero  <lekktu@gmail.com>
7116         * desktop.el (desktop-load-locked-desktop): New option.
7117         (desktop-read): Use it.
7118         (desktop-truncate, desktop-outvar, desktop-restore-file-buffer):
7119         Use `when'.
7121 2007-06-12  Davis Herring  <herring@lanl.gov>
7123         * desktop.el (desktop-save-mode-off): New function.
7124         (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
7125         (desktop-full-lock-name, desktop-file-modtime, desktop-owner)
7126         (desktop-claim-lock, desktop-release-lock): New functions.
7127         (desktop-kill): Tell `desktop-save' that this is the last save.
7128         Release the lock afterwards.
7129         (desktop-buffer-info): New function.
7130         (desktop-save): Use it.  Run `desktop-save-hook' where the doc
7131         says to.  Detect conflicts, and manage the lock.
7132         (desktop-read): Detect conflicts.  Manage the lock.
7134 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7136         * emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names.
7138         * emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map.
7139         (tpu-lucid-emacs-p): Remove.  Use (featurep 'xemacs) instead.
7140         (CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars.
7141         (tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using
7142         keysyms rather than byte sequences.
7143         (tpu-copy-keyfile): Don't force the user to use tpu-mapper.el.
7145 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7147         * font-lock.el (font-lock-add-keywords): In case font-lock was only
7148         half-activated, forcefully activate it completely.
7150 2007-06-11  Richard Stallman  <rms@gnu.org>
7152         * cus-edit.el (custom-variable-type): Doc fix.
7154 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7156         * progmodes/sh-script.el (sh-font-lock-backslash-quote)
7157         (sh-font-lock-flush-syntax-ppss-cache): New functions.
7158         (sh-font-lock-syntactic-keywords): Use them to distinguish the
7159         different possible cases for \'.
7161         * complete.el (PC-bindings): Don't bind things already bound in the
7162         parent keymap.
7164         * textmodes/bibtex-style.el: New file.
7166 2007-06-11  Riccardo Murri  <riccardo.murri@gmail.com>
7168         * vc-bzr.el: New file.
7170 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7172         * vc-svn.el (vc-svn-program): New var.
7173         (vc-svn-command): Use it.
7175 2007-06-11  Juanma Barranquero  <lekktu@gmail.com>
7177         * server.el (server-switch-buffer): Remove redundant check.
7179 2007-06-10  Martin Rudalics  <rudalics@gmx.at>
7181         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
7182         Match against file-name-nondirectory.
7183         Fix text on user customization variables.
7184         Reported by Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se>.
7186 2007-06-09  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
7188         * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
7190 2007-06-09  Davis Herring  <herring@lanl.gov>
7192         * desktop.el (desktop-minor-mode-table): Doc fix.
7194 2007-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7196         * textmodes/css-mode.el (css-navigation-syntax-table):
7197         Use set-char-table-range so it also works in the unicode branch.
7199 2007-06-08  Nick Roberts  <nickrob@snap.net.nz>
7201         * help-mode.el (help-xref-forward-stack)
7202         (help-xref-stack-forward-item, help-forward-label): New variables.
7203         (help-forward): New button type.
7204         (help-setup-xref): Initialise help-xref-forward-stack.
7205         (help-make-xrefs): Add forward button, if appropriate.
7206         (help-xref-go-back): Push item on forward stack.
7207         (help-xref-go-forward, help-go-forward): New functions.
7209 2007-06-07  Chong Yidong  <cyd@stupidchicken.com>
7211         * dired.el (dired-mode-map): Remove spurious separator.
7213 2007-06-07  Juanma Barranquero  <lekktu@gmail.com>
7215         * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix.
7217         * progmodes/mixal-mode.el (mixal-operation-codes-alist):
7218         * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring.
7220 2007-06-07  Carsten Dominik  <dominik@science.uva.nl>
7222         * textmodes/org.el: Version number fixed.
7224 2007-06-07  Glenn Morris  <rgm@gnu.org>
7226         * version.el (emacs-copyright): New constant.
7227         * startup.el (fancy-splash-tail): Use emacs-copyright.
7228         * calc/calc-help.el (calc-full-help): Use emacs-copyright.
7230         * emacs-lisp/bytecomp.el (byte-compile-warnings): Add new option
7231         `make-local'.
7232         (byte-compile-warnings-safe-p): Add `make-local'.
7233         (byte-compile-make-variable-buffer-local):
7234         Allow byte-compile-warnings to suppress this warning.
7236         * tutorial.el (tutorial--describe-nonstandard-key): Adjust for new
7237         format of "menu" description.
7238         (tutorial--find-changed-keys): Describe the specific menu a
7239         command is in.
7241         * dframe.el (dframe-frame-parameter, dframe-mouse-event-p):
7242         Rewrite compatibility functions to silence byte-compiler.
7244 2007-06-07  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
7246         * mail/rmailsum.el (rmail-summary-save-buffer): New command.
7247         (rmail-summary-mode-map): Add rmail-summary-save-buffer.
7249 2007-06-07  Eric M. Ludlam  <eric@siege-engine.com>
7251         * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove "iff".
7253 2007-06-07  Juanma Barranquero  <lekktu@gmail.com>
7255         * progmodes/ebrowse.el (ebrowse-member-table):
7256         * textmodes/org.el (org-export-ascii-bullets, org-batch-agenda)
7257         (org-batch-agenda-csv): Fix typos in docstrings.
7259 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
7261         * international/mule-cmds.el (toggle-enable-multibyte-characters)
7262         (sort-coding-systems, search-unencodable-char): Doc fixes.
7263         (coding-system-change-eol-conversion, set-default-coding-systems)
7264         (prefer-coding-system, find-multibyte-characters, princ-list)
7265         (leim-list-entry-regexp, set-input-method, locale-language-names)
7266         (input-method-exit-on-first-char, exit-language-environment-hook)
7267         (locale-charset-language-names): Fix typos in docstrings.
7269 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
7271         * pgg.el (pgg-sign-region, pgg-sign):
7272         * ses.el (ses-call-printer):
7273         * calendar/icalendar.el (icalendar--diarytime-to-isotime):
7274         * textmodes/org.el (org-cycle): Fix typos in docstrings.
7276 2007-06-06  Carsten Dominik  <dominik@science.uva.nl>
7278         * textmodes/org.el
7279         (org-export-region-as-html, org-replace-region-by-html)
7280         (org-number-to-letters, org-table-fedit-finish)
7281         (org-normalize-color, org-table-fedit-ref-right)
7282         (org-date-to-gregorian, org-table-fedit-move)
7283         (org-table-convert-refs-to-rc, org-calendar-holiday)
7284         (org-table-fedit-toggle-ref-type, org-write-agenda)
7285         (org-colgroup-info-to-vline-list, org-agenda-todo-previousset)
7286         (org-defkey, org-encode-for-stdout)
7287         (org-indent-line-function, org-export-as-html-to-buffer)
7288         (org-store-agenda-views, org-update-mode-line)
7289         (org-find-if, org-delete-all)
7290         (org-table-fedit-convert-buffer, org-emphasize)
7291         (org-uniquify, org-table-fedit-lisp-indent)
7292         (org-table-fedit-scroll, org-get-todo-sequence-head)
7293         (org-table-fedit-scroll-down, org-table-fedit-line-down)
7294         (org-table-fedit-ref-left, org-agenda-export-csv-mapper)
7295         (org-table-fedit-toggle-coordinates, org-dvipng-color)
7296         (org-table-fedit-line-up, org-table-fedit-ref-down)
7297         (org-table-formula-from-user, org-mode-flyspell-verify)
7298         (org-cycle-show-empty-lines, org-ctrl-c-ret)
7299         (org-table-formula-to-user, org-diary-to-ical-string)
7300         (orgtbl-export, org-table-fedit-post-command)
7301         (org-closed-in-range, org-shiftcontrolright)
7302         (org-table-convert-refs-to-an, org-table-hline-and-move)
7303         (org-table-formula-less-p, org-format-table-ascii)
7304         (org-agenda-get-sexps, org-shift-refpart)
7305         (org-diary-sexp-entry, org-time-string-to-absolute)
7306         (org-table-show-reference, org-letters-to-number)
7307         (org-fix-agenda-info, org-table-fedit-ref-up)
7308         (org-table-fedit-shift-reference, org-table-fedit-abort)
7309         (org-closest-date, org-shiftcontrolleft)
7310         (org-at-heading-or-item-p, org-rematch-and-replace)
7311         (org-agenda-todo-nextset, org-export-grab-title-from-buffer):
7312         New functions.
7313         (org-table-edit-scroll-down, org-finish-edit-formulas)
7314         (org-table-edit-next-field, org-abort-edit-formulas)
7315         (org-font-lock-level, org-export-find-first-heading-line)
7316         (org-table-edit-line-down, org-table-edit-backward-field)
7317         (org-edit-formula-lisp-indent, org-table-edit-move)
7318         (org-check-log-option, org-this-word)
7319         (org-table-edit-line-up, org-table-edit-formulas-post-command)
7320         (org-agenda-file-to-end, org-expand-file-name)
7321         (org-fake-empty-table-line, org-table-edit-scroll)
7322         (org-toggle-log-option, org-show-reference): Function removed.
7323         (org-inhibit-invisibility, org-table-formula-make-cmp-string):
7324         New defsubsts.
7325         (org-unmodified, org-batch-store-agenda-views)
7326         (org-batch-agenda-csv): New macro.
7327         (org-agenda-export): New customization group.
7328         (org-agenda-skip-deadline-if-done, org-agenda-remove-tags)
7329         (org-highest-priority, org-agenda-exporter-settings)
7330         (org-log-done-with-time, org-replace-disputed-keys)
7331         (org-format-latex-header, org-export-table-header-tags)
7332         (org-cycle-separator-lines, org-export-table-data-tags)
7333         (org-icalendar-include-sexps)
7334         (org-empty-line-terminates-plain-lists)
7335         (org-log-repeat, org-special-ctrl-a)
7336         (org-table-use-standard-references, org-disputed-keys)
7337         (org-export-skip-text-before-1st-heading, org-agenda-with-colors)
7338         (org-agenda-export-html-style): New option.
7339         (org-allow-auto-repeat, org-agenda-remove-tags-when-in-prefix)
7340         (org-CUA-compatible): Option removed.
7341         (org-agenda-structure, org-sexp-date): New face.
7342         (org-todo-keywords-for-agenda, org-not-done-keywords)
7343         (org-planning-or-clock-line-re, org-agenda-name)
7344         (org-table-colgroup-info, org-todo-sets)
7345         (constants-unit-system, org-clock-mode-line-entry)
7346         (org-mode-line-timer, org-table-current-begin-pos)
7347         (org-todo-keywords-1, org-mode-line-string)
7348         (org-table-clean-did-remove-column, org-table-fedit-map)
7349         (org-clock-heading, org-table-buffer-is-an)
7350         (org-agenda-info, org-done-keywords)
7351         (org-done-keywords-for-agenda, org-todo-heads)
7352         (org-todo-kwd-alist, org-clock-start-time): New variable.
7353         (org-todo-kwd-priority-p, org-edit-formulas-map)
7354         (org-repeat-re, org-todo-kwd-max-priority)
7355         (org-version, org-done-string)
7356         (org-table-clean-did-remove-column-1, org-disputed-keys):
7357         Remove variables.
7358         (org-table-translate-regexp, org-repeat-re, org-version): New consts.
7359         (org-ts-lengths): Constant removed.
7360         (org-follow-gnus-link): Don't ask how many articles to read.
7361         (org-export-find-first-export-line): Rename from
7362         `org-export-find-first-heading'.
7363         Use `org-export-skip-text-before-1st-heading'.
7364         (org-table-fedit-post-command): Rename from
7365         `org-table-edit-formulas-post-command'.
7366         (org-table-fedit-finish): Rename from `org-finish-edit-formulas'.
7367         (org-table-fedit-abort): Rename from `org-abort-edit-formulas'.
7368         (org-table-fedit-lisp-indent): Rename from
7369         `org-edit-formula-lisp-indent'.
7370         (org-table-show-reference): Rename from `org-show-reference'.
7371         (org-table-store-formulas): Use `org-table-formula-less-p'.
7372         (org-table-edit-formulas): Position cursor to current field equation.
7373         (org-update-checkbox-count, org-hide-archived-subtrees)
7374         (org-timestamp-up-day, org-timestamp-down-day)
7375         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
7376         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
7377         (org-metadown, org-shiftup, org-shiftdown, org-shiftright)
7378         (org-shiftleft, org-ctrl-c-ctrl-c, org-context):
7379         Let `org-on-heading-p' also check for invisible heading.
7380         (org-read-date): Match am/pm times.
7381         (org-eval-in-calendar): Fix default date in prompt.
7383 2007-06-05  Chong Yidong  <cyd@stupidchicken.com>
7385         * files.el (auto-mode-alist): Separate "ChangeLog.1" and
7386         "ChangeLog.a" entries, giving the latter lower priority.
7388 2007-06-05  Juanma Barranquero  <lekktu@gmail.com>
7390         * faces.el (face-id): If the argument is a face alias,
7391         return the ID of the target face.
7393 2007-06-05  Michael Albinus  <michael.albinus@gmx.de>
7395         * net/socks.el (top): Remove unnecessary copyright line.
7397 2007-06-04  Chong Yidong  <cyd@stupidchicken.com>
7399         * longlines.el (longlines-auto-wrap): Handle argument correctly.
7401 2007-06-04  Michael Albinus  <michael.albinus@gmx.de>
7403         * net/socks.el: New file, taken from w3 repository.
7404         (top): Update Copyright.  Don't load cl.el.
7405         (all): Replace `case' by `cond', `string-to-int' by
7406         `string-to-number', and `process-kill-without-query' by
7407         `set-process-query-on-exit-flag'.
7408         (socks-char-int): Remove defalias and all occurrences.
7410 2007-06-04  Juanma Barranquero  <lekktu@gmail.com>
7412         * progmodes/compile.el (compilation-find-file, compilation-handle-exit):
7413         Fix typos in docstrings.
7414         (compilation-search-path, compilation-buffer-name-function): Doc fixes.
7415         (compilation-finish-function): Fix typo in obsolescence declaration.
7417 2007-06-03  Sam Steingold  <sds@gnu.org>
7419         * progmodes/compile.el: Add TIMESTAMP to the LOC data structure, to
7420         handle unending automatic recompilation of changed files (`omake -P').
7421         (compilation-loop): VISITED is now 5th CDR.
7422         (compilation-next-error-function): Set TIMESTAMP.
7424 2007-06-03  Sam Steingold  <sds@gnu.org>
7426         * files.el (kill-buffer-ask): New function.
7427         (kill-some-buffers): Use it.
7428         (kill-matching-buffers): New user command.
7430 2007-06-01  David Kastrup  <dak@gnu.org>
7432         * dired.el (dired-recursive-deletes, dired-recursive-copies):
7433         Change default to `top'.
7435 2007-05-31  Richard Stallman  <rms@gnu.org>
7437         * dired.el (dired-do-flagged-delete, dired-do-delete): Doc fix.
7439 2007-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7441         * textmodes/css-mode.el: New file.
7443 2007-05-30  Michael Olson  <mwolson@gnu.org>
7445         * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has
7446         died and we are trying to send a signal to it.  The program using
7447         tq.el should periodically check to see whether the process has
7448         died and react appropriately -- this is not the responsibility of
7449         tq.el, and is consistent with the rest of the tq.el source code.
7451 2007-05-29  Martin Rudalics  <rudalics@gmx.at>
7453         * textmodes/table.el (table--point-entered-cell-function)
7454         (table--point-left-cell-function):
7455         Bind `inhibit-point-motion-hooks' to t.
7457 2007-05-29  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
7459         * emacs-lisp/rx.el (rx): Doc fix.
7461 2007-05-28  Juanma Barranquero  <lekktu@gmail.com>
7463         * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring.
7465 2007-05-28  Michael Albinus  <michael.albinus@gmx.de>
7467         Sync with Tramp 2.0.56.
7469         * net/tramp.el:
7470         * net/tramp-ftp.el:
7471         * net/tramp-smb.el:
7472         * net/tramp-util.el:
7473         * net/tramp-vc.el:
7474         Don't load cl.el, because that pollutes the namespace.  Replace cl
7475         macros by their implementations where necessary.  Requested by
7476         Richard Stallman <rms@gnu.org>.
7478         * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it
7479         doesn't exist.
7480         (with-parsed-tramp-file-name): Protect debug spec during compilation.
7481         (tramp-handle-insert-directory): Check (featurep 'ls-lisp).
7482         (tramp-file-name-p, tramp-file-name-multi-method)
7483         (tramp-file-name-method, tramp-file-name-user)
7484         (tramp-file-name-host, tramp-file-name-localname): New defuns,
7485         replacing defstruct `tramp-file-name'.
7486         (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1)
7487         (tramp-dissect-file-name, tramp-dissect-multi-file-name):
7488         Apply `vector' instead of `make-tramp-file-name'.
7489         (tramp-handle-make-auto-save-file-name):
7490         Apply `tramp-temporary-file-directory' for compatibility reasons.
7491         (tramp-completion-mode): Use `natnump' instead of `wholenump'
7492         because of XEmacs.
7493         (tramp-completion-mode): `last-input-event' is nil when XEmacs is
7494         started.
7496 2007-05-28  Chong Yidong  <cyd@stupidchicken.com>
7498         * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
7500 2007-05-27  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
7502         * log-edit.el (log-edit-changelog-paragraph): Return point-max
7503         as the end of the ChangeLog paragraph when it ends without a line
7504         termination.
7506 2007-05-27  Ryan Yeske  <rcyeske@gmail.com>
7508         * net/webjump.el (webjump-sample-sites):
7509         Add simple Wikipedia query.
7511 2007-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7513         * emacs-lisp/derived.el (define-derived-mode): Remove bogus
7514         compatibility code.
7516         * emacs-lisp/copyright.el (copyright-names-regexp): New var.
7517         (copyright-update-year): Use it.
7519         * edmacro.el (edmacro-format-keys): Use current-active-maps.
7521         * ediff-init.el (ediff-defvar-local, ediff-with-current-buffer):
7522         Add indentation and debugging info.  Fix up comment convention.
7524         * cus-dep.el (custom-make-dependencies): Simplify.
7526         * composite.el (compose-region, decompose-region):
7527         Use inhibit-read-only and restore-buffer-modified-p.
7529         * xt-mouse.el (xterm-mouse-truncate-wrap): New function.
7530         (xterm-mouse-event): Use it.
7532 2007-05-25  Juanma Barranquero  <lekktu@gmail.com>
7534         * bs.el (bs-cycle-previous): Don't modify the cycle list until
7535         `switch-to-buffer' has returned succesfully.
7536         (bs-cycle-next): Ditto.  Also, don't bury the buffer when the
7537         window is dedicated (it could iconify the frame).
7539 2007-05-25  Miles Bader  <miles@fencepost.gnu.org>
7541         * vc-hooks.el (vc-find-root): Fix file attribute test.
7543 2007-05-24  Richard Stallman  <rms@gnu.org>
7545         * textmodes/flyspell.el (flyspell-correct-word-before-point):
7546         Don't let opoint be nil.
7547         (flyspell-emacs-popup): Explicit error if no dialogs.
7549 2007-05-24  Chong Yidong  <cyd@stupidchicken.com>
7551         * image-mode.el (image-forward-hscroll, image-backward-hscroll)
7552         (image-next-line, image-previous-line, image-scroll-up)
7553         (image-scroll-down, image-bol, image-eol, image-bob, image-eob):
7554         New functions.
7555         (image-mode-map): Remap motion commands.
7556         (image-mode-text-map): New keymap for viewing images as text.
7557         (image-mode): Use image-mode-map.
7558         (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps.
7560 2007-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7562         * textmodes/fill.el (canonically-space-region): Make the second arg
7563         a marker if it's not already the case.
7565 2007-05-23  Eli Zaretskii  <eliz@gnu.org>
7567         * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer)
7568         (tar-get-descriptor): Handle type 55, an extended pax header.
7570 2007-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7572         * autoinsert.el (auto-insert-alist): Quote elisp sample code so as not
7573         to confuse outline-minor-mode.
7575 2007-05-23  Eli Zaretskii  <eliz@gnu.org>
7577         * tar-mode.el (tar-file-name-handler): New function.
7578         (tar-extract): Bind file-name-handler-alist to it to force
7579         find-buffer-file-type-coding-system behave as if the file being
7580         extracted existed.  Use last-coding-system-used to force
7581         buffer-file-coding-system to what decode-coding-region actually
7582         used to decode the file.
7584 2007-05-23  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
7586         * progmodes/compile.el (compilation-handle-exit):
7587         `compilation-finish-function' may change the current buffer.
7589 2007-05-22  Richard Stallman  <rms@gnu.org>
7591         * files.el (set-auto-mode): Doc fix.
7593 2007-05-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
7595         * help-fns.el (find-source-lisp-file): New function.
7596         (describe-function-1): Use find-source-lisp-file to find source
7597         file in compile tree.
7599 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
7601         * dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
7603 2007-05-22  Juanma Barranquero  <lekktu@gmail.com>
7605         * emacs-lisp/easy-mmode.el (define-minor-mode)
7606         (easy-mmode-define-navigation): Fix typos in docstrings.
7608 2007-05-22  Glenn Morris  <rgm@gnu.org>
7610         * files.el (auto-mode-alist): Open `.asd' files in lisp-mode.
7612 2007-05-22  Katsumi Yamaoka  <yamaoka@jpl.org>
7614         * mail/mail-extr.el (mail-extract-address-components):
7615         Recognize non-ASCII characters except for NBSP as words.
7617 2007-05-21  Trent Buck  <trentbuck@gmail.com>  (tiny change)
7619         * net/rcirc.el (rcirc-fill-column): Allow `window-width'.
7620         (rcirc-print): Handle `window-width'.
7621         (rcirc-buffer-maximum-lines): Doc fix.
7623 2007-05-21  Chong Yidong  <cyd@stupidchicken.com>
7625         * image-mode.el (image-toggle-display): Don't clear image cache.
7626         Only use filename in image spec if the file is readable.
7627         Call image-refresh.
7629         * image.el (image-type-from-file-name, image-type): Simplify.
7630         (image-type-auto-detected-p): Don't scan auto-mode-alist.
7632         * files.el (magic-mode-alist): Remove image-type-auto-detected-p.
7633         (magic-fallback-mode-alist): Add image-type-auto-detected-p.
7635 2007-05-20  Nick Roberts  <nickrob@snap.net.nz>
7637         * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there
7638         is an error.
7640         * term/linux.el (terminal-init-linux): Don't signal an error
7641         if gpm isn't running.
7643 2007-05-20  Nick Roberts  <nickrob@snap.net.nz>
7645         * t-mouse.el: Reduce to a minor-mode macro call.
7646         (t-mouse-mode): Remove the lighter.
7648         * term/linux.el (terminal-init-linux): Enable t-mouse by default.
7650 2007-05-19  Dan Nicolaescu  <dann@ics.uci.edu>
7652         * files.el (auto-mode-alist): Change the regexp so that
7653         ChangeLog.unicode and ChangeLog.multi-tty use change-log-mode.
7655 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
7657         * Version 22.1 released.
7659 2007-05-19  Chong Yidong  <cyd@stupidchicken.com>
7661         * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20
7662         changes.
7664 2007-05-19  Kevin Ryde  <user42@zip.com.au>
7666         * info.el (Info-fontify-node): Fontify https as well as http and ftp.
7668 2007-05-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
7670         * textmodes/sgml-mode.el: Revert last change.
7672 2007-05-18  Richard Stallman  <rms@gnu.org>
7674         * simple.el (push-mark): Doc fix.
7676 2007-05-18  Rob Riepel  <riepel@Stanford.EDU>
7678         * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to
7679         tpu-global-map.
7680         (tpu-original-global-map): Variable deleted.
7681         (tpu-control-keys-map): New keymap variable.
7682         (tpu-set-control-keys): Use tpu-reset-control-keys rather than
7683         setting keymapping directly.
7684         (tpu-reset-control-keys): Use tpu-control-keys-map instead of
7685         tpu-global-map.
7686         (tpu-edt-on): Activate the tpu-global-map.
7687         (tpu-edt-off): Deactivate the tpu-global-map.
7689 2007-05-18  Ryan Yeske  <rcyeske@gmail.com>
7691         * textmodes/ispell.el (ispell-get-word): Return markers
7692         for start and end positions.
7693         (ispell-word): Assume END is a marker.
7695 2007-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7697         * printing.el: Group together all XEmacs/Emacs definitions.
7698         (pr-version): New version 6.9.
7699         (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs.
7700         (pr-menu-char-height, pr-menu-char-width): Fix initialization code.
7701         (pr-menu-bind): Fix code.
7702         (pr-e-frame-char-height, pr-e-frame-char-width)
7703         (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function)
7704         (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height)
7705         (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event)
7706         (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel)
7707         (pr-x-event-y-pixel): Aliases eliminated.
7708         (pr-xemacs-global-menubar): Macro moved.
7709         (current-menubar, current-mouse-event, zmacs-region-stays)
7710         (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old)
7711         (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu):
7712         Vars moved.
7713         (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock)
7714         (pr-update-mode-line, pr-do-update-menus, pr-menu-alist)
7715         (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title)
7716         (pr-menu-set-utility-title, pr-even-or-odd-pages)
7717         (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string)
7718         (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs
7719         moved.
7721 2007-05-17  Christian Plate  <cplate@web.de>  (tiny change)
7723         * textmodes/sgml-mode.el (sgml-tag):
7724         Fix bug: Call sgml-transformation-function.
7726 2007-05-17  Martin Rudalics  <rudalics@gmx.at>
7728         * hilit-chg.el (highlight-changes-rotate-faces): Don't set
7729         modified flag of buffer.  Use `inhibit-modification-hooks'.
7731 2007-05-16  Richard Stallman  <rms@gnu.org>
7733         * buff-menu.el (Buffer-menu-sort-column): Doc fix.
7735 2007-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7737         * files.el (magic-mode-alist, magic-fallback-mode-alist):
7738         Move the *ml, Postscript, and XmCD entries to the fallback part.
7740         * files.el (magic-fallback-mode-alist):
7741         Rename from file-start-mode-alist.
7743 2007-05-16  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
7745         * progmodes/compile.el (compilation-handle-exit): Quote first
7746         argument of `run-hook-with-args'.
7748 2007-05-16  Juanma Barranquero  <lekktu@gmail.com>
7750         * buff-menu.el (Buffer-menu-sort-column):
7751         * dabbrev.el (dabbrev-upcase-means-case-search):
7752         * dired.el (dired-recursive-deletes, dired-recursive-copies):
7753         * info.el (Info-current-subfile):
7754         * ls-lisp.el (ls-lisp-verbosity):
7755         * msb.el (msb-menu-cond):
7756         * pcvs.el (cvs-dired-use-hook):
7757         * simple.el (set-mark-command-repeat-pop):
7758         * time.el (display-time-24hr-format, display-time-mail-file):
7759         Doc fixes.
7761         * tutorial.el (get-lang-string, tutorial--find-changed-keys):
7762         * printing.el (pr-ps-fast-fire): Fix typos in docstrings.
7764         * view.el (view-inhibit-help-message): Fix typo in docstring.
7765         (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
7767 2007-05-16  Martin Rudalics  <rudalics@gmx.at>
7769         * textmodes/ispell.el (ispell-start-process): Defend against bad
7770         default-directory.
7772 2007-05-14  Eli Zaretskii  <eliz@gnu.org>
7774         * mail/rmail.el (rmail-convert-to-babyl-format): Check
7775         content-transfer-encoding _last_, because it's its position that
7776         we need as value of base64-header-field-end.
7778 2007-05-14  Juanma Barranquero  <lekktu@gmail.com>
7780         * files.el (mode-require-final-newline, require-final-newline)
7781         (enable-local-variables, enable-local-eval): Doc fixes.
7783 2007-05-13  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7785         * ps-print.el: Use default color when foreground or background color
7786         are unspecified.  Reported by Leo <sdl.web@gmail.com>.
7787         (ps-print-version): New version 6.7.4.
7788         (ps-rgb-color): New argument.  Use default color when color is
7789         unspecified.
7790         (ps-begin-job): Fix code.
7792 2007-05-12  Chong Yidong  <cyd@stupidchicken.com>
7794         * longlines.el (longlines-mode): Make longlines-auto-wrap
7795         buffer-local.  Add hooks unconditionally.
7796         (longlines-auto-wrap): Toggle wrapping.
7797         (longlines-after-change-function)
7798         (longlines-post-command-function): Check longlines-auto-wrap.
7800 2007-05-12  Nick Roberts  <nickrob@snap.net.nz>
7802         * xt-mouse.el (xterm-mouse-debug-buffer): New variable.
7803         (xterm-mouse-translate): Use it.
7805 2007-05-10  Richard Stallman  <rms@gnu.org>
7807         * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
7808         (iso-cvt-write-only): Likewise.
7810         * emacs-lisp/easy-mmode.el (define-minor-mode):
7811         Fix generated doc string.
7813         * startup.el (fancy-splash-text): Add URL of guided tour.
7814         Adjust horizontal and vertical whitespace.
7816         * progmodes/compile.el (compilation-handle-exit):
7817         Use run-hook-with-args to run compilation-finish-functions.
7819         * files.el (file-start-mode-alist): New variable.
7820         (magic-mode-regexp-match-limit): Doc fix.
7821         (set-auto-mode): Handle file-start-mode-alist.
7822         A little cleanup of structure.
7824         * dabbrev.el (dabbrev-eliminate-newlines):
7825         Renamed from dabbrev--eliminate-newlines.  All uses changed.
7827 2007-05-10  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
7829         * man.el (Man-next-section): Don't consider the last line of the page
7830         as being part of any section.
7832 2007-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7834         * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
7835         can take any number of values.
7837 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7839         * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
7840         to the list of citation commands.
7842 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7844         * vc-hooks.el (vc-find-root): Stop searching when the user changes.
7846 2007-05-09  Edward O'Connor  <hober0@gmail.com>  (tiny change)
7848         * progmodes/python.el (python-font-lock-keywords)
7849         (python-open-block-statement-p, python-mode): Add support for the new
7850         "with" keyword.
7852 2007-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7854         * diff-mode.el (diff-apply-hunk, diff-test-hunk): Don't do by default
7855         the exact opposite of diff-goto-source.
7857         * emacs-lisp/advice.el (ad-special-forms): Remove.
7858         (ad-special-form-p): Use subr-arity.
7860         * newcomment.el (comment-search-forward): Make sure we search forward.
7861         (comment-enter-backward): Try and distinguish the non-matching case at
7862         EOB from the non-matching case with a missing comment-end-skip for
7863         a 2-char comment ender.
7864         (comment-choose-indent): New function extracted from comment-indent.
7865         Improve the alignment algorithm.
7866         (comment-indent): Use it.
7868         * textmodes/sgml-mode.el (sgml-lexical-context): Add handling of
7869         XML style Processing Instructions.
7870         (sgml-parse-tag-backward): Handle XML-style PIs.  Also ensure progress.
7871         (sgml-calculate-indent): Handle `pi' context.
7873         * vc.el: Ensure that update-changelog issues an error when used with
7874         a backend that does not implement it.
7875         (vc-update-changelog-rcs2log): Rename from vc-default-update-changelog.
7876         Remove `backend' argument.  Use expand-file-name.
7877         (vc-cvs-update-changelog, vc-rcs-update-changelog): New aliases.
7879         * progmodes/python.el (python-end-of-block): Revert last change.
7880         (python-end-of-statement): Make sure we move *forward*.
7882 2007-05-08  Richard Stallman  <rms@gnu.org>
7884         * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
7885         Don't include non-self-insert commands in the exception for `-'.
7887 2007-05-08  David Reitter  <david.reitter@gmail.com>
7889         * progmodes/python.el (python-guess-indent): Check non-nullness
7890         before comparing indent against the 2..8 interval.
7892 2007-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7894         * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
7895         available.
7897 2007-05-06  Richard Stallman  <rms@gnu.org>
7899         * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.
7901 2007-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7903         * diff.el (diff): Use buffer-local vars diff-old-file and diff-new-file
7904         rather than storing their value in the revert-buffer function.
7906 2007-05-04  Nick Roberts  <nickrob@snap.net.nz>
7908         * t-mouse.el (t-mouse-mode): Do nothing on a graphical display
7909         when disabling t-mouse-mode.
7911 2007-05-01  Davis Herring  <herring@lanl.gov>
7913         * calendar/timeclock.el: Update version number.
7914         (timeclock-modeline-display): Mention timeclock-use-display-time
7915         in explanatory message.
7916         (timeclock-in): Fix non-interactive workday specifications.
7917         (timeclock-log): Don't kill the log buffer if it already existed.
7918         Suppress warnings when finding the log.  Don't check for a nil
7919         project twice.  Run hooks after killing the buffer (if applicable).
7920         (timeclock-geometric-mean): Rename to `timeclock-mean' (it never
7921         was geometric).  All uses changed.
7922         (timeclock-generate-report): Support prefix argument.
7924 2007-05-03  Ryan Yeske  <rcyeske@gmail.com>
7926         * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted
7927         disconnections.
7929 2007-05-01  Romain Francoise  <romain@orebokech.com>
7931         * dired-x.el: Revert 2007-04-06 change.
7933 2007-04-29  Stephen Berman  <Stephen.Berman@gmx.net>
7935         * find-dired.el (find-dired-filter): Propertize all text down to eob.
7937 2007-04-29  Richard Stallman  <rms@gnu.org>
7939         * international/mule.el (auto-coding-alist): Add pdf => no-conversion.
7941 2007-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7943         * progmodes/cc-mode.el (c-before-change): Use point-min rather
7944         than 1.
7946 2007-04-28  Richard Stallman  <rms@gnu.org>
7948         * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style.
7950 2007-04-28  Nick Roberts  <nickrob@snap.net.nz>
7952         * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
7953         don't put stop on toolbar.
7955 2007-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7957         * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.
7959 2007-04-28  Eli Zaretskii  <eliz@gnu.org>
7961         * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e
7962         instead of $(lisp)/mh-e.
7964 2007-04-28  Glenn Morris  <rgm@gnu.org>
7966         * image-dired.el (image-dired-cmd-create-thumbnail-options)
7967         (image-dired-cmd-create-temp-image-options): Replace option
7968         +profile "*" with -strip.
7970 2007-04-27  Chong Yidong  <cyd@stupidchicken.com>
7972         * textmodes/flyspell.el (flyspell-auto-correct-previous-word):
7973         Use window-start and window-end.
7975 2007-04-27  Andreas Schwab  <schwab@suse.de>
7977         * emacs-lisp/sregex.el (sregexq): Fix doc string quoting.
7979 2007-04-27  Eli Zaretskii  <eliz@gnu.org>
7981         * textmodes/fill.el (fill-paragraph): Doc fix.
7983 2007-04-26  Luc Teirlinck  <teirllm@dms.auburn.edu>
7985         * locate.el (locate-in-alternate-database): Doc fix.
7987 2007-04-26  Glenn Morris  <rgm@gnu.org>
7989         * button.el (button): Use underline if supported, else fall back
7990         to color.
7992         * version.el (emacs-version): Increase to 22.1.50.
7994 2007-04-25  Richard Stallman  <rms@gnu.org>
7996         * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'.
7998 2007-04-25  J.D. Smith  <jdsmith@as.arizona.edu>
8000         * progmodes/idlwave.el (idlwave-beginning-of-subprogram)
8001         (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent
8002         pushing mark.
8003         (idlwave-current-routine): Don't push mark.
8005 2007-04-25  Mathias Dahl  <mathias.dahl@gmail.com>
8007         * image-dired.el (image-dired-display-image): Derive image-type from
8008         filename rather than assuming jpeg, in case no resizing was needed.
8010 2007-04-25  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
8012         * custom.el (defface): Doc fix.
8014 See ChangeLog.12 for earlier changes.
8016 ;; Local Variables:
8017 ;; coding: iso-2022-7bit
8018 ;; add-log-time-zone-rule: t
8019 ;; End:
8021     Copyright (C) 2007 Free Software Foundation, Inc.
8023   This file is part of GNU Emacs.
8025   GNU Emacs is free software; you can redistribute it and/or modify
8026   it under the terms of the GNU General Public License as published by
8027   the Free Software Foundation; either version 3, or (at your option)
8028   any later version.
8030   GNU Emacs is distributed in the hope that it will be useful,
8031   but WITHOUT ANY WARRANTY; without even the implied warranty of
8032   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8033   GNU General Public License for more details.
8035   You should have received a copy of the GNU General Public License
8036   along with GNU Emacs; see the file COPYING.  If not, write to the
8037   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
8038   Boston, MA 02110-1301, USA.
8040 ;; arch-tag: 1e8aa93a-fc6c-4ac3-9b10-1f445e1840af