From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Masterson Newsgroups: gmane.emacs.help Subject: Key themes (was Re: Apology for multiple posts due to Mozilla bug) Date: 23 Dec 2002 14:30:46 -0800 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040683026 2643 80.91.224.249 (23 Dec 2002 22:37:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Dec 2002 22:37:06 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18QbC2-0000gA-00 for ; Mon, 23 Dec 2002 23:37:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18QbAd-0006Kh-03 for gnu-help-gnu-emacs@m.gmane.org; Mon, 23 Dec 2002 17:35:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 21 Original-Xref: shelby.stanford.edu gnu.emacs.help:108449 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4978 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4978 >>>>> Bruce Ingalls writes: > Has anyone tried to write keybinding themes for EMacs, so that I could > just go to Customize, and choose > o Native > o CUA > o vi > o Gnome > etc. > Is this even feasible? Wouldn't it be a matter of writing a function for each that does a series of define-key (or global-set-key) statements and then putting the appropriate function into a hook (like after-init-hook)? -- David Masterson David DOT Masterson AT synopsys DOT com Sr. R&D Engineer Synopsys, Inc. Software Engineering Sunnyvale, CA