From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Makefile restructuring Date: Tue, 08 Nov 2011 22:35:50 +0100 Message-ID: <87bosmuwjt.fsf@Rainer.invalid> References: <87k4bqwkyw.fsf@gnu.org> <87sjqejvob.fsf@Rainer.invalid> <87k4bqjnwu.fsf@Rainer.invalid> <87fwmdkind.fsf@Rainer.invalid> <874o2t81qu.fsf@gnu.org> <87liw43iys.fsf@Rainer.invalid> <8762n8d4ys.fsf@gnu.org> <87ei1u6u3q.fsf_-_@Rainer.invalid> <87hb6i3z1l.fsf@Rainer.invalid> <87bot1ph9h.fsf@Rainer.invalid> <87ehxvlyrn.fsf@Rainer.invalid> <87k47d6pfn.fsf@Rainer.invalid> <81ehxldpqi.fsf@gmail.com> <87d3d56nyy.fsf@Rainer.invalid> <8162ixdmmz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNtKy-0003Ov-6Q for emacs-orgmode@gnu.org; Tue, 08 Nov 2011 16:36:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNtKx-0001O0-2N for emacs-orgmode@gnu.org; Tue, 08 Nov 2011 16:36:08 -0500 Received: from lo.gmane.org ([80.91.229.12]:46311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNtKw-0001Nt-OE for emacs-orgmode@gnu.org; Tue, 08 Nov 2011 16:36:07 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RNtKt-0000Fl-DQ for emacs-orgmode@gnu.org; Tue, 08 Nov 2011 22:36:03 +0100 Received: from p57aacb4a.dip.t-dialin.net ([87.170.203.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Nov 2011 22:36:03 +0100 Received: from Stromeko by p57aacb4a.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Nov 2011 22:36:03 +0100 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 Jambunathan K writes: > If we reconcile what happens here with what is done in Makefile, may be > we can uncover why certain macros in org-macs.el doesn't propagated to > some set of files. If byte-compile-directory is available in all versions of Emacs, then I could certainly use it in the Makefile. Not sure if I can get to it before the weekend, but I will try it out soon-ish. > Note that org-macs.el issue is increasingly reported only with emacs-23 > and not with emacs-24. One of the reason could be that emacs-24 > *already* has most of the macro definitions in the system path. This is > not the case with emacs-23 installations which have (much?) older > versions of org. I may be missing what the "org-macs.el issue" is, precisely. > From what I understand package manager compiles files in alphabetical > order. It means that org-macs.el gets compiled after org-agenda.el. With make (at least after "make clean") it's exactly the same thing. What I don't understand is if package manager uses the already customized load-path or the bog-standard one, like make does via "emacsĀ -Q". > Also when eval-when-compile is done of org-macs.el - somewhere it should > be done right? - I don't know which of the org-macs.el gets loaded. Is > it system-installed one or the one in the distribution tar. That would depend on which one it finds first, hence the question of what load-path looks like at that point. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds