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: Emacs bindings in other programs Date: Fri, 26 Oct 2007 17:29:57 -0700 Organization: http://groups.google.com Message-ID: <1193444997.341811.111900@z24g2000prh.googlegroups.com> References: <1193416413.534581.16220@v3g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1193445639 14473 80.91.229.12 (27 Oct 2007 00:40:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Oct 2007 00:40:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 27 02:40:40 2007 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 1IlZjC-0005ic-VO for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Oct 2007 02:40:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlZj4-0006wx-1n for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Oct 2007 20:40:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z24g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 63 Original-NNTP-Posting-Host: 69.236.97.82 Original-X-Trace: posting.google.com 1193444997 18773 127.0.0.1 (27 Oct 2007 00:29:57 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 27 Oct 2007 00:29:57 +0000 (UTC) In-Reply-To: <1193416413.534581.16220@v3g2000hsg.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/419.3 (KHTML, like Gecko) Safari/419.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: z24g2000prh.googlegroups.com; posting-host=69.236.97.82; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:153363 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:48846 Archived-At: On Oct 26, 9:33 am, YSK wrote: =ABgetting all other programs in my Linux PC to work with Emacs keybindings (particularly the navigation ones, C-e, C-a, C-n, C-p, C-k).=BB ouch, i don't think that's a good thing to do, once this subject is thought about. pls see: =B7 Why Emacs's Keyboard Shortcuts Are Painful http://xahlee.org/emacs/emacs_kb_shortcuts_pain.html it would be better, to design a ergonomic shortcut for cursor navigation, then make all your other appl to be like that. here's my emacs one: =B7 A Ergonomic Keyboard Shortcut Layout For Emacs http://xahlee.org/emacs/ergonomic_emacs_keybinding.html but on your question... if you are on mac os x, it by default supports emacs's shortcuts for cursor movement. And, on os x, you can change it system-wide to other shortcuts by using the DefaultKeyBinding.dict see for example: http://xahlee.org/emacs/DefaultKeyBinding.dict On linux, am not sure xmodmap would do it. But here's my old xmodmap for doing dvorak on linux, which i haven't used since 2002. =B7 Dvorak keymap for xmodmap http://xahlee.org/PageTwo_dir/Personal_dir/dvorakKeymap.txt and on Windows i know at least QuickKeys ... Xah xah@xahlee.org http://xahlee.org/ -------------------------- On Oct 26, 9:33 am, YSK wrote: > I apologize in advance if this is deemed off-topic, but I will find > people in this newsgroup who share my interest: getting all other > programs in my Linux PC to work with Emacs keybindings (particularly > the navigation ones, C-e, C-a, C-n, C-p, C-k). > > There is a wonderful Windows tool called XKeymacs that does this for > Windows apps, and I have been searching (in vain) for something like > that for Linux (or Xorg more generally). Perhaps someone here will > have a xmodmap script to do this, or know some obscure tool/workaround > to make it possible. I am aware of the "gtk-key-theme-name =3D "Emacs"" > workaround for GTK based apps, but programs where I do lots of editing > (like my Java mail client and OpenOffice) do not obey that file. > > I'd appreciate any pointers. > Thanks!