unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc-dir default directory: repository root?
@ 2015-01-10  6:52 Daniel Colascione
  2015-01-11  1:26 ` Stefan Monnier
                   ` (4 more replies)
  0 siblings, 5 replies; 49+ messages in thread
From: Daniel Colascione @ 2015-01-10  6:52 UTC (permalink / raw)
  To: Emacs developers

[-- Attachment #1: Type: text/plain, Size: 738 bytes --]

I'd like to apply this patch. When I use vc-dir, I almost always want to
look at the root of the repository, not the portion that contains the
file I'm editing. What do you think?

diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 8bba79c..e050c94 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -1241,7 +1241,7 @@ These are the commands available for use in the
file status buffer:
     ;; Otherwise if you do C-x v d -> C-x C-f -> C-c v d
     ;; you may get a new *vc-dir* buffer, different from the original
     (file-truename (read-directory-name "VC status for directory: "
-					default-directory default-directory t
+					(vc-root-dir) nil t
 					nil))
     (if current-prefix-arg
 	(intern


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply related	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2015-01-22 16:26 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-10  6:52 vc-dir default directory: repository root? Daniel Colascione
2015-01-11  1:26 ` Stefan Monnier
2015-01-11  8:33 ` Andreas Schwab
2015-01-11 15:53 ` Wolfgang Jenkner
2015-01-11 19:02 ` Dan Nicolaescu
2015-01-19  1:40   ` Dmitry Gutov
2015-01-19 15:47     ` Dan Nicolaescu
2015-01-19 23:17       ` Dmitry Gutov
2015-01-20 20:06         ` Dan Nicolaescu
2015-01-21 14:33           ` Stefan Monnier
2015-01-21 16:20             ` Ivan Shmakov
2015-01-21 17:33             ` Dan Nicolaescu
2015-01-21 17:48               ` Dmitry Gutov
2015-01-21 18:22                 ` Ivan Shmakov
2015-01-21 18:43                   ` Dmitry Gutov
2015-01-21 19:22                     ` Ivan Shmakov
2015-01-21 18:47                 ` João Távora
2015-01-21 19:06                   ` Dmitry Gutov
2015-01-21 20:14                     ` João Távora
2015-01-21 20:30                       ` Dmitry Gutov
2015-01-22 12:40                         ` João Távora
2015-01-22 15:19                 ` Dan Nicolaescu
2015-01-21 19:35             ` Wolfgang Jenkner
2015-01-21 19:42               ` Daniel Colascione
2015-01-21 20:16                 ` Stefan Monnier
2015-01-22  9:59                   ` Daniel Colascione
2015-01-22  1:44                 ` Dmitry Gutov
2015-01-22  9:17                   ` Andreas Schwab
2015-01-22 11:14                     ` Dmitry Gutov
2015-01-22 12:04                       ` Jan D.
2015-01-22 14:18                     ` Stefan Monnier
2015-01-22 14:23                       ` Dmitry Gutov
2015-01-22 14:38                         ` Andreas Schwab
2015-01-22 14:46                           ` Dmitry Gutov
2015-01-22 15:30                             ` Drew Adams
2015-01-22 16:16                               ` Dmitry Gutov
2015-01-22 15:40                             ` Andreas Schwab
2015-01-22 14:45                         ` Ivan Shmakov
2015-01-22 14:49                           ` Dmitry Gutov
2015-01-22 15:50                             ` Ivan Shmakov
2015-01-22 16:26                               ` Dmitry Gutov
2015-01-22 16:11                 ` Wolfgang Jenkner
2015-01-19  1:38 ` Dmitry Gutov
2015-01-19  3:01   ` Stefan Monnier
2015-01-19  4:54     ` Dmitry Gutov
2015-01-19 14:16       ` Stefan Monnier
2015-01-19 14:55         ` Dmitry Gutov
2015-01-19 14:57           ` Daniel Colascione
2015-01-19 22:43             ` Dmitry Gutov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).