From: Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Two questions about org-export-insert-default-template in new org-exporter
Date: Tue, 4 Jun 2013 14:21:58 -0400 [thread overview]
Message-ID: <CAEWDx5dNpAhuk-hEq=C=HiKbwhNOzaHUURgQzXAr3LNFPbJ-gw@mail.gmail.com> (raw)
In-Reply-To: <874ndd20yk.fsf@leechpepin.com>
Oops, sent incomplete.
On 4 June 2013 14:19, Jonathan Leech-Pepin
<jonathan.leechpepin@gmail.com> wrote:
>
> Hello,
>
> Rasmus writes:
>
>> 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
>>
>
> 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).
>>
>> –Rasmus
>
prev parent reply other threads:[~2013-06-04 18:22 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
2013-06-04 18:19 ` Jonathan Leech-Pepin
2013-06-04 18:21 ` Jonathan Leech-Pepin [this message]
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='CAEWDx5dNpAhuk-hEq=C=HiKbwhNOzaHUURgQzXAr3LNFPbJ-gw@mail.gmail.com' \
--to=jonathan.leechpepin@gmail.com \
--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).