From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Romanos Skiadas Newsgroups: gmane.emacs.devel Subject: Re: Declaring cl.el obsolete Date: Sat, 25 May 2019 21:12:43 +0100 Message-ID: <67f9ad10-01eb-4412-6d2b-834c17fd3e50@gmail.com> References: <1d285be5-7018-64dc-7fd9-3709949727c7@gmail.com> <6E933FEA-D46A-4E04-AC4B-0152BA1FF50A@icloud.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------8EF9F572464B82D8F17475B7" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="123507"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Cc: Lars Ingebrigtsen , Stefan Monnier , emacs-devel@gnu.org To: =?UTF-8?B?7KGw7ISx67mI?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 25 22:13:36 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hUd2t-000W2P-Vp for ged-emacs-devel@m.gmane.org; Sat, 25 May 2019 22:13:36 +0200 Original-Received: from localhost ([127.0.0.1]:45911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUd2s-0005Jl-Sl for ged-emacs-devel@m.gmane.org; Sat, 25 May 2019 16:13:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUd2F-0005JW-RD for emacs-devel@gnu.org; Sat, 25 May 2019 16:12:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUd2D-0007JJ-U8 for emacs-devel@gnu.org; Sat, 25 May 2019 16:12:55 -0400 Original-Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:46159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUd2A-0007Ew-Es for emacs-devel@gnu.org; Sat, 25 May 2019 16:12:51 -0400 Original-Received: by mail-ed1-x529.google.com with SMTP id f37so19787974edb.13 for ; Sat, 25 May 2019 13:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=w5b2NqX85EHckFEGcH7ecRrk4YKubto4XXmz28NRq0s=; b=Zd+Z5dkMpjaDoNF0kPttRTNgKiE+u6TF3w3I0ZPMpM9AQy8OZ/cI7PdiHtNUG2D4zs wnCEMpePWVqEg6eVBdn6O097W6jiWXAnYKjy7ZsnuRohNA0DokIhmyW5Eawzc0qTm1Jv pf4zAi51xcYdxaVsfBt3esRr+XAafoE2NWniZJzRwpjtISlXgc+usBCy+Wtvf89lZxul XslAwdOXoQhCQbiW7xRIpKRmAQEv934XXFEQXBw01HAxZMGkstpPtnytm+F1pRL5+hXS IRYK5iETaEUPd9nmpoMQVi5va17Ncoyjw8+EFJK21Ubw2q82yDpdklYKdi759CDCNLUe QJ8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=w5b2NqX85EHckFEGcH7ecRrk4YKubto4XXmz28NRq0s=; b=jzCDVbEWgj0Ga77Ojd2JA9btcjoIomQjHWOkEJfawMa7kVvbAftOYP1dy0XgtH6Rtu Q+WweIRzHRDvagPg56TNoWAzJJBcN3I3wXpM+0kmumS9nroYKt3z7EGoBTdWElcPDWjW 4RbkR2Oqh1VSjqe0afIdmCPEID1iqCgbiUyg5wAr2zFxOXk2Q63VMsqwkJo2m7iy9FLF gJIYM4x2K+nFjm0TjI+IxN7BU9yiwDbUaH4uX787FvDxDqWC2zDr7d85vcS0GitnjD4G 7ATlx60kkhI+YyEJFjqf9wZz/UmixC3zxUTjQSOZydMcnzN140B9AI96JeN35OUTNkXl uDfg== X-Gm-Message-State: APjAAAVNycOMCS5N2OA0vIYD0mwI0YpuyOmDb1LXrQnrsXEBK4aaEztP 7D0Bbbeu/1+rofsNTYThLUr8KYP1jxI= X-Google-Smtp-Source: APXvYqwrwi2Sr0QNarjv5LJ8UmtvMYf2nfMDxPvAY13ppjYzzs1lfJRx7B95yfczxxxbmCoTgw2dPA== X-Received: by 2002:a17:906:5c12:: with SMTP id e18mr22444291ejq.157.1558815166165; Sat, 25 May 2019 13:12:46 -0700 (PDT) Original-Received: from [192.168.1.12] ([109.78.21.99]) by smtp.gmail.com with ESMTPSA id c38sm1772510edc.22.2019.05.25.13.12.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 May 2019 13:12:44 -0700 (PDT) In-Reply-To: <6E933FEA-D46A-4E04-AC4B-0152BA1FF50A@icloud.com> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::529 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236990 Archived-At: This is a multi-part message in MIME format. --------------8EF9F572464B82D8F17475B7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 24/05/2019 02:22, 조성빈 wrote: > >> 2019. 5. 24. 오전 2:03, Romanos Skiadas 작성: >> >> On 23/05/2019 09:50, Lars Ingebrigtsen wrote: >>> Lars Ingebrigtsen 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 >> >> --------------8EF9F572464B82D8F17475B7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit


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



    
--------------8EF9F572464B82D8F17475B7--