help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: [External] : Re: Package cl is deprecated


From: Drew Adams
Subject: RE: [External] : Re: Package cl is deprecated
Date: Sat, 31 Jul 2021 21:09:58 +0000

> > `C-s (require . cl)'
> 
> I tried again and it worked, as shown in the attachment.
>

> > Yes. `C-M-s' for this in *Help* for `C-h v load-history'.
> >
> > (require[
> >  ]+[.][
> >  ]+cl)
> 
> Thank you for showing me this pattern. TBF, it seems to me that the
> syntax of line spanning match pattern is very strange. It would be
> nice if there were some explanation for how to build this pattern.

See the Emacs manual, node `Lax Search'.  Depending on your
value of option `search-whitespace-regexp' you can just
type a space char to match one or more whitespace chars,
including newline chars.  I you set it to "[    

]+" (which corresponds to "[ \t\r\n]+" then you can just
search with `C-s' for `(require . cl)'.  That will cross
newlines.

https://www.gnu.org/software/emacs/manual/html_node/emacs/Lax-Search.html

reply via email to

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