From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#12722: Macro aborts even though regexp instance exists Date: Wed, 24 Oct 2012 18:00:44 +0200 Message-ID: References: <78ea1d8e-420f-411c-a793-fd69eb049489@3g2000yqn.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351094956 24251 80.91.229.3 (24 Oct 2012 16:09:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2012 16:09:16 +0000 (UTC) Cc: 12722@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 24 18:09:24 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TR3WC-00072D-I0 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Oct 2012 18:09:20 +0200 Original-Received: from localhost ([::1]:48962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR3W4-0006Bv-RZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Oct 2012 12:09:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR3W1-0006Bf-1G for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2012 12:09:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TR3Vw-0003I6-8M for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2012 12:09:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR3Vw-0003HJ-52 for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2012 12:09:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TR3Xq-0002Ax-5Y for bug-gnu-emacs@gnu.org; Wed, 24 Oct 2012 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Oct 2012 16:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12722 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13510950588352 (code B ref -1); Wed, 24 Oct 2012 16:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Oct 2012 16:10:58 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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= Original-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) Original-Received: by igel.home (Postfix, from userid 501) id E7F79CA2A1; Wed, 24 Oct 2012 18:00:44 +0200 (CEST) X-Yow: .. the MYSTERIANS are in here with my CORDUROY SOAP DISH!! In-Reply-To: (Stefan Monnier's message of "Wed, 24 Oct 2012 11:23:56 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65980 Archived-At: 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."