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 21.1.50.2.
> 
> 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