emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Syntax inconsistency?


From: Nicolas Goaziou
Subject: Re: [O] Syntax inconsistency?
Date: Mon, 03 Nov 2014 09:28:30 +0100

Hello,

Marcin Borkowski <address@hidden> writes:

> just wondering: on one hand, we have lines like
>
> #+OPTIONS: toc:nil

This is a keyword.

> On the other hand, we have
>
> #+ATTR_ASCII: :width 10

This is an attribute.

> Why is the syntax (seemingly, at least) inconsistent?  Why not
> `width:10' or `:toc nil'?

These are two different things, so there is no real reason to make them
look like each other. Also, and more importantly, moving OPTIONS to the
other syntax is, IMO, unreadable:

  #+OPTIONS: :| t :^ nil :* t :\n t

Note there is also another syntax type, e.g.,:

 #+TOC: headlines 2


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]