[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Emacs VC support for Subversion

From: Jim Blandy <jimb_at_red-bean.com>
Date: 2002-07-12 07:56:40 CEST

Ben Collins-Sussman <sussman@collab.net> writes:
> Jim Blandy <jimb@red-bean.com> writes:
> > Ben said he'd be happy just to have revision numbers in his modeline.
> > This is enough to do that, with ':' for locally modified files vs.
> > '-' for unmodified files, but not much else. :)
> Woohoo! It works... but some feedback below:
> >
> > (add-value 'vc-handled-backends 'SVN)
> This is the only statement that I can't evaluate. 'add-value' is an
> undefined symbol in my GNU emacs
> When I changed the function to 'add-to-list', everything magically
> worked for me. When I loaded a svn-controlled file, sure enough, the
> working revision appeared in the modeline.

Oops. `add-value' is something from my .emacs file. :(
`add-to-list' is what I really meant. All along. Yes.

> A suggestion though: I've become habituated to equating "*" with
> "locally modified", and ":" with no local mods. So it's confusing to
> me that you're using ":" to mean "svn-locally-modified".

That's not me; that's VC. However, if you write your own
`vc-svn-mode-line-string' function, you can put anything you want ---
the first glomp of characters of the file's `status' line and the
revision number would be ideal.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 12 07:57:21 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.