purcell / ibuffer-vc

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

cl-assertion-failed #4

Closed berdario closed 11 years ago

berdario commented 11 years ago

I get this when doing M-x ibuffer-vc-set-filter-groups-by-vc-root

Lisp error: (cl-assertion-failed (derived-mode-p (quote ibuffer-mode))) signal(cl-assertion-failed ((derived-mode-p (quote ibuffer-mode)))) ibuffer-map-lines(#[(buf mark) "\303!\205B\nB\211\207" [buf mark ibuffer-current-state-list-tmp buffer-live-p] 2] t) ibuffer-current-state-list() ibuffer-current-buffers-with-marks((#<buffer *scratch*> #<buffer *Minibuf-1*> #<buffer *Minibuf-0*> #<buffer *Messages*> #<buffer *code-conversion-work*> #<buffer *Echo Area 0*> #<buffer *Echo Area 1*>)) ibuffer-update(nil t) ibuffer-vc-set-filter-groups-by-vc-root() call-interactively(ibuffer-vc-set-filter-groups-by-vc-root t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil)

I'm not sure what is happening... I tried to require ibuffer-vc through a clean emacs (launched with emacs -q ) and the problem is the same

purcell commented 11 years ago

Thanks for that -- I always used the hook method described in the examples, so I never encountered this error; it happens if ibuffer-vc tries to update the ibuffer display when ibuffer has not been started. :-)