Hello, nbsp (non-breaking space, #xA0) is not recognized as blank in org-mode, such that “*text* :” (it’s a nbsp here) doesn’t recognize as emphasized… I recall a variable containing such characters but can’t find it again, does anyone know? the manual seems large and that looks non-obvious to find quickly…
On 20/10/21 12:54 pm, Alexandre Garreau wrote:
> Hello,
>
> nbsp (non-breaking space, #xA0) is not recognized as blank in org-mode,
> such that “*text* :” (it’s a nbsp here) doesn’t recognize as emphasized…
>
> I recall a variable containing such characters but can’t find it again,
> does anyone know? the manual seems large and that looks non-obvious to find
> quickly…
>
I've been using "INVISIBLE SEPARATOR", and invoke:
(modify-syntax-entry ? " ")
(there's a invisible separator after the "?"), which tells emacs to
consider that character to be whitespace.
I know there is a (possibly more than one) variable defining regular
what can appear immediately before and after emphasis and other markers,
but I've never puzzled out how to get them to include invisible characters.
I generally use this technique for combining markup, or making a
marked-up name plural (e.g., ~object name~s).
there exists org-emphasis-regexp-components, fwiw. On 10/19/21, Alexandre Garreau <galex-713@galex-713.eu> wrote: > Hello, > > nbsp (non-breaking space, #xA0) is not recognized as blank in org-mode, > such that “*text* :” (it’s a nbsp here) doesn’t recognize as emphasized… > > I recall a variable containing such characters but can’t find it again, > does anyone know? the manual seems large and that looks non-obvious to find > > quickly… > > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
Le mercredi 20 octobre 2021, 03:42:08 CEST Samuel Wales a écrit :
> there exists org-emphasis-regexp-components, fwiw.
oh thanks that’s it!
but adding “ ” to its two first elements doesn’t seem to work… and it’s not
anymore a defcustom… does it make it lexically binded so that I have to
redefine it somewhere else than at prompt or in init.el?