[darcs-users] vc-darcs.el

David Roundy droundy at abridgegame.org
Mon Feb 9 13:55:31 UTC 2004


On Mon, Feb 09, 2004 at 05:40:43AM +0100, Jorgen Schaefer wrote:
> Hi there!
> I recently stumpled over darcs, and like the concept. It's not
> like I used it much so far, but when I come about using it, I
> wanted to use the interface I'm used to when versioning stuff, and
> that's the vc mode of Emacs.
>
> That's why I wrote vc-darcs.el. It's not perfect because vc is
> file-based, whereas darcs is patch-based - but for simple
> operations, it can be used nicely.

Well, I just added the ability for darcs diff to accept a filename, which
should greatly improve the output of vc-darcs-diff.  Also, (as mentioned in
an email I just sent) I plan on adding optional arguments to several other
commands to let the user avoid long interactive sessions saying that they
don't want to record or revert a bunch of changes.  These feature (when
implemented) should let you make vc behave a lot more like it ought to.

> In the hope that it is useful...

Thanks for the contribution!

> P.S.: As I said, I didn't use darcs a lot myself, so there will
> probably be bugs lurking around. If you find one, please tell me -
> I don't like buggy code :)

Looks reasonable.  I'm an emacs user, but I only use emacs for editing, so
I don't expect to actually use this.  One suggestion: you may be able to
make use of the little-documented "darcs COMMAND --list-options" feature,
which is used in the bash command-completion code.  I'm not particularly
competent in emacs lisp, so I couldn't see anywhere it would be useful.
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-users mailing list