From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: emphasis is hard-coded in org-element Date: Mon, 20 May 2013 01:41:45 +0200 Message-ID: <87li7atu4m.fsf@pank.eu> References: <87fvxizk7o.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeDEm-0004O1-87 for emacs-orgmode@gnu.org; Sun, 19 May 2013 19:42:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeDEl-0007gu-7r for emacs-orgmode@gnu.org; Sun, 19 May 2013 19:42:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:51253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeDEl-0007gp-1U for emacs-orgmode@gnu.org; Sun, 19 May 2013 19:41:59 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UeDEh-0006QW-AZ for emacs-orgmode@gnu.org; Mon, 20 May 2013 01:41:55 +0200 Received: from dynamic-adsl-94-34-140-56.clienti.tiscali.it ([94.34.140.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 May 2013 01:41:55 +0200 Received: from rasmus by dynamic-adsl-94-34-140-56.clienti.tiscali.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 May 2013 01:41:55 +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 Jonas Bernoulli writes: > Handling of emphasized text is hard-coded in org-element.el. I think this is a feature. It's been discussed a couple of times on the list and I think Carsten argued that it should be possible to make custom formats in the buffer; with export there'd be various ways such as the infamous [[latex:type][link]]. (Links can export whatever however, although it is not a very ecstatically pleasing solution). > Wouldn't it be better if bold, underline, ... would all use the same > parser and interpreter? I don't see another option that would allow > custom emphasize styles to be used with org-element. I guess that's the compromise (mentioned above). You can use the emphasis-alist for something crazy if you so desire. But I guess the org syntax as defined by org-element is 'fixed'. And that's probably also OK. –Rasmus -- When the facts change, I change my mind. What do you do, sir?