emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: Eric Schulte <eric.schulte@gmx.com>
Cc: Emacs Org mode <emacs-orgmode@gnu.org>
Subject: Re: The "problem" with `flet' in Org-mode and (future) Emacs 24.2
Date: Sun, 22 Jul 2012 09:13:40 +0900	[thread overview]
Message-ID: <20120722001340.GA918@smoon> (raw)
In-Reply-To: <87obnacoq6.fsf@gmx.com>

Hello,
** Eric Schulte [2012-07-20 11:43:45 -0600]:

[...]

> Okay, I've noticed a number of these errors as well.  It looks like the
> old version of flet allowed the definition of recursive functions, but
> the new cl-flet does not.

> Below find my previous patch which now uses cl-flet* instead of cl-flet
> in org-flet.  This should be a universal fix.

> Best,

Thanks, would work fine with this small change:

--- 0001-replace-flet-labels-with-org-flet-org-labels.patch.orig	2012-07-22 09:10:44.000000000 +0900
+++ 0001-replace-flet-labels-with-org-flet-org-labels.patch	2012-07-21 23:09:37.000000000 +0900
@@ -370,7 +370,7 @@
    "Check if PARAMS require expansion in CONTEXT.
  CONTEXT may be one of :tangle, :export or :eval."
 -  (flet ((intersect (as bs)
-+  (org-flet ((intersect (as bs)
++  (org-labels ((intersect (as bs)
  		       (when as
  			 (if (member (car as) bs)
  			     (car as)

---
WBR, Vladimir Lomov

-- 
The core is not frozen, but slushy.
             -- Larry Wall in <199705101952.MAA00756@wall.org>

  reply	other threads:[~2012-07-22  0:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18  7:03 The "problem" with `flet' in Org-mode and (future) Emacs 24.2 Vladimir Lomov
2012-07-18 16:35 ` Eric Schulte
2012-07-18 18:33   ` Achim Gratz
2012-07-19  4:13     ` Eric Schulte
2012-07-19  6:27       ` Achim Gratz
2012-07-19 12:33       ` Vladimir Lomov
2012-07-20  1:19         ` Vladimir Lomov
2012-07-20  3:00           ` Vladimir Lomov
2012-07-20 17:43             ` Eric Schulte
2012-07-22  0:13               ` Vladimir Lomov [this message]
2012-07-22 19:30                 ` Achim Gratz
2012-07-25 15:26                   ` Eric Schulte
2012-07-25 16:45                     ` Achim Gratz
2012-07-25 16:54                       ` Eric Schulte
2012-07-26 12:28                     ` Bastien
2012-07-26 13:19                       ` Bastien
2012-07-26 14:36                         ` Bastien
2012-07-23 17:41               ` Achim Gratz
2012-07-19 14:12       ` Jambunathan K
2012-07-18 18:18 ` Achim Gratz

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=20120722001340.GA918@smoon \
    --to=lomov.vl@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.schulte@gmx.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 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).