emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: David Masterson <dsmasterson@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: The Org Package
Date: Fri, 11 Apr 2014 21:39:58 -0500	[thread overview]
Message-ID: <CA+M2ft_3ixfpbDbr8DHA24N_kMHVfWX+Zy-sz6Cwc=JsPE1reQ@mail.gmail.com> (raw)
In-Reply-To: <86ob07e0r9.fsf@gmail.com>

On Fri, Apr 11, 2014 at 9:32 PM, David Masterson <dsmasterson@gmail.com> wrote:
> I still need more understanding of the Emacs packaging system.
> Something doesn't seem right and I'm sure I'm missing some key in
> understanding how its supposed to work.  What I see right now seems like
> something doesn't match up -- particularly with the Org package:
>
> 1. Most modern Emacs have Org pre-installed.
> 2. Unfortunately, that Org is not up-to-date (24.3 has 7.9.3f).
> 3. Therefore, installing the latest Org package seems natural.
> 4. However, this does not uninstall the built-in Org package.
> 5. Packages are not initialized until after .emacs is run.
> 6. Therefore, any of the latest variables are not defined yet.
> 7. Therefore, setting a hook may not do what you think.
> 8. The documentation for Org suggests hooks (etc.) to set.
> 9. I've run into times when org-version was still 7.9.3f.
>
> Do you see where I'm heading?  Does anyone else run into this problem?
> Or do most people ignore the Org package and install the latest from
> GitHub in a more manual process (a la Bernt Hansen's paper)?  Do we need
> more concrete documentation on setting up the Org Package?

I learned emacs /for/ Org-mode, so keep that in mind as I'm pretty
ignorant of emacs in genera. I *think* that packages for emacs are
sort of a recent thing, and since I was already using git, I've never
bothered to switch my setup. I find git ridiculously easy and have
never had a reason to do anything else.

Once ever:

#+begin_src sh
mkdir ~/.elisp/
cd ~/.elisp
git clone [orgmode git path] org.git  # I like adding the .git so I
know it's a git repo
cd org.git
make clean && make
#+end_src


Then put in config:

#+begin_src .emacs
(add-to-list 'load-path "~/.elisp/org.git/lisp/")
(add-to-list 'load-path "~/.elisp/org.git/contrib/lisp")
#+end_src

That's it. Anywhere between once a week and once every three months, I do:

#+begin_src sh
cd ~/.elisp/org.git
git pull
make clean && make
#+end_src

Is this more difficult than packages? What is the advantage of ELPA
vs. this? I could see it if I had a lot of these sorts of things, but
I really just use Org + ESS, so I'm not constantly
updating/installing/removing emacs add-ons other than those two.


John

>
> --
> David Masterson
>
>

  reply	other threads:[~2014-04-12  2:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-12  2:32 The Org Package David Masterson
2014-04-12  2:39 ` John Hendy [this message]
2014-04-12  4:10   ` David Masterson
2014-04-12  6:01     ` Jacek Generowicz
2014-04-12 20:07     ` John Hendy
2014-04-15  2:05       ` adam
2014-04-13  1:41 ` Grant Rettke
2014-04-13  7:05 ` Achim Gratz
2014-04-13  7:14   ` Nicolas Richard
2014-04-13 22:27   ` David Masterson
2014-04-14  0:15     ` Thomas S. Dye
2014-04-16  0:04       ` David Masterson
2014-04-16 16:35         ` Achim Gratz
2014-04-14 16:16     ` Achim Gratz
2014-04-17 11:38       ` Bastien

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='CA+M2ft_3ixfpbDbr8DHA24N_kMHVfWX+Zy-sz6Cwc=JsPE1reQ@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=dsmasterson@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).