all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Gregory Heytings <gregory@heytings.org>
Cc: 60711@debbugs.gnu.org, Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
Subject: bug#60711: Compose fails to generate ≤ and ≥ (only those two! and only in emacs!)
Date: Wed, 11 Jan 2023 18:21:12 +0800	[thread overview]
Message-ID: <875yddfk2v.fsf@yahoo.com> (raw)
In-Reply-To: <502d6ee86a5af0665e1e@heytings.org> (Gregory Heytings's message of "Wed, 11 Jan 2023 08:45:13 +0000")

Gregory Heytings <gregory@heytings.org> writes:

>>> It's unlikely that this is an Emacs bug, Emacs does not "see"
>>> anything until the compose sequence is finished, it only sees the
>>> final character.
>>
>> Not exactly true.
>>
>
> Marcin explicitly said he uses the Compose key, with both Emacs and
> other apps, and not an input method with Emacs.  And as far as I know
> when the Compose key is used apps only receive the final character.

The compose key requires either compose state to be kept by the program
in cooperation with XLookupString, or is implemented by the input
method.  In either case the program must keep compose state around
explicitly, or forward the compose key events to the input method, which
will then indicate to the program that it will do its own internal
processing of the compose key sequence and that the program should
ignore the key itself.

If you don't believe me, run xev (or xinput test-xi2) on a system that
has compose set up and enter a compose sequence.  You will see the
(XI_)KeyPress and KeyRelease events with either 0 bytes returned from
X(mb)LookupString or True returned from XFilterEvent.

If a pop up window shows up, then it is definitely being displayed by
an input method.  Xlib itself does not know how to do that.





  reply	other threads:[~2023-01-11 10:21 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-10 15:13 bug#60711: Compose fails to generate ≤ and ≥ (only those two! and only in emacs!) Marcin Kasperski
2023-01-10 15:15 ` Marcin Kasperski
2023-01-10 16:01 ` Gregory Heytings
2023-01-10 17:07   ` Eli Zaretskii
2023-01-11  7:29   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-11  8:45     ` Gregory Heytings
2023-01-11 10:21       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-01-11 18:45         ` Marcin Kasperski
2023-01-11 18:49           ` Marcin Kasperski
2023-01-11 18:54             ` Marcin Kasperski
2023-01-11 19:18               ` Marcin Kasperski
2023-01-11 21:15                 ` Gregory Heytings
2023-01-11 23:05                   ` Andreas Schwab
2023-01-13 14:26                   ` Marcin Kasperski
2023-01-13 14:41                     ` Marcin Kasperski
2023-01-15  0:36                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-14 21:54                     ` Gregory Heytings
2023-01-11 21:11               ` Gregory Heytings
2023-01-11 20:01           ` Eli Zaretskii
2023-01-11 20:59           ` Gregory Heytings
2023-01-11 21:02         ` Gregory Heytings
2023-01-12  1:25           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-16  9:41             ` Gregory Heytings
2023-01-16  9:57               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-16 12:31                 ` Gregory Heytings
2023-01-17  0:41                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-09 11:01 ` Gregory Heytings

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=875yddfk2v.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=60711@debbugs.gnu.org \
    --cc=Marcin.Kasperski@mekk.waw.pl \
    --cc=gregory@heytings.org \
    --cc=luangruo@yahoo.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.