From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenneth Jacker Newsgroups: gmane.emacs.help Subject: Re: Use of 'pause' as key prefix Date: Mon, 05 Nov 2007 08:39:50 -0500 Organization: Appalachian State University Message-ID: <87y7dcsteh.fsf@be.cs.appstate.edu> References: <873avkuaan.fsf@be.cs.appstate.edu> <85ir4glu0d.fsf@usenet.my.skamphausen.de> Reply-To: khj@cs.appstate.edu NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194273685 8400 80.91.229.12 (5 Nov 2007 14:41:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2007 14:41:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 05 15:41:29 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 1Ip38n-0002vH-V3 for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Nov 2007 15:41:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ip38d-0006eZ-8W for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Nov 2007 09:41:15 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!elk.ncren.net!lester.appstate.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: be.cs.appstate.edu Original-X-Trace: lester.appstate.edu 1194269990 5407 152.10.10.41 (5 Nov 2007 13:39:50 GMT) Original-X-Complaints-To: news@lester.appstate.edu Original-NNTP-Posting-Date: Mon, 5 Nov 2007 13:39:50 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:309zDC2As0IX6LDbV+BuRVMOd5E= Original-Xref: shelby.stanford.edu gnu.emacs.help:153549 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:49032 Archived-At: Wow, thanks Stefan, for the fast reply! sk> (defvar pause-map nil "Keybindings with Pause as prefix") sk> (define-prefix-command 'pause-map) sk> (global-set-key '[(pause)] 'pause-map) sk> (define-key pause-map '[(t)] '(lambda () sk> (interactive) sk> (insert "Testing Pause Prefix"))) Sorry, but I don't understand how to use the above to define additional associations using 'pause-map', e.g., "pause a", "pause b", etc. Maybe time for me to RTFM? ;-) Thanks again, -Kenneth