unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Keybindings in non-Latin layout
Date: Tue, 05 May 2009 00:41:45 -0400	[thread overview]
Message-ID: <jwveiv4kvtg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ljpcjmr6.fsf@catnip.gol.com> (Miles Bader's message of "Tue, 05 May 2009 11:40:13 +0900")

> I think in general, a "reactive" solution, like function-key-map, or the
> special handling of shifted keys (mapping them to unshifted variants if
> not bound) would be much more robust than a method like the above
> (the problem being that it essentially stores redundant state that can
> get out of sync).

Agreed.  The only difficulty is in building the reverse mapping, and in
making it apply to all forms of the key (with arbitrary modifiers), all
this ideally without adding yet-more-ad-hoc-C-code in the
read_key_sequence monster (or even removing some of it instead).

Ideally, the same technique can be used to map mouse-4/5 to
wheel-up/down (with or without arbitrary modifiers).


        Stefan




  reply	other threads:[~2009-05-05  4:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-02 15:30 Keybindings in non-Latin layout Андрей Парамонов
2009-05-03  0:28 ` Stephen J. Turnbull
2009-05-03 11:55 ` Juri Linkov
2009-05-03 18:47   ` Andrey Paramonov
2009-05-03 19:18     ` Drew Adams
2009-05-04  5:01       ` Andrey Paramonov
2009-05-04  5:51         ` Drew Adams
2009-05-04  5:11     ` Jason Rumney
2009-05-04  5:27       ` Andrey Paramonov
2009-05-04 23:57     ` Juri Linkov
2009-05-05  2:40       ` Miles Bader
2009-05-05  4:41         ` Stefan Monnier [this message]
2009-05-05 15:13           ` Samuel Bronson
2009-05-05 18:29           ` Andrey Paramonov
2009-05-05 20:11             ` Lennart Borgman
2009-05-06 12:19             ` James Cloos
2009-05-06 18:28               ` Andrey Paramonov
2009-05-05 11:02         ` Juri Linkov

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=jwveiv4kvtg.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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).