From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YSK Newsgroups: gmane.emacs.help Subject: Re: Emacs bindings in other programs Date: Sun, 28 Oct 2007 03:55:46 -0000 Organization: http://groups.google.com Message-ID: <1193543746.950079.80860@z9g2000hsf.googlegroups.com> References: <1193416413.534581.16220@v3g2000hsg.googlegroups.com> <1193444997.341811.111900@z24g2000prh.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 1193546440 28244 80.91.229.12 (28 Oct 2007 04:40:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2007 04:40:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 28 05:40:41 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 1Ilzx0-0007Bz-SE for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2007 05:40:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ilzwr-0002pV-M4 for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2007 00:40:29 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z9g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 90 Original-NNTP-Posting-Host: 69.118.46.225 Original-X-Trace: posting.google.com 1193543747 9622 127.0.0.1 (28 Oct 2007 03:55:47 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 28 Oct 2007 03:55:47 +0000 (UTC) In-Reply-To: <1193444997.341811.111900@z24g2000prh.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.21 (Windows NT 5.1; U; en),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: z9g2000hsf.googlegroups.com; posting-host=69.118.46.225; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:153375 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:48859 Archived-At: On Oct 26, 8:29 pm, Xah Lee wrote: > 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 Painfulhttp://xahlee.org/emacs/ema= cs_kb_shortcuts_pain.html I don't deny emacs pinky is real, but for now it feels less comfortable for me to hit the cursor keys with my right pinky than the Ctrl key with my left. I have tried rebinding my Ctrl to Caps Lock, but it hasn't stuck. For one thing, I use the C-M-S combination a lot, and it's harder with the Ctrl key in the Caps Lock position. > > it would be better, to design a ergonomic shortcut for cursor > navigation, then make all your other appl to be like that. Maybe that would be better, but how would I get all programs to support those bindings, which is what I ultimately want? Right now, I know one set of controls very well, and I like those controls. Emacs is the only tool I know of with extermely useful, powerful commands that I think should be part of every editing environment. kill-line, isearch, reverse-isearch, regexp-search, M-\, C-u C-space.. on and on. Franky, it seems strange to me that these kinds of features aren't available by default in mature editing-heavy packages like MS Word or OpenOffice. At least on Windows, through the good graces of VBacs and XKeymacs, I have some of the Emacs functionality in Word, Notes, PowerPoint, etc. > > here's my emacs one: > > =B7 A Ergonomic Keyboard Shortcut Layout For Emacshttp://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 xmodmaphttp://xahlee.org/PageTwo_dir/Personal_dir/d= vorakKeymap.txt > > and on Windows i know at least QuickKeys ... XKeymacs does a great job of enabling Emacs controls in Windows generally. > > Xah > x...@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!