purcell / ibuffer-vc

Let Emacs' ibuffer-mode group files by git project etc., and show file state
171 stars 11 forks source link

ibuffer-vc expects symbols returned by vc-backend to be wrong case #1

Closed trollusk closed 13 years ago

trollusk commented 13 years ago

Emacs Lisp symbols are case-sensitive. In the function 'ibuffer-vc--find-any-root', the line that begins '((eq 'cvs backend ...' needs to be changed to '((eq 'CVS backend....' because vc-backend returns the uppercase symbol. In fact all the backend symbols returned by vc-backend contain uppercase characters -- see the variable 'vc-handled-backends'.

As it is currently, ibuffer-vc breaks ibuffer if there is a file loaded that is version-controlled by CVS.

purcell commented 13 years ago

Thanks for the report -- I think the cases of those symbols actually got changed at some point in vc...

-Steve