From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Two questions about org-export-insert-default-template in new org-exporter Date: Tue, 04 Jun 2013 20:02:09 +0200 Message-ID: <87li6p3gbi.fsf@pank.eu> References: <51AE288B.2030709@sift.info> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjvYz-0003aw-Aq for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 14:02:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjvYu-0006CO-HZ for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 14:02:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:32905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjvYu-0006Ap-BQ for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 14:02:24 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UjvYs-0001JN-MX for emacs-orgmode@gnu.org; Tue, 04 Jun 2013 20:02:22 +0200 Received: from ip-pool-133.iue.it ([192.167.90.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Jun 2013 20:02:22 +0200 Received: from rasmus by ip-pool-133.iue.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Jun 2013 20:02:22 +0200 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: emacs-orgmode@gnu.org 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 > 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). –Rasmus -- Enough with the bla bla!