* Re: [elpa] externals/ebdb 9cc960409f 2/4: Remove 'affix slot from record names
[not found] ` <20230913223435.15422C04DB6@vcs2.savannah.gnu.org>
@ 2023-09-13 22:39 ` Stefan Monnier
2023-09-14 3:22 ` Eric Abrahamsen
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2023-09-13 22:39 UTC (permalink / raw)
To: Eric Abrahamsen; +Cc: emacs-devel
> -(require 'cl-lib)
> +(require 'cl-macs)
Please don't. The division of work between these different libraries
should be arbitrary and subject to change, with `cl-lib` the only
official entry-point.
Was this change required for a technical reason (i.e. a problem we
should fix on `cl-lib`s side)?
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [elpa] externals/ebdb 9cc960409f 2/4: Remove 'affix slot from record names
2023-09-13 22:39 ` [elpa] externals/ebdb 9cc960409f 2/4: Remove 'affix slot from record names Stefan Monnier
@ 2023-09-14 3:22 ` Eric Abrahamsen
2023-09-14 4:39 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Eric Abrahamsen @ 2023-09-14 3:22 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> -(require 'cl-lib)
>> +(require 'cl-macs)
>
> Please don't. The division of work between these different libraries
> should be arbitrary and subject to change, with `cl-lib` the only
> official entry-point.
>
> Was this change required for a technical reason (i.e. a problem we
> should fix on `cl-lib`s side)?
It wasn't anything very complicated, I wanted to remove a plist pair,
cl-remf looked like it would do it, and cl-remf lives in cl-macs. Are we
supposed to be avoiding cl-macs? Obviously there are other ways to
remove a pair from a plist, too...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [elpa] externals/ebdb 9cc960409f 2/4: Remove 'affix slot from record names
2023-09-14 3:22 ` Eric Abrahamsen
@ 2023-09-14 4:39 ` Stefan Monnier
2023-09-14 15:28 ` Eric Abrahamsen
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2023-09-14 4:39 UTC (permalink / raw)
To: Eric Abrahamsen; +Cc: emacs-devel
>>> -(require 'cl-lib)
>>> +(require 'cl-macs)
>>
>> Please don't. The division of work between these different libraries
>> should be arbitrary and subject to change, with `cl-lib` the only
>> official entry-point.
>>
>> Was this change required for a technical reason (i.e. a problem we
>> should fix on `cl-lib`s side)?
>
> It wasn't anything very complicated, I wanted to remove a plist pair,
> cl-remf looked like it would do it, and cl-remf lives in cl-macs.
It's an internal detail of the CL library: while it currently lives in
`cl-macs`, you get access to it via (require 'cl-lib).
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [elpa] externals/ebdb 9cc960409f 2/4: Remove 'affix slot from record names
2023-09-14 4:39 ` Stefan Monnier
@ 2023-09-14 15:28 ` Eric Abrahamsen
0 siblings, 0 replies; 4+ messages in thread
From: Eric Abrahamsen @ 2023-09-14 15:28 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>>> -(require 'cl-lib)
>>>> +(require 'cl-macs)
>>>
>>> Please don't. The division of work between these different libraries
>>> should be arbitrary and subject to change, with `cl-lib` the only
>>> official entry-point.
>>>
>>> Was this change required for a technical reason (i.e. a problem we
>>> should fix on `cl-lib`s side)?
>>
>> It wasn't anything very complicated, I wanted to remove a plist pair,
>> cl-remf looked like it would do it, and cl-remf lives in cl-macs.
>
> It's an internal detail of the CL library: while it currently lives in
> `cl-macs`, you get access to it via (require 'cl-lib).
Got it, will revert. Thanks for the heads up.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-14 15:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <169464447319.12924.16340349047207492071@vcs2.savannah.gnu.org>
[not found] ` <20230913223435.15422C04DB6@vcs2.savannah.gnu.org>
2023-09-13 22:39 ` [elpa] externals/ebdb 9cc960409f 2/4: Remove 'affix slot from record names Stefan Monnier
2023-09-14 3:22 ` Eric Abrahamsen
2023-09-14 4:39 ` Stefan Monnier
2023-09-14 15:28 ` Eric Abrahamsen
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).