[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regexp on emacs how to...
From: |
Renato Pontefice |
Subject: |
Re: regexp on emacs how to... |
Date: |
Wed, 10 Sep 2014 01:55:25 -0700 (PDT) |
User-agent: |
G2/1.0 |
Il giorno venerdì 5 settembre 2014 14:02:33 UTC+2, Nicolas Richard ha scritto:
> 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
Hi Nicolas,
sorry for the delay, these days I have been involved.
this code:
>(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?
TIA
Renato
- Re: regexp on emacs how to..., (continued)
- 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, 2014/09/05
- Message not available
- Re: regexp on emacs how to...,
Renato Pontefice <=
- 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