From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ox, patch] Keywords & what should go in ox? Date: Sun, 15 Mar 2015 09:28:05 +0100 Message-ID: <87a8ze3bsa.fsf@nicolasgoaziou.fr> References: <871tkrsmxh.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXtK9-0005Y3-7J for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 11:22:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXtK2-0000Mn-Lc for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 11:22:29 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:37232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXtK2-0000Me-9M for emacs-orgmode@gnu.org; Tue, 17 Mar 2015 11:22:22 -0400 In-Reply-To: <871tkrsmxh.fsf@gmx.us> (rasmus@gmx.us's message of "Sat, 14 Mar 2015 14:55:54 +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 Hello, Rasmus writes: > First, as discussed a while back we want to move DESCRIPTION and KEYWORDS > out of ox.el as they are specific to certain backends. The first patch > does this. Thanks. You can remove the keywords from "ox-org.el" and "ox-ascii.el", as they do not use them. You need to update (info "(org)Publishing options") accordingly, too. > Second, I want to add support for printing keywords. This patch is still > rough (i.e. no need commenting), but before proceeding I want to discuss > some things. The goal is to allow cool stuff like: > > #+begin_abstract > Read my paper, please... > #+keywords: org, markup > #+end_abstract > > And eventually: > > #+tile: my fancy blog > #+keywords: org, markup > > Where 'org' and 'markup' would magically become links to indexes (like on > them fancy blogs on the interwebs). I'm still not sure how to do the > latter (see TODO comment in patch). I fail to see how it is "cool". KEYWORDS are meant to add contents to meta-data, i.e., an area you cannot reach easily with regular Org syntax. As a consequence, KEYWORDS doesn't mean much for back-ends not supporting such meta-data. If KEYWORDS are meant to be inserted in the buffer, then write them using regular syntax, e.g., #+begin_abstract Read my paper, please... Keywords-in-my-language: [[http://link-to-tag-cloud][org]] #+end_abstract We don't need a convoluted markup for that, let's keep it simple. Regards, -- Nicolas Goaziou