From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: *scratch* "corrupt Date: Fri, 14 Oct 2005 12:55:27 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: <3VN3f.14660$QE1.9566@newsread2.news.atl.earthlink.net> References: <877jcgmsgz.fsf@cut.bc.hsia.telus.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1129295683 1119 80.91.229.2 (14 Oct 2005 13:14:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2005 13:14:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 15:14:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQPMz-0003TH-Dq for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2005 15:13:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQPMy-00078u-Ec for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2005 09:13:08 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 4.159.32.73 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread2.news.atl.earthlink.net 1129294527 4.159.32.73 (Fri, 14 Oct 2005 05:55:27 PDT) Original-NNTP-Posting-Date: Fri, 14 Oct 2005 05:55:27 PDT Original-Xref: shelby.stanford.edu gnu.emacs.help:134651 Original-To: help-gnu-emacs@gnu.org 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:30232 Archived-At: "Ryan Yeske" wrote in message news:877jcgmsgz.fsf@cut.bc.hsia.telus.net... > jasonr (Jason Rumney) @ f2s.com writes: > > > (global-set-key [(super -)] (lambda () (insert ?—))) > > The above won't work. You need to bind keys to commands (interactive > functions). > > (global-set-key [(super -)] (lambda () (interactive) (insert ?—))) Thanks Ryan and Jason. I had already tried to wrap the inserts into interactive functions but that didn't work either. Apparently, the super key can modify only alpha characters.