emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Pattern of global/file/headings variables/settings
Date: Wed, 25 Sep 2013 16:10:27 +0200	[thread overview]
Message-ID: <87y56lrnzg.fsf@gmail.com> (raw)
In-Reply-To: 2013-09-25T14-40-50@devnull.Karl-Voit.at

Karl Voit <devnull@Karl-Voit.at> writes:

Hi,

> I wonder how Org-mode turned out as it is with regard to settings

> If not: why can't there be a general pattern where a user can assume
> that #+foo (file) can be applied as :FOO: (heading) as well?

and I wonder why 

,----------------------
| #+ATTR_HTML: :foo bar
`----------------------

on top of a table becomes a ':attr_html' attribute of the table 's
property list, but the same thing on top of a headline becomes a
(keyword ...) that belongs to the section preceding the headline - when
parsing the buffer with `org-element-parse-buffer'. 

I would have expected that all affiliated keywords with the pattern

,----------------------
| #+ATTR_<<backend>>: :foo bar
`----------------------

directly on top of an element are converted to attributes of the element
they are attached to, no matter what <<backend>> actually looks like
(or, at least, when <<backend>> is listed in `org-export-backends' or
`org-export--registered-backends' or so).

-- 
cheers,
Thorsten

      reply	other threads:[~2013-09-25 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-25 12:56 Pattern of global/file/headings variables/settings Karl Voit
2013-09-25 14:10 ` Thorsten Jolitz [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=87y56lrnzg.fsf@gmail.com \
    --to=tjolitz@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).