emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: Babel related bug in elpa version 20121231
Date: Sat, 05 Jan 2013 08:07:41 +0100	[thread overview]
Message-ID: <87mwworttu.fsf@Rainer.invalid> (raw)
In-Reply-To: m38v88o5fz.fsf@quad.robs.office

Robert Horn writes:
> Starterkit does have code that looked correct and proper for
> coordinating the init with elpa, and I think that for packages not
> used by org-mode it will be OK.  But, the automagic startup executes the
> lisp code using babel from org files.  This means that org and it's
> dependencies are partially loaded before elpa is initialized.  This
> means problems for org and any other dependent packages.  

Yes, and that's a problem already in ELPA.  It does make an implicit
assumption that no ELPA package is already delivered with Emacs, but
that is not true with Org.  It also makes the implicit assumption that
you can recompile the new version of a package when the old version has
already been loaded, which is also (sometimes, not often) not true with
Org.

I don't know enough about starterkit to know if it makes the same
assumptions.  The obvious solution for the problem mentioned above would
be to tangle the org files to elisp rather than executing them directly
and restart Emacs when something has changed, but that may not be
enough.

> I think the long term solution will have to be abandoning the automagic
> startup.

I'll try to make a bugreport against package manager.  I'm not sure what
will happen since properly fixing it would likely be a lot of work...

> If there were a "compile and install" operation in starterkit
> to take the org files and use babel to convert them into elc, it would
> be a little bit less magic for the novice user, but it would eliminate
> this interaction between it and elpa.  I do expect novice users to use
> the package mechanism, so they will run into this problem if they want a
> more recent version of org-mode than is packaged with their emacs.

I hope that a later version of Emacs (not the upcoming 24.3, though)
will properly move the bundled Org into a package.  That's been talked
about for a while, but has not happened since it will likely require a
few more tweaks to the way package manager works.

Meanwhile, one thing that starterkit can do as a workaround is to do an
org-reload right after the path to package directory has been installed.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra

  reply	other threads:[~2013-01-05  7:07 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 15:03 org version under Windows 7 Giovanni Ridolfi
2012-07-11 16:46 ` Achim Gratz
2012-07-11 17:43 ` [PATCH] " Achim Gratz
2012-07-11 20:21   ` Bastien
2012-07-11 21:15     ` Achim Gratz
2012-07-12  6:31       ` Bastien
2012-07-12  8:30       ` Giovanni Ridolfi
2012-07-12 13:24         ` Achim Gratz
2012-07-24 15:23   ` Bastien
2012-07-25  7:52     ` Giovanni Ridolfi
2012-07-26 12:50       ` Bastien
2012-07-26 18:49     ` Achim Gratz
2012-07-31 16:36       ` Bastien
2013-01-02 22:22 ` Babel related bug in elpa version 20121231 Robert Horn
2013-01-04  2:16   ` Robert Horn
2013-01-04 15:23     ` Bastien
2013-01-04 21:27   ` Achim Gratz
2013-01-05  0:10     ` Robert Horn
2013-01-05  7:07       ` Achim Gratz [this message]
2013-01-05 11:07         ` Bastien
2013-01-05 11:45           ` Achim Gratz
2013-01-05 12:33             ` Bastien
2013-01-05 13:40               ` Achim Gratz
2013-01-05 14:00                 ` Bastien
2013-01-05 16:40           ` Robert Horn
2013-01-05 16:55             ` Achim Gratz
2013-01-05 18:51               ` Eric Schulte
2013-01-05 19:07                 ` Achim Gratz
2013-01-05 19:28                   ` Eric Schulte
2013-01-05 20:39                     ` Achim Gratz
2013-01-05 23:29                       ` Eric Schulte
     [not found]                 ` <CAGoVJLFRky2wOZUkyAVTp3E9eXnsYoetAckWKJs1MKyqQHUCFA@mail.gmail.com>
2013-01-05 20:55                   ` Fwd: " Stelian Iancu
2013-01-05 21:16                     ` Eric Schulte
2013-01-05 21:10                 ` Robert Horn
2013-01-05 22:14                   ` Tom Davey
2013-01-05 23:30                     ` Eric Schulte
2013-01-06 20:21                       ` Stelian Iancu

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=87mwworttu.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --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).