From owner-freebsd-gnome@FreeBSD.ORG Thu Nov 11 16:28:59 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EDAA16A4CE; Thu, 11 Nov 2004 16:28:59 +0000 (GMT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE8E343D49; Thu, 11 Nov 2004 16:28:58 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id IBA74465; Thu, 11 Nov 2004 08:28:58 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 6D51E5D09; Thu, 11 Nov 2004 08:28:58 -0800 (PST) To: Adam Weinberger In-reply-to: Your message of "Thu, 11 Nov 2004 10:09:58 EST." <20041111150958.GQ18865@toxic.magnesium.net> Date: Thu, 11 Nov 2004 08:28:58 -0800 From: "Kevin Oberman" Message-Id: <20041111162858.6D51E5D09@ptavv.es.net> cc: freebsd-gnome@FreeBSD.org Subject: Re: gnome 2.8 and emacs keybindings X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 16:28:59 -0000 > Date: Thu, 11 Nov 2004 10:09:58 -0500 > From: Adam Weinberger > Sender: owner-freebsd-gnome@freebsd.org > > >> (11.11.2004 @ 0952 PST): Richard Kuhns said, in 1.3K: << > > Hello all, > > I'm feeling particularly dense right now, and would appreciate some > > help. After a recent (apparently successful) upgrade from 2.6 to 2.8, my > > emacs keybindings are gone. I found a message from Joe Marcus Clarke > > with the following: > > > > === > > For reverting all control keys to the Emacs style, just add the > > following to ~/.gtkrc-2.0: > > > > gtk-key-theme-name = "Emacs" > > > > Or, if running GNOME, use the Keyboard Shortcuts capplet to change the > > Text editing shortcuts to Emacs. > > === > > > > I tried creating ~/.gtkrc-2.0 with the line he mentioned, logged out, > > and logged back in (I'm running gdm) -- no difference, and I can't find > > any mention of Text editing at all in Applications -> Desktop > > Preferences -> Keyboard Shortcuts. > > > > Grepping for 'emacs' and 'bind' in /usr/ports/UPDATING didn't come up > > with anything either. > > > > Any suggestions would be greatly appreciated. > > - Rich > >> end of "gnome 2.8 and emacs keybindings" from Richard Kuhns << > > emacs keybindings are stored in ~/.emacs or some similarly named file. I don't think he means the key-bindings used by Emacs, but the key bindings used by Gnome widgets that accept text. For doing text editing in these widgets, you have a set of default Gnome binding, but those who normally use a particular editor, such as Emacs, vim, or vi, can work better if they can use the same key binding that are defaults in their normal editor. Most shells have this capability, at least with vi and emacs binding, and so did Gnome. I hope it's still there as I (as an XEmacs user) have problems with using the Gnome defaults. They work, but I am always having to stop and think about them. If emacs bindings were available, my use of Gnome would be more efficient. BTW, all of the standard emacs bindings are in the standard elisp files loaded at start times. Only personal modifications are in ~/.emacs. I would not expect Gnome to deal with these, just the "normal" ones used for simple editing. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634