From: Alan Third <alan@idiocy.org>
To: HaiJun Zhang <netjune@outlook.com>
Cc: 23412@debbugs.gnu.org, tsuucat <tsuucat@icloud.com>
Subject: bug#23412: 25.1.50; GUI Emacs on Mac OS X: text is keeping shaking/re-displaying when insert text with external input method
Date: Sun, 22 Dec 2019 12:02:08 +0000 [thread overview]
Message-ID: <20191222120208.GC37854@breton.holly.idiocy.org> (raw)
In-Reply-To: <PS1PR03MB3606BC2F9AF2A1852D333136B72F0@PS1PR03MB3606.apcprd03.prod.outlook.com>
On Sun, Dec 22, 2019 at 07:32:57PM +0800, HaiJun Zhang wrote:
> 在 2019年12月22日 +0800 AM6:54,Alan Third <alan@idiocy.org>,写道:
> >
> > I could have sworn we had another bug open for this, but I can’t find
> > it right now…
>
> It may be the bug in the fixme of ns-insert-working-text?
>
> ;; FIXME: if buffer is read-only, don’t try to insert anything
> ;; and if text is bound to a command, execute that instead (Bug#1453)
>
> Two issues in it. I don’t think the former is a problem to me. The
> working text is not the real text to be inserted into the buffer. It
> is just like a tip message. For the latter, I think the better
> resolution is to let emacs interact with the input method. Let emacs
> tell the input method to switch to English when the buffer only
> accepts English chars.
I think Tsuucat’s patch makes that comment obsolete. It inserts the
working text into the buffer at point, which I assumed was impossible
since it’s read‐only, and then deletes it once it’s completed and
dired picks up the correct character and does the right thing.
It maybe looks a little odd with the working text appearing in the
dired buffer, but I don’t think it’s a problem.
Thanks to everyone who’s helped resolved this bug!
--
Alan Third
prev parent reply other threads:[~2019-12-22 12:02 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bebc4ca8-0a58-4ea0-8fb1-4dbb6d18e335@Spark>
2016-05-01 8:54 ` bug#23412: 25.1.50; GUI Emacs on Mac OS X: text is keeping shaking/re-displaying when insert text with external input method Chunyang Xu
2016-05-01 15:07 ` Eli Zaretskii
2016-05-01 15:35 ` Chunyang Xu
2016-05-27 19:16 ` Alan Third
2016-05-27 20:13 ` Chunyang Xu
2017-04-26 17:43 ` hylom
2017-05-01 12:26 ` bug#23412: Can this bug be fixed now? 张海君
2019-10-27 11:49 ` bug#23412: 25.1.50; GUI Emacs on Mac OS X: text is keeping shaking/re-displaying when insert text with external input method HaiJun Zhang
2019-10-28 11:26 ` Alan Third
2019-10-29 13:24 ` HaiJun Zhang
2019-10-29 19:20 ` Alan Third
2019-10-30 1:15 ` HaiJun Zhang
2019-10-31 20:53 ` Alan Third
2019-12-05 11:21 ` Stefan Kangas
2019-12-05 14:43 ` Alan Third
2019-12-04 11:19 ` bug#23412: tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-12-04 22:50 ` bug#23412: HaiJun Zhang
2019-12-17 9:18 ` bug#23412: 25.1.50; GUI Emacs on Mac OS X: text is keeping shaking/re-displaying when insert text with external input method tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-12-17 20:28 ` Alan Third
2019-12-18 15:55 ` tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-12-18 20:44 ` Alan Third
2019-12-19 0:31 ` tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-12-19 2:05 ` HaiJun Zhang
2019-12-19 5:57 ` tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-12-19 6:14 ` HaiJun Zhang
2019-12-19 6:22 ` HaiJun Zhang
2019-12-19 7:02 ` HaiJun Zhang
2019-12-21 22:54 ` Alan Third
2019-12-22 3:33 ` Eli Zaretskii
2019-12-22 7:24 ` tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-12-22 11:51 ` Alan Third
2019-12-22 17:14 ` Eli Zaretskii
2019-12-22 11:32 ` HaiJun Zhang
2019-12-22 12:02 ` Alan Third [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191222120208.GC37854@breton.holly.idiocy.org \
--to=alan@idiocy.org \
--cc=23412@debbugs.gnu.org \
--cc=netjune@outlook.com \
--cc=tsuucat@icloud.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).