[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: |
Fri, 05 Sep 2014 14:02:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux) |
Renato Pontefice <renato.pontefice@gmail.com> writes:
> Ok, this file (is an example) has not problem, but when I execute the
> code, it arrive at the end of file but do not show that is arrived at
> the endo of file
As I think I have said by email (I should stop using multiple inboxes, I
can never remember if I did send my answers), here's a snippet which
should do what you want :
(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))
i.e. I switched to a non-boolean ('move) NOERROR argument to
search-forward.
HTH,
--
Nicolas Richard
- Re: regexp on emacs how to..., (continued)
Re: regexp on emacs how to..., Nicolas Richard, 2014/09/01
Message not available
Message not available
- Message not available
- Message not available
- Message not available
- Re: regexp on emacs how to..., renato . pontefice, 2014/09/03
- Re: regexp on emacs how to..., renato . pontefice, 2014/09/03
- Re: regexp on emacs how to..., Nicolas Richard, 2014/09/03
- Message not available
- Re: regexp on emacs how to..., Renato Pontefice, 2014/09/04
- Re: regexp on emacs how to...,
Nicolas Richard <=
- Message not available
- Re: regexp on emacs how to..., Renato Pontefice, 2014/09/10
- Re: regexp on emacs how to..., Nicolas Richard, 2014/09/10
- Message not available
- Re: regexp on emacs how to..., Renato Pontefice, 2014/09/10
- Re: regexp on emacs how to..., Nicolas Richard, 2014/09/10
- Message not available
- Re: regexp on emacs how to..., Renato Pontefice, 2014/09/11