unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pascal Bourguignon <spam@mouse-potato.com>
Subject: Re: Translating keys
Date: Mon, 17 Oct 2005 15:27:36 +0200	[thread overview]
Message-ID: <87mzl89stz.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: divvlv$83g$1@aphrodite.grec.isp.9tel.net

Mounir AITTAHAR <mounir.aittahar@fri.fr> writes:

>> Now, if what you really want is to bind a function to a key, then use
>> local-set-key: (local-set-key (kbd "A-o") ...)  or whatever key
>> combination you use to get 'ò'.
>
> Hi,
>
> As told in another thread(1), (local-set-key (kbd "é") ...) seems not
> to work if non-ASCII characters are entered by pressing one button,
> their button. It looks like these kind of keys cannot be reached by a
> local or global binding.

At least in emacs-version "22.0.50.1", it works perfectly, as well for
a directly é typed on a MacOSX AZERTY, or using C-x 8 ' e


> I allowed myself to tell the problem in this thread cause it is a
> related subjetc and it seems you are a french user (and you may use a
> french keyboard)

I am, but I never use this AZERTY monstruosity.


> Do you know this problem and how to solve it ?

(local-set-key (kbd "é") (lambda()(interactive)(insert "\ngot e acute\n")))

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
In deep sleep hear sound,
Cat vomit hairball somewhere.
Will find in morning.

  reply	other threads:[~2005-10-17 13:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-16 19:58 Translating keys Elena Garrulo
2005-10-16 20:18 ` Peter Dyballa
     [not found] ` <mailman.11540.1129493899.20277.help-gnu-emacs@gnu.org>
2005-10-16 22:07   ` Elena Garrulo
2005-10-17  0:07     ` Peter Dyballa
2005-10-17  2:10 ` Pascal Bourguignon
2005-10-17 10:48   ` Mounir AITTAHAR
2005-10-17 13:27     ` Pascal Bourguignon [this message]
2005-10-17 15:15       ` Mounir AITTAHAR
2005-10-18 14:52         ` Mounir AITTAHAR
2005-10-18 16:50           ` Pascal Bourguignon
2005-10-19  8:29             ` Mounir AITTAHAR
2005-10-19 23:09     ` Stefan Monnier
2005-10-20  8:22       ` Mounir AITTAHAR
2005-10-20  9:09         ` Mounir AITTAHAR
2005-10-20  8:38       ` Mounir AITTAHAR
2005-10-21  8:37         ` Translating keys [solved] Mounir AITTAHAR
2005-10-17  3:03 ` Translating keys Stefan Monnier

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=87mzl89stz.fsf@thalassa.informatimago.com \
    --to=spam@mouse-potato.com \
    /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.
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).