Leo <[email protected]> writes:

> I wonder if anybody has noticed that the cursor moves randomly when
> typing 'k' ('a' in rewriting etc.). This usually happens when the

I've noticed nonintuitive movement after some commands, can't
remember which ones.

> The following warning from compiling magit.el in emacs 23.1.91 seems
> suspicious.
>
> In magit-run*:
> magit.el.gz:1010:11:Warning: `save-excursion' defeated by `set-buffer'

I don't get such warnings but I have a bit older Emacs version,
23.1.50.  I get a few other warnings, though.  If I try to grep
sources of this version, I can find only one "defeated" word in
some news file.

Also the message doesn't make any sense to me, set-buffer within
save-excursion à la magit-run* looks perfectly normal, that's one
reason why save-excursion is used (for just saving the current
buffer there is of course save-current-buffer).

> Any fix? Thanks.

If someone had made a fix, I suppose it would have been posted
here.

If you have a reproducible case, you should be able to debug it
easily.  I'd start by stepping through magit-refresh-buffer.

-- 
Hannu

Reply via email to