From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Lisp files that load cl-lib in problematical ways Date: Mon, 30 Oct 2023 17:40:45 +0100 Message-ID: <87v8aogj1u.fsf@dataswamp.org> References: <83ttqnm4ti.fsf@gnu.org> <831qdlpoye.fsf@gnu.org> <83sf5xhnym.fsf@gnu.org> <871qdhk49w.fsf@dataswamp.org> <25914.49745.111873.734458@orion.rgrjr.com> <87y1fl9ful.fsf@gmail.com> <871qdci3fr.fsf@dataswamp.org> <87y1fkgjof.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28301"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:I2xgnZmCP+grvDa2v7tnJe1ii+4= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 30 17:54:16 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qxVWp-00074X-VF for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Oct 2023 17:54:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxVVc-00054g-Df; Mon, 30 Oct 2023 12:53:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxVJx-00027w-9x for emacs-devel@gnu.org; Mon, 30 Oct 2023 12:40:58 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxVJu-0004HJ-6W for emacs-devel@gnu.org; Mon, 30 Oct 2023 12:40:55 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qxVJs-000APQ-7w for emacs-devel@gnu.org; Mon, 30 Oct 2023 17:40:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 30 Oct 2023 12:52:46 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311997 Archived-At: >> As do I, but I can't use it in preloaded files. > > Yes, so it will be a little win then. > > But what will happen with the cl- versions, are we to keep > them? If not, maybe the people who wrote the library will > protest, and also, all the code that is currently cl- > prefixed will have to be changed. > > Maybe reimplement them _and_ keep the cl- ones in their > current place? Here is the top 100 list. A few hits don't make sense since the command is imperfect, but other than that the list should be a pretty good reflection of the situation. Good luck with this :) $ grep -E -h -o 'cl-[-a-z]*' **/*.el | sort | uniq -c | sort -r -b -n | head -n 100 1416 cl-defmethod 979 cl-loop 720 cl-incf 614 cl-lib 486 cl-assert 309 cl-letf 303 cl-seq 281 cl-defstruct 257 cl-defgeneric 227 cl-case 218 cl-list 209 cl-end 189 cl-call-next-method 172 cl-start 171 cl-pushnew 149 cl-defun 143 cl-decf 142 cl-p 139 cl-keys 135 cl-flet 132 cl-return 125 cl--loop-args 114 cl--generic- 106 cl-block 104 cl-macs 103 cl-destructuring-bind 99 cl-check-type 95 cl-some 89 cl- 89 cl-kwds 88 cl-typep 76 cl-prin 72 cl-getf 71 cl-extra 69 cl-x 69 cl-callf 67 cl-pred 67 cl--find-class 66 cl-remove-if-not 66 cl-defmacro 65 cl-labels 63 cl-second 62 cl-return-from 62 cl-mode 62 cl-count 61 cl-or-cast 60 cl-set-difference 53 cl-remove-if 53 cl-generic 51 cl-plusp 51 cl-first 51 cl-ecase 50 cl-cvs 49 cl-res 49 cl-position 48 cl-item 47 cl-third 47 cl-program 47 cl-mapcan 47 cl-every 46 cl-tree 45 cl-tempo-comma 45 cl-substitute 44 cl-current-ic 43 cl-subseq 42 cl-key 40 cl-mapcar 39 cl-tempo-right-paren 39 cl-tempo-left-paren 39 cl-rest 39 cl-function 39 cl-func 39 cl-dolist 38 cl-print-object 38 cl-f 37 cl-tempo-tags 37 cl--slot-descriptor-name 37 cl-macrolet 37 cl-do 36 cl-progv 36 cl-find-if 35 cl-embed-code 34 cl-new 34 cl-evenp 33 cl-gensym 33 cl-defsubst 33 cl-check-register 32 cl-print 32 cl-pos 32 cl-get-next-code 31 cl-adjoin 30 cl-remove-duplicates 30 cl--loop-body 30 cl-block-end-regexp 30 cl-block-begin-regexp 30 cl-basic-offset 29 cl-remove 29 cl-i 28 cl-union 28 cl-old-struct-compat-mode -- underground experts united https://dataswamp.org/~incal