emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Goldman <rpgoldman@sift.info>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Question about org-emph-re
Date: Thu, 20 May 2010 21:46:17 -0500	[thread overview]
Message-ID: <4BF5F3F9.8040809@sift.info> (raw)

I have been trying to make the generic exporter do fontification (bold,
italic, underline, etc.) and have fairly successfully managed to do this
by cargo-culting the code in org-latex.

But I've run myself on a rock.  I can't figure out what the various
matches are that you get when you match org-emph-re.  There are at least
5 matches, and some may be empty, etc.  I don't /believe/ these are
documented anywhere (or I didn't find the docs).

Can anyone tell me what (match-string x) will be after a (string-match
org-emph-re string) call?  Or tell me where to look to figure it out?

If so, I think I can get the fontification to work for org-generic-export.

(also, emacs-lisp question --- is there some way to /clear/ all the
registers for MATCH-STRING?  When I have been doing this, I have
occasionally had troubles where match-string outputs from previous calls
to string-match seem to "bleed through.")

thanks!
r

             reply	other threads:[~2010-05-21  2:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21  2:46 Robert Goldman [this message]
2010-05-21  7:31 ` Question about org-emph-re Carsten Dominik
2010-05-21 12:58   ` Robert Goldman

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=4BF5F3F9.8040809@sift.info \
    --to=rpgoldman@sift.info \
    --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).