From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: 12760@debbugs.gnu.org
Subject: bug#12760: letf doc is not very helpful
Date: Tue, 30 Oct 2012 08:31:40 -0400 [thread overview]
Message-ID: <jwvzk34m9gh.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4gtxtcxwvm.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 30 Oct 2012 03:05:49 -0400")
>>> -> Like `cl-letf', but with some extra backward compatibility.
>>> This is so vague as to not be useful.
>> The only difference (handling of funbound symbols for symbol-function)
>> is one I'd rather not document because it's deprecated.
> PS I honestly can't see why "A is different to B in some unspecified way
> that I'm not going to tell you lest you try and use it" is preferable to
> "A is essentially exactly the same as B, apart from cases C and D. Such
> usage is deprecated."
You might be right. Here is the exact situation:
- The extra handling of `symbol-function' in `letf' was added because
some existing uses of `flet' (which uses `letf' internally) need it.
- I don't know of any code that uses `letf' in a way that `cl-letf'
can't handle.
So maybe a better solution is to rename the current `letf' into
cl--flet-letf, and then to make `letf' an alias to `cl-letf'.
Stefan
prev parent reply other threads:[~2012-10-30 12:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 7:52 bug#12760: letf doc is not very helpful Glenn Morris
2012-10-29 13:52 ` Stefan Monnier
2012-10-29 17:40 ` Glenn Morris
2012-10-30 7:05 ` Glenn Morris
2012-10-30 12:31 ` Stefan Monnier [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvzk34m9gh.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=12760@debbugs.gnu.org \
--cc=rgm@gnu.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.