From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Drew Adams <drew.adams@oracle.com>
Cc: "'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'" <help-gnu-emacs@gnu.org>
Subject: Re: `cl-macs' [was: about keysee]
Date: Sun, 11 Dec 2022 12:35:03 -0500 [thread overview]
Message-ID: <jwvcz8pludx.fsf-monnier+Inbox@gnu.org> (raw)
In-Reply-To: <SJ0PR10MB5488F20CA1D149B9B8EDF3CAF31E9@SJ0PR10MB5488.namprd10.prod.outlook.com> (Drew Adams's message of "Sun, 11 Dec 2022 17:09:42 +0000")
> Why should using `keysee' require you to also add
> `cl-lib' to your session? That's overreach. I'd
Requiring `cl-macs` won't help you there, because the first thing
`cl-macs` does is (require 'cl-lib). Instead you want
(eval-when-compile (require 'cl-lib))
> [Plus, things have changed in `cl*' world over the
> years. What's there, and where, for older Emacs
> can differ from what's there, and where, for more
> recent releases. Libraries that are usable with
> multiple releases don't necessarily follow a "do
> this" injunction that makes sense only for some
> later releases.]
That's exactly why you should require `cl-lib` rather than `cl-macs`:
because things can move between the different files of `cl-lib`.
Stefan
next prev parent reply other threads:[~2022-12-11 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-11 17:09 `cl-macs' [was: about keysee] Drew Adams
2022-12-11 17:35 ` Stefan Monnier [this message]
2022-12-11 21:35 ` [External] : " Drew Adams
2022-12-12 0:05 ` Issue building master Ergus via Users list for the GNU Emacs text editor
2022-12-12 15:56 ` [External] : Re: `cl-macs' [was: about keysee] Stefan Monnier via Users list for the GNU Emacs text editor
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvcz8pludx.fsf-monnier+Inbox@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.