From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/15914 Path: news.gmane.org!not-for-mail From: Swami Tota Ram Shankar Newsgroups: gmane.emacs.gnus.user Subject: Macro aborts even though regexp instance exists - Serious Bug Date: Mon, 22 Oct 2012 13:40:42 -0700 (PDT) Message-ID: <08df09b8-18cc-4d23-9f2e-b1187f4cfdec__13602.2112369121$1350938719$gmane$org@g8g2000yqp.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1350938710 1836 80.91.229.3 (22 Oct 2012 20:45:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2012 20:45:10 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Oct 22 22:45:16 2012 Return-path: Envelope-to: gegu-info-gnus-english@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 1TQOs5-0007a1-Nw for gegu-info-gnus-english@m.gmane.org; Mon, 22 Oct 2012 22:45:13 +0200 Original-Received: from localhost ([::1]:41662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQOry-0004YN-5u for gegu-info-gnus-english@m.gmane.org; Mon, 22 Oct 2012 16:45:06 -0400 Original-Received: by 10.224.193.72 with SMTP id dt8mr6536721qab.7.1350938442660; Mon, 22 Oct 2012 13:40:42 -0700 (PDT) Original-Received: by 10.236.110.67 with SMTP id t43mr1020347yhg.6.1350938442607; Mon, 22 Oct 2012 13:40:42 -0700 (PDT) Original-Path: usenet.stanford.edu!x14no4580833qar.0!news-out.google.com!r17ni57592152qap.0!nntp.google.com!x14no4768039qar.0!postnews.google.com!g8g2000yqp.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help, comp.emacs, gnu.emacs.bug, gnu.emacs.gnus, comp.unix.shell Complaints-To: groups-abuse@google.com Injection-Info: g8g2000yqp.googlegroups.com; posting-host=99.42.76.81; posting-account=dlefMQoAAABzowG6c0cULB8igkwPchCd Original-NNTP-Posting-Host: 99.42.76.81 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0,gzip(gfe) Injection-Date: Mon, 22 Oct 2012 20:40:42 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:195039 comp.emacs:102644 gnu.emacs.bug:92252 gnu.emacs.gnus:87011 comp.unix.shell:256047 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:15914 Archived-At: Hi emacs users, I write a simple macro which works, however, it fails in a particular case. C-s M-r to get into isearch-forward-regexp and give a regexp like ONE\|TWO It works for every TWO and ONE as long as there is a ONE ahead of TWO. In the last instance, no ONE exists after TWO and it fails. \| <=> OR or disjunction. Any solutions? This is such a fundamental issue that I think its a bug. When the C-s M-r is used outside the macro definition, the cursor gladly returns to the original position when OR is entered and proceeds forward from there, but perhaps, the macro aborts. I guess, this can lead to a lot of confusion and time wastage, if the user is unaware of this and most likely to neglect it because its contrary to normal usage. I include more newsgroups because of the seriousness of this bug.