* Changing the codes used in the C-x v d display
@ 2007-12-28 10:31 Eric S. Raymond
2007-12-28 17:15 ` Eric Hanchrow
0 siblings, 1 reply; 2+ messages in thread
From: Eric S. Raymond @ 2007-12-28 10:31 UTC (permalink / raw)
To: emacs-devel
Dan wrote:
>BTW, for consistency with PCL-CVS and with the vc-dired display for
>other states shouldn't "(Unknown)" be better than just "?" ?
I went with "?" partly because I'm thinking that it might be a good idea
to change the convention used for the status codes. Specifically I think
we ought to look at following Subversion's practice, the way later
VCSes have tended to. Look at this:
VC status Subversion Mercurial Bazaar
--------------- ---------- ---------- ---------
up-to-date (space) [2] (space)
edited M M M
USER USER[1] [3] [3]
needs-patch * [3] [3]
needs-merge C [3] [3]
unlocked-changes K,B [3] [3]
added A A A
ignored I I I
unregistered ? ? ?
The bzr documentation says explicitly that its bzr status --short codes
are like Subversion's. I got the Mercurial ones by looking at the
output of "hg help status".
[1] Only in -v mode
I added "unregistered" and "ignored" because it looks like we're going to
have to add these states to ouur repertoire to further speed up dir-state.
[2] hg status does not list unmodified files
[3] No such status in this system, it has a commit-before-merge model.
The M, I, A and ? codes are consistent across all three of these systems and
I'm thinking (a) that's by design, (b) it's a good idea, and (c) we
should probably emulate it.
When I originally wrote VC there were no standards for these flags, so
inventing our own was necessary. But now that there is a de-facto standard
a VC-Dired display that follows it makes one less detail for VC users to
have to learn.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
"One of the ordinary modes, by which tyrants accomplish their purposes
without resistance, is, by disarming the people, and making it an
offense to keep arms."
-- Constitutional scholar and Supreme Court Justice Joseph Story, 1840
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Changing the codes used in the C-x v d display
2007-12-28 10:31 Changing the codes used in the C-x v d display Eric S. Raymond
@ 2007-12-28 17:15 ` Eric Hanchrow
0 siblings, 0 replies; 2+ messages in thread
From: Eric Hanchrow @ 2007-12-28 17:15 UTC (permalink / raw)
To: emacs-devel
>>>>> "Eric" == Eric S Raymond <esr@snark.thyrsus.com> writes:
Eric> The M, I, A and ? codes are consistent across all three of
Eric> these systems and I'm thinking (a) that's by design, (b)
Eric> it's a good idea, and (c) we should probably emulate it.
I couldn't agree more. Thank you so much for working on this.
--
When it comes to electronic voting, most liberals are just plain
old-fashioned nuts.
-- Joe Andrew, former chairman of the Democratic National
Committee
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-28 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-28 10:31 Changing the codes used in the C-x v d display Eric S. Raymond
2007-12-28 17:15 ` Eric Hanchrow
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).