From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How to redefine Parantheses? Date: Mon, 09 Apr 2007 21:27:33 +0300 Message-ID: References: <57rjbgF2eksvjU1@mid.individual.net> <57v926F2f0ldoU1@mid.individual.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 1176154108 14405 80.91.229.12 (9 Apr 2007 21:28:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Apr 2007 21:28:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 09 23:27:41 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 1Haybf-0004nd-Hi for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Apr 2007 20:28:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HayfV-0006gO-ML for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Apr 2007 14:32:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HayeM-0005gA-21 for help-gnu-emacs@gnu.org; Mon, 09 Apr 2007 14:31:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HayeK-0005dd-7G for help-gnu-emacs@gnu.org; Mon, 09 Apr 2007 14:31:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HayeJ-0005dN-KD for help-gnu-emacs@gnu.org; Mon, 09 Apr 2007 14:31:31 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HayaS-0002Zj-2h for help-gnu-emacs@gnu.org; Mon, 09 Apr 2007 14:27:32 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-255-228.inter.net.il [83.130.255.228]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id HOF54214 (AUTH halo1); Mon, 9 Apr 2007 21:27:32 +0300 (IDT) In-reply-to: <57v926F2f0ldoU1@mid.individual.net> (paul.batt@gmx.net) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:42537 Archived-At: > From: "Paul Batt" > Date: Mon, 9 Apr 2007 18:48:08 +0200 > > However, there is still another problem with these. I also wanted to set up > a keyboard macro for them. So I put > > (fset 'anfein "«") > (global-set-key "\C-z" 'anfein) > > in my .emacs. This will work for all characters or strings, but does not for > « and ». I get an error message, "After 0 kbd macro iterations: Keyboard > macro terminated by a command ringing the bell" instead. 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.