emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-reload and new exporter
@ 2012-11-14  8:45 Andreas Leha
  2012-11-14  9:35 ` Achim Gratz
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Leha @ 2012-11-14  8:45 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I just stumbled on this.  I am building org (Org-mode version 7.9.2
release_7.9.2-585-g3d56f5) now basically with 'ORG_ADD_CONTRIB = org*' in
local.mk  (not sure if that is relevant, though).

When I call org-reload the new exporter forgets all loaded backends and
even re-evaluating (require 'org-e-latex), etc. does not bring them
back.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-reload and new exporter
  2012-11-14  8:45 org-reload and new exporter Andreas Leha
@ 2012-11-14  9:35 ` Achim Gratz
  2012-11-14  9:49   ` Andreas Leha
  0 siblings, 1 reply; 7+ messages in thread
From: Achim Gratz @ 2012-11-14  9:35 UTC (permalink / raw)
  To: emacs-orgmode

Andreas Leha <andreas.leha <at> med.uni-goettingen.de> writes:
> When I call org-reload the new exporter forgets all loaded backends and

Did you check *Messages*?  I've tried again just now to be sure and this is
working as expected for me.  

> even re-evaluating (require 'org-e-latex), etc. does not bring them
> back.

That doesn't do anything if (featurep 'org-e-latex) is true, try load-library
instead.


Regards,
Achim.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-reload and new exporter
  2012-11-14  9:35 ` Achim Gratz
@ 2012-11-14  9:49   ` Andreas Leha
  2012-11-14 12:03     ` Achim Gratz
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Leha @ 2012-11-14  9:49 UTC (permalink / raw)
  To: emacs-orgmode

Hi Achim,

thanks for checking.

Achim Gratz <Stromeko@NexGo.DE> writes:

> Andreas Leha <andreas.leha <at> med.uni-goettingen.de> writes:
>> When I call org-reload the new exporter forgets all loaded backends and
>
> Did you check *Messages*?  I've tried again just now to be sure and this is
> working as expected for me.  
>
*Messages* does not show anything suspicious:
,----
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-R...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-comint...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-ditaa...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-emacs-lisp...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-eval...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-exp...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-keys...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-lilypond...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-lob...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-ref...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-sh...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-table...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/ob-tangle...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-agenda...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-attach...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-bbdb...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-beamer...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-bibtex...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-clock...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-compat...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-contacts...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-docview...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-e-ascii...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-e-beamer...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-e-html...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-e-latex...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-e-odt...
| Debug (org-e-odt): Searching for OpenDocument styles files...
| Debug (org-e-odt): Trying /home/andreas/local/emacs/org-mode/etc/styles/...
| Debug (org-e-odt): Using styles under /home/andreas/local/emacs/org-mode/etc/styles/
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-e-odt...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-e-publish...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-element...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-entities...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-exp...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-exp-bibtex...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-export...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-faces...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-footnote...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-gnus...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-html...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-id...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-indent...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-info...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-inlinetask...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-irc...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-jsinfo...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-list...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-macs...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-mew...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-mhe...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-pcomplete...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-protocol...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-rmail...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-special-blocks...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-src...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-table...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-vm...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-w3m...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-wl...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-version.el (source)...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org...
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org-loaddefs.el (source)...done
| Loading /home/andreas/local/emacs/org-mode-install/lisp/org...done
| Successfully reloaded Org
| Org-mode version 7.9.2 (release_7.9.2-585-g3d56f5 @ /home/andreas/local/emacs/org-mode-install/lisp/)
`----


>> even re-evaluating (require 'org-e-latex), etc. does not bring them
>> back.
>
> That doesn't do anything if (featurep 'org-e-latex) is true, try load-library
> instead.

(featurep 'org-e-latex) is t
and
(load-library "org-e-latex")
indeed does the job.  Thanks for this workaround!

I am installing to a custom location.  Is that the problem here?


Anyway, thanks again.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-reload and new exporter
  2012-11-14  9:49   ` Andreas Leha
@ 2012-11-14 12:03     ` Achim Gratz
  2012-11-14 13:04       ` Andreas Leha
  0 siblings, 1 reply; 7+ messages in thread
From: Achim Gratz @ 2012-11-14 12:03 UTC (permalink / raw)
  To: emacs-orgmode

Andreas Leha <andreas.leha <at> med.uni-goettingen.de> writes:
> *Messages* does not show anything suspicious:

Indeed.  Since the org-export backends clearly are reloaded, some of the later
reloads must subvert them.  I'd assume that this is due to something else from
contrib you have loaded, but you could simply reload org step by step in the
order that org-reload does and check where the export backends drop out.

> I am installing to a custom location.  Is that the problem here?

I don't think so, I do that all the time.  But I'm not using nearly as many
packages from contrib...


Regards,
Achim.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-reload and new exporter
  2012-11-14 12:03     ` Achim Gratz
@ 2012-11-14 13:04       ` Andreas Leha
  2012-11-14 14:07         ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Leha @ 2012-11-14 13:04 UTC (permalink / raw)
  To: emacs-orgmode

Hi Achim,

Achim Gratz <Stromeko@NexGo.DE> writes:

> Andreas Leha <andreas.leha <at> med.uni-goettingen.de> writes:
>> *Messages* does not show anything suspicious:
>
> Indeed.  Since the org-export backends clearly are reloaded, some of the later
> reloads must subvert them.  I'd assume that this is due to something else from
> contrib you have loaded, but you could simply reload org step by step in the
> order that org-reload does and check where the export backends drop out.
>

Good suggestion.  I did, and org-export is the guilty one.

Should that be loaded before?

Regards,
Andreas

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-reload and new exporter
  2012-11-14 13:04       ` Andreas Leha
@ 2012-11-14 14:07         ` Nicolas Goaziou
  2012-11-15  8:52           ` Andreas Leha
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2012-11-14 14:07 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode

Hello,

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> Good suggestion.  I did, and org-export is the guilty one.
>
> Should that be loaded before?

You should try to update Org and try again. I just commited a patch
which should fix the issue.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-reload and new exporter
  2012-11-14 14:07         ` Nicolas Goaziou
@ 2012-11-15  8:52           ` Andreas Leha
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Leha @ 2012-11-15  8:52 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> Hello,
>
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> Good suggestion.  I did, and org-export is the guilty one.
>>
>> Should that be loaded before?
>
> You should try to update Org and try again. I just commited a patch
> which should fix the issue.

Confirmed.  Thanks!

Regards,
Andreas

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-11-15  8:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-14  8:45 org-reload and new exporter Andreas Leha
2012-11-14  9:35 ` Achim Gratz
2012-11-14  9:49   ` Andreas Leha
2012-11-14 12:03     ` Achim Gratz
2012-11-14 13:04       ` Andreas Leha
2012-11-14 14:07         ` Nicolas Goaziou
2012-11-15  8:52           ` Andreas Leha

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).