emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeff Horn <jrhorn424@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: org-latex-to-pdf-process missing?
Date: Wed, 24 Nov 2010 12:09:57 -0500	[thread overview]
Message-ID: <AANLkTi=OMgnkOFpR43ojfwM0sqL7AqU=9-J9Qxwu8CKF@mail.gmail.com> (raw)
In-Reply-To: <87aal0w7t0.fsf@gollum.intra.norang.ca>

>> 1) I see stuff floating around the list from time to time about
>> "org-install", which I've never had to use, but I gather takes care of
>> some autoloads. Is this correct?
>
> Yes this is for autoloads.  I think this is provided for you if you use
> the version of org-mode that comes with Emacs.  If you want to use a
> newer org-mode from git then you should require org-install so you get
> the autoload definitions that go with that version of org-mode.

Will do.

>> 3) Shouldn't org-latex be loaded automatically?
>
> You're referencing a variable in org-latex.  It probably doesn't get
> defined until you have auto-loaded org-latex by using some function
> provided by that file.  If you want to use the variable before that I
> think you need to require the package to force loading it early.

I didn't realized that's how autoloads work. So they're "just in time"
loads? Designed to cut back on the initial load time?

>> 5) Aren't (require 'function)'s looked down upon in the user's
>> customization file?
>
> They are?  Not that I'm aware of.  I add require lines for anything I
> want to have setup before it's called the first time (not that I restart
> emacs all that often but it happens.)  I have requires for the following
> org packages in my .emacs
>
>  - (require 'org-install)
>  - (require 'org-protocol)
>  - (require 'org-crypt)
>  - (require 'org-id)
>  - (require 'org-latex)

That's helpful. Part of my confusion was that some of those packages,
like protocol, crypt, and id, are available through the customize
interface (my preferred method of dealing with org-mode setup), but
org-latex was not listed (nor org-install, but that seems reasonable
to me).

Thanks!
Jeff

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jhorn@gmu.edu
jrhorn424@gmail.com

http://www.failuretorefrain.com/jeff/

  reply	other threads:[~2010-11-24 17:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 15:19 Jeff Horn
2010-11-22 16:23 ` Erik Iverson
2010-11-23  0:17   ` Jeff Horn
2010-11-23 12:20     ` Bernt Hansen
2010-11-24 17:09       ` Jeff Horn [this message]
2010-11-24 23:56         ` Bernt Hansen

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='AANLkTi=OMgnkOFpR43ojfwM0sqL7AqU=9-J9Qxwu8CKF@mail.gmail.com' \
    --to=jrhorn424@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: org-latex-to-pdf-process missing?' \
    /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

Code repositories for project(s) associated with this 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).