Re: [O] re-export using same options

2013-12-25 Thread Daniel Clemente


  Can I re-export using the last settings? 
   
   C-u C-c C-e
  
Thanks, that makes it faster, but you need to be in the same subtree. 
 
 Not so.
 

  With org-mode from some days ago it was failing: only moving to a new subtree 
would make C-u C-c C-e export the new subtree (using the old format).
  But I tried again today with latest org-mode and it doesn't happen; now the 
old tree is remembered correctly.
  Thanks for pointing it out.


 and it appears to update during edits so that same the subtree is found
 in subsequent exports. This
 
  If the current buffer hasn't changed and subtree export 
  was activated, the command will affect that same subtree.
 
 seems to say that buffer edits will break C-u C-c C-e, but 
 that did not happen in the examples I tried.

  This happened to me (the marker pointed to a different subtree) but only if 
my edits were before the marker, not after. But since most people want to edit 
things below the heading they export, this shouldn't be a common problem.



Re: [O] re-export using same options

2013-12-23 Thread Charles Berry
Daniel Clemente n142857 at gmail.com writes:

 
   
 Can I re-export using the last settings? 
  
  C-u C-c C-e
 
   Thanks, that makes it faster, but you need to be in the same subtree. 

Not so.

Recent versions of org-mode use this variable to find the subtree:

org-export-dispatch-last-position is a variable defined in `ox.el'.
Its value is #marker at 219 in *scratch*

Documentation:
The position where the last export command was created using the dispatcher.
This marker will be used with `C-u C-c C-e' to make sure export repetition
uses the same subtree if the previous command was restricted to a subtree.

and it appears to update during edits so that same the subtree is found
in subsequent exports. This

 If the current buffer hasn't changed and subtree export 
 was activated, the command will affect that same subtree.

seems to say that buffer edits will break C-u C-c C-e, but 
that did not happen in the examples I tried.

 Is there something that also remembers which subtree was exported?
 


If you still think there is a problem, you should produce an ECM[1] to
demonstrate it.


[1] http://orgmode.org/worg/org-faq.html#ecm




Re: [O] re-export using same options

2013-12-22 Thread Charles Berry
Daniel Clemente n142857 at gmail.com writes:

 
 
   Hi, after exporting a subtree to HTML, I do some change and want to
export again. I find that I have to do a long
 process to get there:
 C-spaceC-c C-u   C-c C-e C-s h HC-u space
 
[snip]
 
   Can I re-export using the last settings? 

[snip]

C-u C-c C-e

See the manual

   (org) The export dispatcher




Re: [O] re-export using same options

2013-12-22 Thread Daniel Clemente
  
Can I re-export using the last settings? 
 
 C-u C-c C-e

  Thanks, that makes it faster, but you need to be in the same subtree. Is 
there something that also remembers which subtree was exported?