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 21:11:18 GMT Message-ID: <874q7jvm6i.fsf@cut.bc.hsia.telus.net> References: <877jcgmsgz.fsf@cut.bc.hsia.telus.net> <3VN3f.14660$QE1.9566@newsread2.news.atl.earthlink.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 1129324567 3487 80.91.229.2 (14 Oct 2005 21:16:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2005 21:16:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 23:16:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQWtd-0003Vo-Tp for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2005 23:15:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EQWtb-0005dU-A7 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2005 17:15:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps84.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:524LkaOb6WVdL9YoILMzPvqftaU= Original-Lines: 17 Original-NNTP-Posting-Host: 207.216.180.100 Original-X-Trace: edtnps84 1129324278 207.216.180.100 (Fri, 14 Oct 2005 15:11:18 MDT) Original-NNTP-Posting-Date: Fri, 14 Oct 2005 15:11:18 MDT Original-Xref: shelby.stanford.edu gnu.emacs.help:134658 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:30239 Archived-At: "B. T. Raven" writes: >> (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. Hmm, it works for me here. What does C-h k s-- give you? s-- runs the command (lambda nil (interactive) (insert 342388)) which is an interactive Lisp function. It is bound to s--. (anonymous) When I press s-- it inserts —.