all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* VC-Dired now lists unregistered files, marked with "?"...
@ 2007-12-27 16:20 Eric S. Raymond
  2007-12-27 19:31 ` Dan Nicolaescu
  0 siblings, 1 reply; 12+ messages in thread
From: Eric S. Raymond @ 2007-12-27 16:20 UTC (permalink / raw)
  To: emacs-devel

...in VC-Dired's non-terse mode.  It's an interesting UI question 
whether they should be listed in terse mode as well.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

The real point of audits is to instill fear, not to extract revenue;
the IRS aims at winning through intimidation and (thereby) getting
maximum voluntary compliance
	-- Paul Strassel, former IRS Headquarters Agent Wall St. Journal 1980

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-27 16:20 VC-Dired now lists unregistered files, marked with "?" Eric S. Raymond
@ 2007-12-27 19:31 ` Dan Nicolaescu
  2007-12-28 10:26   ` Eric S. Raymond
  0 siblings, 1 reply; 12+ messages in thread
From: Dan Nicolaescu @ 2007-12-27 19:31 UTC (permalink / raw)
  To: Eric S. Raymond; +Cc: emacs-devel

"Eric S. Raymond" <esr@snark.thyrsus.com> writes:

  > ...in VC-Dired's non-terse mode.  

Great, thank you!

  > It's an interesting UI question whether they should be listed in
  > terse mode as well.

IMHO they should. The unregistered files are always "interesting" for a
user because he might want to register them. The non-terse mode shows
too many files...

BTW, for consistency with PCL-CVS and with the vc-dired display for
other states shouldn't "(Unknown)" be better than just "?" ?

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-27 19:31 ` Dan Nicolaescu
@ 2007-12-28 10:26   ` Eric S. Raymond
  2007-12-28 13:49     ` Thien-Thi Nguyen
                       ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Eric S. Raymond @ 2007-12-28 10:26 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: Eric S. Raymond, emacs-devel

Dan Nicolaescu <dann@ics.uci.edu>:
> IMHO they should. The unregistered files are always "interesting" for a
> user because he might want to register them. The non-terse mode shows
> too many files...

On the other hand...I'm working on a survey paper on VCSes right now,
The directory includes a small handful of registered files, and several
subdirectories that are VCS source trees I'm keeping around for reference.
Displaying all of the several thousand unregistered files in those trees
in terse mode just swamps the real information (I tried it that way).

> BTW, for consistency with PCL-CVS and with the vc-dired display for
> other states shouldn't "(Unknown)" be better than just "?" ?

I considered exactly that, but "(unknown)" would actually be wrong in
this instance; the VC state of the file is known.  Alas, "(unregistered)"
doesn't fit in the status field.

See my next post on changing VC's status display.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-28 10:26   ` Eric S. Raymond
@ 2007-12-28 13:49     ` Thien-Thi Nguyen
  2007-12-28 19:36     ` Dan Nicolaescu
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Thien-Thi Nguyen @ 2007-12-28 13:49 UTC (permalink / raw)
  To: esr; +Cc: emacs-devel

() "Eric S. Raymond" <esr@thyrsus.com>
() Fri, 28 Dec 2007 05:26:34 -0500

   Alas, "(unregistered)" doesn't fit in the status field.

i use "alas-no" for that state:
http://www.gnuvola.org/software/personal-elisp/dist/lisp/prog-env/rmangle.el

thi

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-28 10:26   ` Eric S. Raymond
  2007-12-28 13:49     ` Thien-Thi Nguyen
@ 2007-12-28 19:36     ` Dan Nicolaescu
  2007-12-28 22:10     ` Richard Stallman
  2007-12-29  7:47     ` Stefan Monnier
  3 siblings, 0 replies; 12+ messages in thread
From: Dan Nicolaescu @ 2007-12-28 19:36 UTC (permalink / raw)
  To: esr; +Cc: Eric S. Raymond, emacs-devel

"Eric S. Raymond" <esr@thyrsus.com> writes:

  > Dan Nicolaescu <dann@ics.uci.edu>:
  > > IMHO they should. The unregistered files are always "interesting" for a
  > > user because he might want to register them. The non-terse mode shows
  > > too many files...
  > 
  > On the other hand...I'm working on a survey paper on VCSes right now,
  > The directory includes a small handful of registered files, and several
  > subdirectories that are VCS source trees I'm keeping around for reference.
  > Displaying all of the several thousand unregistered files in those trees
  > in terse mode just swamps the real information (I tried it that way).

I would think that the above situation is rather unusual, so basing the
default on that is not the best choice.  

IMO users would put files that the VCS should not deal with in
.BLAHignore otherwise using the output VC commands from the command line
is too noisy. So the number of "unknown" files should be rather small.

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-28 10:26   ` Eric S. Raymond
  2007-12-28 13:49     ` Thien-Thi Nguyen
  2007-12-28 19:36     ` Dan Nicolaescu
@ 2007-12-28 22:10     ` Richard Stallman
  2007-12-29  7:49       ` Stefan Monnier
  2007-12-29  7:47     ` Stefan Monnier
  3 siblings, 1 reply; 12+ messages in thread
From: Richard Stallman @ 2007-12-28 22:10 UTC (permalink / raw)
  To: esr; +Cc: esr, dann, emacs-devel

    On the other hand...I'm working on a survey paper on VCSes right now,
    The directory includes a small handful of registered files, and several
    subdirectories that are VCS source trees I'm keeping around for reference.
    Displaying all of the several thousand unregistered files in those trees
    in terse mode just swamps the real information (I tried it that way).

It sounds like we really want to let the user choose to show or hide
the unregistered files.

Or perhaps a way of sorting that puts the registered files at the top.

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-28 10:26   ` Eric S. Raymond
                       ` (2 preceding siblings ...)
  2007-12-28 22:10     ` Richard Stallman
@ 2007-12-29  7:47     ` Stefan Monnier
  3 siblings, 0 replies; 12+ messages in thread
From: Stefan Monnier @ 2007-12-29  7:47 UTC (permalink / raw)
  To: esr; +Cc: Eric S. Raymond, Dan Nicolaescu, emacs-devel

> On the other hand...I'm working on a survey paper on VCSes right now,
> The directory includes a small handful of registered files, and several
> subdirectories that are VCS source trees I'm keeping around for reference.

Then you need to mark those directories as "ignored".


        Stefan

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-28 22:10     ` Richard Stallman
@ 2007-12-29  7:49       ` Stefan Monnier
  2007-12-29 17:48         ` Richard Stallman
  0 siblings, 1 reply; 12+ messages in thread
From: Stefan Monnier @ 2007-12-29  7:49 UTC (permalink / raw)
  To: rms; +Cc: esr, esr, dann, emacs-devel

>     On the other hand...I'm working on a survey paper on VCSes right now,
>     The directory includes a small handful of registered files, and several
>     subdirectories that are VCS source trees I'm keeping around for reference.
>     Displaying all of the several thousand unregistered files in those trees
>     in terse mode just swamps the real information (I tried it that way).

> It sounds like we really want to let the user choose to show or hide
> the unregistered files.

PCL-CVS has never offered such an option and nobody has ever asked
for it.  Just show those files and let the user place them in .fooignore
if they don't want to see them.


        Stefan

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-29  7:49       ` Stefan Monnier
@ 2007-12-29 17:48         ` Richard Stallman
  2007-12-29 18:34           ` Eric S. Raymond
  2008-01-02  2:21           ` Stefan Monnier
  0 siblings, 2 replies; 12+ messages in thread
From: Richard Stallman @ 2007-12-29 17:48 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: esr, esr, dann, emacs-devel

    PCL-CVS has never offered such an option and nobody has ever asked
    for it.  Just show those files and let the user place them in .fooignore
    if they don't want to see them.

That sounds rather inconvenient, I must say, if you often look at
new directories.

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-29 17:48         ` Richard Stallman
@ 2007-12-29 18:34           ` Eric S. Raymond
  2008-01-02  2:28             ` Stefan Monnier
  2008-01-02  2:21           ` Stefan Monnier
  1 sibling, 1 reply; 12+ messages in thread
From: Eric S. Raymond @ 2007-12-29 18:34 UTC (permalink / raw)
  To: Richard Stallman; +Cc: esr, dann, Stefan Monnier, emacs-devel

Richard Stallman <rms@gnu.org>:
>     PCL-CVS has never offered such an option and nobody has ever asked
>     for it.  Just show those files and let the user place them in .fooignore
>     if they don't want to see them.
> 
> That sounds rather inconvenient, I must say, if you often look at
> new directories.

I agree.  It's a non-solution.  Better to have three verbosity levels --
terse, terse + unregistered, and everything.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-29 17:48         ` Richard Stallman
  2007-12-29 18:34           ` Eric S. Raymond
@ 2008-01-02  2:21           ` Stefan Monnier
  1 sibling, 0 replies; 12+ messages in thread
From: Stefan Monnier @ 2008-01-02  2:21 UTC (permalink / raw)
  To: rms; +Cc: esr, esr, dann, emacs-devel

>     PCL-CVS has never offered such an option and nobody has ever asked
>     for it.  Just show those files and let the user place them in .fooignore
>     if they don't want to see them.

> That sounds rather inconvenient, I must say, if you often look at
> new directories.

Huh?  I don't understand the use case you're thinking of.
What new directories?

Most/all VCS will repeatedly warn/complain about un-registered and
non-ignored files, so it's just a matter of normal use to list such files
in the .fooignore file.  This is true for any frontend.


        Stefan

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

* Re: VC-Dired now lists unregistered files, marked with "?"...
  2007-12-29 18:34           ` Eric S. Raymond
@ 2008-01-02  2:28             ` Stefan Monnier
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Monnier @ 2008-01-02  2:28 UTC (permalink / raw)
  To: esr; +Cc: esr, dann, Richard Stallman, emacs-devel

>> PCL-CVS has never offered such an option and nobody has ever asked
>> for it.  Just show those files and let the user place them in .fooignore
>> if they don't want to see them.
>> 
>> That sounds rather inconvenient, I must say, if you often look at
>> new directories.

> I agree.  It's a non-solution.  Better to have three verbosity levels --
> terse, terse + unregistered, and everything.

PCL-CVS moved away from "levels" and I think it users found it to be
an improvement.  Basically, you just have the default (which is
equivalent to what you call "terse+unregistered") and then you have
commands to affect the current display to:

- place a given file in the .fooignore list (thus bringing you closer
  to just "terse" but this will also work for all other frontends
  rather than only VC and only in terse mode).
- expand a subdir to show all its files and their status
  (i.e. "everything" but with the advantage it can apply to a subdir
  rather than being an all-or-nothing choice (which quickly becomes
  a non-choice when your tree has thousands of files)).
- add a file (with its status) to the display (even if the file doesn't
  exist, so you can "cvs diff -rR1 -rR2 foo" even if "foo" was removed
  between version R2 and the working revision).


-- Stefan

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

end of thread, other threads:[~2008-01-02  2:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-27 16:20 VC-Dired now lists unregistered files, marked with "?" Eric S. Raymond
2007-12-27 19:31 ` Dan Nicolaescu
2007-12-28 10:26   ` Eric S. Raymond
2007-12-28 13:49     ` Thien-Thi Nguyen
2007-12-28 19:36     ` Dan Nicolaescu
2007-12-28 22:10     ` Richard Stallman
2007-12-29  7:49       ` Stefan Monnier
2007-12-29 17:48         ` Richard Stallman
2007-12-29 18:34           ` Eric S. Raymond
2008-01-02  2:28             ` Stefan Monnier
2008-01-02  2:21           ` Stefan Monnier
2007-12-29  7:47     ` Stefan Monnier

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.