emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] The "problem" with `flet' in Org-mode and (future) Emacs 24.2


From: Achim Gratz
Subject: Re: [O] The "problem" with `flet' in Org-mode and (future) Emacs 24.2
Date: Wed, 18 Jul 2012 20:18:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Vladimir Lomov writes:
> Begining from some revision (I don't remember exact revno) function
> `flet' was declared obsolete so Org-mode compilation is accompanied with
> warnings about that.
>
> If just ignore them then I get malfunction Org-mode. I made patch to
> change all `flet's to appropriate functions and it works.

This should not happen if I understood Stefan correctly and you should
log a bug against Emacs.

> The problem is that these functions are new too. As I see it, the patch
> will "break" compatability with current and older versions of Emacs.
>
> WDYT?

Org needs to stay backwards compatible with older Emacs versions, so it
will likely not be possible to directly replace things as you've done.
I'm not sure a defsubst would cut it, so it looks like this will become
another compatibility macro (expanding to either flet or cl-flet
depending on Emacs version).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]