emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Berry <ccberry@ucsd.edu>
To: emacs-orgmode@gnu.org
Subject: Re: re-export using same options
Date: Mon, 23 Dec 2013 16:36:29 +0000 (UTC)	[thread overview]
Message-ID: <loom.20131223T171638-107@post.gmane.org> (raw)
In-Reply-To: 87zjnsl0ao.wl%n142857@gmail.com

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

  reply	other threads:[~2013-12-23 16:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-22 16:31 re-export using same options Daniel Clemente
2013-12-22 18:43 ` Charles Berry
2013-12-23  3:21   ` Daniel Clemente
2013-12-23 16:36     ` Charles Berry [this message]
2013-12-26  6:47       ` Daniel Clemente

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=loom.20131223T171638-107@post.gmane.org \
    --to=ccberry@ucsd.edu \
    --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).