From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borchmann Subject: Bug: links are not highlighted anymore with Org Mode 9.2 Date: Thu, 03 Jan 2019 13:18:29 +0100 Message-ID: <877efmj5nu.fsf@algebra20.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gf1xT-0002QM-Rp for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 07:18:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gf1xQ-0000ZB-Ou for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 07:18:43 -0500 Received: from algebra20.de ([2001:1608:12:1:20:20:20:101]:34330 helo=mail.algebra20.de) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gf1xQ-0000RY-Ee for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 07:18:40 -0500 Received: from port-92-193-149-206.dynamic.qsc.de ([92.193.149.206] helo=tonne) by mail.algebra20.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1gf1xG-0001QX-7i for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 13:18:30 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hey, links in Org Mode 9.2 are not highlighted anymore if no :face keyword is given in =E2=80=98org-link-parameters=E2=80=99. The reason for this seems = to be that =E2=80=98org-activate-links=E2=80=99 uses the following code to determine w= hich face to use: =2D-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)) =2D-8<---------------cut here---------------end--------------->8--- However, =E2=80=98nil=E2=80=99 is a valid face, and thus this form returns = =E2=80=98nil=E2=80=99 instead of the default =E2=80=98org-link=E2=80=99 face if no :face keyword is given. Best, Daniel PS: Thanks a ton for Org Mode, I literally couldn=E2=80=99t live without it= ! :) =2D-=20 Daniel Borchmann GPG (Mail) 0849 473E 6BF0 B504 DF0B D640 455E 3610 01FF 778F --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEP0Ffjf+MObBqFqAUT2PbltRaqcYFAlwt/ZUACgkQT2PbltRa qcaEhQ/+OBqyD6aZ9ChdAQhePV+tLBuFKdHR6wv1XwdvvCfLEzTewcjCbC72qh7q OywDRaerWvcoRQsA30wITgGU0YY3/6SmAfiw7K9a2Fh/yVypJ/9EI328W5YPRM0W zfjaub1e6r/uKToKDfC+m9jlASEPdKv0y+FKASBpdBKv14GZpN22s14cb1EanLI0 Od2eh2omu91QPgSeCgGWYEYwV4gNjj1Hal6xbXB5KUkjXTNcb/+gGxYvFCRdpW+C VLE7xEEHMH/RwhCfypX8K2q4l20GMCJgfRXF7eLJCnWjibFja4hY7WVobpkDL3qt O5mQ0Old61BoMavfQnQ3WjEhW70SmtsyhDfRylFImAUkwwY0lWsbxzWq2N5PvjoA 20CRToXkf3ANdx97hpSlQvM4T90Ymf3JJThPhL99xFBXNyrTlu+VgXiqnNaOUXip /uYZHq2LKUAupdSIAGNSFQTtKV0iG7vkaq9Pc+qE5YnwExHRUg3PIO03ijhtS1Y8 XCzN7VOvYJzko4DemhiDo/pO0P+0qi4U1kzKX9hSP+NbakmmEFTTmfTY/hBccVqC lKdGBj3Z6NeeOmhdDC47oziinQmXDzv4ujIMAjMDLlLg30AEg/tCBXGdoVfbSLue DUJsljyjQeBJjwECeiOl8RSt2eE05RlaluxsDw+pUtDp10Xgbas= =FjYw -----END PGP SIGNATURE----- --=-=-=--