From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox] possible to modify org-export-document-properties OTG Date: Sun, 22 Mar 2015 02:06:56 +0100 Message-ID: <87384x4z7z.fsf@nicolasgoaziou.fr> References: <87vbi030eb.fsf@gmx.us> <87k2yg115l.fsf@nicolasgoaziou.fr> <87iodytfza.fsf@gmx.us> <877fua3q0z.fsf@nicolasgoaziou.fr> <87vbhtvqtz.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZUKr-0008Cn-IE for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 21:05:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZUKo-0002XO-Co for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 21:05:49 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:45032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZUKo-0002Vx-6K for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 21:05:46 -0400 In-Reply-To: <87vbhtvqtz.fsf@gmx.us> (rasmus@gmx.us's message of "Sun, 22 Mar 2015 01:06:00 +0100") 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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > I /think/ that is what I would like. But I don't understand the what you > mean concretely: would you have something like: > > (:subject "SUBJECT" nil nil space parsed) (:subject "SUBJECT" nil nil parsed) `parsed' behavior implies `space' anyway, since we're talking about secondary strings. Basically, (plist-get info :subject) would return the same as the following, currently, (org-element-parse-secondary-string (plist-get info :subject) (org-element-restriction 'keyword)) > I agree this is a difficult problem. Personally, I think it is fine to > consider a keyword as a keyword and nothing more, and not consider content > within a keyword. However, as I recall, John had a post a while back > about mapping over bold in CAPTIONS or something like that. `org-element-map' can find objects in captions, with an optional argument. > I think it may be a mess to interpret content of a keyword at > org-element-map level. Consider if #+SUBJECT is interpreted with in > ox-koma-letter but not in an imaginary ox-new-letter. Would it not be > confusing? I think so. Regards,