From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Pattern of global/file/headings variables/settings Date: Wed, 25 Sep 2013 16:10:27 +0200 Message-ID: <87y56lrnzg.fsf@gmail.com> References: <2013-09-25T14-40-50@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOpnm-0007CD-0V for emacs-orgmode@gnu.org; Wed, 25 Sep 2013 10:10:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOpng-0008L2-6v for emacs-orgmode@gnu.org; Wed, 25 Sep 2013 10:10:49 -0400 Received: from plane.gmane.org ([80.91.229.3]:45935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOpnf-0008KF-Ez for emacs-orgmode@gnu.org; Wed, 25 Sep 2013 10:10:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VOpnc-0001wo-QZ for emacs-orgmode@gnu.org; Wed, 25 Sep 2013 16:10:40 +0200 Received: from g231232115.adsl.alicedsl.de ([92.231.232.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Sep 2013 16:10:40 +0200 Received: from tjolitz by g231232115.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Sep 2013 16:10:40 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Karl Voit 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_<>: :foo bar `---------------------- directly on top of an element are converted to attributes of the element they are attached to, no matter what <> actually looks like (or, at least, when <> is listed in `org-export-backends' or `org-export--registered-backends' or so). -- cheers, Thorsten