[Top][All Lists]

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

Re: regexp on emacs how to...

From: Nicolas Richard
Subject: Re: regexp on emacs how to...
Date: Wed, 10 Sep 2014 12:01:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux)

Renato Pontefice <address@hidden> writes:
>>(while (and (not (eobp))
>>             (search-forward "[-" nil 'move)))
>>   (skip-chars-forward "A-Z")
>>   (unless (looking-at "-]")
>>      (message "Problem found, please fix and hit C-M-c to continue")
>>      (recursive-edit))
> doesn't works :-(
> it seems like it does not start search.
> what is changed?

Did you try from the beginning of buffer ? (it only searches forward)
IIRC the only thing I changed was use a 'move argument in search-forward
(anything besides t or nil, in fact).

Nicolas Richard

reply via email to

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