From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: The "problem" with `flet' in Org-mode and (future) Emacs 24.2 Date: Wed, 18 Jul 2012 20:18:50 +0200 Message-ID: <87wr21szjp.fsf@Rainer.invalid> References: <20120718070338.GA907@smoon> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrYq4-0007an-LF for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 14:19:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrYq3-0007SB-DI for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 14:19:08 -0400 Received: from plane.gmane.org ([80.91.229.3]:39633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrYq3-0007S6-6d for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 14:19:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SrYpz-0004Sw-S3 for emacs-orgmode@gnu.org; Wed, 18 Jul 2012 20:19:03 +0200 Received: from pd9eb4daf.dip.t-dialin.net ([217.235.77.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jul 2012 20:19:03 +0200 Received: from Stromeko by pd9eb4daf.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jul 2012 20:19:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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