From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: ctl-x-map woes Date: Mon, 10 Jan 2011 12:49:50 -0500 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1294684861 31130 80.91.229.12 (10 Jan 2011 18:41:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2011 18:41:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 10 19:40:57 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcMfo-00018V-Qb for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jan 2011 19:40:56 +0100 Original-Received: from localhost ([127.0.0.1]:45512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcMfo-0001Xd-4j for geh-help-gnu-emacs@m.gmane.org; Mon, 10 Jan 2011 13:40:56 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Injection-Info: mx03.eternal-september.org; posting-host="8jSoPKcnI4RsJz0v4H4pBg"; logging-data="28147"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OxFzETXTe6dSNLBbPcMYX" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:BRh05a29NKr6E09xFtNo3TxFsbo= sha1:u58WLev4Ltoam2jvAfDZAfRNW+Q= Original-Xref: usenet.stanford.edu gnu.emacs.help:184191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78370 Archived-At: > 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. Stefan