From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bill Clementson Newsgroups: gmane.emacs.help Subject: Creating a "shortcut" key for "C-c C-" Date: Tue, 22 Apr 2003 01:55:16 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050976598 25437 80.91.224.249 (22 Apr 2003 01:56:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 22 Apr 2003 01:56:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 22 03:56:36 2003 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 197n1Q-0006c8-00 for ; Tue, 22 Apr 2003 03:56:36 +0200 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 197n0c-0004c7-09 for gnu-help-gnu-emacs@m.gmane.org; Mon, 21 Apr 2003 21:55:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 12.253.116.78 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: rwcrnsc54 1050976516 12.253.116.78 (Tue, 22 Apr 2003 01:55:16 GMT) Original-NNTP-Posting-Date: Tue, 22 Apr 2003 01:55:16 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:112163 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:8662 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8662 Does anyone know how to map a key to a specific portion of a pre-defined mapping? For example, if a standard major mode binding is "C-c C-n", how would you define a particular key to represent the "C-c C-" portion of the binding so that it is possible to substitute -n for the "C-c C-n" command? I can't see how this would be possible with either Super/Hyper keys or other keymap alternatives, but it would be useful to be able to do this. I don't want to create a new keybinding for a command, I just want to be able to indicate that a specific key will "globally" replace the "C-c C-" portion of already defined major mode commands. -- Bill Clementson