1 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3 * vc-arch.el (vc-arch-checkin): Fix typo.
5 2007-09-07 Johan Bockg
\e,Ae
\e(Brd <bojohan@gnu.org>
7 * cus-face.el (custom-theme-set-faces): Set face attributes
8 locally for each frame.
10 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12 * progmodes/fortran.el (fortran-mode): Set font-lock-syntactic-keywords
13 via font-lock-defaults.
15 * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via
18 2007-09-07 Thien-Thi Nguyen <ttn@gnuvola.org>
20 * progmodes/autoconf.el (autoconf-definition-regexp):
21 Handle optional square brackets around definition name.
23 2007-09-07 Johannes Weiner <hannes@saeurebad.de>
25 * net/browse-url.el (browse-url-browser-function): Add elinks.
26 (browse-url-elinks-wrapper): New option.
27 (browse-url-encode-url, browse-url-elinks)
28 (browse-url-elinks-sentinel): New functions.
29 (browse-url-file-url, browse-url-netscape, browse-url-mozilla)
30 (browse-url-firefox, browse-url-galeon, browse-url-epiphany):
31 Use new function browse-url-encode-url.
33 2007-09-07 Glenn Morris <rgm@gnu.org>
35 * version.el (emacs-version): Revert 2007-08-29 change: no need to
36 say if multi-tty is present.
38 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
40 * cus-start.el (split-window-preferred-function): Add custom info.
42 * calendar/holidays.el (holiday-list, calendar-check-holidays)
43 (calendar-mark-holidays, calendar-list-holidays)
44 (holiday-filter-visible-calendar): New names to clean up namespace.
45 (filter-visible-calendar-holidays, list-calendar-holidays)
46 (mark-calendar-holidays, check-calendar-holidays, list-holidays):
47 Add compatibility aliases.
48 (calendar-check-holidays, calendar-mark-holidays)
49 (calendar-holiday-list, holiday-filter-visible-calendar): Use dolist.
50 (holiday-sexp): Replace append with list.
51 (holiday-filter-visible-calendar): Replace append with push.
53 * woman.el: Remove spurious * in docstrings.
54 (woman-mini-help, woman-non-underline-faces, woman0-rename)
55 (woman-topic-all-completions-merge, woman-file-name-all-completions)
56 (woman-select-symbol-fonts, woman-expand-directory-path): Use dolist.
57 (woman-write-directory-cache, woman-display-extended-fonts)
58 (WoMan-log-begin, WoMan-log-1): Use with-current-buffer.
59 (woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails.
60 (woman-mode): Use inhibit-read-only.
61 (woman-negative-vertical-space): Use dotimes.
62 (woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char.
64 2007-09-06 Romain Francoise <romain@orebokech.com>
66 * vc-bzr.el (vc-bzr-admin-lastrev): New defconst.
67 (vc-bzr-workfile-version): Use it.
69 2007-09-06 Sean O'Rourke <sorourke@cs.ucsd.edu>
71 * complete.el (PC-do-completion): Don't try to treat
72 empty string as an abbreviation.
74 2007-09-06 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>
76 * help-fns.el (describe-variable): Keep doc's text properties.
78 2007-09-06 Dan Nicolaescu <dann@ics.uci.edu>
80 * vc.el (vc-default-diff-tree): Pass a list to the diff vc command
83 2007-09-06 Glenn Morris <rgm@gnu.org>
85 * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New.
86 (checkdoc-minor-mode): Allow user to specify lighter via
87 checkdoc-minor-mode-string.
89 2007-09-05 Richard Stallman <rms@gnu.org>
91 * startup.el (fancy-startup-text): Rename from fancy-splash-text.
92 Several items removed, simplified, or put on one line.
93 (fancy-about-text): Add substantial contents, part of startup text.
94 (fancy-splash-head): Make "GNU" or "GNU/Linux" a link.
95 (normal-splash-screen): Call normal-mouse-startup-screen,
96 normal-no-mouse-startup-screen, or normal-about-screen.
97 (normal-mouse-startup-screen): New fn, broken out, shortened.
98 (normal-no-mouse-startup-screen): New fn, broken out.
99 (normal-about-screen): New function, contents all new.
101 2007-09-05 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
103 * emacs-lisp/rx.el (rx): Fix typo in docstring.
105 2007-09-05 Glenn Morris <rgm@gnu.org>
107 * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode
110 2007-09-05 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>
112 * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note
115 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
117 * server.el (server-start, server-unload-hook): Undo previous change.
119 * xt-mouse.el: Undo previous change.
121 2007-09-04 Juri Linkov <juri@jurta.org>
123 * startup.el (fancy-about-text): New variable.
124 (fancy-splash-delay, fancy-splash-max-time): Remove user options.
125 (fancy-current-text, fancy-splash-stop-time)
126 (fancy-splash-outer-buffer): Remove variables.
127 (fancy-splash-head, fancy-splash-tail): Add new optional argument
128 `startup' and use it to conditionally display different texts for
129 Startup and About screens. Don't display Help commands on the About
131 (fancy-splash-screens-1): Remove function and move its content to
132 `fancy-splash-screens' to the part that dislpays the About screen.
133 (exit-splash-screen): Don't treat specially exiting from
135 (fancy-splash-screens): Rename argument `static' to `startup'.
136 Fix docstring. Remove code for displaying alternating screens.
137 Use arg `startup' in calls to `fancy-splash-head', `fancy-splash-tail'.
138 Remove let-bind for `fancy-splash-outer-buffer' and add let-bind
139 for `inhibit-read-only'.
140 (normal-splash-screen): Rename argument `static' to `startup'.
141 Fix docstring. Use argument `startup' to conditionally display
142 different texts for Startup and About screens. Don't display Help
143 commands on the About screen. Remove `unwind-protect' `sit-for'
144 delay and `kill-buffer' after it.
145 (display-startup-echo-area-message): Remove call to
146 `use-fancy-splash-screens-p' because image.el is preloaded and
147 doesn't display "Loading image... done".
148 (display-splash-screen): Rename argument `static' to `startup'.
151 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
153 * server.el (server-start, server-unload-hook):
154 suspend-tty-functions has been renamed to suspend-tty-hook.
156 * xt-mouse.el: Likewise. resume-tty-functions has been renamed to
159 2007-09-03 Emanuele Giaquinta <e.giaquinta@glauco.it> (tiny change)
161 * loadup.el: Fix merge problem, only load "button" once.
163 2007-09-03 Glenn Morris <rgm@gnu.org>
165 * vc-svn.el (vc-svn-print-log): If there is only one file, use
166 "Working file:" as the prefix, for the sake of
167 log-view-current-file.
169 2007-09-02 Dan Nicolaescu <dann@ics.uci.edu>
171 * term/xterm.el (xterm-modify-other-keys-terminal-list): New variable.
172 (xterm-turn-on-modify-other-keys): Only turn on modify-other-keys
173 if the selected frames is in
174 xterm-modify-other-keys-terminal-list.
175 (xterm-turn-off-modify-other-keys): Add an optional frame
176 parameter. Only turn off modify-other-keys if FRAME is in
177 xterm-modify-other-keys-terminal-list.
178 (xterm-remove-modify-other-keys): New function.
179 (terminal-init-xterm): Use it. Deal with delete-frame hook.
180 Add the selected frame to xterm-modify-other-keys-terminal-list.
182 2007-09-02 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
184 * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager.
185 (icon-map-list): New variable.
186 (x-gtk-map-stock): Use icon-map-list.
188 2007-09-02 Romain Francoise <romain@orebokech.com>
190 * log-view.el (log-view-current-file): Balance parens.
192 2007-09-02 Glenn Morris <rgm@gnu.org>
194 * comint.el (comint-mode): Don't set scroll-conservatively.
196 * eshell/em-unix.el (eshell/time): Stringify and flatten the
197 non-command arguments.
199 * log-view.el (log-view-current-file): Give a more explicit error
200 if log-view-file-re fails to find a match.
202 2007-09-01 Thien-Thi Nguyen <ttn@gnuvola.org>
204 * emacs-lisp/bytecomp.el (byte-recompile-directory):
205 Fix bug: Don't expand top-level file name more than once.
206 Reported by Dmitry Antipov <dmantipov@yandex.ru>.
208 2007-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
210 * server.el (server-process-filter): Don't display the splash screen.
211 It's annoying enough on the initial screen and becomes positively
214 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
216 * emacs-lisp/avl-tree.el: Use defstruct rather than macros.
217 Change naming to use "avl-tree--" for internal functions.
219 2007-08-31 Dan Nicolaescu <dann@ics.uci.edu>
221 * term/x-win.el (x-menu-bar-open): Delete duplicated function from
223 (global-set-key): Delete f10 mapping, now done in menu-bar.el.
224 (provide): Move to the end of file.
226 * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff.
228 2007-08-31 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
230 * textmodes/flyspell.el (flyspell-mark-duplications-exceptions):
231 New variable. List of exceptions for the duplicated word rule.
232 (flyspell-mark-duplications-flag): Mention it.
233 (flyspell-word): Treat it.
235 * files.el (create-file-buffer): If the filename sans directory starts
236 with spaces, remove them.
238 2007-08-31 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
240 * term/x-win.el (x-gtk-stock-map): Add etc/images to keys.
241 (x-gtk-map-stock): Use two directory elements when matching
244 2007-08-31 James Wright <james@chumsley.org>
246 * eshell/em-unix.el (eshell/info): New function.
248 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
250 * frame.el (frame-initialize, make-frame):
251 * server.el (server-process-filter):
252 * faces.el (tty-set-up-initial-frame-faces): Don't set
253 term-environment-variable since it's not used any more.
255 * env.el (setenv): Don't treat $TERM specially.
257 * startup.el (normal-top-level): Set $TERM to `dumb' so that unless
258 stated otherwise, subprocesses do not send back escape sequences
259 corresponding to the terminal from which Emacs was started.
261 2007-08-31 Thien-Thi Nguyen <ttn@gnuvola.org>
263 * calculator.el: Require cl for compilation.
265 2007-08-30 Daniel Pfeiffer <occitan@esperanto.org>
267 * outline.el (outline-font-lock-levels): Comment out unused var.
268 (outline-font-lock-face): Wrap around face list to handle any
269 nesting depth gracefully.
271 2007-08-30 Michael Albinus <michael.albinus@gmx.de>
273 * net/ange-ftp.el: Add ange-ftp property to `set-file-modes' and
276 2007-08-30 Carsten Dominik <dominik@science.uva.nl>
278 * textmodes/org.el (org-export-visible): Fix drawers before export.
279 (org-do-sort): Allow sorting by priority.
280 (org-agenda-files): Ignore non-existing files.
281 (org-agenda-skip-unavailable-files): New variable.
282 (org-ellipsis): All a face as value.
283 (org-mode): Interprete the face value of `org-ellipsis'.
284 (org-archive-save-context-info): New option.
285 (org-archive-subtree): Store context info in archived entry.
286 (org-fast-tag-selection-can-set-todo-state): New variable.
287 (org-fast-tag-selection): Allow setting TODO states through this
289 (org-cycle): Docstring updated.
290 (org-todo-keyword-faces): New option.
291 (org-get-todo-face): New function.
292 (org-set-font-lock-defaults, org-agenda-highlight-todo):
293 Use `org-get-todo-face'.
294 (org-switch-to-buffer-other-window): New function.
295 (org-table-edit-field, org-table-show-reference)
296 (org-table-edit-formulas, org-add-log-note)
297 (org-fast-tag-selection, org-agenda, org-prepare-agenda)
298 (org-timeline): Use `org-switch-to-buffer-other-window' instead of
299 `switch-to-buffer-other-window' to make sure that the temporary
300 windows show up on the current frame.
301 (org-mhe-get-message-real-folder, org-batch-store-agenda-views)
302 (org-get-entries-from-diary, org-replace-region-by-html):
303 Don't allow pop-up frames.
304 (org-agenda-get-deadlines, org-agenda-get-scheduled):
305 Fix problems with time-of-day.
306 (org-export-get-title-from-subtree): New function.
307 (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems
308 with listing items that are DONE.
309 (org-change-tag-in-region): New command.
310 (org-agenda-skip-scheduled-if-done)
311 (org-agenda-skip-deadline-if-done): Docstring clarified.
312 (org-mode): Hide drawers on startup.
313 (org-get-todo-face): New function.
314 (org-todo-keyword-faces): New option.
315 (org-set-regexps-and-options): Use `org-remove-keyword-keys'.
316 (org-remove-keyword-keys): New function.
318 2007-08-30 Jari Aalto <jari.aalto@cante.net> (tiny change)
320 * progmodes/grep.el (grep-find-ignored-directories):
321 Add monotone _MTN bookkeeping directory in workspaces.
322 Add RCS control directory. List items in alphabetical order.
324 * progmodes/grep.el (grep-files-aliases): Add cc alias.
325 Sort items in alphabetical order. Fix parens.
327 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
329 * vc-hg.el (vc-hg-extra-menu-map): New variable.
330 (vc-hg-extra-menu, vc-hg-outgoing, vc-hg-incoming, vc-hg-push)
331 (vc-hg-pull): New functions.
332 (vc-hg-outgoing-mode, vc-hg-incoming-mode): New derived modes.
334 * term/mac-win.el: Don't require url, only autoloaded url
335 functions are used in this file.
337 2007-08-29 Andreas Schwab <schwab@suse.de>
339 * shell.el (shell): Return correct value from interactive spec.
341 2007-08-29 Glenn Morris <rgm@gnu.org>
343 * version.el (emacs-version): Increase to 23.0.50.
345 2007-08-29 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
347 * term/x-win.el (x-gtk-stock-map): :version changed to 23.1.
349 2007-08-29 Juri Linkov <juri@jurta.org>
351 * loadup.el: Add "button" loading after "faces" and move "startup"
352 to load after "button".
354 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
356 * loadup.el: Load term/mac-win on a Mac using Carbon.
358 * term/mac-win.el: Provide mac-win.
359 (mac-initialized): New variable.
360 (mac-initialize-window-system): New function. Move global setup here.
361 (handle-args-function-alist, frame-creation-function-alist):
362 (window-system-initialization-alist): Add mac entries.
363 (x-setup-function-keys): New function containing all the
364 top level function key definitions.
366 * term/x-win.el (x-menu-bar-open): Use accelerate-menu.
368 * env.el (read-envvar-name): Don't consider the environment frame param.
371 * frame.el (frame-initialize, make-frame):
372 * faces.el (tty-set-up-initial-frame-faces):
373 * server.el (server-process-filter): Set
374 display-environment-variable and term-environment-variable.
376 * server.el (server-process-filter): Set COLORFGBG and COLORTERM.
378 2007-08-29 Jason Rumney <jasonr@gnu.org>
380 * loadup.el: Only load term/x-win when X is compiled in.
381 Load term/w32-win and dependencies on windows-nt.
383 * term/w32-win.el: Reorder to match x-win.el more closely.
384 Provide w32-win. Don't throw error when global window-system not w32.
385 (internal-face-interactive): Remove obsolete function.
386 (x-setup-function-keys): Use local-function-key-map.
387 (w32-initialized): New variable.
388 (w32-initialize-window-system): Set it.
389 Move more global setup here.
390 (x-setup-function-keys): New function.
391 (w32-initialize-window-system): Move non function key global setup here.
392 (x-cut-buffer-max): Remove.
393 (w32-initialize-window-system): New function.
394 (handle-args-function-alist, frame-creation-function-alist):
395 (window-system-initialization-alist): Add w32 entries.
397 2007-08-29 David Kastrup <dak@gnu.org>
399 * env.el (getenv): Pass frame to getenv-internal.
401 2007-08-29 Karoly Lorentey <lorentey@elte.hu>
403 * version.el (emacs-version): Show if multi-tty is present.
405 * loadup.el: Delay loading env; mule-conf gets confused by cl
406 during bootstrap. Also load termdev and term/x-win.
408 * bindings.el (mode-line-client): New variable.
409 (help-echo): Add it to the default mode-line format.
411 * cus-start.el: Remove bogus window-system reference from GTK test.
413 * ebrowse.el (ebrowse-electric-list-mode-map)
414 (ebrowse-electric-position-mode-map):
415 * ebuff-menu.el (electric-buffer-menu-mode-map):
416 * echistory.el (electric-history-map): Bind C-z to `suspend-frame',
419 * ediff-wind.el (ediff-setup-windows-automatic): New function.
420 (ediff-window-setup-function): Use it as default.
422 * files.el (save-buffers-kill-terminal): New function.
423 (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal.
425 * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'
426 and `with-selected-frame'.
428 * help-fns.el (describe-variable): Describe frame-local variables
431 * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple
433 (normal-erase-is-backspace-setup-frame): New function.
435 * subr.el (with-selected-frame): New function.
436 (read-quoted-char): Use terminal-local binding of
437 local-function-key-map instead of function-key-map.
439 * talk.el (talk): New function.
440 (talk-handle-delete-frame): New function.
441 (talk-add-display): Open a new frame only if FRAME was not a frame.
443 * termdev.el: New file.
445 * menu-bar.el (menu-bar-open): New function. Bind it to f10.
446 * term/x-win.el: Don't bind f10.
447 * tmm.el: Remove autoload binding for f10.
449 * international/encoded-kb.el (encoded-kbd-setup-display): Use
450 `set-input-meta-mode'. Fix broken condition before set-input-mode.
451 Store the saved input method as a terminal parameter. Add keymap
452 parameter. Use it instead of changing key-translation-map directly.
453 (saved-key-translation-map, encoded-kbd-mode, saved-input-mode):
455 (encoded-kbd-setup-display): New function.
457 * international/mule-cmds.el (set-locale-environment): Fix getenv
458 call. Use save-buffers-kill-terminal. Ignore window-system; always
459 set the keyboard coding system. Add DISPLAY parameter.
460 (set-display-table-and-terminal-coding-system): Add DISPLAY
461 parameter. Pass it to set-terminal-coding-system.
463 * international/mule.el (keyboard-coding-system): Test for
464 encoded-kbd-setup-display, not encoded-kbd-mode.
465 (set-terminal-coding-system, set-keyboard-coding-system): Add
467 (set-keyboard-coding-system): Use encoded-kbd-setup-display.
469 * term/README: Update.
471 * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'.
473 * term/x-win.el (x-setup-function-keys): New function. Move
474 function-key-map tweaks here. Protect against multiple calls on
475 the same terminal. Use terminal-local binding of
476 local-function-key-map instead of function-key-map.
477 (x-initialize-window-system): Make a copy of pure list. Pass a
480 * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el:
481 * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el:
482 * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el:
483 * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el:
484 * term/tvi970.el, term/wyse50.el: Use terminal-local binding of
485 local-function-key-map instead of function-key-map.
487 * term/rxvt.el, term/xterm.el: Speed up load time by protecting
488 `substitute-key-definition' and `define-key' calls against
489 multiple execution. Use terminal-local binding of
490 local-function-key-map instead of function-key-map. Pass a frame
493 * edmacro.el (edmacro-format-keys):
494 * emulation/cua-base.el (cua--pre-command-handler):
495 * isearch.el (isearch-other-meta-char):
496 * xt-mouse.el: Use terminal-local binding of
497 local-function-key-map instead of function-key-map.
499 * fringe.el (set-fringe-mode): Simplify and fix using
500 `modify-all-frames-parameters'.
501 * scroll-bar.el (set-scroll-bar-mode): Ditto.
502 * tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length
503 check before calling `tool-bar-setup'.
504 (tool-bar-setup): New variable.
505 (tool-bar-setup): Use it to guard against multiple calls. Add
506 optional frame parameter, and select that frame before adding items.
507 (toggle-tool-bar-mode-from-frame): New function.
509 * menu-bar.el (toggle-menu-bar-mode-from-frame): New function.
510 (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and
511 toggle-tool-bar-mode-from-frame to change "Menu-bar" and
512 "Tool-bar" toggles to reflect the state of the current frame.
513 (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'.
515 * env.el: Require cl for byte compilation (for `block' and `return').
516 (environment, setenv-internal): New functions.
517 (let-environment): New macro.
518 (setenv, getenv): Add optional terminal parameter. Update docs.
519 (setenv): Use setenv-internal. Always set process-environment.
520 Handle `local-environment-variables'.
521 (read-envvar-name, setenv, getenv): Use frame parameters
522 to store the local environment, not terminal parameters. Include
523 `process-environment' as well.
525 * faces.el (tty-run-terminal-initialization): New function.
526 (tty-create-frame-with-faces): Use it. Set up faces and
527 background mode only after the terminal has been initialized.
528 Call terminal-init-*. Don't load the initialization file more
529 than once. Call set-locale-environment.
530 (frame-set-background-mode): Handle the 'background-mode terminal
532 (tty-find-type): New function.
533 (x-create-frame-with-faces): Remove bogus check for
534 first frame. Call `tool-bar-setup'. Don't make frame visible
535 until we are done setting up all its parameters. Call
536 x-setup-function-keys.
538 * frame.el (make-frame): Always inherit 'environment and 'client
539 parameters. Set up the 'environment frame parameter, when needed.
540 Also inherit 'client parameter. Don't override explicitly
541 specified values with inherited ones. Add 'terminal frame
542 parameter. Append window-system-default-frame-alist to parameters
543 before calling frame-creation-function.
544 (frame-initialize): Copy the environment from the initial frame.
545 (window-system-default-frame-alist): Enhance doc string.
546 (frame-notice-user-settings): Don't put 'tool-bar-lines in
547 `default-frame-alist' when initial frame is on a tty.
548 (modify-all-frames-parameters): Simplify using `assq-delete-all'.
549 Remove specified parameters from `window-system-default-frame-alist'.
550 (make-frame-on-tty, framep-on-display, suspend-frame):
551 Extend doc string, update parameter names.
552 (frames-on-display-list): Use terminal-id to get the display id.
553 (frame-notice-user-settings): Extend to apply
554 settings in `window-system-default-frame-alist' as well.
555 (terminal-id, terminal-parameters, terminal-parameter)
556 (set-terminal-parameter, terminal-handle-delete-frame): New functions.
557 (delete-frame-functions): Add to `delete-frame-functions' hook.
558 (blink-cursor-mode): Adapt blink-cursor-mode default
559 value from startup.el.
560 (make-frame-on-display): Protect condition on x-initialized when
561 x-win.el is not loaded. Update doc.
562 (suspend-frame): Use display-controlling-tty-p to decide between
563 suspend-emacs and suspend-tty.
564 (frames-on-display-list): Update for display ids.
565 (framep-on-display): Ditto.
566 (suspend-frame): Use display-name, not frame-tty-name.
567 (selected-terminal): New function.
569 * server.el: Use `device' instead of `display' or `display-id' in
570 variable and client parameter names.
571 (server-select-display): Remove (unused).
572 (server-tty-live-p, server-handle-delete-tty): Remove.
573 (server-unquote-arg, server-quote-arg, server-buffer-clients):
575 (server-getenv-from, server-with-environment, server-send-string)
576 (server-save-buffers-kill-terminal): New functions.
577 (server-delete-client): Handle quits in kill-buffer. Don't kill
578 modified buffers. Add extra logging. Delete frames after
579 deleting the tty. Clear 'client parameter before deleting a frame.
580 Use delete-display, not delete-tty.
581 (server-visit-files): Don't set `server-existing-buffer' if the
582 buffer already has other clients. Return list of buffers
583 created. Update doc. Don't set client-record when nowait.
584 (server-handle-delete-frame): Delete the client if this was its
585 last frame. Check that the frame is alive. Remove bogus comment.
586 Add note on possible race condition. Delete tty clients, if needed.
587 (server-handle-suspend-tty): Use server-send-string. Kill the
588 client in case of errors from process-send-string. Use the display
590 (server-unload-hook): Remove obsolete delete-tty hook.
591 (server-start): Ask before restarting if the old server still has
592 clients. Add feedback messages. Remove obsolete delete-tty hook.
593 (server-process-filter): Use server-send-string. Accept `-dir'
594 command. Switch to *scratch* immediately after creating the frame,
595 before evaluating any -evals. Protect `display-splash-screen'
596 call in a condition-case. Explain why. Call
597 `display-startup-echo-area-message' before
598 `display-splash-screen'. Don't display the splash screen when no
599 frame was created. Show the Emacs splash screen and startup echo
600 area message. Display the *scratch* buffer by default. Store the
601 local environment in a frame (not terminal) parameter. Do not try
602 to decode environment strings. Fix reference to the 'display
603 frame parameter. Change syntax of environment variables. Put
604 environment into terminal parameters, not client parameters. Use
605 a dummy client with --no-wait's X frames. In `-position LINE'
606 handler, don't ruin the request string until the line number is
607 extracted. Log opened files. Handle -current-frame command.
608 Don't create frames when it is given. Don't bind X frames to the
609 client when we are in -no-wait mode. Set locale environment
610 variables from client while creating tty frames. Disable call to
611 configure-display-for-locale. When processing -position command,
612 don't change the request string until the parameters are
613 extracted. Don't try to create an X frame when Emacs does not
614 support it. Improve logging. Temporarily set ncurses-related
615 environment variables to those of the client while creating a new
616 tty frame. Select buffers opened by nowait clients, don't leave
617 them buried under others. Set the display parameter, and use it
620 * startup.el (display-startup-echo-area-message): Handle
621 `inhibit-startup-echo-area-message' here.
622 (command-line-1): Moved from here.
623 (fancy-splash-screens): Use `overriding-local-map' instead of
624 `overriding-terminal-local-map' for now; the latter doesn't work
625 right, it looses keypresses to another terminal. Use
626 `overriding-terminal-local-map' to set up keymap. Install a
627 `delete-frame-functions' hook to catch `delete-frame' events.
628 Ignore `select-window' events to cope better with
629 `focus-follows-mouse'. Don't switch back to the original buffer
630 if the splash frame has been killed. Restore previous buffer, even
632 (normal-splash-screen): Don't let-bind `mode-line-format'; it
633 changes the global binding - setq it instead. Use
634 `save-buffers-kill-terminal'.
635 (display-splash-screen): Don't do anything if the splash screen is
636 already displayed elsewhere.
637 (fancy-splash-exit, fancy-splash-delete-frame): New functions.
638 (command-line): Replace duplicated code with a call to
639 tty-run-terminal-initialization. Don't load the terminal
640 initialization file more than once. Remove call to nonexistent
641 function `set-locale-translation-file-name'.
643 * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal
645 (xterm-mouse-position-function, xterm-mouse-event): Update.
646 (xterm-mouse-mode): Don't depend on current value of window-system.
647 (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
648 Update for multi-tty.
649 (turn-on-xterm-mouse-tracking-on-terminal)
650 (turn-off-xterm-mouse-tracking-on-terminal)
651 (xterm-mouse-handle-delete-frame): New functions.
652 (delete-frame-functions, after-make-frame-functions)
653 (suspend-tty-functions, resume-tty-functions): Install extra hooks
656 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
658 * simple.el (invisible-p): Remove: implemented in C now.
659 (line-move-invisible-p): Remove obsolete alias.
661 2007-08-28 Juri Linkov <juri@jurta.org>
663 * image-mode.el (image-type): New variable.
664 (image-mode): Set default major mode name to "Image[text]".
665 (image-minor-mode): Change LIGHTER to display image-type in the
667 (image-minor-mode): Set default image-type to "text".
668 (image-toggle-display): After switching to text mode, set
669 image-type to "text" and major mode name to "Image[text]".
670 After switching to image mode, set image-type to actual image
671 type, and add image type to major mode name. Let-bind the same
672 variable names as arguments of `image-type' and `create-image'.
673 Bind `type' to the result of `image-type' and use it as arg
674 of `create-image' to not determine the image type twice.
676 2007-08-28 Michael Albinus <michael.albinus@gmx.de>
678 * net/tramp.el (tramp-handle-set-file-times): Flush the file properties.
679 (tramp-set-file-uid-gid, tramp-get-local-uid)
680 (tramp-get-local-gid): New defuns.
681 (tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID.
682 (tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID.
684 (tramp-do-copy-or-rename-file-directly): Sync parameter list with
685 the other tramp-do-copy-or-rename-file-* functions. Major rewrite.
686 (tramp-handle-file-local-copy, tramp-handle-insert-file-contents)
687 (tramp-handle-write-region): Improve fast track.
688 (tramp-handle-file-remote-p): IDENTIFICATION can also be `localname'.
689 (tramp-maybe-open-connection): Let `process-adaptive-read-buffering'
692 2007-08-28 Ivan Kanis <apple@kanis.eu>
694 * time.el: New feature to display several time zones in a buffer.
695 (display-time-world-mode, display-time-world-display)
696 (display-time-world, display-time-world-timer): New functions.
697 (display-time-world-list, display-time-world-time-format)
698 (display-time-world-buffer-name, display-time-world-timer-enable)
699 (display-time-world-timer-second, display-time-world-mode-map):
702 2007-08-28 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
704 * term/x-win.el (x-gtk-stock-map): New variable.
705 (x-gtk-map-stock): New function.
707 * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and
710 2007-08-28 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se> (tiny change)
712 * play/gamegrid.el (gamegrid-init): Set line-spacing to 0.
714 2007-08-28 Glenn Morris <rgm@gnu.org>
716 * progmodes/cc-langs.el (c-constant-kwds): Add java: null, true, false.
718 2007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
720 * progmodes/modula2.el (m2-definition, m2-module):
721 Don't use previous-line. Reported by T. V. Raman.
723 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
725 * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit
726 argument to tool-bar-mode call.
728 2007-08-27 Glenn Morris <rgm@gnu.org>
730 * diff-mode.el (diff-find-file-name): Only accept regular files,
731 to rule out /dev/null, directories, etc.
733 * vc-svn.el (vc-svn-diff): If the repository version of all the
734 files is the same as the specified OLDVERS, do a local diff.
736 2007-08-25 Stefan Monnier <monnier@iro.umontreal.ca>
738 * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness
739 of buffers in uniquify-managed.
741 * simple.el (invisible-p): Rename from text-invisible-p.
744 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
746 * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face)
747 (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode)
748 (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces)
749 (cperl-etags-goto-tag-location): Use new style backquotes.
751 * net/browse-url.el: Remove spurious * in custom docstrings.
752 (browse-url-filename-alist): Use new-style backquote.
754 * emacs-lisp/backquote.el (backquote-unquote-symbol)
755 (backquote-splice-symbol): Clarify they're not new-style unquotes.
757 * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,)
758 (\,@): Backslash the , and ,@ which are not new-style unquotes.
760 * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote.
762 * net/socks.el (socks-username/password-auth-filter):
763 Remove unused vars `state' and `desired-len'.
764 (socks-parse-services, socks-nslookup-host): Use with-current-buffer.
765 (socks-wait-for-state-change): Use new-style backquotes.
767 * pcvs.el (cvs-mode-status): Fix long-standing typo.
769 * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style
770 backquotes after each `read' rather than once per buffer.
772 * dframe.el: Remove spurious * in custom docstrings.
773 (dframe-xemacsp): Remove, use (featurep 'xemacs) instead.
774 (dframe-xemacs20p): Remove, inline at the sole use point.
775 (defface): Don't defvar the face, don't use old-style backquote.
776 (defcustom): Don't use old-style backquote.
777 (dframe-frame-parameter, dframe-mouse-event-p):
778 Make it obvious that it's always defined.
779 (dframe-popup-kludge): New function to replace
780 dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge.
781 (dframe-frame-mode, dframe-set-timer-internal)
782 (dframe-mouse-set-point): Remove use of with-no-warnings from
783 XEmacs-specific code.
784 (dframe-set-timer-internal): Fix very old bug with
785 post-command-idle-hook.
787 * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'.
789 2007-08-27 Thien-Thi Nguyen <ttn@gnuvola.org>
791 * emacs-lisp/avl-tree.el: New file.
793 2007-08-26 Micha
\e,bk
\e(Bl Cadilhac <michael@cadilhac.name>
795 * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse
798 2007-08-26 Sean O'Rourke <seano@cs.ucsd.edu>
800 * complete.el (PC-do-completion): Make RET accept a non-unique but
801 complete expansion again.
803 2007-08-26 Thien-Thi Nguyen <ttn@gnuvola.org>
805 * eshell/esh-opt.el (eshell-eval-using-options):
806 Add debug declaration.
808 2007-08-26 Dan Nicolaescu <dann@ics.uci.edu>
810 * log-view.el (log-view-toggle-mark-entry): Add docstring.
811 (log-view-get-marked): Likewise.
813 * vc-hooks.el (vc-registered): Use mapc instead of mapcar.
814 (vc-delete-automatic-version-backups): Likewise.
816 * vc.el (vc-dired-buffers-for-dir): Likewise.
818 2007-08-25 Dan Nicolaescu <dann@ics.uci.edu>
820 * progmodes/cperl-mode.el (cperl-indent-level): Autoload the
821 safe-local-variable setting.
822 * progmodes/perl-mode.el (perl-indent-level): Likewise.
824 * log-view.el (log-view-marked-list): Delete variable.
825 (log-view-mode): Don't use it.
826 (log-view-toggle-mark-entry): Likewise, simplify.
827 (log-view-current-tag): Don't return properties.
828 (log-view-get-marked): New function.
830 2007-08-25 Alexandre Julliard <julliard@winehq.org>
832 * vc-git.el (vc-git-mode-line-string): New function.
834 2007-08-25 Alan Mackenzie <acm@muc.de>
836 * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist):
837 new language variable.
839 * progmodes/cc-engine.el (c-brace-anchor-point): new function.
840 (c-add-stmt-syntax): Give accurate anchor points for "namespace",
841 "extern" etc., rather than BOI. Fix addition of spurious
842 syntactic-symbol 'defun-block-intro, replacing it with
845 2007-08-25 Juri Linkov <juri@jurta.org>
847 * files.el (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el.
849 * image-mode.el: Add autoloads to put associations in auto-mode-alist:
850 associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and
851 "\\.svgz?\\'" with xml-mode and image-mode-maybe.
853 * image.el (image-type-header-regexps): Use more complex regexp for svg.
854 (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg).
855 (image-type-auto-detectable): Add (svg . maybe).
857 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add .svgz
858 to treat it like .tgz.
860 * calendar/cal-bahai.el: Add file coding cookie.
862 2007-08-25 Reiner Steib <Reiner.Steib@gmx.de>
864 * pcvs.el (cvs-query-directory): Only prompt when prefix is given.
865 Don't behave differently when executed via M-x. Add doc string.
867 * sort.el (sort-fold-case, sort-numeric-base): Mark as
870 2007-08-25 Jay Belanger <jay.p.belanger@gmail.com>
872 * calc/calc-forms.el (var-TimeZone): Make nil explicitly
874 (math-calendar-tzinfo): New variable.
875 (math-get-calendar-tzinfo): New function.
876 (calcFunc-tzone, calcFunc-dst): Use Emacs's calendar
877 to get information when zone is nil.
879 2007-08-24 Dan Nicolaescu <dann@ics.uci.edu>
881 * log-view.el (log-view-toggle-mark-entry): New function.
882 (log-view-mode-map): Bind it.
883 (log-view-marked-list): New variable.
884 (log-view-mode): Make it local.
886 2007-08-24 Thien-Thi Nguyen <ttn@gnuvola.org>
888 * play/zone.el (zone-pgm-rat-race): New func.
889 (zone-programs): Add `zone-pgm-rat-race'.
891 2007-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
893 * emacs-lisp/byte-opt.el (byte-optimize-if): Don't presume `clause' is
896 2007-08-24 Thien-Thi Nguyen <ttn@gnuvola.org>
898 * progmodes/hideshow.el (hs-match-data): Delete alias.
899 (hs-hide-block-at-point, hs-find-block-beginning)
900 (hs-show-block): Use `match-data' directly.
902 2007-08-24 Martin Rudalics <rudalics@gmx.at>
904 * format.el (format-alist): Fix typo in doc-string.
906 2007-08-24 Michael Albinus <michael.albinus@gmx.de>
908 * net/tramp.el (tramp-local-host-p): New defun.
909 (tramp-handle-file-local-copy, tramp-handle-write-region):
910 Implement fast track when being on the local host.
911 (tramp-file-name-handler): Don't set "started" property. It shall
912 be reserved for the "ftp" method.
913 (tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'.
915 * net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'.
916 (tramp-ftp-file-name-handler): Set "started" property.
918 2007-08-24 Ulrich Mueller <ulm@gentoo.org> (tiny change)
920 * files.el (backup-buffer-copy): Don't wrap delete in
921 condition-case, only try to delete if file exists.
923 2007-08-24 Glenn Morris <rgm@gnu.org>
925 * files.el (backup-buffer-copy): Revert 2007-08-22 change.
927 * startup.el (tutorial-directory): Set with eval-at-startup so it
928 gets the right value in an installed Emacs.
930 2007-08-24 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
932 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face.
933 (eldoc-highlight-function-argument): Use it.
935 2007-08-23 Masatake YAMATO <jet@gyve.org>
937 * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments):
938 Highlight name of parameters in document body.
940 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
942 * emacs-lisp/bytecomp.el (byte-compile-output-docform)
943 (byte-compile-output-as-comment): Use with-current-buffer rather than
944 a weird set-buffer&prog1 combination.
946 * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the
947 test so as to optimise cases where the `progn's result is constant.
949 2007-08-23 Thien-Thi Nguyen <ttn@gnuvola.org>
951 * locate.el (locate-get-file-positions):
952 Use line-beginning-position and line-end-position.
954 2007-08-23 John Wiegley <johnw@newartisans.com>
956 * calendar/cal-bahai.el: Added in the diacriticals that were
957 missing for many of the month names.
959 2007-08-22 Jason Rumney <jasonr@gnu.org>
961 * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix.
963 2007-08-22 Chong Yidong <cyd@stupidchicken.com>
965 * image-mode.el (image-minor-mode): Use image-mode-text-map.
967 2007-08-22 Sean O'Rourke <sorourke@cs.ucsd.edu>
969 * dabbrev.el (dabbrev--progress-reporter): New variable.
970 (dabbrev--scanning-message): Delete func.
971 (dabbrev--find-expansion): Use a progress reporter
972 instead of dabbrev--scanning-message.
974 2007-08-22 Michael Albinus <michael.albinus@gmx.de>
976 * comint.el (comint-exec-1): Raise an error if
977 `start-file-process' does not return a process object.
979 * shell.el (shell): Prompt for `default-directory' if it is a
980 remote file name, and if called with a prefix arg.
982 2007-08-22 Sam Steingold <sds@gnu.org>
984 * pcvs.el (cvs-vc-command-advice): Fix a typo in code (file->files).
986 2007-08-22 Carsten Dominik <dominik@science.uva.nl>
988 * textmodes/org-export-latex.el: New file.
990 * textmodes/org-publish.el (org-publish-org-to-latex): New function.
992 * textmodes/org.el (org-agenda-skip): Allow a form for
993 `org-agenda-skip-function'.
994 (org-agenda-redo): Re-use local settings.
995 (org-agenda): Store local settings.
996 (org-agenda-deadline-faces): New option.
997 (org-agenda-deadline-face): New function.
998 (org-agenda-get-deadlines, org-agenda-get-scheduled): Also handle
999 entries on their due date.
1000 (org-agenda-get-timestamps): No longer handle the due dates of
1001 schedules and deadline items.
1002 (org-insert-link-global, org-open-at-point-global): New commands.
1003 (org-export-as-ascii): Call `org-cleaned-string-for-export' with a
1004 :for-ascii parameter.
1005 (org-skip-comments): Function removed.
1006 (org-cleaned-string-for-export): Handle special table lines.
1007 (org-global-properties): New option.
1008 (org-entry-get-with-inheritance): Check global properties.
1009 (org-local-properties): New variable.
1010 (org-set-regexps-and-options): Find the #+PROPERTY line.
1011 (org-link-types): Change type into variable (was constant).
1012 (org-make-link-regexps): New function.
1013 (org-link-re-with-space, org-link-re-with-space2)
1014 (org-angle-link-re, org-plain-link-re, org-bracket-link-regexp)
1015 (org-bracket-link-analytic-regexp, org-any-link-re): Creation of
1016 these regular expressions happens now in the function
1017 `org-make-link-regexps'.
1018 (org-store-link): Call the functions in
1019 `org-store-link-functions'.
1020 (org-add-link-type): New function.
1021 (org-store-link-functions): New variable.
1022 (org-activate-tags): Force matches to be in headlines.
1023 (org-batch-store-agenda-views): Fix bug with killing agenda buffer.
1024 (org-columns-display-here): Make sure this works in a narrowed
1025 buffer by checking for point-min.
1026 (org-columns-display-here): Make the rest of the line intangible,
1027 so that point never can be there.
1028 (org-cleaned-string-for-export): Use `with-current-buffer'.
1029 (org-replace-region-by-html): Use `with-current-buffer'.
1030 (org-unfontify-region, org-do-occur, org-columns-display-here)
1031 (org-columns-remove-overlays, org-columns-quit)
1032 (org-columns-edit-value, org-columns-next-allowed-value)
1033 (org-eval-in-calendar, org-agenda-undo, org-no-read-only)
1034 (org-finalize-agenda, org-remove-subtree-entries-from-agenda)
1035 (org-agenda-todo, org-agenda-change-all-lines)
1036 (org-agenda-align-tags, org-agenda-priority)
1037 (org-agenda-set-tags, org-agenda-toggle-archive-tag)
1038 (org-agenda-show-new-time, org-cleaned-string-for-export)
1039 (org-export-grab-title-from-buffer)
1040 (org-export-as-ascii, org-export-as-html): Use `inhibit-read-only'
1041 instead of `buffer-read-only'.
1042 (org-export-as-html): Set `coding-system-for-write'.
1043 (org-remember-store-without-prompt): New option.
1044 (org-archive-subtree): Fixed bug with modifying TODO keyword.
1045 (org-beginning-of-line): Also treat C-a special in items.
1046 (org-table-convert-refs-to-rc): Fixed problem with column
1047 reference after "..".
1048 (org-columns-compute): Don't mark buffer modified because of text
1050 (org-batch-store-agenda-views): Use the variable
1051 `default-directory', not the function.
1052 (org-clock-out-if-current): Respect `org-clock-out-when-done'.
1053 (org-clock-out-when-done): New option.
1054 (org-html-entities): Added HTML entities for smileys.
1056 2007-08-22 Glenn Morris <rgm@gnu.org>
1058 * image.el (create-image): Doc fix.
1060 * startup.el (tutorial-directory): New constant.
1061 (fancy-splash-text): Tutorials now in tutorial-directory.
1062 * tutorial.el (help-with-tutorial): Tutorials now in
1065 2007-08-22 Michael Albinus <michael.albinus@gmx.de>
1067 * net/tramp.el (top): Require cl.el, when `copy-tree' is not available
1069 (tramp-get-remote-path): New defun. Replace occurrences of
1070 `tramp-default-remote-path' by this function.
1071 (tramp-set-remote-path): Move most of the code to
1072 `tramp-get-remote-path'.
1073 (tramp-get-ls-command, tramp-get-remote-id): Don't check for not
1074 existing directories, this is done already in
1075 `tramp-get-remote-path'.
1077 2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net>
1079 * image-file.el (image-file-name-extensions): Add "svg".
1080 * image.el (image-type-header-regexps): Add svg entry.
1082 2007-08-22 Glenn Morris <rgm@gnu.org>
1084 * files.el (backup-buffer-copy): Check backup directory is
1085 writable, to avoid infloop deleting old backup.
1087 * mail/rmail.el (rmail-movemail-variant-p): Call on load to set
1088 movemail related variables.
1089 (rmail-insert-inbox-text): Use only rmail-movemail-program, which
1090 will now be set before this is called.
1092 2007-08-21 Juri Linkov <juri@jurta.org>
1094 * delsel.el (delete-selection-pre-hook):
1095 * emulation/cua-base.el (cua-paste): Use `mouse-region-match'
1096 instead of checking last-command.
1098 2007-08-21 Juri Linkov <juri@jurta.org>
1100 * loadup.el: Preload "button".
1102 2007-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1105 Add previous-line and next-line.
1107 * vc-arch.el (vc-arch-extra-menu-map): New var and fun.
1108 (vc-arch-find-file-not-found-hook): Remove, it's now the default.
1110 * vc-hooks.el (vc-menu-entry): New var.
1111 (vc-mode-line-map): Use it so that this menu also uses the extra-menu.
1112 (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el.
1113 (vc-menu-map): Declare and initialize in one step.
1114 (vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter.
1116 * menu-bar.el (vc-menu-map): Don't setup any more.
1117 Instead, just create the proper spot in the menu.
1119 2007-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1121 * smerge-mode.el (smerge-resolve): New arg `safe'.
1122 (smerge-resolve-all, smerge-batch-resolve): New function.
1123 (smerge-refine): Make sure `diff' returns the expected result.
1124 (smerge-parsep-re): New const.
1125 (smerge-mode): Use it to adjust paragraph-separate.
1127 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
1128 Correctly match / regexp matchers as first char on a line when
1129 fontifying only that line.
1131 * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data.
1133 2007-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1135 * vc-bzr.el: Don't fiddle with vc-handled-backend.
1136 (vc-bzr-registered): Don't redundantly protect against
1137 file-error. Actually use the format-specific code.
1138 (vc-bzr-buffer-nonblank-p): Remove.
1139 (vc-bzr-status): Change `kindchange' -> `kindchanged'.
1141 2007-08-20 Juri Linkov <juri@jurta.org>
1143 * startup.el (fancy-splash-text): Change multiple tabs into one
1144 tab. Remove "Useful File menu items" section (with "Exit Emacs"
1145 and "Recover Crashed Session").
1146 (fancy-splash-screens): Set tab-width to 22.
1147 (normal-splash-screen): Replace literal tabs with \t and
1148 fix whitespace. Remove "Useful File menu items" section (with
1149 "Exit Emacs" and "Recover Crashed Session").
1151 2007-08-20 Johannes Weiner <hannes@saeurebad.de> (tiny change)
1153 * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was
1154 extracted from `eval-last-sexp-1'.
1155 (eval-last-sexp-1): Call `preceding-sexp'.
1157 2007-08-20 Thien-Thi Nguyen <ttn@gnuvola.org>
1159 * vc-rcs.el (vc-rcs-annotate-command):
1160 Fix bug introduced 2007-07-18T16:32:40Z!esr@snark.thyrsus.com:
1161 Add back :vc-annotate-prefix propertization.
1163 2007-08-20 Andreas Schwab <schwab@suse.de>
1165 * mail/rmail.el (rmail-autodetect): Doc fix.
1167 2007-08-19 Juri Linkov <juri@jurta.org>
1169 * startup.el (normal-splash-screen): Add more links.
1171 2007-08-19 Juri Linkov <juri@jurta.org>
1173 * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap'
1174 because it's common to both types of splash screen: fancy and normal.
1175 Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen.
1176 (exit-splash-screen): Rename from `fancy-splash-quit'.
1177 Use `quit-window' instead of `kill-buffer'.
1178 (fancy-splash-head): Use make-button to insert GNU image link.
1179 (fancy-splash-screens, normal-splash-screen): Rename " About GNU
1180 Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*".
1181 (normal-splash-screen): Put "Browse manuals" on the same line with
1182 "Emacs manual". Remove descriptions from "Useful tasks" and put
1183 all links in two columns on two lines.
1185 2007-08-19 Michael Kifer <kifer@cs.stonybrook.edu>
1187 * viper.el (viper-remove-hooks): Remove some additional viper hooks
1188 when the user calls viper-go-away.
1189 (viper-go-away): Restore the default of default-major-mode.
1190 Save the value of default-major-mode before vaperization.
1192 * viper-cmd.el: Replace error "" with "Viper bell".
1194 * viper-ex.el: Replace error "" with "Viper bell".
1196 * ediff-util.el (ediff-make-temp-file): Use the coding system of the
1197 buffer for which file is created.
1199 2007-08-19 Glenn Morris <rgm@gnu.org>
1201 * Makefile.in (custom-deps, finder-data, autoloads, recompile)
1202 (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather
1203 than $(EMACS), so that EMACSLOADPATH is set. Prevents any system
1204 shadow files messing up the compilation.
1206 2007-08-18 Glenn Morris <rgm@gnu.org>
1208 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Add doc
1209 string. Also apply eldoc-argument-case in the help-split-fundoc
1210 case. Adapt for changed behavior of eldoc-function-argstring,
1211 eldoc-function-argstring-format, and
1212 eldoc-highlight-function-argument.
1213 (eldoc-highlight-function-argument): Handle nil INDEX argument,
1214 just call eldoc-docstring-format-sym-doc in that case.
1215 (eldoc-function-argstring): Change the behavior. Now it converts
1216 an argument list to a string.
1217 (eldoc-function-argstring-format): Change the behavior. Now it
1218 applies `eldoc-argument-case' to a string.
1220 * progmodes/scheme.el (scheme-mode-variables): Set
1221 font-lock-comment-start-skip.
1223 2007-08-18 Martin Rudalics <rudalics@gmx.at>
1225 * progmodes/ada-mode.el (ada-create-syntax-table): Move
1226 set-syntax-table from here to ...
1227 (ada-mode): ... here. Do not change global value of
1228 comment-multi-line. Call new function
1229 ada-initialize-syntax-table-properties and add new function
1230 ada-handle-syntax-table-properties to font-lock-mode-hook.
1231 (ada-deactivate-properties, ada-initialize-properties): Replace
1232 by new functions ...
1233 (ada-handle-syntax-table-properties)
1234 (ada-initialize-syntax-table-properties)
1235 (ada-set-syntax-table-properties): ... to set up syntax-table
1236 properties uniformly, independently from whether font-lock-mode
1237 is enabled or not. Handle read-only buffers and do not change
1238 undo-list when setting syntax-table properties.
1239 (ada-after-change-function): Use ada-set-syntax-table-properties.
1241 2007-08-18 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1243 * progmodes/meta-mode.el (meta-indent-calculate-last): Remove.
1244 (meta-indent-current-nesting): Use a computation of the nesting
1246 (meta-indent-current-indentation): Indentation is given according
1247 to nesting and if the previous line was finished or not.
1248 (meta-indent-unfinished-line): Tell if the current line ends with
1249 a finished expression.
1250 (meta-indent-looking-at-code): Like `looking-at', but checks if
1251 the point is in a string before.
1252 (meta-indent-level-count): Use it. Don't count parenthesis as it's
1253 done in the nesting function.
1254 (meta-indent-in-string-p): Tell if the current point is in a
1256 (meta-indent-calculate): Treat b-o-b as a special case. Use the
1259 2007-08-17 Thien-Thi Nguyen <ttn@gnuvola.org>
1261 * emacs-lisp/copyright.el (copyright-limit): New defsubst.
1262 (copyright-update-year, copyright-update)
1263 (copyright-fix-years): Use it.
1265 2007-08-17 Kimit Yada <kimitto@gmail.com> (tiny change)
1267 * emacs-lisp/copyright.el (copyright-update-year):
1268 Fix bug: Handle nil copyright-limit.
1270 2007-08-17 Jay Belanger <jay.p.belanger@gmail.com>
1272 * calc/calc-units.el (math-standard-units): Give exact
1275 * calc/calc.el (math-bignum-digit-length): Compute the
1278 * calc/calc-bin.el (math-bignum-logb-digit-size)
1279 (math-bignum-digit-power-of-two):
1280 * calc/calc-comb.el (math-small-factorial-table):
1281 * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
1282 (math-approx-gamma-const):
1283 * calc/calc-funcs.el (math-besJ0, math-besJ1, math-besY0)
1284 (math-besY1, math-bernoulli-b-cache):
1285 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
1286 Remove `eval-when-compile's.
1288 2007-08-17 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
1290 * progmode/cperl-mode.el (cperl-look-at-leading-count)
1291 (cperl-find-pods-heres): Fix an error when typing expressions like
1294 2007-08-17 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1296 * mail/emacsbug.el (report-emacs-bug): Remove the last number of
1297 `emacs-version', use the topic prefix ``version; ''. Make MS-DOS
1298 a special case (there's no build number).
1300 2007-08-17 T. V. Raman <raman@users.sf.net> (tiny change)
1302 * completion.el (symbol-under-point, symbol-before-point)
1303 (symbol-before-point-for-complete): Use buffer-substring-no-properties.
1305 2007-08-17 Glenn Morris <rgm@gnu.org>
1307 * progmodes/compile.el (compilation-get-file-structure): Make use
1308 of the directory part when checking for an existing entry, to
1309 handle files with same basename in different directories.
1311 2007-08-17 Jay Belanger <jay.p.belanger@gmail.com>
1313 * calc/calc.el (calc-language-alist): Add texinfo-mode.
1315 2007-08-16 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1317 * ps-print.el (ps-header-font-size, ps-header-title-font-size)
1318 (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing)
1319 (ps-paragraph-spacing): Docstring fix.
1321 2007-08-16 Glenn Morris <rgm@gnu.org>
1323 * ps-print.el (ps-font-size): Doc fix.
1325 2007-08-16 Richard Stallman <rms@gnu.org>
1327 * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group.
1329 2007-08-15 Juri Linkov <juri@jurta.org>
1331 * startup.el (initialization): Change parent group from `internal'
1333 (initial-buffer-choice): New variable.
1334 (command-line): Revert 2007-07-02 change that sets
1335 buffer-offer-save in *scratch* and enables auto-save in it.
1336 (fancy-splash-text): Add links to existing items. Add new items
1337 with links for useful tasks. Move information about Control-g to
1338 fancy-splash-head. Move "Emacs Guided Tour" to the end.
1339 (fancy-splash-keymap): New variable.
1340 (fancy-splash-last-input-event): Remove variable.
1341 (fancy-splash-insert): Add processing of `:link' element.
1342 (fancy-splash-head): Replace "Type Control-l to begin editing"
1343 with "Type `q' to exit".
1344 (fancy-splash-screens-1): Let-bind inhibit-read-only to t.
1345 (fancy-splash-default-action, fancy-splash-special-event-action):
1347 (fancy-splash-quit): New function.
1348 (fancy-splash-screens): Rename input arg from `hide-on-input' to
1349 `static' and reverse the condition of its usage. Don't preserve
1350 original values of `minor-mode-map-alist',
1351 `emulation-mode-map-alists', `special-event-map'.
1352 Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
1353 Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
1354 Remove processing of special events. Use local key map
1355 `fancy-splash-keymap'. Set buffer to read-only.
1356 (normal-splash-screen): Rename input arg from `hide-on-input' to
1357 `static' and reverse the condition of its usage.
1358 Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs".
1359 Rename about-buffer from " GNU Emacs" to " About GNU Emacs".
1360 Add links to existing items. Add new items with links for useful
1361 tasks. Use local key map `fancy-splash-keymap'.
1362 (display-splash-screen): Rename input arg from `hide-on-input' to
1364 (about-emacs): Add alias to display-splash-screen.
1365 (command-line-1): Use `initial-buffer-choice'.
1367 * menu-bar.el (menu-bar-help-menu):
1368 * term/mac-win.el (mac-apple-event-map): Bind About Emacs menu
1369 item to about-emacs instead of display-splash-screen.
1371 2007-08-15 Jay Belanger <jay.p.belanger@gmail.com>
1373 * calc/calc-units.el (math-standard-units): Update values.
1374 Put in exact, rational values when possible.
1375 (math-unit-prefixes): Replace floats with powers of ten.
1376 (math-standard-units-systems): Replace floats with integers.
1377 (math-make-unit-string): Remove extra spaces in output.
1379 2007-08-15 Glenn Morris <rgm@gnu.org>
1381 * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even
1382 sloppier, for the sake of GNU Mailman.
1383 (rmail-digest-rfc1153): Initialize `result' correctly.
1385 2007-08-15 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
1387 * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; '
1388 in the mail title. Suggested by Reiner Steib.
1390 2007-08-14 Chris Hecker <checker@d6.com> (tiny change)
1392 * calc/calc-aent.el (calc-do-quick-calc): Add binary
1393 representation of integers to the list of outputs.
1395 2007-08-14 Glenn Morris <rgm@gnu.org>
1397 * simple.el (bad-packages-alist): New constant.
1398 (bad-package-check): New function. Together, these two add elements
1399 to `after-load-alist' to check for problematic external packages.
1400 * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'.
1402 2007-08-14 Jay Belanger <jay.p.belanger@gmail.com>
1404 * calc/calc-units.el (math-get-standard-units)
1405 (math-get-units, math-make-unit-string)
1406 (math-get-default-units, math-put-default-units): New functions.
1407 (math-default-units-table): New variable.
1408 (calc-convert-units, calc-convert-temperature): Add machinery
1409 to supply default values.
1411 2007-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * emulation/tpu-edt.el: Add tpu-extras's autoloads.
1414 (tpu-gold-map, tpu-global-map): Comment-out the bindings to nil.
1415 (tpu-gold-map): Bind F to tpu-cursor-free-mode.
1416 (minibuffer-local-map): Use funkey symbols rather than esc-sequence.
1418 * emulation/tpu-extras.el: Remove spurious * in docstrings.
1419 Put its autoloads into tpu-edt.el rather than loaddefs.el.
1420 (tpu-cursor-free-mode): Rename from tpu-cursor-free.
1421 Make into a proper minor-mode.
1422 (tpu-backward-char, tpu-next-line, tpu-previous-line)
1423 (tpu-next-end-of-line, tpu-current-end-of-line): Use new name.
1424 (tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook.
1425 (tpu-set-cursor-free, tpu-set-cursor-bound):
1426 Delegate to tpu-cursor-free-mode.
1427 (tpu-next-line, tpu-previous-line, tpu-forward-line)
1428 (tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up):
1429 Use line-move or forward-line instead of next-line-internal.
1431 2007-08-13 Nick Roberts <nickrob@snap.net.nz>
1433 * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully.
1435 2007-08-12 Richard Stallman <rms@gnu.org>
1437 * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout)
1438 (cvs-execute-single-file): Use new name split-string-and-unquote.
1439 (cvs-header-msg): Use new name combine-and-quote-strings.
1441 * emulation/vi.el (vi-next-line): Ignore return value of line-move.
1443 * progmodes/gud.el (gud-common-init): Use new name
1444 split-string-and-unquote.
1446 * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop
1449 * pcvs-util.el (cvs-qtypedesc-strings): Use new names
1450 combine-and-quote-strings and split-string-and-unquote.
1452 * subr.el (combine-and-quote-strings): Rename from strings->string.
1453 (split-string-and-unquote): Rename from string->strings.
1455 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1457 * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt
1458 to buffer-local settings.
1460 * emacs-lisp/backquote.el (backquote-delay-process): New function.
1461 (backquote-process): Add internal arg `level'. Use the two to
1462 correctly handle nested backquotes.
1464 2007-08-09 Riccardo Murri <riccardo.murri@gmail.com>
1466 * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs.
1467 (vc-bzr-state-words): Add "kind changed" state word.
1468 (vc-bzr-status): New function. Return Bzr idea of file status,
1469 which is different from VC's.
1470 (vc-bzr-state): Use vc-bzr-status.
1471 (vc-workfile-unchanged-p): Use vc-bzr-status.
1472 (vc-bzr-revert): Use synchronous process; expect exitcode 0.
1473 (vc-dired-state): Process "kind changed" state word.
1475 2007-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1477 * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing.
1479 * vc-rcs.el (vc-rcs-find-file-not-found-hook):
1480 Move from vc-default-find-file-not-found-hook.
1482 2007-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1484 * man.el: Remove spurious * in docstrings.
1485 Merge defvars and toplevel setq-defaults.
1486 (Man-highlight-references0): Limit=nil rather than point-max.
1487 (Man-mode-map): Move initialization into the declaration.
1488 (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only.
1489 (Man-view-header-file): Use expand-file-name rather than concat.
1490 (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer.
1492 * man.el (Man-next-section): Make sure we do not move backward.
1494 2007-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1496 * files.el (auto-mode-alist): Use the purecopied text (duh!).
1498 2007-08-08 Glenn Morris <rgm@gnu.org>
1500 * Replace `iff' in doc-strings and comments.
1502 2007-08-08 Martin Rudalics <rudalics@gmx.at>
1504 * dired.el (dired-pop-to-buffer):
1505 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1506 * calendar/calendar.el (generate-calendar-window):
1507 * progmodes/compile.el (compilation-set-window-height):
1508 * textmodes/two-column.el (2C-two-columns, 2C-merge):
1509 Use window-full-width-p instead of comparing frame-width and
1512 * progmodes/compile.el (compilation-find-buffer): Remove extra
1513 argument in call to compilation-buffer-internal-p.
1515 2007-08-07 Tom Tromey <tromey@redhat.com>
1517 * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level):
1518 Add safe-local-variable property.
1520 2007-08-07 Chong Yidong <cyd@stupidchicken.com>
1522 * image-mode.el (image-toggle-display): Use image-refresh.
1524 2007-08-07 Riccardo Murri <riccardo.murri@gmail.com>
1526 * vc-bzr.el: Remove comments about vc-bzr.el being a modified
1528 (vc-bzr-command): Remove redundant setting of process-connection-type.
1529 (vc-bzr-admin-checkout-format-file): Add autoload.
1530 (vc-bzr-root-dir): Remove in favor of vc-bzr-root.
1531 (vc-bzr-root): Switch to implementation of vc-bzr-root-dir.
1532 (vc-bzr-registered): Compare dirstate format tag with known good
1533 value, abort parsing if match fails. Warn user in docstring.
1534 (vc-bzr-workfile-version): Case for different Bzr branch formats.
1535 See bzrlib/branch.py in Bzr sources.
1536 (vc-bzr-diff): First argument FILES may be a string rather than a list.
1537 (vc-bzr-shell-command): Remove in favor of
1538 vc-bzr-command-discarding-stderr.
1539 (vc-bzr-command-discarding-stderr): New function.
1541 2007-08-06 Riccardo Murri <riccardo.murri@gmail.com>
1543 * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr"
1544 program, and return nil.
1545 (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil.
1546 (vc-bzr-state): Look for path names relative to the repository
1547 root after status keyword.
1548 (vc-bzr-file-name-relative): New function.
1549 (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths
1551 (vc-bzr-admin-dirname, ...-checkout-format-file)
1552 (...-branch-format-file, ...-revhistory): Paths to some Bzr internal
1553 files that we now parse directly for speed.
1554 (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness.
1555 (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists.
1556 (vc-bzr-state): "bzr status" successful only if exitcode is 0.
1557 (vc-bzr-root): Use `vc-bzr-shell-command'. Stderr may contain
1558 Bzr warnings, so we must discard it.
1559 (vc-bzr-workfile-version): Speedup counting lines from
1560 `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno"
1561 if that file doesn't exist.
1562 (vc-bzr-responsible-p): Use `vc-bzr-root' instead of
1563 `vc-bzr-root-dir' for speed. Add `vc-bzr-admin-dirname' (not ".bzr"!)
1564 to `vc-directory-exclusion-list'.
1565 (vc-bzr-shell-command): New function.
1567 2007-08-06 Tom Tromey <tromey@redhat.com>
1569 * diff-mode.el (diff-unified->context, diff-reverse-direction)
1570 (diff-fixup-modifs): Typo in docstring.
1572 2007-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1574 * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and
1576 (tpu-edt-off): Disable relevant pieces of advice.
1578 * emulation/tpu-extras.el (tpu-before-save-hook): Rename from
1579 tpu-write-file-hook. Activate it with add-hook on buffer-save-hook.
1580 (newline, newline-and-indent, do-auto-fill): Use advice instead of
1581 redefining the function.
1582 (tpu-set-scroll-margins): Activate the pieces of advice.
1584 2007-08-06 Martin Rudalics <rudalics@gmx.at>
1586 * help.el (resize-temp-buffer-window): Use window-full-width-p
1587 instead of comparing frame-width and window-width.
1589 2007-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
1591 * pcvs-parse.el (cvs-parse-table): Handle additional instance of
1592 optional quotes around files in NEED-UPDATE . REMOVED case.
1594 * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring.
1595 (ada-treat-cmd-string): Improve error message.
1596 (ada-do-file-completion): Call `ada-require-project-file', so
1597 project variables are set properly.
1598 (ada-prj-find-prj-file): Delete Emacs 20.2 support.
1599 (ada-gnatfind-buffer-name): New constant.
1600 (ada-find-any-references): Use new constant. Set buffer name
1601 properly in compilation-start. Toggle read-only properly.
1602 (ada-find-in-src-path): Fix spelling error in docstring.
1604 * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide
1607 2007-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1609 * emacs-lisp/autoload.el (autoload-print-form): Use print-quoted.
1611 2007-08-12 Richard Stallman <rms@gnu.org>
1613 * progmodes/sh-script.el (sh): Delete group `unix'.
1615 * progmodes/gud.el (gud): Change to group `processes'.
1617 2007-08-11 Glenn Morris <rgm@gnu.org>
1619 * progmodes/compile.el (compilation-buffer-name): Don't check
1620 compilation-arguments. It is superfluous, and the variable isn't
1621 even set when this function is called.
1623 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1625 * term/mac-win.el (mac-ae-reopen-application): New function.
1626 (mac-apple-event-map): Bind "reopen application" Apple event to it.
1628 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1630 * textmodes/tex-mode.el (tex-font-lock-unfontify-region): Fix to
1631 take tex-font-script-display into account.
1632 (tex-font-script-display, tex-font-lock-suscript): Change from a cons
1633 cell to a list of 2 elements to simplify the unfontify code.
1635 2007-08-09 Edward O'Connor <hober0@gmail.com> (tiny change)
1637 * url/url-auth.el (url-basic-auth): When prompting for username
1638 and password, default to the username and password in the URL.
1640 2007-08-08 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1642 * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix.
1643 (ps-begin-job): Use ps-default-fg and ps-default-bg only when
1644 ps-print-color-p is neither nil nor black-white. Reported by Christian
1645 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
1647 2007-08-08 Andreas Schwab <schwab@suse.de>
1649 * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for
1650 self-insert-command, not self-insert.
1652 2007-08-08 Glenn Morris <rgm@gnu.org>
1654 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Make second
1655 argument optional, for backwards compatibility, and only highlight
1656 args when present. Fix symbol name typo (doc/args).
1658 * help-mode.el (help-make-xrefs): Search for symbol constituents,
1659 rather than just `-'.
1661 2007-08-07 Jay Belanger <jay.p.belanger@gmail.com>
1663 * calc/calc-units.el (calc-convert-temperature):
1664 Use `/' to create fractions.
1666 2007-08-07 Michael Albinus <michael.albinus@gmx.de>
1668 * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more
1670 (tramp-handle-shell-command): Handle OUTPUT-BUFFER and
1671 ERROR-BUFFER more robust. Display output.
1672 (tramp-file-name-handler): Add a connection property when we found
1673 a foreign file name handler. This allows backends like ftp to
1674 profit also from usr/host name completion based on connection
1676 (tramp-send-command-and-read): Search for trash after the regexp
1677 until eol only. In XEmacs, there is a problem with \n.
1679 * net/tramp-cache.el (top): Read persistent connection history
1680 when cache is empty.
1682 2007-08-07 Nic Ferrier <nferrier@tapsellferrier.co.uk> (tiny change)
1684 * net/tramp.el (tramp-handle-process-file): Fix bug inserting
1687 2007-08-07 Sam Steingold <sds@gnu.org>
1689 * progmodes/compile.el (compilation-start): Pass nil as startfile
1692 2007-08-07 Chong Yidong <cyd@stupidchicken.com>
1694 * longlines.el (longlines-decoded): New variable.
1695 (longlines-mode): Avoid encoding or decoding the buffer twice.
1697 2007-08-07 Martin Rudalics <rudalics@gmx.at>
1699 * format.el (format-insert-file): Make sure that at most one undo
1700 entry is recorded for the insertion. Inhibit point-motion and
1701 modification hooks around call to insert-file-contents.
1703 2007-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1705 * vc.el (vc-annotate): Select temp-buffer before running vc-exec-after.
1706 Select the buffer's window before moving point.
1708 2007-08-07 Richard Stallman <rms@gnu.org>
1710 * term.el (term): Remove parent group `unix'.
1712 * simple.el (default-indent-new-line): New function.
1713 It calls comment-line-break-function if there are comments.
1714 (do-auto-fill): Use that.
1716 2007-08-07 Sean O'Rourke <sorourke@cs.ucsd.edu>
1718 * complete.el (PC-lisp-complete-symbol): Complete symbol around point.
1719 (PC-do-completion): Add "acronym completion" for symbols and
1720 filenames, so e.g. "mvbl" expands to "make-variable-buffer-local".
1722 2007-08-06 Sam Steingold <sds@gnu.org>
1724 * mouse.el (mouse-buffer-menu): Pass mode-name through
1725 format-mode-line because it may be a list,
1726 e.g., (sgml-xml-mode "XML" "SGML"), and not a string.
1728 2007-08-06 Vinicius Jose Latorre <viniciusig@ig.com.br>
1730 * printing.el (pr-update-menus): Docstring fix.
1732 2007-08-06 Jason Rumney <jasonr@gnu.org>
1734 * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend.
1736 * vc-hooks.el (vc-call): Add doc string.
1738 2007-08-06 Michael Albinus <michael.albinus@gmx.de>
1740 * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in
1743 2007-08-06 Kenichi Handa <handa@m17n.org>
1745 * international/quail.el: Wrap (require 'help-mode) by
1747 (quail-help-init): New function.
1748 (quail-help): Call quail-help-init.
1749 (quail-store-decode-map-key): Change it to a function.
1751 2007-08-05 Jason Rumney <jasonr@gnu.org>
1753 * vc.el (vc-rollback): Add norevert argument back.
1754 (vc-revert-buffer): Add back as obsolete alias.
1756 2007-08-05 Peter Povinec <ppovinec@yahoo.com> (tiny change)
1758 * term.el: Honor term-default-fg-color and term-default-bg-color
1759 settings when modifying term-current-face.
1760 (term-default-fg-color, term-default-bg-color): Initialize from
1761 default term-current-face.
1762 (term-mode, term-reset-terminal): Set term-current-face with
1763 term-default-fg-color and term-default-bg-color.
1764 (term-handle-colors-array): term-current-face has term-default-fg-color
1765 and term-default-bg-color after reset escape sequence.
1766 (term-handle-colors-array): Set term-current-color with
1767 term-default-fg/bg-color instead of ansi-term-color-vector when the
1768 index (term-ansi-current-color or term-ansi-current-bg-color) is zero.
1770 2007-08-05 Jay Belanger <jay.p.belanger@gmail.com>
1772 * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables.
1773 (math-nlfit-givens): Let bind free variables.
1775 2007-08-05 Vinicius Jose Latorre <viniciusig@ig.com.br>
1777 * printing.el: Require lpr and ps-print when loading printing package.
1778 Reported by Glenn Morris <rgm@gnu.org>.
1780 2007-08-05 Michael Albinus <michael.albinus@gmx.de>
1782 * files.el (set-auto-mode): Handle also remote files wrt
1785 2007-08-04 Jay Belanger <jay.p.belanger@gmail.com>
1787 * calc/calcalg3.el (calc-curve-fit): Add support for nonlinear
1788 curves and plotting.
1790 * calc/calc-nlfit.el: New file.
1792 2007-08-04 Glenn Morris <rgm@gnu.org>
1794 * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is
1795 zero, not nil, when the library is first loaded. Check for a file
1796 that has been modified on disk.
1798 * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist):
1799 Remove duplicate defvar preventing initialization.
1800 (cperl-mode): Fix compilation-error-regexp-alist-alist setting.
1802 2007-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1804 * diff-mode.el (diff-font-lock-keywords): Fix up false positives.
1805 (diff-beginning-of-file): Adjust to the fact that diff-file-header-re
1806 may match up to 4 lines.
1807 (diff-beginning-of-file-and-junk): Rewrite.
1809 2007-08-03 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1811 * printing.el: Evaluate require only during compilation.
1812 (pr-version): New version 6.9.1.
1813 (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR).
1814 (pr-global-menubar): Fix code.
1816 2007-08-03 Dan Nicolaescu <dann@ics.uci.edu>
1818 * term.el (term-erase-in-display): Fix case when point is not at
1819 the beginning of the line.
1821 2007-08-03 Jay Belanger <jay.p.belanger@gmail.com>
1823 * calc/calc-ext.el (math-get-value, math-get-sdev)
1824 (math-contains-sdev): New functions.
1826 * calc/calc-graph.el (calc-graph-format-data)
1827 (calc-graph-add-curve): Check for error forms.
1828 (calc-graph-set-styles): Add option for error forms.
1830 2007-08-03 Miles Bader <miles@gnu.org>
1832 * vc-hooks.el (vc-handled-backends): Change capitalization of VC
1833 backend names for new backends to `Git', `Hg', and `Bzr'.
1834 * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name,
1836 * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend
1838 * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info)
1839 (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'.
1841 2007-08-03 Richard Stallman <rms@gnu.org>
1843 * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
1844 to update deleted flag.
1846 * cus-edit.el (customize-apropos, customize-apropos-options)
1847 (customize-apropos-faces, customize-apropos-groups): Improve prompt.
1849 * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.
1851 * startup.el (fancy-splash-head, startup-echo-area-message):
1852 Change message text.
1854 * emulation/tpu-edt.el (next-line-internal): Setting deleted.
1855 All callers use line-move.
1857 * progmodes/compile.el (compilation-find-buffer): Return current
1858 buffer immediately if suitable.
1859 (compile, compilation-buffer-name, compilation-start): Doc fixes.
1861 2007-08-03 Daiki Ueno <ueno@unixuser.org>
1863 * faces.el (face-normalize-spec): New function.
1864 (frame-set-background-mode): Normalize face-spec before calling
1867 2007-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * server.el (server-window): Add switch-to-buffer-other-frame option.
1871 2007-08-03 Glenn Morris <rgm@gnu.org>
1873 * cus-edit.el (customize-apropos): Make the error message indicate
1874 what kind of thing the user was trying to customize.
1876 * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t.
1878 * progmodes/fortran.el (fortran-font-lock-syntactic-keywords):
1879 Fix off-by-one error in previous change.
1881 2007-08-03 Drew Adams <drew.adams@oracle.com>
1883 * emacs-lisp/pp.el (pp-eval-expression): Add progress message.
1884 Make buffer writable.
1886 2007-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1888 * calc/calc-math.el (math-sqrt-raw, math-sin-raw-2)
1889 (math-cos-raw-2, math-arctan-raw, math-ln-raw):
1890 Use native Emacs functions, when appropriate.
1892 2007-08-01 Dan Nicolaescu <dann@ics.uci.edu>
1893 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * vc.el: Document new VC operation `extra-menu'.
1897 * vc-hooks.el (vc-default-extra-menu): New function.
1899 * menu-bar.el (menu-bar-vc-filter): New function.
1900 (menu-bar-tools-menu): Use it as a filter.
1902 2007-08-01 Eric Hanchrow <offby1@blarg.net> (tiny change)
1904 * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix.
1906 2007-08-01 Glenn Morris <rgm@gnu.org>
1908 * progmodes/fortran.el: Remove leading `*' from all defcustom doc
1910 (fortran-tab-mode-default): Remove needless autoload.
1911 (fortran-tab-mode-string): Add help-echo and mouse properties, and
1913 (fortran-line-length): New buffer-local variable, safe if integer.
1914 (fortran-if-start-re, fortran-end-prog-re1, fortran-end-prog-re):
1915 Change from variables to constants.
1916 (fortran-font-lock-syntactic-keywords): Delete as a variable,
1917 replace with a new function definition.
1918 (fortran-mode): Use fortran-line-length, and
1919 fortran-font-lock-syntactic-keywords as a function. Add a
1920 hack-local-variables-hook function.
1921 (fortran-line-length, fortran-hack-local-variables): New functions.
1922 (fortran-window-create, fortran-strip-sequence-nos): Doc fix.
1923 Use fortran-line-length rather than 72.
1924 (fortran-window-create-momentarily): Doc fix.
1926 2007-07-31 Drew Adams <drew.adams@oracle.com> (tiny change)
1928 * cus-edit.el (custom-group-value-create, custom-goto-parent):
1929 Fix parent groups link.
1931 2007-07-31 Paul Pogonyshev <pogonyshev@gmx.net>
1933 * progmodes/python.el (python-current-defun): Adjust to never fall
1936 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca>
1938 * pcvs.el (cvs-vc-command-advice): Handle the new fileset case.
1940 2007-07-29 Kimit Yada <kimitto@gmail.com> (tiny change)
1942 * emacs-lisp/copyright.el (copyright-update-year, copyright-update)
1943 (copyright-fix-years, copyright): Correctly handle the case where
1944 copyright-limit is nil.
1946 2007-07-28 Konstantin Novitsky <knovitsk@Bear.com> (tiny change)
1948 * progmodes/python.el (run-python): Fix path separator under w32.
1950 2007-07-30 Richard Stallman <rms@gnu.org>
1952 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1953 Treat non-break space as whitespace in Lisp.
1955 2007-07-30 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * vc.el (vc-dired-hook): Use inhibit-read-only.
1959 * progmodes/compile.el (compilation-forget-errors):
1960 Reset compilation-auto-jump-to-next.
1962 2007-07-30 Michael Olson <mwolson@gnu.org>
1964 * cus-edit.el (custom-group-save): Fix void function definition
1965 error. Thanks to Zhang Wei for the report.
1967 * ps-print.el: Check in trivial changes to the autoloads section
1968 caused by the build process. These autoloads really ought to be
1969 placed in a separate file, methinks.
1971 2007-07-29 Stefan Monnier <monnier@iro.umontreal.ca>
1973 * calendar/calendar.el (calendar-mode): Make sure
1974 displayed-(month|year) are set.
1975 (calendar-basic-setup): Display buffer before adjusting window sizes.
1976 (generate-calendar-window): Use inhibit-read-only. Simplify.
1977 Generate buffer and set displayed-month and displayed-year before
1978 calling update-calendar-mode-line.
1980 2007-07-29 Michael Albinus <michael.albinus@gmx.de>
1984 * net/trampver.el: Use utf-8 encoding with coding cookie.
1986 * net/tramp-cache.el:
1987 * net/tramp-fish.el:
1990 * net/tramp-smb.el: Remove coding cookie.
1992 * net/tramp.el (tramp-handle-verify-visited-file-modtime):
1993 Flush buffer file-name's file property.
1994 (tramp-handle-file-remote-p): The first parameter is FILENAME.
1996 * net/trampver.el: Update release number.
1998 2007-07-29 Juri Linkov <juri@jurta.org>
2000 * dired.el (dired-mode-map): Bind C-x C-q to dired-toggle-read-only.
2001 Filter out menu item "Edit File Names" `wdired-change-to-wdired-mode'
2002 when major-mode is not dired-mode.
2003 (dired-toggle-read-only): New function.
2004 (dired-recursive-deletes): Remove obsolete comments about old
2006 (dired-do-flagged-delete, dired-do-delete): Refill docstring.
2008 * wdired.el (wdired-exit): New function.
2009 (wdired-mode-map): Bind C-x C-q to wdired-exit.
2011 2007-07-28 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * cus-edit.el (customize-read-group): New fun.
2014 (customize-group-other-window, customize-face-other-window):
2015 Prompt before delegating to customize-(group|face).
2016 Bind pop-up-windows rather than use the other-window argument.
2017 (customize-group, customize-face): Prompt from the interactive spec.
2018 Remove args `prompt-for-group' and `other-window'.
2020 * emacs-lisp/advice.el (ad-interactive-form): Re-introduce.
2021 (ad-body-forms, ad-advised-interactive-form): Revert this part of
2024 2007-07-28 Masatake YAMATO <jet@gyve.org>
2026 * vc.el (vc-dired-mode): Add a menu for VC related operation.
2027 Use backend name as the menu label. Suggested by David Kastrup.
2029 2007-07-28 Alan Mackenzie <acm@muc.de>
2031 Fix problem with modes derived from CC Mode:
2032 * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this
2034 (c-init-language-vars-for): Remove call to above macro.
2035 * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has
2037 (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local.
2039 2007-07-28 Eli Zaretskii <eliz@gnu.org>
2041 * net/trampver.el: Fix the `coding' cookie.
2043 2007-07-28 Dan Nicolaescu <dann@ics.uci.edu>
2045 * vc-git.el (vc-git-print-log): Support both the old single file
2046 interface and the new one.
2048 2007-07-28 Nick Roberts <nickrob@snap.net.nz>
2050 * bindings.el (mode-line-remote): Use updated %@ construct.
2052 2007-07-27 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * calendar/cal-bahai.el (calendar-bahai-month-name-array)
2055 (calendar-bahai-epoch, calendar-bahai-leap-year-p)
2056 (calendar-bahai-leap-base, calendar-bahai-prompt-for-date)
2057 (diary-list-bahai-entries, diary-bahai-mark-entries)
2058 (calendar-bahai-mark-date-pattern, diary-insert-bahai-entry)
2059 (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry):
2060 New names to clean up namespace.
2061 (list-bahai-diary-entries, mark-bahai-diary-entries)
2062 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
2063 (insert-yearly-bahai-diary-entry, mark-bahai-calendar-date-pattern):
2064 Add compatibility aliases.
2066 * calendar/appt.el: Don't wrap defvar within eval-when-compile.
2068 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right)
2069 (calendar-scroll-left-three-months)
2070 (calendar-scroll-right-three-months): Clean up namespace.
2071 (scroll-calendar-left, scroll-calendar-right)
2072 (scroll-calendar-left-three-months)
2073 (scroll-calendar-right-three-months): Add compatibility aliases.
2075 * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right):
2076 Behave like mouse-scroll-calendar-* when used from the mouse.
2078 * calendar/cal-menu.el (cal-menu-scroll-menu)
2079 (cal-menu-global-mouse-menu):
2080 * calendar/calendar.el (calendar-mode-map):
2081 Use new calendar-scroll-* names.
2082 (mouse-scroll-calendar-left, mouse-scroll-calendar-right):
2083 Remove. Use calendar-scroll-* directly instead.
2085 2007-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2087 * emacs-lisp/advice.el (ad-interactive-p, ad-interactive-form): Remove.
2088 (ad-body-forms, ad-advised-interactive-form, ad-make-cache-id)
2089 (ad-make-advised-definition, ad-cache-id-verification-code):
2090 Use commandp and interactive-form instead.
2092 2007-07-26 Dan Nicolaescu <dann@ics.uci.edu>
2094 * vc-git.el: Relicense to GPLv3 or later.
2095 (vc-directory-exclusion-list, vc-handled-backends): Remove.
2097 * vc-hooks.el (vc-handled-backends): Add GIT.
2099 * vc.el (vc-directory-exclusion-list): Add .git.
2101 2007-07-26 Alexandre Julliard <julliard@winehq.org>
2103 * vc-git.el (vc-git-revision-table)
2104 (vc-git-revision-completion-table): New functions.
2106 2007-07-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2108 * progmodes/ebnf-abn.el (ebnf-abn-skip-comment):
2109 * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment):
2110 * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment):
2111 * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment):
2112 * progmodes/ebnf-iso.el (ebnf-iso-skip-comment):
2113 * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version.
2114 New command actions for EPS header and EPS footer.
2116 * progmodes/ebnf2ps.el: New command actions for EPS header and EPS
2117 footer. Fix some problems with one-or-more, zero-or-more and
2118 alternative constructions generation. Some log messages
2119 implementation. Doc fix.
2120 (ebnf-version): New version 4.4.
2121 (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font)
2122 (ebnf-eps-footer, ebnf-log): New options.
2123 (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header)
2124 (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment)
2125 (ebnf-eps-header-footer-p, ebnf-eps-header-comment)
2126 (ebnf-eps-footer-comment, ebnf-eps-header-footer-file)
2127 (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs.
2128 (ebnf-style-custom-list, ebnf-style-database): Put new values.
2129 (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer)
2130 (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file)
2131 (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory)
2132 (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region)
2133 (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer)
2134 (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job)
2135 (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension)
2136 (ebnf-non-terminal-dimension, ebnf-special-dimension)
2137 (ebnf-terminal-dimension1, ebnf-repeat-dimension)
2138 (ebnf-except-dimension, ebnf-alternative-dimension)
2139 (ebnf-optional-dimension, ebnf-one-or-more-dimension)
2140 (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log
2142 (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more)
2143 (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write)
2144 (ebnf-insert-ebnf-prologue, ebnf-production-dimension)
2145 (ebnf-terminal-dimension1, ebnf-alternative-dimension)
2146 (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension)
2147 (ebnf-eps-add-context, ebnf-eps-add-production): Fix code.
2148 (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep
2149 compatibility with Emacs 20 & 21.
2150 (ebnf-eps-header-comment, ebnf-eps-footer-comment)
2151 (ebnf-eps-file-alist, ebnf-basic-width-extra)
2152 (ebnf-basic-empty-height): New vars.
2153 (ebnf-prologue): Fix PostScript code.
2154 (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1)
2155 (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional)
2156 (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence)
2157 (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments.
2159 2007-07-25 Glenn Morris <rgm@gnu.org>
2161 * Relicense all FSF files to GPLv3 or later.
2163 * COPYING: Switch to GPLv3.
2165 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change.
2168 Replace it with another one which disables undo before calling
2169 erase-buffer and then turns it back on if needed.
2171 2007-07-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2173 * ps-print.el: Problem with foreground and background color when
2174 printing a buffer with and without faces. Reported by Christian
2175 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
2176 (ps-print-version): New version 6.7.5.
2177 (ps-default-fg): Change default value to nil, so black color is used
2178 when a face does not specify a foreground color.
2179 (ps-default-bg): Change default value to nil, so white color is used
2180 for background color.
2181 (ps-begin-job): Fix code.
2183 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2185 * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out.
2187 2007-07-24 Glenn Morris <rgm@gnu.org>
2189 * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
2190 (cal-tex-rules, cal-tex-buffer, cal-tex-24)
2191 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
2192 (cal-tex-cursor-week, cal-tex-cursor-week2)
2193 (cal-tex-cursor-week-iso, cal-tex-week-hours)
2194 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
2195 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2196 (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
2198 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
2200 * calendar/calendar.el (calendar-mode-map): Move initialization
2201 into declaration. Add menu bindings (used to be done in cal-menu).
2202 (calendar-mode): Don't add an activate-menubar-hook.
2204 * calendar/cal-menu.el: Break dependency on calendar.el (i.e. do not
2205 modify calendar-mode-map), use easy-menu, and make sure that C-h k
2206 can be used on the menu entries.
2207 (cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs.
2208 (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu)
2209 (cal-menu-goto-menu, cal-menu-scroll-menu): New consts.
2210 (cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus.
2211 (calendar-flatten, cal-menu-update): Remove.
2212 (calendar-mouse-insert-hebrew-diary-entry)
2213 (calendar-mouse-insert-islamic-diary-entry)
2214 (calendar-mouse-insert-bahai-diary-entry):
2215 Remove (fold into cal-menu-diary-menu).
2216 (calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu)
2217 (cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu).
2218 (calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu).
2219 (calendar-mouse-view-diary-entries): Minor simplifications.
2220 (calendar-event-to-date): Use with-current-buffer.
2222 2007-07-25 Nick Roberts <nickrob@snap.net.nz>
2224 * add-log.el (change-log-redate): Remove (not needed anymore and
2225 doesn't appear to work).
2227 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca>
2229 * frame.el: Use mapc and dolist instead of mapcar where possible.
2230 (close-display-connection): New command.
2232 2007-07-25 Alexandre Julliard <julliard@winehq.org>
2234 * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface.
2235 (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions.
2237 2007-07-25 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2239 * ps-print.el (ps-multibyte-buffer): Docstring fix.
2241 * ps-mule.el: Doc fix.
2242 (ps-multibyte-buffer, ps-mule-font-info-database-default)
2243 (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix.
2245 2007-07-25 Glenn Morris <rgm@gnu.org>
2247 * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays)
2248 (cal-tex-diary, cal-tex-daily-string, cal-tex-daily-start)
2249 (cal-tex-daily-end, cal-tex-hook)
2250 (cal-tex-cal-one-month, cal-tex-cal-multi-month)
2251 (cal-tex-year, cal-tex-cursor-week, cal-tex-cursor-week2)
2252 (cal-tex-cursor-week-iso, cal-tex-week-hours)
2253 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
2254 (cal-tex-cursor-day, cal-tex-insert-preamble): Doc fix.
2255 (cal-tex-day-prefix, cal-tex-day-name-format)
2256 (cal-tex-cal-one-month, cal-tex-cal-multi-month, cal-tex-myday)
2257 (cal-tex-caldate, cal-tex-LaTeX-hourbox)
2258 (cal-tex-LaTeX-subst-list): Change from variables to constants.
2259 (cal-tex-preamble, cal-tex-arg, cal-tex-nl): Simplify with `format'.
2260 (cal-tex-cursor-filofax-year, cal-tex-weekly4-box): Use \textbf,
2261 etc, rather than \bf.
2262 (cal-tex-mini-calendar): Fix typos in previous change.
2263 (cal-tex-latexify-list): Remove inner let binding.
2264 (cal-tex-end-document, cal-tex-banner): Use multi-line
2266 (cal-tex-comment): Handle embedded newlines.
2267 (cal-tex-LaTeXify-string): Use substring-no-properties.
2269 2007-07-25 Joakim Verona <joakim@verona.se> (tiny change)
2271 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2272 Add support for the Maden build tool.
2274 2007-07-25 William Xu <william.xwl@gmail.com> (tiny change)
2276 * net/webjump.el (webjump-url-encode): Fix for non-ASCII characters.
2278 2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers.
2282 2007-07-24 Dan Nicolaescu <dann@ics.uci.edu>
2284 * dired.el (dired-mode-map): Bind wdired-change-to-wdired-mode to
2287 * vc-git.el (vc-git-print-log): Fix previous change.
2289 2007-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2291 * window.el (save-selected-window): Minor optimization.
2292 (bw-adjust-window): If operation failed, try with a smaller delta.
2293 (window-fixed-size-p): New function.
2294 (window-area-factor): New var.
2295 (balance-windows-area): New command.
2297 * ps-mule.el (ps-multibyte-buffer): Docstring fixes.
2298 (ps-mule-encode-ethiopic): Make it clear that it's always defined.
2299 (ps-mule-prepare-font-for-components, ps-mule-encode-header-string)
2300 (ps-mule-encode-bit, ps-mule-encode-ucs2): Use dotimes.
2301 (ps-mule-begin-job): Use dolist.
2303 2007-07-24 Michael Albinus <michael.albinus@gmx.de>
2305 * subr.el (start-file-process-shell-command)
2306 (process-file-shell-command): New defuns.
2308 * progmodes/compile.el (compilation-start):
2309 Apply `start-file-process-shell-command'.
2311 2007-07-24 Alexandre Julliard <julliard@winehq.org>
2313 * vc-git.el (vc-git-checkout, vc-directory-exclusion-list): Fix typos.
2315 2007-07-24 Alan Mackenzie <acm@muc.de>
2317 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2318 Initialise byte-compile-unresolved-functions before rather than
2319 after a compilation.
2320 (byte-compile-unresolved-functions): Amplify doc string.
2322 2007-07-24 Glenn Morris <rgm@gnu.org>
2324 * startup.el (normal-splash-screen): Use `emacs-copyright'.
2326 * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary)
2327 (cal-tex-rules, cal-tex-buffer, cal-tex-24)
2328 (cal-tex-cursor-month-landscape, cal-tex-cursor-month)
2329 (cal-tex-cursor-week, cal-tex-cursor-week2)
2330 (cal-tex-cursor-week-iso, cal-tex-week-hours)
2331 (cal-tex-cursor-week-monday, cal-tex-weekly4-box)
2332 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2333 (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix.
2335 * calendar/cal-tex.el: Remove leading `*' from defcustom docs.
2336 (cal-tex-daily-string, cal-tex-daily-start, cal-tex-daily-end)
2337 (cal-tex-day-name-format, cal-tex-cal-one-month)
2338 (cal-tex-cal-multi-month, cal-tex-myday, cal-tex-preamble)
2339 (cal-tex-comment, cal-tex-nl, cal-tex-cmd, cal-tex-e-parbox)
2340 (cal-tex-mini-calendar, cal-tex-em): Doc fix.
2341 (cal-tex-list-holidays, cal-tex-cursor-year)
2342 (cal-tex-cursor-year-landscape, cal-tex-year)
2343 (cal-tex-cursor-filofax-year, cal-tex-cursor-month-landscape)
2344 (cal-tex-cursor-month, cal-tex-insert-days)
2345 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
2346 (cal-tex-first-blank-p, cal-tex-cursor-week)
2347 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2348 (cal-tex-week-hours, cal-tex-cursor-week-monday)
2349 (cal-tex-weekly4-box, cal-tex-cursor-filofax-2week)
2350 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily)
2351 (cal-tex-cursor-day, cal-tex-daily-page, cal-tex-mini-calendar)
2352 (cal-tex-latexify-list, cal-tex-previous-month)
2353 (cal-tex-next-month, cal-tex-insert-preamble): General tidy-up and
2354 modernization, including using dotimes rather than
2356 (cal-tex-LaTeX-subst-list): Remove `@'.
2357 (cal-tex-em, cal-tex-bf, cal-tex-Huge-bf, cal-tex-large-bf):
2358 Use \textit and \textbf rather than \em and \it.
2360 * calendar/cal-bahai.el (list-bahai-diary-entries)
2361 * calendar/cal-hebrew.el (list-hebrew-diary-entries)
2362 * calendar/cal-islam.el (list-islamic-diary-entries)
2363 * calendar/calendar.el (generate-calendar, generate-calendar-month)
2364 * calendar/diary-lib.el (diary-list-entries)
2365 (mark-calendar-date-pattern): Use `dotimes' rather than
2366 `calendar-for-loop'.
2368 * calendar/calendar.el (calendar-for-loop): Doc fix.
2370 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
2372 * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the
2373 underlying file is uptodate.
2375 2007-07-23 Christopher J. Madsen <cjm@cjmweb.net>
2377 * replace.el (perform-replace): Use isearch-no-upper-case-p.
2379 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * vc-hooks.el (vc-mode-line-map): New const.
2382 (vc-mode-line): Use it.
2384 2007-07-23 Alexandre Julliard <julliard@winehq.org>
2386 * vc-git.el (vc-git-delete-file, vc-git-rename-file)
2387 (vc-git-unregister): New functions.
2388 (vc-git-find-version): Use the result of ls-files as a parameter
2391 2007-07-23 Michael Albinus <michael.albinus@gmx.de>
2393 * net/tramp.el (tramp-perl-file-attributes)
2394 (tramp-perl-directory-files-and-attributes)
2395 (tramp-handle-file-attributes-with-stat)
2396 (tramp-handle-directory-files-and-attributes-with-stat)
2397 (tramp-convert-file-attributes): Handle huge file sizes.
2399 2007-07-23 Juri Linkov <juri@jurta.org>
2401 * isearch.el (isearch-message-function): New variable.
2402 (isearch-update, isearch-search): Use it.
2404 * simple.el (goto-history-element): New function created from
2405 next-history-element.
2406 (next-history-element): Most code moved to goto-history-element.
2407 Call goto-history-element with (- minibuffer-history-position n).
2408 (previous-history-element): Call goto-history-element with (+
2409 minibuffer-history-position n).
2410 (minibuffer-setup-hook): Add minibuffer-history-isearch-setup.
2411 (minibuffer-history-isearch-message-overlay): New buffer-local variable.
2412 (minibuffer-history-isearch-setup, minibuffer-history-isearch-end)
2413 (minibuffer-history-isearch-search, minibuffer-history-isearch-message)
2414 (minibuffer-history-isearch-wrap, minibuffer-history-isearch-push-state)
2415 (minibuffer-history-isearch-pop-state): New functions.
2417 2007-07-23 Thien-Thi Nguyen <ttn@gnuvola.org>
2419 * vc-hooks.el (vc-stay-local-p): Fix bug: Avoid remove-if-not.
2420 Also, if FILE is a list, return non-nil if any of its elements
2421 should stay local. Update docstring.
2423 2007-07-23 Stefan Monnier <monnier@iro.umontreal.ca>
2425 * emacs-lisp/copyright.el (copyright-update-year): Fix 2007-05-25
2426 change by reverting a small part.
2428 2007-07-23 Richard Stallman <rms@gnu.org>
2430 * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe.
2432 2007-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2434 * vc-git.el (vc-git-checkin): Delete unused parameter and the code
2435 handling it. Use vc-git-command.
2436 (vc-git-find-version, vc-git-diff-tree): New functions.
2437 (vc-git-revert): Use vc-git-command.
2438 (vc-git--run-command): Delete.
2440 2007-07-23 Alexandre Julliard <julliard@winehq.org>
2442 * vc-git.el (vc-git-workfile-unchanged-p): Update comment.
2444 2007-07-20 Kenichi Handa <handa@m17n.org>
2446 * international/utf-8.el (utf-8-post-read-conversion):
2447 Temporarily bind utf-8-compose-scripts to nil while running
2448 *-compose-region functions.
2450 2007-07-23 Dan Nicolaescu <dann@ics.uci.edu>
2452 * vc-git.el: Update status.
2453 (vc-directory-exclusion-list): Use eval-after-load.
2455 2007-07-22 Nick Roberts <nickrob@snap.net.nz>
2457 * bindings.el (mode-line-remote): New variable.
2458 (help-echo): Add to default values of mode-line-format.
2460 * files.el: Mark mode-line-remote as risky.
2462 2007-07-22 Juri Linkov <juri@jurta.org>
2464 * isearch.el (isearch-edit-string): Save old point and
2465 isearch-other-end to old-point and old-other-end before reading
2466 the search string from minibuffer. After exiting minibuffer set
2467 point to old-other-end if point and the search direction is the
2468 same as before reading the search string.
2469 (isearch-del-char): Don't set isearch-yank-flag to t. Put point
2470 to isearch-other-end. Instead of isearch-search-and-update call
2471 three functions isearch-search, isearch-push-state and isearch-update.
2473 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2475 * vc-git.el (vc-git-register, vc-git-checkin): Use vc-git-command,
2476 deal with multiple file arguments.
2477 (vc-git-print-log): Deal with multiple file arguments.
2479 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2481 * diff-mode.el (diff-refine-ignore-spaces-hunk): Rename from
2482 diff-refine-hunk. Adjust users.
2483 (diff-unified-hunk-p, diff-splittable-p): New functions.
2484 (diff-mode-menu): Use it to disable Split when it doesn't work.
2486 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2488 * diff-mode.el (diff-mode-menu): New entries.
2490 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2492 * diff-mode.el (diff-unified->context): Use the new `apply' undo entry
2493 if applicable, so as to save undo-log space.
2495 * diff-mode.el (diff-find-file-name): Add arg `batch'.
2497 * diff-mode.el (diff-beginning-of-file-and-junk): New function.
2498 (diff-file-kill): Use it.
2499 (diff-beginning-of-hunk): Add arg `try-harder' using it.
2500 (diff-restrict-view, diff-find-source-location, diff-refine-hunk):
2501 Use it so they find the hunk even when we're in the file header.
2503 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2505 * vc-git.el (vc-git-revision-granularity, vc-git-root)
2506 (vc-git-command, vc-git-dir-state, vc-git-dired-state-info)
2507 (vc-git-create-repo): New functions.
2508 (vc-git-registered): New autoloaded function definition.
2509 (vc-git-registered): Use vc-git-root.
2510 (vc-git-responsible-p): New defalias.
2511 (vc-git-annotate-extract-revision-at-line): Uncomment.
2512 (vc-git-print-log): Add the file name to the log.
2513 (vc-git-log-view-mode): New derived mode.
2514 (vc-git-diff, vc-git-annotate-command): Use vc-git-command.
2516 2007-07-22 Michael Albinus <michael.albinus@gmx.de>
2518 * progmodes/grep.el (grep-compute-defaults): Keep default values.
2520 2007-07-22 Ralf Angeli <angeli@caeruleus.net>
2522 * textmodes/reftex.el (reftex-access-parse-file): Create parse
2523 file in a way that does not interfere with recentf mode.
2524 (reftex-access-parse-file): Do not risk destroying an existing
2527 2007-07-22 Alexandre Julliard <julliard@winehq.org>
2529 * vc-git.el: New file.
2531 2007-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2533 * textmodes/tex-mode.el (tex-font-script-display): Change default.
2535 2007-07-22 Dan Nicolaescu <dann@ics.uci.edu>
2537 * vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips
2538 for branches and new files.
2540 * vc-hooks.el (vc-default-mode-line-string): Move mouse-face and
2541 local-map handling ...
2542 (vc-mode-line): ... here. Improve handling of help-echo.
2544 * vc.el (mode-line-string): Document help-echo usage.
2546 2007-07-22 Michael Albinus <michael.albinus@gmx.de>
2548 Sync with Tramp 2.1.10.
2550 * net/tramp.el (tramp-get-ls-command): Fix typo.
2552 * net/trampver.el: Update release number.
2554 2007-07-22 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
2556 * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon.
2558 * term/x-win.el (x-handle-no-bitmap-icon): New function.
2560 2007-07-22 Martin Rudalics <rudalics@gmx.at>
2562 * add-log.el (change-log-fill-parenthesized-list): New function.
2563 (change-log-indent): Call change-log-fill-parenthesized-list.
2564 (change-log-fill-paragraph): Bind fill-indent-according-to-mode to t.
2565 Have lines with leading asterisk start a paragraph.
2567 2007-07-21 Jay Belanger <jay.p.belanger@gmail.com>
2569 * calc/calc-math.el (math-emacs-precision)
2570 (math-largest-emacs-expt, math-smallest-emacs-expt):
2572 (math-use-emacs-fn): New function.
2573 (math-exp-raw): Evaluate with `math-use-emacs-fn', when
2576 2007-07-21 Thien-Thi Nguyen <ttn@gnuvola.org>
2578 * image-dired.el (image-dired-sane-db-file): New func.
2579 (image-dired-write-tags, image-dired-remove-tag)
2580 (image-dired-list-tags, image-dired-write-comments)
2581 (image-dired-get-comment, image-dired-mark-tagged-files)
2582 (image-dired-create-gallery-lists): Call new func.
2583 Reported by Dieter Wilhelm <dieter@duenenhof-wilhelm.de>.
2585 2007-07-21 Dan Nicolaescu <dann@ics.uci.edu>
2587 * vc-hg.el (vc-hg-dir-state): Fix loop.
2588 (vc-hg-print-log): Fix expected return value for vc-hg-command.
2589 (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file)
2590 (vc-hg-register, vc-hg-create-repo, vc-hg-checkin)
2591 (vc-hg-revert): Likewise.
2592 (vc-hg-revision-table, vc-hg-revision-completion-table): New
2595 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2597 * add-log.el (change-log-resolve-conflict): Don't lose data if the
2600 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
2602 * progmodes/compile.el (compilation-auto-jump-to-first-error):
2603 Add group and version.
2605 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2607 * add-log.el (add-log-file-name): Use file-relative-name.
2608 (add-change-log-entry): Delay reading
2609 add-log-(full-name|mailing-address) to after we've switched to the
2610 ChangeLog buffer so we get the right value.
2611 (add-change-log-entry, add-log-current-defun, change-log-merge):
2612 Use derived-mode-p rather than checking major-mode directly.
2614 * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory
2615 name for buffer-file-name if it refers to a directory.
2617 * vc-arch.el (vc-arch-diff): Fix last change.
2619 * progmodes/compile.el (compilation-start): Remember the original
2620 directory in a buffer-local compilation-directory.
2621 (compile): Set the global value of compilation-directory.
2622 (recompile): Use compilation-directory even in the compilation buffer.
2624 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
2626 * vc-hg.el (vc-hg-diff): Use vc-hg-command.
2628 2007-07-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2630 * ps-print.el: Problem with foreground and background color when
2631 printing a buffer with and without faces. Reported by Christian
2632 Schlauer <cs-muelleimer-rubbish.bin@arcor.de>.
2633 (ps-print-version): New version 6.7.5.
2634 (ps-default-fg): Change default value to nil, so black color is used
2635 when a face does not specify a foreground color.
2636 (ps-default-bg): Change default value to nil, so white color is used
2637 for background color.
2638 (ps-begin-job): Fix code.
2640 2007-07-20 Eli Zaretskii <eliz@gnu.org>
2642 * makefile.w32-in (install-lisp-SH): Don't create subdirectories
2643 in $(INSTALL_DIR)/lisp/ if they already exist.
2645 2007-07-20 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
2647 * makefile.w32-in (install-lisp-CMD): Don't create subdirectories
2648 in $(INSTALL_DIR)/lisp/ if they already exist.
2650 2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2652 * progmodes/vera-mode.el (vera-re-search-forward)
2653 (vera-re-search-backward): Remove use of store-match-data.
2654 (vera-mode-map): Move initialization into declaration.
2656 * progmodes/flymake.el (flymake-buildfile-dirs): Remove.
2657 (flymake-find-buildfile): Use locate-dominating-file.
2659 * vc.el (vc-delistify): Use mapconcat.
2660 (vc-do-command): Minor simplification.
2661 (vc-expand-dirs): Use push.
2663 * vc-mcvs.el (vc-mcvs-create-repo):
2664 * vc-cvs.el (vc-cvs-create-repo): Remove.
2666 * vc-hooks.el (vc-find-root): Fix case where `file' is the current
2667 directory and the root as well.
2669 2007-07-20 Dan Nicolaescu <dann@ics.uci.edu>
2671 * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list
2674 * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
2675 (vc-hg-registered): Replace if with when.
2676 (vc-hg-state): Deal with nonexistent files and handle removed files.
2677 (vc-hg-dir-state, vc-hg-dired-state-info): New functions.
2678 (vc-hg-checkout): Re-enable.
2679 (vc-hg-create-repo): Fix typos.
2680 (vc-hg-print-log): Fix for multiple files.
2681 (vc-hg-workfile-unchanged-p): New function.
2684 (vc-print-log): Fix call to print-log.
2685 (vc-default-comment-history): Likewise.
2686 (vc-directory-exclusion-list): Add .hg and .bzr.
2687 (vc-diff-internal): Pass a list instead of a file.
2689 * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
2691 * vc-bzr.el (vc-bzr-create-repo): New function.
2693 2007-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2695 * vc-hooks.el (vc-find-root): Walk up the tree to find an existing
2696 `file' from which to start the search.
2698 2007-07-19 Eric S. Raymond <esr@snark.thyrsus.com>
2700 * vc-cvs.el (vc-cvs-checkin, vc-cvs-diff): Finish transition from
2701 having a single file argument to having a list of files as the
2704 2007-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2706 * files.el (locate-dominating-file): New function.
2708 2007-07-18 Michael Albinus <michael.albinus@gmx.de>
2710 * progmodes/grep.el (grep-host-defaults-alist): New defvar.
2711 (grep-compute-defaults): Use it.
2713 2007-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * uniquify.el: Docstring fixes.
2717 2007-07-18 Eric S. Raymond <esr@snark.thyrsus.com>
2719 * vc.el (revision-granularity, create-repo): Document new vc
2721 (vc-rollback): Renamed from vc-cancel-version. Update
2722 references. Pass a list instead of a file.
2723 (vc-revert): Renamed from vc-revert-buffer. Update references.
2724 (vc-delistify, vc-expand-dirs): New functions.
2725 (vc-do-command): Rename FILE to FILE-OR-LIST and deal with a list
2726 of files instead of a single file.
2727 (vc-position-context, vc-resync-window, vc-diff-internal)
2728 (vc-print-log): Pass a list instead of a file.
2730 * vc-hooks.el (vc-stay-local-p, vc-backend)
2731 (vc-backend-subdirectory-name): Work on a file list, not a single
2733 (vc-workfile-version): Update docstring.
2734 (vc-menu-map): Use vc-rollback instead of vc-cancel-version and
2735 vc-revert instead of vc-revert-buffer.
2736 (vc-prefix-map): Likewise. Bind vc-update.
2738 * vc-svn.el (vc-svn-revision-granularity, vc-svn-create-repo)
2739 (vc-svn-wash-log): New functions.
2740 (vc-svn-register, vc-svn-checkin, vc-svn-print-log)
2741 (vc-svn-command): Deal with a list of files, not a single file.
2743 * vc-rcs.el (vc-rcs-revision-granularity, vc-rcs-create-repo)
2744 (vc-rcs-wash-log): New functions.
2745 (vc-rcs-register, vc-rcs-checkin, vc-rcs-diff, vc-rcs-print-log):
2746 Deal with a list of files, not a single file.
2747 (vc-rcs-rollback): Likewise. Rename from vc-rcs-cancel-version.
2749 * vc-sccs.el (vc-sccs-revision-granularity, vc-sccs-wash-log): New
2751 (vc-sccs-register, vc-sccs-checkin, vc-sccs-diff): Deal with a
2752 list of files, not a single file.
2754 * vc-mcvs.el (vc-mcvs-revision-granularity, vc-mcvs-create-repo):
2756 (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-print-log)
2757 (vc-mcvs-diff): Deal with a list of files, not a single file.
2759 * vc-hg.el (vc-hg-revision-granularity, vc-hg-create-repo): New
2761 (vc-hg-print-log): Deal with a list of files, not a single file.
2762 (vc-hg-diff-tree): New function, replace defalias with the same
2764 (vc-hg-register, vc-hg-checkin, vc-hg-command): Rename FILE to
2765 FILES to denote that it is a file list, not a single file.
2767 * vc-cvs.el (vc-cvs-create-repo, vc-cvs-wash-log): New functions.
2768 (vc-cvs-register, vc-cvs-checkin): Deal with a list of files, not
2770 (vc-cvs-print-log, vc-cvs-command): Rename FILE to FILES to denote
2771 that it is a file list, not a single file.
2772 (vc-cvs-diff): Likewise. Simplify.
2774 * vc-arch.el (vc-arch-register, vc-arch-checkin, vc-arch-diff):
2775 Deal with a list of files, not a single file.
2777 * vc-bzr.el (vc-bzr-register, vc-bzr-command, vc-bzr-checkin)
2778 (vc-bzr-print-log): Update FILE parameter name to denote that it
2779 is a file list, not a single file.
2780 (vc-bzr-diff): Likewise. Use the car of files.
2782 2007-07-18 Juanma Barranquero <lekktu@gmail.com>
2784 * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode)
2785 (follow-delete-other-windows-and-split, follow-recenter)
2786 (follow-windows-aligned-p, follow-point-visible-all-windows-p)
2787 (follow-redisplay, follow-estimate-first-window-start)
2788 (follow-xemacs-scrollbar-support, follow-intercept-process-output):
2789 Fix typos in docstrings.
2791 2007-07-18 Martin Rudalics <rudalics@gmx.at>
2793 * add-log.el (change-log-mode): Use fill-nobreak-predicate to
2794 avoid that filling introduces lines with a single asterisk.
2796 * kmacro.el (kmacro-end-macro): When ignoring empty macro
2797 avoid incorrect kmacro-ring-empty-p messages.
2798 Reported by Michael Schierl <schierlm@gmx.de>.
2800 2007-07-17 Dan Nicolaescu <dann@ics.uci.edu>
2802 * vc.el: Add more info about the vc-registered function.
2804 2007-07-17 Michael Albinus <michael.albinus@gmx.de>
2806 * files.el (file-remote-p): Introduce optional parameter
2809 * recentf.el (recentf-keep-default-predicate): Adapt call of
2812 * progmodes/grep.el (grep-probe): Use `process-file'.
2813 (grep-compute-defaults): Handle variables host specific.
2815 * net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional
2816 parameter IDENTIFICATION.
2818 * net/tramp.el (tramp-handle-file-remote-p): Handle optional
2819 parameter IDENTIFICATION.
2820 (tramp-handle-set-file-times): New defun. Replaces `tramp-touch'.
2821 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
2822 Add entry for `set-file-times'.
2823 (tramp-do-copy-or-rename-file-via-buffer)
2824 (tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'.
2825 (tramp-handle-unhandled-file-name-directory): Rewrite.
2826 (tramp-convert-file-attributes): Add error handling when inode is
2828 (tramp-get-inode): Change parameter from FILE to VEC.
2829 (tramp-handle-start-file-process): Use (current-buffer) if BUFFER
2830 is nil. This is according to the specification. Goto (point-max)
2832 (tramp-handle-shell-command): Rewrite completely, using
2833 `process-file' and `start-file-process'.
2834 (tramp-methods, tramp-find-shell)
2835 (tramp-open-connection-setup-interactive-shell)
2836 (tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell
2837 var. Reported by Steve Youngs <steve@sxemacs.org>.
2839 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add
2840 entry for `set-file-times'. Rename `start-process' into
2841 `start-file-process'. Remove `call-process' entry.
2842 (tramp-fish-handle-set-file-times): New defun.
2843 (tramp-fish-handle-executable-find): Use `process-file'.
2844 (tramp-fish-handle-process-file): New defun. Replaces
2845 `tramp-fish-handle-call-process'.
2846 (tramp-fish-do-copy-or-rename-file-directly): Use
2848 (tramp-fish-get-file-entries): Change `tramp-get-inode' parameter.
2850 * net/tramp-smb.el (tramp-smb-handle-file-attributes): Change
2851 `tramp-get-inode' parameter.
2853 2007-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2855 * vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version)
2856 (vc-bzr-post-command-function): Remove. Version 0.8 is already old
2857 nowadays, and by the time Emacs-23 comes out, nobody will even remember
2858 it has ever existed.
2860 2007-07-17 Dan Nicolaescu <dann@ics.uci.edu>
2862 * vc.el: Undo previous change.
2864 2007-07-16 Eli Zaretskii <eliz@gnu.org>
2866 * makefile.w32-in (clean): Don't delete *~.
2868 2007-07-16 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * textmodes/tex-mode.el (tex-verbatim-environments):
2871 Add safe-local-variable property.
2872 (tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
2873 when starting font-lock rather than when loading tex-mode.el.
2875 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
2876 whole $( rather than just the $. Rename from sh-quoted-subshell.
2877 (sh-font-lock-syntactic-keywords): Adjust call accordingly.
2879 2007-07-16 Thien-Thi Nguyen <ttn@gnuvola.org>
2881 * bookmark.el (bookmark-maybe-sort-alist): Don't modify
2882 bookmark-alist. Instead, if not sorting, simply return it.
2883 (bookmark-bmenu-list): Call bookmark-maybe-sort-alist
2884 for its return value, not for its side effect.
2886 * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the
2887 case of alignment under a constant symbol, find and consider
2888 the sexp actually at indentation to be the "last sexp".
2890 2007-07-16 Drew Adams <drew.adams@oracle.com>
2892 * mouse.el (mouse-yank-secondary): Better error message if no
2893 secondary selection.
2895 2007-07-16 Dan Nicolaescu <dann@ics.uci.edu>
2897 * vc-hooks.el (vc-handled-backends): Move BZR later in the list.
2899 * term/xterm.el (xterm-turn-on-modify-other-keys)
2900 (xterm-turn-off-modify-other-keys): New functions.
2901 (terminal-init-xterm): Enable the modifyOtherKeys feature if the
2902 terminal supports it.
2904 2007-07-16 Thien-Thi Nguyen <ttn@gnuvola.org>
2906 * bookmark.el (bookmark-show-all-annotations):
2907 Make sure each inserted annotation ends with newline.
2909 2007-07-15 Richard Stallman <rms@gnu.org>
2911 * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys.
2913 * tutorial.el (tutorial--find-changed-keys):
2914 Handle C-x specially like ESC.
2916 2007-07-15 Aaron Hawley <aaronh@garden.org>
2918 * tar-mode.el (tar-get-descriptor): No error for zero-length file.
2920 2007-07-15 Juri Linkov <juri@jurta.org>
2922 * delsel.el (delete-selection-pre-hook):
2923 * emulation/cua-base.el (cua-paste): Before a yank command,
2924 check also whether last-command is one of mouse-save-then-kill,
2925 mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region.
2927 2007-07-15 Michael Albinus <michael.albinus@gmx.de>
2929 * recentf.el (recentf-keep-default-predicate): New defun.
2930 (recentf-keep): Use it as initial value.
2932 2007-07-15 Karl Fogel <kfogel@red-bean.com>
2934 * bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com,
2935 thus restoring bookmark bindings to three slots under C-x r. See
2936 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.
2938 2007-07-15 Jeff Miller <jmiller@cablespeed.com> (tiny change)
2940 * calendar/calendar.el (calendar-goto-bahai-date): Autoload it.
2942 2007-07-15 Jason Rumney <jasonr@gnu.org>
2944 * w32-fns.el (set-default-process-coding-system): Use dos line ends
2945 for input to cmdproxy on all versions of Windows.
2946 Use dos line ends for input to plink.
2948 * comint.el (comint-simple-send): Concat newline before sending.
2949 (comint-password-prompt-regexp): Recognize plink's passphrase prompt.
2951 2007-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
2953 * emacs-lisp/autoload.el (generated-autoload-file): Autoload the
2954 safe-local-variable setting.
2956 2007-07-14 David Kastrup <dak@gnu.org>
2958 * emacs-lisp/advice.el (defadvice): Doc fix.
2960 2007-07-14 Juanma Barranquero <lekktu@gmail.com>
2962 * subr.el (when, unless): Doc fix.
2964 2007-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2966 * replace.el (match): Use yellow1 instead of yellow.
2968 * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of red.
2970 * pcvs-info.el (cvs-unknown): Likewise.
2972 2007-07-13 Eli Zaretskii <eliz@gnu.org>
2974 * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets.
2975 (install): Use them to copy all *.el files before *.elc.
2977 2007-07-13 Drew Adams <drew.adams@oracle.com>
2979 * bookmark.el (bookmark-jump-other-window): New function.
2980 (bookmark-map): Bind it to "o".
2982 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html
2983 and its thread contains discussion about this change.
2984 The original patch was slightly tweaked by Karl Fogel
2985 <kfogel@red-bean.com> before committing.
2987 2007-07-13 Karl Fogel <kfogel@red-bean.com>
2989 * bookmark.el: Shorten some comments to fit within 80 lines.
2991 2007-07-13 Karl Fogel <kfogel@red-bean.com>
2993 * bookmark.el: Don't define bookmark keys under the "C-xr" map;
2994 instead, make "C-xp" a prefix for bookmark-map. Patch by Drew
2995 Adams <drew.adams@oracle.com>, mildly tweaked by me. See
2996 http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.
2998 2007-07-13 Carsten Dominik <dominik@science.uva.nl>
3000 * textmodes/org.el: Bug fixes.
3001 (org-end-of-line): Move to end of line if in headline without tags.
3003 2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca>
3005 * vc-hooks.el: Remove spurious * in docstrings.
3006 (vc-handled-backends): Add BZR.
3008 * vc-hooks.el (vc-find-file-hook): Use with-demoted-errors.
3010 2007-07-12 Davis Herring <herring@lanl.gov>
3012 * desktop.el (desktop-buffer-info, desktop-save):
3013 Use `desktop-dirname' instead of `dirname'.
3015 2007-07-12 Paul Pogonyshev <pogonyshev@gmx.net>
3017 * progmodes/which-func.el (which-func-modes): Add `python-mode'.
3019 * progmodes/python.el (python-which-func-length-limit): New var.
3020 (python-which-func): New function.
3021 (python-current-defun): Add optional `length-limit' and try to fit
3022 computed function name to that length.
3023 (python-mode): Hook `python-which-func' up.
3025 2007-07-12 Sean O'Rourke <sorourke@cs.ucsd.edu> (tiny change)
3027 * pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case.
3029 * comint.el (comint-dynamic-complete-as-filename):
3030 Use read-file-name-completion-ignore-case.
3032 2007-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * comint.el (comint-dynamic-list-filename-completions):
3035 Use read-file-name-completion-ignore-case.
3037 * vc-cvs.el: Require CL.
3038 (vc-cvs-revision-table, vc-cvs-revision-completion-table):
3039 New functions to provide completion of revision names.
3041 * vc-cvs.el (vc-functions): Clear up the cache when reloading the file.
3042 (vc-cvs-annotate-first-line-re): New const.
3043 (vc-cvs-annotate-process-filter): New fun.
3044 (vc-cvs-annotate-command): Use them and run the command asynchronously.
3046 2007-07-12 Paul Pogonyshev <pogonyshev@gmx.net>
3048 * emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation.
3049 (eldoc-print-current-symbol-info): Adjust for changed helper
3050 function signatures.
3051 (eldoc-get-fnsym-args-string): Add `args' argument. Use new
3052 `eldoc-highlight-function-argument'.
3053 (eldoc-highlight-function-argument): New function.
3054 (eldoc-get-var-docstring): Format documentation with
3055 `font-lock-variable-name-face'.
3056 (eldoc-docstring-format-sym-doc): Add `face' argument and apply it
3058 (eldoc-fnsym-in-current-sexp): Return a list with argument index.
3059 (eldoc-beginning-of-sexp): Return number of skipped sexps.
3061 2007-07-11 Michael Albinus <michael.albinus@gmx.de>
3063 * progmodes/compile.el (compilation-start): `start-process' must
3064 still be redefined when calling `start-process-shell-command'.
3066 * progmodes/gud.el (gud-file-name): When `default-directory' is a
3067 remote file name, prepend its remote part to the filename.
3068 (gud-common-init): When `default-directory' is a remote file name,
3069 make the filename relative to it.
3070 Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
3072 2007-07-11 Dan Nicolaescu <dann@ics.uci.edu>
3074 * vc-hooks.el (vc-default-mode-line-string): Add a mouse face,
3075 mouse binding and a tooltip.
3077 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * menu-bar.el (vc-menu-map): New defalias.
3081 2007-07-10 Richard Stallman <rms@gnu.org>
3083 * emacs-lisp/lisp-mode.el (eval-defun):
3084 Explain special handling of `defface'.
3086 2007-07-10 Jim Meyering <jim@meyering.net> (tiny change)
3088 * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.
3090 * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.
3092 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3094 * emacs-lisp/cl.el: Load cl-loaddefs.el quietly.
3096 * vc-arch.el (vc-arch-complete): Remove.
3097 (vc-arch-revision-completion-table): Use complete-with-action.
3099 * subr.el (condition-case-no-debug, with-demoted-errors): New macros.
3100 (complete-with-action): New function.
3101 (dynamic-completion-table): Use it.
3103 2007-07-10 Michael Albinus <michael.albinus@gmx.de>
3105 * comint.el (make-comint, make-comint-in-buffer)
3106 (comint-exec-1): Replace `start-process' by `start-file-process'.
3108 * progmodes/compile.el (compilation-start): Revert redefining
3111 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3113 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful
3114 with EOLs when generating MD5 checksums.
3116 * follow.el: Don't change the global map from the follow-mode-map
3117 defvar, but from the toplevel. Use easy-menu to unify the Emacs and
3119 (turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
3120 since `follow-mode' should be used instead for that.
3122 * emacs-lisp/easymenu.el (easy-menu-binding): New function.
3123 (easy-menu-do-define): Use it.
3124 (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove.
3126 * progmodes/compile.el (compilation-auto-jump-to-first-error)
3127 (compilation-auto-jump-to-next): New vars.
3128 (compilation-auto-jump): New function.
3129 (compilation-error-properties): Use them to jump to first error.
3130 (compilation-start): Set the var if requested.
3132 * emacs-lisp/autoload.el (update-directory-autoloads): Remove
3133 duplicates without also removing entries from other directories.
3135 2007-07-10 Carsten Dominik <dominik@science.uva.nl>
3137 * textmodes/org.el (org-agenda-day-view, org-agenda-week-view):
3138 Remember span as default.
3139 (org-columns-edit-value): Rename from `org-column-edit'.
3140 (org-columns-display-here-title): Rename from
3141 `org-overlay-columns-title'.
3142 (org-columns-remove-overlays): Rename from org-remove-column-overlays.
3143 (org-columns-get-autowidth-alist): Rename from
3144 `org-get-columns-autowidth-alist'.
3145 (org-columns-display-here): Rename from `org-overlay-columns'.
3146 (org-columns-new-overlay): Rename from `org-new-column-overlay'.
3147 (org-columns-quit): Rename from `org-column-quit'.
3148 (org-columns-show-value): Rename from `org-column-show-value'.
3149 (org-columns-content, org-columns-widen)
3150 (org-columns-next-allowed-value)
3151 (org-columns-edit-allowed, org-columns-store-format)
3152 (org-columns-uncompile-format, org-columns-redo)
3153 (org-columns-edit-attributes, org-delete-property)
3154 (org-set-property, org-columns-update)
3155 (org-columns-compute, org-columns-eval)
3156 (org-columns-not-in-agenda, org-columns-compute-all)
3157 (org-property-next-allowed-value)
3158 (org-columns-compile-format)
3159 (org-fill-paragraph-experimental)
3160 (org-string-to-number, org-property-action)
3161 (org-columns-move-left, org-columns-new)
3162 (org-column-number-to-string)
3163 (org-property-previous-allowed-value)
3164 (org-at-property-p, org-columns-delete)
3165 (org-columns-previous-allowed-value)
3166 (org-columns-move-right, org-columns-narrow)
3167 (org-property-get-allowed-values)
3168 (org-verify-version, org-column-string-to-number)
3169 (org-delete-property-globally): New functions.
3170 (org-columns-current-fmt): Rename from `org-current-columns-fmt'.
3171 (org-columns-overlays): Rename from `org-column-overlays'.
3172 (org-columns-map): Rename from `org-column-map'.
3173 (org-columns-current-maxwidths): Rename from
3174 `org-current-columns-maxwidths'.
3175 (org-columns-begin-marker, org-columns-current-fmt-compiled)
3176 (org-previous-header-line-format)
3177 (org-columns-inhibit-recalculation)
3178 (org-columns-top-level-marker): New variables.
3179 (org-columns-default-format): Rename from `org-default-columns-format'.
3180 (org-property-re): New constant.
3182 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com>
3184 * subr.el (looking-at-p, string-match-p): New functions.
3186 2007-07-09 Reiner Steib <Reiner.Steib@gmx.de>
3188 * textmodes/tex-mode.el (tex-fontify-script)
3189 (tex-font-script-display): New variables to make display of
3190 superscripts and subscripts customizable.
3191 (tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
3193 2007-07-09 Richard Stallman <rms@gnu.org>
3195 * isearch.el (isearch-edit-string): Call to isearch-push-state
3198 2007-07-09 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
3200 * window.el (fit-window-to-buffer): Remove setting of window-min-height
3201 to 1 as enlarge-window uses the value to resize/shrink windows other
3202 than WINDOW if needed.
3204 2007-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
3206 * cus-start.el (file-coding-system-alist): Fix custom type.
3208 2007-07-08 Chong Yidong <cyd@stupidchicken.com>
3210 * longlines.el (longlines-wrap-region): Avoid marking buffer as
3212 (longlines-auto-wrap, longlines-window-change-function):
3213 Remove unnecessary calls to set-buffer-modified-p.
3215 2007-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
3217 * cus-start.el (file-coding-system-alist): Fix custom type.
3219 2007-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3221 * vc-cvs.el (vc-cvs-revert): Use vc-default-revert.
3222 (vc-cvs-checkout): Remove last arg now unused; simplify.
3224 2007-07-08 Michael Albinus <michael.albinus@gmx.de>
3226 * files.el (file-remote-p): Introduce optional parameter CONNECTED.
3232 * net/trampver.el: Migrate to Tramp 2.1.
3234 * net/tramp-cache.el:
3235 * net/tramp-fish.el:
3236 * net/tramp-gw.el: New Tramp packages.
3238 * net/tramp-util.el:
3239 * net/tramp-vc.el: Removed.
3241 * net/ange-ftp.el: Add ange-ftp property to 'start-file-process.
3242 (ange-ftp-file-remote-p): Handle optional parameter CONNECTED.
3244 * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.
3246 * progmodes/compile.el (compilation-start): Redefine
3247 `start-process' temporarily when `default-directory' is remote.
3248 Remove case of synchronous compilation, this won't happen ever.
3249 (compilation-setup): Make local variable `comint-file-name-prefix'
3250 for remote compilation.
3252 2007-07-08 Martin Rudalics <rudalics@gmx.at>
3254 * novice.el (disabled-command-function): Fit window to buffer to
3255 make last line visible.
3256 Reported by Stephen Berman <Stephen.Berman at gmx.net>.
3258 * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
3259 when handling the terminating event.
3261 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com>
3263 * calc/calc.el (math-read-number-simple): Remove leading 0s.
3264 (math-bignum-digit-length): Change to optimal value.
3266 * calc/calc-bin.el (math-bignum-logb-digit-size)
3267 (math-bignum-digit-power-of-two): Evaluate when compiled.
3269 * calc/calc-comb.el (math-small-factorial-table)
3270 (math-init-random-base, math-prime-test): Remove unnecessary calls
3271 to `math-read-number-simple'.
3273 * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e)
3274 (math-approx-gamma-const): Add docstrings.
3276 * calc/calc-forms.el (math-julian-date-beginning)
3277 (math-julian-date-beginning-int): New constants.
3278 (math-format-date-part, math-parse-standard-date, calcFunc-julian):
3279 Use the new constants.
3281 * calc/calc-funcs.el (math-gammap1-raw): Add docstring.
3283 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
3286 2007-07-07 Tom Tromey <tromey@redhat.com>
3288 * vc.el (vc-annotate): Jump to line and output message only after the
3289 process is really all done.
3291 2007-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3293 * vc.el (vc-exec-after): Don't move point from the sentinel.
3294 Forcefully read all the remaining text in the pipe upon process exit.
3295 (vc-annotate-display-autoscale, vc-annotate-lines):
3296 Don't stop at the first unrecognized line.
3297 (vc-annotate-display-select): Run autoscale after the process is done
3298 since it depends on the whole result.
3300 2007-07-07 Eli Zaretskii <eliz@gnu.org>
3302 * term/w32-win.el (menu-bar-open): New function.
3305 2007-07-07 Michael Albinus <michael.albinus@gmx.de>
3307 * simple.el (start-file-process): New defun.
3309 2007-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3311 * files.el (find-file-confirm-nonexistent-file): Rename from
3312 find-file-confirm-inexistent-file. Update users.
3314 * emacs-lisp/autoload.el (autoload-find-destination): Understand a new
3315 format of autoload block where the file's time-stamp is replaced by its
3317 (autoload-generate-file-autoloads): Use MD5 checksum instead of
3318 time-stamp for secondary autoloads files.
3319 (update-directory-autoloads): Remove duplicate entries.
3320 Use time-less-p for time-stamps, as done in autoload-find-destination.
3322 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com>
3324 * calc/calc.el (math-read-number): Replace number by variable.
3325 (math-read-number-simple): Properly parse small integers.
3327 2007-07-07 Dan Nicolaescu <dann@ics.uci.edu>
3329 * vc.el: Fix doc for the checkout function.
3331 2007-07-06 Dan Nicolaescu <dann@ics.uci.edu>
3333 * vc-hg.el (vc-hg-root): New function.
3334 (vc-hg-registered): Use it.
3335 (vc-hg-diff-tree): New defalias.
3336 (vc-hg-responsible-p): Likewise.
3337 (vc-hg-checkout): Comment out, not needed.
3338 (vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register)
3339 (vc-hg-find-version, vc-hg-next-version): New functions.
3341 2007-07-06 Andreas Schwab <schwab@suse.de>
3343 * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any
3344 dynamic bindings around the evaluation of the expression.
3345 Reported by Jay Belanger <jay.p.belanger@gmail.com>.
3347 2007-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3349 * autorevert.el (auto-revert-tail-handler): Use inhibit-read-only.
3350 Run before-revert-hook. Suggested by Denis Bueno <denbuen@sandia.gov>.
3351 Use run-hooks rather than run-mode-hooks.
3353 2007-07-05 Jay Belanger <jay.p.belanger@gmail.com>
3355 * calc/calc-comb.el (math-random-digit): Rename to
3356 `math-random-three-digit-number'.
3357 (math-random-digits): Don't depend on representation of integer.
3359 * calc/calc-bin.el (math-bignum-logb-digit-size)
3360 (math-bignum-digit-power-of-two): New constants.
3361 (math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum)
3362 (math-not-bignum, math-clip-bignum): Use the constants
3363 `math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size'
3364 instead of their values.
3365 (math-clip): Use math-small-integer-size instead of its value.
3367 * calc/calc.el (math-add-bignum): Replace number by constant.
3369 2007-07-05 Chong Yidong <cyd@stupidchicken.com>
3371 * wid-edit.el (widget-documentation-string-value-create):
3372 Insert indentation spaces.
3374 2007-07-05 Thien-Thi Nguyen <ttn@gnuvola.org>
3376 * emacs-lisp/byte-opt.el: Revert last change.
3378 2007-07-05 Dan Nicolaescu <dann@ics.uci.edu>
3380 * vc-hooks.el (vc-handled-backends): Add HG.
3382 * vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now.
3384 2007-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3386 * complete.el (PC-do-complete-and-exit): Add support for the new
3387 `confirm-only' confirmation mode.
3389 2007-07-05 Chong Yidong <cyd@stupidchicken.com>
3391 * cus-edit.el (custom-commands): New variable.
3392 (custom-tool-bar-map): New variable. Initialize using
3394 (custom-mode): Use `custom-tool-bar-map'.
3395 (custom-buffer-create-internal): Insert action buttons only if
3396 tool bar is not used. Use `custom-commands'.
3397 (Custom-help, custom-command-apply): New function.
3398 (custom-command-apply, Custom-set, Custom-save)
3399 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
3400 Use `custom-command-apply' instead of duplicating code.
3401 (customize-group-other-window): Call `customize-group' instead of
3403 (customize-face-other-window): Call `customize-face' instead of
3405 (customize-group, customize-face): Add optional args for opening
3407 (custom-variable-tag): Don't inherit `variable-pitch' face.
3408 (custom-group-tag): Inherit `variable-pitch' face.
3409 (custom-variable-value-create): Set documentation indentation.
3410 (custom-group-value-create): Make group name a link, instead of
3411 using an extra "go to group" button.
3412 (custom-prompt-variable, custom-group-set, custom-group-save)
3413 (custom-group-reset-current, custom-group-reset-saved)
3414 (custom-group-reset-standard): Minor cleanup.
3416 2007-07-05 Thien-Thi Nguyen <ttn@gnuvola.org>
3418 * Makefile.in (bootstrap-prepare): When copying from
3419 ldefs-boot.el, make sure loaddefs.el is writeable.
3421 (bootstrap-prepare): Make $(lisp)/ps-print.el
3422 and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well.
3424 2007-07-05 Dan Nicolaescu <dann@ics.uci.edu>
3426 * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the
3427 only caller, and delete.
3428 (vc-hg-state): Deal with exceptions and only parse the output on
3430 (vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only
3432 (vc-hg-workfile-version): Deal with exceptions and only parse the
3433 output on successful return.
3434 (vc-hg-revert): New function.
3436 2007-07-04 Jay Belanger <jay.p.belanger@gmail.com>
3438 * calculator.el (calculator-expt): Use more cases to determine
3441 2007-07-03 Dan Nicolaescu <dann@ics.uci.edu>
3443 * progmodes/gud.el (auto-mode-alist): Match more valid gdb init
3446 2007-07-03 Jay Belanger <jay.p.belanger@gmail.com>
3448 * calculator.el (calculator-expt, calculator-integer-p):
3450 (calculator-fact): Check to see if the factorial will be too
3451 large before computing it.
3452 (calculator-initial-operators): Use `calculator-expt' to
3454 (calculator-mode): Mention that results which are too large
3456 * calc/calc-comb.el (math-small-factorial-table): Replace list
3459 2007-07-03 David Kastrup <dak@gnu.org>
3461 * shell.el: On request of the authors, remove their addresses for
3462 the sake of bug reports, and add the developer list address as
3463 maintainer information.
3465 2007-07-03 Richard Stallman <rms@gnu.org>
3467 * files.el (make-directory): Doc fix.
3468 (find-file-confirm-inexistent-file): Make it a defcustom.
3469 Make nil the default.
3471 2007-07-02 Richard Stallman <rms@gnu.org>
3473 * startup.el (command-line): Set buffer-offer-save in *scratch*
3474 and enable auto-save in it.
3476 2007-07-02 Carsten Dominik <dominik@science.uva.nl>
3478 * textmodes/org.el (orgstruct-mode-map): New variable.
3479 (orgstruct-mode): New minor mode.
3480 (turn-on-orgstruct, orgstruct-error, orgstruct-setup)
3481 (orgstruct-make-binding, org-context-p, org-get-local-variables)
3482 (org-run-like-in-org-mode): New functions.
3483 (org-cycle-list-bullet): New command.
3484 (org-special-properties, org-property-start-re)
3485 (org-property-end-re): New constants.
3486 (org-with-point-at): New macro.
3487 (org-get-property-block, org-entry-properties, org-entry-get)
3488 (org-entry-delete, org-entry-get-with-inheritance)
3489 (org-entry-put, org-buffer-property-keys): New functions.
3490 (org-insert-property-drawer): New command.
3491 (org-entry-property-inherited-from): New variable.
3492 (org-column): New face.
3493 (org-column-overlays, org-current-columns-fmt)
3494 (org-current-columns-maxwidths, org-column-map): New variables.
3495 (org-column-menu): New menu.
3496 (org-new-column-overlay, org-overlay-columns)
3497 (org-overlay-columns-title, org-remove-column-overlays)
3498 (org-column-show-value, org-column-quit, org-column-edit): New
3500 (org-columns, org-agenda-columns): New commands.
3501 (org-get-columns-autowidth-alist): New functions.
3502 (org-properties): New customize group.
3503 (org-default-columns-format): New option.
3504 (org-priority): Realign tags after changing priority.
3505 (org-preserve-lc): New macro.
3506 (org-update-checkbox-count): Catch case when there is no headline.
3507 (org-agenda-quit): Remove any column overlays.
3508 (org-beginning-of-item-list): Fixed bug when non-item line is
3510 (org-cached-props): New variable.
3511 (org-cached-entry-get): New function.
3512 (org-make-tags-matcher): Handle property matches.
3513 (org-table-recalculate): Swap evaluation order: Field formula
3514 first, then column formulas, but don't allow them to overwrite the
3516 (org-table-eval-formula): New argument untouchable.
3517 (org-table-put-field-property): New function.
3519 2007-07-02 Martin Rudalics <rudalics@gmx.at>
3521 * help-mode.el (help-make-xrefs): Skip spaces too when
3524 * ffap.el (dired-at-point-prompter): Improve prompt in
3525 list-directory case.
3527 2007-07-01 Richard Stallman <rms@gnu.org>
3529 * files.el (find-file-visit-truename): Fix safe-local-variable value.
3531 2007-07-01 Richard Stallman <rms@gnu.org>
3533 * cus-start.el (max-mini-window-height): Added.
3535 2007-07-01 Sean O'Rourke <sorourke@cs.ucsd.edu> (tiny change)
3537 * complete.el (partial-completion-mode): Remove advice of
3538 read-file-name-internal.
3539 (PC-do-completion): Rebind minibuffer-completion-table.
3540 (PC-read-file-name-internal): New function doing what
3541 read-file-name-internal advice did.
3543 2007-07-01 Paul Pogonyshev <pogonyshev@gmx.net>
3545 * emacs-lisp/byte-opt.el: Set `binding-is-magic'
3546 property on a few symbols.
3547 (byte-compile-side-effect-free-dynamically-safe-ops): New defconst.
3548 (byte-optimize-lapcode): Remove bindings that are not referenced
3549 and certainly will not effect through dynamic scoping.
3551 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * files.el (find-file-confirm-inexistent-file): New var.
3554 (find-file, find-file-other-window, find-file-other-frame)
3555 (find-file-read-only, find-file-read-only-other-window)
3556 (find-file-read-only-other-frame): Use it.
3558 2007-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * emacs-lisp/rx.el (rx-constituents): Fix up `anything'.
3562 2007-06-29 Juanma Barranquero <lekktu@gmail.com>
3564 * generic-x.el (generic-define-mswindows-modes)
3565 (generic-define-unix-modes, apache-log-generic-mode)
3566 (bat-generic-mode-keymap, java-manifest-generic-mode)
3567 (show-tabs-generic-mode): Fix typos in docstrings.
3569 2007-06-29 Ryan Yeske <rcyeske@gmail.com>
3571 * net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections.
3572 (rcirc-default-full-name): Rename from rcirc-default-user-full-name.
3573 (rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified.
3574 (rcirc-print): Never ignore messages from ourself.
3576 2007-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3578 * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\)
3579 syntax as well. Reported by Juri Linkov <juri@jurta.org>.
3581 2007-06-28 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
3583 * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to
3584 replace-regexp-in-string.
3586 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3588 * emacs-lisp/cl.el: Set edebug and indentation before loading
3589 cl-loaddefs.el so that its use of dolist doesn't load cl-macs.
3591 2007-06-28 Andreas Schwab <schwab@suse.de>
3593 * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on
3596 2007-06-28 Juanma Barranquero <lekktu@gmail.com>
3598 * speedbar.el (speedbar-handle-delete-frame): Don't try to delete
3599 the speedbar frame if nil; that deletes the current frame or
3600 causes an error if it is the only frame.
3601 Reported by Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>.
3603 2007-06-28 Kevin Ryde <user42@zip.com.au>
3605 * textmodes/nroff-mode.el: Groff \# comments.
3606 (nroff-mode-syntax-table): \# comment intro,
3607 plain # as punct per global table.
3608 (nroff-font-lock-keywords): Add # as a single char escape.
3609 (nroff-mode): In comment-start-skip, match \#.
3611 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3613 * vc-bzr.el (vc-functions): Clear up the cache when reloading the file.
3614 (vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode
3617 2007-06-28 Nick Roberts <nickrob@snap.net.nz>
3619 * pcvs-util.el (cvs-strings->string, cvs-string->strings):
3620 Rename and move to...
3622 * subr.el (strings->string, string->strings): ...here.
3624 * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout)
3625 (cvs-mode-checkout, cvs-execute-single-file): Use new function names.
3627 * progmodes/gud.el (gud-common-init): Call string->strings instead
3630 2007-06-27 Michael Albinus <michael.albinus@gmx.de>
3632 * dired-aux.el: Remove `dired-call-process'.
3633 (dired-check-process): Call `process-file'.
3635 * wdired.el (wdired-do-perm-changes): Call `process-file'.
3637 * net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as
3638 `ange-ftp-process-file'.
3640 2007-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3642 * emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads.
3644 * emacs-lisp/cl-extra.el:
3645 * emacs-lisp/cl-seq.el:
3646 * emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el.
3647 Add autoload cookies on all defs autoloaded manually in cl.el.
3649 * emacs-lisp/cl-loaddefs.el: New file.
3651 * textmodes/texinfmt.el (texinfo-raisesections-alist)
3652 (texinfo-lowersections-alist): Merge definition and declaration.
3653 (texinfo-start-of-header, texinfo-end-of-header): Remove.
3654 (texinfo-format-syntax-table): Merge init into declaration.
3655 (texinfo-format-parse-line-args, texinfo-format-parse-args)
3656 (texinfo-format-parse-defun-args, texinfo-format-node)
3657 (texinfo-push-stack, texinfo-multitable-widths)
3658 (texinfo-define-info-enclosure, texinfo-alias)
3659 (texinfo-format-defindex, batch-texinfo-format): Use push.
3660 (texinfo-footnote-number): Remove duplicate declaration.
3662 * ps-print.el: Update with auto-generated autoloads.
3664 * ps-mule.el: Set generated-autoload-file to "ps-print.el".
3666 2007-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3668 * emacs-lisp/autoload.el (autoload-generated-file): Interpret names
3669 relative to current dir for file-local settings.
3670 (autoload-generate-file-autoloads): Add `outfile' arg.
3671 (update-directory-autoloads): Use it to directly call
3672 autoload-generate-file-autoloads instead of going through
3673 update-file-autoloads so we avoid redundant searches and so we can know
3674 the set of buffers changed so we can save them all.
3676 * emacs-lisp/autoload.el (autoload-find-destination): Return nil
3677 rather than throwing `up-to-date'.
3678 (autoload-generate-file-autoloads): Adjust correspondingly.
3679 (update-file-autoloads): Be careful to let-bind
3680 autoload-modified-buffers and adjust to new calling conventions.
3681 (autoload-modified-buffers): Make it a dynamically scoped var.
3682 (update-directory-autoloads): Use file-relative-name instead of
3683 autoload-trim-file-name.
3684 (autoload-insert-section-header): Don't use autoload-trim-file-name
3685 since the file is already relative now.
3686 (autoload-trim-file-name): Remove.
3688 * vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job.
3689 (vc-arch-complete, vc-arch--version-completion-table)
3690 (vc-arch-revision-completion-table): New functions to provide
3691 completion of revision names.
3692 (vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel)
3693 (vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions
3694 to let the user trim the revlib.
3696 * vc.el: Add new VC operation `revision-completion-table'.
3697 (vc-default-revision-completion-table): New function.
3698 (vc-version-diff, vc-version-other-window): Use it to provide
3699 completion of revision names if the backend provides it.
3701 * log-edit.el (log-edit-changelog-entries): Use with-current-buffer.
3703 * vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format
3704 of newer .svn/entries.
3706 2007-06-25 David Kastrup <dak@gnu.org>
3708 * calc/calc-poly.el (math-padded-polynomial)
3709 (math-partial-fractions): Add some function comments.
3711 2007-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3713 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3714 Make `outbuf' optional.
3715 (update-file-autoloads): Use it.
3717 2007-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3719 * emacs-lisp/autoload.el (autoload-modified-buffers): New var.
3720 (autoload-find-destination): Keep it uptodate.
3721 (autoload-save-buffers): New fun.
3722 (update-file-autoloads): Use it. Re-add the "up to date" message.
3724 * emacs-lisp/autoload.el: Refactor for upcoming changes.
3725 (autoload-find-destination): New function extracted from
3726 update-file-autoloads.
3727 (update-file-autoloads): Use it.
3728 (autoload-generate-file-autoloads): New function extracted from
3729 generate-file-autoloads. Use file-relative-name. Delay computation of
3730 output-start to the first cookie. Remove done-any, replaced by
3732 (generate-file-autoloads): Use it.
3734 2007-06-24 Jay Belanger <jay.p.belanger@gmail.com>
3736 * calc/calc-comb.el (math-init-random-base, math-prime-test):
3737 Use math-read-number-simple to insert constants.
3738 (math-prime-test): Redo calculation of sum.
3740 * calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size.
3742 * calc/calc-math.el (math-scale-bignum-digit-size): Rename from
3743 math-scale-bignum-3.
3744 (math-isqrt-bignum): Use math-scale-bignum-digit-size and
3745 math-bignum-digit-size.
3746 (math-isqrt-small): Add another possible initial guess.
3748 2007-06-23 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
3750 * textmodes/bibtex.el (bibtex-entry-format): New options
3751 `whitespace', `braces', and `string'.
3752 (bibtex-field-braces-alist, bibtex-field-strings-alist)
3753 (bibtex-field-braces-opt, bibtex-field-strings-opt)
3754 (bibtex-cite-matcher-alist): New variables.
3755 (bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist.
3756 (bibtex-flash-head): Use blink-matching-delay.
3757 (bibtex-insert-kill, bibtex-mark-entry): Use push-mark.
3758 (bibtex-format-entry, bibtex-reformat): Handle new options of
3759 bibtex-entry-format.
3760 (bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist):
3762 (bibtex-complete-internal): Do not display messages while
3763 minibuffer is used. Do not leave around a completions buffer
3764 that is out of date.
3765 (bibtex-copy-summary-as-kill): New optional arg.
3766 (bibtex-font-lock-url): New optional arg no-button.
3767 (bibtex-find-crossref): Use `bibtex-cite-matcher-alist'.
3768 (bibtex-url): Allow multiple URLs per entry.
3770 2007-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * emacs-lisp/autoload.el (autoload-generated-file): New function.
3773 (update-file-autoloads, update-directory-autoloads): Use it.
3774 (autoload-file-load-name): New function.
3775 (generate-file-autoloads, update-file-autoloads): Use it.
3776 (autoload-find-file): Accept non-absolute argument. Set default-dir.
3777 (generate-file-autoloads): If the autoloaded form is malformed,
3778 indicate the problem with a warning instead of aborting.
3780 2007-06-23 Thien-Thi Nguyen <ttn@gnuvola.org>
3782 * simple.el (next-error-recenter): Accept `(4)' as well;
3783 also, specify `integer' instead of `number'.
3785 2007-06-23 Eli Zaretskii <eliz@gnu.org>
3787 * ls-lisp.el (insert-directory): If an invalid regexp error is
3788 thrown, try using FILE as a literal file name, not a wildcard.
3790 2007-06-23 Juanma Barranquero <lekktu@gmail.com>
3792 * ruler-mode.el (ruler-mode): Prevent clobbering the original
3793 `header-line-format' when reentering ruler mode.
3795 2007-06-23 Eli Zaretskii <eliz@gnu.org>
3797 * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if
3798 FILE exists as a file.
3800 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
3802 * calc/calc.el (math-bignum-digit-length)
3803 (math-bignum-digit-size, math-small-integer-size):
3805 (math-normalize, math-bignum-big, math-make-float)
3806 (math-div10-bignum, math-scale-left, math-scale-left-bignum)
3807 (math-scale-right, math-scale-right-bignum, math-scale-rounding)
3808 (math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul)
3809 (math-mul-bignum, math-mul-bignum-digit, math-idivmod)
3810 (math-quotient, math-div-bignum, math-div-bignum-digit)
3811 (math-div-bignum-part, math-format-bignum-decimal)
3812 (math-read-bignum): Use math-bignum-digit-length,
3813 math-bignum-digit-size and math-small-integer-size.
3815 * calc/calc-ext.el (math-fixnum-big): Use the variable
3816 math-bignum-digit-size.
3818 2007-06-23 Dan Nicolaescu <dann@ics.uci.edu>
3820 * log-view.el (log-view-mode-menu): New menu.
3822 2007-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3824 * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change
3827 * vc-hg.el (vc-hg-registered): Add an autoloaded version.
3828 (vc-hg-log-view-mode): Use log-view-font-lock-keywords.
3830 2007-06-22 Dan Nicolaescu <dann@ics.uci.edu>
3832 * vc-hg.el (vc-hg-print-log): Insert the file name.
3833 (vc-hg-log-view-mode): Fontify the file name.
3835 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
3837 * calc/calc-forms.el (math-format-date-part, calc-parse-standard-date)
3838 (calcFunc-julian): Fix incorrect number used in calculations.
3840 2007-06-22 Thien-Thi Nguyen <ttn@gnuvola.org>
3842 * simple.el (next-error-recenter): New defcustom.
3843 (next-error, next-error-internal): Recenter if specified,
3844 immediately prior to running `next-error-hook'.
3846 * progmodes/hideshow.el (hs-show-block): Use line-end-position.
3847 (hs-hide-block-at-point, hs-hide-comment-region): Likewise.
3849 * progmodes/hideshow.el (hs-hide-all): Use progress reporter.
3851 2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
3853 * calc/calc-comb.el (math-small-factorial-table): New variable.
3854 (calcFunc-fact): Use `math-small-factorial-table'.
3856 * calc/calc-ext.el (math-defcache): Allow forms to evaluate
3858 (math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const):
3859 New variables to use in caches.
3861 * calc/calc-forms.el (math-format-date-part, math-parse-standard-date)
3862 (calcFunc-julian): Use `math-read-number-simple' to insert bignums.
3864 * calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1)
3865 (math-bernoulli-b-cache): Use math-read-number-simple to insert
3868 * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2):
3869 New variables to use in caches.
3871 2007-06-22 Dan Nicolaescu <dann@ics.uci.edu>
3873 * vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp.
3875 * vc-hg.el (vc-hg-log-view-mode): New mode.
3877 2007-06-21 Jay Belanger <jay.p.belanger@gmail.com>
3879 * calc/calc.el (math-read-number-simple): New function.
3881 2007-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3883 * vera-mode.el (vera-mode): Fix `commend-end-skip' setting.
3884 (vera-font-lock-match-item): Fix doc string.
3885 (vera-in-comment-p): Remove unused function.
3886 (vera-skip-forward-literal, vera-skip-backward-literal): Improve code,
3888 (vera-forward-syntactic-ws): Fix argument order.
3889 (vera-prepare-search): Use `with-syntax-table'.
3890 (vera-indent-line): Fix doc string.
3891 (vera-electric-tab): Fix doc string.
3892 (vera-expand-abbrev): Define alias instead of using `fset'.
3893 (vera-comment-uncomment-region): Use `comment-start-skip'.
3895 2007-06-21 Carsten Dominik <dominik@science.uva.nl>
3897 * textmodes/org.el (org-export-with-footnotes): New option.
3898 (org-export-as-html): Fix replacement bug for XEmacs.
3899 (org-agenda-default-appointment-duration): New option.
3901 2007-06-21 Dan Nicolaescu <dann@ics.uci.edu>
3903 * vc-hg.el: Add to do items.
3904 (vc-hg-diff): Add support for comparing different revisions.
3905 (vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time)
3906 (vc-hg-annotate-extract-revision-at-line)
3907 (vc-hg-previous-version, vc-hg-checkin): New functions.
3908 (vc-hg-annotate-re): New constant.
3910 2007-06-20 Jay Belanger <jay.p.belanger@gmail.com>
3912 * calc/calc.el (math-standard-ops): Fix precedence of multiplication.
3914 2007-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3916 * log-view.el (log-view-font-lock-keywords): Use `eval' to consult the
3917 buffer-local value of log-view-*-re if applicable.
3919 * vc-bzr.el (vc-bzr-dir-state): Use setq rather than set.
3920 Use vc-bzr-command rather than the ill defined vc-bzr-command*.
3921 (vc-bzr-command*): Remove both (incompatible) versions.
3922 (vc-bzr-do-command*): Remove.
3923 (vc-bzr-with-process-environment, vc-bzr-std-process-invocation):
3924 Remove by folding into its only caller vc-bzr-command.
3925 (vc-bzr-command): Always set the environment, even when ineffective.
3926 (vc-bzr-version): Minor fix up.
3927 (vc-bzr-admin-dirname): New var.
3928 (vc-bzr-bzr-dir): Remove.
3929 (vc-bzr-root-dir): New fun.
3930 (vc-bzr-registered): Use it. Add an autoloaded version.
3931 (vc-bzr-responsible-p): Use vc-bzr-root-dir as well.
3932 (vc-bzr-view-log-function): Remove.
3933 (vc-bzr-log-view-mode): New major mode to replace it.
3934 (vc-bzr-print-log): Only activate the old hack if needed.
3936 * vc.el (vc-default-log-view-mode): New function.
3937 (vc-print-log): Add new `log-view-mode' VC operation.
3939 2007-06-20 Juanma Barranquero <lekktu@gmail.com>
3941 * ido.el (ido-find-file-in-dir): Don't signal an error for
3944 * add-log.el (change-log-mode): Set `show-trailing-whitespace'.
3946 * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the
3947 directory where the desktop file was found, as the docstring says.
3948 (desktop-kill): Use `read-directory-name'.
3950 2007-06-20 Alan Mackenzie <acm@muc.de>
3952 * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables):
3953 When removing lines, also remove the \n. Correction of patch of
3956 2007-06-20 Martin Rudalics <rudalics@gmx.at>
3958 * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when
3959 event is not a cons cell. Do not unread drag-mouse-1 events.
3960 Select right window in check whether space was stolen from
3963 * help-mode.el (help-make-xrefs): Adjust position of new forward
3966 2007-06-20 Riccardo Murri <riccardo.murri@gmail.com>
3968 * vc-bzr.el (vc-bzr-with-process-environment)
3969 (vc-bzr-std-process-invocation): New macros.
3970 (vc-bzr-command, vc-bzr-command*): Use them.
3971 (vc-bzr-with-c-locale): Remove.
3972 (vc-bzr-dir-state): Replace its use with vc-bzr-command.
3973 (vc-bzr-buffer-nonblank-p): New function.
3974 (vc-bzr-state-words): New const.
3975 (vc-bzr-state): Look for `bzr status` keywords in output.
3976 Display everything else as a warning message to the user.
3977 Fix status report with bzr >= 0.15.
3979 2007-06-20 Dan Nicolaescu <dann@ics.uci.edu>
3981 * vc-hg.el (vc-hg-global-switches): Simplify.
3982 (vc-hg-state): Handle more states.
3983 (vc-hg-diff): Fix doc-string.
3984 (vc-hg-register): New function.
3985 (vc-hg-checkout): Likewise.
3987 2007-06-20 Reto Zimmermann <reto@gnu.org>
3989 * progmodes/vera-mode.el: New file.
3991 2007-06-19 Jay Belanger <jay.p.belanger@gmail.com>
3993 * calc/calc.el (calc-multiplication-has-precendence):
3995 (math-standard-ops, math-standard-ops-p, math-expr-ops):
3997 (math-expr-opers): Define using math-standard-ops rather than
3998 math-standard-opers.
3999 * calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers
4000 equal the function math-standard-ops rather than the variable
4001 math-standard-opers.
4002 (calc-algebraic-entry): Let math-expr-opers equal
4003 math-standard-ops or math-expr-ops, as appropriate.
4004 (math-expr-read-level, math-read-factor): Let math-expr-opers
4005 equal math-expr-ops.
4006 * calc/calc-embed.el (calc-embedded-finish-edit):
4007 Let math-expr-opers equal the function math-standard-ops
4008 rather than the variable math-standard-opers.
4009 * calc/calc-ext.el (math-read-plain-expr)
4010 (math-format-flat-expr-fancy): Let math-expr-opers equal the
4011 function math-standard-ops rather than the variable
4012 math-standard-opers.
4013 * calc/calc-lang.el (calc-set-language, math-read-big-rec):
4014 Let math-expr-opers equal the function math-standard-ops rather
4015 than the variable math-standard-opers.
4016 * calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers
4017 equal the function math-standard-ops rather than the variable
4018 math-standard-opers.
4019 * calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers
4020 equal the function math-standard-ops rather than the variable
4021 math-standard-opers.
4022 * calc/calccomp.el (math-compose-expr): Let math-expr-opers equal
4025 2007-06-19 Ivan Kanis <apple@kanis.eu>
4027 * vc-hg.el: New file.
4029 2007-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4031 * progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text
4032 with font-lock-multiline.
4034 2007-06-17 Glenn Morris <rgm@gnu.org>
4036 * lpr.el (lpr-page-header-switches): Move %s to separate element
4037 for correct quoting. Doc fix.
4039 2007-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4041 * textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather
4042 than setting sgml-xml-mode.
4043 (sgml-mode, html-mode): Set sgml-xml-mode.
4044 (sgml-skip-tag-backward): Tell if we skipped over matched tags.
4045 (sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
4046 (sgml-electric-tag-pair-before-change-function)
4047 (sgml-electric-tag-pair-flush-overlays): New functions.
4048 (sgml-electric-tag-pair-mode): New minor mode.
4049 (sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
4050 (sgml-calculate-indent): Use assoc-string.
4052 2007-06-16 Karl Fogel <kfogel@red-bean.com>
4054 * thingatpt.el (thing-at-point-email-regexp): Don't require two
4055 chars before the "@" in an email address. Andreas Roehler noticed
4058 2007-06-15 Karl Fogel <kfogel@red-bean.com>
4060 * thingatpt.el: Add support for email addresses (`email').
4061 (thing-at-point, bounds-of-thing-at-point): Document `email' support.
4062 (thing-at-point-email-regexp): New variable.
4063 (`email'): Put `bounds-of-thing-at-point' and `thing-at-point'
4064 properties on this symbol, with lambda forms for values.
4066 2007-06-15 Masatake YAMATO <jet@gyve.org>
4068 * vc-bzr.el (vc-bzr-root): Cache the output of shell command execution.
4070 * vc.el (vc-dired-hook): Check the backend returned from
4071 `vc-responsible-backend' can really handle `subdir'.
4073 2007-06-15 Chong Yidong <cyd@stupidchicken.com>
4075 * wid-edit.el (widget-add-documentation-string-button):
4076 Fix handling of documentation indent.
4078 2007-06-15 Miles Bader <miles@fencepost.gnu.org>
4080 * mb-depth.el: New file.
4082 2007-06-15 Masatake YAMATO <jet@gyve.org>
4084 * vc.el (vc-dired-mode): Show backend name as part of mode name.
4086 2007-06-14 Chong Yidong <cyd@stupidchicken.com>
4088 * wid-edit.el (widget-default-create): Move ?h handling here...
4089 (widget-default-format-handler): ...from here.
4090 (widget-docstring, widget-add-documentation-string-button): New funs.
4091 (documentation-string): Add :visibility-widget property.
4092 (widget-documentation-string-value-create): Use it.
4094 * cus-edit.el (custom-split-regexp-maybe): Simplify.
4095 (custom-buffer-create-internal): Simplify message.
4096 (custom-variable-tag): Reduce height to normal.
4097 (custom-variable-value-create, custom-face-value-create)
4098 (custom-visibility): New widget.
4099 (custom-visibility): New face.
4100 (custom-group-value-create):
4101 Call widget-add-documentation-string-button, using `custom-visibility'.
4103 2007-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * emacs-lisp/bytecomp.el (byte-compile-current-group)
4106 (byte-compile-nogroup-warn, byte-compile-file): Revert part of last
4107 change. Apparently the "warning even if the group is implicit" is
4108 a feature rather than a bug.
4110 2007-06-14 Michael Kifer <kifer@cs.stonybrook.edu>
4112 * viper.el (viper-describe-key-ad, viper-describe-key-briefly-ad):
4113 Different advices for Emacs and XEmacs. Compile them conditionally.
4114 (viper-version): Belated version change.
4116 2007-06-14 Juanma Barranquero <lekktu@gmail.com>
4118 * follow.el (follow-all-followers, follow-generic-filter):
4119 * pcomplete.el (pcomplete-restore-windows):
4120 * x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state)
4122 * emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display):
4123 * progmodes/python.el (python-complete-symbol):
4124 * term/mac-win.el (mac-dnd-drop-data): Remove redundant check.
4126 2007-06-13 Ryan Yeske <rcyeske@gmail.com>
4128 * rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax
4129 around bright and dim regexps. Make sure bright and dim matches
4130 use word anchors. Send text through rcirc-markup functions.
4131 (rcirc-url-regexp): Add single quote character.
4132 (rcirc-connect): Write logs to disk on auto-save-hook.
4133 Make server a non-optional argument.
4134 (rcirc-log-alist): New variable.
4135 (rcirc-log-directory): Make customizable.
4136 (rcirc-log-flag): New customizable variable.
4137 (rcirc-log): New function.
4138 (rcirc-print): Use above function.
4139 (rcirc-log-write): New function.
4140 (rcirc-generate-new-buffer-name): Strip text properties.
4141 (rcirc-switch-to-buffer-function): Remove variable.
4142 (rcirc-last-non-irc-buffer): Remove variable.
4143 (rcirc-non-irc-buffer): Add function.
4144 (rcirc-next-active-buffer): Use above function.
4145 (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING.
4146 (rcirc-handler-ctcp-KEEPALIVE): Add handler.
4147 (rcirc-handler-CTCP): Don't print KEEPALIVE responses.
4148 (rcirc-omit-mode): Add minor-mode.
4149 (rcirc-mode-map): Change C-c C-o binding.
4150 (rcirc-mode): Clear mode-line-process. Use a custom
4151 fill-paragraph-function. Set up buffer-invisibility-spec.
4152 (rcirc-response-formats): Remove timestamp code.
4153 (rcirc-omit-responses): Add variable.
4154 (rcirc-print): Don't put the overlay arrow on potentially omitted
4155 lines. Log line to disk. Record activity for private messages
4156 from /dim nicks. Facify the fill-prefix with rcirc-timestamp face.
4157 (rcirc-jump-to-first-unread-line): Print message if there is no
4159 (rcirc-clear-unread): New function.
4160 (rcirc-markup-text-functions): Add variable.
4161 (rcirc-markup-timestamp, rcirc-markup-fill): Add functions.
4162 (rcirc-debug): Don't mess with window configuration.
4163 (rcirc-send-message): Send message before printing locally.
4164 Add SILENT argument, do not print message if non-nil.
4165 (rcirc-visible-buffers): New function and variable.
4166 (rcirc-window-configuration-change-1): Add function.
4167 (rcirc-target-buffer): Make sure ACTIONs don't get sent to the
4169 (rcirc-clean-up-buffer): Set rcirc-target to nil when finished.
4170 (rcirc-fill-paragraph): Add function.
4171 (rcirc-record-activity, rcirc-window-configuration-change-1):
4172 Only update the activity string if it has actually changed.
4173 (rcirc-update-activity-string): Remove padding characters from the
4175 (rcirc-disconnect-buffer): New function to be called when a
4176 channel is parted or the user quits.
4177 (rcirc-server-name): Warn when the server-name hasn't been set.
4178 (rcirc-window-configuration-change): Postpone work until
4180 (rcirc-window-configuration-change-1): Update mode-line and
4181 overlay arrows here.
4182 (rcirc-authenticate): Fixc hanserv identification.
4183 (rcirc-default-server): Remove variable.
4184 (rcirc): Connect according to rcirc-connections.
4185 (rcirc-connections): Add variable.
4186 (rcirc-startup-channels-alist): Remove variable.
4187 (rcirc-startup-channels): Remove function.
4189 2007-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4191 * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change.
4193 2007-06-13 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se> (tiny change)
4195 * term/xterm.el (terminal-init-xterm): Escape parens in character
4198 2007-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4200 * progmodes/sh-script.el: Remove unneeded * from docstrings.
4201 Use [:alpha:] and [:alnum:] where applicable.
4202 (sh-quoted-subshell): Rewrite to correctly
4203 handle nested mixes of `...` and $(...).
4204 (sh-apply-quoted-subshell): Remove.
4205 (sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell.
4207 * vc-arch.el (vc-arch-command): Remove bzr. It's a different program.
4209 2007-06-13 Michael Kifer <kifer@cs.stonybrook.edu>
4211 * ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo
4214 2007-06-12 Tom Tromey <tromey@redhat.com>
4216 * subr.el (user-emacs-directory): New defconst.
4217 * cmuscheme.el (scheme-start-file):
4219 * completion.el (save-completions-file-name):
4220 * custom.el (custom-theme-directory):
4221 * term/x-win.el (emacs-session-filename):
4222 * filesets.el (filesets-menu-cache-file):
4223 * thumbs.el (thumbs-thumbsdir):
4224 * server.el (server-auth-dir):
4225 * image-dired.el (image-dired-dir):
4226 (image-dired-db-file):
4227 (image-dired-temp-image-file):
4228 (image-dired-gallery-dir):
4229 (image-dired-temp-rotate-image-file):
4230 * play/gamegrid.el (gamegrid-user-score-file-directory):
4231 * savehist.el (savehist-file):
4232 * tutorial.el (tutorial--saved-dir):
4233 * startup.el (auto-save-list-file-prefix): Use user-emacs-directory.
4235 2007-06-12 Ralf Angeli <angeli@caeruleus.net>
4237 * scroll-lock.el (scroll-lock-mode): Doc fix.
4239 2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu>
4241 * ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis.
4243 * ediff-init.el: Doc strings.
4245 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4247 * emacs-lisp/bytecomp.el (byte-compile-current-group): New var.
4248 (byte-compile-file): Bind it.
4249 (byte-compile-nogroup-warn): Use it to avoid spurious warnings when the
4250 group argument is provided implicitly.
4251 (byte-compile-format-warn, byte-compile-from-buffer)
4252 (byte-compile-insert-header): Don't hardcode point-min==1.
4253 (byte-compile-file-form-require): Remove unused var old-load-list.
4254 (byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new.
4256 2007-06-12 Michael Kifer <kifer@cs.stonybrook.edu>
4258 * emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value):
4259 Display error messages.
4260 (viper-prev-destructive-command, viper-insert-prev-from-insertion-ring):
4261 Get rid of cl.el dependencies.
4263 * emulation/viper-init.el (viper-suppress-input-method-change-message):
4265 (viper-activate-input-method-action)
4266 (viper-inactivate-input-method-action):
4267 Use viper-suppress-input-method-change-message.
4269 * emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings
4272 * emulation/viper-util.el (viper-set-cursor-color-according-to-state):
4273 Use viper-replace-overlay-cursor-color instead of
4274 viper-replace-overlay-cursor-color.
4275 (viper-sit-for-short): Use sit-for with 3 arguments.
4277 * emulation/viper.el (viper-insert-state-mode-list): Add gud-mode.
4278 (viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map
4281 * ediff-mult.el (ediff-meta-buffer-brief-message)
4282 (ediff-meta-buffer-verbose-message): New variables.
4283 (ediff-meta-buffer-message): Variable deleted.
4284 (ediff-verbose-help-enabled): New variable.
4285 (ediff-toggle-verbose-help-meta-buffer): New function.
4286 (ediff-redraw-directory-group-buffer): Made aware of short/verbose
4289 * ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp.
4290 (ediff-fixup-patch-map): Improve heuristic.
4292 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4294 * log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\).
4295 (log-view-font-lock-keywords): Simplify.
4296 (log-view-current-file, log-view-current-tag): Simplify.
4298 2007-06-12 Sam Steingold <sds@gnu.org>
4300 * vc-arch.el (vc-arch-command): Also try "baz" and "bzr".
4302 2007-06-12 Juanma Barranquero <lekktu@gmail.com>
4304 * desktop.el (desktop-load-locked-desktop): New option.
4305 (desktop-read): Use it.
4306 (desktop-truncate, desktop-outvar, desktop-restore-file-buffer):
4309 2007-06-12 Davis Herring <herring@lanl.gov>
4311 * desktop.el (desktop-save-mode-off): New function.
4312 (desktop-base-lock-name, desktop-not-loaded-hook): New variables.
4313 (desktop-full-lock-name, desktop-file-modtime, desktop-owner)
4314 (desktop-claim-lock, desktop-release-lock): New functions.
4315 (desktop-kill): Tell `desktop-save' that this is the last save.
4316 Release the lock afterwards.
4317 (desktop-buffer-info): New function.
4318 (desktop-save): Use it. Run `desktop-save-hook' where the doc
4319 says to. Detect conflicts, and manage the lock.
4320 (desktop-read): Detect conflicts. Manage the lock.
4322 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4324 * emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names.
4326 * emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map.
4327 (tpu-lucid-emacs-p): Remove. Use (featurep 'xemacs) instead.
4328 (CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars.
4329 (tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using
4330 keysyms rather than byte sequences.
4331 (tpu-copy-keyfile): Don't force the user to use tpu-mapper.el.
4333 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * font-lock.el (font-lock-add-keywords): In case font-lock was only
4336 half-activated, forcefully activate it completely.
4338 2007-06-11 Richard Stallman <rms@gnu.org>
4340 * cus-edit.el (custom-variable-type): Doc fix.
4342 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4344 * progmodes/sh-script.el (sh-font-lock-backslash-quote)
4345 (sh-font-lock-flush-syntax-ppss-cache): New functions.
4346 (sh-font-lock-syntactic-keywords): Use them to distinguish the
4347 different possible cases for \'.
4349 * complete.el (PC-bindings): Don't bind things already bound in the
4352 * textmodes/bibtex-style.el: New file.
4354 2007-06-11 Riccardo Murri <riccardo.murri@gmail.com>
4356 * vc-bzr.el: New file.
4358 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * vc-svn.el (vc-svn-program): New var.
4361 (vc-svn-command): Use it.
4363 2007-06-11 Juanma Barranquero <lekktu@gmail.com>
4365 * server.el (server-switch-buffer): Remove redundant check.
4367 2007-06-10 Martin Rudalics <rudalics@gmx.at>
4369 * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions):
4370 Match against file-name-nondirectory.
4371 Fix text on user customization variables.
4372 Reported by Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>.
4374 2007-06-09 Alfred M. Szmidt <ams@gnu.org> (tiny change)
4376 * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
4378 2007-06-09 Davis Herring <herring@lanl.gov>
4380 * desktop.el (desktop-minor-mode-table): Doc fix.
4382 2007-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4384 * textmodes/css-mode.el (css-navigation-syntax-table):
4385 Use set-char-table-range so it also works in the unicode branch.
4387 2007-06-08 Nick Roberts <nickrob@snap.net.nz>
4389 * help-mode.el (help-xref-forward-stack)
4390 (help-xref-stack-forward-item, help-forward-label): New variables.
4391 (help-forward): New button type.
4392 (help-setup-xref): Initialise help-xref-forward-stack.
4393 (help-make-xrefs): Add forward button, if appropriate.
4394 (help-xref-go-back): Push item on forward stack.
4395 (help-xref-go-forward, help-go-forward): New functions.
4397 2007-06-07 Chong Yidong <cyd@stupidchicken.com>
4399 * dired.el (dired-mode-map): Remove spurious separator.
4401 2007-06-07 Juanma Barranquero <lekktu@gmail.com>
4403 * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix.
4405 * progmodes/mixal-mode.el (mixal-operation-codes-alist):
4406 * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring.
4408 2007-06-07 Carsten Dominik <dominik@science.uva.nl>
4410 * textmodes/org.el: Version number fixed.
4412 2007-06-07 Glenn Morris <rgm@gnu.org>
4414 * version.el (emacs-copyright): New constant.
4415 * startup.el (fancy-splash-tail): Use emacs-copyright.
4416 * calc/calc-help.el (calc-full-help): Use emacs-copyright.
4418 * emacs-lisp/bytecomp.el (byte-compile-warnings): Add new option
4420 (byte-compile-warnings-safe-p): Add `make-local'.
4421 (byte-compile-make-variable-buffer-local):
4422 Allow byte-compile-warnings to suppress this warning.
4424 * tutorial.el (tutorial--describe-nonstandard-key): Adjust for new
4425 format of "menu" description.
4426 (tutorial--find-changed-keys): Describe the specific menu a
4429 * dframe.el (dframe-frame-parameter, dframe-mouse-event-p):
4430 Rewrite compatibility functions to silence byte-compiler.
4432 2007-06-07 Alfred M. Szmidt <ams@gnu.org> (tiny change)
4434 * mail/rmailsum.el (rmail-summary-save-buffer): New command.
4435 (rmail-summary-mode-map): Add rmail-summary-save-buffer.
4437 2007-06-07 Eric M. Ludlam <eric@siege-engine.com>
4439 * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove "iff".
4441 2007-06-07 Juanma Barranquero <lekktu@gmail.com>
4443 * progmodes/ebrowse.el (ebrowse-member-table):
4444 * textmodes/org.el (org-export-ascii-bullets, org-batch-agenda)
4445 (org-batch-agenda-csv): Fix typos in docstrings.
4447 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
4449 * international/mule-cmds.el (toggle-enable-multibyte-characters)
4450 (sort-coding-systems, search-unencodable-char): Doc fixes.
4451 (coding-system-change-eol-conversion, set-default-coding-systems)
4452 (prefer-coding-system, find-multibyte-characters, princ-list)
4453 (leim-list-entry-regexp, set-input-method, locale-language-names)
4454 (input-method-exit-on-first-char, exit-language-environment-hook)
4455 (locale-charset-language-names): Fix typos in docstrings.
4457 2007-06-06 Juanma Barranquero <lekktu@gmail.com>
4459 * pgg.el (pgg-sign-region, pgg-sign):
4460 * ses.el (ses-call-printer):
4461 * calendar/icalendar.el (icalendar--diarytime-to-isotime):
4462 * textmodes/org.el (org-cycle): Fix typos in docstrings.
4464 2007-06-06 Carsten Dominik <dominik@science.uva.nl>
4467 (org-export-region-as-html, org-replace-region-by-html)
4468 (org-number-to-letters, org-table-fedit-finish)
4469 (org-normalize-color, org-table-fedit-ref-right)
4470 (org-date-to-gregorian, org-table-fedit-move)
4471 (org-table-convert-refs-to-rc, org-calendar-holiday)
4472 (org-table-fedit-toggle-ref-type, org-write-agenda)
4473 (org-colgroup-info-to-vline-list, org-agenda-todo-previousset)
4474 (org-defkey, org-encode-for-stdout)
4475 (org-indent-line-function, org-export-as-html-to-buffer)
4476 (org-store-agenda-views, org-update-mode-line)
4477 (org-find-if, org-delete-all)
4478 (org-table-fedit-convert-buffer, org-emphasize)
4479 (org-uniquify, org-table-fedit-lisp-indent)
4480 (org-table-fedit-scroll, org-get-todo-sequence-head)
4481 (org-table-fedit-scroll-down, org-table-fedit-line-down)
4482 (org-table-fedit-ref-left, org-agenda-export-csv-mapper)
4483 (org-table-fedit-toggle-coordinates, org-dvipng-color)
4484 (org-table-fedit-line-up, org-table-fedit-ref-down)
4485 (org-table-formula-from-user, org-mode-flyspell-verify)
4486 (org-cycle-show-empty-lines, org-ctrl-c-ret)
4487 (org-table-formula-to-user, org-diary-to-ical-string)
4488 (orgtbl-export, org-table-fedit-post-command)
4489 (org-closed-in-range, org-shiftcontrolright)
4490 (org-table-convert-refs-to-an, org-table-hline-and-move)
4491 (org-table-formula-less-p, org-format-table-ascii)
4492 (org-agenda-get-sexps, org-shift-refpart)
4493 (org-diary-sexp-entry, org-time-string-to-absolute)
4494 (org-table-show-reference, org-letters-to-number)
4495 (org-fix-agenda-info, org-table-fedit-ref-up)
4496 (org-table-fedit-shift-reference, org-table-fedit-abort)
4497 (org-closest-date, org-shiftcontrolleft)
4498 (org-at-heading-or-item-p, org-rematch-and-replace)
4499 (org-agenda-todo-nextset, org-export-grab-title-from-buffer):
4501 (org-table-edit-scroll-down, org-finish-edit-formulas)
4502 (org-table-edit-next-field, org-abort-edit-formulas)
4503 (org-font-lock-level, org-export-find-first-heading-line)
4504 (org-table-edit-line-down, org-table-edit-backward-field)
4505 (org-edit-formula-lisp-indent, org-table-edit-move)
4506 (org-check-log-option, org-this-word)
4507 (org-table-edit-line-up, org-table-edit-formulas-post-command)
4508 (org-agenda-file-to-end, org-expand-file-name)
4509 (org-fake-empty-table-line, org-table-edit-scroll)
4510 (org-toggle-log-option, org-show-reference): Function removed.
4511 (org-inhibit-invisibility, org-table-formula-make-cmp-string):
4513 (org-unmodified, org-batch-store-agenda-views)
4514 (org-batch-agenda-csv): New macro.
4515 (org-agenda-export): New customization group.
4516 (org-agenda-skip-deadline-if-done, org-agenda-remove-tags)
4517 (org-highest-priority, org-agenda-exporter-settings)
4518 (org-log-done-with-time, org-replace-disputed-keys)
4519 (org-format-latex-header, org-export-table-header-tags)
4520 (org-cycle-separator-lines, org-export-table-data-tags)
4521 (org-icalendar-include-sexps)
4522 (org-empty-line-terminates-plain-lists)
4523 (org-log-repeat, org-special-ctrl-a)
4524 (org-table-use-standard-references, org-disputed-keys)
4525 (org-export-skip-text-before-1st-heading, org-agenda-with-colors)
4526 (org-agenda-export-html-style): New option.
4527 (org-allow-auto-repeat, org-agenda-remove-tags-when-in-prefix)
4528 (org-CUA-compatible): Option removed.
4529 (org-agenda-structure, org-sexp-date): New face.
4530 (org-todo-keywords-for-agenda, org-not-done-keywords)
4531 (org-planning-or-clock-line-re, org-agenda-name)
4532 (org-table-colgroup-info, org-todo-sets)
4533 (constants-unit-system, org-clock-mode-line-entry)
4534 (org-mode-line-timer, org-table-current-begin-pos)
4535 (org-todo-keywords-1, org-mode-line-string)
4536 (org-table-clean-did-remove-column, org-table-fedit-map)
4537 (org-clock-heading, org-table-buffer-is-an)
4538 (org-agenda-info, org-done-keywords)
4539 (org-done-keywords-for-agenda, org-todo-heads)
4540 (org-todo-kwd-alist, org-clock-start-time): New variable.
4541 (org-todo-kwd-priority-p, org-edit-formulas-map)
4542 (org-repeat-re, org-todo-kwd-max-priority)
4543 (org-version, org-done-string)
4544 (org-table-clean-did-remove-column-1, org-disputed-keys):
4546 (org-table-translate-regexp, org-repeat-re, org-version): New consts.
4547 (org-ts-lengths): Constant removed.
4548 (org-follow-gnus-link): Don't ask how many articles to read.
4549 (org-export-find-first-export-line): Rename from
4550 `org-export-find-first-heading'.
4551 Use `org-export-skip-text-before-1st-heading'.
4552 (org-table-fedit-post-command): Rename from
4553 `org-table-edit-formulas-post-command'.
4554 (org-table-fedit-finish): Rename from `org-finish-edit-formulas'.
4555 (org-table-fedit-abort): Rename from `org-abort-edit-formulas'.
4556 (org-table-fedit-lisp-indent): Rename from
4557 `org-edit-formula-lisp-indent'.
4558 (org-table-show-reference): Rename from `org-show-reference'.
4559 (org-table-store-formulas): Use `org-table-formula-less-p'.
4560 (org-table-edit-formulas): Position cursor to current field equation.
4561 (org-update-checkbox-count, org-hide-archived-subtrees)
4562 (org-timestamp-up-day, org-timestamp-down-day)
4563 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
4564 (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
4565 (org-metadown, org-shiftup, org-shiftdown, org-shiftright)
4566 (org-shiftleft, org-ctrl-c-ctrl-c, org-context):
4567 Let `org-on-heading-p' also check for invisible heading.
4568 (org-read-date): Match am/pm times.
4569 (org-eval-in-calendar): Fix default date in prompt.
4571 2007-06-05 Chong Yidong <cyd@stupidchicken.com>
4573 * files.el (auto-mode-alist): Separate "ChangeLog.1" and
4574 "ChangeLog.a" entries, giving the latter lower priority.
4576 2007-06-05 Juanma Barranquero <lekktu@gmail.com>
4578 * faces.el (face-id): If the argument is a face alias,
4579 return the ID of the target face.
4581 2007-06-05 Michael Albinus <michael.albinus@gmx.de>
4583 * net/socks.el (top): Remove unnecessary copyright line.
4585 2007-06-04 Chong Yidong <cyd@stupidchicken.com>
4587 * longlines.el (longlines-auto-wrap): Handle argument correctly.
4589 2007-06-04 Michael Albinus <michael.albinus@gmx.de>
4591 * net/socks.el: New file, taken from w3 repository.
4592 (top): Update Copyright. Don't load cl.el.
4593 (all): Replace `case' by `cond', `string-to-int' by
4594 `string-to-number', and `process-kill-without-query' by
4595 `set-process-query-on-exit-flag'.
4596 (socks-char-int): Remove defalias and all occurrences.
4598 2007-06-04 Juanma Barranquero <lekktu@gmail.com>
4600 * progmodes/compile.el (compilation-find-file, compilation-handle-exit):
4601 Fix typos in docstrings.
4602 (compilation-search-path, compilation-buffer-name-function): Doc fixes.
4603 (compilation-finish-function): Fix typo in obsolescence declaration.
4605 2007-06-03 Sam Steingold <sds@gnu.org>
4607 * progmodes/compile.el: Add TIMESTAMP to the LOC data structure, to
4608 handle unending automatic recompilation of changed files (`omake -P').
4609 (compilation-loop): VISITED is now 5th CDR.
4610 (compilation-next-error-function): Set TIMESTAMP.
4612 2007-06-03 Sam Steingold <sds@gnu.org>
4614 * files.el (kill-buffer-ask): New function.
4615 (kill-some-buffers): Use it.
4616 (kill-matching-buffers): New user command.
4618 2007-06-01 David Kastrup <dak@gnu.org>
4620 * dired.el (dired-recursive-deletes, dired-recursive-copies):
4621 Change default to `top'.
4623 2007-05-31 Richard Stallman <rms@gnu.org>
4625 * dired.el (dired-do-flagged-delete, dired-do-delete): Doc fix.
4627 2007-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * textmodes/css-mode.el: New file.
4631 2007-05-30 Michael Olson <mwolson@gnu.org>
4633 * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has
4634 died and we are trying to send a signal to it. The program using
4635 tq.el should periodically check to see whether the process has
4636 died and react appropriately -- this is not the responsibility of
4637 tq.el, and is consistent with the rest of the tq.el source code.
4639 2007-05-29 Martin Rudalics <rudalics@gmx.at>
4641 * textmodes/table.el (table--point-entered-cell-function)
4642 (table--point-left-cell-function):
4643 Bind `inhibit-point-motion-hooks' to t.
4645 2007-05-29 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
4647 * emacs-lisp/rx.el (rx): Doc fix.
4649 2007-05-28 Juanma Barranquero <lekktu@gmail.com>
4651 * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring.
4653 2007-05-28 Michael Albinus <michael.albinus@gmx.de>
4655 Sync with Tramp 2.0.56.
4660 * net/tramp-util.el:
4662 Don't load cl.el, because that pollutes the namespace. Replace cl
4663 macros by their implementations where necessary. Requested by
4664 Richard Stallman <rms@gnu.org>.
4666 * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it
4668 (with-parsed-tramp-file-name): Protect debug spec during compilation.
4669 (tramp-handle-insert-directory): Check (featurep 'ls-lisp).
4670 (tramp-file-name-p, tramp-file-name-multi-method)
4671 (tramp-file-name-method, tramp-file-name-user)
4672 (tramp-file-name-host, tramp-file-name-localname): New defuns,
4673 replacing defstruct `tramp-file-name'.
4674 (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1)
4675 (tramp-dissect-file-name, tramp-dissect-multi-file-name):
4676 Apply `vector' instead of `make-tramp-file-name'.
4677 (tramp-handle-make-auto-save-file-name):
4678 Apply `tramp-temporary-file-directory' for compatibility reasons.
4679 (tramp-completion-mode): Use `natnump' instead of `wholenump'
4681 (tramp-completion-mode): `last-input-event' is nil when XEmacs is
4684 2007-05-28 Chong Yidong <cyd@stupidchicken.com>
4686 * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
4688 2007-05-27 Tetsurou Okazaki <okazaki@be.to> (tiny change)
4690 * log-edit.el (log-edit-changelog-paragraph): Return point-max
4691 as the end of the ChangeLog paragraph when it ends without a line
4694 2007-05-27 Ryan Yeske <rcyeske@gmail.com>
4696 * net/webjump.el (webjump-sample-sites):
4697 Add simple Wikipedia query.
4699 2007-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4701 * emacs-lisp/derived.el (define-derived-mode): Remove bogus
4704 * emacs-lisp/copyright.el (copyright-names-regexp): New var.
4705 (copyright-update-year): Use it.
4707 * edmacro.el (edmacro-format-keys): Use current-active-maps.
4709 * ediff-init.el (ediff-defvar-local, ediff-with-current-buffer):
4710 Add indentation and debugging info. Fix up comment convention.
4712 * cus-dep.el (custom-make-dependencies): Simplify.
4714 * composite.el (compose-region, decompose-region):
4715 Use inhibit-read-only and restore-buffer-modified-p.
4717 * xt-mouse.el (xterm-mouse-truncate-wrap): New function.
4718 (xterm-mouse-event): Use it.
4720 2007-05-25 Juanma Barranquero <lekktu@gmail.com>
4722 * bs.el (bs-cycle-previous): Don't modify the cycle list until
4723 `switch-to-buffer' has returned succesfully.
4724 (bs-cycle-next): Ditto. Also, don't bury the buffer when the
4725 window is dedicated (it could iconify the frame).
4727 2007-05-25 Miles Bader <miles@fencepost.gnu.org>
4729 * vc-hooks.el (vc-find-root): Fix file attribute test.
4731 2007-05-24 Richard Stallman <rms@gnu.org>
4733 * textmodes/flyspell.el (flyspell-correct-word-before-point):
4734 Don't let opoint be nil.
4735 (flyspell-emacs-popup): Explicit error if no dialogs.
4737 2007-05-24 Chong Yidong <cyd@stupidchicken.com>
4739 * image-mode.el (image-forward-hscroll, image-backward-hscroll)
4740 (image-next-line, image-previous-line, image-scroll-up)
4741 (image-scroll-down, image-bol, image-eol, image-bob, image-eob):
4743 (image-mode-map): Remap motion commands.
4744 (image-mode-text-map): New keymap for viewing images as text.
4745 (image-mode): Use image-mode-map.
4746 (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps.
4748 2007-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4750 * textmodes/fill.el (canonically-space-region): Make the second arg
4751 a marker if it's not already the case.
4753 2007-05-23 Eli Zaretskii <eliz@gnu.org>
4755 * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer)
4756 (tar-get-descriptor): Handle type 55, an extended pax header.
4758 2007-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4760 * autoinsert.el (auto-insert-alist): Quote elisp sample code so as not
4761 to confuse outline-minor-mode.
4763 2007-05-23 Eli Zaretskii <eliz@gnu.org>
4765 * tar-mode.el (tar-file-name-handler): New function.
4766 (tar-extract): Bind file-name-handler-alist to it to force
4767 find-buffer-file-type-coding-system behave as if the file being
4768 extracted existed. Use last-coding-system-used to force
4769 buffer-file-coding-system to what decode-coding-region actually
4770 used to decode the file.
4772 2007-05-23 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
4774 * progmodes/compile.el (compilation-handle-exit):
4775 `compilation-finish-function' may change the current buffer.
4777 2007-05-22 Richard Stallman <rms@gnu.org>
4779 * files.el (set-auto-mode): Doc fix.
4781 2007-05-22 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
4783 * help-fns.el (find-source-lisp-file): New function.
4784 (describe-function-1): Use find-source-lisp-file to find source
4785 file in compile tree.
4787 2007-05-22 Eli Zaretskii <eliz@gnu.org>
4789 * dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
4791 2007-05-22 Juanma Barranquero <lekktu@gmail.com>
4793 * emacs-lisp/easy-mmode.el (define-minor-mode)
4794 (easy-mmode-define-navigation): Fix typos in docstrings.
4796 2007-05-22 Glenn Morris <rgm@gnu.org>
4798 * files.el (auto-mode-alist): Open `.asd' files in lisp-mode.
4800 2007-05-22 Katsumi Yamaoka <yamaoka@jpl.org>
4802 * mail/mail-extr.el (mail-extract-address-components):
4803 Recognize non-ASCII characters except for NBSP as words.
4805 2007-05-21 Trent Buck <trentbuck@gmail.com> (tiny change)
4807 * net/rcirc.el (rcirc-fill-column): Allow `window-width'.
4808 (rcirc-print): Handle `window-width'.
4809 (rcirc-buffer-maximum-lines): Doc fix.
4811 2007-05-21 Chong Yidong <cyd@stupidchicken.com>
4813 * image-mode.el (image-toggle-display): Don't clear image cache.
4814 Only use filename in image spec if the file is readable.
4817 * image.el (image-type-from-file-name, image-type): Simplify.
4818 (image-type-auto-detected-p): Don't scan auto-mode-alist.
4820 * files.el (magic-mode-alist): Remove image-type-auto-detected-p.
4821 (magic-fallback-mode-alist): Add image-type-auto-detected-p.
4823 2007-05-20 Nick Roberts <nickrob@snap.net.nz>
4825 * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there
4828 * term/linux.el (terminal-init-linux): Don't signal an error
4829 if gpm isn't running.
4831 2007-05-20 Nick Roberts <nickrob@snap.net.nz>
4833 * t-mouse.el: Reduce to a minor-mode macro call.
4834 (t-mouse-mode): Remove the lighter.
4836 * term/linux.el (terminal-init-linux): Enable t-mouse by default.
4838 2007-05-19 Dan Nicolaescu <dann@ics.uci.edu>
4840 * files.el (auto-mode-alist): Change the regexp so that
4841 ChangeLog.unicode and ChangeLog.multi-tty use change-log-mode.
4843 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
4845 * Version 22.1 released.
4847 2007-05-19 Chong Yidong <cyd@stupidchicken.com>
4849 * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20
4852 2007-05-19 Kevin Ryde <user42@zip.com.au>
4854 * info.el (Info-fontify-node): Fontify https as well as http and ftp.
4856 2007-05-18 Thien-Thi Nguyen <ttn@gnuvola.org>
4858 * textmodes/sgml-mode.el: Revert last change.
4860 2007-05-18 Richard Stallman <rms@gnu.org>
4862 * simple.el (push-mark): Doc fix.
4864 2007-05-18 Rob Riepel <riepel@Stanford.EDU>
4866 * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to
4868 (tpu-original-global-map): Variable deleted.
4869 (tpu-control-keys-map): New keymap variable.
4870 (tpu-set-control-keys): Use tpu-reset-control-keys rather than
4871 setting keymapping directly.
4872 (tpu-reset-control-keys): Use tpu-control-keys-map instead of
4874 (tpu-edt-on): Activate the tpu-global-map.
4875 (tpu-edt-off): Deactivate the tpu-global-map.
4877 2007-05-18 Ryan Yeske <rcyeske@gmail.com>
4879 * textmodes/ispell.el (ispell-get-word): Return markers
4880 for start and end positions.
4881 (ispell-word): Assume END is a marker.
4883 2007-05-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4885 * printing.el: Group together all XEmacs/Emacs definitions.
4886 (pr-version): New version 6.9.
4887 (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs.
4888 (pr-menu-char-height, pr-menu-char-width): Fix initialization code.
4889 (pr-menu-bind): Fix code.
4890 (pr-e-frame-char-height, pr-e-frame-char-width)
4891 (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function)
4892 (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height)
4893 (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event)
4894 (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel)
4895 (pr-x-event-y-pixel): Aliases eliminated.
4896 (pr-xemacs-global-menubar): Macro moved.
4897 (current-menubar, current-mouse-event, zmacs-region-stays)
4898 (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old)
4899 (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu):
4901 (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock)
4902 (pr-update-mode-line, pr-do-update-menus, pr-menu-alist)
4903 (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title)
4904 (pr-menu-set-utility-title, pr-even-or-odd-pages)
4905 (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string)
4906 (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs
4909 2007-05-17 Christian Plate <cplate@web.de> (tiny change)
4911 * textmodes/sgml-mode.el (sgml-tag):
4912 Fix bug: Call sgml-transformation-function.
4914 2007-05-17 Martin Rudalics <rudalics@gmx.at>
4916 * hilit-chg.el (highlight-changes-rotate-faces): Don't set
4917 modified flag of buffer. Use `inhibit-modification-hooks'.
4919 2007-05-16 Richard Stallman <rms@gnu.org>
4921 * buff-menu.el (Buffer-menu-sort-column): Doc fix.
4923 2007-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4925 * files.el (magic-mode-alist, magic-fallback-mode-alist):
4926 Move the *ml, Postscript, and XmCD entries to the fallback part.
4928 * files.el (magic-fallback-mode-alist):
4929 Rename from file-start-mode-alist.
4931 2007-05-16 Nikolaj Schumacher <n_schumacher@web.de> (tiny change)
4933 * progmodes/compile.el (compilation-handle-exit): Quote first
4934 argument of `run-hook-with-args'.
4936 2007-05-16 Juanma Barranquero <lekktu@gmail.com>
4938 * buff-menu.el (Buffer-menu-sort-column):
4939 * dabbrev.el (dabbrev-upcase-means-case-search):
4940 * dired.el (dired-recursive-deletes, dired-recursive-copies):
4941 * info.el (Info-current-subfile):
4942 * ls-lisp.el (ls-lisp-verbosity):
4943 * msb.el (msb-menu-cond):
4944 * pcvs.el (cvs-dired-use-hook):
4945 * simple.el (set-mark-command-repeat-pop):
4946 * time.el (display-time-24hr-format, display-time-mail-file):
4949 * tutorial.el (get-lang-string, tutorial--find-changed-keys):
4950 * printing.el (pr-ps-fast-fire): Fix typos in docstrings.
4952 * view.el (view-inhibit-help-message): Fix typo in docstring.
4953 (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
4955 2007-05-16 Martin Rudalics <rudalics@gmx.at>
4957 * textmodes/ispell.el (ispell-start-process): Defend against bad
4960 2007-05-14 Eli Zaretskii <eliz@gnu.org>
4962 * mail/rmail.el (rmail-convert-to-babyl-format): Check
4963 content-transfer-encoding _last_, because it's its position that
4964 we need as value of base64-header-field-end.
4966 2007-05-14 Juanma Barranquero <lekktu@gmail.com>
4968 * files.el (mode-require-final-newline, require-final-newline)
4969 (enable-local-variables, enable-local-eval): Doc fixes.
4971 2007-05-13 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4973 * ps-print.el: Use default color when foreground or background color
4974 are unspecified. Reported by Leo <sdl.web@gmail.com>.
4975 (ps-print-version): New version 6.7.4.
4976 (ps-rgb-color): New argument. Use default color when color is
4978 (ps-begin-job): Fix code.
4980 2007-05-12 Chong Yidong <cyd@stupidchicken.com>
4982 * longlines.el (longlines-mode): Make longlines-auto-wrap
4983 buffer-local. Add hooks unconditionally.
4984 (longlines-auto-wrap): Toggle wrapping.
4985 (longlines-after-change-function)
4986 (longlines-post-command-function): Check longlines-auto-wrap.
4988 2007-05-12 Nick Roberts <nickrob@snap.net.nz>
4990 * xt-mouse.el (xterm-mouse-debug-buffer): New variable.
4991 (xterm-mouse-translate): Use it.
4993 2007-05-10 Richard Stallman <rms@gnu.org>
4995 * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
4996 (iso-cvt-write-only): Likewise.
4998 * emacs-lisp/easy-mmode.el (define-minor-mode):
4999 Fix generated doc string.
5001 * startup.el (fancy-splash-text): Add URL of guided tour.
5002 Adjust horizontal and vertical whitespace.
5004 * progmodes/compile.el (compilation-handle-exit):
5005 Use run-hook-with-args to run compilation-finish-functions.
5007 * files.el (file-start-mode-alist): New variable.
5008 (magic-mode-regexp-match-limit): Doc fix.
5009 (set-auto-mode): Handle file-start-mode-alist.
5010 A little cleanup of structure.
5012 * dabbrev.el (dabbrev-eliminate-newlines):
5013 Renamed from dabbrev--eliminate-newlines. All uses changed.
5015 2007-05-10 Micha
\e,Ak
\e(Bl Cadilhac <michael@cadilhac.name>
5017 * man.el (Man-next-section): Don't consider the last line of the page
5018 as being part of any section.
5020 2007-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
5022 * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which
5023 can take any number of values.
5025 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
5028 to the list of citation commands.
5030 2007-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5032 * vc-hooks.el (vc-find-root): Stop searching when the user changes.
5034 2007-05-09 Edward O'Connor <hober0@gmail.com> (tiny change)
5036 * progmodes/python.el (python-font-lock-keywords)
5037 (python-open-block-statement-p, python-mode): Add support for the new
5040 2007-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5042 * diff-mode.el (diff-apply-hunk, diff-test-hunk): Don't do by default
5043 the exact opposite of diff-goto-source.
5045 * emacs-lisp/advice.el (ad-special-forms): Remove.
5046 (ad-special-form-p): Use subr-arity.
5048 * newcomment.el (comment-search-forward): Make sure we search forward.
5049 (comment-enter-backward): Try and distinguish the non-matching case at
5050 EOB from the non-matching case with a missing comment-end-skip for
5051 a 2-char comment ender.
5052 (comment-choose-indent): New function extracted from comment-indent.
5053 Improve the alignment algorithm.
5054 (comment-indent): Use it.
5056 * textmodes/sgml-mode.el (sgml-lexical-context): Add handling of
5057 XML style Processing Instructions.
5058 (sgml-parse-tag-backward): Handle XML-style PIs. Also ensure progress.
5059 (sgml-calculate-indent): Handle `pi' context.
5061 * vc.el: Ensure that update-changelog issues an error when used with
5062 a backend that does not implement it.
5063 (vc-update-changelog-rcs2log): Rename from vc-default-update-changelog.
5064 Remove `backend' argument. Use expand-file-name.
5065 (vc-cvs-update-changelog, vc-rcs-update-changelog): New aliases.
5067 * progmodes/python.el (python-end-of-block): Revert last change.
5068 (python-end-of-statement): Make sure we move *forward*.
5070 2007-05-08 Richard Stallman <rms@gnu.org>
5072 * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook):
5073 Don't include non-self-insert commands in the exception for `-'.
5075 2007-05-08 David Reitter <david.reitter@gmail.com>
5077 * progmodes/python.el (python-guess-indent): Check non-nullness
5078 before comparing indent against the 2..8 interval.
5080 2007-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5082 * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is
5085 2007-05-06 Richard Stallman <rms@gnu.org>
5087 * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix.
5089 2007-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5091 * diff.el (diff): Use buffer-local vars diff-old-file and diff-new-file
5092 rather than storing their value in the revert-buffer function.
5094 2007-05-04 Nick Roberts <nickrob@snap.net.nz>
5096 * t-mouse.el (t-mouse-mode): Do nothing on a graphical display
5097 when disabling t-mouse-mode.
5099 2007-05-01 Davis Herring <herring@lanl.gov>
5101 * calendar/timeclock.el: Update version number.
5102 (timeclock-modeline-display): Mention timeclock-use-display-time
5103 in explanatory message.
5104 (timeclock-in): Fix non-interactive workday specifications.
5105 (timeclock-log): Don't kill the log buffer if it already existed.
5106 Suppress warnings when finding the log. Don't check for a nil
5107 project twice. Run hooks after killing the buffer (if applicable).
5108 (timeclock-geometric-mean): Rename to `timeclock-mean' (it never
5109 was geometric). All uses changed.
5110 (timeclock-generate-report): Support prefix argument.
5112 2007-05-03 Ryan Yeske <rcyeske@gmail.com>
5114 * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted
5117 2007-05-01 Romain Francoise <romain@orebokech.com>
5119 * dired-x.el: Revert 2007-04-06 change.
5121 2007-04-29 Stephen Berman <Stephen.Berman@gmx.net>
5123 * find-dired.el (find-dired-filter): Propertize all text down to eob.
5125 2007-04-29 Richard Stallman <rms@gnu.org>
5127 * international/mule.el (auto-coding-alist): Add pdf => no-conversion.
5129 2007-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5131 * progmodes/cc-mode.el (c-before-change): Use point-min rather
5134 2007-04-28 Richard Stallman <rms@gnu.org>
5136 * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style.
5138 2007-04-28 Nick Roberts <nickrob@snap.net.nz>
5140 * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so
5141 don't put stop on toolbar.
5143 2007-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5145 * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem.
5147 2007-04-28 Eli Zaretskii <eliz@gnu.org>
5149 * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e
5150 instead of $(lisp)/mh-e.
5152 2007-04-28 Glenn Morris <rgm@gnu.org>
5154 * image-dired.el (image-dired-cmd-create-thumbnail-options)
5155 (image-dired-cmd-create-temp-image-options): Replace option
5156 +profile "*" with -strip.
5158 2007-04-27 Chong Yidong <cyd@stupidchicken.com>
5160 * textmodes/flyspell.el (flyspell-auto-correct-previous-word):
5161 Use window-start and window-end.
5163 2007-04-27 Andreas Schwab <schwab@suse.de>
5165 * emacs-lisp/sregex.el (sregexq): Fix doc string quoting.
5167 2007-04-27 Eli Zaretskii <eliz@gnu.org>
5169 * textmodes/fill.el (fill-paragraph): Doc fix.
5171 2007-04-26 Luc Teirlinck <teirllm@dms.auburn.edu>
5173 * locate.el (locate-in-alternate-database): Doc fix.
5175 2007-04-26 Glenn Morris <rgm@gnu.org>
5177 * button.el (button): Use underline if supported, else fall back
5180 * version.el (emacs-version): Increase to 22.1.50.
5182 2007-04-25 Richard Stallman <rms@gnu.org>
5184 * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'.
5186 2007-04-25 J.D. Smith <jdsmith@as.arizona.edu>
5188 * progmodes/idlwave.el (idlwave-beginning-of-subprogram)
5189 (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent
5191 (idlwave-current-routine): Don't push mark.
5193 2007-04-25 Mathias Dahl <mathias.dahl@gmail.com>
5195 * image-dired.el (image-dired-display-image): Derive image-type from
5196 filename rather than assuming jpeg, in case no resizing was needed.
5198 2007-04-25 Johan Bockg
\e,Ae
\e(Brd <bojohan@dd.chalmers.se>
5200 * custom.el (defface): Doc fix.
5202 See ChangeLog.12 for earlier changes.
5205 ;; coding: iso-2022-7bit
5206 ;; add-log-time-zone-rule: t
5209 Copyright (C) 2007 Free Software Foundation, Inc.
5211 This file is part of GNU Emacs.
5213 GNU Emacs is free software; you can redistribute it and/or modify
5214 it under the terms of the GNU General Public License as published by
5215 the Free Software Foundation; either version 3, or (at your option)
5218 GNU Emacs is distributed in the hope that it will be useful,
5219 but WITHOUT ANY WARRANTY; without even the implied warranty of
5220 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5221 GNU General Public License for more details.
5223 You should have received a copy of the GNU General Public License
5224 along with GNU Emacs; see the file COPYING. If not, write to the
5225 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
5226 Boston, MA 02110-1301, USA.
5228 ;; arch-tag: 1e8aa93a-fc6c-4ac3-9b10-1f445e1840af