[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24837: bug#21609: bug#24837: 26.0.50; term.el: In char mode, display
From: |
Phil Sainty |
Subject: |
bug#24837: bug#21609: bug#24837: 26.0.50; term.el: In char mode, displayed and executed commands can differ |
Date: |
Mon, 4 Sep 2017 22:10:45 +1200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 04/09/17 21:55, Phil Sainty wrote:
> We could automatically switch to term-line-mode upon mouse clicks,
> but offhand I don't see how we could switch back automatically
> without simply triggering the initial problem
Maybe switching to line mode and temporarily shifting the post-command
hook to pre-command, such that nothing happens post-command for the
mouse events, but afterwards, at pre-command, any keyboard events
first trigger a move to the process mark (at which point we could
shift the behaviour back to post-command again).
(All speculation; I'm not sure if that would actually work.)