From: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: Latin-3 XKeysyms
Date: 11 Nov 2003 10:34:40 -0500 [thread overview]
Message-ID: <jwv8ymmhqd5.fsf-monnier+emacs/devel@vor.iro.umontreal.ca> (raw)
In-Reply-To: <m37k27jr1k.fsf@lumo.pacujo.net>
> After many years of frustration I finally took the bull by the horns and
> figured out why emacs 21.3 still ignores Latin-3 XKeysyms like
> XK_Ccircumflex. In fact, here's a simple patch that fixes the problem:
> ========================================================================
> --- src/keyboard.c.bak 2003-11-10 23:30:13.000000000 -0800
> +++ src/keyboard.c 2003-11-10 23:29:52.000000000 -0800
> @@ -4670,6 +4670,12 @@
> /* A function key. The symbol may need to have modifier prefixes
> tacked onto it. */
> case non_ascii_keystroke:
> + if (event->code >= 0x200 && event->code < 0x300) {
> + Lisp_Object lispy_c;
> +
> + XSETFASTINT (lispy_c, event->code + 0x700);
> + return lispy_c;
> + }
> button_down_time = 0;
> for (i = 0; i < sizeof (lispy_accent_codes) / sizeof (int); i++)
> ========================================================================
This part of the code was changed in Emacs-CVS. Could you check that
Emacs-CVS still suffers from your problem and that your patch still
fixes it ?
Stefan
prev parent reply other threads:[~2003-11-11 15:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-11 7:35 Latin-3 XKeysyms Marko Rauhamaa
2003-11-11 15:34 ` Stefan Monnier [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=jwv8ymmhqd5.fsf-monnier+emacs/devel@vor.iro.umontreal.ca \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@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 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).