Commit graph

66 commits

Author SHA1 Message Date
Michael Albinus
4d3d4310d8 * vc-dispatcher.el (vc-do-command): Let asynchronous processes run
also for remote directories.
2008-08-14 19:28:44 +00:00
Dan Nicolaescu
d923f4ac08 * vc-dir.el (vc-dir-find-child-files): New function.
(vc-dir-resync-directory-files): New function.
(vc-dir-recompute-file-state): New function, broken out of ...
(vc-dir-resynch-file): ... here.  Also deal with directories.
* vc-dispatcher.el (vc-resynch-buffers-in-directory): New function.
(vc-resynch-buffer): Use it.
2008-07-05 18:09:32 +00:00
Dan Nicolaescu
74d0991fc5 * vc.el:
* vc-hooks.el:
* vc-dispatcher.el: Move vc-dir variables and functions ...
* vc-dir.el: ... here.  New file.
* Makefile.in (ELCFILES): Add vc-dir.elc.
2008-06-22 19:04:22 +00:00
Stefan Monnier
7b74a6f9f0 (vc-dir-child-files): Use vc-string-prefix-p.
(vc-dir-marked-only-files): vc-string-prefix-p.
2008-06-16 20:36:55 +00:00
Glenn Morris
6b9ebb348a (vc-dir-mode): Check tool-bar-mode is bound. 2008-06-12 03:49:52 +00:00
Andreas Schwab
64137cbc07 (vc-dir-children-marked-p): Fix child check. 2008-06-08 15:31:08 +00:00
Andreas Schwab
c99657a558 (vc-dir-move-to-goal-column): Don't move in an
empty line.
2008-06-08 14:53:18 +00:00
Stefan Monnier
8d27bcdf2e (vc-dir-menu-map-filter): Don't fail if vc-client-mode is not set. 2008-06-03 07:56:02 +00:00
Dan Nicolaescu
e02d8ae787 * vc-dispatcher.el (vc-directory-resynch-file): Rename to ...
(vc-dir-resynch-file): ... this.  Update callers.
Use vc-string-prefix-p.  Ignore directory args.
(vc-string-prefix-p): CSE.
(vc-resynch-buffer): Restore conditional.

* vc-hooks.el (vc-after-save): Improve test.
(vc-mode-line): Fix indentation.
2008-05-27 05:36:03 +00:00
Stefan Monnier
3561170332 (vc-string-prefix-p): New function.
(vc-dir-parent-marked-p): Use it.
2008-05-27 01:13:25 +00:00
Dan Nicolaescu
af71bb11ac (vc-dir-child-files): New function.
(vc-dir-node-directory): New function.
(vc-dir-update, vc-dir-parent-marked-p)
(vc-dir-children-marked-p, vc-dir-mark-all-files)
(vc-dir-marked-only-files, vc-dispatcher-selection-set): Use it.
2008-05-26 23:49:35 +00:00
Dan Nicolaescu
592da08ebd (vc-resynch-window): Fix mode-line updating. 2008-05-26 23:40:15 +00:00
Dan Nicolaescu
d002d68fdc (vc-dir-previous-directory): Rename from
vc-dir-prev-directory for consistency with vc-dir-previous-line.
(vc-dir-mode-map): Fix bindings.
2008-05-18 07:33:07 +00:00
Glenn Morris
b1d87c1084 Fix typos. 2008-05-17 22:55:57 +00:00
Glenn Morris
fde92a8128 Fix comment typo. 2008-05-17 20:11:43 +00:00
Andreas Schwab
53b2b69f6f (vc-dir-mode-map): Fix M-down and M-up binding. 2008-05-17 20:00:41 +00:00
John Paul Wallington
1915fb444e (top-level): Revert previous change: require cl when compiling. 2008-05-17 00:04:07 +00:00
John Paul Wallington
c8039c6b14 (top-level): Don't require cl when compiling.
(vc-dir-mode-map): Fix backquote.
(vc-at-event): Doc fix.  Use `make-symbol' instead of `gensym'.
2008-05-16 22:39:45 +00:00
Eric S. Raymond
e6d897b38e Comment fix. 2008-05-15 15:02:57 +00:00
Eric S. Raymond
400aec1ab3 More elimination of buffer name dependencies. 2008-05-15 15:01:29 +00:00
Eric S. Raymond
d536a90488 Remove assumptions about buffer names. 2008-05-15 14:32:49 +00:00
Eric S. Raymond
97275f80a9 Move vc-dir menu hook back to vc-dispatcher. 2008-05-15 13:50:55 +00:00
Eric S. Raymond
373b651983 Fix an incorrect buffer name and remove an unneeded defalias. 2008-05-15 12:36:31 +00:00
Eric S. Raymond
6986e5c978 Eliminate exoensive (vc-expand-dirs) calls. 2008-05-15 01:11:23 +00:00
Dan Nicolaescu
08a1ccb0d8 Fix typo. 2008-05-11 15:36:33 +00:00
Eric S. Raymond
f919e79468 Typo fix. 2008-05-11 14:50:25 +00:00
Eric S. Raymond
dab6808215 Prevent some compilaation warnings. 2008-05-11 14:49:39 +00:00
Dan Nicolaescu
922320a982 (ewoc): Require. 2008-05-10 21:52:36 +00:00
Dan Nicolaescu
d9a3d80e56 (vc-hooks, ewoc): Require.
(vc-log-edit, vc-buffer-sync): Declare for byte compiler.
2008-05-10 19:21:30 +00:00
Eric S. Raymond
2888a97eb5 Remove assumption about what nil means as a first arument to vc-do-command. 2008-05-10 13:27:16 +00:00
Eric S. Raymond
2cd5294d11 New functions implementing motion to next and previous directory. 2008-05-10 12:40:57 +00:00
Eric S. Raymond
cb5d44b66d Dupport an use an observer flag in (vc-dispatcher-selection-set). 2008-05-09 20:17:50 +00:00
Eric S. Raymond
79ac8f50ea VC directory bindings are noew documented. 2008-05-09 20:07:01 +00:00
Eric S. Raymond
edbde3530b Suppress an annoying warning. 2008-05-09 19:10:29 +00:00
Eric S. Raymond
06ad7cd861 Comment and to-do list fixes. 2008-05-09 18:59:45 +00:00
Eric S. Raymond
e4ba96dcd1 Remove the vc-dir-insert-directories global. 2008-05-09 18:47:36 +00:00
Stefan Monnier
327c1d6add (vc-dispatcher-selection-set): More typos, plus indentation. 2008-05-09 16:01:27 +00:00
Stefan Monnier
713b6f8126 (vc-dispatcher-selection-set): Typo. 2008-05-09 15:31:33 +00:00
Stefan Monnier
8243c746a5 (vc-dispatcher-browsing): Use derived-mode-p.
(vc-dir-prepare-status-buffer): Use vc-dispatcher-browsing.
(vc-dispatcher-in-fileset-p): New fun.
(vc-dispatcher-selection-set): Use it to properly handle directories.
2008-05-09 15:30:47 +00:00
Eric S. Raymond
86048828d8 Large simplification in (vc-deduce-fileset) logic. 2008-05-09 01:57:21 +00:00
Eric S. Raymond
4903369afe Remove VC-Dired and backend dir-state methods. 2008-05-07 21:27:41 +00:00
Eric S. Raymond
9ba4a35043 Remove dead code. 2008-05-07 18:18:04 +00:00
Eric S. Raymond
9a6b551bfd Second attempt to move the VC-specific menu initialization. 2008-05-07 09:57:41 +00:00
Dan Nicolaescu
23532cb11b (vc-dir-insert-directories): Default to t. 2008-05-07 03:45:57 +00:00
Eric S. Raymond
4fe2e5ed8a Merege two functions in preparation for removing dired. 2008-05-07 00:19:19 +00:00
Eric S. Raymond
e6244c1bcd Cleanup preparatory to getting rid of dired. 2008-05-06 23:56:49 +00:00
Eric S. Raymond
9852a51d14 Back out menu move, it broke something obscure. 2008-05-06 23:44:50 +00:00
Eric S. Raymond
ee5d572fa1 More refactoring. 2008-05-06 19:12:34 +00:00
Eric S. Raymond
c8d4f1a0a6 More decoupling of vc-dispatcher.el from vc.el. 2008-05-06 16:00:54 +00:00
Eric S. Raymond
dbf2c858da Comment typo fix. 2008-05-06 15:00:20 +00:00