From: "Thomas S. Dye" <tsd@tsdye.com>
To: andrea <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: autoloading stuff
Date: Sun, 27 Dec 2009 13:27:23 -1000 [thread overview]
Message-ID: <3144A9A6-8DFE-4FDE-8DA5-22CCD4173579@tsdye.com> (raw)
In-Reply-To: <m1skaw6nbc.fsf@gmail.com>
Hi Andrea,
On Dec 27, 2009, at 12:53 PM, andrea wrote:
> "Thomas S. Dye" <tsd@tsdye.com> writes:
>> Hi Andrea,
>> I'm not certain I understand your question, but it brings to mind the
>> Getting Started section of
>> http://orgmode.org/worg/org-contrib/babel/intro.php,
>> which indicates that you can activate whatever subset of supported
>> languages you wish.
>
> Well the problems is that I would like to load all those possible
> modes
> only the first time that I actually open an org-file that contains
> code
> for that language.
>
> --8<---------------cut here---------------start------------->8---
> ;;; Code:
> (require 'org-babel)
> (require 'tuareg)
> --8<---------------cut here---------------end--------------->8---
>
> For example I find that org-babel/ocaml it loads tuareg, even if I'm
> not
> using it at all...
>
> I would like in general to require the least things as possible, and
> use
> *eval-after-load* and hooks for everything.
I don't believe this is addressed in the documentation. Perhaps Eric
or Dan can give you an answer when they are back on-line.
All the best,
Tom
next prev parent reply other threads:[~2009-12-27 23:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-27 20:50 autoloading stuff andrea
2009-12-27 22:01 ` Thomas S. Dye
2009-12-27 22:53 ` andrea
2009-12-27 23:27 ` Thomas S. Dye [this message]
2009-12-28 9:46 ` andrea
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=3144A9A6-8DFE-4FDE-8DA5-22CCD4173579@tsdye.com \
--to=tsd@tsdye.com \
--cc=andrea.crotti.0@gmail.com \
--cc=emacs-orgmode@gnu.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).