From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Question about org-emph-re Date: Thu, 20 May 2010 21:46:17 -0500 Message-ID: <4BF5F3F9.8040809@sift.info> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=44481 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFIFi-0004Y1-IV for emacs-orgmode@gnu.org; Thu, 20 May 2010 22:46:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFIFh-0001qX-3y for emacs-orgmode@gnu.org; Thu, 20 May 2010 22:46:22 -0400 Received: from mpls.sift.info ([75.146.46.193]:36249) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFIFg-0001qF-TD for emacs-orgmode@gnu.org; Thu, 20 May 2010 22:46:21 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode 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