emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vcursor.el: `vcursor-copy-word` and `vcursory-copy-line` not working


From: Eli Zaretskii
Subject: Re: vcursor.el: `vcursor-copy-word` and `vcursory-copy-line` not working as expected
Date: Wed, 24 Nov 2021 14:27:01 +0200

> From: Narendra Joshi <narendraj9@gmail.com>
> Date: Tue, 23 Nov 2021 20:30:55 +0100
> 
> I think `vcursor.el` has a bug that causes `point` (the real cursor) to
> move to where the virtual cursor is whenever `vcursor-copy-{word,line}`
> are used. 
> 
> We need to wrap the `goto-char` call below in something like
> `save-excursion`:

Thanks, but I think save-excursion should be deeper, immediately befor
we call goto-char.  It is not good practice to change buffers inside
save-excursion.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]