emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Two questions about org-export-insert-default-template in new org-exporter
Date: Tue, 04 Jun 2013 20:02:09 +0200	[thread overview]
Message-ID: <87li6p3gbi.fsf@pank.eu> (raw)
In-Reply-To: 51AE288B.2030709@sift.info

Robert Goldman <rpgoldman@sift.info> 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!

  reply	other threads:[~2013-06-04 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-04 17:48 Two questions about org-export-insert-default-template in new org-exporter Robert Goldman
2013-06-04 18:02 ` Rasmus [this message]
2013-06-04 18:19   ` Jonathan Leech-Pepin
2013-06-04 18:21     ` Jonathan Leech-Pepin

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=87li6p3gbi.fsf@pank.eu \
    --to=rasmus@gmx.us \
    --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).