bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24837: 26.0.50; term.el: In char mode, displayed and executed comman


From: Eli Zaretskii
Subject: bug#24837: 26.0.50; term.el: In char mode, displayed and executed commands can differ
Date: Fri, 29 Sep 2017 11:37:48 +0300

> Date: Mon, 25 Sep 2017 16:09:22 +1300
> From: Phil Sainty <psainty@orcon.net.nz>
> Cc: 24837@debbugs.gnu.org, 21609@debbugs.gnu.org, bug-gnu-emacs
>  <bug-gnu-emacs-bounces+psainty=orcon.net.nz@gnu.org>
> 
> On 2017-09-25 13:48, Phil Sainty wrote:
> > So keyboard events cannot leave point in the wrong position; and while
> > mouse events can do so, as soon as the keyboard is involved again we
> > jump to where we're supposed to be.
> 
> Thinking on this further, it might be even better to use 
> pre-command-hook
> to establish whether the pre-command position of point is equal to the
> process mark, and then act conditionally on that in post-command-hook,
> so that if the pre-command point did not already match the process mark,
> we do *not* forcibly move it to the process mark afterwards.

Do you have a patch along these lines?

Thanks.





reply via email to

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