emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-*-root finctions


From: Stefan Monnier
Subject: Re: vc-*-root finctions
Date: Fri, 22 Feb 2008 11:50:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Rather, the feature is to present the line:

>   Directory: ~/build/GNU/git-emacs/lisp/calendar

> with "git-emacs", "lisp" and "calendar" as buttons.  If i want to
> do `(vc-status "~/build/GNU")', then presenting "GNU" as plain
> (non-button) text tells me -- even before i try -- that according
> to vc-git-root, that directory is not in the same project i am in
> at the moment.  The buttons, on the other hand, tell me -- again,
> even before i try -- that those directories are in-project.

I understand that.  But why should VC care if it's in the same project
or not?  The user will know that just fine.  So just highlight the
button if VC can do something with it, and don't highlight it if
it can't.
Look 'ma: no need for the vc-FOO-root functions.
 

        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]