[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-orgmode] Version 4.12 released
From: |
Alex Bochannek |
Subject: |
Re: [Emacs-orgmode] Version 4.12 released |
Date: |
Thu, 23 Mar 2006 17:32:58 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) |
I looked over the emphasis expressions again and I really think it
would be useful to allow non-emphasis symbol characters and single
spaces.
I have experimented a bit and the following *should* work, but for
some reason sends my EmacsW32 into an infinite loop when I open a .org
file.
(if em '("\\(\\W\\|^\\)\\(\\*\\([[:graph:]]+?[
]?\\)+?[[:graph:]]+?\\*\\)\\(\\W\\|$\\)" 2 'bold))
Suggestions as to what the problem might be are welcome.
Also, I think the change to \W as delimiters is probably a good idea,
but something more explicit may make more sense. I am thinking along
the lines of "[[:punct:][:space:]]" as I had suggested earlier. I
guess it would really depend on where one would expect to see an
emphasized word. Keep in mind that $ and % are part of character class
\w for example.
Alex.