emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: emacs-orgmode@gnu.org
Subject: Re: Suggestion: Export templates: use drawers to group
Date: Mon, 19 Sep 2016 09:12:51 +0200	[thread overview]
Message-ID: <m2mvj4gy6k.fsf@krugs.de> (raw)
In-Reply-To: <87bmzmrjt1.fsf@saiph.selenimh> (Nicolas Goaziou's message of "Sat, 17 Sep 2016 10:51:06 +0200")

[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Rainer M Krug <Rainer@krugs.de> writes:
>
>> If I have many headers in a document, it is easy to loose the overview
>> for me.
>>
>> So I started to use drawers:
>>
>> :OPTIONS:
>> ...
>> :END:
>>
>> :LATEX:
>> ....
>> :END:
>>
>> :BABEL:
>> ...
>> :END:
>>
>> and have only the "standard" content type options open (DESCRIPTION,
>> KEYWORDS, SUBTITLE, DATE, AUTHOR, ...)
>>
>> Would this be something to include into the templates which can be
>> inserted (C-e C-L #)? This would make it much easier to work with these
>> options.
>
> Do you suggest that `org-export-insert-default-template' should group
> options within drawers by default?

Yes - that was my idea.

>
> If so, I'm not too keen of the idea of imposing drawers to the user.

My reasoning is that it makes organizing options easier and that users
get introduced into the idea of using dawers.

> Besides, templates are already separated by back-end so you can insert
> them within pre-created drawers already. 

True - it is not difficult, but might be more intuitive and lead to
easier readable options.

>
> There is no "babel" or "options" category, though. I guess we could
> create them, if needed.

No - I don't think they are needed, as there are many different use
cases for babel - but thinking about it, it might be an idea to insert
the most widely used options for babel and set them at their default
values - so documents become more robust and the options become
introduced to the user.

Cheers,

Rainer


>
> Regards,

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

      reply	other threads:[~2016-09-19  7:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-16 11:57 Suggestion: Export templates: use drawers to group Rainer M Krug
2016-09-17  8:51 ` Nicolas Goaziou
2016-09-19  7:12   ` Rainer M Krug [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=m2mvj4gy6k.fsf@krugs.de \
    --to=rainer@krugs.de \
    --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).