[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: links are not highlighted anymore with Org Mode 9.2
From: |
Daniel Borchmann |
Subject: |
Re: [O] Bug: links are not highlighted anymore with Org Mode 9.2 |
Date: |
Thu, 03 Jan 2019 15:37:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
ghItlhpu' Nicolas Goaziou <address@hidden>:
>> The reason for this seems to be that
>> ‘org-activate-links’ uses the following code to determine which face to
>> use:
>>
>> --8<---------------cut here---------------start------------->8---
>> (pcase (org-link-get-parameter type :face)
>> ((and (pred functionp) face) (funcall face path))
>> ((and (pred facep) face) face)
>> ((and (pred consp) face) face) ;anonymous
>> (_ 'org-link))
>> --8<---------------cut here---------------end--------------->8---
>>
>> However, ‘nil’ is a valid face,
>
> No, it isn't: (facep nil) => nil
Interesting!
I get (in the *scratch* buffer):
(facep nil) → [face unspecified unspecified unspecified unspecified
unspecified unspecified unspecified unspecified unspecified unspecified
unspecified ...]
M-x emacs-version returns
GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2018-12-26, modified by Debian
So this is more likely an issue of Emacs itself? Maybe it has been
fixed in a later version?
Thanks!
Daniel
--
Daniel Borchmann
GPG (Mail) 0849 473E 6BF0 B504 DF0B D640 455E 3610 01FF 778F
signature.asc
Description: PGP signature