Bastien b...@gnu.org writes:
Bernt Hansen be...@norang.ca writes:
That doesn't work. There's a missing ) at the end of the defalias and
after I add that I get
Er, sorry for the typo.
I've reverted this commit for now, I'll see if I can get rid of
cl-labels another way.
I've just
Hi Eric,
Eric Schulte eric.schu...@gmx.com writes:
I've just pushed up another version of this commit, which I believe
removes cl-labels while still preserving tangling behavior. If you have
a chance please re-check tangling with the latest Org-mode.
`letrec' is not available on Emacs 24.1
Bastien b...@gnu.org writes:
Hi Eric,
Eric Schulte eric.schu...@gmx.com writes:
I've just pushed up another version of this commit, which I believe
removes cl-labels while still preserving tangling behavior. If you have
a chance please re-check tangling with the latest Org-mode.
Hi Eric,
Eric Schulte eric.schu...@gmx.com writes:
I'm surprised that elisp doesn't provide any mechanism for local
anonymous functions.
(let ((my-local-func (lambda (a) (message a
(funcall my-local-func Hello!))
is fine.
It's just for recursive local function -- letrec provides
Eric Schulte eric.schu...@gmx.com wrote:
Bastien b...@gnu.org writes:
Hi Eric,
Eric Schulte eric.schu...@gmx.com writes:
I've just pushed up another version of this commit, which I believe
removes cl-labels while still preserving tangling behavior. If you have
a chance please
Hi Nick,
Nick Dokos nicholas.do...@hp.com writes:
Can't the definition of letrec in emacs24 be lifted bodily into org-compat.el
(or whatever the correct place is) as a compatibility-with-emacs-23 macro?
I don't think it's worth the effort.
The current code works and compiles without warnings
Hello,
Bastien b...@gnu.org writes:
Eric Schulte eric.schu...@gmx.com writes:
I'm surprised that elisp doesn't provide any mechanism for local
anonymous functions.
(let ((my-local-func (lambda (a) (message a
(funcall my-local-func Hello!))
is fine.
It's just for recursive
Bastien b...@gnu.org wrote:
Hi Nick,
Nick Dokos nicholas.do...@hp.com writes:
Can't the definition of letrec in emacs24 be lifted bodily into
org-compat.el
(or whatever the correct place is) as a compatibility-with-emacs-23 macro?
I don't think it's worth the effort.
The
Hi Nick,
Nick Dokos nicholas.do...@hp.com writes:
I'd suggest that that can be a source of bugs that would be
avoided with a compatibility macro.
`org-labels' is an alias for `cl-labels' (when available) or `labels'.
There is no need for a compatibility macro here, as the current code
is
Nicolas Goaziou n.goaz...@gmail.com writes:
You can have recursive local functions:
#+begin_src emacs-lisp
(let* (len ; For byte compiler.
(len (lambda (l) (if (not l) 0
(1+ (funcall len (cdr l)))
(funcall len '(1 2 3)))
Bernt Hansen writes:
Tangling doesn't work for me in git master anymore. Git bisect
identifies the following commit as introducing the problem
[...]
Debugger entered--Lisp error: (void-function letrec)
(letrec ((intersect ...)) (funcall intersect (case context ... ... ...)
(split-string
Hi Bernt,
Bernt Hansen be...@norang.ca writes:
Tangling doesn't work for me in git master anymore. Git bisect
identifies the following commit as introducing the problem
Please try the attached patch and let us know if it works.
Thanks,
From 45c517919756b7af78b720e454e8ea8d969f6a43 Mon Sep
Bastien b...@gnu.org writes:
Hi Bernt,
Bernt Hansen be...@norang.ca writes:
Tangling doesn't work for me in git master anymore. Git bisect
identifies the following commit as introducing the problem
Please try the attached patch and let us know if it works.
Thanks,
That doesn't work.
Achim Gratz strom...@nexgo.de writes:
Bernt Hansen writes:
Tangling doesn't work for me in git master anymore. Git bisect
identifies the following commit as introducing the problem
[...]
Debugger entered--Lisp error: (void-function letrec)
(letrec ((intersect ...)) (funcall intersect
Bernt Hansen be...@norang.ca writes:
That doesn't work. There's a missing ) at the end of the defalias and
after I add that I get
Er, sorry for the typo.
I've reverted this commit for now, I'll see if I can get rid of
cl-labels another way.
Thanks,
--
Bastien
15 matches
Mail list logo