emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Marcin Borkowski <mbork@wmi.amu.edu.pl>
Cc: Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Syntax inconsistency?
Date: Mon, 03 Nov 2014 09:28:30 +0100	[thread overview]
Message-ID: <87k33cg029.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87zjc9dq88.fsf@wmi.amu.edu.pl> (Marcin Borkowski's message of "Mon, 03 Nov 2014 02:31:35 +0100")

Hello,

Marcin Borkowski <mbork@wmi.amu.edu.pl> 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	other threads:[~2014-11-03  8:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-03  1:31 Syntax inconsistency? Marcin Borkowski
2014-11-03  8:28 ` Nicolas Goaziou [this message]
2014-11-03 13:17   ` Marcin Borkowski

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=87k33cg029.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mbork@wmi.amu.edu.pl \
    /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).