From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: org-emphasis-regexp-components and headline bolding
Date: Fri, 03 Jun 2011 20:34:59 -0700 [thread overview]
Message-ID: <87ei3a1d7g.fsf@ericabrahamsen.net> (raw)
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
block):
--8<---------------cut here---------------start------------->8---
#+EXPORT_EXCLUDE_TAGS: noexport
* 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…
Eric
reply other threads:[~2011-06-04 3:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87ei3a1d7g.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).