all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manuel Uberti via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 59714@debbugs.gnu.org
Subject: bug#59714: 30.0.50; (void-function cl-letf)
Date: Wed, 30 Nov 2022 07:45:51 +0100	[thread overview]
Message-ID: <7e1c3a3e-ae44-630b-2343-23fe89eb0723@inventati.org> (raw)

Hi,

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.

For reference, I discovered this while using buffer-env:
https://github.com/astoff/buffer-env/issues/15.

Augusto Stoffel provided the small recipe, I was seeing the message 
"‘((default-value 'process-environment) process-environment)’ is a 
malformed function" as I wrote in the above mentioned ticket.


In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
  3.24.33, cairo version 1.16.0) of 2022-11-29 built on baruch
Repository revision: 7939184f8e0370e7a3397d492812c6d202c2a193
Repository branch: master
System Description: Ubuntu 22.04.1 LTS

Configured using:
  'configure --with-native-compilation --with-pgtk'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP
NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB

Important settings:
   value of $LC_MESSAGES: en_GB.UTF-8
   value of $LC_MONETARY: it_IT.UTF-8
   value of $LC_NUMERIC: it_IT.UTF-8
   value of $LC_TIME: it_IT.UTF-8
   value of $LANG: en_US.UTF-8
   value of $XMODIFIERS: @im=ibus
   locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   show-paren-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   line-number-mode: t
   indent-tabs-mode: t
   transient-mark-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns
radix-tree cl-print byte-opt debug backtrace find-func cl-loaddefs comp
comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode
bytecomp byte-compile cl-lib rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
lcms2 multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 91808 7241)
  (symbols 48 7534 0)
  (strings 32 25267 3098)
  (string-bytes 1 792684)
  (vectors 16 19382)
  (vector-slots 8 302629 15510)
  (floats 8 46 24)
  (intervals 56 404 0)
  (buffers 984 12))

-- 
Manuel Uberti
https://manueluberti.eu





             reply	other threads:[~2022-11-30  6:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30  6:45 Manuel Uberti via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-11-30 13:47 ` bug#59714: 30.0.50; (void-function cl-letf) 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
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=7e1c3a3e-ae44-630b-2343-23fe89eb0723@inventati.org \
    --to=bug-gnu-emacs@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.