unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Arash Esbati <arash@gnu.org>
To: <tomas@tuxteam.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Question about cl-flet and cl-letf
Date: Tue, 31 Oct 2023 10:38:33 +0100	[thread overview]
Message-ID: <m2o7gfgmhy.fsf@macmutant.fritz.box> (raw)
In-Reply-To: <ZT35fPOXxmJmvSD0@tuxteam.de> (tomas@tuxteam.de's message of "Sun, 29 Oct 2023 07:19:40 +0100")

<tomas@tuxteam.de> writes:

> It can be confusing. Look at it this way: y-or-no-p is most probably
> not called directly in your (while ...) construct (which is a
> special form) but from some functions called from there.
>
> So it's not in your lexical environment, but on somewhere else's.
> So a dynamic binding does the trick.

Thanks for your response.  Now I grok what's happening.

Best, Arash



      reply	other threads:[~2023-10-31  9:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-26 20:10 Question about cl-flet and cl-letf Arash Esbati
2023-10-26 21:53 ` Michael Heerdegen
2023-10-28 21:07   ` Arash Esbati
2023-10-29  0:14     ` Michael Heerdegen
2023-10-29  6:19       ` tomas
2023-10-31  9:38         ` Arash Esbati [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2o7gfgmhy.fsf@macmutant.fritz.box \
    --to=arash@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tomas@tuxteam.de \
    /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.
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).