[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 03:20:43 -0700 (PDT) |
User-agent: |
G2/1.0 |
Il giorno mercoledì 10 settembre 2014 12:01:07 UTC+2, Nicolas Richard ha
scritto:
> Renato Pontefice <renato.pontefice@gmail.com> 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
Yes. From the beginning! it give me:
trailing garbage following expression
in that line: " (search-forward "[-" nil 'move)))"
do the ' character is correct?
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, 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 <=
- 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