[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Macro aborts even though regexp instance exists

From: Swami Tota Ram Shankar
Subject: Macro aborts even though regexp instance exists
Date: Mon, 22 Oct 2012 13:39:00 -0700 (PDT)
User-agent: G2/1.0

Hi emacs users,

I write a simple macro which works, however, it fails in a particular


to get into isearch-forward-regexp

and give a regexp like


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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]