From: Carsten Dominik <carsten.dominik@gmail.com>
To: Bastien <bastienguerry@googlemail.com>
Cc: Tassilo Horn <tassilo@member.fsf.org>, emacs-orgmode@gnu.org
Subject: Re: Re: Fwd: loading org changes faces in other modes
Date: Tue, 8 Sep 2009 08:49:37 +0200 [thread overview]
Message-ID: <2EDE2811-9C3F-4FAF-A582-9204153BF8C2@gmail.com> (raw)
In-Reply-To: <87ocpm9aqx.fsf@bzg.ath.cx>
On Sep 7, 2009, at 2:53 PM, Bastien wrote:
> Hi Tassilo,
>
> Tassilo Horn <tassilo@member.fsf.org> 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
next prev parent reply other threads:[~2009-09-08 7:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20524da70909070736x1484b2e7r84d8f64dc398d405@mail.gmail.com>
2009-09-07 14:41 ` Fwd: loading org changes faces in other modes Carsten Dominik
2009-09-07 18:35 ` Tassilo Horn
2009-09-07 12:53 ` Bastien
2009-09-08 6:49 ` Carsten Dominik [this message]
2009-09-08 7:50 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2EDE2811-9C3F-4FAF-A582-9204153BF8C2@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=bastienguerry@googlemail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tassilo@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).