From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryan Yeske Newsgroups: gmane.emacs.help Subject: Re: *scratch* "corrupt Date: Fri, 14 Oct 2005 08:07:56 GMT Message-ID: <877jcgmsgz.fsf@cut.bc.hsia.telus.net> References: 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 1129280385 17152 80.91.229.2 (14 Oct 2005 08:59:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2005 08:59:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 10:59:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQLOC-00017l-0U for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2005 10:58:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQL9S-0001o6-MX for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2005 04:42:54 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!meganewsservers.com!feeder2.on.meganewsservers.com!newsfeed.telusplanet.net!newsfeed.telus.net!clgrps12.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:PEJ/fY1wID4Y6W5mdKO87q4O7rw= Original-Lines: 8 Original-NNTP-Posting-Host: 207.216.180.100 Original-X-Trace: clgrps12 1129277276 207.216.180.100 (Fri, 14 Oct 2005 02:07:56 MDT) Original-NNTP-Posting-Date: Fri, 14 Oct 2005 02:07:56 MDT Original-Xref: shelby.stanford.edu gnu.emacs.help:134643 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:30225 Archived-At: 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 ?—)))