From: Eric Schulte <eric.schulte@gmx.com>
To: Bastien <bzg@gnu.org>
Cc: Andreas Leha <andreas.leha@med.uni-goettingen.de>, emacs-orgmode@gnu.org
Subject: Re: flet / my-filt problem
Date: Tue, 31 Jul 2012 08:20:46 -0600 [thread overview]
Message-ID: <87ehnsggg1.fsf@gmx.com> (raw)
In-Reply-To: <871ujs5pam.fsf@gnu.org> (Bastien's message of "Tue, 31 Jul 2012 10:05:05 +0200")
Bastien <bzg@gnu.org> writes:
> Hi Eric,
>
> Eric Schulte <eric.schulte@gmx.com> writes:
>
>> Does the attached patch resolve this bad behavior?
>
> Can't we just get rid of org-flet in this case?
>
> With simply let-defining the temporary function?
>
> (let ((f (lambda(x) (message x))))
> (funcall f "Hello!"))
This is exactly the tact taken by my previous patch, I'm still not sure
why it didn't work. Regardless, I've just pushed up a fix which
replaces the named function with an anonymous lambda-expression. I've
also pushed up a test case which exercises this function. Everything
now seems to be working.
Best,
--
Eric Schulte
http://cs.unm.edu/~eschulte
next prev parent reply other threads:[~2012-07-31 14:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-30 21:59 flet / my-filt problem Andreas Leha
2012-07-30 22:23 ` Eric Schulte
2012-07-30 22:42 ` Andreas Leha
2012-07-30 23:31 ` Eric Schulte
2012-07-31 7:52 ` Andreas Leha
2012-07-31 8:05 ` Bastien
2012-07-31 14:20 ` Eric Schulte [this message]
2012-07-31 15:17 ` Bastien
2012-08-01 21:57 ` Andreas Leha
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ehnsggg1.fsf@gmx.com \
--to=eric.schulte@gmx.com \
--cc=andreas.leha@med.uni-goettingen.de \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).