From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Unknown Newsgroups: gmane.emacs.help Subject: Re: Can't bind "\C-=" and "\C-+" keys Date: Sat, 12 Oct 2002 20:45:22 +0800 Organization: Usenet.com http://www.usenet.com 100,000+ UNCENSORED Newsgroups. The #1 Usenet Service on the Planet! Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <8d3f4438.0210100526.48bf4ba0@posting.google.com> <5l3crefkwj.fsf@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034427145 30308 127.0.0.1 (12 Oct 2002 12:52:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 12 Oct 2002 12:52:25 +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 180Lkm-0007si-00 for ; Sat, 12 Oct 2002 14:52:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 180Lje-0005Ko-00; Sat, 12 Oct 2002 08:51:14 -0400 Original-Newsgroups: gnu.emacs.help Original-From: d2002xx Original-Lines: 14 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i586-pc-linux-gnu) Cancel-Lock: sha1:h+PYGLQjYgAG/ky//F0W4d0mVA4= Original-NNTP-Posting-Host: 61.70.221.93 X-Original-NNTP-Posting-Host: 61.70.221.93 Original-X-Trace: post.usenet.com 1034425046 61.70.221.93 (12 Oct 2002 07:17:26 -0500) X-Comments: This message was posted through Usenet.com's, FREE publicly accessible Usenet Server - "post.usenet.com" X-Comments2: IMPORTANT: Usenet.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!post.usenet.com!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:105973 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:2520 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2520 **** Post for FREE via your newsreader at post.usenet.com **** The nice guy "Stefan Monnier " wrote: >>>>>> "d2002xx" == d2002xx writes: >> When I bind the two keys by (global-set-key "\C-=" 'undo) and >> (global-set-key "\C-+" 'redo), Emacs says "Invalid modifiers in >> string". > > C-= and C-+ are not characters, so you can't put them into a string. > Thus you need to use something like > > (global-set-key [(control ?+)] 'redo) It works!! Thank you!!! -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! *** http://www.usenet.com Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=