From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: Two questions about org-export-insert-default-template in new org-exporter Date: Tue, 4 Jun 2013 14:21:58 -0400 Message-ID: References: <51AE288B.2030709@sift.info> <87li6p3gbi.fsf@pank.eu> <874ndd20yk.fsf@leechpepin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujvrr-0002iC-VY for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 14:22:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ujvrq-00059y-Nn for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 14:21:59 -0400 Received: from mail-ve0-x22e.google.com ([2607:f8b0:400c:c01::22e]:57447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujvrq-00059t-JA for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 14:21:58 -0400 Received: by mail-ve0-f174.google.com with SMTP id oz10so494683veb.5 for ; Tue, 04 Jun 2013 11:21:58 -0700 (PDT) In-Reply-To: <874ndd20yk.fsf@leechpepin.com> 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 Cc: Org Mode Mailing List Oops, sent incomplete. On 4 June 2013 14:19, Jonathan Leech-Pepin wrote: > > Hello, > > Rasmus writes: > >> Robert Goldman writes: >> >>> 1. The original org-insert-export-options-template always inserted the >>> template at the top of the file. The new one inserts at point. Since >>> the options need to be at the top of the file, would there be any >>> objection to making the new template inserter behave the same way? >> >> I can't reproduce your claim on Org v8.03. >> >> For instance this works great with html and LaTeX. >> >> #+BEGIN_SRC org >> * TODO my topic >> this is my documents with garbage in the bottom >> * hide the boring stuff :noexport: >> #+TITLE: my boring title >> #+AUTHOR: my boring name >> #+DATE: Another day at the office >> #+OPTIONS: toc:nil todo:nil >> #+END_SRC >> > > I don't remember this being the case in previous versions either, I > usually had something along the lines of > #+BEGIN_SRC org ,* Configuration :ARCHIVE: ,#+TITLE: TITLE ,#+AUTHOR: me #+END_SRC as the last headline in my file. Regards, Jon > >>> 2. Users can directly issue this command using M-x >>> org-export-insert-default-template, since it's tagged as (interactive). >>> Since this is possible, wouldn't it make sense to have the function >>> query for the BACKEND argument when invoked interactively? >> >> Use the export dispatcher. C-e # or C-e l # (for LaTeX). >> >> =E2=80=93Rasmus >