1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Dan Nicolaescu
2bc9f1df7d (vc-dir-deduce-fileset): Make the error message more explicit. 2009-03-20 13:56:42 +00:00
Dan Nicolaescu
02ffe8e3ab (vc-dir-update): Make sure ./ is always first in the listing. 2009-02-25 04:00:08 +00:00
Dan Nicolaescu
c7f9e44060 * vc-dir.el (vc-dir-filename-mouse-map): Rename from vc-dir-mouse-map.
(vc-default-dir-printer): Add a comment about updating this function.

* vc-git.el (vc-git-dir-printer): Use vc-dir-filename-mouse-map
for the file name.
2009-02-11 06:36:32 +00:00
Nick Roberts
f8d5a47f5c (vc-dir-find-file-other-window): Allow mouse events.
(vc-dir-mouse-map): New keymap.
(vc-default-dir-printer): Use it locally.
2009-02-10 05:51:47 +00:00
Dan Nicolaescu
ae42a85288 (vc-dir-mode): Fix docstring. 2009-01-31 18:38:56 +00:00
Dan Nicolaescu
5d3b5eccbd (vc-dir-mouse-map):
(vc-default-dir-printer):
(vc-dir-find-file-other-window): Undo previous change, it breaks
the behavior of mouse-2.
2009-01-31 17:26:53 +00:00
Nick Roberts
f2f8e1b8b0 (vc-dir-mouse-map): New keymap.
(vc-default-dir-printer): Use it locally.
(vc-dir-find-file-other-window): Allow mouse events.
2009-01-31 02:18:21 +00:00
Juanma Barranquero
426bf35900 * vc-dir.el (vc-dir-menu-map, vc-dir-at-event, vc-dir-resynch-file):
Fix typos in docstrings.
2009-01-29 12:34:08 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Dan Nicolaescu
7995501cf2 (vc-dir-at-event): Rename from vc-at-event. Change
all callers.
2008-12-18 08:27:37 +00:00
Sam Steingold
5da5a66f02 (vc-at-event): Handle (tool-bar) events. Fix bug#1585. 2008-12-18 03:29:02 +00:00
Dan Nicolaescu
a72000251e (vc-dir-headers): Undo previous change. 2008-11-04 08:58:24 +00:00
Nick Roberts
d7377c46bc * vc-cvs.el (vc-cvs-dir-extra-headers): Add tag name to header.
* vc-dir.el (vc-dir-headers): Order headers as in PCL-CVS.
2008-11-04 07:25:26 +00:00
Dan Nicolaescu
13ad745788 * vc.el: Rename VC methods that were missed when vc-status was
renamed to vc-dir.
* vc-svn.el (vc-svn-dir-extra-headers): Rename from
vc-svn-status-extra-headers.
* vc-hg.el (vc-hg-dir-printer): Rename from vc-hg-status-printer.
(vc-hg-dir-extra-header): Rename from vc-hg-status-extra-headers.
* vc-git.el (vc-git-dir-printer): Rename from vc-dir-status-printer.
(vc-git-dir-extra-headers): Rename from vc-git-status-extra-headers.
* vc-dir.el (vc-dir-mode): Use vc-dir-printer instead of
vc-dir-status-printer.
(vc-dir-headers): Use `dir-extra-headers' instead of
`status-extra-headers'
(vc-dir-printer): Rename from vc-dir-status-printer.
(vc-default-dir-extra-headers): Rename from
vc-default-status-extra-headers.
* vc-cvs.el (vc-cvs-dir-extra-headers): Rename from
vc-cvs-status-extra-headers.
2008-10-27 07:21:43 +00:00
Chong Yidong
d03b3d2387 (vc-dir-mode-map): Add follow-link behavior. 2008-10-25 18:28:42 +00:00
Dan Nicolaescu
7aaf911c40 (vc-dir-mode): Don't create the ewoc header here.
(vc-dir-refresh): Set it here instead.  (Bug#1067)
2008-10-03 06:09:30 +00:00
Dan Nicolaescu
9c6c6d1fed (vc-dir-marked-only-files-and-states):
(vc-dir-child-files-and-states): Reverse the list before returning it.
2008-08-25 15:14:52 +00:00
Dan Nicolaescu
4714a48169 (vc-dir-prepare-status-buffer): Make sure we use a
directory name.
2008-08-23 16:57:13 +00:00
Dan Nicolaescu
49c2119dd7 (vc-dir-mode): Fix typo. 2008-08-06 03:49:03 +00:00
Sam Steingold
db18c5fd6f restore 2008-07-30T14:50:08Z!dann@ics.uci.edu 2008-08-01 18:05:37 +00:00
Sam Steingold
9b9b76556a (vc-dir): Call file-truename on the dir argument. 2008-07-30 14:59:08 +00:00
Dan Nicolaescu
a35aeb5f27 (vc-dir-menu-map, vc-at-event): Fix docstring.
(vc-dir-mode): Improve docstring.
2008-07-30 14:50:08 +00:00
Dan Nicolaescu
ba7e37c8d7 (vc-dir-search, vc-dir-isearch)
(vc-dir-isearch-regexp): New functions.
(vc-dir-mode-map, vc-dir-menu-map): Bind them.
2008-07-24 02:39:04 +00:00
Dan Nicolaescu
834d998e39 (vc-dir-search): New function.
(vc-dir-mode-map, vc-dir-menu-map): Bind it.
2008-07-24 01:57:24 +00:00
Bastien Guerry
276db9eb1f Fixed mismatched parenthesis in vc-dir.el.
See Sven Joachim message <87fxq2cotk.fsf@gmx.de> on [emacs-devel].

2008-07-22  Sven Joachim <svenjoac@gmx.de>  (tiny change)

	* vc-dir.el (vc-dir-recompute-file-state): Fix mismatched
	paenthesis.
2008-07-22 08:42:19 +00:00
Dan Nicolaescu
776f7a5f62 (vc-dir-recompute-file-state): Add workaround for CVS. 2008-07-22 02:18:29 +00:00
Dan Nicolaescu
29ce30b372 (vc-dir-refresh): Only update files. 2008-07-07 16:59:39 +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
f8b4aa4101 (vc-dir-query-replace-regexp): New function.
(vc-dir-tool-bar-map, vc-dir-menu-map): Bind it.
(vc-dir-mode-map): Likewise
2008-07-04 00:34:02 +00:00
Dan Nicolaescu
03953ed218 (vc-dir-mode): Set list-buffers-function. 2008-07-01 14:31:28 +00:00
Andreas Schwab
b861de913e (vc-dir): Make backend argument optional and use
vc-responsible-backend when nil.  Interactively pass nil for
backend instead of using the backend of what happens to be
default-directory at the time of the call.
2008-06-29 12:50:20 +00:00
Dan Nicolaescu
f731e2f977 * vc-dir.el (vc-dir-hide-up-to-date): Also hide empty directories.
(vc-string-prefix-p): Move function ...
* vc.el (vc-string-prefix-p): ... here.
2008-06-28 07:30:47 +00:00
Juanma Barranquero
a1fc8acb0f * vc-dir.el (vc-dir): Complete only directory names. 2008-06-27 23:29:15 +00:00
Dan Nicolaescu
50925e72de * vc-dir.el (tool-bar): Require.
* vc.el (ewoc, tool-bar): Do no require.
2008-06-26 05:16:49 +00:00
Dan Nicolaescu
2913a58d6e * vc-dir.el (vc-dir-marked-only-files-and-states): Rename from
vc-dir-marked-only-files.  Change the return value.
(vc-dir-child-files-and-states): Rename from vc-dir-child-files.
Change the return value.
(vc-dir-deduce-fileset): New function broken out from ...
* vc.el (vc-deduce-fileset): ... here and ...
(vc-deduce-fileset): ... here.
2008-06-25 03:19:14 +00:00
Dan Nicolaescu
c4c0a44b61 (vc-client-object): Remove.
(vc-dir-prepare-status-buffer): Take a backend as an argument and
use it when looking for a buffer.
(vc-dir): Add a backend argument.  Set revert-buffer-function.
Don't create a client object.  Move bindings ...
(vc-dir-menu-map, vc-dir-mode-map): ... here.
(vc-dir-revert-buffer-function): New function.
(vc-generic-status-printer): Rename to ...
(vc-dir-status-printer): ... this.
(vc-generic-state, vc-generic-status-fileinfo-extra)
(vc-dir-extra-menu, vc-make-backend-object): Remove.
(vc-default-status-printer): Use a different face for
directories.  Don't display any text for directories in the state
column.  Add tooltips.
2008-06-24 03:45:06 +00:00
Miles Bader
81c5ac7ed9 Add arch tagline 2008-06-23 00:13:34 +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