log-view-minor-wrap (was: vc-annotate tries to load vc-nil)

2006-01-24 Thread Juri Linkov
With the latest change in log-view.el, typing `=' on a revision in the *cvs-info* shows the reverse diff. That's because the first argument of cvs-diff functions should be the revision at the next older revision, and the second argument should be the revision at point. -- Juri Linkov http://www.

Re: vc-annotate tries to load vc-nil

2006-01-06 Thread Juri Linkov
> BTW, now that I think about it, the reason why I had the old behavior is > that the "current" revision (the not-yet-committed state of the file) can't > be obtained otherwise. > So with the old behavior I could do a diff between the current file and > revision N whereas with your patch it seems t

Re: vc-annotate tries to load vc-nil

2006-01-05 Thread Stefan Monnier
>>> Thanks, now I see. I'm so accustomed to the logic of `log-view-diff' >>> that uses the previous revision if there is no mark. Perhaps `C-x c =' >>> should use exactly the same logic. >> >> I don't have an opinion, so feel free to change it (it's probably in >> log-view-minor-wrap). > Thanks

Re: vc-annotate tries to load vc-nil

2006-01-03 Thread Juri Linkov
>> Thanks, now I see. I'm so accustomed to the logic of `log-view-diff' >> that uses the previous revision if there is no mark. Perhaps `C-x c =' >> should use exactly the same logic. > > I don't have an opinion, so feel free to change it (it's probably in > log-view-minor-wrap). Thanks for the

Re: vc-annotate tries to load vc-nil

2005-12-30 Thread Stefan Monnier
> Thanks, now I see. I'm so accustomed to the logic of `log-view-diff' > that uses the previous revision if there is no mark. Perhaps `C-x c =' > should use exactly the same logic. I don't have an opinion, so feel free to change it (it's probably in log-view-minor-wrap). Stefan _

Re: vc-annotate tries to load vc-nil

2005-12-29 Thread Juri Linkov
>> `C-x c =' is not equivalent to `d'. Unlike `d', it doesn't compare the >> revision at point with its previous revision. It compares the revision at >> point with the current revision. Perhaps this is another bug, I don't know. > > No it's not a bug. It's just a difference. Use point and mar

Re: vc-annotate tries to load vc-nil

2005-12-29 Thread Stefan Monnier
>> 1. start PCL-CVS; >> 2. insert an old file removed from the CVS repository, e.g. >> `I emacs/lisp/webjump.el' (note that it was moved from >> emacs/lisp/webjump.el to emacs/lisp/net/webjump.el); >> 3. type `l'; >> 4. in the *cvs-info* buffer type `n'; >> 5. type `d' or `f' => vc-nil error >

Re: vc-annotate tries to load vc-nil

2005-12-29 Thread Stefan Monnier
> `C-x c =' is not equivalent to `d'. Unlike `d', it doesn't compare the > revision at point with its previous revision. It compares the revision at > point with the current revision. Perhaps this is another bug, I don't know. No it's not a bug. It's just a difference. Use point and mark to s

Re: vc-annotate tries to load vc-nil

2005-12-29 Thread Richard M. Stallman
> 1. start PCL-CVS; > 2. insert an old file removed from the CVS repository, e.g. >`I emacs/lisp/webjump.el' (note that it was moved from >emacs/lisp/webjump.el to emacs/lisp/net/webjump.el); > 3. type `l'; > 4. in the *cvs-info* buffer type `n'; > 5. type `d' or

Re: vc-annotate tries to load vc-nil

2005-12-29 Thread Juri Linkov
>> 1. start PCL-CVS; >> 2. insert an old file removed from the CVS repository, e.g. >>`I emacs/lisp/webjump.el' (note that it was moved from >>emacs/lisp/webjump.el to emacs/lisp/net/webjump.el); >> 3. type `l'; >> 4. in the *cvs-info* buffer type `n'; >> 5. type `d' or `f' => vc-nil erro

Re: vc-annotate tries to load vc-nil

2005-12-29 Thread Stefan Monnier
>>> the following change breaks `M-x vc-annotate RET' for me: >>> [...] >> >> Should be fixed now, > I don't know is it a new bug or not, but I get a similar error message: > vc-find-backend-function: Cannot open load file: vc-nil > after using `log-view-find-version' or `log-view-diff' on a

Re: vc-annotate tries to load vc-nil

2005-12-28 Thread Juri Linkov
>> the following change breaks `M-x vc-annotate RET' for me: >> [...] > > Should be fixed now, I don't know is it a new bug or not, but I get a similar error message: vc-find-backend-function: Cannot open load file: vc-nil after using `log-view-find-version' or `log-view-diff' on a file remove

Re: vc-annotate tries to load vc-nil

2005-12-28 Thread Stefan Monnier
> the following change breaks `M-x vc-annotate RET' for me: > 2005-12-22 Stefan Monnier <[EMAIL PROTECTED]> > * vc.el: [...] > (vc-annotate-buffers): Remove var. > (vc-annotate-backend): Make it buffer-local. > (vc-annotate): Move the interaction to the interactive spec.

vc-annotate tries to load vc-nil

2005-12-28 Thread Reiner Steib
Hi Stefan, the following change breaks `M-x vc-annotate RET' for me: 2005-12-22 Stefan Monnier <[EMAIL PROTECTED]> * vc.el: [...] (vc-annotate-buffers): Remove var. (vc-annotate-backend): Make it buffer-local. (vc-annotate): Move the interaction to the interacti