From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Paul Batt" Newsgroups: gmane.emacs.help Subject: Re: How to redefine Parantheses? Date: Tue, 10 Apr 2007 20:21:50 +0200 Message-ID: <5822trF2counbU1@mid.individual.net> References: <57rjbgF2eksvjU1@mid.individual.net><57v926F2f0ldoU1@mid.individual.net><580pipF2e3fk8U1@mid.individual.net> <461bcc86$0$6405$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1176234212 9894 80.91.229.12 (10 Apr 2007 19:43:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2007 19:43:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 10 21:42:45 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HbLE9-0001eb-34 for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 20:38:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbLI6-0000Z5-CB for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 14:42:06 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: individual.net tTFcQQSm4Gln5eWjaQdBewNfBFqQ7HyBO/zDYV8Po857Eaicg= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original Original-Xref: shelby.stanford.edu gnu.emacs.help:146964 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:42559 Archived-At: "Ralf Angeli" schrieb im Newsbeitrag news:461bcc86$0$6405$9b4e6d93@newsspool2.arcor-online.net... > > Your code works fine in CVS Emacs but it fails in Emacs 21. Using > (defun anfein () (interactive) (insert "«")) > instead of your fset call should do the trick. Your are right, thank you. Meanwhile I found the following to work also in Emacs 21: (fset 'anfein [?\C-q ?2 ?5 ?3 return]) Emacs does that when you define the macro interactively. Paul