From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.help Subject: Re: How to redefine Parantheses? Date: Tue, 10 Apr 2007 19:42:31 +0200 Organization: nil Message-ID: <461bcc86$0$6405$9b4e6d93@newsspool2.arcor-online.net> References: <57rjbgF2eksvjU1@mid.individual.net> <57v926F2f0ldoU1@mid.individual.net> <580pipF2e3fk8U1@mid.individual.net> Reply-To: angeli@caeruleus.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1176256443 16754 80.91.229.12 (11 Apr 2007 01:54:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Apr 2007 01:54:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 11 03:53:15 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 1HbLD9-0001VI-R2 for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 20:37:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbLH7-0007C5-4t for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Apr 2007 14:41:05 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!news.belwue.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.96 (gnu/linux) Cancel-Lock: sha1:IjO8GQjG/8NdLvd6LilC9tBCbn4= Original-Lines: 21 Original-NNTP-Posting-Date: 10 Apr 2007 19:42:30 CEST Original-NNTP-Posting-Host: 79bf8edc.newsspool2.arcor-online.net Original-X-Trace: DXC=_>>5OGQ3lmVU6b:FjPaGjQA9EHlD; 3YcR4Fo<]lROoRQ8kFM@QfR77^m?a70\ Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:146962 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:42569 Archived-At: * Paul Batt (2007-04-10) writes: > "Eli Zaretskii" schrieb im Newsbeitrag > news:mailman.1882.1176143496.7795.help-gnu-emacs@gnu.org... >> >> Works for me, if I evaluate these two lines in the *scratch* buffer. >> If the same works for you, I suspect your .emacs's encoding might have >> something to do with the problem. > > those two lines evaluate well in the scratch buffer. But C-z does not work. > Instead of inserting the «-character, I'm told "After 0 kbd macro > iterations: Keyboard macro terminated by a command ringing the bell". I > don't understand what that means. However, the macro works if I replace « > with anything else. 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. -- Ralf