From: Eli Zaretskii <eliz@gnu.org>
To: Manuel Uberti <manuel.uberti@inventati.org>,
Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 59714@debbugs.gnu.org, arstoffel@gmail.com
Subject: bug#59714: 30.0.50; (void-function cl-letf)
Date: Wed, 30 Nov 2022 19:05:45 +0200 [thread overview]
Message-ID: <83fse0jrti.fsf@gnu.org> (raw)
In-Reply-To: <de38124d-a3bc-8a3d-a221-2317e64980b7@inventati.org> (message from Manuel Uberti on Wed, 30 Nov 2022 17:06:37 +0100)
> Date: Wed, 30 Nov 2022 07:45:51 +0100
> From: Manuel Uberti via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> - emacs -Q
> - Evaluate: (cl-letf (((default-value 'process-environment) nil)))
> - You see the following error:
>
> Debugger entered--Lisp error: (void-function cl-letf)
> (cl-letf (((default-value 'process-environment) nil)))
> (progn (cl-letf (((default-value 'process-environment) nil))))
> eval((progn (cl-letf (((default-value 'process-environment) nil)))) t)
> elisp--eval-last-sexp(nil)
> eval-last-sexp(nil)
> funcall-interactively(eval-last-sexp nil)
> call-interactively(eval-last-sexp nil nil)
> command-execute(eval-last-sexp)
I don't understand how autoloading macros or functions from cl-lib could
work as the above expects. The autoload forms of these functions and macros
are written to cl-loaddefs.el, but the only file that loads cl-loaddefs.el
is cl-lib itself. So you must (require 'cl-lib) to be able to use cl-letf.
Stefan, did I miss something?
next prev parent reply other threads:[~2022-11-30 17:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-30 6:45 bug#59714: 30.0.50; (void-function cl-letf) Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-30 13:47 ` Eli Zaretskii
2022-11-30 14:17 ` Augusto Stoffel
2022-11-30 16:06 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-30 16:57 ` Eli Zaretskii
2022-11-30 17:03 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-30 17:05 ` Eli Zaretskii [this message]
2022-11-30 19:45 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-30 20:13 ` Augusto Stoffel
2022-11-30 20:19 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-01 5:26 ` Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-01 7:32 ` Eli Zaretskii
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=83fse0jrti.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=59714@debbugs.gnu.org \
--cc=arstoffel@gmail.com \
--cc=manuel.uberti@inventati.org \
--cc=monnier@iro.umontreal.ca \
/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.