emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ANN] Asynchronous export for new exporter
@ 2012-12-13 14:57 Nicolas Goaziou
  2012-12-13 17:38 ` Alan Schmitt
  2012-12-13 19:13 ` Thomas S. Dye
  0 siblings, 2 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2012-12-13 14:57 UTC (permalink / raw)
  To: Org Mode List

Hello,

New (experimental) exporter has now support for asynchronous export.
Every type of export is supported (subtree, to a buffer, visible part
only...).

When produced, results are listed in the Export Stack (they will never
make a buffer pop or call an external application). The stack can be
accessed from the dispatcher interface, by calling dispatcher with
a double C-u argument, or directly with `org-export-stack'.

From there, output results can be viewed or removed from the stack.
Removing a result from the stack only removes it from view. No file is
deleted, no buffer is killed.

You may want to tweak `org-export-in-background' and
`org-export-async-init-file'. You can also toggle
`org-export-async-debug' for debugging purposes.

Feedback welcome.


Regards,

-- 
Nicolas Goaziou

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

* Re: [ANN] Asynchronous export for new exporter
  2012-12-13 14:57 [ANN] Asynchronous export for new exporter Nicolas Goaziou
@ 2012-12-13 17:38 ` Alan Schmitt
  2012-12-13 19:13 ` Thomas S. Dye
  1 sibling, 0 replies; 6+ messages in thread
From: Alan Schmitt @ 2012-12-13 17:38 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Org Mode List


Nicolas Goaziou writes:

> Hello,
>
> New (experimental) exporter has now support for asynchronous export.
> Every type of export is supported (subtree, to a buffer, visible part
> only...).
>
> When produced, results are listed in the Export Stack (they will never
> make a buffer pop or call an external application). The stack can be
> accessed from the dispatcher interface, by calling dispatcher with
> a double C-u argument, or directly with `org-export-stack'.
>
> From there, output results can be viewed or removed from the stack.
> Removing a result from the stack only removes it from view. No file is
> deleted, no buffer is killed.
>
> You may want to tweak `org-export-in-background' and
> `org-export-async-init-file'. You can also toggle
> `org-export-async-debug' for debugging purposes.

This works great! I took the presentation I was building, set
`org-export-in-background' to `t', and I could go and edit some mail
while it was compiling.

Thanks a lot, this will be most useful!

Alan

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

* Re: [ANN] Asynchronous export for new exporter
  2012-12-13 14:57 [ANN] Asynchronous export for new exporter Nicolas Goaziou
  2012-12-13 17:38 ` Alan Schmitt
@ 2012-12-13 19:13 ` Thomas S. Dye
  2012-12-14 19:43   ` Nicolas Goaziou
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas S. Dye @ 2012-12-13 19:13 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Org Mode List

Aloha Nicolas,

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

> Hello,
>
> New (experimental) exporter has now support for asynchronous export.
> Every type of export is supported (subtree, to a buffer, visible part
> only...).
>
> When produced, results are listed in the Export Stack (they will never
> make a buffer pop or call an external application). The stack can be
> accessed from the dispatcher interface, by calling dispatcher with
> a double C-u argument, or directly with `org-export-stack'.
>
> From there, output results can be viewed or removed from the stack.
> Removing a result from the stack only removes it from view. No file is
> deleted, no buffer is killed.

Move point to the result and press 'd'.  

The age column is a real help here. 

>
> You may want to tweak `org-export-in-background' and
> `org-export-async-init-file'. You can also toggle
> `org-export-async-debug' for debugging purposes.
>
> Feedback welcome.

Wow!  This is a huge improvement.  It is going to change my work rhythm.

I tangle the initialization file from my document. Can you show me how
to configure asynchronous export to run org-babel-tangle-file before
export to insure that the initialization file is always up-to-date?

Thanks for your good work.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: [ANN] Asynchronous export for new exporter
  2012-12-13 19:13 ` Thomas S. Dye
@ 2012-12-14 19:43   ` Nicolas Goaziou
  2012-12-14 21:21     ` Thomas S. Dye
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2012-12-14 19:43 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Org Mode List

tsd@tsdye.com (Thomas S. Dye) writes:

> Move point to the result and press 'd'.

Or 'C' to clear them all.

> I tangle the initialization file from my document. Can you show me how
> to configure asynchronous export to run org-babel-tangle-file before
> export to insure that the initialization file is always up-to-date?

You could try to add a function to `org-export-before-processing-hook'
which would tangle your file and load it.


Regards,

-- 
Nicolas Goaziou

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

* Re: [ANN] Asynchronous export for new exporter
  2012-12-14 19:43   ` Nicolas Goaziou
@ 2012-12-14 21:21     ` Thomas S. Dye
  2012-12-30  8:32       ` Julien Cubizolles
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas S. Dye @ 2012-12-14 21:21 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Org Mode List

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

> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> Move point to the result and press 'd'.
>
> Or 'C' to clear them all.
>
>> I tangle the initialization file from my document. Can you show me how
>> to configure asynchronous export to run org-babel-tangle-file before
>> export to insure that the initialization file is always up-to-date?
>
> You could try to add a function to `org-export-before-processing-hook'
> which would tangle your file and load it.

Thanks, I'll give that hook a try.

Asynchronous export is a real help, especially with long documents full
of babel source blocks.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: [ANN] Asynchronous export for new exporter
  2012-12-14 21:21     ` Thomas S. Dye
@ 2012-12-30  8:32       ` Julien Cubizolles
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Cubizolles @ 2012-12-30  8:32 UTC (permalink / raw)
  To: emacs-orgmode

tsd@tsdye.com (Thomas S. Dye) writes:


> Asynchronous export is a real help, especially with long documents full
> of babel source blocks.

It would also be useful for org-mobile-push, a very slow process for me
at the moment.

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

end of thread, other threads:[~2012-12-30  8:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 14:57 [ANN] Asynchronous export for new exporter Nicolas Goaziou
2012-12-13 17:38 ` Alan Schmitt
2012-12-13 19:13 ` Thomas S. Dye
2012-12-14 19:43   ` Nicolas Goaziou
2012-12-14 21:21     ` Thomas S. Dye
2012-12-30  8:32       ` Julien Cubizolles

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