emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Fwd: loading org changes faces in other modes


From: Carsten Dominik
Subject: Re: [Orgmode] Re: Fwd: loading org changes faces in other modes
Date: Tue, 8 Sep 2009 08:49:37 +0200


On Sep 7, 2009, at 2:53 PM, Bastien wrote:

Hi Tassilo,

Tassilo Horn <address@hidden> writes:

with all those troubles, what's the point in `org-modules' anyway? Are there any benefits over plain requires in users' .emacs files except the
nice and explanatory customize interface?

One advantage I see is that org.el can define a default set of loaded
modules, while suggesting the user that there are many others to load.

Exactly.  I did not like the planner setup, where you have to go
in and put a significant number of require statements before
the thing will actually work.  So while I wanted a modular
package,  also wanted to ship a fully activated package.

Secondly, just as Bastien says, I want to make it easy to
find modules you might want to use.

But it is not easy to get the loading of the modules right,
the timing is important.  It has worked pretty well so far
though, I would say.

For the problem with gnus, I have now found a solution, I think.
I do now (in org-gnus.el):

(require 'org)
(eval-when-compile (require 'gnus-sum))
;; The following line suppresses a compier warning stemming from gnus- sum.el
;; because this function is used before being defined
(declare-function gnus-summary-last-subject "gnus-sum" nil)

That does compile without errors, and it delays loading gnus
until it is actually used.

I'd like to hear if anyone still has problems with the latest
git release.

Thanks!

- Carsten








reply via email to

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