From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.devel Subject: Re: Lisp files that load cl-lib in problematical ways Date: Sun, 22 Oct 2023 03:52:29 +0300 Message-ID: <22718.8649865397$1697936029@news.gmane.org> References: <87il8betof.fsf@dataswamp.org> <83fs3dgxv8.fsf@gnu.org> <835y38qvlg.fsf@gnu.org> <87bkcx6eci.fsf@dataswamp.org> <83ttqnm4ti.fsf@gnu.org> <87r0lqoo5x.fsf@dataswamp.org> <83msweu76j.fsf@gnu.org> <87o7gungi1.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="23941"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 22 02:53:41 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 1quMir-00062W-7n for ged-emacs-devel@m.gmane-mx.org; Sun, 22 Oct 2023 02:53:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quMht-0007Br-Ry; Sat, 21 Oct 2023 20:52:41 -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 1quMhs-0007Bg-1w for emacs-devel@gnu.org; Sat, 21 Oct 2023 20:52:40 -0400 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quMhm-0004SS-2J for emacs-devel@gnu.org; Sat, 21 Oct 2023 20:52:39 -0400 Original-Received: from odin (dsl-trebng12-50dc77-87.dhcp.inet.fi [80.220.119.87]) by thaodan.de (Postfix) with ESMTPSA id 645BBD08C7F for ; Sun, 22 Oct 2023 03:52:30 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1697935950; bh=qpNbgLtU6K7wB7fRH14ZvSqMflERFnv5OOQHG8tlkgk=; h=From:To:Subject:In-Reply-To:References:Date; b=g6QOd9AAkvsHK/rkCjQN/kHSvRVcg4hkrntewBxIyXcT4AtHvquLucqWVOWQumy/n 2PX8RVrsS2QVUQcM7sNZeTciBElf0MlQK9zjO2UuSPHVNx1Ek+NEYoq3a/IfxR6puK 2ASoKXC8JEz9V650J3FAeTjPmHxaqjtt/xyPRtx0FaWoXf9+v0MR4em7oToDIIp9Hz dZQF1ab+mDzYt7HdJxCtJswQyAtYV1UXCuGCx3Z9uQWROohSb9o+oavdmvy5AGMydO JFrmkrCtHzkfOqLoNjtwFZxX2JRprbNU6E/ccsnN/eqND2TbQIok6B1eVwza7VJaI+ IUnFGQHP+HO7i4FQlSveIAVsBamACpJ+Y7GF/4Pv7BGN8pxtTe3yVSu/BSrtk9Mefb zyUWI0S0jzNm72gd5h+bbVZ3kzO0JYudUno5jVZETd8zsswbyfThhVCjYNbck3MaaJ aG96w8ndDtwxG8DGCInvPfInynzAxD8QvA+g0Vt6SXDNkZhJucRUCnJw1/DyfHDYu+ YK4bm3pwoPZafBKN2mFf7972/yWWMjmde86AMbJOWhhphbzC4eGk5PjoEekSlRYIz5 bP15jSL9jwNIOSnFaMREeTUxpxRRltUKkKfQLTgWV/tvY4DTPky9PcQJjEm9YV4NNf mCiyPL6VnzVBMdVBQ4MCawMo= In-Reply-To: <87o7gungi1.fsf@dataswamp.org> (Emanuel Berg's message of "Fri, 20 Oct 2023 05:02:14 +0200") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, INVALID_MSGID=0.568, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:311664 Archived-At: Emanuel Berg writes: >> There are several good reasons: bloat, unnecessary namespace >> pollution, etc. > > People use it because it is useful: there is `cl-loop', > `cl-incf', `cl-decf', `cl-pushnew' and many others examples of > that. Those are not complicated to use, they are all prefixed > with cl- (as we see) and have good docstrings. > >> But all this is not really relevant for the code that you >> (or any one of us) write for their own personal use, it is >> only relevant to code contributed to Emacs. > > But we don't know what people who are starting to write Elisp > today for their personal use go on to contribute to Emacs > packages that make it to the ELPAs, or core Emacs for that > matter. That whole distinction does not make any sense to me. > If it is harmful, which it isn't, no one should use it and it > doesn't matter in what context, be it personal use, ELPA > packages, core Emacs, compile time, run time - what does > it matter? >From my point of view in some way it does sound like that some are against it for ideological reasons rather than technical. E.g. those that makes code unreadable or lets rewrite something to drop the dependency to not load it. It does sound like a generational conflict, newer developers write code sometimes different than older ones. Why not use cl-lib when it makes it easier to achieve what I want easier and easier to understand than "vanilla" elisp. But as other said, this wasn't the point of the thread even when some messages did sound very ideological. > > On the other hand if it _is_ useful - and the number of people > using it and the number of files where it is used, and the > number of occurrences indicate that it is - there is no reason > to disencourage people from using it, anywhere. I think these things are also often a long the lines we don't want you to use thing XX for a reason, so discourage them from even mentioning it. Ideological vs practicism. Similar as when people mention other repositories for package.el that are not from Gnu..