unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Romanos Skiadas <rom.skiad@gmail.com>
To: 조성빈 <pcr910303@icloud.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: Re: Declaring cl.el obsolete
Date: Sat, 25 May 2019 21:12:43 +0100	[thread overview]
Message-ID: <67f9ad10-01eb-4412-6d2b-834c17fd3e50@gmail.com> (raw)
In-Reply-To: <6E933FEA-D46A-4E04-AC4B-0152BA1FF50A@icloud.com>

[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]


On 24/05/2019 02:22, 조성빈 wrote:
>
>> 2019. 5. 24. 오전 2:03, Romanos Skiadas <rom.skiad@gmail.com> 작성:
>>
>> On 23/05/2019 09:50, Lars Ingebrigtsen wrote:
>>> Lars Ingebrigtsen <larsi@gnus.org> 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:
>>>
>>> https://github.com/search?utf8=%E2%9C%93&q=%22%28require+%27cl%29%22+extension%3Ael&type=Code&ref=advsearch&l=&l=
>>>
>>> (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
>>
>> https://github.com/chetnashah/dotemacs/blob/f6b1d41d52000e70ec970499c98e424af3cd2e40/.emacs.d/elpa/slime-20160907.602/contrib/slime-listener-hooks.el
>>
>> from page 100:
>>
>> https://github.com/search?l=&p=100&q=%22%28require+%27cl%29%22+extension%3Ael&ref=advsearch&type=Code&utf8=%E2%9C%93
> 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
> At
> https://github.com/search?p=3&q=%22%28require+%27cl%29%22+extension%3Ael

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

https://help.github.com/en/articles/searching-code

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
>>
>>

[-- Attachment #2: Type: text/html, Size: 4247 bytes --]

  reply	other threads:[~2019-05-25 20:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23  3:26 Declaring cl.el obsolete Stefan Monnier
2019-05-23  4:47 ` Eli Zaretskii
2019-05-23 10:28   ` Noam Postavsky
2019-05-23 14:20     ` Eli Zaretskii
2019-05-24 14:28       ` Stefan Monnier
2019-05-24 15:03         ` Eli Zaretskii
2019-05-24 16:22           ` Stefan Monnier
2019-05-23  8:44 ` Lars Ingebrigtsen
2019-05-23  8:50   ` Lars Ingebrigtsen
2019-05-23 17:03     ` Romanos Skiadas
2019-05-24  1:22       ` 조성빈
2019-05-25 20:12         ` Romanos Skiadas [this message]
2019-05-23 12:15   ` Stefan Monnier
2019-05-23 15:08   ` Ken Olum
2019-05-23 15:57     ` Sam Steingold
2019-07-23 15:07 ` Stefan Monnier
2019-07-23 16:29   ` Drew Adams
2019-07-23 16:55     ` Stefan Monnier
2019-08-06  8:02   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=67f9ad10-01eb-4412-6d2b-834c17fd3e50@gmail.com \
    --to=rom.skiad@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=pcr910303@icloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).