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#955: marked as done (edmacro stores illegal macro) Date: Wed, 10 Sep 2008 15:00:04 -0700 Message-ID: References: <874p4nmzs1.fsf@cyd.mit.edu> <87wshk2ysb.wl%matsuyama@ariel-networks.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1221084004-3440-0" X-Trace: ger.gmane.org 1221084583 10036 80.91.229.12 (10 Sep 2008 22:09:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2008 22:09:43 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 11 00:10:38 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 1KdXre-0003sq-AI for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Sep 2008 00:08:42 +0200 Original-Received: from localhost ([127.0.0.1]:44780 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdXqe-0000JY-7v for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Sep 2008 18:07:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdXqa-0000Hb-Qn for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 18:07:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdXqa-0000HC-9c for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 18:07:36 -0400 Original-Received: from [199.232.76.173] (port=55134 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdXqZ-0000H9-P3 for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 18:07:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34039) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdXqZ-0003hm-Gq for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 18:07:35 -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 m8AM7XTE007345; Wed, 10 Sep 2008 15:07:33 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8AM04AI003526; Wed, 10 Sep 2008 15:00:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 955 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:20451 Archived-At: This is a multi-part message in MIME format... ------------=_1221084004-3440-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 10 Sep 2008 17:55:42 -0400 with message-id <874p4nmzs1.fsf@cyd.mit.edu> and subject line Re: edmacro stores illegal macro has caused the Emacs bug report #955, regarding edmacro stores illegal 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 955: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D955 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1221084004-3440-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, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Sep 2008 08:20:23 +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 m8A8KGJG000760 for ; Wed, 10 Sep 2008 01:20:18 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdKvw-00062U-Ad for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 04:20:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdKvu-00061i-9D for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 04:20:15 -0400 Received: from [199.232.76.173] (port=54654 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdKvu-00061f-6H for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 04:20:14 -0400 Received: from ckp0.ariel-networks.com ([124.39.57.14]:60509 helo=matsuyama.localdomain) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KdKvt-0006Ze-T7 for bug-gnu-emacs@gnu.org; Wed, 10 Sep 2008 04:20:14 -0400 Received: from matsuyama.ariel-networks.com (localhost [127.0.0.1]) by matsuyama.localdomain (Postfix) with ESMTP id BB304E07EBB for ; Wed, 10 Sep 2008 17:25:08 +0900 (JST) Date: Wed, 10 Sep 2008 17:25:08 +0900 Message-ID: <87wshk2ysb.wl%matsuyama@ariel-networks.com> From: matsuyama@ariel-networks.com To: bug-gnu-emacs@gnu.org Subject: edmacro stores illegal macro User-Agent: Wanderlust/2.14.1 (Bad Medicine-pre) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-2022-JP-2?B?U2hpahskKEQrVxsoQg==?=) APEL/10.7 Emacs/23.0.60 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Hi, all. When I save the macro by typing `C-c C-c' in *Edit Macro*, edmacro doesn't store the macro correctly. Reproduce: M-: (setq last-kbd-macro [?\M-x ?e ?v ?a ?l ?- ?e ?x ?p ?r ?e ?s ?s ?i ?o ?n ?\C-m]) C-x C-k e RET C-c C-c M-x insert-kbd-macro => (setq last-kbd-macro []) ;; this macro is incorrect I've fixed this problem like that: --- edmacro.el.orig 2008-09-10 17:01:42.000000000 +0900 +++ edmacro.el 2008-09-10 17:04:05.000000000 +0900 @@ -697,7 +697,7 @@ (times 1) key) ;; Try to catch events of the form "". - (if (string-match "^<[^ >\t\n\f][^>\t\n\f]*>" word) + (if (string-match "^<[^ >\t\n\f][^>\t\n\f]*>?>" word) (setq word (match-string 0 word) pos (+ word-beg (match-end 0))) (setq word (substring string word-beg word-end) After applying this patch, `M-x insert-kbd-macro' works fine. M-x insert-kbd-macro => (setq last-kbd-macro [?\M-x ?e ?v ?a ?l ?- ?e ?x ?p ?r ?e ?s ?s ?i ?o ?n ?\C-m]) ;; now correct Thanks. MATSUYAMA ------------=_1221084004-3440-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.8 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 955-done) by emacsbugs.donarmstrong.com; 10 Sep 2008 21:52:41 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8ALqb2v001251 for <955-done@emacsbugs.donarmstrong.com>; Wed, 10 Sep 2008 14:52:39 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 1B75557E32F; Wed, 10 Sep 2008 17:55:42 -0400 (EDT) From: Chong Yidong To: matsuyama@ariel-networks.com Cc: 955-done@emacsbugs.donarmstrong.com Subject: Re: edmacro stores illegal macro Date: Wed, 10 Sep 2008 17:55:42 -0400 Message-ID: <874p4nmzs1.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > When I save the macro by typing `C-c C-c' in *Edit Macro*, edmacro > doesn't store the macro correctly. Thanks for reporting this problem. I've checked in a similar fix to what you proposed. ------------=_1221084004-3440-0--