emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: emphasis is hard-coded in org-element
Date: Mon, 20 May 2013 01:41:45 +0200	[thread overview]
Message-ID: <87li7atu4m.fsf@pank.eu> (raw)
In-Reply-To: 87fvxizk7o.fsf@bernoul.li

Jonas Bernoulli <jonas@bernoul.li> 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?

      reply	other threads:[~2013-05-19 23:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-19 22:19 emphasis is hard-coded in org-element Jonas Bernoulli
2013-05-19 23:41 ` Rasmus [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=87li7atu4m.fsf@pank.eu \
    --to=rasmus@gmx.us \
    --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).