all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <ndemmel@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: flet, cl-flet, cl-letf in 24.3
Date: Sun, 21 Apr 2013 09:07:47 -0700	[thread overview]
Message-ID: <BA74AF715B144846BD423B1DF7276EFB@us.oracle.com> (raw)
In-Reply-To: <c34e229e-c7a6-4656-b6a9-e9aa0f29ab56@googlegroups.com>

> > If you have read the doc and you feel it does not make 
> > things clear, consider filing a doc bug: `M-x report-emacs-bug'.
> 
> I don't even have emacs 24.3 installed. I'm referring to the
> documentation [1,2,3,4]. Together with the notification
>     `flet' is an obsolete macro (as of 24.3); use either 
>     `cl-flet' or `cl-letf'.
> as reported here [5], this documentation does not really tell 
> me what to do if I want to keep relying on the dynamic 
> scoping of flet.  A brief google search [6] leads me to believe
> that (cl-letf (((symbol-function 'foo) #'(lambda (...) ...))) ...) 
> is the suggested solution, however I wanted to make sure that 
> is the case.

It is good to ask the question here, of course, and someone will likely post a
good answer soon.

> In any case if that were the sugggested way, it should maybe 
> be added to one of the documentation sites [1,2,3,4]. I'd be 
> happy to file a report on that.

Please do.  That can help Emacs Dev understand what might need to be done to
make things clearer.  If there is a misunderstanding wrt the references you
cite, Emacs Dev will likely let you know that too.  Just becoming aware of a
misunderstanding can be helpful input to those trying to communicate better.




  reply	other threads:[~2013-04-21 16:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-21  7:04 flet, cl-flet, cl-letf in 24.3 ndemmel
2013-04-21  7:41 ` Drew Adams
     [not found] ` <mailman.24402.1366530089.855.help-gnu-emacs@gnu.org>
2013-04-21  9:49   ` ndemmel
2013-04-21 16:07     ` Drew Adams [this message]
2013-04-22 13:32     ` Stefan Monnier
2013-04-22 15:09       ` Andreas Röhler
     [not found]     ` <mailman.24438.1366637539.855.help-gnu-emacs@gnu.org>
2013-04-27 11:16       ` ndemmel
2013-04-27 11:46         ` Pascal J. Bourguignon
2013-04-27 13:52         ` Stefan Monnier

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=BA74AF715B144846BD423B1DF7276EFB@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ndemmel@gmail.com \
    /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.