[issue] VC submenu under Tools

Rodney Sparapani rsparapa at mcw.edu
Fri Feb 27 15:01:48 EST 2009


Uwe Brauer wrote:
> A finally.  This is the same error I observed from time to time and
> nobody can tell me why. Sorry that I can't be more helpful.
>
> Uwe Brauer 
>   
I can produce this with -vanilla, (require 'vc-hooks) and
(setq debug-on-error t).  If I leave the last part off,
then I get to see that the submenu is replaced by the entry
"No Menu" and I get the *Warnings*:

(1) (error/warning) Error in menubar filter: (void-function vc-locking-user)

And sure enough, this function does not appear to be defined anywhere,
although it is called from vc-menu-filter in vc-hooks.el

AHA!  SVN does not use locking.  So change line 968 of vc-hooks.el to

           ((or (eq type 'CVS) (eq type 'SVN))

and then it works for me!

-- 
Rodney Sparapani      Center for Patient Care & Outcomes Research (PCOR)
Sr. Biostatistician              http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!  Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?  Milwaukee, WI, USA




More information about the XEmacs-Beta mailing list