From: Daniel Borchmann <daniel@algebra20.de>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: links are not highlighted anymore with Org Mode 9.2
Date: Thu, 03 Jan 2019 15:37:56 +0100 [thread overview]
Message-ID: <871s5tkdrv.fsf@algebra20.de> (raw)
In-Reply-To: <87o98xvoqk.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Thu, 03 Jan 2019 14:45:39 +0100")
[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]
ghItlhpu' Nicolas Goaziou <mail@nicolasgoaziou.fr>:
>> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2019-01-03 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-03 12:18 Bug: links are not highlighted anymore with Org Mode 9.2 Daniel Borchmann
2019-01-03 13:45 ` Nicolas Goaziou
2019-01-03 14:37 ` Daniel Borchmann [this message]
2019-01-03 15:15 ` Daniel Borchmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871s5tkdrv.fsf@algebra20.de \
--to=daniel@algebra20.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).