From: Phil Sainty <psainty@orcon.net.nz>
To: Eli Zaretskii <eliz@gnu.org>, Philipp Stephani <p.stephani2@gmail.com>
Cc: 24837@debbugs.gnu.org, 21609@debbugs.gnu.org
Subject: bug#21609: 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 23:59:08 +1200 [thread overview]
Message-ID: <bafb461d-53d1-edaf-f796-3ce98db9bad9@orcon.net.nz> (raw)
In-Reply-To: <6916916c-2f04-b377-7825-b5e7e98136c1@orcon.net.nz>
On 04/09/17 21:55, Phil Sainty wrote:
> We could automatically switch to term-line-mode upon mouse clicks,
Actually, that's probably a non-starter -- if you paste via the mouse
whilst in char mode, it is reasonable (and perhaps necessary) that the
paste will execute in char mode.
However the simpler approach of using the following for both pre-command
and post-command hooks whilst in char mode doesn't seem awful:
(unless (mouse-event-p last-command-event)
(term-goto-process-mark))
Mouse events aren't inhibited, but as soon as the keyboard is involved
we jump to where we're supposed to be.
Potentially that's a reasonable compromise.
-Phil
next prev parent reply other threads:[~2017-09-04 11:59 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-31 14:10 bug#24837: 26.0.50; term.el: In char mode, displayed and executed commands can differ Philipp Stephani
2016-10-31 20:46 ` Phil Sainty
2016-11-23 19:44 ` Philipp Stephani
2016-11-23 20:08 ` bug#21609: " Phil Sainty
2016-11-23 20:21 ` Philipp Stephani
2017-09-02 14:14 ` Eli Zaretskii
2017-09-03 2:58 ` Phil Sainty
2017-09-03 3:09 ` bug#21609: " Phil Sainty
2017-09-04 9:55 ` Phil Sainty
2017-09-04 10:10 ` bug#24837: " Phil Sainty
2017-09-04 11:59 ` Phil Sainty [this message]
2017-09-24 10:59 ` Philipp Stephani
2017-09-25 0:48 ` bug#21609: " Phil Sainty
2017-09-25 3:09 ` Phil Sainty
2017-09-29 8:37 ` Eli Zaretskii
2017-10-08 12:39 ` bug#21609: " Phil Sainty
2017-10-09 14:04 ` Phil Sainty
2017-10-09 15:32 ` Eli Zaretskii
2017-10-10 10:16 ` bug#28777: Clarifying the temporary documentation update marks in etc/NEWS Phil Sainty
2017-10-10 12:25 ` Eli Zaretskii
2017-10-10 11:11 ` bug#24837: bug#21609: bug#24837: 26.0.50; term.el: In char mode, displayed and executed commands can differ Phil Sainty
2017-10-10 12:35 ` Eli Zaretskii
2017-10-12 10:54 ` Phil Sainty
2017-10-12 12:04 ` bug#21609: " Eli Zaretskii
2017-10-12 21:24 ` Documenting a preference for US English? Phil Sainty
2017-10-13 5:11 ` Marcin Borkowski
2017-10-13 5:48 ` Paul Eggert
2017-10-13 6:29 ` Thien-Thi Nguyen
2017-10-13 8:35 ` Eli Zaretskii
2017-10-21 8:20 ` bug#24837: bug#21609: bug#24837: 26.0.50; term.el: In char mode, displayed and executed commands can differ Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bafb461d-53d1-edaf-f796-3ce98db9bad9@orcon.net.nz \
--to=psainty@orcon.net.nz \
--cc=21609@debbugs.gnu.org \
--cc=24837@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=p.stephani2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.