all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrey Paramonov <cmr.Pent@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Keybindings in non-Latin layout
Date: Tue, 5 May 2009 18:29:14 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090505T180022-179@post.gmane.org> (raw)
In-Reply-To: jwveiv4kvtg.fsf-monnier+emacs@gnu.org

Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> > 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).
> 

I've looked at read_key_sequence function, and it is Ж:-O indeed (given I don't
have much C experience). I could however notice that it doesn't contain
platform-specific code. How come NTEmacs works nicely, while Emacs on my
GNU/Linux system doesn't? Is NTEmacs a build of GNU Emacs or it is a different
beast?

Please forgive my low level of Emacs internal knowledge ;-)

Andrey






  parent reply	other threads:[~2009-05-05 18:29 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
2009-05-05 15:13           ` Samuel Bronson
2009-05-05 18:29           ` Andrey Paramonov [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20090505T180022-179@post.gmane.org \
    --to=cmr.pent@gmail.com \
    --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 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.