From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jeff Rancier" Newsgroups: gmane.emacs.help Subject: Re: key bindings Date: Fri, 01 Nov 2002 18:37:15 GMT Organization: Road Runner Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <3DC2B228.8020809@ihs.com> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036176036 13165 80.91.224.249 (1 Nov 2002 18:40:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 1 Nov 2002 18:40:36 +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 187gie-0003Q0-00 for ; Fri, 01 Nov 2002 19:40:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 187gjA-0000fO-00; Fri, 01 Nov 2002 13:41:04 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone.nyroc.rr.com!cyclone-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 24.97.108.46 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: twister.nyroc.rr.com 1036175835 24.97.108.46 (Fri, 01 Nov 2002 13:37:15 EST) Original-NNTP-Posting-Date: Fri, 01 Nov 2002 13:37:15 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:106661 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3213 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3213 Thanks Kevin, But when I evaluate this, I get the following error: Debugger entered--Lisp error: (error "Invalid modifier in string") Jeff "Kevin Rodgers" wrote in message news:3DC2B228.8020809@ihs.com... > Jeff Rancier wrote: > > > Hello All. > > > > I have the function redo bound to C-M-/, in my .emacs as follows: > > > > (global-set-key [M-C-/] 'redo) > > > > The default binding for that sequence is dabbrev-completion, which I don't > > use, so I thought I'd override it. But, when I execute the key sequence, > > emacs runs dabbrev-completion. When I C-h k it reports dabbrev-completion, > > which makes sense, but when I manually run redo, emacs reports: > > > > You can run the command 'redo' with > > > > Something appears confused (other than me!). Can someone tell me the > > correct way to perform this, and have the binding persist? > > > The angle brackets indicate that redo is bound to the M-C-/ function key, > > which doesn't exist. You want it bound to the meta- and control-modified > / character: > > > (global-set-key "\M-\C-/" 'redo) > > > -- > Kevin Rodgers >