[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] newline element of org-emphasis-regexp-components no longer hono
From: |
Eric Abrahamsen |
Subject: |
Re: [O] newline element of org-emphasis-regexp-components no longer honored? |
Date: |
Fri, 11 Nov 2016 08:43:57 -0800 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Eric Abrahamsen <address@hidden> writes:
>
>> Eric Abrahamsen <address@hidden> writes:
>>
>>> So far as I can tell, the last element of this option is no longer
>>> honored -- I've had it set to 3 for ages, but highlighting and export
>>> only accept 1. I'm on Emacs git, and org-plus-contrib from Elpa.
>>>
>>> Does anyone else see this?
>>>
>>> E
>>
>> To provide more information, I use this to set the final element (and
>> some other elements):
>>
>> (setf (nth 4 org-emphasis-regexp-components) 3)
>>
>> That's always done the trick in the past. I just checked `org-emph-re',
>> and indeed it is still at the default value.
>>
>> Has anything changed about how this variable is set?
>
> `org-emphasis-regexp-components' was moved to a defvar instead of
> a defcustom a long time ago (around 8.0 release). So you probably need
> to call `org-set-emph-re' with appropriate arguments to update regexps.
Well weird, I was sure it was still working up until recently. Anyway,
I'll adjust my setup.
Thanks!
Eric