From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: keyboard-translate working for Control but not for Alt Date: Wed, 5 Aug 2009 15:37:48 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249592622 27236 80.91.229.12 (6 Aug 2009 21:03:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2009 21:03:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 06 23:03:36 2009 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.50) id 1MZA7a-0006v0-L5 for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 23:03:34 +0200 Original-Received: from localhost ([127.0.0.1]:35014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZA7a-0002pz-5p for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Aug 2009 17:03:34 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!v15g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 38 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1249511868 18187 127.0.0.1 (5 Aug 2009 22:37:48 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 5 Aug 2009 22:37:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v15g2000prn.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.37 Safari/530.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:171644 comp.emacs:98527 X-Mailman-Approved-At: Thu, 06 Aug 2009 16:47:51 -0400 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:66883 Archived-At: Hi Elena, ; Make C-t acts like C-x, so that C-x is easier to type on dvorak ; (keyboard-translate ?\C-t ?\C-x) ; but this means ALL your C-t keys becomes C-x. ; So, for example, in outline-mode, C-c C-t runs hide-body. ; But now, when you type that, you get C-c C-x instead. ; A better solution is: ; (global-set-key (kbd "C-t") ctl-x-map) i've been using (keyboard-translate ?\C-t ?\C-x) for the past ~5 years or so. In pratice, i never noticed any problem, prob because C-t hardly used as embedded combo in a key sequence, or, when it is used, such commands are often advanced features or not commonly needed. in fact, the example C-c C-t in outline-mode i only noticed yesterday, as i was browsing emacs 23's News file which is in outline-mode. Other than this, i've not used outline-mode. I switched to (global-set-key (kbd "C-t") ctl-x-map) yesterday, and noticed that it has problems too. I often do =E2=80=9CC-x r l=E2=80=9D to get my bookmark list. So, this means i've been pressing =E2=80=9CC-t r l=E2=80=9D in the past ~5 = years. But if you are in dired, that no longer works with the new setup. =E2=80=9C= C-t r=E2=80=9D invokes image-dired-delete-tag. Xah =E2=88=91 http://xahlee.org/ =E2=98=84