unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: S-tab translated to C-y on a mac?
Date: Mon, 18 Oct 2010 14:52:21 +0200	[thread overview]
Message-ID: <m18w1v1x4q.fsf@gmail.com> (raw)
In-Reply-To: m2pqv765r4.fsf@rimspace.net

Daniel Pittman <daniel@rimspace.net> writes:
> So, since I am not the only person who cares: I went looking, and found two
> things:
>
> First, the translation is stored in a *copy* of `ns-alternatives-map',
> accessible only between the `local-function-key-map' and its parent, injected
> there during frame setup.
>
> This will remove the initial translation:
>
>   (define-key (keymap-parent local-function-key-map) [S-tab] nil)
>
> I don't see why that keymap is cloned, but whatever.
>
>
> Second, if I just add this my binding actually works:
>
>   (global-set-key [S-tab] #'tab-to-tab-stop)
>
> ...so, my problem is solved. :)
>
>         Daniel

Works like a charm, thanks a lot!
Maybe should we write it on the devel list since I guess is a bug?




  reply	other threads:[~2010-10-18 12:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-17 13:01 S-tab translated to C-y on a mac? Daniel Pittman
2010-10-17 16:50 ` hazlup
2010-10-18  0:28   ` Daniel Pittman
2010-10-18  8:38     ` Andrea Crotti
2010-10-18 12:32       ` Daniel Pittman
2010-10-18 12:52         ` Andrea Crotti [this message]
2010-10-18 13:22           ` Daniel Pittman
     [not found]       ` <mailman.1.1287405267.17078.help-gnu-emacs@gnu.org>
2010-10-18 13:33         ` 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=m18w1v1x4q.fsf@gmail.com \
    --to=andrea.crotti.0@gmail.com \
    --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.
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).