From: Eli Zaretskii <eliz@gnu.org>
To: Manuel Uberti <manuel.uberti@inventati.org>
Cc: 59714@debbugs.gnu.org
Subject: bug#59714: 30.0.50; (void-function cl-letf)
Date: Wed, 30 Nov 2022 15:47:19 +0200 [thread overview]
Message-ID: <837czclfko.fsf@gnu.org> (raw)
In-Reply-To: <7e1c3a3e-ae44-630b-2343-23fe89eb0723@inventati.org> (bug-gnu-emacs@gnu.org)
> 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>
>
> this is the problem:
>
> - 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)
>
> - Evaluate again: (cl-letf (((default-value 'process-environment) nil)))
>
> The error is not shown any more.
Why is this a problem? Before you evaluate the offending expression,
(featurep 'cl-lib) yields nil, after that it yields t (because Emacs needed
to load that package). I don't see what is wrong here.
next prev parent reply other threads:[~2022-11-30 13:47 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 [this message]
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
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=837czclfko.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=59714@debbugs.gnu.org \
--cc=manuel.uberti@inventati.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.