all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: backtick as key
Date: Thu, 28 Apr 2016 21:20:44 +0600	[thread overview]
Message-ID: <CAP_d_8WVheZRXayx=Ofr5-SGfUckN7+7-_oDkUYkL48g-R2Q-Q@mail.gmail.com> (raw)
In-Reply-To: <5721D7D8.2090703@easy-emacs.de>

On Thu, Apr 28, 2016 at 3:28 PM, Andreas Röhler
<andreas.roehler@easy-emacs.de> wrote:

> (global-set-key [(control \`)(control \})] 'ar-backticked2braced-atpt)
>
> sends error:
>
> <C-dead-grave> is undefined
> C-} is undefined

Your key marked as ` does not send the ` character immediately but is
set up as a dead key for grave accent. That is, if you follow it with
a vowel, that vowel is changed to a precomposed letter with a grave
accent. Otherwise, a ` character is produced retroactively, followed
by the character for the key you pressed next.

Dead keys are common in layouts for languages which heavily use
diacritics, such as French, and in the so-called US International
layout which is designed to let users enter letters with diacritics
from many languages while still retaining the core US layout.

Try this instead:

    (global-set-key (kbd "<C-dead-grave> C-}") 'ar-backticked2braced-atpt)



  parent reply	other threads:[~2016-04-28 15:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-28  9:28 backtick as key Andreas Röhler
2016-04-28 15:05 ` Kaushal Modi
2016-04-28 15:18   ` Andreas Röhler
2016-04-28 15:21     ` Kaushal Modi
2016-04-28 15:20 ` Yuri Khan [this message]
2016-04-28 19:10   ` Andreas Röhler
     [not found] <mailman.1240.1461835581.7477.help-gnu-emacs@gnu.org>
2016-04-28 10:12 ` Marco Wahl

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='CAP_d_8WVheZRXayx=Ofr5-SGfUckN7+7-_oDkUYkL48g-R2Q-Q@mail.gmail.com' \
    --to=yuri.v.khan@gmail.com \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@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.