emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-emphasis-regexp-components and headline bolding
@ 2011-06-04  3:34 Eric Abrahamsen
  0 siblings, 0 replies; only message in thread
From: Eric Abrahamsen @ 2011-06-04  3:34 UTC (permalink / raw)
  To: emacs-orgmode

I've twiddled my org-emphasis-regexp-components variable to allow
emphasis next to a wider array of characters, with the result that the
first headline of one particular file is interpreted as emphasized
(presumably the headline stars are read as bold emphasis markers). This
means the text of the first two headlines is not exported when the file
is exported (though the following text appears normally). This is the
top of the file (only including the last line of the export options

--8<---------------cut here---------------start------------->8---

* Chapter 1
** 我是处长 							   :noexport:

--8<---------------cut here---------------end--------------->8---

The first headline is bold, as are the two stars of the second headline
(not the text of the second headline). The bold remains until I edit the
second-level headline somewhere before the start of the text: ie, delete
and re-insert one of the two stars, or the space between the stars and
the text. I guess that re-scans for emphasis, and the bolding goes away.

My value for org-emphasis-regexp-components:

(" 	('\"{…—-" " …—-	.,:!?;'\")}\\" " 	
,\"'" "." 10)

And the default:

(" 	('\"{" "- 	.,:!?;'\")}\\" " 	
,\"'" "." 1)

There seems to be an unprintable ^M character before the newline in the
default value which might not come through in this email. Otherwise I
think the only difference is some added unicode characters…

Thanks in advance for any help! Hope this is a real bug…


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-04  3:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-04  3:34 org-emphasis-regexp-components and headline bolding Eric Abrahamsen

Code repositories for project(s) associated with this public inbox


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).