From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: "Smart" quotes and dashes in PSGML Date: Mon, 28 Jul 2003 18:54:48 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84k7a28ucn.fsf@slowfox.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1059411457 25181 80.91.224.249 (28 Jul 2003 16:57:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2003 16:57:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 18:57:33 2003 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 19hBJU-0006XY-00 for ; Mon, 28 Jul 2003 18:57:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hBHp-0002aQ-86 for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2003 12:55:49 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!pd951f7c3.dip.t-dialin.NET!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: pd951f7c3.dip.t-dialin.net (217.81.247.195) Original-X-Trace: news.uni-berlin.de 1059411290 21359134 217.81.247.195 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:joUUjux6FrONa1jJmRhq8/aM/oE= Original-Xref: shelby.stanford.edu comp.emacs:80526 gnu.emacs.help:115497 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11414 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11414 Florian von Savigny writes: > Incidentally, it's a pity something like the following doesn't work: > > (define-key sgml-mode-map [?ä] '(lambda (insert "\ä\;"))) I don't think that the small defuns are a problem, but why not try this? (define-key sgml-mode-map [?ä] (lambda () (interactive) (insert "ä"))) This assumes that the lambda expression was the problem. If the [?ä] part was the problem, please holler. -- ~/.signature