all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: ctl-x-map woes
Date: Tue, 11 Jan 2011 00:45:48 +0100	[thread overview]
Message-ID: <AANLkTi=LbxZVpsdT8bsGnCT3spsOjuwwmrg+ZON9wkyN@mail.gmail.com> (raw)
In-Reply-To: <jwvlj2sac51.fsf-monnier+gnu.emacs.help@gnu.org>

2011/1/10 Stefan Monnier <monnier@iro.umontreal.ca>:
>> I bind C-t to ctl-x-map so I can use C-t as a replacement prefix for
>> most C-x commands, e.g., C-t C-s, C-t C-f, etc.
>
>> But I have noticed that C-t 8 RET is the only C-x 8 key that works
>> when I do this. None of the other C-x 8 keys map to C-t 8.
>
> Because all the other C-x 8 "bindings" are not bindings to commands but
> are key remappings, i.e., they're not in the global-map but in the
> key-translation-map.  E.g., this means that you can run the command
> bound to "C-c é" (if any) by typing "C-c C-x 8 ' e".
>
> So maybe
>
>  (define-key key-translation-map [?\C-t]
>              (lookup-key key-translation-map [?\C-x]))
>
> will complete your C-t to also apply to C-t 8 ' e.
>

Thank you, this works perfectly.

-- 
Deniz Dogan



  reply	other threads:[~2011-01-10 23:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4.1294217994.22560.help-gnu-emacs@gnu.org>
2011-01-10 17:49 ` ctl-x-map woes Stefan Monnier
2011-01-10 23:45   ` Deniz Dogan [this message]
2011-01-05  8:59 Deniz Dogan

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='AANLkTi=LbxZVpsdT8bsGnCT3spsOjuwwmrg+ZON9wkyN@mail.gmail.com' \
    --to=deniz.a.m.dogan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.