(normal-erase-is-backspace-setup-frame): Massage.
[emacs.git] / lisp / ChangeLog
blob3e45f5f95130602dbf3abee61e6b3fb0c57576cf
1 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * simple.el (normal-erase-is-backspace-setup-frame): Massage.
5         * term/xterm.el (xterm-function-map): Initialize in the declaration.
7         * vc-arch.el (vc-arch-checkin): Fix typo.
9 2007-09-07  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
11         * cus-face.el (custom-theme-set-faces): Set face attributes
12         locally for each frame.
14 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16         * progmodes/fortran.el (fortran-mode): Set font-lock-syntactic-keywords
17         via font-lock-defaults.
19         * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via
20         derived-mode-p.
22 2007-09-07  Thien-Thi Nguyen  <ttn@gnuvola.org>
24         * progmodes/autoconf.el (autoconf-definition-regexp):
25         Handle optional square brackets around definition name.
27 2007-09-07  Johannes Weiner  <hannes@saeurebad.de>
29         * net/browse-url.el (browse-url-browser-function): Add elinks.
30         (browse-url-elinks-wrapper): New option.
31         (browse-url-encode-url, browse-url-elinks)
32         (browse-url-elinks-sentinel): New functions.
33         (browse-url-file-url, browse-url-netscape, browse-url-mozilla)
34         (browse-url-firefox, browse-url-galeon, browse-url-epiphany):
35         Use new function browse-url-encode-url.
37 2007-09-07  Glenn Morris  <rgm@gnu.org>
39         * version.el (emacs-version): Revert 2007-08-29 change: no need to
40         say if multi-tty is present.
42 2007-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
44         * cus-start.el (split-window-preferred-function): Add custom info.
46         * calendar/holidays.el (holiday-list, calendar-check-holidays)
47         (calendar-mark-holidays, calendar-list-holidays)
48         (holiday-filter-visible-calendar): New names to clean up namespace.
49         (filter-visible-calendar-holidays, list-calendar-holidays)
50         (mark-calendar-holidays, check-calendar-holidays, list-holidays):
51         Add compatibility aliases.
52         (calendar-check-holidays, calendar-mark-holidays)
53         (calendar-holiday-list, holiday-filter-visible-calendar): Use dolist.
54         (holiday-sexp): Replace append with list.
55         (holiday-filter-visible-calendar): Replace append with push.
57         * woman.el: Remove spurious * in docstrings.
58         (woman-mini-help, woman-non-underline-faces, woman0-rename)
59         (woman-topic-all-completions-merge, woman-file-name-all-completions)
60         (woman-select-symbol-fonts, woman-expand-directory-path): Use dolist.
61         (woman-write-directory-cache, woman-display-extended-fonts)
62         (WoMan-log-begin, WoMan-log-1): Use with-current-buffer.
63         (woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails.
64         (woman-mode): Use inhibit-read-only.
65         (woman-negative-vertical-space): Use dotimes.
66         (woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char.
68 2007-09-06  Romain Francoise  <romain@orebokech.com>
70         * vc-bzr.el (vc-bzr-admin-lastrev): New defconst.
71         (vc-bzr-workfile-version): Use it.
73 2007-09-06  Sean O'Rourke  <sorourke@cs.ucsd.edu>
75         * complete.el (PC-do-completion): Don't try to treat
76         empty string as an abbreviation.
78 2007-09-06  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
80         * help-fns.el (describe-variable): Keep doc's text properties.
82 2007-09-06  Dan Nicolaescu  <dann@ics.uci.edu>
84         * vc.el (vc-default-diff-tree): Pass a list to the diff vc command
85         instead of a file.
87 2007-09-06  Glenn Morris  <rgm@gnu.org>
89         * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New.
90         (checkdoc-minor-mode): Allow user to specify lighter via
91         checkdoc-minor-mode-string.
93 2007-09-05  Richard Stallman  <rms@gnu.org>
95         * startup.el (fancy-startup-text): Rename from fancy-splash-text.
96         Several items removed, simplified, or put on one line.
97         (fancy-about-text): Add substantial contents, part of startup text.
98         (fancy-splash-head): Make "GNU" or "GNU/Linux" a link.
99         (normal-splash-screen): Call normal-mouse-startup-screen,
100         normal-no-mouse-startup-screen, or normal-about-screen.
101         (normal-mouse-startup-screen): New fn, broken out, shortened.
102         (normal-no-mouse-startup-screen): New fn, broken out.
103         (normal-about-screen): New function, contents all new.
105 2007-09-05  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
107         * emacs-lisp/rx.el (rx): Fix typo in docstring.
109 2007-09-05  Glenn Morris  <rgm@gnu.org>
111         * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
112         is bound.
114 2007-09-05  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
116         * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
117         in doc string.
119 2007-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
121         * server.el (server-start, server-unload-hook): Undo previous change.
123         * xt-mouse.el: Undo previous change.
125 2007-09-04  Juri Linkov  <juri@jurta.org>
127         * startup.el (fancy-about-text): New variable.
128         (fancy-splash-delay, fancy-splash-max-time): Remove user options.
129         (fancy-current-text, fancy-splash-stop-time)
130         (fancy-splash-outer-buffer): Remove variables.
131         (fancy-splash-head, fancy-splash-tail): Add new optional argument
132         `startup' and use it to conditionally display different texts for
133         Startup and About screens.  Don't display Help commands on the About
134         screen.
135         (fancy-splash-screens-1): Remove function and move its content to
136         `fancy-splash-screens' to the part that dislpays the About screen.
137         (exit-splash-screen): Don't treat specially exiting from
138         alternating screens.
139         (fancy-splash-screens): Rename argument `static' to `startup'.
140         Fix docstring.  Remove code for displaying alternating screens.
141         Use arg `startup' in calls to `fancy-splash-head', `fancy-splash-tail'.
142         Remove let-bind for `fancy-splash-outer-buffer' and add let-bind
143         for `inhibit-read-only'.
144         (normal-splash-screen): Rename argument `static' to `startup'.
145         Fix docstring.  Use argument `startup' to conditionally display
146         different texts for Startup and About screens.  Don't display Help
147         commands on the About screen.  Remove `unwind-protect' `sit-for'
148         delay and `kill-buffer' after it.
149         (display-startup-echo-area-message): Remove call to
150         `use-fancy-splash-screens-p' because image.el is preloaded and
151         doesn't display "Loading image... done".
152         (display-splash-screen): Rename argument `static' to `startup'.
153         Fix docstring.
155 2007-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
157         * server.el (server-start, server-unload-hook):
158         suspend-tty-functions has been renamed to suspend-tty-hook.
160         * xt-mouse.el: Likewise. resume-tty-functions has been renamed to
161         resume-tty-hook.
163 2007-09-03  Emanuele Giaquinta <e.giaquinta@glauco.it>  (tiny change)
165         * loadup.el: Fix merge problem, only load "button" once.
167 2007-09-03  Glenn Morris  <rgm@gnu.org>
169         * vc-svn.el (vc-svn-print-log): If there is only one file, use
170         "Working file:" as the prefix, for the sake of
171         log-view-current-file.
173 2007-09-02  Dan Nicolaescu  <dann@ics.uci.edu>
175         * term/xterm.el (xterm-modify-other-keys-terminal-list): New variable.
176         (xterm-turn-on-modify-other-keys): Only turn on modify-other-keys
177         if the selected frames is in
178         xterm-modify-other-keys-terminal-list.
179         (xterm-turn-off-modify-other-keys): Add an optional frame
180         parameter.  Only turn off modify-other-keys if FRAME is in
181         xterm-modify-other-keys-terminal-list.
182         (xterm-remove-modify-other-keys): New function.
183         (terminal-init-xterm): Use it.  Deal with delete-frame hook.
184         Add the selected frame to xterm-modify-other-keys-terminal-list.
186 2007-09-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
188         * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager.
189         (icon-map-list): New variable.
190         (x-gtk-map-stock): Use icon-map-list.
192 2007-09-02  Romain Francoise  <romain@orebokech.com>
194         * log-view.el (log-view-current-file): Balance parens.
196 2007-09-02  Glenn Morris  <rgm@gnu.org>
198         * comint.el (comint-mode): Don't set scroll-conservatively.
200         * eshell/em-unix.el (eshell/time): Stringify and flatten the
201         non-command arguments.
203         * log-view.el (log-view-current-file): Give a more explicit error
204         if log-view-file-re fails to find a match.
206 2007-09-01  Thien-Thi Nguyen  <ttn@gnuvola.org>
208         * emacs-lisp/bytecomp.el (byte-recompile-directory):
209         Fix bug: Don't expand top-level file name more than once.
210         Reported by Dmitry Antipov <dmantipov@yandex.ru>.
212 2007-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
214         * server.el (server-process-filter): Don't display the splash screen.
215         It's annoying enough on the initial screen and becomes positively
216         obnoxious here.
218 2007-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
220         * emacs-lisp/avl-tree.el: Use defstruct rather than macros.
221         Change naming to use "avl-tree--" for internal functions.
223 2007-08-31  Dan Nicolaescu  <dann@ics.uci.edu>
225         * term/x-win.el (x-menu-bar-open): Delete duplicated function from
226         the merge.
227         (global-set-key): Delete f10 mapping, now done in menu-bar.el.
228         (provide): Move to the end of file.
230         * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff.
232 2007-08-31  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
234         * textmodes/flyspell.el (flyspell-mark-duplications-exceptions):
235         New variable.  List of exceptions for the duplicated word rule.
236         (flyspell-mark-duplications-flag): Mention it.
237         (flyspell-word): Treat it.
239         * files.el (create-file-buffer): If the filename sans directory starts
240         with spaces, remove them.
242 2007-08-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
244         * term/x-win.el (x-gtk-stock-map): Add etc/images to keys.
245         (x-gtk-map-stock): Use two directory elements when matching
246         file name.
248 2007-08-31  James Wright  <james@chumsley.org>
250         * eshell/em-unix.el (eshell/info): New function.
252 2007-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
254         * frame.el (frame-initialize, make-frame):
255         * server.el (server-process-filter):
256         * faces.el (tty-set-up-initial-frame-faces): Don't set
257         term-environment-variable since it's not used any more.
259         * env.el (setenv): Don't treat $TERM specially.
261         * startup.el (normal-top-level): Set $TERM to `dumb' so that unless
262         stated otherwise, subprocesses do not send back escape sequences
263         corresponding to the terminal from which Emacs was started.
265 2007-08-31  Thien-Thi Nguyen  <ttn@gnuvola.org>
267         * calculator.el: Require cl for compilation.
269 2007-08-30  Daniel Pfeiffer  <occitan@esperanto.org>
271         * outline.el (outline-font-lock-levels): Comment out unused var.
272         (outline-font-lock-face): Wrap around face list to handle any
273         nesting depth gracefully.
275 2007-08-30  Michael Albinus  <michael.albinus@gmx.de>
277         * net/ange-ftp.el: Add ange-ftp property to `set-file-modes' and
278         `set-file-times'.
280 2007-08-30  Carsten Dominik  <dominik@science.uva.nl>
282         * textmodes/org.el (org-export-visible): Fix drawers before export.
283         (org-do-sort): Allow sorting by priority.
284         (org-agenda-files): Ignore non-existing files.
285         (org-agenda-skip-unavailable-files): New variable.
286         (org-ellipsis): All a face as value.
287         (org-mode): Interprete the face value of `org-ellipsis'.
288         (org-archive-save-context-info): New option.
289         (org-archive-subtree): Store context info in archived entry.
290         (org-fast-tag-selection-can-set-todo-state): New variable.
291         (org-fast-tag-selection): Allow setting TODO states through this
292         interface.
293         (org-cycle): Docstring updated.
294         (org-todo-keyword-faces): New option.
295         (org-get-todo-face): New function.
296         (org-set-font-lock-defaults, org-agenda-highlight-todo):
297         Use `org-get-todo-face'.
298         (org-switch-to-buffer-other-window): New function.
299         (org-table-edit-field, org-table-show-reference)
300         (org-table-edit-formulas, org-add-log-note)
301         (org-fast-tag-selection, org-agenda, org-prepare-agenda)
302         (org-timeline): Use `org-switch-to-buffer-other-window' instead of
303         `switch-to-buffer-other-window' to make sure that the temporary
304         windows show up on the current frame.
305         (org-mhe-get-message-real-folder, org-batch-store-agenda-views)
306         (org-get-entries-from-diary, org-replace-region-by-html):
307         Don't allow pop-up frames.
308         (org-agenda-get-deadlines, org-agenda-get-scheduled):
309         Fix problems with time-of-day.
310         (org-export-get-title-from-subtree): New function.
311         (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems
312         with listing items that are DONE.
313         (org-change-tag-in-region): New command.
314         (org-agenda-skip-scheduled-if-done)
315         (org-agenda-skip-deadline-if-done): Docstring clarified.
316         (org-mode): Hide drawers on startup.
317         (org-get-todo-face): New function.
318         (org-todo-keyword-faces): New option.
319         (org-set-regexps-and-options): Use `org-remove-keyword-keys'.
320         (org-remove-keyword-keys): New function.
322 2007-08-30  Jari Aalto  <jari.aalto@cante.net>  (tiny change)
324         * progmodes/grep.el (grep-find-ignored-directories):
325         Add monotone _MTN bookkeeping directory in workspaces.
326         Add RCS control directory.  List items in alphabetical order.
328         * progmodes/grep.el (grep-files-aliases): Add cc alias.
329         Sort items in alphabetical order.  Fix parens.
331 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
333         * vc-hg.el (vc-hg-extra-menu-map): New variable.
334         (vc-hg-extra-menu, vc-hg-outgoing, vc-hg-incoming, vc-hg-push)
335         (vc-hg-pull): New functions.
336         (vc-hg-outgoing-mode, vc-hg-incoming-mode): New derived modes.
338         * term/mac-win.el: Don't require url, only autoloaded url
339         functions are used in this file.
341 2007-08-29  Andreas Schwab  <schwab@suse.de>
343         * shell.el (shell): Return correct value from interactive spec.
345 2007-08-29  Glenn Morris  <rgm@gnu.org>
347         * version.el (emacs-version): Increase to 23.0.50.
349 2007-08-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
351         * term/x-win.el (x-gtk-stock-map): :version changed to 23.1.
353 2007-08-29  Juri Linkov  <juri@jurta.org>
355         * loadup.el: Add "button" loading after "faces" and move "startup"
356         to load after "button".
358 2007-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
360         * loadup.el: Load term/mac-win on a Mac using Carbon.
362         * term/mac-win.el: Provide mac-win.
363         (mac-initialized): New variable.
364         (mac-initialize-window-system): New function.  Move global setup here.
365         (handle-args-function-alist, frame-creation-function-alist):
366         (window-system-initialization-alist): Add mac entries.
367         (x-setup-function-keys): New function containing all the
368         top level function key definitions.
370         * term/x-win.el (x-menu-bar-open): Use accelerate-menu.
372         * env.el (read-envvar-name): Don't consider the environment frame param.
374         * env.el (setenv):
375         * frame.el (frame-initialize, make-frame):
376         * faces.el (tty-set-up-initial-frame-faces):
377         * server.el (server-process-filter): Set
378         display-environment-variable and term-environment-variable.
380         * server.el (server-process-filter): Set COLORFGBG and COLORTERM.
382 2007-08-29  Jason Rumney  <jasonr@gnu.org>
384         * loadup.el: Only load term/x-win when X is compiled in.
385         Load term/w32-win and dependencies on windows-nt.
387         * term/w32-win.el: Reorder to match x-win.el more closely.
388         Provide w32-win.  Don't throw error when global window-system not w32.
389         (internal-face-interactive): Remove obsolete function.
390         (x-setup-function-keys): Use local-function-key-map.
391         (w32-initialized): New variable.
392         (w32-initialize-window-system): Set it.
393         Move more global setup here.
394         (x-setup-function-keys): New function.
395         (w32-initialize-window-system): Move non function key global setup here.
396         (x-cut-buffer-max): Remove.
397         (w32-initialize-window-system): New function.
398         (handle-args-function-alist, frame-creation-function-alist):
399         (window-system-initialization-alist): Add w32 entries.
401 2007-08-29  David Kastrup  <dak@gnu.org>
403         * env.el (getenv): Pass frame to getenv-internal.
405 2007-08-29  Karoly Lorentey  <lorentey@elte.hu>
407         * version.el (emacs-version): Show if multi-tty is present.
409         * loadup.el: Delay loading env; mule-conf gets confused by cl
410         during bootstrap.  Also load termdev and term/x-win.
412         * bindings.el (mode-line-client): New variable.
413         (help-echo): Add it to the default mode-line format.
415         * cus-start.el: Remove bogus window-system reference from GTK test.
417         * ebrowse.el (ebrowse-electric-list-mode-map)
418         (ebrowse-electric-position-mode-map):
419         * ebuff-menu.el (electric-buffer-menu-mode-map):
420         * echistory.el (electric-history-map): Bind C-z to `suspend-frame',
421         not `suspend-emacs'.
423         * ediff-wind.el (ediff-setup-windows-automatic): New function.
424         (ediff-window-setup-function): Use it as default.
426         * files.el (save-buffers-kill-terminal): New function.
427         (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal.
429         * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'
430         and `with-selected-frame'.
432         * help-fns.el (describe-variable): Describe frame-local variables
433         correctly.
435         * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
436         display support.
437         (normal-erase-is-backspace-setup-frame): New function.
439         * subr.el (with-selected-frame): New function.
440         (read-quoted-char): Use terminal-local binding of
441         local-function-key-map instead of function-key-map.
443         * talk.el (talk): New function.
444         (talk-handle-delete-frame): New function.
445         (talk-add-display): Open a new frame only if FRAME was not a frame.
447         * termdev.el: New file.
449         * menu-bar.el (menu-bar-open): New function.  Bind it to f10.
450         * term/x-win.el: Don't bind f10.
451         * tmm.el: Remove autoload binding for f10.
453         * international/encoded-kb.el (encoded-kbd-setup-display): Use
454         `set-input-meta-mode'.  Fix broken condition before set-input-mode.
455         Store the saved input method as a terminal parameter.  Add keymap
456         parameter.  Use it instead of changing key-translation-map directly.
457         (saved-key-translation-map, encoded-kbd-mode, saved-input-mode):
458         Remove.
459         (encoded-kbd-setup-display): New function.
461         * international/mule-cmds.el (set-locale-environment): Fix getenv
462         call.  Use save-buffers-kill-terminal.  Ignore window-system; always
463         set the keyboard coding system.  Add DISPLAY parameter.
464         (set-display-table-and-terminal-coding-system): Add DISPLAY
465         parameter.  Pass it to set-terminal-coding-system.
467         * international/mule.el (keyboard-coding-system): Test for
468         encoded-kbd-setup-display, not encoded-kbd-mode.
469         (set-terminal-coding-system, set-keyboard-coding-system): Add
470         DISPLAY parameter.
471         (set-keyboard-coding-system): Use encoded-kbd-setup-display.
473         * term/README: Update.
475         * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
477         * term/x-win.el (x-setup-function-keys): New function.  Move
478         function-key-map tweaks here.  Protect against multiple calls on
479         the same terminal.  Use terminal-local binding of
480         local-function-key-map instead of function-key-map.
481         (x-initialize-window-system): Make a copy of pure list.  Pass a
482         frame getenv.
484         * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el:
485         * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el:
486         * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el:
487         * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el:
488         * term/tvi970.el, term/wyse50.el: Use terminal-local binding of
489         local-function-key-map instead of function-key-map.
491         * term/rxvt.el, term/xterm.el: Speed up load time by protecting
492         `substitute-key-definition' and `define-key' calls against
493         multiple execution.  Use terminal-local binding of
494         local-function-key-map instead of function-key-map.  Pass a frame
495         to getenv.
497         * edmacro.el (edmacro-format-keys):
498         * emulation/cua-base.el (cua--pre-command-handler):
499         * isearch.el (isearch-other-meta-char):
500         * xt-mouse.el: Use terminal-local binding of
501         local-function-key-map instead of function-key-map.
503         * fringe.el (set-fringe-mode): Simplify and fix using
504         `modify-all-frames-parameters'.
505         * scroll-bar.el (set-scroll-bar-mode): Ditto.
506         * tool-bar.el (tool-bar-mode): Ditto.  Remove 'tool-bar-map length
507         check before calling `tool-bar-setup'.
508         (tool-bar-setup): New variable.
509         (tool-bar-setup): Use it to guard against multiple calls.  Add
510         optional frame parameter, and select that frame before adding items.
511         (toggle-tool-bar-mode-from-frame): New function.
513         * menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
514         (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and
515         toggle-tool-bar-mode-from-frame to change "Menu-bar" and
516         "Tool-bar" toggles to reflect the state of the current frame.
517         (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'.
519         * env.el: Require cl for byte compilation (for `block' and `return').
520         (environment, setenv-internal): New functions.
521         (let-environment): New macro.
522         (setenv, getenv): Add optional terminal parameter.  Update docs.
523         (setenv): Use setenv-internal.  Always set process-environment.
524         Handle `local-environment-variables'.
525         (read-envvar-name, setenv, getenv): Use frame parameters
526         to store the local environment, not terminal parameters.  Include
527         `process-environment' as well.
529         * faces.el (tty-run-terminal-initialization): New function.
530         (tty-create-frame-with-faces): Use it.  Set up faces and
531         background mode only after the terminal has been initialized.
532         Call terminal-init-*.  Don't load the initialization file more
533         than once.  Call set-locale-environment.
534         (frame-set-background-mode): Handle the 'background-mode terminal
535         parameter.
536         (tty-find-type): New function.
537         (x-create-frame-with-faces): Remove bogus check for
538         first frame.  Call `tool-bar-setup'.  Don't make frame visible
539         until we are done setting up all its parameters.  Call
540         x-setup-function-keys.
542         * frame.el (make-frame): Always inherit 'environment and 'client
543         parameters.  Set up the 'environment frame parameter, when needed.
544         Also inherit 'client parameter.  Don't override explicitly
545         specified values with inherited ones.  Add 'terminal frame
546         parameter.  Append window-system-default-frame-alist to parameters
547         before calling frame-creation-function.
548         (frame-initialize): Copy the environment from the initial frame.
549         (window-system-default-frame-alist): Enhance doc string.
550         (frame-notice-user-settings): Don't put 'tool-bar-lines in
551         `default-frame-alist' when initial frame is on a tty.
552         (modify-all-frames-parameters): Simplify using `assq-delete-all'.
553         Remove specified parameters from `window-system-default-frame-alist'.
554         (make-frame-on-tty, framep-on-display, suspend-frame):
555         Extend doc string, update parameter names.
556         (frames-on-display-list): Use terminal-id to get the display id.
557         (frame-notice-user-settings): Extend to apply
558         settings in `window-system-default-frame-alist' as well.
559         (terminal-id, terminal-parameters, terminal-parameter)
560         (set-terminal-parameter, terminal-handle-delete-frame): New functions.
561         (delete-frame-functions): Add to `delete-frame-functions' hook.
562         (blink-cursor-mode): Adapt blink-cursor-mode default
563         value from startup.el.
564         (make-frame-on-display): Protect condition on x-initialized when
565         x-win.el is not loaded.  Update doc.
566         (suspend-frame): Use display-controlling-tty-p to decide between
567         suspend-emacs and suspend-tty.
568         (frames-on-display-list): Update for display ids.
569         (framep-on-display): Ditto.
570         (suspend-frame): Use display-name, not frame-tty-name.
571         (selected-terminal): New function.
573         * server.el: Use `device' instead of `display' or `display-id' in
574         variable and client parameter names.
575         (server-select-display): Remove (unused).
576         (server-tty-live-p, server-handle-delete-tty): Remove.
577         (server-unquote-arg, server-quote-arg, server-buffer-clients):
578         Update docs.
579         (server-getenv-from, server-with-environment, server-send-string)
580         (server-save-buffers-kill-terminal): New functions.
581         (server-delete-client): Handle quits in kill-buffer.  Don't kill
582         modified buffers.  Add extra logging.  Delete frames after
583         deleting the tty.  Clear 'client parameter before deleting a frame.
584         Use delete-display, not delete-tty.
585         (server-visit-files): Don't set `server-existing-buffer' if the
586         buffer already has other clients.  Return list of buffers
587         created.  Update doc.  Don't set client-record when nowait.
588         (server-handle-delete-frame): Delete the client if this was its
589         last frame.  Check that the frame is alive.  Remove bogus comment.
590         Add note on possible race condition.  Delete tty clients, if needed.
591         (server-handle-suspend-tty): Use server-send-string.  Kill the
592         client in case of errors from process-send-string.  Use the display
593         parameter.
594         (server-unload-hook): Remove obsolete delete-tty hook.
595         (server-start): Ask before restarting if the old server still has
596         clients.  Add feedback messages.  Remove obsolete delete-tty hook.
597         (server-process-filter): Use server-send-string.  Accept `-dir'
598         command.  Switch to *scratch* immediately after creating the frame,
599         before evaluating any -evals.  Protect `display-splash-screen'
600         call in a condition-case.  Explain why.  Call
601         `display-startup-echo-area-message' before
602         `display-splash-screen'.  Don't display the splash screen when no
603         frame was created.  Show the Emacs splash screen and startup echo
604         area message.  Display the *scratch* buffer by default.  Store the
605         local environment in a frame (not terminal) parameter.  Do not try
606         to decode environment strings.  Fix reference to the 'display
607         frame parameter.  Change syntax of environment variables.  Put
608         environment into terminal parameters, not client parameters.  Use
609         a dummy client with --no-wait's X frames.  In `-position LINE'
610         handler, don't ruin the request string until the line number is
611         extracted.  Log opened files.  Handle -current-frame command.
612         Don't create frames when it is given.  Don't bind X frames to the
613         client when we are in -no-wait mode.  Set locale environment
614         variables from client while creating tty frames.  Disable call to
615         configure-display-for-locale.  When processing -position command,
616         don't change the request string until the parameters are
617         extracted.  Don't try to create an X frame when Emacs does not
618         support it.  Improve logging.  Temporarily set ncurses-related
619         environment variables to those of the client while creating a new
620         tty frame.  Select buffers opened by nowait clients, don't leave
621         them buried under others.  Set the display parameter, and use it
622         when appropriate.
624         * startup.el (display-startup-echo-area-message): Handle
625         `inhibit-startup-echo-area-message' here.
626         (command-line-1): Moved from here.
627         (fancy-splash-screens): Use `overriding-local-map' instead of
628         `overriding-terminal-local-map' for now; the latter doesn't work
629         right, it looses keypresses to another terminal.  Use
630         `overriding-terminal-local-map' to set up keymap.  Install a
631         `delete-frame-functions' hook to catch `delete-frame' events.
632         Ignore `select-window' events to cope better with
633         `focus-follows-mouse'.  Don't switch back to the original buffer
634         if the splash frame has been killed.  Restore previous buffer, even
635         if it's *scratch*.
636         (normal-splash-screen): Don't let-bind `mode-line-format'; it
637         changes the global binding - setq it instead.  Use
638         `save-buffers-kill-terminal'.
639         (display-splash-screen): Don't do anything if the splash screen is
640         already displayed elsewhere.
641         (fancy-splash-exit, fancy-splash-delete-frame): New functions.
642         (command-line): Replace duplicated code with a call to
643         tty-run-terminal-initialization.  Don't load the terminal
644         initialization file more than once.  Remove call to nonexistent
645         function `set-locale-translation-file-name'.
647         * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
648         parameters.
649         (xterm-mouse-position-function, xterm-mouse-event): Update.
650         (xterm-mouse-mode): Don't depend on current value of window-system.
651         (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
652         Update for multi-tty.
653         (turn-on-xterm-mouse-tracking-on-terminal)
654         (turn-off-xterm-mouse-tracking-on-terminal)
655         (xterm-mouse-handle-delete-frame): New functions.
656         (delete-frame-functions, after-make-frame-functions)
657         (suspend-tty-functions, resume-tty-functions): Install extra hooks
658         for multi-tty.
660 2007-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
662         * simple.el (invisible-p): Remove: implemented in C now.
663         (line-move-invisible-p): Remove obsolete alias.
665 2007-08-28  Juri Linkov  <juri@jurta.org>
667         * image-mode.el (image-type): New variable.
668         (image-mode): Set default major mode name to "Image[text]".
669         (image-minor-mode): Change LIGHTER to display image-type in the
670         mode line.
671         (image-minor-mode): Set default image-type to "text".
672         (image-toggle-display): After switching to text mode, set
673         image-type to "text" and major mode name to "Image[text]".
674         After switching to image mode, set image-type to actual image
675         type, and add image type to major mode name.  Let-bind the same
676         variable names as arguments of `image-type' and `create-image'.
677         Bind `type' to the result of `image-type' and use it as arg
678         of `create-image' to not determine the image type twice.
680 2007-08-28  Michael Albinus  <michael.albinus@gmx.de>
682         * net/tramp.el (tramp-handle-set-file-times): Flush the file properties.
683         (tramp-set-file-uid-gid, tramp-get-local-uid)
684         (tramp-get-local-gid): New defuns.
685         (tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID.
686         (tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID.
687         Improve fast track.
688         (tramp-do-copy-or-rename-file-directly): Sync parameter list with
689         the other tramp-do-copy-or-rename-file-* functions.  Major rewrite.
690         (tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
691         (tramp-handle-write-region): Improve fast track.
692         (tramp-handle-file-remote-p): IDENTIFICATION can also be `localname'.
693         (tramp-maybe-open-connection): Let `process-adaptive-read-buffering'
694         be nil.
696 2007-08-28  Ivan Kanis  <apple@kanis.eu>
698         * time.el: New feature to display several time zones in a buffer.
699         (display-time-world-mode, display-time-world-display)
700         (display-time-world, display-time-world-timer): New functions.
701         (display-time-world-list, display-time-world-time-format)
702         (display-time-world-buffer-name, display-time-world-timer-enable)
703         (display-time-world-timer-second, display-time-world-mode-map):
704         New variables.
706 2007-08-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
708         * term/x-win.el (x-gtk-stock-map): New variable.
709         (x-gtk-map-stock): New function.
711         * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and
712         prev/next-node.
714 2007-08-28  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>  (tiny change)
716         * play/gamegrid.el (gamegrid-init): Set line-spacing to 0.
718 2007-08-28  Glenn Morris  <rgm@gnu.org>
720         * progmodes/cc-langs.el (c-constant-kwds): Add java: null, true, false.
722 2007-08-27  Thien-Thi Nguyen  <ttn@gnuvola.org>
724         * progmodes/modula2.el (m2-definition, m2-module):
725         Don't use previous-line.  Reported by T. V. Raman.
727 2007-08-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
729         * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
730         argument to tool-bar-mode call.
732 2007-08-27  Glenn Morris  <rgm@gnu.org>
734         * diff-mode.el (diff-find-file-name): Only accept regular files,
735         to rule out /dev/null, directories, etc.
737         * vc-svn.el (vc-svn-diff): If the repository version of all the
738         files is the same as the specified OLDVERS, do a local diff.
740 2007-08-25  Stefan Monnier  <monnier@iro.umontreal.ca>
742         * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness
743         of buffers in uniquify-managed.
745         * simple.el (invisible-p): Rename from text-invisible-p.
746         Update callers.
748 2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
750         * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face)
751         (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode)
752         (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces)
753         (cperl-etags-goto-tag-location): Use new style backquotes.
755         * net/browse-url.el: Remove spurious * in custom docstrings.
756         (browse-url-filename-alist): Use new-style backquote.
758         * emacs-lisp/backquote.el (backquote-unquote-symbol)
759         (backquote-splice-symbol): Clarify they're not new-style unquotes.
761         * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,)
762         (\,@): Backslash the , and ,@ which are not new-style unquotes.
764         * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote.
766         * net/socks.el (socks-username/password-auth-filter):
767         Remove unused vars `state' and `desired-len'.
768         (socks-parse-services, socks-nslookup-host): Use with-current-buffer.
769         (socks-wait-for-state-change): Use new-style backquotes.
771         * pcvs.el (cvs-mode-status): Fix long-standing typo.
773         * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style
774         backquotes after each `read' rather than once per buffer.
776         * dframe.el: Remove spurious * in custom docstrings.
777         (dframe-xemacsp): Remove, use (featurep 'xemacs) instead.
778         (dframe-xemacs20p): Remove, inline at the sole use point.
779         (defface): Don't defvar the face, don't use old-style backquote.
780         (defcustom): Don't use old-style backquote.
781         (dframe-frame-parameter, dframe-mouse-event-p):
782         Make it obvious that it's always defined.
783         (dframe-popup-kludge): New function to replace
784         dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge.
785         (dframe-frame-mode, dframe-set-timer-internal)
786         (dframe-mouse-set-point): Remove use of with-no-warnings from
787         XEmacs-specific code.
788         (dframe-set-timer-internal): Fix very old bug with
789         post-command-idle-hook.
791         * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'.
793 2007-08-27  Thien-Thi Nguyen  <ttn@gnuvola.org>
795         * emacs-lisp/avl-tree.el: New file.
797 2007-08-26  Micha\e,bk\e(Bl Cadilhac  <michael@cadilhac.name>
799         * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
800         was used.
802 2007-08-26  Sean O'Rourke  <seano@cs.ucsd.edu>
804         * complete.el (PC-do-completion): Make RET accept a non-unique but
805         complete expansion again.
807 2007-08-26  Thien-Thi Nguyen  <ttn@gnuvola.org>
809         * eshell/esh-opt.el (eshell-eval-using-options):
810         Add debug declaration.
812 2007-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
814         * log-view.el (log-view-toggle-mark-entry): Add docstring.
815         (log-view-get-marked): Likewise.
817         * vc-hooks.el (vc-registered): Use mapc instead of mapcar.
818         (vc-delete-automatic-version-backups): Likewise.
820         * vc.el (vc-dired-buffers-for-dir): Likewise.
822 2007-08-25  Dan Nicolaescu  <dann@ics.uci.edu>
824         * progmodes/cperl-mode.el (cperl-indent-level): Autoload the
825         safe-local-variable setting.
826         * progmodes/perl-mode.el (perl-indent-level): Likewise.
828         * log-view.el (log-view-marked-list): Delete variable.
829         (log-view-mode): Don't use it.
830         (log-view-toggle-mark-entry): Likewise, simplify.
831         (log-view-current-tag): Don't return properties.
832         (log-view-get-marked): New function.
834 2007-08-25  Alexandre Julliard  <julliard@winehq.org>
836         * vc-git.el (vc-git-mode-line-string): New function.
838 2007-08-25  Alan Mackenzie  <acm@muc.de>
840         * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist):
841         new language variable.
843         * progmodes/cc-engine.el (c-brace-anchor-point): new function.
844         (c-add-stmt-syntax): Give accurate anchor points for "namespace",
845         "extern" etc., rather than BOI.  Fix addition of spurious
846         syntactic-symbol 'defun-block-intro, replacing it with
847         'innamespace, etc.
849 2007-08-25  Juri Linkov  <juri@jurta.org>
851         * files.el (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el.
853         * image-mode.el: Add autoloads to put associations in auto-mode-alist:
854         associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and
855         "\\.svgz?\\'" with xml-mode and image-mode-maybe.
857         * image.el (image-type-header-regexps): Use more complex regexp for svg.
858         (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg).
859         (image-type-auto-detectable): Add (svg . maybe).
861         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add .svgz
862         to treat it like .tgz.
864         * calendar/cal-bahai.el: Add file coding cookie.
866 2007-08-25  Reiner Steib  <Reiner.Steib@gmx.de>
868         * pcvs.el (cvs-query-directory): Only prompt when prefix is given.
869         Don't behave differently when executed via M-x.  Add doc string.
871         * sort.el (sort-fold-case, sort-numeric-base): Mark as
872         safe-local-variable.
874 2007-08-25  Jay Belanger  <jay.p.belanger@gmail.com>
876         * calc/calc-forms.el (var-TimeZone): Make nil explicitly
877         the default value.
878         (math-calendar-tzinfo): New variable.
879         (math-get-calendar-tzinfo): New function.
880         (calcFunc-tzone, calcFunc-dst): Use Emacs's calendar
881         to get information when zone is nil.
883 2007-08-24  Dan Nicolaescu  <dann@ics.uci.edu>
885         * log-view.el (log-view-toggle-mark-entry): New function.
886         (log-view-mode-map): Bind it.
887         (log-view-marked-list): New variable.
888         (log-view-mode): Make it local.
890 2007-08-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
892         * play/zone.el (zone-pgm-rat-race): New func.
893         (zone-programs): Add `zone-pgm-rat-race'.
895 2007-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
897         * emacs-lisp/byte-opt.el (byte-optimize-if): Don't presume `clause' is
898         a list.
900 2007-08-24  Thien-Thi Nguyen  <ttn@gnuvola.org>
902         * progmodes/hideshow.el (hs-match-data): Delete alias.
903         (hs-hide-block-at-point, hs-find-block-beginning)
904         (hs-show-block): Use `match-data' directly.
906 2007-08-24  Martin Rudalics  <rudalics@gmx.at>
908         * format.el (format-alist): Fix typo in doc-string.
910 2007-08-24  Michael Albinus  <michael.albinus@gmx.de>
912         * net/tramp.el (tramp-local-host-p): New defun.
913         (tramp-handle-file-local-copy, tramp-handle-write-region):
914         Implement fast track when being on the local host.
915         (tramp-file-name-handler): Don't set "started" property.  It shall
916         be reserved for the "ftp" method.
917         (tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'.
919         * net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'.
920         (tramp-ftp-file-name-handler): Set "started" property.
922 2007-08-24  Ulrich Mueller  <ulm@gentoo.org>  (tiny change)
924         * files.el (backup-buffer-copy): Don't wrap delete in
925         condition-case, only try to delete if file exists.
927 2007-08-24  Glenn Morris  <rgm@gnu.org>
929         * files.el (backup-buffer-copy): Revert 2007-08-22 change.
931         * startup.el (tutorial-directory): Set with eval-at-startup so it
932         gets the right value in an installed Emacs.
934 2007-08-24  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
936         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
937         (eldoc-highlight-function-argument): Use it.
939 2007-08-23  Masatake YAMATO  <jet@gyve.org>
941         * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments):
942         Highlight name of parameters in document body.
944 2007-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
946         * emacs-lisp/bytecomp.el (byte-compile-output-docform)
947         (byte-compile-output-as-comment): Use with-current-buffer rather than
948         a weird set-buffer&prog1 combination.
950         * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the
951         test so as to optimise cases where the `progn's result is constant.
953 2007-08-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
955         * locate.el (locate-get-file-positions):
956         Use line-beginning-position and line-end-position.
958 2007-08-23  John Wiegley  <johnw@newartisans.com>
960         * calendar/cal-bahai.el: Added in the diacriticals that were
961         missing for many of the month names.
963 2007-08-22  Jason Rumney  <jasonr@gnu.org>
965         * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix.
967 2007-08-22  Chong Yidong  <cyd@stupidchicken.com>
969         * image-mode.el (image-minor-mode): Use image-mode-text-map.
971 2007-08-22  Sean O'Rourke  <sorourke@cs.ucsd.edu>
973         * dabbrev.el (dabbrev--progress-reporter): New variable.
974         (dabbrev--scanning-message): Delete func.
975         (dabbrev--find-expansion): Use a progress reporter
976         instead of dabbrev--scanning-message.
978 2007-08-22  Michael Albinus  <michael.albinus@gmx.de>
980         * comint.el (comint-exec-1): Raise an error if
981         `start-file-process' does not return a process object.
983         * shell.el (shell): Prompt for `default-directory' if it is a
984         remote file name, and if called with a prefix arg.
986 2007-08-22  Sam Steingold  <sds@gnu.org>
988         * pcvs.el (cvs-vc-command-advice): Fix a typo in code (file->files).
990 2007-08-22  Carsten Dominik  <dominik@science.uva.nl>
992         * textmodes/org-export-latex.el: New file.
994         * textmodes/org-publish.el (org-publish-org-to-latex): New function.
996         * textmodes/org.el (org-agenda-skip): Allow a form for
997         `org-agenda-skip-function'.
998         (org-agenda-redo): Re-use local settings.
999         (org-agenda): Store local settings.
1000         (org-agenda-deadline-faces): New option.
1001         (org-agenda-deadline-face): New function.
1002         (org-agenda-get-deadlines, org-agenda-get-scheduled): Also handle
1003         entries on their due date.
1004         (org-agenda-get-timestamps): No longer handle the due dates of
1005         schedules and deadline items.
1006         (org-insert-link-global, org-open-at-point-global): New commands.
1007         (org-export-as-ascii): Call `org-cleaned-string-for-export' with a
1008         :for-ascii parameter.
1009         (org-skip-comments): Function removed.
1010         (org-cleaned-string-for-export): Handle special table lines.
1011         (org-global-properties): New option.
1012         (org-entry-get-with-inheritance): Check global properties.
1013         (org-local-properties): New variable.
1014         (org-set-regexps-and-options): Find the #+PROPERTY line.
1015         (org-link-types): Change type into variable (was constant).
1016         (org-make-link-regexps): New function.
1017         (org-link-re-with-space, org-link-re-with-space2)
1018         (org-angle-link-re, org-plain-link-re, org-bracket-link-regexp)
1019         (org-bracket-link-analytic-regexp, org-any-link-re): Creation of
1020         these regular expressions happens now in the function
1021         `org-make-link-regexps'.
1022         (org-store-link): Call the functions in
1023         `org-store-link-functions'.
1024         (org-add-link-type): New function.
1025         (org-store-link-functions): New variable.
1026         (org-activate-tags): Force matches to be in headlines.
1027         (org-batch-store-agenda-views): Fix bug with killing agenda buffer.
1028         (org-columns-display-here): Make sure this works in a narrowed
1029         buffer by checking for point-min.
1030         (org-columns-display-here): Make the rest of the line intangible,
1031         so that point never can be there.
1032         (org-cleaned-string-for-export): Use `with-current-buffer'.
1033         (org-replace-region-by-html): Use `with-current-buffer'.
1034         (org-unfontify-region, org-do-occur, org-columns-display-here)
1035         (org-columns-remove-overlays, org-columns-quit)
1036         (org-columns-edit-value, org-columns-next-allowed-value)
1037         (org-eval-in-calendar, org-agenda-undo, org-no-read-only)
1038         (org-finalize-agenda, org-remove-subtree-entries-from-agenda)
1039         (org-agenda-todo, org-agenda-change-all-lines)
1040         (org-agenda-align-tags, org-agenda-priority)
1041         (org-agenda-set-tags, org-agenda-toggle-archive-tag)
1042         (org-agenda-show-new-time, org-cleaned-string-for-export)
1043         (org-export-grab-title-from-buffer)
1044         (org-export-as-ascii, org-export-as-html): Use `inhibit-read-only'
1045         instead of `buffer-read-only'.
1046         (org-export-as-html): Set `coding-system-for-write'.
1047         (org-remember-store-without-prompt): New option.
1048         (org-archive-subtree): Fixed bug with modifying TODO keyword.
1049         (org-beginning-of-line): Also treat C-a special in items.
1050         (org-table-convert-refs-to-rc): Fixed problem with column
1051         reference after "..".
1052         (org-columns-compute): Don't mark buffer modified because of text
1053         properties.
1054         (org-batch-store-agenda-views): Use the variable
1055         `default-directory', not the function.
1056         (org-clock-out-if-current): Respect `org-clock-out-when-done'.
1057         (org-clock-out-when-done): New option.
1058         (org-html-entities): Added HTML entities for smileys.
1060 2007-08-22  Glenn Morris  <rgm@gnu.org>
1062         * image.el (create-image): Doc fix.
1064         * startup.el (tutorial-directory): New constant.
1065         (fancy-splash-text): Tutorials now in tutorial-directory.
1066         * tutorial.el (help-with-tutorial): Tutorials now in
1067         tutorial-directory.
1069 2007-08-22  Michael Albinus  <michael.albinus@gmx.de>
1071         * net/tramp.el (top): Require cl.el, when `copy-tree' is not available
1072         otherwise.
1073         (tramp-get-remote-path): New defun.  Replace occurrences of
1074         `tramp-default-remote-path' by this function.
1075         (tramp-set-remote-path): Move most of the code to
1076         `tramp-get-remote-path'.
1077         (tramp-get-ls-command, tramp-get-remote-id): Don't check for not
1078         existing directories, this is done already in
1079         `tramp-get-remote-path'.
1081 2007-08-22  Paul Pogonyshev  <pogonyshev@gmx.net>
1083         * image-file.el (image-file-name-extensions): Add "svg".
1084         * image.el (image-type-header-regexps): Add svg entry.
1086 2007-08-22  Glenn Morris  <rgm@gnu.org>
1088         * files.el (backup-buffer-copy): Check backup directory is
1089         writable, to avoid infloop deleting old backup.
1091         * mail/rmail.el (rmail-movemail-variant-p): Call on load to set
1092         movemail related variables.
1093         (rmail-insert-inbox-text): Use only rmail-movemail-program, which
1094         will now be set before this is called.
1096 2007-08-21  Juri Linkov  <juri@jurta.org>
1098         * delsel.el (delete-selection-pre-hook):
1099         * emulation/cua-base.el (cua-paste): Use `mouse-region-match'
1100         instead of checking last-command.
1102 2007-08-21  Juri Linkov  <juri@jurta.org>
1104         * loadup.el: Preload "button".
1106 2007-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1108         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1109         Add previous-line and next-line.
1111         * vc-arch.el (vc-arch-extra-menu-map): New var and fun.
1112         (vc-arch-find-file-not-found-hook): Remove, it's now the default.
1114         * vc-hooks.el (vc-menu-entry): New var.
1115         (vc-mode-line-map): Use it so that this menu also uses the extra-menu.
1116         (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
1117         (vc-menu-map): Declare and initialize in one step.
1118         (vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter.
1120         * menu-bar.el (vc-menu-map): Don't setup any more.
1121         Instead, just create the proper spot in the menu.
1123 2007-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1125         * smerge-mode.el (smerge-resolve): New arg `safe'.
1126         (smerge-resolve-all, smerge-batch-resolve): New function.
1127         (smerge-refine): Make sure `diff' returns the expected result.
1128         (smerge-parsep-re): New const.
1129         (smerge-mode): Use it to adjust paragraph-separate.
1131         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
1132         Correctly match / regexp matchers as first char on a line when
1133         fontifying only that line.
1135         * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data.
1137 2007-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1139         * vc-bzr.el: Don't fiddle with vc-handled-backend.
1140         (vc-bzr-registered): Don't redundantly protect against
1141         file-error.  Actually use the format-specific code.
1142         (vc-bzr-buffer-nonblank-p): Remove.
1143         (vc-bzr-status): Change `kindchange' -> `kindchanged'.
1145 2007-08-20  Juri Linkov  <juri@jurta.org>
1147         * startup.el (fancy-splash-text): Change multiple tabs into one
1148         tab.  Remove "Useful File menu items" section (with "Exit Emacs"
1149         and "Recover Crashed Session").
1150         (fancy-splash-screens): Set tab-width to 22.
1151         (normal-splash-screen): Replace literal tabs with \t and
1152         fix whitespace.  Remove "Useful File menu items" section (with
1153         "Exit Emacs" and "Recover Crashed Session").
1155 2007-08-20  Johannes Weiner  <hannes@saeurebad.de>  (tiny change)
1157         * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was
1158         extracted from `eval-last-sexp-1'.
1159         (eval-last-sexp-1): Call `preceding-sexp'.
1161 2007-08-20  Thien-Thi Nguyen  <ttn@gnuvola.org>
1163         * vc-rcs.el (vc-rcs-annotate-command):
1164         Fix bug introduced 2007-07-18T16:32:40Z!esr@snark.thyrsus.com:
1165         Add back :vc-annotate-prefix propertization.
1167 2007-08-20  Andreas Schwab  <schwab@suse.de>
1169         * mail/rmail.el (rmail-autodetect): Doc fix.
1171 2007-08-19  Juri Linkov  <juri@jurta.org>
1173         * startup.el (normal-splash-screen): Add more links.
1175 2007-08-19  Juri Linkov  <juri@jurta.org>
1177         * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap'
1178         because it's common to both types of splash screen: fancy and normal.
1179         Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen.
1180         (exit-splash-screen): Rename from `fancy-splash-quit'.
1181         Use `quit-window' instead of `kill-buffer'.
1182         (fancy-splash-head): Use make-button to insert GNU image link.
1183         (fancy-splash-screens, normal-splash-screen): Rename " About GNU
1184         Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*".
1185         (normal-splash-screen): Put "Browse manuals" on the same line with
1186         "Emacs manual".  Remove descriptions from "Useful tasks" and put
1187         all links in two columns on two lines.
1189 2007-08-19  Michael Kifer  <kifer@cs.stonybrook.edu>
1191         * viper.el (viper-remove-hooks): Remove some additional viper hooks
1192         when the user calls viper-go-away.
1193         (viper-go-away): Restore the default of default-major-mode.
1194         Save the value of default-major-mode before vaperization.
1196         * viper-cmd.el: Replace error "" with "Viper bell".
1198         * viper-ex.el: Replace error "" with "Viper bell".
1200         * ediff-util.el (ediff-make-temp-file): Use the coding system of the
1201         buffer for which file is created.
1203 2007-08-19  Glenn Morris  <rgm@gnu.org>
1205         * Makefile.in (custom-deps, finder-data, autoloads, recompile)
1206         (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather
1207         than $(EMACS), so that EMACSLOADPATH is set.  Prevents any system
1208         shadow files messing up the compilation.
1210 2007-08-18  Glenn Morris  <rgm@gnu.org>
1212         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Add doc
1213         string.  Also apply eldoc-argument-case in the help-split-fundoc
1214         case.  Adapt for changed behavior of eldoc-function-argstring,
1215         eldoc-function-argstring-format, and
1216         eldoc-highlight-function-argument.
1217         (eldoc-highlight-function-argument): Handle nil INDEX argument,
1218         just call eldoc-docstring-format-sym-doc in that case.
1219         (eldoc-function-argstring): Change the behavior.  Now it converts
1220         an argument list to a string.
1221         (eldoc-function-argstring-format): Change the behavior.  Now it
1222         applies `eldoc-argument-case' to a string.
1224         * progmodes/scheme.el (scheme-mode-variables): Set
1225         font-lock-comment-start-skip.
1227 2007-08-18  Martin Rudalics  <rudalics@gmx.at>
1229         * progmodes/ada-mode.el (ada-create-syntax-table): Move
1230         set-syntax-table from here to ...
1231         (ada-mode): ... here.  Do not change global value of
1232         comment-multi-line.  Call new function
1233         ada-initialize-syntax-table-properties and add new function
1234         ada-handle-syntax-table-properties to font-lock-mode-hook.
1235         (ada-deactivate-properties, ada-initialize-properties): Replace
1236         by new functions ...
1237         (ada-handle-syntax-table-properties)
1238         (ada-initialize-syntax-table-properties)
1239         (ada-set-syntax-table-properties): ... to set up syntax-table
1240         properties uniformly, independently from whether font-lock-mode
1241         is enabled or not.  Handle read-only buffers and do not change
1242         undo-list when setting syntax-table properties.
1243         (ada-after-change-function): Use ada-set-syntax-table-properties.
1245 2007-08-18  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
1247         * progmodes/meta-mode.el (meta-indent-calculate-last): Remove.
1248         (meta-indent-current-nesting): Use a computation of the nesting
1249         instead.
1250         (meta-indent-current-indentation): Indentation is given according
1251         to nesting and if the previous line was finished or not.
1252         (meta-indent-unfinished-line): Tell if the current line ends with
1253         a finished expression.
1254         (meta-indent-looking-at-code): Like `looking-at', but checks if
1255         the point is in a string before.
1256         (meta-indent-level-count): Use it.  Don't count parenthesis as it's
1257         done in the nesting function.
1258         (meta-indent-in-string-p): Tell if the current point is in a
1259         string.
1260         (meta-indent-calculate): Treat b-o-b as a special case.  Use the
1261         previous functions.
1263 2007-08-17  Thien-Thi Nguyen  <ttn@gnuvola.org>
1265         * emacs-lisp/copyright.el (copyright-limit): New defsubst.
1266         (copyright-update-year, copyright-update)
1267         (copyright-fix-years): Use it.
1269 2007-08-17  Kimit Yada  <kimitto@gmail.com>  (tiny change)
1271         * emacs-lisp/copyright.el (copyright-update-year):
1272         Fix bug: Handle nil copyright-limit.
1274 2007-08-17  Jay Belanger  <jay.p.belanger@gmail.com>
1276         * calc/calc-units.el (math-standard-units): Give exact
1277         conversion for tsp.
1279         * calc/calc.el (math-bignum-digit-length): Compute the
1280         appropriate value.
1282         * calc/calc-bin.el (math-bignum-logb-digit-size)
1283         (math-bignum-digit-power-of-two):
1284         * calc/calc-comb.el (math-small-factorial-table):
1285         * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
1286         (math-approx-gamma-const):
1287         * calc/calc-funcs.el (math-besJ0, math-besJ1, math-besY0)
1288         (math-besY1, math-bernoulli-b-cache):
1289         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
1290         Remove `eval-when-compile's.
1292 2007-08-17  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
1294         * progmode/cperl-mode.el (cperl-look-at-leading-count)
1295         (cperl-find-pods-heres): Fix an error when typing expressions like
1296         `s{a}{b}'.
1298 2007-08-17  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
1300         * mail/emacsbug.el (report-emacs-bug): Remove the last number of
1301         `emacs-version', use the topic prefix ``version; ''.  Make MS-DOS
1302         a special case (there's no build number).
1304 2007-08-17  T. V. Raman  <raman@users.sf.net>  (tiny change)
1306         * completion.el (symbol-under-point, symbol-before-point)
1307         (symbol-before-point-for-complete): Use buffer-substring-no-properties.
1309 2007-08-17  Glenn Morris  <rgm@gnu.org>
1311         * progmodes/compile.el (compilation-get-file-structure): Make use
1312         of the directory part when checking for an existing entry, to
1313         handle files with same basename in different directories.
1315 2007-08-17  Jay Belanger  <jay.p.belanger@gmail.com>
1317         * calc/calc.el (calc-language-alist): Add texinfo-mode.
1319 2007-08-16  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1321         * ps-print.el (ps-header-font-size, ps-header-title-font-size)
1322         (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing)
1323         (ps-paragraph-spacing): Docstring fix.
1325 2007-08-16  Glenn Morris  <rgm@gnu.org>
1327         * ps-print.el (ps-font-size): Doc fix.
1329 2007-08-16  Richard Stallman  <rms@gnu.org>
1331         * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group.
1333 2007-08-15  Juri Linkov  <juri@jurta.org>
1335         * startup.el (initialization): Change parent group from `internal'
1336         to `environment'.
1337         (initial-buffer-choice): New variable.
1338         (command-line): Revert 2007-07-02 change that sets
1339         buffer-offer-save in *scratch* and enables auto-save in it.
1340         (fancy-splash-text): Add links to existing items.  Add new items
1341         with links for useful tasks.  Move information about Control-g to
1342         fancy-splash-head.  Move "Emacs Guided Tour" to the end.
1343         (fancy-splash-keymap): New variable.
1344         (fancy-splash-last-input-event): Remove variable.
1345         (fancy-splash-insert): Add processing of `:link' element.
1346         (fancy-splash-head): Replace "Type Control-l to begin editing"
1347         with "Type `q' to exit".
1348         (fancy-splash-screens-1): Let-bind inhibit-read-only to t.
1349         (fancy-splash-default-action, fancy-splash-special-event-action):
1350         Remove functions.
1351         (fancy-splash-quit): New function.
1352         (fancy-splash-screens): Rename input arg from `hide-on-input' to
1353         `static' and reverse the condition of its usage.  Don't preserve
1354         original values of `minor-mode-map-alist',
1355         `emulation-mode-map-alists', `special-event-map'.
1356         Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
1357         Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
1358         Remove processing of special events.  Use local key map
1359         `fancy-splash-keymap'.  Set buffer to read-only.
1360         (normal-splash-screen): Rename input arg from `hide-on-input' to
1361         `static' and reverse the condition of its usage.
1362         Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
1363         Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
1364         Add links to existing items.  Add new items with links for useful
1365         tasks.  Use local key map `fancy-splash-keymap'.
1366         (display-splash-screen): Rename input arg from `hide-on-input' to
1367         `static'.
1368         (about-emacs): Add alias to display-splash-screen.
1369         (command-line-1): Use `initial-buffer-choice'.
1371         * menu-bar.el (menu-bar-help-menu):
1372         * term/mac-win.el (mac-apple-event-map): Bind About Emacs menu
1373         item to about-emacs instead of display-splash-screen.
1375 2007-08-15  Jay Belanger  <jay.p.belanger@gmail.com>
1377         * calc/calc-units.el (math-standard-units): Update values.
1378         Put in exact, rational values when possible.
1379         (math-unit-prefixes): Replace floats with powers of ten.
1380         (math-standard-units-systems): Replace floats with integers.
1381         (math-make-unit-string): Remove extra spaces in output.
1383 2007-08-15  Glenn Morris  <rgm@gnu.org>
1385         * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even
1386         sloppier, for the sake of GNU Mailman.
1387         (rmail-digest-rfc1153): Initialize `result' correctly.
1389 2007-08-15  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
1391         * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; '
1392         in the mail title.  Suggested by Reiner Steib.
1394 2007-08-14  Chris Hecker  <checker@d6.com>  (tiny change)
1396         * calc/calc-aent.el (calc-do-quick-calc): Add binary
1397         representation of integers to the list of outputs.
1399 2007-08-14  Glenn Morris  <rgm@gnu.org>
1401         * simple.el (bad-packages-alist): New constant.
1402         (bad-package-check): New function.  Together, these two add elements
1403         to `after-load-alist' to check for problematic external packages.
1404         * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'.
1406 2007-08-14  Jay Belanger  <jay.p.belanger@gmail.com>
1408         * calc/calc-units.el (math-get-standard-units)
1409         (math-get-units, math-make-unit-string)
1410         (math-get-default-units, math-put-default-units): New functions.
1411         (math-default-units-table): New variable.
1412         (calc-convert-units, calc-convert-temperature): Add machinery
1413         to supply default values.
1415 2007-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1417         * emulation/tpu-edt.el: Add tpu-extras's autoloads.
1418         (tpu-gold-map, tpu-global-map): Comment-out the bindings to nil.
1419         (tpu-gold-map): Bind F to tpu-cursor-free-mode.
1420         (minibuffer-local-map): Use funkey symbols rather than esc-sequence.
1422         * emulation/tpu-extras.el: Remove spurious * in docstrings.
1423         Put its autoloads into tpu-edt.el rather than loaddefs.el.
1424         (tpu-cursor-free-mode): Rename from tpu-cursor-free.
1425         Make into a proper minor-mode.
1426         (tpu-backward-char, tpu-next-line, tpu-previous-line)
1427         (tpu-next-end-of-line, tpu-current-end-of-line): Use new name.
1428         (tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook.
1429         (tpu-set-cursor-free, tpu-set-cursor-bound):
1430         Delegate to tpu-cursor-free-mode.
1431         (tpu-next-line, tpu-previous-line, tpu-forward-line)
1432         (tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up):
1433         Use line-move or forward-line instead of next-line-internal.
1435 2007-08-13  Nick Roberts  <nickrob@snap.net.nz>
1437         * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully.
1439 2007-08-12  Richard Stallman  <rms@gnu.org>
1441         * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout)
1442         (cvs-execute-single-file): Use new name split-string-and-unquote.
1443         (cvs-header-msg): Use new name combine-and-quote-strings.
1445         * emulation/vi.el (vi-next-line): Ignore return value of line-move.
1447         * progmodes/gud.el (gud-common-init): Use new name
1448         split-string-and-unquote.
1450         * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop
1451         in javac regexp.
1453         * pcvs-util.el (cvs-qtypedesc-strings): Use new names
1454         combine-and-quote-strings and split-string-and-unquote.
1456         * subr.el (combine-and-quote-strings): Rename from strings->string.
1457         (split-string-and-unquote): Rename from string->strings.
1459 2007-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1461         * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt
1462         to buffer-local settings.
1464         * emacs-lisp/backquote.el (backquote-delay-process): New function.
1465         (backquote-process): Add internal arg `level'.  Use the two to
1466         correctly handle nested backquotes.
1468 2007-08-09  Riccardo Murri  <riccardo.murri@gmail.com>
1470         * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs.
1471         (vc-bzr-state-words): Add "kind changed" state word.
1472         (vc-bzr-status): New function.  Return Bzr idea of file status,
1473         which is different from VC's.
1474         (vc-bzr-state): Use vc-bzr-status.
1475         (vc-workfile-unchanged-p): Use vc-bzr-status.
1476         (vc-bzr-revert): Use synchronous process; expect exitcode 0.
1477         (vc-dired-state): Process "kind changed" state word.
1479 2007-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1481         * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing.
1483         * vc-rcs.el (vc-rcs-find-file-not-found-hook):
1484         Move from vc-default-find-file-not-found-hook.
1486 2007-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1488         * man.el: Remove spurious * in docstrings.
1489         Merge defvars and toplevel setq-defaults.
1490         (Man-highlight-references0): Limit=nil rather than point-max.
1491         (Man-mode-map): Move initialization into the declaration.
1492         (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
1493         (Man-view-header-file): Use expand-file-name rather than concat.
1494         (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
1496         * man.el (Man-next-section): Make sure we do not move backward.
1498 2007-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1500         * files.el (auto-mode-alist): Use the purecopied text (duh!).
1502 2007-08-08  Glenn Morris  <rgm@gnu.org>
1504         * Replace `iff' in doc-strings and comments.
1506 2007-08-08  Martin Rudalics  <rudalics@gmx.at>
1508         * dired.el (dired-pop-to-buffer):
1509         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1510         * calendar/calendar.el (generate-calendar-window):
1511         * progmodes/compile.el (compilation-set-window-height):
1512         * textmodes/two-column.el (2C-two-columns, 2C-merge):
1513         Use window-full-width-p instead of comparing frame-width and
1514         window-width.
1516         * progmodes/compile.el (compilation-find-buffer): Remove extra
1517         argument in call to compilation-buffer-internal-p.
1519 2007-08-07  Tom Tromey  <tromey@redhat.com>
1521         * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level):
1522         Add safe-local-variable property.
1524 2007-08-07  Chong Yidong  <cyd@stupidchicken.com>
1526         * image-mode.el (image-toggle-display): Use image-refresh.
1528 2007-08-07  Riccardo Murri  <riccardo.murri@gmail.com>
1530         * vc-bzr.el: Remove comments about vc-bzr.el being a modified
1531         unofficial version.
1532         (vc-bzr-command): Remove redundant setting of process-connection-type.
1533         (vc-bzr-admin-checkout-format-file): Add autoload.
1534         (vc-bzr-root-dir): Remove in favor of vc-bzr-root.
1535         (vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
1536         (vc-bzr-registered): Compare dirstate format tag with known good
1537         value, abort parsing if match fails.  Warn user in docstring.
1538         (vc-bzr-workfile-version): Case for different Bzr branch formats.
1539         See bzrlib/branch.py in Bzr sources.
1540         (vc-bzr-diff): First argument FILES may be a string rather than a list.
1541         (vc-bzr-shell-command): Remove in favor of
1542         vc-bzr-command-discarding-stderr.
1543         (vc-bzr-command-discarding-stderr): New function.
1545 2007-08-06  Riccardo Murri  <riccardo.murri@gmail.com>
1547         * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr"
1548         program, and return nil.
1549         (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
1550         (vc-bzr-state): Look for path names relative to the repository
1551         root after status keyword.
1552         (vc-bzr-file-name-relative): New function.
1553         (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
1554         depend on it.
1555         (vc-bzr-admin-dirname, ...-checkout-format-file)
1556         (...-branch-format-file, ...-revhistory): Paths to some Bzr internal
1557         files that we now parse directly for speed.
1558         (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
1559         (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
1560         (vc-bzr-state): "bzr status" successful only if exitcode is 0.
1561         (vc-bzr-root): Use `vc-bzr-shell-command'.  Stderr may contain
1562         Bzr warnings, so we must discard it.
1563         (vc-bzr-workfile-version): Speedup counting lines from
1564         `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
1565         if that file doesn't exist.
1566         (vc-bzr-responsible-p): Use `vc-bzr-root' instead of
1567         `vc-bzr-root-dir' for speed.  Add `vc-bzr-admin-dirname' (not ".bzr"!)
1568         to `vc-directory-exclusion-list'.
1569         (vc-bzr-shell-command): New function.
1571 2007-08-06  Tom Tromey  <tromey@redhat.com>
1573         * diff-mode.el (diff-unified->context, diff-reverse-direction)
1574         (diff-fixup-modifs): Typo in docstring.
1576 2007-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1578         * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and
1579         count-screen-lines.
1580         (tpu-edt-off): Disable relevant pieces of advice.
1582         * emulation/tpu-extras.el (tpu-before-save-hook): Rename from
1583         tpu-write-file-hook.  Activate it with add-hook on buffer-save-hook.
1584         (newline, newline-and-indent, do-auto-fill): Use advice instead of
1585         redefining the function.
1586         (tpu-set-scroll-margins): Activate the pieces of advice.
1588 2007-08-06  Martin Rudalics  <rudalics@gmx.at>
1590         * help.el (resize-temp-buffer-window): Use window-full-width-p
1591         instead of comparing frame-width and window-width.
1593 2007-08-13  Stephen Leake  <stephen_leake@stephe-leake.org>
1595         * pcvs-parse.el (cvs-parse-table): Handle additional instance of
1596         optional quotes around files in NEED-UPDATE . REMOVED case.
1598         * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring.
1599         (ada-treat-cmd-string): Improve error message.
1600         (ada-do-file-completion): Call `ada-require-project-file', so
1601         project variables are set properly.
1602         (ada-prj-find-prj-file): Delete Emacs 20.2 support.
1603         (ada-gnatfind-buffer-name): New constant.
1604         (ada-find-any-references): Use new constant.  Set buffer name
1605         properly in compilation-start.  Toggle read-only properly.
1606         (ada-find-in-src-path): Fix spelling error in docstring.
1608         * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide
1609         by zero error.
1611 2007-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1613         * emacs-lisp/autoload.el (autoload-print-form): Use print-quoted.
1615 2007-08-12  Richard Stallman  <rms@gnu.org>
1617         * progmodes/sh-script.el (sh): Delete group `unix'.
1619         * progmodes/gud.el (gud): Change to group `processes'.
1621 2007-08-11  Glenn Morris  <rgm@gnu.org>
1623         * progmodes/compile.el (compilation-buffer-name): Don't check
1624         compilation-arguments.  It is superfluous, and the variable isn't
1625         even set when this function is called.
1627 2007-08-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1629         * term/mac-win.el (mac-ae-reopen-application): New function.
1630         (mac-apple-event-map): Bind "reopen application" Apple event to it.
1632 2007-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1634         * textmodes/tex-mode.el (tex-font-lock-unfontify-region): Fix to
1635         take tex-font-script-display into account.
1636         (tex-font-script-display, tex-font-lock-suscript): Change from a cons
1637         cell to a list of 2 elements to simplify the unfontify code.
1639 2007-08-09  Edward O'Connor  <hober0@gmail.com>  (tiny change)
1641         * url/url-auth.el (url-basic-auth): When prompting for username
1642         and password, default to the username and password in the URL.
1644 2007-08-08  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1646         * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix.
1647         (ps-begin-job): Use ps-default-fg and ps-default-bg only when
1648         ps-print-color-p is neither nil nor black-white.  Reported by Christian
1649         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
1651 2007-08-08  Andreas Schwab  <schwab@suse.de>
1653         * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
1654         self-insert-command, not self-insert.
1656 2007-08-08  Glenn Morris  <rgm@gnu.org>
1658         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Make second
1659         argument optional, for backwards compatibility, and only highlight
1660         args when present.  Fix symbol name typo (doc/args).
1662         * help-mode.el (help-make-xrefs): Search for symbol constituents,
1663         rather than just `-'.
1665 2007-08-07  Jay Belanger  <jay.p.belanger@gmail.com>
1667         * calc/calc-units.el (calc-convert-temperature):
1668         Use `/' to create fractions.
1670 2007-08-07  Michael Albinus  <michael.albinus@gmx.de>
1672         * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more
1673         global matching.
1674         (tramp-handle-shell-command): Handle OUTPUT-BUFFER and
1675         ERROR-BUFFER more robust.  Display output.
1676         (tramp-file-name-handler): Add a connection property when we found
1677         a foreign file name handler.  This allows backends like ftp to
1678         profit also from usr/host name completion based on connection
1679         cache.
1680         (tramp-send-command-and-read): Search for trash after the regexp
1681         until eol only.  In XEmacs, there is a problem with \n.
1683         * net/tramp-cache.el (top): Read persistent connection history
1684         when cache is empty.
1686 2007-08-07  Nic Ferrier  <nferrier@tapsellferrier.co.uk>  (tiny change)
1688         * net/tramp.el (tramp-handle-process-file): Fix bug inserting
1689         resulting output.
1691 2007-08-07  Sam Steingold  <sds@gnu.org>
1693         * progmodes/compile.el (compilation-start): Pass nil as startfile
1694         to comint-exec.
1696 2007-08-07  Chong Yidong  <cyd@stupidchicken.com>
1698         * longlines.el (longlines-decoded): New variable.
1699         (longlines-mode): Avoid encoding or decoding the buffer twice.
1701 2007-08-07  Martin Rudalics  <rudalics@gmx.at>
1703         * format.el (format-insert-file): Make sure that at most one undo
1704         entry is recorded for the insertion.  Inhibit point-motion and
1705         modification hooks around call to insert-file-contents.
1707 2007-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1709         * vc.el (vc-annotate): Select temp-buffer before running vc-exec-after.
1710         Select the buffer's window before moving point.
1712 2007-08-07  Richard Stallman  <rms@gnu.org>
1714         * term.el (term): Remove parent group `unix'.
1716         * simple.el (default-indent-new-line): New function.
1717         It calls comment-line-break-function if there are comments.
1718         (do-auto-fill): Use that.
1720 2007-08-07  Sean O'Rourke  <sorourke@cs.ucsd.edu>
1722         * complete.el (PC-lisp-complete-symbol): Complete symbol around point.
1723         (PC-do-completion): Add "acronym completion" for symbols and
1724         filenames, so e.g. "mvbl" expands to "make-variable-buffer-local".
1726 2007-08-06  Sam Steingold  <sds@gnu.org>
1728         * mouse.el (mouse-buffer-menu): Pass mode-name through
1729         format-mode-line because it may be a list,
1730         e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
1732 2007-08-06  Vinicius Jose Latorre  <viniciusig@ig.com.br>
1734         * printing.el (pr-update-menus): Docstring fix.
1736 2007-08-06  Jason Rumney  <jasonr@gnu.org>
1738         * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
1740         * vc-hooks.el (vc-call): Add doc string.
1742 2007-08-06  Michael Albinus  <michael.albinus@gmx.de>
1744         * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
1745         process-filter.
1747 2007-08-06  Kenichi Handa  <handa@m17n.org>
1749         * international/quail.el: Wrap (require 'help-mode) by
1750         eval-when-compile.
1751         (quail-help-init): New function.
1752         (quail-help): Call quail-help-init.
1753         (quail-store-decode-map-key): Change it to a function.
1755 2007-08-05  Jason Rumney  <jasonr@gnu.org>
1757         * vc.el (vc-rollback): Add norevert argument back.
1758         (vc-revert-buffer): Add back as obsolete alias.
1760 2007-08-05  Peter Povinec  <ppovinec@yahoo.com>  (tiny change)
1762         * term.el: Honor term-default-fg-color and term-default-bg-color
1763         settings when modifying term-current-face.
1764         (term-default-fg-color, term-default-bg-color): Initialize from
1765         default term-current-face.
1766         (term-mode, term-reset-terminal): Set term-current-face with
1767         term-default-fg-color and term-default-bg-color.
1768         (term-handle-colors-array): term-current-face has term-default-fg-color
1769         and term-default-bg-color after reset escape sequence.
1770         (term-handle-colors-array): Set term-current-color with
1771         term-default-fg/bg-color instead of ansi-term-color-vector when the
1772         index (term-ansi-current-color or term-ansi-current-bg-color) is zero.
1774 2007-08-05  Jay Belanger  <jay.p.belanger@gmail.com>
1776         * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables.
1777         (math-nlfit-givens): Let bind free variables.
1779 2007-08-05  Vinicius Jose Latorre  <viniciusig@ig.com.br>
1781         * printing.el: Require lpr and ps-print when loading printing package.
1782         Reported by Glenn Morris <rgm@gnu.org>.
1784 2007-08-05  Michael Albinus  <michael.albinus@gmx.de>
1786         * files.el (set-auto-mode): Handle also remote files wrt
1787         `auto-mode-alist'.
1789 2007-08-04  Jay Belanger  <jay.p.belanger@gmail.com>
1791         * calc/calcalg3.el (calc-curve-fit): Add support for nonlinear
1792         curves and plotting.
1794         * calc/calc-nlfit.el: New file.
1796 2007-08-04  Glenn Morris  <rgm@gnu.org>
1798         * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is
1799         zero, not nil, when the library is first loaded.  Check for a file
1800         that has been modified on disk.
1802         * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist):
1803         Remove duplicate defvar preventing initialization.
1804         (cperl-mode): Fix compilation-error-regexp-alist-alist setting.
1806 2007-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1808         * diff-mode.el (diff-font-lock-keywords): Fix up false positives.
1809         (diff-beginning-of-file): Adjust to the fact that diff-file-header-re
1810         may match up to 4 lines.
1811         (diff-beginning-of-file-and-junk): Rewrite.
1813 2007-08-03  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1815         * printing.el: Evaluate require only during compilation.
1816         (pr-version): New version 6.9.1.
1817         (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR).
1818         (pr-global-menubar): Fix code.
1820 2007-08-03  Dan Nicolaescu  <dann@ics.uci.edu>
1822         * term.el (term-erase-in-display): Fix case when point is not at
1823         the beginning of the line.
1825 2007-08-03  Jay Belanger  <jay.p.belanger@gmail.com>
1827         * calc/calc-ext.el (math-get-value, math-get-sdev)
1828         (math-contains-sdev): New functions.
1830         * calc/calc-graph.el (calc-graph-format-data)
1831         (calc-graph-add-curve): Check for error forms.
1832         (calc-graph-set-styles): Add option for error forms.
1834 2007-08-03  Miles Bader  <miles@gnu.org>
1836         * vc-hooks.el (vc-handled-backends): Change capitalization of VC
1837         backend names for new backends to `Git', `Hg', and `Bzr'.
1838         * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name,
1839         not `HG'.
1840         * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend
1841         name, not `GIT'.
1842         * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info)
1843         (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'.
1845 2007-08-03  Richard Stallman  <rms@gnu.org>
1847         * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
1848         to update deleted flag.
1850         * cus-edit.el (customize-apropos, customize-apropos-options)
1851         (customize-apropos-faces, customize-apropos-groups): Improve prompt.
1853         * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
1855         * startup.el (fancy-splash-head, startup-echo-area-message):
1856         Change message text.
1858         * emulation/tpu-edt.el (next-line-internal): Setting deleted.
1859         All callers use line-move.
1861         * progmodes/compile.el (compilation-find-buffer): Return current
1862         buffer immediately if suitable.
1863         (compile, compilation-buffer-name, compilation-start): Doc fixes.
1865 2007-08-03  Daiki Ueno  <ueno@unixuser.org>
1867         * faces.el (face-normalize-spec): New function.
1868         (frame-set-background-mode): Normalize face-spec before calling
1869         face-spec-match-p.
1871 2007-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1873         * server.el (server-window): Add switch-to-buffer-other-frame option.
1875 2007-08-03  Glenn Morris  <rgm@gnu.org>
1877         * cus-edit.el (customize-apropos): Make the error message indicate
1878         what kind of thing the user was trying to customize.
1880         * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t.
1882         * progmodes/fortran.el (fortran-font-lock-syntactic-keywords):
1883         Fix off-by-one error in previous change.
1885 2007-08-03  Drew Adams  <drew.adams@oracle.com>
1887         * emacs-lisp/pp.el (pp-eval-expression): Add progress message.
1888         Make buffer writable.
1890 2007-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
1892         * calc/calc-math.el (math-sqrt-raw, math-sin-raw-2)
1893         (math-cos-raw-2, math-arctan-raw, math-ln-raw):
1894         Use native Emacs functions, when appropriate.
1896 2007-08-01  Dan Nicolaescu  <dann@ics.uci.edu>
1897             Stefan Monnier  <monnier@iro.umontreal.ca>
1899         * vc.el: Document new VC operation `extra-menu'.
1901         * vc-hooks.el (vc-default-extra-menu): New function.
1903         * menu-bar.el (menu-bar-vc-filter): New function.
1904         (menu-bar-tools-menu): Use it as a filter.
1906 2007-08-01  Eric Hanchrow  <offby1@blarg.net>  (tiny change)
1908         * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix.
1910 2007-08-01  Glenn Morris  <rgm@gnu.org>
1912         * progmodes/fortran.el: Remove leading `*' from all defcustom doc
1913         strings.
1914         (fortran-tab-mode-default): Remove needless autoload.
1915         (fortran-tab-mode-string): Add help-echo and mouse properties, and
1916         mark as risky.
1917         (fortran-line-length): New buffer-local variable, safe if integer.
1918         (fortran-if-start-re, fortran-end-prog-re1, fortran-end-prog-re):
1919         Change from variables to constants.
1920         (fortran-font-lock-syntactic-keywords): Delete as a variable,
1921         replace with a new function definition.
1922         (fortran-mode): Use fortran-line-length, and
1923         fortran-font-lock-syntactic-keywords as a function.  Add a
1924         hack-local-variables-hook function.
1925         (fortran-line-length, fortran-hack-local-variables): New functions.
1926         (fortran-window-create, fortran-strip-sequence-nos): Doc fix.
1927         Use fortran-line-length rather than 72.
1928         (fortran-window-create-momentarily): Doc fix.
1930 2007-07-31  Drew Adams  <drew.adams@oracle.com>  (tiny change)
1932         * cus-edit.el (custom-group-value-create, custom-goto-parent):
1933         Fix parent groups link.
1935 2007-07-31  Paul Pogonyshev  <pogonyshev@gmx.net>
1937         * progmodes/python.el (python-current-defun): Adjust to never fall
1938         into infinite loop.
1940 2007-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1942         * pcvs.el (cvs-vc-command-advice): Handle the new fileset case.
1944 2007-07-29  Kimit Yada  <kimitto@gmail.com>  (tiny change)
1946         * emacs-lisp/copyright.el (copyright-update-year, copyright-update)
1947         (copyright-fix-years, copyright): Correctly handle the case where
1948         copyright-limit is nil.
1950 2007-07-28  Konstantin Novitsky  <knovitsk@Bear.com>  (tiny change)
1952         * progmodes/python.el (run-python): Fix path separator under w32.
1954 2007-07-30  Richard Stallman  <rms@gnu.org>
1956         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1957         Treat non-break space as whitespace in Lisp.
1959 2007-07-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1961         * vc.el (vc-dired-hook): Use inhibit-read-only.
1963         * progmodes/compile.el (compilation-forget-errors):
1964         Reset compilation-auto-jump-to-next.
1966 2007-07-30  Michael Olson  <mwolson@gnu.org>
1968         * cus-edit.el (custom-group-save): Fix void function definition
1969         error.  Thanks to Zhang Wei for the report.
1971         * ps-print.el: Check in trivial changes to the autoloads section
1972         caused by the build process.  These autoloads really ought to be
1973         placed in a separate file, methinks.
1975 2007-07-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1977         * calendar/calendar.el (calendar-mode): Make sure
1978         displayed-(month|year) are set.
1979         (calendar-basic-setup): Display buffer before adjusting window sizes.
1980         (generate-calendar-window): Use inhibit-read-only.  Simplify.
1981         Generate buffer and set displayed-month and displayed-year before
1982         calling update-calendar-mode-line.
1984 2007-07-29  Michael Albinus  <michael.albinus@gmx.de>
1986         * net/tramp.el:
1987         * net/tramp-uu.el:
1988         * net/trampver.el: Use utf-8 encoding with coding cookie.
1990         * net/tramp-cache.el:
1991         * net/tramp-fish.el:
1992         * net/tramp-ftp.el:
1993         * net/tramp-gw.el:
1994         * net/tramp-smb.el: Remove coding cookie.
1996         * net/tramp.el (tramp-handle-verify-visited-file-modtime):
1997         Flush buffer file-name's file property.
1998         (tramp-handle-file-remote-p): The first parameter is FILENAME.
2000         * net/trampver.el: Update release number.
2002 2007-07-29  Juri Linkov  <juri@jurta.org>
2004         * dired.el (dired-mode-map): Bind C-x C-q to dired-toggle-read-only.
2005         Filter out menu item "Edit File Names" `wdired-change-to-wdired-mode'
2006         when major-mode is not dired-mode.
2007         (dired-toggle-read-only): New function.
2008         (dired-recursive-deletes): Remove obsolete comments about old
2009         default value.
2010         (dired-do-flagged-delete, dired-do-delete): Refill docstring.
2012         * wdired.el (wdired-exit): New function.
2013         (wdired-mode-map): Bind C-x C-q to wdired-exit.
2015 2007-07-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2017         * cus-edit.el (customize-read-group): New fun.
2018         (customize-group-other-window, customize-face-other-window):
2019         Prompt before delegating to customize-(group|face).
2020         Bind pop-up-windows rather than use the other-window argument.
2021         (customize-group, customize-face): Prompt from the interactive spec.
2022         Remove args `prompt-for-group' and `other-window'.
2024         * emacs-lisp/advice.el (ad-interactive-form): Re-introduce.
2025         (ad-body-forms, ad-advised-interactive-form): Revert this part of
2026         last change.
2028 2007-07-28  Masatake YAMATO  <jet@gyve.org>
2030         * vc.el (vc-dired-mode): Add a menu for VC related operation.
2031         Use backend name as the menu label.  Suggested by David Kastrup.
2033 2007-07-28  Alan Mackenzie  <acm@muc.de>
2035         Fix problem with modes derived from CC Mode:
2036         * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this
2037         macro to cc-langs.
2038         (c-init-language-vars-for): Remove call to above macro.
2039         * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has
2040         been moved to here.
2041         (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local.
2043 2007-07-28  Eli Zaretskii  <eliz@gnu.org>
2045         * net/trampver.el: Fix the `coding' cookie.
2047 2007-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
2049         * vc-git.el (vc-git-print-log): Support both the old single file
2050         interface and the new one.
2052 2007-07-28  Nick Roberts  <nickrob@snap.net.nz>
2054         * bindings.el (mode-line-remote): Use updated %@ construct.
2056 2007-07-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2058         * calendar/cal-bahai.el (calendar-bahai-month-name-array)
2059         (calendar-bahai-epoch, calendar-bahai-leap-year-p)
2060         (calendar-bahai-leap-base, calendar-bahai-prompt-for-date)
2061         (diary-list-bahai-entries, diary-bahai-mark-entries)
2062         (calendar-bahai-mark-date-pattern, diary-insert-bahai-entry)
2063         (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
2064         New names to clean up namespace.
2065         (list-bahai-diary-entries, mark-bahai-diary-entries)
2066         (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
2067         (insert-yearly-bahai-diary-entry, mark-bahai-calendar-date-pattern):
2068         Add compatibility aliases.
2070         * calendar/appt.el: Don't wrap defvar within eval-when-compile.
2072         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right)
2073         (calendar-scroll-left-three-months)
2074         (calendar-scroll-right-three-months): Clean up namespace.
2075         (scroll-calendar-left, scroll-calendar-right)
2076         (scroll-calendar-left-three-months)
2077         (scroll-calendar-right-three-months): Add compatibility aliases.
2079         * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
2080         Behave like mouse-scroll-calendar-* when used from the mouse.
2082         * calendar/cal-menu.el (cal-menu-scroll-menu)
2083         (cal-menu-global-mouse-menu):
2084         * calendar/calendar.el (calendar-mode-map):
2085         Use new calendar-scroll-* names.
2086         (mouse-scroll-calendar-left, mouse-scroll-calendar-right):
2087         Remove.  Use calendar-scroll-* directly instead.
2089 2007-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2091         * emacs-lisp/advice.el (ad-interactive-p, ad-interactive-form): Remove.
2092         (ad-body-forms, ad-advised-interactive-form, ad-make-cache-id)
2093         (ad-make-advised-definition, ad-cache-id-verification-code):
2094         Use commandp and interactive-form instead.
2096 2007-07-26  Dan Nicolaescu  <dann@ics.uci.edu>
2098         * vc-git.el: Relicense to GPLv3 or later.
2099         (vc-directory-exclusion-list, vc-handled-backends): Remove.
2101         * vc-hooks.el (vc-handled-backends): Add GIT.
2103         * vc.el (vc-directory-exclusion-list): Add .git.
2105 2007-07-26  Alexandre Julliard  <julliard@winehq.org>
2107         * vc-git.el (vc-git-revision-table)
2108         (vc-git-revision-completion-table): New functions.
2110 2007-07-26  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2112         * progmodes/ebnf-abn.el (ebnf-abn-skip-comment):
2113         * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment):
2114         * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment):
2115         * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment):
2116         * progmodes/ebnf-iso.el (ebnf-iso-skip-comment):
2117         * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version.
2118         New command actions for EPS header and EPS footer.
2120         * progmodes/ebnf2ps.el: New command actions for EPS header and EPS
2121         footer.  Fix some problems with one-or-more, zero-or-more and
2122         alternative constructions generation.  Some log messages
2123         implementation.  Doc fix.
2124         (ebnf-version): New version 4.4.
2125         (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font)
2126         (ebnf-eps-footer, ebnf-log): New options.
2127         (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header)
2128         (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment)
2129         (ebnf-eps-header-footer-p, ebnf-eps-header-comment)
2130         (ebnf-eps-footer-comment, ebnf-eps-header-footer-file)
2131         (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs.
2132         (ebnf-style-custom-list, ebnf-style-database): Put new values.
2133         (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer)
2134         (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file)
2135         (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory)
2136         (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region)
2137         (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer)
2138         (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job)
2139         (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension)
2140         (ebnf-non-terminal-dimension, ebnf-special-dimension)
2141         (ebnf-terminal-dimension1, ebnf-repeat-dimension)
2142         (ebnf-except-dimension, ebnf-alternative-dimension)
2143         (ebnf-optional-dimension, ebnf-one-or-more-dimension)
2144         (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log
2145         message fun.
2146         (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more)
2147         (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write)
2148         (ebnf-insert-ebnf-prologue, ebnf-production-dimension)
2149         (ebnf-terminal-dimension1, ebnf-alternative-dimension)
2150         (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension)
2151         (ebnf-eps-add-context, ebnf-eps-add-production): Fix code.
2152         (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep
2153         compatibility with Emacs 20 & 21.
2154         (ebnf-eps-header-comment, ebnf-eps-footer-comment)
2155         (ebnf-eps-file-alist, ebnf-basic-width-extra)
2156         (ebnf-basic-empty-height): New vars.
2157         (ebnf-prologue): Fix PostScript code.
2158         (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1)
2159         (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional)
2160         (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence)
2161         (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments.
2163 2007-07-25  Glenn Morris  <rgm@gnu.org>
2165         * Relicense all FSF files to GPLv3 or later.
2167         * COPYING: Switch to GPLv3.
2169 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2171         * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change.
2172         Replace it with another one which disables undo before calling
2173         erase-buffer and then turns it back on if needed.
2175 2007-07-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2177         * ps-print.el: Problem with foreground and background color when
2178         printing a buffer with and without faces.  Reported by Christian
2179         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
2180         (ps-print-version): New version 6.7.5.
2181         (ps-default-fg): Change default value to nil, so black color is used
2182         when a face does not specify a foreground color.
2183         (ps-default-bg): Change default value to nil, so white color is used
2184         for background color.
2185         (ps-begin-job): Fix code.
2187 2007-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
2189         * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out.
2191 2007-07-24  Glenn Morris  <rgm@gnu.org>
2193         * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
2194         (cal-tex-rules, cal-tex-buffer, cal-tex-24)
2195         (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
2196         (cal-tex-cursor-week, cal-tex-cursor-week2)
2197         (cal-tex-cursor-week-iso, cal-tex-week-hours)
2198         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
2199         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2200         (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
2202 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2204         * calendar/calendar.el (calendar-mode-map): Move initialization
2205         into declaration.  Add menu bindings (used to be done in cal-menu).
2206         (calendar-mode): Don't add an activate-menubar-hook.
2208         * calendar/cal-menu.el: Break dependency on calendar.el (i.e. do not
2209         modify calendar-mode-map), use easy-menu, and make sure that C-h k
2210         can be used on the menu entries.
2211         (cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs.
2212         (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
2213         (cal-menu-goto-menu, cal-menu-scroll-menu): New consts.
2214         (cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus.
2215         (calendar-flatten, cal-menu-update): Remove.
2216         (calendar-mouse-insert-hebrew-diary-entry)
2217         (calendar-mouse-insert-islamic-diary-entry)
2218         (calendar-mouse-insert-bahai-diary-entry):
2219         Remove (fold into cal-menu-diary-menu).
2220         (calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu)
2221         (cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu).
2222         (calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu).
2223         (calendar-mouse-view-diary-entries): Minor simplifications.
2224         (calendar-event-to-date): Use with-current-buffer.
2226 2007-07-25  Nick Roberts  <nickrob@snap.net.nz>
2228         * add-log.el (change-log-redate): Remove (not needed anymore and
2229         doesn't appear to work).
2231 2007-07-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2233         * frame.el: Use mapc and dolist instead of mapcar where possible.
2234         (close-display-connection): New command.
2236 2007-07-25  Alexandre Julliard  <julliard@winehq.org>
2238         * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface.
2239         (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions.
2241 2007-07-25  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2243         * ps-print.el (ps-multibyte-buffer): Docstring fix.
2245         * ps-mule.el: Doc fix.
2246         (ps-multibyte-buffer, ps-mule-font-info-database-default)
2247         (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix.
2249 2007-07-25  Glenn Morris  <rgm@gnu.org>
2251         * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays)
2252         (cal-tex-diary, cal-tex-daily-string, cal-tex-daily-start)
2253         (cal-tex-daily-end, cal-tex-hook)
2254         (cal-tex-cal-one-month, cal-tex-cal-multi-month)
2255         (cal-tex-year, cal-tex-cursor-week, cal-tex-cursor-week2)
2256         (cal-tex-cursor-week-iso, cal-tex-week-hours)
2257         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
2258         (cal-tex-cursor-day, cal-tex-insert-preamble): Doc fix.
2259         (cal-tex-day-prefix, cal-tex-day-name-format)
2260         (cal-tex-cal-one-month, cal-tex-cal-multi-month, cal-tex-myday)
2261         (cal-tex-caldate, cal-tex-LaTeX-hourbox)
2262         (cal-tex-LaTeX-subst-list): Change from variables to constants.
2263         (cal-tex-preamble, cal-tex-arg, cal-tex-nl): Simplify with `format'.
2264         (cal-tex-cursor-filofax-year, cal-tex-weekly4-box): Use \textbf,
2265         etc, rather than \bf.
2266         (cal-tex-mini-calendar): Fix typos in previous change.
2267         (cal-tex-latexify-list): Remove inner let binding.
2268         (cal-tex-end-document, cal-tex-banner): Use multi-line
2269         cal-tex-comment.
2270         (cal-tex-comment): Handle embedded newlines.
2271         (cal-tex-LaTeXify-string): Use substring-no-properties.
2273 2007-07-25  Joakim Verona  <joakim@verona.se>  (tiny change)
2275         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2276         Add support for the Maden build tool.
2278 2007-07-25  William Xu  <william.xwl@gmail.com>  (tiny change)
2280         * net/webjump.el (webjump-url-encode): Fix for non-ASCII characters.
2282 2007-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2284         * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
2286 2007-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
2288         * dired.el (dired-mode-map): Bind wdired-change-to-wdired-mode to
2289         C-x C-q.
2291         * vc-git.el (vc-git-print-log): Fix previous change.
2293 2007-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2295         * window.el (save-selected-window): Minor optimization.
2296         (bw-adjust-window): If operation failed, try with a smaller delta.
2297         (window-fixed-size-p): New function.
2298         (window-area-factor): New var.
2299         (balance-windows-area): New command.
2301         * ps-mule.el (ps-multibyte-buffer): Docstring fixes.
2302         (ps-mule-encode-ethiopic): Make it clear that it's always defined.
2303         (ps-mule-prepare-font-for-components, ps-mule-encode-header-string)
2304         (ps-mule-encode-bit, ps-mule-encode-ucs2): Use dotimes.
2305         (ps-mule-begin-job): Use dolist.
2307 2007-07-24  Michael Albinus  <michael.albinus@gmx.de>
2309         * subr.el (start-file-process-shell-command)
2310         (process-file-shell-command): New defuns.
2312         * progmodes/compile.el (compilation-start):
2313         Apply `start-file-process-shell-command'.
2315 2007-07-24  Alexandre Julliard  <julliard@winehq.org>
2317         * vc-git.el (vc-git-checkout, vc-directory-exclusion-list): Fix typos.
2319 2007-07-24  Alan Mackenzie  <acm@muc.de>
2321         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2322         Initialise byte-compile-unresolved-functions before rather than
2323         after a compilation.
2324         (byte-compile-unresolved-functions): Amplify doc string.
2326 2007-07-24  Glenn Morris  <rgm@gnu.org>
2328         * startup.el (normal-splash-screen): Use `emacs-copyright'.
2330         * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
2331         (cal-tex-rules, cal-tex-buffer, cal-tex-24)
2332         (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
2333         (cal-tex-cursor-week, cal-tex-cursor-week2)
2334         (cal-tex-cursor-week-iso, cal-tex-week-hours)
2335         (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
2336         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2337         (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
2339         * calendar/cal-tex.el: Remove leading `*' from defcustom docs.
2340         (cal-tex-daily-string, cal-tex-daily-start, cal-tex-daily-end)
2341         (cal-tex-day-name-format, cal-tex-cal-one-month)
2342         (cal-tex-cal-multi-month, cal-tex-myday, cal-tex-preamble)
2343         (cal-tex-comment, cal-tex-nl, cal-tex-cmd, cal-tex-e-parbox)
2344         (cal-tex-mini-calendar, cal-tex-em): Doc fix.
2345         (cal-tex-list-holidays, cal-tex-cursor-year)
2346         (cal-tex-cursor-year-landscape, cal-tex-year)
2347         (cal-tex-cursor-filofax-year, cal-tex-cursor-month-landscape)
2348         (cal-tex-cursor-month, cal-tex-insert-days)
2349         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
2350         (cal-tex-first-blank-p, cal-tex-cursor-week)
2351         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2352         (cal-tex-week-hours, cal-tex-cursor-week-monday)
2353         (cal-tex-weekly4-box, cal-tex-cursor-filofax-2week)
2354         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
2355         (cal-tex-cursor-day, cal-tex-daily-page, cal-tex-mini-calendar)
2356         (cal-tex-latexify-list, cal-tex-previous-month)
2357         (cal-tex-next-month, cal-tex-insert-preamble): General tidy-up and
2358         modernization, including using dotimes rather than
2359         calendar-for-loop.
2360         (cal-tex-LaTeX-subst-list): Remove `@'.
2361         (cal-tex-em, cal-tex-bf, cal-tex-Huge-bf, cal-tex-large-bf):
2362         Use \textit and \textbf rather than \em and \it.
2364         * calendar/cal-bahai.el (list-bahai-diary-entries)
2365         * calendar/cal-hebrew.el (list-hebrew-diary-entries)
2366         * calendar/cal-islam.el (list-islamic-diary-entries)
2367         * calendar/calendar.el (generate-calendar, generate-calendar-month)
2368         * calendar/diary-lib.el (diary-list-entries)
2369         (mark-calendar-date-pattern): Use `dotimes' rather than
2370         `calendar-for-loop'.
2372         * calendar/calendar.el (calendar-for-loop): Doc fix.
2374 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2376         * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
2377         underlying file is uptodate.
2379 2007-07-23  Christopher J. Madsen  <cjm@cjmweb.net>
2381         * replace.el (perform-replace): Use isearch-no-upper-case-p.
2383 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2385         * vc-hooks.el (vc-mode-line-map): New const.
2386         (vc-mode-line): Use it.
2388 2007-07-23  Alexandre Julliard  <julliard@winehq.org>
2390         * vc-git.el (vc-git-delete-file, vc-git-rename-file)
2391         (vc-git-unregister): New functions.
2392         (vc-git-find-version): Use the result of ls-files as a parameter
2393         for cat-file.
2395 2007-07-23  Michael Albinus  <michael.albinus@gmx.de>
2397         * net/tramp.el (tramp-perl-file-attributes)
2398         (tramp-perl-directory-files-and-attributes)
2399         (tramp-handle-file-attributes-with-stat)
2400         (tramp-handle-directory-files-and-attributes-with-stat)
2401         (tramp-convert-file-attributes): Handle huge file sizes.
2403 2007-07-23  Juri Linkov  <juri@jurta.org>
2405         * isearch.el (isearch-message-function): New variable.
2406         (isearch-update, isearch-search): Use it.
2408         * simple.el (goto-history-element): New function created from
2409         next-history-element.
2410         (next-history-element): Most code moved to goto-history-element.
2411         Call goto-history-element with (- minibuffer-history-position n).
2412         (previous-history-element): Call goto-history-element with (+
2413         minibuffer-history-position n).
2414         (minibuffer-setup-hook): Add minibuffer-history-isearch-setup.
2415         (minibuffer-history-isearch-message-overlay): New buffer-local variable.
2416         (minibuffer-history-isearch-setup, minibuffer-history-isearch-end)
2417         (minibuffer-history-isearch-search, minibuffer-history-isearch-message)
2418         (minibuffer-history-isearch-wrap, minibuffer-history-isearch-push-state)
2419         (minibuffer-history-isearch-pop-state): New functions.
2421 2007-07-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
2423         * vc-hooks.el (vc-stay-local-p): Fix bug: Avoid remove-if-not.
2424         Also, if FILE is a list, return non-nil if any of its elements
2425         should stay local.  Update docstring.
2427 2007-07-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2429         * emacs-lisp/copyright.el (copyright-update-year): Fix 2007-05-25
2430         change by reverting a small part.
2432 2007-07-23  Richard Stallman  <rms@gnu.org>
2434         * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe.
2436 2007-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
2438         * vc-git.el (vc-git-checkin): Delete unused parameter and the code
2439         handling it.  Use vc-git-command.
2440         (vc-git-find-version, vc-git-diff-tree): New functions.
2441         (vc-git-revert): Use vc-git-command.
2442         (vc-git--run-command): Delete.
2444 2007-07-23  Alexandre Julliard  <julliard@winehq.org>
2446         * vc-git.el (vc-git-workfile-unchanged-p): Update comment.
2448 2007-07-20  Kenichi Handa  <handa@m17n.org>
2450         * international/utf-8.el (utf-8-post-read-conversion):
2451         Temporarily bind utf-8-compose-scripts to nil while running
2452         *-compose-region functions.
2454 2007-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
2456         * vc-git.el: Update status.
2457         (vc-directory-exclusion-list): Use eval-after-load.
2459 2007-07-22  Nick Roberts  <nickrob@snap.net.nz>
2461         * bindings.el (mode-line-remote): New variable.
2462         (help-echo): Add to default values of mode-line-format.
2464         * files.el: Mark mode-line-remote as risky.
2466 2007-07-22  Juri Linkov  <juri@jurta.org>
2468         * isearch.el (isearch-edit-string): Save old point and
2469         isearch-other-end to old-point and old-other-end before reading
2470         the search string from minibuffer.  After exiting minibuffer set
2471         point to old-other-end if point and the search direction is the
2472         same as before reading the search string.
2473         (isearch-del-char): Don't set isearch-yank-flag to t.  Put point
2474         to isearch-other-end.  Instead of isearch-search-and-update call
2475         three functions isearch-search, isearch-push-state and isearch-update.
2477 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
2479         * vc-git.el (vc-git-register, vc-git-checkin): Use vc-git-command,
2480         deal with multiple file arguments.
2481         (vc-git-print-log): Deal with multiple file arguments.
2483 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2485         * diff-mode.el (diff-refine-ignore-spaces-hunk): Rename from
2486         diff-refine-hunk.  Adjust users.
2487         (diff-unified-hunk-p, diff-splittable-p): New functions.
2488         (diff-mode-menu): Use it to disable Split when it doesn't work.
2490 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
2492         * diff-mode.el (diff-mode-menu): New entries.
2494 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2496         * diff-mode.el (diff-unified->context): Use the new `apply' undo entry
2497         if applicable, so as to save undo-log space.
2499         * diff-mode.el (diff-find-file-name): Add arg `batch'.
2501         * diff-mode.el (diff-beginning-of-file-and-junk): New function.
2502         (diff-file-kill): Use it.
2503         (diff-beginning-of-hunk): Add arg `try-harder' using it.
2504         (diff-restrict-view, diff-find-source-location, diff-refine-hunk):
2505         Use it so they find the hunk even when we're in the file header.
2507 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
2509         * vc-git.el (vc-git-revision-granularity, vc-git-root)
2510         (vc-git-command, vc-git-dir-state, vc-git-dired-state-info)
2511         (vc-git-create-repo): New functions.
2512         (vc-git-registered): New autoloaded function definition.
2513         (vc-git-registered): Use vc-git-root.
2514         (vc-git-responsible-p): New defalias.
2515         (vc-git-annotate-extract-revision-at-line): Uncomment.
2516         (vc-git-print-log): Add the file name to the log.
2517         (vc-git-log-view-mode): New derived mode.
2518         (vc-git-diff, vc-git-annotate-command): Use vc-git-command.
2520 2007-07-22  Michael Albinus  <michael.albinus@gmx.de>
2522         * progmodes/grep.el (grep-compute-defaults): Keep default values.
2524 2007-07-22  Ralf Angeli  <angeli@caeruleus.net>
2526         * textmodes/reftex.el (reftex-access-parse-file): Create parse
2527         file in a way that does not interfere with recentf mode.
2528         (reftex-access-parse-file): Do not risk destroying an existing
2529         buffer.
2531 2007-07-22  Alexandre Julliard  <julliard@winehq.org>
2533         * vc-git.el: New file.
2535 2007-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2537         * textmodes/tex-mode.el (tex-font-script-display): Change default.
2539 2007-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
2541         * vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips
2542         for branches and new files.
2544         * vc-hooks.el (vc-default-mode-line-string): Move mouse-face and
2545         local-map handling ...
2546         (vc-mode-line): ... here.  Improve handling of help-echo.
2548         * vc.el (mode-line-string): Document help-echo usage.
2550 2007-07-22  Michael Albinus  <michael.albinus@gmx.de>
2552         Sync with Tramp 2.1.10.
2554         * net/tramp.el (tramp-get-ls-command): Fix typo.
2556         * net/trampver.el: Update release number.
2558 2007-07-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
2560         * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon.
2562         * term/x-win.el (x-handle-no-bitmap-icon): New function.
2564 2007-07-22  Martin Rudalics  <rudalics@gmx.at>
2566         * add-log.el (change-log-fill-parenthesized-list): New function.
2567         (change-log-indent): Call change-log-fill-parenthesized-list.
2568         (change-log-fill-paragraph): Bind fill-indent-according-to-mode to t.
2569         Have lines with leading asterisk start a paragraph.
2571 2007-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
2573         * calc/calc-math.el (math-emacs-precision)
2574         (math-largest-emacs-expt, math-smallest-emacs-expt):
2575         New variables.
2576         (math-use-emacs-fn): New function.
2577         (math-exp-raw): Evaluate with `math-use-emacs-fn', when
2578         appropriate.
2580 2007-07-21  Thien-Thi Nguyen  <ttn@gnuvola.org>
2582         * image-dired.el (image-dired-sane-db-file): New func.
2583         (image-dired-write-tags, image-dired-remove-tag)
2584         (image-dired-list-tags, image-dired-write-comments)
2585         (image-dired-get-comment, image-dired-mark-tagged-files)
2586         (image-dired-create-gallery-lists): Call new func.
2587         Reported by Dieter Wilhelm <dieter@duenenhof-wilhelm.de>.
2589 2007-07-21  Dan Nicolaescu  <dann@ics.uci.edu>
2591         * vc-hg.el (vc-hg-dir-state): Fix loop.
2592         (vc-hg-print-log): Fix expected return value for vc-hg-command.
2593         (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
2594         (vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
2595         (vc-hg-revert): Likewise.
2596         (vc-hg-revision-table, vc-hg-revision-completion-table): New
2597         functions.
2599 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2601         * add-log.el (change-log-resolve-conflict): Don't lose data if the
2602         merge fails.
2604 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
2606         * progmodes/compile.el (compilation-auto-jump-to-first-error):
2607         Add group and version.
2609 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2611         * add-log.el (add-log-file-name): Use file-relative-name.
2612         (add-change-log-entry): Delay reading
2613         add-log-(full-name|mailing-address) to after we've switched to the
2614         ChangeLog buffer so we get the right value.
2615         (add-change-log-entry, add-log-current-defun, change-log-merge):
2616         Use derived-mode-p rather than checking major-mode directly.
2618         * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory
2619         name for buffer-file-name if it refers to a directory.
2621         * vc-arch.el (vc-arch-diff): Fix last change.
2623         * progmodes/compile.el (compilation-start): Remember the original
2624         directory in a buffer-local compilation-directory.
2625         (compile): Set the global value of compilation-directory.
2626         (recompile): Use compilation-directory even in the compilation buffer.
2628 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
2630         * vc-hg.el (vc-hg-diff): Use vc-hg-command.
2632 2007-07-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2634         * ps-print.el: Problem with foreground and background color when
2635         printing a buffer with and without faces.  Reported by Christian
2636         Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
2637         (ps-print-version): New version 6.7.5.
2638         (ps-default-fg): Change default value to nil, so black color is used
2639         when a face does not specify a foreground color.
2640         (ps-default-bg): Change default value to nil, so white color is used
2641         for background color.
2642         (ps-begin-job): Fix code.
2644 2007-07-20  Eli Zaretskii  <eliz@gnu.org>
2646         * makefile.w32-in (install-lisp-SH): Don't create subdirectories
2647         in $(INSTALL_DIR)/lisp/ if they already exist.
2649 2007-07-20  Dhruva Krishnamurthy  <dhruvakm@gmail.com>  (tiny change)
2651         * makefile.w32-in (install-lisp-CMD): Don't create subdirectories
2652         in $(INSTALL_DIR)/lisp/ if they already exist.
2654 2007-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2656         * progmodes/vera-mode.el (vera-re-search-forward)
2657         (vera-re-search-backward): Remove use of store-match-data.
2658         (vera-mode-map): Move initialization into declaration.
2660         * progmodes/flymake.el (flymake-buildfile-dirs): Remove.
2661         (flymake-find-buildfile): Use locate-dominating-file.
2663         * vc.el (vc-delistify): Use mapconcat.
2664         (vc-do-command): Minor simplification.
2665         (vc-expand-dirs): Use push.
2667         * vc-mcvs.el (vc-mcvs-create-repo):
2668         * vc-cvs.el (vc-cvs-create-repo): Remove.
2670         * vc-hooks.el (vc-find-root): Fix case where `file' is the current
2671         directory and the root as well.
2673 2007-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
2675         * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
2676         instead of a file.
2678         * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
2679         (vc-hg-registered): Replace if with when.
2680         (vc-hg-state): Deal with nonexistent files and handle removed files.
2681         (vc-hg-dir-state, vc-hg-dired-state-info): New functions.
2682         (vc-hg-checkout): Re-enable.
2683         (vc-hg-create-repo): Fix typos.
2684         (vc-hg-print-log): Fix for multiple files.
2685         (vc-hg-workfile-unchanged-p): New function.
2687         * vc.el: Fix typo.
2688         (vc-print-log): Fix call to print-log.
2689         (vc-default-comment-history): Likewise.
2690         (vc-directory-exclusion-list): Add .hg and .bzr.
2691         (vc-diff-internal): Pass a list instead of a file.
2693         * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
2695         * vc-bzr.el (vc-bzr-create-repo): New function.
2697 2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2699         * vc-hooks.el (vc-find-root): Walk up the tree to find an existing
2700         `file' from which to start the search.
2702 2007-07-19  Eric S. Raymond  <esr@snark.thyrsus.com>
2704         * vc-cvs.el (vc-cvs-checkin, vc-cvs-diff): Finish transition from
2705         having a single file argument to having a list of files as the
2706         first argument.
2708 2007-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2710         * files.el (locate-dominating-file): New function.
2712 2007-07-18  Michael Albinus  <michael.albinus@gmx.de>
2714         * progmodes/grep.el (grep-host-defaults-alist): New defvar.
2715         (grep-compute-defaults): Use it.
2717 2007-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2719         * uniquify.el: Docstring fixes.
2721 2007-07-18  Eric S. Raymond  <esr@snark.thyrsus.com>
2723         * vc.el (revision-granularity, create-repo): Document new vc
2724         backend properties.
2725         (vc-rollback): Renamed from vc-cancel-version. Update
2726         references. Pass a list instead of a file.
2727         (vc-revert): Renamed from vc-revert-buffer. Update references.
2728         (vc-delistify, vc-expand-dirs): New functions.
2729         (vc-do-command): Rename FILE to FILE-OR-LIST and deal with a list
2730         of files instead of a single file.
2731         (vc-position-context, vc-resync-window, vc-diff-internal)
2732         (vc-print-log): Pass a list instead of a file.
2734         * vc-hooks.el (vc-stay-local-p, vc-backend)
2735         (vc-backend-subdirectory-name): Work on a file list, not a single
2736         file.
2737         (vc-workfile-version): Update docstring.
2738         (vc-menu-map): Use vc-rollback instead of vc-cancel-version and
2739         vc-revert instead of vc-revert-buffer.
2740         (vc-prefix-map): Likewise. Bind vc-update.
2742         * vc-svn.el (vc-svn-revision-granularity, vc-svn-create-repo)
2743         (vc-svn-wash-log): New functions.
2744         (vc-svn-register, vc-svn-checkin, vc-svn-print-log)
2745         (vc-svn-command): Deal with a list of files, not a single file.
2747         * vc-rcs.el (vc-rcs-revision-granularity, vc-rcs-create-repo)
2748         (vc-rcs-wash-log): New functions.
2749         (vc-rcs-register, vc-rcs-checkin, vc-rcs-diff, vc-rcs-print-log):
2750         Deal with a list of files, not a single file.
2751         (vc-rcs-rollback): Likewise. Rename from vc-rcs-cancel-version.
2753         * vc-sccs.el (vc-sccs-revision-granularity, vc-sccs-wash-log): New
2754         functions.
2755         (vc-sccs-register, vc-sccs-checkin, vc-sccs-diff): Deal with a
2756         list of files, not a single file.
2758         * vc-mcvs.el (vc-mcvs-revision-granularity, vc-mcvs-create-repo):
2759         New functions.
2760         (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-print-log)
2761         (vc-mcvs-diff): Deal with a list of files, not a single file.
2763         * vc-hg.el (vc-hg-revision-granularity, vc-hg-create-repo): New
2764         functions.
2765         (vc-hg-print-log): Deal with a list of files, not a single file.
2766         (vc-hg-diff-tree): New function, replace defalias with the same
2767         name.
2768         (vc-hg-register, vc-hg-checkin, vc-hg-command): Rename FILE to
2769         FILES to denote that it is a file list, not a single file.
2771         * vc-cvs.el (vc-cvs-create-repo, vc-cvs-wash-log): New functions.
2772         (vc-cvs-register, vc-cvs-checkin): Deal with a list of files, not
2773         a single file.
2774         (vc-cvs-print-log, vc-cvs-command): Rename FILE to FILES to denote
2775         that it is a file list, not a single file.
2776         (vc-cvs-diff): Likewise. Simplify.
2778         * vc-arch.el (vc-arch-register, vc-arch-checkin, vc-arch-diff):
2779         Deal with a list of files, not a single file.
2781         * vc-bzr.el (vc-bzr-register, vc-bzr-command, vc-bzr-checkin)
2782         (vc-bzr-print-log): Update FILE parameter name to denote that it
2783         is a file list, not a single file.
2784         (vc-bzr-diff): Likewise. Use the car of files.
2786 2007-07-18  Juanma Barranquero  <lekktu@gmail.com>
2788         * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode)
2789         (follow-delete-other-windows-and-split, follow-recenter)
2790         (follow-windows-aligned-p, follow-point-visible-all-windows-p)
2791         (follow-redisplay, follow-estimate-first-window-start)
2792         (follow-xemacs-scrollbar-support, follow-intercept-process-output):
2793         Fix typos in docstrings.
2795 2007-07-18  Martin Rudalics  <rudalics@gmx.at>
2797         * add-log.el (change-log-mode): Use fill-nobreak-predicate to
2798         avoid that filling introduces lines with a single asterisk.
2800         * kmacro.el (kmacro-end-macro): When ignoring empty macro
2801         avoid incorrect kmacro-ring-empty-p messages.
2802         Reported by Michael Schierl <schierlm@gmx.de>.
2804 2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
2806         * vc.el: Add more info about the vc-registered function.
2808 2007-07-17  Michael Albinus  <michael.albinus@gmx.de>
2810         * files.el (file-remote-p): Introduce optional parameter
2811         IDENTIFICATION.
2813         * recentf.el (recentf-keep-default-predicate): Adapt call of
2814         `file-remote-p'.
2816         * progmodes/grep.el (grep-probe): Use `process-file'.
2817         (grep-compute-defaults): Handle variables host specific.
2819         * net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional
2820         parameter IDENTIFICATION.
2822         * net/tramp.el (tramp-handle-file-remote-p): Handle optional
2823         parameter IDENTIFICATION.
2824         (tramp-handle-set-file-times): New defun.  Replaces `tramp-touch'.
2825         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
2826         Add entry for `set-file-times'.
2827         (tramp-do-copy-or-rename-file-via-buffer)
2828         (tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
2829         (tramp-handle-unhandled-file-name-directory): Rewrite.
2830         (tramp-convert-file-attributes): Add error handling when inode is
2831         extraordinary big.
2832         (tramp-get-inode): Change parameter from FILE to VEC.
2833         (tramp-handle-start-file-process): Use (current-buffer) if BUFFER
2834         is nil.  This is according to the specification.  Goto (point-max)
2835         when ready.
2836         (tramp-handle-shell-command): Rewrite completely, using
2837         `process-file' and `start-file-process'.
2838         (tramp-methods, tramp-find-shell)
2839         (tramp-open-connection-setup-interactive-shell)
2840         (tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
2841         var.  Reported by Steve Youngs <steve@sxemacs.org>.
2843         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
2844         entry for `set-file-times'.  Rename `start-process' into
2845         `start-file-process'.  Remove `call-process' entry.
2846         (tramp-fish-handle-set-file-times): New defun.
2847         (tramp-fish-handle-executable-find): Use `process-file'.
2848         (tramp-fish-handle-process-file): New defun.  Replaces
2849         `tramp-fish-handle-call-process'.
2850         (tramp-fish-do-copy-or-rename-file-directly): Use
2851         `set-file-times'.
2852         (tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.
2854         * net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
2855         `tramp-get-inode' parameter.
2857 2007-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2859         * vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version)
2860         (vc-bzr-post-command-function): Remove.  Version 0.8 is already old
2861         nowadays, and by the time Emacs-23 comes out, nobody will even remember
2862         it has ever existed.
2864 2007-07-17  Dan Nicolaescu  <dann@ics.uci.edu>
2866         * vc.el: Undo previous change.
2868 2007-07-16  Eli Zaretskii  <eliz@gnu.org>
2870         * makefile.w32-in (clean): Don't delete *~.
2872 2007-07-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2874         * textmodes/tex-mode.el (tex-verbatim-environments):
2875         Add safe-local-variable property.
2876         (tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
2877         when starting font-lock rather than when loading tex-mode.el.
2879         * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
2880         whole $( rather than just the $.  Rename from sh-quoted-subshell.
2881         (sh-font-lock-syntactic-keywords): Adjust call accordingly.
2883 2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>
2885         * bookmark.el (bookmark-maybe-sort-alist): Don't modify
2886         bookmark-alist.  Instead, if not sorting, simply return it.
2887         (bookmark-bmenu-list): Call bookmark-maybe-sort-alist
2888         for its return value, not for its side effect.
2890         * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the
2891         case of alignment under a constant symbol, find and consider
2892         the sexp actually at indentation to be the "last sexp".
2894 2007-07-16  Drew Adams  <drew.adams@oracle.com>
2896         * mouse.el (mouse-yank-secondary): Better error message if no
2897         secondary selection.
2899 2007-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
2901         * vc-hooks.el (vc-handled-backends): Move BZR later in the list.
2903         * term/xterm.el (xterm-turn-on-modify-other-keys)
2904         (xterm-turn-off-modify-other-keys): New functions.
2905         (terminal-init-xterm): Enable the modifyOtherKeys feature if the
2906         terminal supports it.
2908 2007-07-16  Thien-Thi Nguyen  <ttn@gnuvola.org>
2910         * bookmark.el (bookmark-show-all-annotations):
2911         Make sure each inserted annotation ends with newline.
2913 2007-07-15  Richard Stallman  <rms@gnu.org>
2915         * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.
2917         * tutorial.el (tutorial--find-changed-keys):
2918         Handle C-x specially like ESC.
2920 2007-07-15  Aaron Hawley  <aaronh@garden.org>
2922         * tar-mode.el (tar-get-descriptor): No error for zero-length file.
2924 2007-07-15  Juri Linkov  <juri@jurta.org>
2926         * delsel.el (delete-selection-pre-hook):
2927         * emulation/cua-base.el (cua-paste): Before a yank command,
2928         check also whether last-command is one of mouse-save-then-kill,
2929         mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region.
2931 2007-07-15  Michael Albinus  <michael.albinus@gmx.de>
2933         * recentf.el (recentf-keep-default-predicate): New defun.
2934         (recentf-keep): Use it as initial value.
2936 2007-07-15  Karl Fogel  <kfogel@red-bean.com>
2938         * bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com,
2939         thus restoring bookmark bindings to three slots under C-x r.  See
2940         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.
2942 2007-07-15  Jeff Miller  <jmiller@cablespeed.com>  (tiny change)
2944         * calendar/calendar.el (calendar-goto-bahai-date): Autoload it.
2946 2007-07-15  Jason Rumney  <jasonr@gnu.org>
2948         * w32-fns.el (set-default-process-coding-system): Use dos line ends
2949         for input to cmdproxy on all versions of Windows.
2950         Use dos line ends for input to plink.
2952         * comint.el (comint-simple-send): Concat newline before sending.
2953         (comint-password-prompt-regexp): Recognize plink's passphrase prompt.
2955 2007-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2957         * emacs-lisp/autoload.el (generated-autoload-file): Autoload the
2958         safe-local-variable setting.
2960 2007-07-14  David Kastrup  <dak@gnu.org>
2962         * emacs-lisp/advice.el (defadvice): Doc fix.
2964 2007-07-14  Juanma Barranquero  <lekktu@gmail.com>
2966         * subr.el (when, unless): Doc fix.
2968 2007-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
2970         * replace.el (match): Use yellow1 instead of yellow.
2972         * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of red.
2974         * pcvs-info.el (cvs-unknown): Likewise.
2976 2007-07-13  Eli Zaretskii  <eliz@gnu.org>
2978         * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets.
2979         (install): Use them to copy all *.el files before *.elc.
2981 2007-07-13  Drew Adams  <drew.adams@oracle.com>
2983         * bookmark.el (bookmark-jump-other-window): New function.
2984         (bookmark-map): Bind it to "o".
2986         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html
2987         and its thread contains discussion about this change.
2988         The original patch was slightly tweaked by Karl Fogel
2989         <kfogel@red-bean.com> before committing.
2991 2007-07-13  Karl Fogel  <kfogel@red-bean.com>
2993         * bookmark.el: Shorten some comments to fit within 80 lines.
2995 2007-07-13  Karl Fogel  <kfogel@red-bean.com>
2997         * bookmark.el: Don't define bookmark keys under the "C-xr" map;
2998         instead, make "C-xp" a prefix for bookmark-map.  Patch by Drew
2999         Adams <drew.adams@oracle.com>, mildly tweaked by me.  See
3000         http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.
3002 2007-07-13  Carsten Dominik  <dominik@science.uva.nl>
3004         * textmodes/org.el: Bug fixes.
3005         (org-end-of-line): Move to end of line if in headline without tags.
3007 2007-07-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3009         * vc-hooks.el: Remove spurious * in docstrings.
3010         (vc-handled-backends): Add BZR.
3012         * vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.
3014 2007-07-12  Davis Herring  <herring@lanl.gov>
3016         * desktop.el (desktop-buffer-info, desktop-save):
3017         Use `desktop-dirname' instead of `dirname'.
3019 2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>
3021         * progmodes/which-func.el (which-func-modes): Add `python-mode'.
3023         * progmodes/python.el (python-which-func-length-limit): New var.
3024         (python-which-func): New function.
3025         (python-current-defun): Add optional `length-limit' and try to fit
3026         computed function name to that length.
3027         (python-mode): Hook `python-which-func' up.
3029 2007-07-12  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)
3031         * pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case.
3033         * comint.el (comint-dynamic-complete-as-filename):
3034         Use read-file-name-completion-ignore-case.
3036 2007-07-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3038         * comint.el (comint-dynamic-list-filename-completions):
3039         Use read-file-name-completion-ignore-case.
3041         * vc-cvs.el: Require CL.
3042         (vc-cvs-revision-table, vc-cvs-revision-completion-table):
3043         New functions to provide completion of revision names.
3045         * vc-cvs.el (vc-functions): Clear up the cache when reloading the file.
3046         (vc-cvs-annotate-first-line-re): New const.
3047         (vc-cvs-annotate-process-filter): New fun.
3048         (vc-cvs-annotate-command): Use them and run the command asynchronously.
3050 2007-07-12  Paul Pogonyshev  <pogonyshev@gmx.net>
3052         * emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation.
3053         (eldoc-print-current-symbol-info): Adjust for changed helper
3054         function signatures.
3055         (eldoc-get-fnsym-args-string): Add `args' argument.  Use new
3056         `eldoc-highlight-function-argument'.
3057         (eldoc-highlight-function-argument): New function.
3058         (eldoc-get-var-docstring): Format documentation with
3059         `font-lock-variable-name-face'.
3060         (eldoc-docstring-format-sym-doc): Add `face' argument and apply it
3061         where suited.
3062         (eldoc-fnsym-in-current-sexp): Return a list with argument index.
3063         (eldoc-beginning-of-sexp): Return number of skipped sexps.
3065 2007-07-11  Michael Albinus  <michael.albinus@gmx.de>
3067         * progmodes/compile.el (compilation-start): `start-process' must
3068         still be redefined when calling `start-process-shell-command'.
3070         * progmodes/gud.el (gud-file-name): When `default-directory' is a
3071         remote file name, prepend its remote part to the filename.
3072         (gud-common-init): When `default-directory' is a remote file name,
3073         make the filename relative to it.
3074         Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
3076 2007-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
3078         * vc-hooks.el (vc-default-mode-line-string): Add a mouse face,
3079         mouse binding and a tooltip.
3081 2007-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3083         * menu-bar.el (vc-menu-map): New defalias.
3085 2007-07-10  Richard Stallman  <rms@gnu.org>
3087         * emacs-lisp/lisp-mode.el (eval-defun):
3088         Explain special handling of `defface'.
3090 2007-07-10  Jim Meyering  <jim@meyering.net>  (tiny change)
3092         * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.
3094         * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.
3096 2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3098         * emacs-lisp/cl.el: Load cl-loaddefs.el quietly.
3100         * vc-arch.el (vc-arch-complete): Remove.
3101         (vc-arch-revision-completion-table): Use complete-with-action.
3103         * subr.el (condition-case-no-debug, with-demoted-errors): New macros.
3104         (complete-with-action): New function.
3105         (dynamic-completion-table): Use it.
3107 2007-07-10  Michael Albinus  <michael.albinus@gmx.de>
3109         * comint.el (make-comint, make-comint-in-buffer)
3110         (comint-exec-1): Replace `start-process' by `start-file-process'.
3112         * progmodes/compile.el (compilation-start): Revert redefining
3113         `start-process'.
3115 2007-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3117         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
3118         with EOLs when generating MD5 checksums.
3120         * follow.el: Don't change the global map from the follow-mode-map
3121         defvar, but from the toplevel.  Use easy-menu to unify the Emacs and
3122         XEmacs code.
3123         (turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
3124         since `follow-mode' should be used instead for that.
3126         * emacs-lisp/easymenu.el (easy-menu-binding): New function.
3127         (easy-menu-do-define): Use it.
3128         (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
3130         * progmodes/compile.el (compilation-auto-jump-to-first-error)
3131         (compilation-auto-jump-to-next): New vars.
3132         (compilation-auto-jump): New function.
3133         (compilation-error-properties): Use them to jump to first error.
3134         (compilation-start): Set the var if requested.
3136         * emacs-lisp/autoload.el (update-directory-autoloads): Remove
3137         duplicates without also removing entries from other directories.
3139 2007-07-10  Carsten Dominik  <dominik@science.uva.nl>
3141         * textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
3142         Remember span as default.
3143         (org-columns-edit-value): Rename from `org-column-edit'.
3144         (org-columns-display-here-title): Rename from
3145         `org-overlay-columns-title'.
3146         (org-columns-remove-overlays): Rename from org-remove-column-overlays.
3147         (org-columns-get-autowidth-alist): Rename from
3148         `org-get-columns-autowidth-alist'.
3149         (org-columns-display-here): Rename from `org-overlay-columns'.
3150         (org-columns-new-overlay): Rename from `org-new-column-overlay'.
3151         (org-columns-quit): Rename from `org-column-quit'.
3152         (org-columns-show-value): Rename from `org-column-show-value'.
3153         (org-columns-content, org-columns-widen)
3154         (org-columns-next-allowed-value)
3155         (org-columns-edit-allowed, org-columns-store-format)
3156         (org-columns-uncompile-format, org-columns-redo)
3157         (org-columns-edit-attributes, org-delete-property)
3158         (org-set-property, org-columns-update)
3159         (org-columns-compute, org-columns-eval)
3160         (org-columns-not-in-agenda, org-columns-compute-all)
3161         (org-property-next-allowed-value)
3162         (org-columns-compile-format)
3163         (org-fill-paragraph-experimental)
3164         (org-string-to-number, org-property-action)
3165         (org-columns-move-left, org-columns-new)
3166         (org-column-number-to-string)
3167         (org-property-previous-allowed-value)
3168         (org-at-property-p, org-columns-delete)
3169         (org-columns-previous-allowed-value)
3170         (org-columns-move-right, org-columns-narrow)
3171         (org-property-get-allowed-values)
3172         (org-verify-version, org-column-string-to-number)
3173         (org-delete-property-globally): New functions.
3174         (org-columns-current-fmt): Rename from `org-current-columns-fmt'.
3175         (org-columns-overlays): Rename from `org-column-overlays'.
3176         (org-columns-map): Rename from `org-column-map'.
3177         (org-columns-current-maxwidths): Rename from
3178         `org-current-columns-maxwidths'.
3179         (org-columns-begin-marker, org-columns-current-fmt-compiled)
3180         (org-previous-header-line-format)
3181         (org-columns-inhibit-recalculation)
3182         (org-columns-top-level-marker): New variables.
3183         (org-columns-default-format): Rename from `org-default-columns-format'.
3184         (org-property-re): New constant.
3186 2007-07-10  Guanpeng Xu  <herberteuler@hotmail.com>
3188         * subr.el (looking-at-p, string-match-p): New functions.
3190 2007-07-09  Reiner Steib  <Reiner.Steib@gmx.de>
3192         * textmodes/tex-mode.el (tex-fontify-script)
3193         (tex-font-script-display): New variables to make display of
3194         superscripts and subscripts customizable.
3195         (tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
3197 2007-07-09  Richard Stallman  <rms@gnu.org>
3199         * isearch.el (isearch-edit-string): Call to isearch-push-state
3200         after the search.
3202 2007-07-09  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
3204         * window.el (fit-window-to-buffer): Remove setting of window-min-height
3205         to 1 as enlarge-window uses the value to resize/shrink windows other
3206         than WINDOW if needed.
3208 2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>
3210         * cus-start.el (file-coding-system-alist): Fix custom type.
3212 2007-07-08  Chong Yidong  <cyd@stupidchicken.com>
3214         * longlines.el (longlines-wrap-region): Avoid marking buffer as
3215         modified.
3216         (longlines-auto-wrap, longlines-window-change-function):
3217         Remove unnecessary calls to set-buffer-modified-p.
3219 2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>
3221         * cus-start.el (file-coding-system-alist): Fix custom type.
3223 2007-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3225         * vc-cvs.el (vc-cvs-revert): Use vc-default-revert.
3226         (vc-cvs-checkout): Remove last arg now unused; simplify.
3228 2007-07-08  Michael Albinus  <michael.albinus@gmx.de>
3230         * files.el (file-remote-p): Introduce optional parameter CONNECTED.
3232         * net/tramp.el:
3233         * net/tramp-ftp.el:
3234         * net/tramp-smb.el:
3235         * net/tramp-uu.el:
3236         * net/trampver.el: Migrate to Tramp 2.1.
3238         * net/tramp-cache.el:
3239         * net/tramp-fish.el:
3240         * net/tramp-gw.el: New Tramp packages.
3242         * net/tramp-util.el:
3243         * net/tramp-vc.el: Removed.
3245         * net/ange-ftp.el: Add ange-ftp property to 'start-file-process.
3246         (ange-ftp-file-remote-p): Handle optional parameter CONNECTED.
3248         * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.
3250         * progmodes/compile.el (compilation-start): Redefine
3251         `start-process' temporarily when `default-directory' is remote.
3252         Remove case of synchronous compilation, this won't happen ever.
3253         (compilation-setup): Make local variable `comint-file-name-prefix'
3254         for remote compilation.
3256 2007-07-08  Martin Rudalics  <rudalics@gmx.at>
3258         * novice.el (disabled-command-function): Fit window to buffer to
3259         make last line visible.
3260         Reported by Stephen Berman <Stephen.Berman at gmx.net>.
3262         * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
3263         when handling the terminating event.
3265 2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>
3267         * calc/calc.el (math-read-number-simple): Remove leading 0s.
3268         (math-bignum-digit-length): Change to optimal value.
3270         * calc/calc-bin.el (math-bignum-logb-digit-size)
3271         (math-bignum-digit-power-of-two): Evaluate when compiled.
3273         * calc/calc-comb.el (math-small-factorial-table)
3274         (math-init-random-base, math-prime-test): Remove unnecessary calls
3275         to `math-read-number-simple'.
3277         * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
3278         (math-approx-gamma-const): Add docstrings.
3280         * calc/calc-forms.el (math-julian-date-beginning)
3281         (math-julian-date-beginning-int): New constants.
3282         (math-format-date-part, math-parse-standard-date, calcFunc-julian):
3283         Use the new constants.
3285         * calc/calc-funcs.el (math-gammap1-raw): Add docstring.
3287         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
3288         Add docstrings.
3290 2007-07-07  Tom Tromey  <tromey@redhat.com>
3292         * vc.el (vc-annotate): Jump to line and output message only after the
3293         process is really all done.
3295 2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3297         * vc.el (vc-exec-after): Don't move point from the sentinel.
3298         Forcefully read all the remaining text in the pipe upon process exit.
3299         (vc-annotate-display-autoscale, vc-annotate-lines):
3300         Don't stop at the first unrecognized line.
3301         (vc-annotate-display-select): Run autoscale after the process is done
3302         since it depends on the whole result.
3304 2007-07-07  Eli Zaretskii  <eliz@gnu.org>
3306         * term/w32-win.el (menu-bar-open): New function.
3307         Bind <f10> to it.
3309 2007-07-07  Michael Albinus  <michael.albinus@gmx.de>
3311         * simple.el (start-file-process): New defun.
3313 2007-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3315         * files.el (find-file-confirm-nonexistent-file): Rename from
3316         find-file-confirm-inexistent-file.  Update users.
3318         * emacs-lisp/autoload.el (autoload-find-destination): Understand a new
3319         format of autoload block where the file's time-stamp is replaced by its
3320         MD5 checksum.
3321         (autoload-generate-file-autoloads): Use MD5 checksum instead of
3322         time-stamp for secondary autoloads files.
3323         (update-directory-autoloads): Remove duplicate entries.
3324         Use time-less-p for time-stamps, as done in autoload-find-destination.
3326 2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>
3328         * calc/calc.el (math-read-number): Replace number by variable.
3329         (math-read-number-simple): Properly parse small integers.
3331 2007-07-07  Dan Nicolaescu  <dann@ics.uci.edu>
3333         * vc.el: Fix doc for the checkout function.
3335 2007-07-06  Dan Nicolaescu  <dann@ics.uci.edu>
3337         * vc-hg.el (vc-hg-root): New function.
3338         (vc-hg-registered): Use it.
3339         (vc-hg-diff-tree): New defalias.
3340         (vc-hg-responsible-p): Likewise.
3341         (vc-hg-checkout): Comment out, not needed.
3342         (vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
3343         (vc-hg-find-version, vc-hg-next-version): New functions.
3345 2007-07-06  Andreas Schwab  <schwab@suse.de>
3347         * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any
3348         dynamic bindings around the evaluation of the expression.
3349         Reported by Jay Belanger <jay.p.belanger@gmail.com>.
3351 2007-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3353         * autorevert.el (auto-revert-tail-handler): Use inhibit-read-only.
3354         Run before-revert-hook.  Suggested by Denis Bueno <denbuen@sandia.gov>.
3355         Use run-hooks rather than run-mode-hooks.
3357 2007-07-05  Jay Belanger  <jay.p.belanger@gmail.com>
3359         * calc/calc-comb.el (math-random-digit): Rename to
3360         `math-random-three-digit-number'.
3361         (math-random-digits): Don't depend on representation of integer.
3363         * calc/calc-bin.el (math-bignum-logb-digit-size)
3364         (math-bignum-digit-power-of-two): New constants.
3365         (math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
3366         (math-not-bignum, math-clip-bignum): Use the constants
3367         `math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size'
3368         instead of their values.
3369         (math-clip): Use math-small-integer-size instead of its value.
3371         * calc/calc.el (math-add-bignum): Replace number by constant.
3373 2007-07-05  Chong Yidong  <cyd@stupidchicken.com>
3375         * wid-edit.el (widget-documentation-string-value-create):
3376         Insert indentation spaces.
3378 2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>
3380         * emacs-lisp/byte-opt.el: Revert last change.
3382 2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
3384         * vc-hooks.el (vc-handled-backends): Add HG.
3386         * vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.
3388 2007-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3390         * complete.el (PC-do-complete-and-exit): Add support for the new
3391         `confirm-only' confirmation mode.
3393 2007-07-05  Chong Yidong  <cyd@stupidchicken.com>
3395         * cus-edit.el (custom-commands): New variable.
3396         (custom-tool-bar-map): New variable.  Initialize using
3397         `custom-commands'.
3398         (custom-mode): Use `custom-tool-bar-map'.
3399         (custom-buffer-create-internal): Insert action buttons only if
3400         tool bar is not used.  Use `custom-commands'.
3401         (Custom-help, custom-command-apply): New function.
3402         (custom-command-apply, Custom-set, Custom-save)
3403         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
3404         Use `custom-command-apply' instead of duplicating code.
3405         (customize-group-other-window): Call `customize-group' instead of
3406         duplicating code.
3407         (customize-face-other-window): Call `customize-face' instead of
3408         duplicating code.
3409         (customize-group, customize-face): Add optional args for opening
3410         in another window.
3411         (custom-variable-tag): Don't inherit `variable-pitch' face.
3412         (custom-group-tag): Inherit `variable-pitch' face.
3413         (custom-variable-value-create): Set documentation indentation.
3414         (custom-group-value-create): Make group name a link, instead of
3415         using an extra "go to group" button.
3416         (custom-prompt-variable, custom-group-set, custom-group-save)
3417         (custom-group-reset-current, custom-group-reset-saved)
3418         (custom-group-reset-standard): Minor cleanup.
3420 2007-07-05  Thien-Thi Nguyen  <ttn@gnuvola.org>
3422         * Makefile.in (bootstrap-prepare): When copying from
3423         ldefs-boot.el, make sure loaddefs.el is writeable.
3425         (bootstrap-prepare): Make $(lisp)/ps-print.el
3426         and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.
3428 2007-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
3430         * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
3431         only caller, and delete.
3432         (vc-hg-state): Deal with exceptions and only parse the output on
3433         successful return.
3434         (vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
3435         caller, and delete.
3436         (vc-hg-workfile-version): Deal with exceptions and only parse the
3437         output on successful return.
3438         (vc-hg-revert): New function.
3440 2007-07-04  Jay Belanger  <jay.p.belanger@gmail.com>
3442         * calculator.el (calculator-expt): Use more cases to determine
3443         the value.
3445 2007-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
3447         * progmodes/gud.el (auto-mode-alist): Match more valid gdb init
3448         file names.
3450 2007-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
3452         * calculator.el (calculator-expt, calculator-integer-p):
3453         New functions.
3454         (calculator-fact): Check to see if the factorial will be too
3455         large before computing it.
3456         (calculator-initial-operators): Use `calculator-expt' to
3457         compute "^".
3458         (calculator-mode): Mention that results which are too large
3459         will return inf.
3460         * calc/calc-comb.el (math-small-factorial-table): Replace list
3461         by vector.
3463 2007-07-03  David Kastrup  <dak@gnu.org>
3465         * shell.el: On request of the authors, remove their addresses for
3466         the sake of bug reports, and add the developer list address as
3467         maintainer information.
3469 2007-07-03  Richard Stallman  <rms@gnu.org>
3471         * files.el (make-directory): Doc fix.
3472         (find-file-confirm-inexistent-file): Make it a defcustom.
3473         Make nil the default.
3475 2007-07-02  Richard Stallman  <rms@gnu.org>
3477         * startup.el (command-line): Set buffer-offer-save in *scratch*
3478         and enable auto-save in it.
3480 2007-07-02  Carsten Dominik  <dominik@science.uva.nl>
3482         * textmodes/org.el (orgstruct-mode-map): New variable.
3483         (orgstruct-mode): New minor mode.
3484         (turn-on-orgstruct, orgstruct-error, orgstruct-setup)
3485         (orgstruct-make-binding, org-context-p, org-get-local-variables)
3486         (org-run-like-in-org-mode): New functions.
3487         (org-cycle-list-bullet): New command.
3488         (org-special-properties, org-property-start-re)
3489         (org-property-end-re): New constants.
3490         (org-with-point-at): New macro.
3491         (org-get-property-block, org-entry-properties, org-entry-get)
3492         (org-entry-delete, org-entry-get-with-inheritance)
3493         (org-entry-put, org-buffer-property-keys): New functions.
3494         (org-insert-property-drawer): New command.
3495         (org-entry-property-inherited-from): New variable.
3496         (org-column): New face.
3497         (org-column-overlays, org-current-columns-fmt)
3498         (org-current-columns-maxwidths, org-column-map): New variables.
3499         (org-column-menu): New menu.
3500         (org-new-column-overlay, org-overlay-columns)
3501         (org-overlay-columns-title, org-remove-column-overlays)
3502         (org-column-show-value, org-column-quit, org-column-edit): New
3503         functions.
3504         (org-columns, org-agenda-columns): New commands.
3505         (org-get-columns-autowidth-alist): New functions.
3506         (org-properties): New customize group.
3507         (org-default-columns-format): New option.
3508         (org-priority): Realign tags after changing priority.
3509         (org-preserve-lc): New macro.
3510         (org-update-checkbox-count): Catch case when there is no headline.
3511         (org-agenda-quit): Remove any column overlays.
3512         (org-beginning-of-item-list): Fixed bug when non-item line is
3513         indented too deep.
3514         (org-cached-props): New variable.
3515         (org-cached-entry-get): New function.
3516         (org-make-tags-matcher): Handle property matches.
3517         (org-table-recalculate): Swap evaluation order: Field formula
3518         first, then column formulas, but don't allow them to overwrite the
3519         field formulas.
3520         (org-table-eval-formula): New argument untouchable.
3521         (org-table-put-field-property): New function.
3523 2007-07-02  Martin Rudalics  <rudalics@gmx.at>
3525         * help-mode.el (help-make-xrefs): Skip spaces too when
3526         skipping tabs.
3528         * ffap.el (dired-at-point-prompter): Improve prompt in
3529         list-directory case.
3531 2007-07-01  Richard Stallman  <rms@gnu.org>
3533         * files.el (find-file-visit-truename): Fix safe-local-variable value.
3535 2007-07-01  Richard Stallman  <rms@gnu.org>
3537         * cus-start.el (max-mini-window-height): Added.
3539 2007-07-01  Sean O'Rourke  <sorourke@cs.ucsd.edu>  (tiny change)
3541         * complete.el (partial-completion-mode): Remove advice of
3542         read-file-name-internal.
3543         (PC-do-completion): Rebind minibuffer-completion-table.
3544         (PC-read-file-name-internal): New function doing what
3545         read-file-name-internal advice did.
3547 2007-07-01  Paul Pogonyshev  <pogonyshev@gmx.net>
3549         * emacs-lisp/byte-opt.el: Set `binding-is-magic'
3550         property on a few symbols.
3551         (byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
3552         (byte-optimize-lapcode): Remove bindings that are not referenced
3553         and certainly will not effect through dynamic scoping.
3555 2007-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3557         * files.el (find-file-confirm-inexistent-file): New var.
3558         (find-file, find-file-other-window, find-file-other-frame)
3559         (find-file-read-only, find-file-read-only-other-window)
3560         (find-file-read-only-other-frame): Use it.
3562 2007-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3564         * emacs-lisp/rx.el (rx-constituents): Fix up `anything'.
3566 2007-06-29  Juanma Barranquero  <lekktu@gmail.com>
3568         * generic-x.el (generic-define-mswindows-modes)
3569         (generic-define-unix-modes, apache-log-generic-mode)
3570         (bat-generic-mode-keymap, java-manifest-generic-mode)
3571         (show-tabs-generic-mode): Fix typos in docstrings.
3573 2007-06-29  Ryan Yeske  <rcyeske@gmail.com>
3575         * net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections.
3576         (rcirc-default-full-name): Rename from rcirc-default-user-full-name.
3577         (rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified.
3578         (rcirc-print): Never ignore messages from ourself.
3580 2007-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3582         * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\)
3583         syntax as well.  Reported by Juri Linkov <juri@jurta.org>.
3585 2007-06-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
3587         * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to
3588         replace-regexp-in-string.
3590 2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3592         * emacs-lisp/cl.el: Set edebug and indentation before loading
3593         cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
3595 2007-06-28  Andreas Schwab  <schwab@suse.de>
3597         * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on
3598         $(lisp)/subdirs.el.
3600 2007-06-28  Juanma Barranquero  <lekktu@gmail.com>
3602         * speedbar.el (speedbar-handle-delete-frame): Don't try to delete
3603         the speedbar frame if nil; that deletes the current frame or
3604         causes an error if it is the only frame.
3605         Reported by Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>.
3607 2007-06-28  Kevin Ryde  <user42@zip.com.au>
3609         * textmodes/nroff-mode.el: Groff \# comments.
3610         (nroff-mode-syntax-table): \# comment intro,
3611         plain # as punct per global table.
3612         (nroff-font-lock-keywords): Add # as a single char escape.
3613         (nroff-mode): In comment-start-skip, match \#.
3615 2007-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3617         * vc-bzr.el (vc-functions): Clear up the cache when reloading the file.
3618         (vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode
3619         point-min == 1.
3621 2007-06-28  Nick Roberts  <nickrob@snap.net.nz>
3623         * pcvs-util.el (cvs-strings->string, cvs-string->strings):
3624         Rename and move to...
3626         * subr.el (strings->string, string->strings): ...here.
3628         * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout)
3629         (cvs-mode-checkout, cvs-execute-single-file): Use new function names.
3631         * progmodes/gud.el (gud-common-init): Call string->strings instead
3632         of split-string.
3634 2007-06-27  Michael Albinus  <michael.albinus@gmx.de>
3636         * dired-aux.el: Remove `dired-call-process'.
3637         (dired-check-process): Call `process-file'.
3639         * wdired.el (wdired-do-perm-changes): Call `process-file'.
3641         * net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
3642         `ange-ftp-process-file'.
3644 2007-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3646         * emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads.
3648         * emacs-lisp/cl-extra.el:
3649         * emacs-lisp/cl-seq.el:
3650         * emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el.
3651         Add autoload cookies on all defs autoloaded manually in cl.el.
3653         * emacs-lisp/cl-loaddefs.el: New file.
3655         * textmodes/texinfmt.el (texinfo-raisesections-alist)
3656         (texinfo-lowersections-alist): Merge definition and declaration.
3657         (texinfo-start-of-header, texinfo-end-of-header): Remove.
3658         (texinfo-format-syntax-table): Merge init into declaration.
3659         (texinfo-format-parse-line-args, texinfo-format-parse-args)
3660         (texinfo-format-parse-defun-args, texinfo-format-node)
3661         (texinfo-push-stack, texinfo-multitable-widths)
3662         (texinfo-define-info-enclosure, texinfo-alias)
3663         (texinfo-format-defindex, batch-texinfo-format): Use push.
3664         (texinfo-footnote-number): Remove duplicate declaration.
3666         * ps-print.el: Update with auto-generated autoloads.
3668         * ps-mule.el: Set generated-autoload-file to "ps-print.el".
3670 2007-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3672         * emacs-lisp/autoload.el (autoload-generated-file): Interpret names
3673         relative to current dir for file-local settings.
3674         (autoload-generate-file-autoloads): Add `outfile' arg.
3675         (update-directory-autoloads): Use it to directly call
3676         autoload-generate-file-autoloads instead of going through
3677         update-file-autoloads so we avoid redundant searches and so we can know
3678         the set of buffers changed so we can save them all.
3680         * emacs-lisp/autoload.el (autoload-find-destination): Return nil
3681         rather than throwing `up-to-date'.
3682         (autoload-generate-file-autoloads): Adjust correspondingly.
3683         (update-file-autoloads): Be careful to let-bind
3684         autoload-modified-buffers and adjust to new calling conventions.
3685         (autoload-modified-buffers): Make it a dynamically scoped var.
3686         (update-directory-autoloads): Use file-relative-name instead of
3687         autoload-trim-file-name.
3688         (autoload-insert-section-header): Don't use autoload-trim-file-name
3689         since the file is already relative now.
3690         (autoload-trim-file-name): Remove.
3692         * vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job.
3693         (vc-arch-complete, vc-arch--version-completion-table)
3694         (vc-arch-revision-completion-table): New functions to provide
3695         completion of revision names.
3696         (vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel)
3697         (vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions
3698         to let the user trim the revlib.
3700         * vc.el: Add new VC operation `revision-completion-table'.
3701         (vc-default-revision-completion-table): New function.
3702         (vc-version-diff, vc-version-other-window): Use it to provide
3703         completion of revision names if the backend provides it.
3705         * log-edit.el (log-edit-changelog-entries): Use with-current-buffer.
3707         * vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
3708         of newer .svn/entries.
3710 2007-06-25  David Kastrup  <dak@gnu.org>
3712         * calc/calc-poly.el (math-padded-polynomial)
3713         (math-partial-fractions): Add some function comments.
3715 2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3717         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3718         Make `outbuf' optional.
3719         (update-file-autoloads): Use it.
3721 2007-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3723         * emacs-lisp/autoload.el (autoload-modified-buffers): New var.
3724         (autoload-find-destination): Keep it uptodate.
3725         (autoload-save-buffers): New fun.
3726         (update-file-autoloads): Use it.  Re-add the "up to date" message.
3728         * emacs-lisp/autoload.el: Refactor for upcoming changes.
3729         (autoload-find-destination): New function extracted from
3730         update-file-autoloads.
3731         (update-file-autoloads): Use it.
3732         (autoload-generate-file-autoloads): New function extracted from
3733         generate-file-autoloads.  Use file-relative-name.  Delay computation of
3734         output-start to the first cookie.  Remove done-any, replaced by
3735         output-start.
3736         (generate-file-autoloads): Use it.
3738 2007-06-24  Jay Belanger  <jay.p.belanger@gmail.com>
3740         * calc/calc-comb.el (math-init-random-base, math-prime-test):
3741         Use math-read-number-simple to insert constants.
3742         (math-prime-test): Redo calculation of sum.
3744         * calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size.
3746         * calc/calc-math.el (math-scale-bignum-digit-size): Rename from
3747         math-scale-bignum-3.
3748         (math-isqrt-bignum): Use math-scale-bignum-digit-size and
3749         math-bignum-digit-size.
3750         (math-isqrt-small): Add another possible initial guess.
3752 2007-06-23  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
3754         * textmodes/bibtex.el (bibtex-entry-format): New options
3755         `whitespace', `braces', and `string'.
3756         (bibtex-field-braces-alist, bibtex-field-strings-alist)
3757         (bibtex-field-braces-opt, bibtex-field-strings-opt)
3758         (bibtex-cite-matcher-alist): New variables.
3759         (bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist.
3760         (bibtex-flash-head): Use blink-matching-delay.
3761         (bibtex-insert-kill, bibtex-mark-entry): Use push-mark.
3762         (bibtex-format-entry, bibtex-reformat): Handle new options of
3763         bibtex-entry-format.
3764         (bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
3765         New functions.
3766         (bibtex-complete-internal): Do not display messages while
3767         minibuffer is used.  Do not leave around a completions buffer
3768         that is out of date.
3769         (bibtex-copy-summary-as-kill): New optional arg.
3770         (bibtex-font-lock-url): New optional arg no-button.
3771         (bibtex-find-crossref): Use `bibtex-cite-matcher-alist'.
3772         (bibtex-url): Allow multiple URLs per entry.
3774 2007-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3776         * emacs-lisp/autoload.el (autoload-generated-file): New function.
3777         (update-file-autoloads, update-directory-autoloads): Use it.
3778         (autoload-file-load-name): New function.
3779         (generate-file-autoloads, update-file-autoloads): Use it.
3780         (autoload-find-file): Accept non-absolute argument.  Set default-dir.
3781         (generate-file-autoloads): If the autoloaded form is malformed,
3782         indicate the problem with a warning instead of aborting.
3784 2007-06-23  Thien-Thi Nguyen  <ttn@gnuvola.org>
3786         * simple.el (next-error-recenter): Accept `(4)' as well;
3787         also, specify `integer' instead of `number'.
3789 2007-06-23  Eli Zaretskii  <eliz@gnu.org>
3791         * ls-lisp.el (insert-directory): If an invalid regexp error is
3792         thrown, try using FILE as a literal file name, not a wildcard.
3794 2007-06-23  Juanma Barranquero  <lekktu@gmail.com>
3796         * ruler-mode.el (ruler-mode): Prevent clobbering the original
3797         `header-line-format' when reentering ruler mode.
3799 2007-06-23  Eli Zaretskii  <eliz@gnu.org>
3801         * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if
3802         FILE exists as a file.
3804 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
3806         * calc/calc.el (math-bignum-digit-length)
3807         (math-bignum-digit-size, math-small-integer-size):
3808         New constants.
3809         (math-normalize, math-bignum-big, math-make-float)
3810         (math-div10-bignum, math-scale-left, math-scale-left-bignum)
3811         (math-scale-right, math-scale-right-bignum, math-scale-rounding)
3812         (math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
3813         (math-mul-bignum, math-mul-bignum-digit, math-idivmod)
3814         (math-quotient, math-div-bignum, math-div-bignum-digit)
3815         (math-div-bignum-part, math-format-bignum-decimal)
3816         (math-read-bignum): Use math-bignum-digit-length,
3817         math-bignum-digit-size and math-small-integer-size.
3819         * calc/calc-ext.el (math-fixnum-big): Use the variable
3820         math-bignum-digit-size.
3822 2007-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
3824         * log-view.el (log-view-mode-menu): New menu.
3826 2007-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3828         * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change
3829         differently.
3831         * vc-hg.el (vc-hg-registered): Add an autoloaded version.
3832         (vc-hg-log-view-mode): Use log-view-font-lock-keywords.
3834 2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3836         * vc-hg.el (vc-hg-print-log): Insert the file name.
3837         (vc-hg-log-view-mode): Fontify the file name.
3839 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
3841         * calc/calc-forms.el (math-format-date-part, calc-parse-standard-date)
3842         (calcFunc-julian): Fix incorrect number used in calculations.
3844 2007-06-22  Thien-Thi Nguyen  <ttn@gnuvola.org>
3846         * simple.el (next-error-recenter): New defcustom.
3847         (next-error, next-error-internal): Recenter if specified,
3848         immediately prior to running `next-error-hook'.
3850         * progmodes/hideshow.el (hs-show-block): Use line-end-position.
3851         (hs-hide-block-at-point, hs-hide-comment-region): Likewise.
3853         * progmodes/hideshow.el (hs-hide-all): Use progress reporter.
3855 2007-06-22  Jay Belanger  <jay.p.belanger@gmail.com>
3857         * calc/calc-comb.el (math-small-factorial-table): New variable.
3858         (calcFunc-fact): Use `math-small-factorial-table'.
3860         * calc/calc-ext.el (math-defcache): Allow forms to evaluate
3861         initial values.
3862         (math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
3863         New variables to use in caches.
3865         * calc/calc-forms.el (math-format-date-part, math-parse-standard-date)
3866         (calcFunc-julian): Use `math-read-number-simple' to insert bignums.
3868         * calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
3869         (math-bernoulli-b-cache): Use math-read-number-simple to insert
3870         bignums.
3872         * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
3873         New variables to use in caches.
3875 2007-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3877         * vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp.
3879         * vc-hg.el (vc-hg-log-view-mode): New mode.
3881 2007-06-21  Jay Belanger  <jay.p.belanger@gmail.com>
3883         * calc/calc.el (math-read-number-simple): New function.
3885 2007-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3887         * vera-mode.el (vera-mode): Fix `commend-end-skip' setting.
3888         (vera-font-lock-match-item): Fix doc string.
3889         (vera-in-comment-p): Remove unused function.
3890         (vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
3891         use `syntax-ppss'.
3892         (vera-forward-syntactic-ws): Fix argument order.
3893         (vera-prepare-search): Use `with-syntax-table'.
3894         (vera-indent-line): Fix doc string.
3895         (vera-electric-tab): Fix doc string.
3896         (vera-expand-abbrev): Define alias instead of using `fset'.
3897         (vera-comment-uncomment-region): Use `comment-start-skip'.
3899 2007-06-21  Carsten Dominik  <dominik@science.uva.nl>
3901         * textmodes/org.el (org-export-with-footnotes): New option.
3902         (org-export-as-html): Fix replacement bug for XEmacs.
3903         (org-agenda-default-appointment-duration): New option.
3905 2007-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3907         * vc-hg.el: Add to do items.
3908         (vc-hg-diff): Add support for comparing different revisions.
3909         (vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
3910         (vc-hg-annotate-extract-revision-at-line)
3911         (vc-hg-previous-version, vc-hg-checkin): New functions.
3912         (vc-hg-annotate-re): New constant.
3914 2007-06-20  Jay Belanger  <jay.p.belanger@gmail.com>
3916         * calc/calc.el (math-standard-ops): Fix precedence of multiplication.
3918 2007-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3920         * log-view.el (log-view-font-lock-keywords): Use `eval' to consult the
3921         buffer-local value of log-view-*-re if applicable.
3923         * vc-bzr.el (vc-bzr-dir-state): Use setq rather than set.
3924         Use vc-bzr-command rather than the ill defined vc-bzr-command*.
3925         (vc-bzr-command*): Remove both (incompatible) versions.
3926         (vc-bzr-do-command*): Remove.
3927         (vc-bzr-with-process-environment, vc-bzr-std-process-invocation):
3928         Remove by folding into its only caller vc-bzr-command.
3929         (vc-bzr-command): Always set the environment, even when ineffective.
3930         (vc-bzr-version): Minor fix up.
3931         (vc-bzr-admin-dirname): New var.
3932         (vc-bzr-bzr-dir): Remove.
3933         (vc-bzr-root-dir): New fun.
3934         (vc-bzr-registered): Use it.  Add an autoloaded version.
3935         (vc-bzr-responsible-p): Use vc-bzr-root-dir as well.
3936         (vc-bzr-view-log-function): Remove.
3937         (vc-bzr-log-view-mode): New major mode to replace it.
3938         (vc-bzr-print-log): Only activate the old hack if needed.
3940         * vc.el (vc-default-log-view-mode): New function.
3941         (vc-print-log): Add new `log-view-mode' VC operation.
3943 2007-06-20  Juanma Barranquero  <lekktu@gmail.com>
3945         * ido.el (ido-find-file-in-dir): Don't signal an error for
3946         empty directories.
3948         * add-log.el (change-log-mode): Set `show-trailing-whitespace'.
3950         * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
3951         directory where the desktop file was found, as the docstring says.
3952         (desktop-kill): Use `read-directory-name'.
3954 2007-06-20  Alan Mackenzie  <acm@muc.de>
3956         * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
3957         When removing lines, also remove the \n.  Correction of patch of
3958         2007-04-21.
3960 2007-06-20  Martin Rudalics  <rudalics@gmx.at>
3962         * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when
3963         event is not a cons cell.  Do not unread drag-mouse-1 events.
3964         Select right window in check whether space was stolen from
3965         window above.
3967         * help-mode.el (help-make-xrefs): Adjust position of new forward
3968         button.
3970 2007-06-20  Riccardo Murri  <riccardo.murri@gmail.com>
3972         * vc-bzr.el (vc-bzr-with-process-environment)
3973         (vc-bzr-std-process-invocation): New macros.
3974         (vc-bzr-command, vc-bzr-command*): Use them.
3975         (vc-bzr-with-c-locale): Remove.
3976         (vc-bzr-dir-state): Replace its use with vc-bzr-command.
3977         (vc-bzr-buffer-nonblank-p): New function.
3978         (vc-bzr-state-words): New const.
3979         (vc-bzr-state): Look for `bzr status` keywords in output.
3980         Display everything else as a warning message to the user.
3981         Fix status report with bzr >= 0.15.
3983 2007-06-20  Dan Nicolaescu  <dann@ics.uci.edu>
3985         * vc-hg.el (vc-hg-global-switches): Simplify.
3986         (vc-hg-state): Handle more states.
3987         (vc-hg-diff): Fix doc-string.
3988         (vc-hg-register): New function.
3989         (vc-hg-checkout): Likewise.
3991 2007-06-20  Reto Zimmermann  <reto@gnu.org>
3993         * progmodes/vera-mode.el: New file.
3995 2007-06-19  Jay Belanger  <jay.p.belanger@gmail.com>
3997         * calc/calc.el (calc-multiplication-has-precendence):
3998         New variable.
3999         (math-standard-ops, math-standard-ops-p, math-expr-ops):
4000         New functions.
4001         (math-expr-opers): Define using math-standard-ops rather than
4002         math-standard-opers.
4003         * calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers
4004         equal the function math-standard-ops rather than the variable
4005         math-standard-opers.
4006         (calc-algebraic-entry): Let math-expr-opers equal
4007         math-standard-ops or math-expr-ops, as appropriate.
4008         (math-expr-read-level, math-read-factor): Let math-expr-opers
4009         equal math-expr-ops.
4010         * calc/calc-embed.el (calc-embedded-finish-edit):
4011         Let math-expr-opers equal the function math-standard-ops
4012         rather than the variable math-standard-opers.
4013         * calc/calc-ext.el (math-read-plain-expr)
4014         (math-format-flat-expr-fancy): Let math-expr-opers equal the
4015         function math-standard-ops rather than the variable
4016         math-standard-opers.
4017         * calc/calc-lang.el (calc-set-language, math-read-big-rec):
4018         Let math-expr-opers equal the function math-standard-ops rather
4019         than the variable math-standard-opers.
4020         * calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers
4021         equal the function math-standard-ops rather than the variable
4022         math-standard-opers.
4023         * calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers
4024         equal the function math-standard-ops rather than the variable
4025         math-standard-opers.
4026         * calc/calccomp.el (math-compose-expr): Let math-expr-opers equal
4027         math-expr-ops.
4029 2007-06-19  Ivan Kanis  <apple@kanis.eu>
4031         * vc-hg.el: New file.
4033 2007-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4035         * progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text
4036         with font-lock-multiline.
4038 2007-06-17  Glenn Morris  <rgm@gnu.org>
4040         * lpr.el (lpr-page-header-switches): Move %s to separate element
4041         for correct quoting.  Doc fix.
4043 2007-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4045         * textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather
4046         than setting sgml-xml-mode.
4047         (sgml-mode, html-mode): Set sgml-xml-mode.
4048         (sgml-skip-tag-backward): Tell if we skipped over matched tags.
4049         (sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
4050         (sgml-electric-tag-pair-before-change-function)
4051         (sgml-electric-tag-pair-flush-overlays): New functions.
4052         (sgml-electric-tag-pair-mode): New minor mode.
4053         (sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
4054         (sgml-calculate-indent): Use assoc-string.
4056 2007-06-16  Karl Fogel  <kfogel@red-bean.com>
4058         * thingatpt.el (thing-at-point-email-regexp): Don't require two
4059         chars before the "@" in an email address.  Andreas Roehler noticed
4060         this problem.
4062 2007-06-15  Karl Fogel  <kfogel@red-bean.com>
4064         * thingatpt.el: Add support for email addresses (`email').
4065         (thing-at-point, bounds-of-thing-at-point): Document `email' support.
4066         (thing-at-point-email-regexp): New variable.
4067         (`email'): Put `bounds-of-thing-at-point' and `thing-at-point'
4068         properties on this symbol, with lambda forms for values.
4070 2007-06-15  Masatake YAMATO  <jet@gyve.org>
4072         * vc-bzr.el (vc-bzr-root): Cache the output of shell command execution.
4074         * vc.el (vc-dired-hook): Check the backend returned from
4075         `vc-responsible-backend' can really handle `subdir'.
4077 2007-06-15  Chong Yidong  <cyd@stupidchicken.com>
4079         * wid-edit.el (widget-add-documentation-string-button):
4080         Fix handling of documentation indent.
4082 2007-06-15  Miles Bader  <miles@fencepost.gnu.org>
4084         * mb-depth.el: New file.
4086 2007-06-15  Masatake YAMATO  <jet@gyve.org>
4088         * vc.el (vc-dired-mode): Show backend name as part of mode name.
4090 2007-06-14  Chong Yidong  <cyd@stupidchicken.com>
4092         * wid-edit.el (widget-default-create): Move ?h handling here...
4093         (widget-default-format-handler): ...from here.
4094         (widget-docstring, widget-add-documentation-string-button): New funs.
4095         (documentation-string): Add :visibility-widget property.
4096         (widget-documentation-string-value-create): Use it.
4098         * cus-edit.el (custom-split-regexp-maybe): Simplify.
4099         (custom-buffer-create-internal): Simplify message.
4100         (custom-variable-tag): Reduce height to normal.
4101         (custom-variable-value-create, custom-face-value-create)
4102         (custom-visibility): New widget.
4103         (custom-visibility): New face.
4104         (custom-group-value-create):
4105         Call widget-add-documentation-string-button, using `custom-visibility'.
4107 2007-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4109         * emacs-lisp/bytecomp.el (byte-compile-current-group)
4110         (byte-compile-nogroup-warn, byte-compile-file): Revert part of last
4111         change.  Apparently the "warning even if the group is implicit" is
4112         a feature rather than a bug.
4114 2007-06-14  Michael Kifer  <kifer@cs.stonybrook.edu>
4116         * viper.el (viper-describe-key-ad, viper-describe-key-briefly-ad):
4117         Different advices for Emacs and XEmacs.  Compile them conditionally.
4118         (viper-version): Belated version change.
4120 2007-06-14  Juanma Barranquero  <lekktu@gmail.com>
4122         * follow.el (follow-all-followers, follow-generic-filter):
4123         * pcomplete.el (pcomplete-restore-windows):
4124         * x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state)
4125         (x-dnd-drop-data):
4126         * emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display):
4127         * progmodes/python.el (python-complete-symbol):
4128         * term/mac-win.el (mac-dnd-drop-data): Remove redundant check.
4130 2007-06-13  Ryan Yeske  <rcyeske@gmail.com>
4132         * rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax
4133         around bright and dim regexps.  Make sure bright and dim matches
4134         use word anchors.  Send text through rcirc-markup functions.
4135         (rcirc-url-regexp): Add single quote character.
4136         (rcirc-connect): Write logs to disk on auto-save-hook.
4137         Make server a non-optional argument.
4138         (rcirc-log-alist): New variable.
4139         (rcirc-log-directory): Make customizable.
4140         (rcirc-log-flag): New customizable variable.
4141         (rcirc-log): New function.
4142         (rcirc-print): Use above function.
4143         (rcirc-log-write): New function.
4144         (rcirc-generate-new-buffer-name): Strip text properties.
4145         (rcirc-switch-to-buffer-function): Remove variable.
4146         (rcirc-last-non-irc-buffer): Remove variable.
4147         (rcirc-non-irc-buffer): Add function.
4148         (rcirc-next-active-buffer): Use above function.
4149         (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING.
4150         (rcirc-handler-ctcp-KEEPALIVE): Add handler.
4151         (rcirc-handler-CTCP): Don't print KEEPALIVE responses.
4152         (rcirc-omit-mode): Add minor-mode.
4153         (rcirc-mode-map): Change C-c C-o binding.
4154         (rcirc-mode): Clear mode-line-process.  Use a custom
4155         fill-paragraph-function.  Set up buffer-invisibility-spec.
4156         (rcirc-response-formats): Remove timestamp code.
4157         (rcirc-omit-responses): Add variable.
4158         (rcirc-print): Don't put the overlay arrow on potentially omitted
4159         lines.  Log line to disk.  Record activity for private messages
4160         from /dim nicks.  Facify the fill-prefix with rcirc-timestamp face.
4161         (rcirc-jump-to-first-unread-line): Print message if there is no
4162         unread text.
4163         (rcirc-clear-unread): New function.
4164         (rcirc-markup-text-functions): Add variable.
4165         (rcirc-markup-timestamp, rcirc-markup-fill): Add functions.
4166         (rcirc-debug): Don't mess with window configuration.
4167         (rcirc-send-message): Send message before printing locally.
4168         Add SILENT argument, do not print message if non-nil.
4169         (rcirc-visible-buffers): New function and variable.
4170         (rcirc-window-configuration-change-1): Add function.
4171         (rcirc-target-buffer): Make sure ACTIONs don't get sent to the
4172         server buffer.
4173         (rcirc-clean-up-buffer): Set rcirc-target to nil when finished.
4174         (rcirc-fill-paragraph): Add function.
4175         (rcirc-record-activity, rcirc-window-configuration-change-1):
4176         Only update the activity string if it has actually changed.
4177         (rcirc-update-activity-string): Remove padding characters from the
4178         mode-line string.
4179         (rcirc-disconnect-buffer): New function to be called when a
4180         channel is parted or the user quits.
4181         (rcirc-server-name): Warn when the server-name hasn't been set.
4182         (rcirc-window-configuration-change): Postpone work until
4183         post-command-hook.
4184         (rcirc-window-configuration-change-1): Update mode-line and
4185         overlay arrows here.
4186         (rcirc-authenticate): Fixc hanserv identification.
4187         (rcirc-default-server): Remove variable.
4188         (rcirc): Connect according to rcirc-connections.
4189         (rcirc-connections): Add variable.
4190         (rcirc-startup-channels-alist): Remove variable.
4191         (rcirc-startup-channels): Remove function.
4193 2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4195         * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change.
4197 2007-06-13  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>  (tiny change)
4199         * term/xterm.el (terminal-init-xterm): Escape parens in character
4200         constants.
4202 2007-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4204         * progmodes/sh-script.el: Remove unneeded * from docstrings.
4205         Use [:alpha:] and [:alnum:] where applicable.
4206         (sh-quoted-subshell): Rewrite to correctly
4207         handle nested mixes of `...` and $(...).
4208         (sh-apply-quoted-subshell): Remove.
4209         (sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell.
4211         * vc-arch.el (vc-arch-command): Remove bzr.  It's a different program.
4213 2007-06-13  Michael Kifer  <kifer@cs.stonybrook.edu>
4215         * ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo
4216         previous change.
4218 2007-06-12  Tom Tromey  <tromey@redhat.com>
4220         * subr.el (user-emacs-directory): New defconst.
4221         * cmuscheme.el (scheme-start-file):
4222         * shell.el (shell):
4223         * completion.el (save-completions-file-name):
4224         * custom.el (custom-theme-directory):
4225         * term/x-win.el (emacs-session-filename):
4226         * filesets.el (filesets-menu-cache-file):
4227         * thumbs.el (thumbs-thumbsdir):
4228         * server.el (server-auth-dir):
4229         * image-dired.el (image-dired-dir):
4230         (image-dired-db-file):
4231         (image-dired-temp-image-file):
4232         (image-dired-gallery-dir):
4233         (image-dired-temp-rotate-image-file):
4234         * play/gamegrid.el (gamegrid-user-score-file-directory):
4235         * savehist.el (savehist-file):
4236         * tutorial.el (tutorial--saved-dir):
4237         * startup.el (auto-save-list-file-prefix): Use user-emacs-directory.
4239 2007-06-12  Ralf Angeli  <angeli@caeruleus.net>
4241         * scroll-lock.el (scroll-lock-mode): Doc fix.
4243 2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
4245         * ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis.
4247         * ediff-init.el: Doc strings.
4249 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4251         * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
4252         (byte-compile-file): Bind it.
4253         (byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
4254         group argument is provided implicitly.
4255         (byte-compile-format-warn, byte-compile-from-buffer)
4256         (byte-compile-insert-header): Don't hardcode point-min==1.
4257         (byte-compile-file-form-require): Remove unused var old-load-list.
4258         (byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.
4260 2007-06-12  Michael Kifer  <kifer@cs.stonybrook.edu>
4262         * emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value):
4263         Display error messages.
4264         (viper-prev-destructive-command, viper-insert-prev-from-insertion-ring):
4265         Get rid of cl.el dependencies.
4267         * emulation/viper-init.el (viper-suppress-input-method-change-message):
4268         New variable.
4269         (viper-activate-input-method-action)
4270         (viper-inactivate-input-method-action):
4271         Use viper-suppress-input-method-change-message.
4273         * emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings
4274         for C-s, C-r.
4276         * emulation/viper-util.el (viper-set-cursor-color-according-to-state):
4277         Use viper-replace-overlay-cursor-color instead of
4278         viper-replace-overlay-cursor-color.
4279         (viper-sit-for-short): Use sit-for with 3 arguments.
4281         * emulation/viper.el (viper-insert-state-mode-list): Add gud-mode.
4282         (viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map
4283         to gud-mode.
4285         * ediff-mult.el (ediff-meta-buffer-brief-message)
4286         (ediff-meta-buffer-verbose-message): New variables.
4287         (ediff-meta-buffer-message): Variable deleted.
4288         (ediff-verbose-help-enabled): New variable.
4289         (ediff-toggle-verbose-help-meta-buffer): New function.
4290         (ediff-redraw-directory-group-buffer): Made aware of short/verbose
4291         message options.
4293         * ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp.
4294         (ediff-fixup-patch-map): Improve heuristic.
4296 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4298         * log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\).
4299         (log-view-font-lock-keywords): Simplify.
4300         (log-view-current-file, log-view-current-tag): Simplify.
4302 2007-06-12  Sam Steingold  <sds@gnu.org>
4304         * vc-arch.el (vc-arch-command): Also try "baz" and "bzr".
4306 2007-06-12  Juanma Barranquero  <lekktu@gmail.com>
4308         * desktop.el (desktop-load-locked-desktop): New option.
4309         (desktop-read): Use it.
4310         (desktop-truncate, desktop-outvar, desktop-restore-file-buffer):
4311         Use `when'.
4313 2007-06-12  Davis Herring  <herring@lanl.gov>
4315         * desktop.el (desktop-save-mode-off): New function.
4316         (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
4317         (desktop-full-lock-name, desktop-file-modtime, desktop-owner)
4318         (desktop-claim-lock, desktop-release-lock): New functions.
4319         (desktop-kill): Tell `desktop-save' that this is the last save.
4320         Release the lock afterwards.
4321         (desktop-buffer-info): New function.
4322         (desktop-save): Use it.  Run `desktop-save-hook' where the doc
4323         says to.  Detect conflicts, and manage the lock.
4324         (desktop-read): Detect conflicts.  Manage the lock.
4326 2007-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4328         * emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names.
4330         * emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map.
4331         (tpu-lucid-emacs-p): Remove.  Use (featurep 'xemacs) instead.
4332         (CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars.
4333         (tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using
4334         keysyms rather than byte sequences.
4335         (tpu-copy-keyfile): Don't force the user to use tpu-mapper.el.
4337 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4339         * font-lock.el (font-lock-add-keywords): In case font-lock was only
4340         half-activated, forcefully activate it completely.
4342 2007-06-11  Richard Stallman  <rms@gnu.org>
4344         * cus-edit.el (custom-variable-type): Doc fix.
4346 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4348         * progmodes/sh-script.el (sh-font-lock-backslash-quote)
4349         (sh-font-lock-flush-syntax-ppss-cache): New functions.
4350         (sh-font-lock-syntactic-keywords): Use them to distinguish the
4351         different possible cases for \'.
4353         * complete.el (PC-bindings): Don't bind things already bound in the
4354         parent keymap.
4356         * textmodes/bibtex-style.el: New file.
4358 2007-06-11  Riccardo Murri  <riccardo.murri@gmail.com>
4360         * vc-bzr.el: New file.
4362 2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4364         * vc-svn.el (vc-svn-program): New var.
4365         (vc-svn-command): Use it.
4367 2007-06-11  Juanma Barranquero  <lekktu@gmail.com>
4369         * server.el (server-switch-buffer): Remove redundant check.
4371 2007-06-10  Martin Rudalics  <rudalics@gmx.at>
4373         * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
4374         Match against file-name-nondirectory.
4375         Fix text on user customization variables.
4376         Reported by Johan Bockg\e,Ae\e(Brd <bojohan@dd.chalmers.se>.
4378 2007-06-09  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
4380         * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
4382 2007-06-09  Davis Herring  <herring@lanl.gov>
4384         * desktop.el (desktop-minor-mode-table): Doc fix.
4386 2007-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4388         * textmodes/css-mode.el (css-navigation-syntax-table):
4389         Use set-char-table-range so it also works in the unicode branch.
4391 2007-06-08  Nick Roberts  <nickrob@snap.net.nz>
4393         * help-mode.el (help-xref-forward-stack)
4394         (help-xref-stack-forward-item, help-forward-label): New variables.
4395         (help-forward): New button type.
4396         (help-setup-xref): Initialise help-xref-forward-stack.
4397         (help-make-xrefs): Add forward button, if appropriate.
4398         (help-xref-go-back): Push item on forward stack.
4399         (help-xref-go-forward, help-go-forward): New functions.
4401 2007-06-07  Chong Yidong  <cyd@stupidchicken.com>
4403         * dired.el (dired-mode-map): Remove spurious separator.
4405 2007-06-07  Juanma Barranquero  <lekktu@gmail.com>
4407         * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix.
4409         * progmodes/mixal-mode.el (mixal-operation-codes-alist):
4410         * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring.
4412 2007-06-07  Carsten Dominik  <dominik@science.uva.nl>
4414         * textmodes/org.el: Version number fixed.
4416 2007-06-07  Glenn Morris  <rgm@gnu.org>
4418         * version.el (emacs-copyright): New constant.
4419         * startup.el (fancy-splash-tail): Use emacs-copyright.
4420         * calc/calc-help.el (calc-full-help): Use emacs-copyright.
4422         * emacs-lisp/bytecomp.el (byte-compile-warnings): Add new option
4423         `make-local'.
4424         (byte-compile-warnings-safe-p): Add `make-local'.
4425         (byte-compile-make-variable-buffer-local):
4426         Allow byte-compile-warnings to suppress this warning.
4428         * tutorial.el (tutorial--describe-nonstandard-key): Adjust for new
4429         format of "menu" description.
4430         (tutorial--find-changed-keys): Describe the specific menu a
4431         command is in.
4433         * dframe.el (dframe-frame-parameter, dframe-mouse-event-p):
4434         Rewrite compatibility functions to silence byte-compiler.
4436 2007-06-07  Alfred M. Szmidt  <ams@gnu.org>  (tiny change)
4438         * mail/rmailsum.el (rmail-summary-save-buffer): New command.
4439         (rmail-summary-mode-map): Add rmail-summary-save-buffer.
4441 2007-06-07  Eric M. Ludlam  <eric@siege-engine.com>
4443         * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove "iff".
4445 2007-06-07  Juanma Barranquero  <lekktu@gmail.com>
4447         * progmodes/ebrowse.el (ebrowse-member-table):
4448         * textmodes/org.el (org-export-ascii-bullets, org-batch-agenda)
4449         (org-batch-agenda-csv): Fix typos in docstrings.
4451 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
4453         * international/mule-cmds.el (toggle-enable-multibyte-characters)
4454         (sort-coding-systems, search-unencodable-char): Doc fixes.
4455         (coding-system-change-eol-conversion, set-default-coding-systems)
4456         (prefer-coding-system, find-multibyte-characters, princ-list)
4457         (leim-list-entry-regexp, set-input-method, locale-language-names)
4458         (input-method-exit-on-first-char, exit-language-environment-hook)
4459         (locale-charset-language-names): Fix typos in docstrings.
4461 2007-06-06  Juanma Barranquero  <lekktu@gmail.com>
4463         * pgg.el (pgg-sign-region, pgg-sign):
4464         * ses.el (ses-call-printer):
4465         * calendar/icalendar.el (icalendar--diarytime-to-isotime):
4466         * textmodes/org.el (org-cycle): Fix typos in docstrings.
4468 2007-06-06  Carsten Dominik  <dominik@science.uva.nl>
4470         * textmodes/org.el
4471         (org-export-region-as-html, org-replace-region-by-html)
4472         (org-number-to-letters, org-table-fedit-finish)
4473         (org-normalize-color, org-table-fedit-ref-right)
4474         (org-date-to-gregorian, org-table-fedit-move)
4475         (org-table-convert-refs-to-rc, org-calendar-holiday)
4476         (org-table-fedit-toggle-ref-type, org-write-agenda)
4477         (org-colgroup-info-to-vline-list, org-agenda-todo-previousset)
4478         (org-defkey, org-encode-for-stdout)
4479         (org-indent-line-function, org-export-as-html-to-buffer)
4480         (org-store-agenda-views, org-update-mode-line)
4481         (org-find-if, org-delete-all)
4482         (org-table-fedit-convert-buffer, org-emphasize)
4483         (org-uniquify, org-table-fedit-lisp-indent)
4484         (org-table-fedit-scroll, org-get-todo-sequence-head)
4485         (org-table-fedit-scroll-down, org-table-fedit-line-down)
4486         (org-table-fedit-ref-left, org-agenda-export-csv-mapper)
4487         (org-table-fedit-toggle-coordinates, org-dvipng-color)
4488         (org-table-fedit-line-up, org-table-fedit-ref-down)
4489         (org-table-formula-from-user, org-mode-flyspell-verify)
4490         (org-cycle-show-empty-lines, org-ctrl-c-ret)
4491         (org-table-formula-to-user, org-diary-to-ical-string)
4492         (orgtbl-export, org-table-fedit-post-command)
4493         (org-closed-in-range, org-shiftcontrolright)
4494         (org-table-convert-refs-to-an, org-table-hline-and-move)
4495         (org-table-formula-less-p, org-format-table-ascii)
4496         (org-agenda-get-sexps, org-shift-refpart)
4497         (org-diary-sexp-entry, org-time-string-to-absolute)
4498         (org-table-show-reference, org-letters-to-number)
4499         (org-fix-agenda-info, org-table-fedit-ref-up)
4500         (org-table-fedit-shift-reference, org-table-fedit-abort)
4501         (org-closest-date, org-shiftcontrolleft)
4502         (org-at-heading-or-item-p, org-rematch-and-replace)
4503         (org-agenda-todo-nextset, org-export-grab-title-from-buffer):
4504         New functions.
4505         (org-table-edit-scroll-down, org-finish-edit-formulas)
4506         (org-table-edit-next-field, org-abort-edit-formulas)
4507         (org-font-lock-level, org-export-find-first-heading-line)
4508         (org-table-edit-line-down, org-table-edit-backward-field)
4509         (org-edit-formula-lisp-indent, org-table-edit-move)
4510         (org-check-log-option, org-this-word)
4511         (org-table-edit-line-up, org-table-edit-formulas-post-command)
4512         (org-agenda-file-to-end, org-expand-file-name)
4513         (org-fake-empty-table-line, org-table-edit-scroll)
4514         (org-toggle-log-option, org-show-reference): Function removed.
4515         (org-inhibit-invisibility, org-table-formula-make-cmp-string):
4516         New defsubsts.
4517         (org-unmodified, org-batch-store-agenda-views)
4518         (org-batch-agenda-csv): New macro.
4519         (org-agenda-export): New customization group.
4520         (org-agenda-skip-deadline-if-done, org-agenda-remove-tags)
4521         (org-highest-priority, org-agenda-exporter-settings)
4522         (org-log-done-with-time, org-replace-disputed-keys)
4523         (org-format-latex-header, org-export-table-header-tags)
4524         (org-cycle-separator-lines, org-export-table-data-tags)
4525         (org-icalendar-include-sexps)
4526         (org-empty-line-terminates-plain-lists)
4527         (org-log-repeat, org-special-ctrl-a)
4528         (org-table-use-standard-references, org-disputed-keys)
4529         (org-export-skip-text-before-1st-heading, org-agenda-with-colors)
4530         (org-agenda-export-html-style): New option.
4531         (org-allow-auto-repeat, org-agenda-remove-tags-when-in-prefix)
4532         (org-CUA-compatible): Option removed.
4533         (org-agenda-structure, org-sexp-date): New face.
4534         (org-todo-keywords-for-agenda, org-not-done-keywords)
4535         (org-planning-or-clock-line-re, org-agenda-name)
4536         (org-table-colgroup-info, org-todo-sets)
4537         (constants-unit-system, org-clock-mode-line-entry)
4538         (org-mode-line-timer, org-table-current-begin-pos)
4539         (org-todo-keywords-1, org-mode-line-string)
4540         (org-table-clean-did-remove-column, org-table-fedit-map)
4541         (org-clock-heading, org-table-buffer-is-an)
4542         (org-agenda-info, org-done-keywords)
4543         (org-done-keywords-for-agenda, org-todo-heads)
4544         (org-todo-kwd-alist, org-clock-start-time): New variable.
4545         (org-todo-kwd-priority-p, org-edit-formulas-map)
4546         (org-repeat-re, org-todo-kwd-max-priority)
4547         (org-version, org-done-string)
4548         (org-table-clean-did-remove-column-1, org-disputed-keys):
4549         Remove variables.
4550         (org-table-translate-regexp, org-repeat-re, org-version): New consts.
4551         (org-ts-lengths): Constant removed.
4552         (org-follow-gnus-link): Don't ask how many articles to read.
4553         (org-export-find-first-export-line): Rename from
4554         `org-export-find-first-heading'.
4555         Use `org-export-skip-text-before-1st-heading'.
4556         (org-table-fedit-post-command): Rename from
4557         `org-table-edit-formulas-post-command'.
4558         (org-table-fedit-finish): Rename from `org-finish-edit-formulas'.
4559         (org-table-fedit-abort): Rename from `org-abort-edit-formulas'.
4560         (org-table-fedit-lisp-indent): Rename from
4561         `org-edit-formula-lisp-indent'.
4562         (org-table-show-reference): Rename from `org-show-reference'.
4563         (org-table-store-formulas): Use `org-table-formula-less-p'.
4564         (org-table-edit-formulas): Position cursor to current field equation.
4565         (org-update-checkbox-count, org-hide-archived-subtrees)
4566         (org-timestamp-up-day, org-timestamp-down-day)
4567         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4568         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4569         (org-metadown, org-shiftup, org-shiftdown, org-shiftright)
4570         (org-shiftleft, org-ctrl-c-ctrl-c, org-context):
4571         Let `org-on-heading-p' also check for invisible heading.
4572         (org-read-date): Match am/pm times.
4573         (org-eval-in-calendar): Fix default date in prompt.
4575 2007-06-05  Chong Yidong  <cyd@stupidchicken.com>
4577         * files.el (auto-mode-alist): Separate "ChangeLog.1" and
4578         "ChangeLog.a" entries, giving the latter lower priority.
4580 2007-06-05  Juanma Barranquero  <lekktu@gmail.com>
4582         * faces.el (face-id): If the argument is a face alias,
4583         return the ID of the target face.
4585 2007-06-05  Michael Albinus  <michael.albinus@gmx.de>
4587         * net/socks.el (top): Remove unnecessary copyright line.
4589 2007-06-04  Chong Yidong  <cyd@stupidchicken.com>
4591         * longlines.el (longlines-auto-wrap): Handle argument correctly.
4593 2007-06-04  Michael Albinus  <michael.albinus@gmx.de>
4595         * net/socks.el: New file, taken from w3 repository.
4596         (top): Update Copyright.  Don't load cl.el.
4597         (all): Replace `case' by `cond', `string-to-int' by
4598         `string-to-number', and `process-kill-without-query' by
4599         `set-process-query-on-exit-flag'.
4600         (socks-char-int): Remove defalias and all occurrences.
4602 2007-06-04  Juanma Barranquero  <lekktu@gmail.com>
4604         * progmodes/compile.el (compilation-find-file, compilation-handle-exit):
4605         Fix typos in docstrings.
4606         (compilation-search-path, compilation-buffer-name-function): Doc fixes.
4607         (compilation-finish-function): Fix typo in obsolescence declaration.
4609 2007-06-03  Sam Steingold  <sds@gnu.org>
4611         * progmodes/compile.el: Add TIMESTAMP to the LOC data structure, to
4612         handle unending automatic recompilation of changed files (`omake -P').
4613         (compilation-loop): VISITED is now 5th CDR.
4614         (compilation-next-error-function): Set TIMESTAMP.
4616 2007-06-03  Sam Steingold  <sds@gnu.org>
4618         * files.el (kill-buffer-ask): New function.
4619         (kill-some-buffers): Use it.
4620         (kill-matching-buffers): New user command.
4622 2007-06-01  David Kastrup  <dak@gnu.org>
4624         * dired.el (dired-recursive-deletes, dired-recursive-copies):
4625         Change default to `top'.
4627 2007-05-31  Richard Stallman  <rms@gnu.org>
4629         * dired.el (dired-do-flagged-delete, dired-do-delete): Doc fix.
4631 2007-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4633         * textmodes/css-mode.el: New file.
4635 2007-05-30  Michael Olson  <mwolson@gnu.org>
4637         * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has
4638         died and we are trying to send a signal to it.  The program using
4639         tq.el should periodically check to see whether the process has
4640         died and react appropriately -- this is not the responsibility of
4641         tq.el, and is consistent with the rest of the tq.el source code.
4643 2007-05-29  Martin Rudalics  <rudalics@gmx.at>
4645         * textmodes/table.el (table--point-entered-cell-function)
4646         (table--point-left-cell-function):
4647         Bind `inhibit-point-motion-hooks' to t.
4649 2007-05-29  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
4651         * emacs-lisp/rx.el (rx): Doc fix.
4653 2007-05-28  Juanma Barranquero  <lekktu@gmail.com>
4655         * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring.
4657 2007-05-28  Michael Albinus  <michael.albinus@gmx.de>
4659         Sync with Tramp 2.0.56.
4661         * net/tramp.el:
4662         * net/tramp-ftp.el:
4663         * net/tramp-smb.el:
4664         * net/tramp-util.el:
4665         * net/tramp-vc.el:
4666         Don't load cl.el, because that pollutes the namespace.  Replace cl
4667         macros by their implementations where necessary.  Requested by
4668         Richard Stallman <rms@gnu.org>.
4670         * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it
4671         doesn't exist.
4672         (with-parsed-tramp-file-name): Protect debug spec during compilation.
4673         (tramp-handle-insert-directory): Check (featurep 'ls-lisp).
4674         (tramp-file-name-p, tramp-file-name-multi-method)
4675         (tramp-file-name-method, tramp-file-name-user)
4676         (tramp-file-name-host, tramp-file-name-localname): New defuns,
4677         replacing defstruct `tramp-file-name'.
4678         (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1)
4679         (tramp-dissect-file-name, tramp-dissect-multi-file-name):
4680         Apply `vector' instead of `make-tramp-file-name'.
4681         (tramp-handle-make-auto-save-file-name):
4682         Apply `tramp-temporary-file-directory' for compatibility reasons.
4683         (tramp-completion-mode): Use `natnump' instead of `wholenump'
4684         because of XEmacs.
4685         (tramp-completion-mode): `last-input-event' is nil when XEmacs is
4686         started.
4688 2007-05-28  Chong Yidong  <cyd@stupidchicken.com>
4690         * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
4692 2007-05-27  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
4694         * log-edit.el (log-edit-changelog-paragraph): Return point-max
4695         as the end of the ChangeLog paragraph when it ends without a line
4696         termination.
4698 2007-05-27  Ryan Yeske  <rcyeske@gmail.com>
4700         * net/webjump.el (webjump-sample-sites):
4701         Add simple Wikipedia query.
4703 2007-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4705         * emacs-lisp/derived.el (define-derived-mode): Remove bogus
4706         compatibility code.
4708         * emacs-lisp/copyright.el (copyright-names-regexp): New var.
4709         (copyright-update-year): Use it.
4711         * edmacro.el (edmacro-format-keys): Use current-active-maps.
4713         * ediff-init.el (ediff-defvar-local, ediff-with-current-buffer):
4714         Add indentation and debugging info.  Fix up comment convention.
4716         * cus-dep.el (custom-make-dependencies): Simplify.
4718         * composite.el (compose-region, decompose-region):
4719         Use inhibit-read-only and restore-buffer-modified-p.
4721         * xt-mouse.el (xterm-mouse-truncate-wrap): New function.
4722         (xterm-mouse-event): Use it.
4724 2007-05-25  Juanma Barranquero  <lekktu@gmail.com>
4726         * bs.el (bs-cycle-previous): Don't modify the cycle list until
4727         `switch-to-buffer' has returned succesfully.
4728         (bs-cycle-next): Ditto.  Also, don't bury the buffer when the
4729         window is dedicated (it could iconify the frame).
4731 2007-05-25  Miles Bader  <miles@fencepost.gnu.org>
4733         * vc-hooks.el (vc-find-root): Fix file attribute test.
4735 2007-05-24  Richard Stallman  <rms@gnu.org>
4737         * textmodes/flyspell.el (flyspell-correct-word-before-point):
4738         Don't let opoint be nil.
4739         (flyspell-emacs-popup): Explicit error if no dialogs.
4741 2007-05-24  Chong Yidong  <cyd@stupidchicken.com>
4743         * image-mode.el (image-forward-hscroll, image-backward-hscroll)
4744         (image-next-line, image-previous-line, image-scroll-up)
4745         (image-scroll-down, image-bol, image-eol, image-bob, image-eob):
4746         New functions.
4747         (image-mode-map): Remap motion commands.
4748         (image-mode-text-map): New keymap for viewing images as text.
4749         (image-mode): Use image-mode-map.
4750         (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps.
4752 2007-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4754         * textmodes/fill.el (canonically-space-region): Make the second arg
4755         a marker if it's not already the case.
4757 2007-05-23  Eli Zaretskii  <eliz@gnu.org>
4759         * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer)
4760         (tar-get-descriptor): Handle type 55, an extended pax header.
4762 2007-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4764         * autoinsert.el (auto-insert-alist): Quote elisp sample code so as not
4765         to confuse outline-minor-mode.
4767 2007-05-23  Eli Zaretskii  <eliz@gnu.org>
4769         * tar-mode.el (tar-file-name-handler): New function.
4770         (tar-extract): Bind file-name-handler-alist to it to force
4771         find-buffer-file-type-coding-system behave as if the file being
4772         extracted existed.  Use last-coding-system-used to force
4773         buffer-file-coding-system to what decode-coding-region actually
4774         used to decode the file.
4776 2007-05-23  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
4778         * progmodes/compile.el (compilation-handle-exit):
4779         `compilation-finish-function' may change the current buffer.
4781 2007-05-22  Richard Stallman  <rms@gnu.org>
4783         * files.el (set-auto-mode): Doc fix.
4785 2007-05-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
4787         * help-fns.el (find-source-lisp-file): New function.
4788         (describe-function-1): Use find-source-lisp-file to find source
4789         file in compile tree.
4791 2007-05-22  Eli Zaretskii  <eliz@gnu.org>
4793         * dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
4795 2007-05-22  Juanma Barranquero  <lekktu@gmail.com>
4797         * emacs-lisp/easy-mmode.el (define-minor-mode)
4798         (easy-mmode-define-navigation): Fix typos in docstrings.
4800 2007-05-22  Glenn Morris  <rgm@gnu.org>
4802         * files.el (auto-mode-alist): Open `.asd' files in lisp-mode.
4804 2007-05-22  Katsumi Yamaoka  <yamaoka@jpl.org>
4806         * mail/mail-extr.el (mail-extract-address-components):
4807         Recognize non-ASCII characters except for NBSP as words.
4809 2007-05-21  Trent Buck  <trentbuck@gmail.com>  (tiny change)
4811         * net/rcirc.el (rcirc-fill-column): Allow `window-width'.
4812         (rcirc-print): Handle `window-width'.
4813         (rcirc-buffer-maximum-lines): Doc fix.
4815 2007-05-21  Chong Yidong  <cyd@stupidchicken.com>
4817         * image-mode.el (image-toggle-display): Don't clear image cache.
4818         Only use filename in image spec if the file is readable.
4819         Call image-refresh.
4821         * image.el (image-type-from-file-name, image-type): Simplify.
4822         (image-type-auto-detected-p): Don't scan auto-mode-alist.
4824         * files.el (magic-mode-alist): Remove image-type-auto-detected-p.
4825         (magic-fallback-mode-alist): Add image-type-auto-detected-p.
4827 2007-05-20  Nick Roberts  <nickrob@snap.net.nz>
4829         * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there
4830         is an error.
4832         * term/linux.el (terminal-init-linux): Don't signal an error
4833         if gpm isn't running.
4835 2007-05-20  Nick Roberts  <nickrob@snap.net.nz>
4837         * t-mouse.el: Reduce to a minor-mode macro call.
4838         (t-mouse-mode): Remove the lighter.
4840         * term/linux.el (terminal-init-linux): Enable t-mouse by default.
4842 2007-05-19  Dan Nicolaescu  <dann@ics.uci.edu>
4844         * files.el (auto-mode-alist): Change the regexp so that
4845         ChangeLog.unicode and ChangeLog.multi-tty use change-log-mode.
4847 2007-06-02  Chong Yidong  <cyd@stupidchicken.com>
4849         * Version 22.1 released.
4851 2007-05-19  Chong Yidong  <cyd@stupidchicken.com>
4853         * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20
4854         changes.
4856 2007-05-19  Kevin Ryde  <user42@zip.com.au>
4858         * info.el (Info-fontify-node): Fontify https as well as http and ftp.
4860 2007-05-18  Thien-Thi Nguyen  <ttn@gnuvola.org>
4862         * textmodes/sgml-mode.el: Revert last change.
4864 2007-05-18  Richard Stallman  <rms@gnu.org>
4866         * simple.el (push-mark): Doc fix.
4868 2007-05-18  Rob Riepel  <riepel@Stanford.EDU>
4870         * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to
4871         tpu-global-map.
4872         (tpu-original-global-map): Variable deleted.
4873         (tpu-control-keys-map): New keymap variable.
4874         (tpu-set-control-keys): Use tpu-reset-control-keys rather than
4875         setting keymapping directly.
4876         (tpu-reset-control-keys): Use tpu-control-keys-map instead of
4877         tpu-global-map.
4878         (tpu-edt-on): Activate the tpu-global-map.
4879         (tpu-edt-off): Deactivate the tpu-global-map.
4881 2007-05-18  Ryan Yeske  <rcyeske@gmail.com>
4883         * textmodes/ispell.el (ispell-get-word): Return markers
4884         for start and end positions.
4885         (ispell-word): Assume END is a marker.
4887 2007-05-17  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4889         * printing.el: Group together all XEmacs/Emacs definitions.
4890         (pr-version): New version 6.9.
4891         (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs.
4892         (pr-menu-char-height, pr-menu-char-width): Fix initialization code.
4893         (pr-menu-bind): Fix code.
4894         (pr-e-frame-char-height, pr-e-frame-char-width)
4895         (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function)
4896         (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height)
4897         (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event)
4898         (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel)
4899         (pr-x-event-y-pixel): Aliases eliminated.
4900         (pr-xemacs-global-menubar): Macro moved.
4901         (current-menubar, current-mouse-event, zmacs-region-stays)
4902         (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old)
4903         (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu):
4904         Vars moved.
4905         (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock)
4906         (pr-update-mode-line, pr-do-update-menus, pr-menu-alist)
4907         (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title)
4908         (pr-menu-set-utility-title, pr-even-or-odd-pages)
4909         (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string)
4910         (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs
4911         moved.
4913 2007-05-17  Christian Plate  <cplate@web.de>  (tiny change)
4915         * textmodes/sgml-mode.el (sgml-tag):
4916         Fix bug: Call sgml-transformation-function.
4918 2007-05-17  Martin Rudalics  <rudalics@gmx.at>
4920         * hilit-chg.el (highlight-changes-rotate-faces): Don't set
4921         modified flag of buffer.  Use `inhibit-modification-hooks'.
4923 2007-05-16  Richard Stallman  <rms@gnu.org>
4925         * buff-menu.el (Buffer-menu-sort-column): Doc fix.
4927 2007-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4929         * files.el (magic-mode-alist, magic-fallback-mode-alist):
4930         Move the *ml, Postscript, and XmCD entries to the fallback part.
4932         * files.el (magic-fallback-mode-alist):
4933         Rename from file-start-mode-alist.
4935 2007-05-16  Nikolaj Schumacher  <n_schumacher@web.de>  (tiny change)
4937         * progmodes/compile.el (compilation-handle-exit): Quote first
4938         argument of `run-hook-with-args'.
4940 2007-05-16  Juanma Barranquero  <lekktu@gmail.com>
4942         * buff-menu.el (Buffer-menu-sort-column):
4943         * dabbrev.el (dabbrev-upcase-means-case-search):
4944         * dired.el (dired-recursive-deletes, dired-recursive-copies):
4945         * info.el (Info-current-subfile):
4946         * ls-lisp.el (ls-lisp-verbosity):
4947         * msb.el (msb-menu-cond):
4948         * pcvs.el (cvs-dired-use-hook):
4949         * simple.el (set-mark-command-repeat-pop):
4950         * time.el (display-time-24hr-format, display-time-mail-file):
4951         Doc fixes.
4953         * tutorial.el (get-lang-string, tutorial--find-changed-keys):
4954         * printing.el (pr-ps-fast-fire): Fix typos in docstrings.
4956         * view.el (view-inhibit-help-message): Fix typo in docstring.
4957         (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
4959 2007-05-16  Martin Rudalics  <rudalics@gmx.at>
4961         * textmodes/ispell.el (ispell-start-process): Defend against bad
4962         default-directory.
4964 2007-05-14  Eli Zaretskii  <eliz@gnu.org>
4966         * mail/rmail.el (rmail-convert-to-babyl-format): Check
4967         content-transfer-encoding _last_, because it's its position that
4968         we need as value of base64-header-field-end.
4970 2007-05-14  Juanma Barranquero  <lekktu@gmail.com>
4972         * files.el (mode-require-final-newline, require-final-newline)
4973         (enable-local-variables, enable-local-eval): Doc fixes.
4975 2007-05-13  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4977         * ps-print.el: Use default color when foreground or background color
4978         are unspecified.  Reported by Leo <sdl.web@gmail.com>.
4979         (ps-print-version): New version 6.7.4.
4980         (ps-rgb-color): New argument.  Use default color when color is
4981         unspecified.
4982         (ps-begin-job): Fix code.
4984 2007-05-12  Chong Yidong  <cyd@stupidchicken.com>
4986         * longlines.el (longlines-mode): Make longlines-auto-wrap
4987         buffer-local.  Add hooks unconditionally.
4988         (longlines-auto-wrap): Toggle wrapping.
4989         (longlines-after-change-function)
4990         (longlines-post-command-function): Check longlines-auto-wrap.
4992 2007-05-12  Nick Roberts  <nickrob@snap.net.nz>
4994         * xt-mouse.el (xterm-mouse-debug-buffer): New variable.
4995         (xterm-mouse-translate): Use it.
4997 2007-05-10  Richard Stallman  <rms@gnu.org>
4999         * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
5000         (iso-cvt-write-only): Likewise.
5002         * emacs-lisp/easy-mmode.el (define-minor-mode):
5003         Fix generated doc string.
5005         * startup.el (fancy-splash-text): Add URL of guided tour.
5006         Adjust horizontal and vertical whitespace.
5008         * progmodes/compile.el (compilation-handle-exit):
5009         Use run-hook-with-args to run compilation-finish-functions.
5011         * files.el (file-start-mode-alist): New variable.
5012         (magic-mode-regexp-match-limit): Doc fix.
5013         (set-auto-mode): Handle file-start-mode-alist.
5014         A little cleanup of structure.
5016         * dabbrev.el (dabbrev-eliminate-newlines):
5017         Renamed from dabbrev--eliminate-newlines.  All uses changed.
5019 2007-05-10  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
5021         * man.el (Man-next-section): Don't consider the last line of the page
5022         as being part of any section.
5024 2007-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5026         * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
5027         can take any number of values.
5029 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5031         * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
5032         to the list of citation commands.
5034 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5036         * vc-hooks.el (vc-find-root): Stop searching when the user changes.
5038 2007-05-09  Edward O'Connor  <hober0@gmail.com>  (tiny change)
5040         * progmodes/python.el (python-font-lock-keywords)
5041         (python-open-block-statement-p, python-mode): Add support for the new
5042         "with" keyword.
5044 2007-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5046         * diff-mode.el (diff-apply-hunk, diff-test-hunk): Don't do by default
5047         the exact opposite of diff-goto-source.
5049         * emacs-lisp/advice.el (ad-special-forms): Remove.
5050         (ad-special-form-p): Use subr-arity.
5052         * newcomment.el (comment-search-forward): Make sure we search forward.
5053         (comment-enter-backward): Try and distinguish the non-matching case at
5054         EOB from the non-matching case with a missing comment-end-skip for
5055         a 2-char comment ender.
5056         (comment-choose-indent): New function extracted from comment-indent.
5057         Improve the alignment algorithm.
5058         (comment-indent): Use it.
5060         * textmodes/sgml-mode.el (sgml-lexical-context): Add handling of
5061         XML style Processing Instructions.
5062         (sgml-parse-tag-backward): Handle XML-style PIs.  Also ensure progress.
5063         (sgml-calculate-indent): Handle `pi' context.
5065         * vc.el: Ensure that update-changelog issues an error when used with
5066         a backend that does not implement it.
5067         (vc-update-changelog-rcs2log): Rename from vc-default-update-changelog.
5068         Remove `backend' argument.  Use expand-file-name.
5069         (vc-cvs-update-changelog, vc-rcs-update-changelog): New aliases.
5071         * progmodes/python.el (python-end-of-block): Revert last change.
5072         (python-end-of-statement): Make sure we move *forward*.
5074 2007-05-08  Richard Stallman  <rms@gnu.org>
5076         * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
5077         Don't include non-self-insert commands in the exception for `-'.
5079 2007-05-08  David Reitter  <david.reitter@gmail.com>
5081         * progmodes/python.el (python-guess-indent): Check non-nullness
5082         before comparing indent against the 2..8 interval.
5084 2007-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5086         * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
5087         available.
5089 2007-05-06  Richard Stallman  <rms@gnu.org>
5091         * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.
5093 2007-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5095         * diff.el (diff): Use buffer-local vars diff-old-file and diff-new-file
5096         rather than storing their value in the revert-buffer function.
5098 2007-05-04  Nick Roberts  <nickrob@snap.net.nz>
5100         * t-mouse.el (t-mouse-mode): Do nothing on a graphical display
5101         when disabling t-mouse-mode.
5103 2007-05-01  Davis Herring  <herring@lanl.gov>
5105         * calendar/timeclock.el: Update version number.
5106         (timeclock-modeline-display): Mention timeclock-use-display-time
5107         in explanatory message.
5108         (timeclock-in): Fix non-interactive workday specifications.
5109         (timeclock-log): Don't kill the log buffer if it already existed.
5110         Suppress warnings when finding the log.  Don't check for a nil
5111         project twice.  Run hooks after killing the buffer (if applicable).
5112         (timeclock-geometric-mean): Rename to `timeclock-mean' (it never
5113         was geometric).  All uses changed.
5114         (timeclock-generate-report): Support prefix argument.
5116 2007-05-03  Ryan Yeske  <rcyeske@gmail.com>
5118         * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted
5119         disconnections.
5121 2007-05-01  Romain Francoise  <romain@orebokech.com>
5123         * dired-x.el: Revert 2007-04-06 change.
5125 2007-04-29  Stephen Berman  <Stephen.Berman@gmx.net>
5127         * find-dired.el (find-dired-filter): Propertize all text down to eob.
5129 2007-04-29  Richard Stallman  <rms@gnu.org>
5131         * international/mule.el (auto-coding-alist): Add pdf => no-conversion.
5133 2007-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5135         * progmodes/cc-mode.el (c-before-change): Use point-min rather
5136         than 1.
5138 2007-04-28  Richard Stallman  <rms@gnu.org>
5140         * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style.
5142 2007-04-28  Nick Roberts  <nickrob@snap.net.nz>
5144         * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
5145         don't put stop on toolbar.
5147 2007-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5149         * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.
5151 2007-04-28  Eli Zaretskii  <eliz@gnu.org>
5153         * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e
5154         instead of $(lisp)/mh-e.
5156 2007-04-28  Glenn Morris  <rgm@gnu.org>
5158         * image-dired.el (image-dired-cmd-create-thumbnail-options)
5159         (image-dired-cmd-create-temp-image-options): Replace option
5160         +profile "*" with -strip.
5162 2007-04-27  Chong Yidong  <cyd@stupidchicken.com>
5164         * textmodes/flyspell.el (flyspell-auto-correct-previous-word):
5165         Use window-start and window-end.
5167 2007-04-27  Andreas Schwab  <schwab@suse.de>
5169         * emacs-lisp/sregex.el (sregexq): Fix doc string quoting.
5171 2007-04-27  Eli Zaretskii  <eliz@gnu.org>
5173         * textmodes/fill.el (fill-paragraph): Doc fix.
5175 2007-04-26  Luc Teirlinck  <teirllm@dms.auburn.edu>
5177         * locate.el (locate-in-alternate-database): Doc fix.
5179 2007-04-26  Glenn Morris  <rgm@gnu.org>
5181         * button.el (button): Use underline if supported, else fall back
5182         to color.
5184         * version.el (emacs-version): Increase to 22.1.50.
5186 2007-04-25  Richard Stallman  <rms@gnu.org>
5188         * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'.
5190 2007-04-25  J.D. Smith  <jdsmith@as.arizona.edu>
5192         * progmodes/idlwave.el (idlwave-beginning-of-subprogram)
5193         (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent
5194         pushing mark.
5195         (idlwave-current-routine): Don't push mark.
5197 2007-04-25  Mathias Dahl  <mathias.dahl@gmail.com>
5199         * image-dired.el (image-dired-display-image): Derive image-type from
5200         filename rather than assuming jpeg, in case no resizing was needed.
5202 2007-04-25  Johan Bockg\e,Ae\e(Brd  <bojohan@dd.chalmers.se>
5204         * custom.el (defface): Doc fix.
5206 See ChangeLog.12 for earlier changes.
5208 ;; Local Variables:
5209 ;; coding: iso-2022-7bit
5210 ;; add-log-time-zone-rule: t
5211 ;; End:
5213     Copyright (C) 2007 Free Software Foundation, Inc.
5215   This file is part of GNU Emacs.
5217   GNU Emacs is free software; you can redistribute it and/or modify
5218   it under the terms of the GNU General Public License as published by
5219   the Free Software Foundation; either version 3, or (at your option)
5220   any later version.
5222   GNU Emacs is distributed in the hope that it will be useful,
5223   but WITHOUT ANY WARRANTY; without even the implied warranty of
5224   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5225   GNU General Public License for more details.
5227   You should have received a copy of the GNU General Public License
5228   along with GNU Emacs; see the file COPYING.  If not, write to the
5229   Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
5230   Boston, MA 02110-1301, USA.
5232 ;; arch-tag: 1e8aa93a-fc6c-4ac3-9b10-1f445e1840af