From: Ingo Bremer <bremer@wias-berlin.de>
Subject: Multi_key and dead keys under irix 6.5, emacs 21.2
Date: Fri, 31 Oct 2003 15:24:54 +0100 [thread overview]
Message-ID: <200310311424.h9VEOsFB511119@cantor.wias-berlin.de> (raw)
hallo,
under sgi irix (6.5.13m) the XK_Multi_key and the dead_keys are
not working in emacs-21.2.
the reason is a difference between the run-time behaviour
of XmbLookupString and the description in the manual:
---
XLookupNone No consistent input has been composed so
far. The contents of buffer_return and
keysym_return are not modified, and the
function returns zero.
---
in fact, after pressing Multi_key ' a we have status_return == XLookupNone
AND nbytes == 1 with the correct latin1-character "á" in the buffer.
my little patch helps emacs to deal with this situation
patch for
eamcs-21.2/src/xterm.c near line 10449
if (status_return == XLookupNone && nbytes >0) { /* should not appear, but...
*/
keysym = NoSymbol;
}
else {
if (status_return == XLookupNone)
break;
else if (status_return == XLookupChars)
{
keysym = NoSymbol;
modifiers = 0;
}
else if (status_return != XLookupKeySym
&& status_return != XLookupBoth)
abort ();
}
best regards
i.b.
next reply other threads:[~2003-10-31 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-31 14:24 Ingo Bremer [this message]
2003-11-02 0:08 ` Multi_key and dead keys under irix 6.5, emacs 21.2 Richard Stallman
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=200310311424.h9VEOsFB511119@cantor.wias-berlin.de \
--to=bremer@wias-berlin.de \
/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.