Closed maxigit closed 13 years ago
Maxime -- Thanks for clarifying, I think I have it now.
I hadn't caught that first behavior you describe, definitely a good bug to get fixed.
For the second part I think the Org-mode behavior is what we want:
in nobold bold
Org-mode has the trailing bold in normal face, which seems right if we define boldface syntax as everything between a
Likewise in notbold bold* the word 'bold' is in boldface according to same rule.
So I'll try to edit your changes to fix only the first bug you identified. . .
Thanks again,
Herb
syntax only match if the emphasised word is not between word character. ie _not_bold is not bold because of the trailing bold. This behavior is closed to the original emacs syntax match. However, the current implementation is non-greedy whilst the orgmode is. example _everyt_thoing is bold ^^^^^^^^^^^^^^^^^^^^^ is bold in emacs whilst only this but not this ^^^^^^^^^ is bold on the original orgmode. this is not consistent. _everyt_thoing is bold nothign is bold with only this but not this "only this" is bold.