From: "Perry E. Metzger" <perry@piermont.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: not quite understanding input methods
Date: Mon, 30 Aug 2021 13:45:05 -0400 [thread overview]
Message-ID: <7343dfd2-05d5-0752-8e43-cd44d6394963@piermont.com> (raw)
In-Reply-To: <jwvo89edem7.fsf-monnier+emacs@gnu.org>
On 8/30/21 13:37, Stefan Monnier wrote:
>> My guess is that something in the belly of Quail is reading events and not
>> the characters in the buffer, but as there's no documentation I'm not really
>> clear on what is going on.
> This is a hard-coded limit in the C code side of input-methods, as seen
> in src/keyboard.c (line 3117):
Seems to be at 3065 in master.
>
> /* Pass this to the input method, if appropriate. */
> if (FIXNUMP (c)
> && ! NILP (Vinput_method_function)
> /* Don't run the input method within a key sequence,
> after the first event of the key sequence. */
> && NILP (prev_event)
> && ' ' <= XFIXNUM (c) && XFIXNUM (c) < 256 && XFIXNUM (c) != 127)
> {
>
> It's already been requested to lift this restriction in the (fairly
> distant) past.
>
> IIRC there's no technical reason behind this limit, it reflects an
> assumption that non-ASCII chars have presumably already gone through
> some (other) form of input method.
>
> I think it would be good to lift this restriction, tho we probably want
> to do it progressively, e.g. by first introducing a var that controls it
> (so you could lift the restriction without potentially impact everyone
> else).
>
This sounds like a reasonable idea. If such a variable gets added to the
master branch I will happily test it out. The one issue here is that I'm
unsure that we would successfully learn about problems with the change
if only a very few people were using it.
Perry
next prev parent reply other threads:[~2021-08-30 17:45 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-30 17:24 not quite understanding input methods Perry E. Metzger
2021-08-30 17:37 ` Stefan Monnier
2021-08-30 17:45 ` Perry E. Metzger [this message]
2021-08-30 18:00 ` Stefan Monnier
2021-08-30 18:22 ` Eli Zaretskii
2021-08-30 18:34 ` Perry E. Metzger
2021-08-30 18:39 ` Eli Zaretskii
2021-08-30 18:43 ` Perry E. Metzger
2021-08-30 18:37 ` Perry E. Metzger
2021-08-30 19:00 ` Perry E. Metzger
2021-08-30 19:08 ` Eli Zaretskii
2021-08-30 19:13 ` Perry E. Metzger
2021-08-30 19:19 ` Stefan Monnier
2021-08-30 19:26 ` Perry E. Metzger
2021-08-30 19:31 ` Eli Zaretskii
2021-08-30 20:12 ` Stefan Monnier
2021-08-30 19:28 ` Eli Zaretskii
2021-08-30 20:29 ` André A. Gomes
2021-09-01 5:44 ` Yuri Khan
2021-09-01 7:23 ` Juri Linkov
2021-09-01 7:43 ` Yuri Khan
2021-09-01 8:37 ` tomas
2021-09-01 9:14 ` Joost Kremers
2021-09-01 13:17 ` Perry E. Metzger
2021-09-01 12:05 ` Eli Zaretskii
2021-09-01 12:35 ` João Távora
2021-09-01 13:19 ` André A. Gomes
2021-09-01 14:05 ` João Távora
2021-09-01 13:03 ` André A. Gomes
2021-09-01 13:02 ` Perry E. Metzger
2021-09-02 12:00 ` Maxim Nikulin
2021-09-02 13:03 ` Filipp Gunbin
2021-09-01 12:58 ` Perry E. Metzger
2021-09-01 12:51 ` Perry E. Metzger
2021-09-01 13:29 ` Partially answering my own question (was Re: not quite understanding input methods) Perry E. Metzger
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=7343dfd2-05d5-0752-8e43-cd44d6394963@piermont.com \
--to=perry@piermont.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.