unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Eric S. Raymond" <esr@thyrsus.com>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: "Eric S. Raymond" <esr@snark.thyrsus.com>, emacs-devel@gnu.org
Subject: Re: Redesigh of the VC front end
Date: Tue, 6 May 2008 04:28:26 -0400	[thread overview]
Message-ID: <20080506082826.GD23773@thyrsus.com> (raw)
In-Reply-To: <200805060114.m461EZ05007471@sallyv1.ics.uci.edu>

Dan Nicolaescu <dann@ics.uci.edu>:
> "Eric S. Raymond" <esr@snark.thyrsus.com> writes:
> 
>   > 2. Otherwise, if you are in a vc dired buffer, and
>   > include-files-not-directories is non-nil, and no fileset is selected,
>   > select all files at and below directory level.
> 
> This is a wart that is used by vc-next-action for the following: if in a
> vc-dir buffer, you have a directory selected and do C-x v v what action 
> should be performed?
> If you have files selected, the decision is made based on the files state.
> For directories, then with this flag, return the list of files is
> returned and the decision based on the file state.  The VC action is
> still performed on the directory...
> Better ideas on how to handle this case are quite welcome.

Hm.  I think I see what you're driving at now.

Here's what I think is right.  We generalize vc-backend so it can take a 
directory argument, The default semantics is just: look for a backend by 
control subdirectory in the user's preference order.  But if we select a 
backend on the directory using C-u C-x v v, it should remember that.

Then we get rid of this wart.  The directory is passed to commands; 
include-files-not-directories goes away.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>




  reply	other threads:[~2008-05-06  8:28 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-06  0:39 Redesigh of the VC front end Eric S. Raymond
2008-05-06  1:14 ` Dan Nicolaescu
2008-05-06  8:28   ` Eric S. Raymond [this message]
2008-05-06 11:38     ` Dan Nicolaescu
2008-05-06 16:24       ` Eric S. Raymond
2008-05-06 16:56         ` Dan Nicolaescu
2008-05-06  1:15 ` Stefan Monnier
2008-05-06  2:00   ` Dan Nicolaescu
2008-05-06  7:48     ` Eric S. Raymond
2008-05-06 11:44       ` Dan Nicolaescu
2008-05-06 16:22         ` Eric S. Raymond
2008-05-06 16:44           ` Paul R
2008-05-06 17:16             ` Dan Nicolaescu
2008-05-06 17:48               ` Paul R
2008-05-06 18:05                 ` Dan Nicolaescu
2008-05-06 18:22             ` Eric S. Raymond
2008-05-06 19:45               ` Dan Nicolaescu
2008-05-06 20:00                 ` Paul R
2008-05-06 16:45           ` Dan Nicolaescu
2008-05-07  1:38         ` Stefan Monnier
2008-05-07  2:15           ` Dan Nicolaescu
2008-05-07  1:37       ` Stefan Monnier
2008-05-07  4:14         ` Eric S. Raymond
2008-05-07  1:34     ` Stefan Monnier
2008-05-07  2:18       ` Dan Nicolaescu
2008-05-06  8:48   ` Eric S. Raymond
2008-05-06  1:29 ` Karl Fogel
2008-05-06  8:08   ` Eric S. Raymond
2008-05-06  8:18     ` David Kastrup
2008-05-06  8:54       ` Eric S. Raymond
2008-05-06 19:36     ` Karl Fogel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080506082826.GD23773@thyrsus.com \
    --to=esr@thyrsus.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=esr@snark.thyrsus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).