From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Exporter interface question Date: Thu, 28 Feb 2013 10:05:03 +0100 Message-ID: <15802BBD-5102-4531-B386-C1408396DDB7@gmail.com> References: <871uc2t9z7.fsf@gmail.com> <8993D674-E5E6-4B8E-AE3C-75F694371459@gmail.com> <8738whsrx3.fsf@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAzQH-00053R-4C for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 04:05:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAzQG-0005JT-3s for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 04:05:05 -0500 Received: from mail-bk0-f47.google.com ([209.85.214.47]:48090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAzQF-0005I3-T7 for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 04:05:04 -0500 Received: by mail-bk0-f47.google.com with SMTP id jc3so695027bkc.6 for ; Thu, 28 Feb 2013 01:05:03 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Org-mode List On 28.2.2013, at 09:39, Carsten Dominik = wrote: >=20 > On 27.2.2013, at 16:22, Nicolas Goaziou wrote: >=20 >> Carsten Dominik writes: >>=20 >>> OK, I see that this is a bit less trivial then I thought, requires >>> that I study the ui interface a bit more.=20 >>=20 >> I think the only pieces of the UI involved are `org-export-dispatch' >> function and `org-export-dispatch-last-action' variable. >>=20 >>> If you want to rush ahead and implement it let me know - otherwise >>> this will be a few days before I find the time. >>=20 >> There's no hurry. It can wait a few days. >=20 > OK, I pushed this change, maybe it is good if you have a brief look, = Nicolas. > It was great fun and educational to study your very clear code. Sorry for following up on my own post. I forgot to mention that I did put in the restriction to make this work only if the export command is called in the same buffer. However, I am not checking if the cursor is in the same subtree - it seems to me that the behavior would become too unpredictable. Also, I have not yet documented the change in the manual, of course. - Carsten