[Top][All Lists]

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

Re: Declaring cl.el obsolete

From: Romanos Skiadas
Subject: Re: Declaring cl.el obsolete
Date: Sat, 25 May 2019 21:12:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 24/05/2019 02:22, 조성빈 wrote:

2019. 5. 24. 오전 2:03, Romanos Skiadas <address@hidden> 작성:

On 23/05/2019 09:50, Lars Ingebrigtsen wrote:
Lars Ingebrigtsen <address@hidden> writes:

I think there's a probably a gazillion out-of-tree packages out there
with (require 'cl),
OK, "722,834 code results" is a bit smaller than "gazillion", but:


(You apparently have to be logged in to do the search.)

This is slightly misleading, it seems like github also takes into account (require 'cl-lib), e.g. it matched


from page 100:

I also see GitHub matching (require ‘cl-lib) from page 3:

Matched https://github.com/martialboniou/Dots/blob/e116fb08e406243f847af63760877d7c6d14a91c/emacs/emacs.d.symlink/lisp/run-tests.el

Yes, according to the github search documentation, ' and ) are not considered when searching:

You can't use the following wildcard characters as part of your search query: . , : ; / \ ` ' " = * ! ? # $ & + ^ | ~ < > ( ) { } [ ]. The search will simply ignore these symbols


I assume the search sees `(require 'cl)` simply as `require cl` and that can match either cl or cl-lib or other libraries that begin with cl.

- Romanos

And it also takes into account comments and ifs for older Emacsen, which presumably are ok.

- Romanos


reply via email to

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