diff options
| author | Dan Nicolaescu | 2008-03-20 15:51:45 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-03-20 15:51:45 +0000 |
| commit | 9f7ddd67c038cf4d141a086758a91ef1cd560541 (patch) | |
| tree | e09ad262d0d0725442d3f4f35a3eb8ea858e0e5c | |
| parent | 61dc89b03c0819a8f567f96bf895a1cc69619acc (diff) | |
| download | emacs-9f7ddd67c038cf4d141a086758a91ef1cd560541.tar.gz emacs-9f7ddd67c038cf4d141a086758a91ef1cd560541.zip | |
(vc-status-mark-buffer-changed): New function to implement
updating of the *vc-status* buffer when a buffer is saved.
(vc-status-mode): Use it for after-change-hook.
(vc-add-to-vc-status-buffer): Rename to ...
(vc-status-add-entry): ... this.
(Todo): Add new entry.
| -rw-r--r-- | lisp/ChangeLog | 91 | ||||
| -rw-r--r-- | lisp/vc.el | 35 |
2 files changed, 84 insertions, 42 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d4c2ad5f6c7..b2809bf0090 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2008-03-20 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * vc.el (vc-status-mark-buffer-changed): New function to implement | ||
| 4 | updating of the *vc-status* buffer when a buffer is saved. | ||
| 5 | (vc-status-mode): Use it for after-change-hook. | ||
| 6 | (vc-add-to-vc-status-buffer): Rename to ... | ||
| 7 | (vc-status-add-entry): ... this. | ||
| 8 | (Todo): Add new entry. | ||
| 9 | |||
| 1 | 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca> | 10 | 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 11 | ||
| 3 | * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness. | 12 | * sort.el (sort-reorder-buffer): Preserve the buffer's multibyteness. |
| @@ -9552,7 +9561,7 @@ | |||
| 9552 | 9561 | ||
| 9553 | * progmodes/python.el (top-level): Don't require cl when compiling. | 9562 | * progmodes/python.el (top-level): Don't require cl when compiling. |
| 9554 | 9563 | ||
| 9555 | 2007-12-02 Agust,Am(Bn Mart,Am(Bn <agustin.martin@hispalinux.es> | 9564 | 2007-12-02 Agust$(Q)c(Bn Mart$(Q)c(Bn <agustin.martin@hispalinux.es> |
| 9556 | 9565 | ||
| 9557 | * textmodes/flyspell.el (flyspell-large-region): Explicitly set | 9566 | * textmodes/flyspell.el (flyspell-large-region): Explicitly set |
| 9558 | encoding for aspell process and for communication with it. | 9567 | encoding for aspell process and for communication with it. |
| @@ -10296,7 +10305,7 @@ | |||
| 10296 | (x-send-client-message): | 10305 | (x-send-client-message): |
| 10297 | * emulation/cua-base.el (x-clipboard-yank): Declare as functions. | 10306 | * emulation/cua-base.el (x-clipboard-yank): Declare as functions. |
| 10298 | 10307 | ||
| 10299 | 2007-11-22 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 10308 | 2007-11-22 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 10300 | 10309 | ||
| 10301 | * term/x-win.el (x-gtk-map-stock): Check if FILE is a string. | 10310 | * term/x-win.el (x-gtk-map-stock): Check if FILE is a string. |
| 10302 | 10311 | ||
| @@ -11215,7 +11224,7 @@ | |||
| 11215 | 11224 | ||
| 11216 | * emulation/tpu-mapper.el (tpu-map-key): Remove un-needed cond branch. | 11225 | * emulation/tpu-mapper.el (tpu-map-key): Remove un-needed cond branch. |
| 11217 | 11226 | ||
| 11218 | 2007-11-07 Johan Bockg,Ae(Brd <bojohan@gnu.org> | 11227 | 2007-11-07 Johan Bockg$(Q)[(Brd <bojohan@gnu.org> |
| 11219 | 11228 | ||
| 11220 | * eshell/esh-mode.el (eshell-output-filter): | 11229 | * eshell/esh-mode.el (eshell-output-filter): |
| 11221 | * eshell/esh-proc.el (eshell-insertion-filter, eshell-sentinel): | 11230 | * eshell/esh-proc.el (eshell-insertion-filter, eshell-sentinel): |
| @@ -12913,7 +12922,7 @@ | |||
| 12913 | * help-fns.el (describe-function-1): Don't use the advice origname | 12922 | * help-fns.el (describe-function-1): Don't use the advice origname |
| 12914 | if it has no function definition. | 12923 | if it has no function definition. |
| 12915 | 12924 | ||
| 12916 | 2007-10-18 Johan Bockg,Ae(Brd <bojohan@gnu.org> | 12925 | 2007-10-18 Johan Bockg$(Q)[(Brd <bojohan@gnu.org> |
| 12917 | 12926 | ||
| 12918 | * net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion. | 12927 | * net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion. |
| 12919 | Use `save-restriction' rather than `widen'. | 12928 | Use `save-restriction' rather than `widen'. |
| @@ -13627,7 +13636,7 @@ | |||
| 13627 | (bs--get-mode-name, bs-mode): Fix typos in docstrings. | 13636 | (bs--get-mode-name, bs-mode): Fix typos in docstrings. |
| 13628 | (bs--format-aux): Doc fix. | 13637 | (bs--format-aux): Doc fix. |
| 13629 | 13638 | ||
| 13630 | 2007-10-08 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 13639 | 2007-10-08 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 13631 | 13640 | ||
| 13632 | * progmodes/gud.el (gud-gud-gdb-command-name): Fix typo in docstring. | 13641 | * progmodes/gud.el (gud-gud-gdb-command-name): Fix typo in docstring. |
| 13633 | 13642 | ||
| @@ -13673,11 +13682,11 @@ | |||
| 13673 | * progmodes/gud.el (gud-display-line): Find source buffer even when | 13682 | * progmodes/gud.el (gud-display-line): Find source buffer even when |
| 13674 | GUD buffer has its own frame. | 13683 | GUD buffer has its own frame. |
| 13675 | 13684 | ||
| 13676 | 2007-10-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 13685 | 2007-10-08 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 13677 | 13686 | ||
| 13678 | * term/x-win.el (icon-map-list): Set to nil for 22.1 compatibility. | 13687 | * term/x-win.el (icon-map-list): Set to nil for 22.1 compatibility. |
| 13679 | 13688 | ||
| 13680 | 2007-10-08 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 13689 | 2007-10-08 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 13681 | 13690 | ||
| 13682 | * term/x-win.el (x-gtk-stock-map): Version is 22.2. | 13691 | * term/x-win.el (x-gtk-stock-map): Version is 22.2. |
| 13683 | 13692 | ||
| @@ -14055,7 +14064,7 @@ | |||
| 14055 | * emacs-lisp/copyright.el (copyright-update): Don't update if the file | 14064 | * emacs-lisp/copyright.el (copyright-update): Don't update if the file |
| 14056 | already uses a more recent copyright version than the "current" one. | 14065 | already uses a more recent copyright version than the "current" one. |
| 14057 | 14066 | ||
| 14058 | 2007-10-03 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 14067 | 2007-10-03 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 14059 | 14068 | ||
| 14060 | * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-reset-slice) | 14069 | * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-reset-slice) |
| 14061 | (doc-view-insert-image): Minor aesthetical docstring changes. | 14070 | (doc-view-insert-image): Minor aesthetical docstring changes. |
| @@ -14160,7 +14169,7 @@ | |||
| 14160 | 14169 | ||
| 14161 | * play/zone.el (zone-hiding-modeline): Use mode-line-format. | 14170 | * play/zone.el (zone-hiding-modeline): Use mode-line-format. |
| 14162 | 14171 | ||
| 14163 | 2007-09-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 14172 | 2007-09-29 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 14164 | 14173 | ||
| 14165 | * term/x-win.el (x-gtk-stock-map): Version is 22.2. | 14174 | * term/x-win.el (x-gtk-stock-map): Version is 22.2. |
| 14166 | 14175 | ||
| @@ -14430,7 +14439,7 @@ | |||
| 14430 | * indent.el (indent-for-tab-command): First check if the region is | 14439 | * indent.el (indent-for-tab-command): First check if the region is |
| 14431 | active. | 14440 | active. |
| 14432 | 14441 | ||
| 14433 | 2007-09-24 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 14442 | 2007-09-24 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 14434 | 14443 | ||
| 14435 | * whitespace.el (whitespace-tickle-timer): Don't install the timer if | 14444 | * whitespace.el (whitespace-tickle-timer): Don't install the timer if |
| 14436 | whitespace-rescan-timer-time is 0. | 14445 | whitespace-rescan-timer-time is 0. |
| @@ -14550,7 +14559,7 @@ | |||
| 14550 | * indent.el (indent-for-tab-command): Indent the region if | 14559 | * indent.el (indent-for-tab-command): Indent the region if |
| 14551 | transient-mark-mode and the region is active. | 14560 | transient-mark-mode and the region is active. |
| 14552 | 14561 | ||
| 14553 | 2007-09-21 Francesco Potort,Al(B <pot@gnu.org> | 14562 | 2007-09-21 Francesco Potort$(Q)b(B <pot@gnu.org> |
| 14554 | 14563 | ||
| 14555 | * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to | 14564 | * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to |
| 14556 | add inferior-octave-directory-tracker to the buffer-local value | 14565 | add inferior-octave-directory-tracker to the buffer-local value |
| @@ -14714,7 +14723,7 @@ | |||
| 14714 | (browse-url-elinks-sentinel): Use browse-url-elinks-new-window. | 14723 | (browse-url-elinks-sentinel): Use browse-url-elinks-new-window. |
| 14715 | Improve error message. | 14724 | Improve error message. |
| 14716 | 14725 | ||
| 14717 | 2007-09-19 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 14726 | 2007-09-19 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 14718 | 14727 | ||
| 14719 | * net/browse-url.el (browse-url-url-encode-chars): Use the right | 14728 | * net/browse-url.el (browse-url-url-encode-chars): Use the right |
| 14720 | parameter name in the function body. | 14729 | parameter name in the function body. |
| @@ -14750,7 +14759,7 @@ | |||
| 14750 | * newcomment.el (comment-add): New arg EXTRA. | 14759 | * newcomment.el (comment-add): New arg EXTRA. |
| 14751 | (comment-region-default): Pass EXTRA if not indenting lines. | 14760 | (comment-region-default): Pass EXTRA if not indenting lines. |
| 14752 | 14761 | ||
| 14753 | 2007-09-17 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 14762 | 2007-09-17 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 14754 | 14763 | ||
| 14755 | * net/browse-url.el (browse-url-url-encode-chars): New function. | 14764 | * net/browse-url.el (browse-url-url-encode-chars): New function. |
| 14756 | URL-encode some chars in a string. | 14765 | URL-encode some chars in a string. |
| @@ -14799,7 +14808,7 @@ | |||
| 14799 | (move-beginning-of-line): Remove unused var `start'. | 14808 | (move-beginning-of-line): Remove unused var `start'. |
| 14800 | (blink-matching-open): Restructure in a more functional style. | 14809 | (blink-matching-open): Restructure in a more functional style. |
| 14801 | 14810 | ||
| 14802 | 2007-09-16 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 14811 | 2007-09-16 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 14803 | 14812 | ||
| 14804 | * calendar/holidays.el (list-holidays): Remove the cyclic alias. | 14813 | * calendar/holidays.el (list-holidays): Remove the cyclic alias. |
| 14805 | 14814 | ||
| @@ -14957,7 +14966,7 @@ | |||
| 14957 | 14966 | ||
| 14958 | * term/rxvt.el (rxvt-function-map): Initialize in the declaration. | 14967 | * term/rxvt.el (rxvt-function-map): Initialize in the declaration. |
| 14959 | 14968 | ||
| 14960 | 2007-09-12 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 14969 | 2007-09-12 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 14961 | 14970 | ||
| 14962 | * net/browse-url.el (browse-url-encode-url): Fix an infinite loop. | 14971 | * net/browse-url.el (browse-url-encode-url): Fix an infinite loop. |
| 14963 | New argument `filename-p' to use one set of confusing chars or another. | 14972 | New argument `filename-p' to use one set of confusing chars or another. |
| @@ -15000,7 +15009,7 @@ | |||
| 15000 | 2007-09-10 Thien-Thi Nguyen <ttn@gnuvola.org> | 15009 | 2007-09-10 Thien-Thi Nguyen <ttn@gnuvola.org> |
| 15001 | 15010 | ||
| 15002 | * net/browse-url.el (browse-url-encode-url): Use copy-sequence. | 15011 | * net/browse-url.el (browse-url-encode-url): Use copy-sequence. |
| 15003 | Reported by Jan Dj,Ad(Brv <jan.h.d@swipnet.se>. | 15012 | Reported by Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se>. |
| 15004 | 15013 | ||
| 15005 | 2007-09-10 Dave Love <fx@gnu.org> | 15014 | 2007-09-10 Dave Love <fx@gnu.org> |
| 15006 | 15015 | ||
| @@ -15008,7 +15017,7 @@ | |||
| 15008 | Move font-lock-builtin-face down from 4 to 7 to better keep the | 15017 | Move font-lock-builtin-face down from 4 to 7 to better keep the |
| 15009 | progression of color brightness, and to better match Org-mode's faces. | 15018 | progression of color brightness, and to better match Org-mode's faces. |
| 15010 | 15019 | ||
| 15011 | 2007-09-10 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 15020 | 2007-09-10 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 15012 | 15021 | ||
| 15013 | * progmodes/meta-mode.el (meta-font-lock-keywords) | 15022 | * progmodes/meta-mode.el (meta-font-lock-keywords) |
| 15014 | (font-lock-match-meta-declaration-item-and-skip-to-next) | 15023 | (font-lock-match-meta-declaration-item-and-skip-to-next) |
| @@ -15176,7 +15185,7 @@ | |||
| 15176 | 15185 | ||
| 15177 | * vc-arch.el (vc-arch-checkin): Fix typo. | 15186 | * vc-arch.el (vc-arch-checkin): Fix typo. |
| 15178 | 15187 | ||
| 15179 | 2007-09-07 Johan Bockg,Ae(Brd <bojohan@gnu.org> | 15188 | 2007-09-07 Johan Bockg$(Q)[(Brd <bojohan@gnu.org> |
| 15180 | 15189 | ||
| 15181 | * cus-face.el (custom-theme-set-faces): Set face attributes | 15190 | * cus-face.el (custom-theme-set-faces): Set face attributes |
| 15182 | locally for each frame. | 15191 | locally for each frame. |
| @@ -15245,7 +15254,7 @@ | |||
| 15245 | * complete.el (PC-do-completion): Don't try to treat | 15254 | * complete.el (PC-do-completion): Don't try to treat |
| 15246 | empty string as an abbreviation. | 15255 | empty string as an abbreviation. |
| 15247 | 15256 | ||
| 15248 | 2007-09-06 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> | 15257 | 2007-09-06 Johan Bockg$(Q)[(Brd <bojohan@dd.chalmers.se> |
| 15249 | 15258 | ||
| 15250 | * help-fns.el (describe-variable): Keep doc's text properties. | 15259 | * help-fns.el (describe-variable): Keep doc's text properties. |
| 15251 | 15260 | ||
| @@ -15272,7 +15281,7 @@ | |||
| 15272 | (normal-no-mouse-startup-screen): New fn, broken out. | 15281 | (normal-no-mouse-startup-screen): New fn, broken out. |
| 15273 | (normal-about-screen): New function, contents all new. | 15282 | (normal-about-screen): New function, contents all new. |
| 15274 | 15283 | ||
| 15275 | 2007-09-05 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 15284 | 2007-09-05 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 15276 | 15285 | ||
| 15277 | * emacs-lisp/rx.el (rx): Fix typo in docstring. | 15286 | * emacs-lisp/rx.el (rx): Fix typo in docstring. |
| 15278 | 15287 | ||
| @@ -15281,7 +15290,7 @@ | |||
| 15281 | * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode | 15290 | * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode |
| 15282 | is bound. | 15291 | is bound. |
| 15283 | 15292 | ||
| 15284 | 2007-09-05 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> | 15293 | 2007-09-05 Johan Bockg$(Q)[(Brd <bojohan@dd.chalmers.se> |
| 15285 | 15294 | ||
| 15286 | * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note | 15295 | * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note |
| 15287 | in doc string. | 15296 | in doc string. |
| @@ -15353,7 +15362,7 @@ | |||
| 15353 | (terminal-init-xterm): Use it. Deal with delete-frame hook. | 15362 | (terminal-init-xterm): Use it. Deal with delete-frame hook. |
| 15354 | Add the selected frame to xterm-modify-other-keys-terminal-list. | 15363 | Add the selected frame to xterm-modify-other-keys-terminal-list. |
| 15355 | 15364 | ||
| 15356 | 2007-09-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 15365 | 2007-09-02 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 15357 | 15366 | ||
| 15358 | * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager. | 15367 | * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager. |
| 15359 | (icon-map-list): New variable. | 15368 | (icon-map-list): New variable. |
| @@ -15399,7 +15408,7 @@ | |||
| 15399 | 15408 | ||
| 15400 | * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff. | 15409 | * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff. |
| 15401 | 15410 | ||
| 15402 | 2007-08-31 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 15411 | 2007-08-31 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 15403 | 15412 | ||
| 15404 | * textmodes/flyspell.el (flyspell-mark-duplications-exceptions): | 15413 | * textmodes/flyspell.el (flyspell-mark-duplications-exceptions): |
| 15405 | New variable. List of exceptions for the duplicated word rule. | 15414 | New variable. List of exceptions for the duplicated word rule. |
| @@ -15409,7 +15418,7 @@ | |||
| 15409 | * files.el (create-file-buffer): If the filename sans directory starts | 15418 | * files.el (create-file-buffer): If the filename sans directory starts |
| 15410 | with spaces, remove them. | 15419 | with spaces, remove them. |
| 15411 | 15420 | ||
| 15412 | 2007-08-31 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 15421 | 2007-08-31 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 15413 | 15422 | ||
| 15414 | * term/x-win.el (x-gtk-stock-map): Add etc/images to keys. | 15423 | * term/x-win.el (x-gtk-stock-map): Add etc/images to keys. |
| 15415 | (x-gtk-map-stock): Use two directory elements when matching | 15424 | (x-gtk-map-stock): Use two directory elements when matching |
| @@ -15516,7 +15525,7 @@ | |||
| 15516 | 15525 | ||
| 15517 | * version.el (emacs-version): Increase to 23.0.50. | 15526 | * version.el (emacs-version): Increase to 23.0.50. |
| 15518 | 15527 | ||
| 15519 | 2007-08-29 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 15528 | 2007-08-29 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 15520 | 15529 | ||
| 15521 | * term/x-win.el (x-gtk-stock-map): :version changed to 23.1. | 15530 | * term/x-win.el (x-gtk-stock-map): :version changed to 23.1. |
| 15522 | 15531 | ||
| @@ -15572,7 +15581,7 @@ | |||
| 15572 | 15581 | ||
| 15573 | * env.el (getenv): Pass frame to getenv-internal. | 15582 | * env.el (getenv): Pass frame to getenv-internal. |
| 15574 | 15583 | ||
| 15575 | 2007-08-29 K,Aa(Broly L$,1 q(Brentey <lorentey@elte.hu> | 15584 | 2007-08-29 K$(Q)W(Broly L$(Q*S(Brentey <lorentey@elte.hu> |
| 15576 | 15585 | ||
| 15577 | * version.el (emacs-version): Show if multi-tty is present. | 15586 | * version.el (emacs-version): Show if multi-tty is present. |
| 15578 | 15587 | ||
| @@ -15873,7 +15882,7 @@ | |||
| 15873 | (display-time-world-timer-second, display-time-world-mode-map): | 15882 | (display-time-world-timer-second, display-time-world-mode-map): |
| 15874 | New variables. | 15883 | New variables. |
| 15875 | 15884 | ||
| 15876 | 2007-08-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 15885 | 2007-08-28 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 15877 | 15886 | ||
| 15878 | * term/x-win.el (x-gtk-stock-map): New variable. | 15887 | * term/x-win.el (x-gtk-stock-map): New variable. |
| 15879 | (x-gtk-map-stock): New function. | 15888 | (x-gtk-map-stock): New function. |
| @@ -15881,7 +15890,7 @@ | |||
| 15881 | * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and | 15890 | * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and |
| 15882 | prev/next-node. | 15891 | prev/next-node. |
| 15883 | 15892 | ||
| 15884 | 2007-08-28 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> (tiny change) | 15893 | 2007-08-28 Johan Bockg$(Q)[(Brd <bojohan@dd.chalmers.se> (tiny change) |
| 15885 | 15894 | ||
| 15886 | * play/gamegrid.el (gamegrid-init): Set line-spacing to 0. | 15895 | * play/gamegrid.el (gamegrid-init): Set line-spacing to 0. |
| 15887 | 15896 | ||
| @@ -15981,7 +15990,7 @@ | |||
| 15981 | 15990 | ||
| 15982 | * vc.el (vc-annotate-warp-version): Don't use previous-line. | 15991 | * vc.el (vc-annotate-warp-version): Don't use previous-line. |
| 15983 | 15992 | ||
| 15984 | 2007-08-27 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> | 15993 | 2007-08-27 Johan Bockg$(Q)[(Brd <bojohan@dd.chalmers.se> |
| 15985 | 15994 | ||
| 15986 | * net/browse-url.el (browse-url-emacs): New function. | 15995 | * net/browse-url.el (browse-url-emacs): New function. |
| 15987 | 15996 | ||
| @@ -15989,7 +15998,7 @@ | |||
| 15989 | 15998 | ||
| 15990 | * emacs-lisp/avl-tree.el: New file. | 15999 | * emacs-lisp/avl-tree.el: New file. |
| 15991 | 16000 | ||
| 15992 | 2007-08-26 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 16001 | 2007-08-26 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 15993 | 16002 | ||
| 15994 | * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse | 16003 | * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse |
| 15995 | was used. | 16004 | was used. |
| @@ -16437,7 +16446,7 @@ | |||
| 16437 | undo-list when setting syntax-table properties. | 16446 | undo-list when setting syntax-table properties. |
| 16438 | (ada-after-change-function): Use ada-set-syntax-table-properties. | 16447 | (ada-after-change-function): Use ada-set-syntax-table-properties. |
| 16439 | 16448 | ||
| 16440 | 2007-08-18 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 16449 | 2007-08-18 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 16441 | 16450 | ||
| 16442 | * progmodes/meta-mode.el (meta-indent-calculate-last): Remove. | 16451 | * progmodes/meta-mode.el (meta-indent-calculate-last): Remove. |
| 16443 | (meta-indent-current-nesting): Use a computation of the nesting | 16452 | (meta-indent-current-nesting): Use a computation of the nesting |
| @@ -16490,7 +16499,7 @@ | |||
| 16490 | (cperl-find-pods-heres): Fix an error when typing expressions like | 16499 | (cperl-find-pods-heres): Fix an error when typing expressions like |
| 16491 | `s{a}{b}'. | 16500 | `s{a}{b}'. |
| 16492 | 16501 | ||
| 16493 | 2007-08-17 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 16502 | 2007-08-17 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 16494 | 16503 | ||
| 16495 | * mail/emacsbug.el (report-emacs-bug): Remove the last number of | 16504 | * mail/emacsbug.el (report-emacs-bug): Remove the last number of |
| 16496 | `emacs-version', use the topic prefix ``version; ''. Make MS-DOS | 16505 | `emacs-version', use the topic prefix ``version; ''. Make MS-DOS |
| @@ -16581,7 +16590,7 @@ | |||
| 16581 | sloppier, for the sake of GNU Mailman. | 16590 | sloppier, for the sake of GNU Mailman. |
| 16582 | (rmail-digest-rfc1153): Initialize `result' correctly. | 16591 | (rmail-digest-rfc1153): Initialize `result' correctly. |
| 16583 | 16592 | ||
| 16584 | 2007-08-15 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 16593 | 2007-08-15 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 16585 | 16594 | ||
| 16586 | * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; ' | 16595 | * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; ' |
| 16587 | in the mail title. Suggested by Reiner Steib. | 16596 | in the mail title. Suggested by Reiner Steib. |
| @@ -17733,7 +17742,7 @@ | |||
| 17733 | 17742 | ||
| 17734 | * net/trampver.el: Update release number. | 17743 | * net/trampver.el: Update release number. |
| 17735 | 17744 | ||
| 17736 | 2007-07-22 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 17745 | 2007-07-22 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 17737 | 17746 | ||
| 17738 | * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon. | 17747 | * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon. |
| 17739 | 17748 | ||
| @@ -18378,7 +18387,7 @@ | |||
| 18378 | * isearch.el (isearch-edit-string): Call to isearch-push-state | 18387 | * isearch.el (isearch-edit-string): Call to isearch-push-state |
| 18379 | after the search. | 18388 | after the search. |
| 18380 | 18389 | ||
| 18381 | 2007-07-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 18390 | 2007-07-09 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 18382 | 18391 | ||
| 18383 | * window.el (fit-window-to-buffer): Remove setting of window-min-height | 18392 | * window.el (fit-window-to-buffer): Remove setting of window-min-height |
| 18384 | to 1 as enlarge-window uses the value to resize/shrink windows other | 18393 | to 1 as enlarge-window uses the value to resize/shrink windows other |
| @@ -18761,7 +18770,7 @@ | |||
| 18761 | * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\) | 18770 | * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\) |
| 18762 | syntax as well. Reported by Juri Linkov <juri@jurta.org>. | 18771 | syntax as well. Reported by Juri Linkov <juri@jurta.org>. |
| 18763 | 18772 | ||
| 18764 | 2007-06-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 18773 | 2007-06-28 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 18765 | 18774 | ||
| 18766 | * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to | 18775 | * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to |
| 18767 | replace-regexp-in-string. | 18776 | replace-regexp-in-string. |
| @@ -19374,7 +19383,7 @@ | |||
| 19374 | 19383 | ||
| 19375 | * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change. | 19384 | * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change. |
| 19376 | 19385 | ||
| 19377 | 2007-06-13 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> (tiny change) | 19386 | 2007-06-13 Johan Bockg$(Q)[(Brd <bojohan@dd.chalmers.se> (tiny change) |
| 19378 | 19387 | ||
| 19379 | * term/xterm.el (terminal-init-xterm): Escape parens in character | 19388 | * term/xterm.el (terminal-init-xterm): Escape parens in character |
| 19380 | constants. | 19389 | constants. |
| @@ -19553,7 +19562,7 @@ | |||
| 19553 | * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions): | 19562 | * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions): |
| 19554 | Match against file-name-nondirectory. | 19563 | Match against file-name-nondirectory. |
| 19555 | Fix text on user customization variables. | 19564 | Fix text on user customization variables. |
| 19556 | Reported by Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se>. | 19565 | Reported by Johan Bockg$(Q)[(Brd <bojohan@dd.chalmers.se>. |
| 19557 | 19566 | ||
| 19558 | 2007-06-09 Alfred M. Szmidt <ams@gnu.org> (tiny change) | 19567 | 2007-06-09 Alfred M. Szmidt <ams@gnu.org> (tiny change) |
| 19559 | 19568 | ||
| @@ -19961,7 +19970,7 @@ | |||
| 19961 | 19970 | ||
| 19962 | * files.el (set-auto-mode): Doc fix. | 19971 | * files.el (set-auto-mode): Doc fix. |
| 19963 | 19972 | ||
| 19964 | 2007-05-22 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 19973 | 2007-05-22 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> |
| 19965 | 19974 | ||
| 19966 | * help-fns.el (find-source-lisp-file): New function. | 19975 | * help-fns.el (find-source-lisp-file): New function. |
| 19967 | (describe-function-1): Use find-source-lisp-file to find source | 19976 | (describe-function-1): Use find-source-lisp-file to find source |
| @@ -20195,7 +20204,7 @@ | |||
| 20195 | * dabbrev.el (dabbrev-eliminate-newlines): | 20204 | * dabbrev.el (dabbrev-eliminate-newlines): |
| 20196 | Renamed from dabbrev--eliminate-newlines. All uses changed. | 20205 | Renamed from dabbrev--eliminate-newlines. All uses changed. |
| 20197 | 20206 | ||
| 20198 | 2007-05-10 Micha,Ak(Bl Cadilhac <michael@cadilhac.name> | 20207 | 2007-05-10 Micha$(Q)a(Bl Cadilhac <michael@cadilhac.name> |
| 20199 | 20208 | ||
| 20200 | * man.el (Man-next-section): Don't consider the last line of the page | 20209 | * man.el (Man-next-section): Don't consider the last line of the page |
| 20201 | as being part of any section. | 20210 | as being part of any section. |
| @@ -20378,7 +20387,7 @@ | |||
| 20378 | * image-dired.el (image-dired-display-image): Derive image-type from | 20387 | * image-dired.el (image-dired-display-image): Derive image-type from |
| 20379 | filename rather than assuming jpeg, in case no resizing was needed. | 20388 | filename rather than assuming jpeg, in case no resizing was needed. |
| 20380 | 20389 | ||
| 20381 | 2007-04-25 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se> | 20390 | 2007-04-25 Johan Bockg$(Q)[(Brd <bojohan@dd.chalmers.se> |
| 20382 | 20391 | ||
| 20383 | * custom.el (defface): Doc fix. | 20392 | * custom.el (defface): Doc fix. |
| 20384 | 20393 | ||
diff --git a/lisp/vc.el b/lisp/vc.el index 274376765c5..412e7b85fce 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -553,6 +553,8 @@ | |||
| 553 | 553 | ||
| 554 | ;;; Todo: | 554 | ;;; Todo: |
| 555 | 555 | ||
| 556 | ;; - vc-state needs a new state for `added'. | ||
| 557 | ;; | ||
| 556 | ;; - vc-update/vc-merge should deal with VC systems that don't | 558 | ;; - vc-update/vc-merge should deal with VC systems that don't |
| 557 | ;; update/merge on a file basis, but on a whole repository basis. | 559 | ;; update/merge on a file basis, but on a whole repository basis. |
| 558 | ;; | 560 | ;; |
| @@ -2869,6 +2871,7 @@ With prefix arg READ-SWITCHES, specify a value to override | |||
| 2869 | (set (make-local-variable 'vc-status) | 2871 | (set (make-local-variable 'vc-status) |
| 2870 | (ewoc-create #'vc-status-printer | 2872 | (ewoc-create #'vc-status-printer |
| 2871 | (vc-status-headers backend default-directory))) | 2873 | (vc-status-headers backend default-directory))) |
| 2874 | (add-hook 'after-save-hook 'vc-status-mark-buffer-changed) | ||
| 2872 | (vc-status-refresh))) | 2875 | (vc-status-refresh))) |
| 2873 | 2876 | ||
| 2874 | (put 'vc-status-mode 'mode-class 'special) | 2877 | (put 'vc-status-mode 'mode-class 'special) |
| @@ -2892,7 +2895,7 @@ With prefix arg READ-SWITCHES, specify a value to override | |||
| 2892 | ;; We are done, turn of the in progress message in the mode-line. | 2895 | ;; We are done, turn of the in progress message in the mode-line. |
| 2893 | (setq mode-line-process nil))) | 2896 | (setq mode-line-process nil))) |
| 2894 | 2897 | ||
| 2895 | (defun vc-add-to-vc-status-buffer (entry buffer) | 2898 | (defun vc-status-add-entry (entry buffer) |
| 2896 | ;; Add one ENTRY to the vc-status buffer BUFFER. | 2899 | ;; Add one ENTRY to the vc-status buffer BUFFER. |
| 2897 | ;; This will be used to automatically add files with the "modified" | 2900 | ;; This will be used to automatically add files with the "modified" |
| 2898 | ;; state when saving them. | 2901 | ;; state when saving them. |
| @@ -3115,6 +3118,36 @@ that share the same state." | |||
| 3115 | vc-status | 3118 | vc-status |
| 3116 | (lambda (crt) (vc-status-fileinfo->marked crt))))) | 3119 | (lambda (crt) (vc-status-fileinfo->marked crt))))) |
| 3117 | 3120 | ||
| 3121 | (defun vc-status-mark-buffer-changed () | ||
| 3122 | (let* ((file (expand-file-name buffer-file-name)) | ||
| 3123 | (version (and (vc-backend file) (vc-working-revision file))) | ||
| 3124 | (found-vc-status-buf nil)) | ||
| 3125 | (save-excursion | ||
| 3126 | (dolist (status-buf (buffer-list)) | ||
| 3127 | (set-buffer status-buf) | ||
| 3128 | ;; look for a vc-status buffer that might show this file. | ||
| 3129 | (when (eq major-mode 'vc-status-mode) | ||
| 3130 | (setq found-vc-status-buf t) | ||
| 3131 | (let ((def-dir (expand-file-name default-directory))) | ||
| 3132 | ;; This test is cvs-string-prefix-p | ||
| 3133 | (when (eq t (compare-strings file nil (length def-dir) def-dir nil nil)) | ||
| 3134 | (let* ((file-short | ||
| 3135 | (substring file (length def-dir))) | ||
| 3136 | (entry | ||
| 3137 | (cons | ||
| 3138 | file-short | ||
| 3139 | (if version | ||
| 3140 | ;; This it not the correct test to check if | ||
| 3141 | ;; the files is "added" for all backends. | ||
| 3142 | ;; It does not work for git for example. | ||
| 3143 | ;; vc-state needs a new state: `added'. | ||
| 3144 | (if (string= "0" version) 'added 'modified) | ||
| 3145 | 'unregistered)))) | ||
| 3146 | (vc-status-add-entry entry status-buf)))))) | ||
| 3147 | ;; We didn't find any vc-status buffers, remove the hook, it is | ||
| 3148 | ;; not needed. | ||
| 3149 | (unless found-vc-status-buf (remove-hook 'after-save-hook 'vc-status-mark-buffer-changed))))) | ||
| 3150 | |||
| 3118 | ;;; End experimental code. | 3151 | ;;; End experimental code. |
| 3119 | 3152 | ||
| 3120 | ;; Named-configuration entry points | 3153 | ;; Named-configuration entry points |