From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#283: marked as done (scan-error for keyboard macro) Date: Wed, 21 May 2008 08:45:04 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1211384704-16514-0" X-Trace: ger.gmane.org 1211385145 5632 80.91.229.12 (21 May 2008 15:52:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 May 2008 15:52:25 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 21 17:52:57 2008 Return-path: Envelope-to: geb-bug-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 1JyqcK-0003BE-45 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 May 2008 17:52:40 +0200 Original-Received: from localhost ([127.0.0.1]:52439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyqbZ-0000iR-Qv for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 May 2008 11:51:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyqbU-0000hy-4S for bug-gnu-emacs@gnu.org; Wed, 21 May 2008 11:51:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyqbT-0000hZ-Hh for bug-gnu-emacs@gnu.org; Wed, 21 May 2008 11:51:47 -0400 Original-Received: from [199.232.76.173] (port=39800 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyqbT-0000hV-9d for bug-gnu-emacs@gnu.org; Wed, 21 May 2008 11:51:47 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52918) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JyqbS-00076S-L1 for bug-gnu-emacs@gnu.org; Wed, 21 May 2008 11:51:47 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4LFpgt8018806; Wed, 21 May 2008 08:51:42 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4LFj4T2016616; Wed, 21 May 2008 08:45:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 283 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18076 Archived-At: This is a multi-part message in MIME format... ------------=_1211384704-16514-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 21 May 2008 11:36:16 -0400 with message-id and subject line Re: bug#283: scan-error for keyboard macro has caused the Emacs bug report #283, regarding scan-error for keyboard macro to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 283: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D283 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1211384704-16514-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 May 2008 07:06:35 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4K76V4T020561 for ; Tue, 20 May 2008 00:06:33 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JyLvb-0008NH-6A for bug-gnu-emacs@gnu.org; Tue, 20 May 2008 03:06:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyLvZ-0008N5-M2 for bug-gnu-emacs@gnu.org; Tue, 20 May 2008 03:06:29 -0400 Received: from [199.232.76.173] (port=53815 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyLvZ-0008N2-BI for bug-gnu-emacs@gnu.org; Tue, 20 May 2008 03:06:29 -0400 Received: from mx20.gnu.org ([199.232.41.8]:43922) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JyLvY-0001Xw-Nz for bug-gnu-emacs@gnu.org; Tue, 20 May 2008 03:06:29 -0400 Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JyLvW-00010A-SE for bug-gnu-emacs@gnu.org; Tue, 20 May 2008 03:06:27 -0400 Received: from tfkp07.physik.uni-erlangen.de (tfkp07.physik.uni-erlangen.de [131.188.164.207]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id B964420CC7 for ; Tue, 20 May 2008 09:06:22 +0200 (CEST) Date: Tue, 20 May 2008 09:06:19 +0200 Message-Id: From: "Roland Winkler" To: bug-gnu-emacs@gnu.org Subject: scan-error for keyboard macro X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) The following piece of code was generated with insert-kbd-macro (fset 'foo [?\C-[ ?f ?\C-[ ? ?\C-[ ?b ?\C-[ ?w ?\C-x ?o ?\C-x ?\C-v left left ?\C-@ ?\C-r ?/ ?\C-m ?\C-w ?/ ?\C-y ?\C-[ ?y ?\C-m ?\C-x ?o]) If you put it into a file and load the file, the macro is available. If you put point at the end of the macro definition and execute C-x C-e (eval-last-sexp) this does not allow you to load the macro (though eval-last-sexp doesn't throw an error, in the end the macro foo is not available). If you put point inside the macro definition and type C-M-x (eval-defun) it throws the error (scan-error "Unbalanced parentheses" 1 145) In GNU Emacs 22.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-03-27 on tfkp07 configured using `configure '--with-x'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.iso885915 locale-coding-system: iso-8859-15 default-enable-multibyte-characters: nil ------------=_1211384704-16514-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, HELO_LH_HOME,MURPHY_DRUGS_REL8,RDNS_DYNAMIC autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 283-done) by emacsbugs.donarmstrong.com; 21 May 2008 15:36:25 +0000 Received: from ceviche.home (vpn-132-204-232-142.acd.umontreal.ca [132.204.232.142]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4LFaGSm015278 for <283-done@emacsbugs.donarmstrong.com>; Wed, 21 May 2008 08:36:18 -0700 Received: by ceviche.home (Postfix, from userid 20848) id 58255B422F; Wed, 21 May 2008 11:36:16 -0400 (EDT) From: Stefan Monnier To: 283-done@emacsbugs.donarmstrong.com Subject: Re: bug#283: scan-error for keyboard macro Message-ID: References: <18483.36809.54722.38260@tfkp07.physik.uni-erlangen.de> Date: Wed, 21 May 2008 11:36:16 -0400 In-Reply-To: <18483.36809.54722.38260@tfkp07.physik.uni-erlangen.de> (Roland Winkler's message of "Wed, 21 May 2008 04:58:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> The problem is a known one: the emacs-lisp-mode and its >> syntax-table does not properly recognize all the escaping going on >> in character constants. E.g. in ?\C-[, the mode thinks this opens >> a square bracket expression. If you add \ in front of the [ the >> problem will disappear. > Thanks a lot, if the backslash in front of the [ can solve this > problem, then this is even an adequate fix for an existing > collection of keyboard macros. Yes, that should fix it. > I loaded the file that contains my keyboard macros and I created it > again with the patched version of insert-kbd-macro. The only > difference between the old and new file was the \ in front of the [. > So on that level I can say that your patch has fixed my problem with > apparently no undesired side effects. Thanks, installed, Stefan ------------=_1211384704-16514-0--