From unknown Sun Jun 15 08:36:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12722 <12722@debbugs.gnu.org> To: bug#12722 <12722@debbugs.gnu.org> Subject: Status: Macro aborts even though regexp instance exists Reply-To: bug#12722 <12722@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:36:29 +0000 retitle 12722 Macro aborts even though regexp instance exists reassign 12722 emacs submitter 12722 Andreas Schwab severity 12722 normal tag 12722 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 24 12:10:58 2012 Received: (at submit) by debbugs.gnu.org; 24 Oct 2012 16:10:58 +0000 Received: from localhost ([127.0.0.1]:59763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TR3Xm-0002Ae-9D for submit@debbugs.gnu.org; Wed, 24 Oct 2012 12:10:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49073) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TR3Xj-0002AP-CA for submit@debbugs.gnu.org; Wed, 24 Oct 2012 12:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TR3Vf-00036K-QK for submit@debbugs.gnu.org; Wed, 24 Oct 2012 12:08:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR3Vf-00036G-NG for submit@debbugs.gnu.org; Wed, 24 Oct 2012 12:08:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR3VZ-00061D-Lb for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2012 12:08:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TR3VY-00032i-GF for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2012 12:08:41 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:60271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR3VY-000329-9i for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2012 12:08:40 -0400 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3Xmx5T4z6Wz3hhrf; Wed, 24 Oct 2012 18:00:45 +0200 (CEST) X-Auth-Info: TAWWviiNst+BA/Ce5APvc116tG4tIkWsZwBzhAh0F/k= Received: from igel.home (ppp-88-217-103-72.dynamic.mnet-online.de [88.217.103.72]) by mail.mnet-online.de (Postfix) with ESMTPA id 3Xmx5T2CZWzbblb; Wed, 24 Oct 2012 18:00:45 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id E7F79CA2A1; Wed, 24 Oct 2012 18:00:44 +0200 (CEST) From: Andreas Schwab To: Stefan Monnier Subject: Re: Macro aborts even though regexp instance exists References: <78ea1d8e-420f-411c-a793-fd69eb049489@3g2000yqn.googlegroups.com> X-Yow: .. the MYSTERIANS are in here with my CORDUROY SOAP DISH!! Date: Wed, 24 Oct 2012 18:00:44 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 24 Oct 2012 11:23:56 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) Stefan Monnier writes: > You can work around the problem in this particular case as follows: > first do C-s M-r ONE\|TWO RET, and then record your macro using C-u C-s > C-s to recall the last regexp used, Another workaround is to put \( \) around it so that the regexp isn't complete until the closing paren. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 24 12:19:19 2012 Received: (at 12722) by debbugs.gnu.org; 24 Oct 2012 16:19:19 +0000 Received: from localhost ([127.0.0.1]:59789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TR3fq-0003FJ-Sl for submit@debbugs.gnu.org; Wed, 24 Oct 2012 12:19:19 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47164 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TR3fo-0003FC-M3 for 12722@debbugs.gnu.org; Wed, 24 Oct 2012 12:19:17 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TR3ds-0006eO-Gd; Wed, 24 Oct 2012 12:17:16 -0400 From: Glenn Morris To: 12722@debbugs.gnu.org Subject: Re: bug#12722: Macro aborts even though regexp instance exists References: <78ea1d8e-420f-411c-a793-fd69eb049489@3g2000yqn.googlegroups.com> X-Spook: assassination NWO CipherTAC-2000 Uzbekistan Saudi Arabia X-Ran: teY0$g:sgM6Xx1yG{V0?^,nl*CM[!ksjAG*bm`m3g8Q[_M[D[NQM!z[fcXpg[%O55ot&Jc X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 24 Oct 2012 12:17:16 -0400 In-Reply-To: (Andreas Schwab's message of "Wed, 24 Oct 2012 18:00:44 +0200") Message-ID: <4d625zvo8j.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 12722 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Here we see yet another instance why the newsgroup interface should not be used for bug reports. None of the context is visible in http://debbugs.gnu.org/12722 I'm not tidying it up. Also, things should not be triple posted to gnu.emacs.help, comp.emacs, and gnu.emacs.bug. From the help-gnu-emacs list description: "Please don't send bug reports here, or to the comp.emacs newsgroup;" From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 24 12:22:30 2012 Received: (at control) by debbugs.gnu.org; 24 Oct 2012 16:22:30 +0000 Received: from localhost ([127.0.0.1]:59794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TR3iw-0003Jm-Ap for submit@debbugs.gnu.org; Wed, 24 Oct 2012 12:22:30 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47229 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TR3iu-0003Je-6E for control@debbugs.gnu.org; Wed, 24 Oct 2012 12:22:28 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TR3gz-00073h-HJ for control@debbugs.gnu.org; Wed, 24 Oct 2012 12:20:29 -0400 Date: Wed, 24 Oct 2012 12:20:29 -0400 Message-Id: Subject: control message for bug 12722 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) tag 12722 notabug close 12722 From unknown Sun Jun 15 08:36:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 22 Nov 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator