From: Klaus Zeitler <kzeitler@lucent.com>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [kzeitler@lucent.com: Re: compose key on SUN keyboard creates 2 characters (and beeps)]
Date: 12 Jan 2004 10:33:13 +0100 [thread overview]
Message-ID: <q5g8ykdzf3a.fsf@lucent.com> (raw)
In-Reply-To: <D1F2EC5B-44AA-11D8-A2E7-00039363E640@swipnet.se>
>>>>> "Jan" == Jan D <jan.h.d@swipnet.se> writes:
Jan>
Jan> I'm assuming these lines are to be added rather than subtracted since
Jan> they are not in xterm.c 1.823.
looks like I've exchanged old and new file again in my patch, sorry :-)
Jan> The internals of XComposeStatus is intended to be hidden, i.e. can
Jan> change at any time, so looking inside it might be unportable. But a
yes I agree. Since emacs looks at every single event, there must be a way to
tell emacs to ignore these events until the key is complete. I couldn't find
a better way.
Jan> check for > 0 (no need to limit ourselves to 1 or 2) can be done. But
are you sure, this would amaze me? I thought when chars_matched is 3, emacs
needs to handle the char, and as long as we're composing a character, we need
to ignore it.
Jan> we should do break instead of goto OTHER.
I don't know when/how these 3 events that compose one char need to be
dispatched.
Jan> Checking for nbytes <= 0 is not an option as we would then miss
Jan> several keys that returns 0 (function keys, the <menu> key, keypad
Jan> keys ...).
yes, you're right. Sorry, that wasn't a good idea, I have to admit :-(.
Does the compose key work the way it's implemented now e.g. under GNU/Linux?
Klaus
--
------------------------------------------
| Klaus Zeitler Lucent Technologies |
| Email: kzeitler@lucent.com |
------------------------------------------
---
It's odd, and a little unsettling, to reflect upon the fact
that English is the only major language in which "I" is
capitalized; in many other languages "You" is capitalized
and the "i" is lower case. -- Sydney J. Harris
next prev parent reply other threads:[~2004-01-12 9:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-09 11:46 [kzeitler@lucent.com: Re: compose key on SUN keyboard creates 2 characters (and beeps)] Richard Stallman
2004-01-12 2:55 ` Jan D.
2004-01-12 9:33 ` Klaus Zeitler [this message]
2004-01-12 11:48 ` Jan D.
2004-01-12 14:25 ` Klaus Zeitler
2004-01-13 16:30 ` Jan D.
2004-01-14 10:46 ` Klaus Zeitler
2004-01-16 10:25 ` Jan D.
2004-01-16 12:57 ` Klaus Zeitler
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=q5g8ykdzf3a.fsf@lucent.com \
--to=kzeitler@lucent.com \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/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.