From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Holst Subject: bug with emacs 26.3 and hyperlinks Date: Tue, 17 Sep 2019 17:35:02 +0200 Message-ID: <87ftkv0wd5@boerne> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35769) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAFVa-0005rp-2w for emacs-orgmode@gnu.org; Tue, 17 Sep 2019 11:35:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAFVY-0001Ka-Py for emacs-orgmode@gnu.org; Tue, 17 Sep 2019 11:35:13 -0400 Received: from mout.gmx.net ([212.227.15.15]:51601) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iAFVY-0001Jo-Di for emacs-orgmode@gnu.org; Tue, 17 Sep 2019 11:35:12 -0400 Received: from boerne ([188.106.27.177]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lu874-1i2rDt3hos-011UT4 for ; Tue, 17 Sep 2019 17:35:03 +0200 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 Hello, today I upgraded to emacs 26.3. and links don't show up correct anymore with org-mode from git. The link is shown not the description. Steps to reproduce: =test.org=: #+begin_src org [[http://www.google.com][A Test link]] #+end_src : emacs -Q --find-file="test.org" All links are shown as described above. =git bisect= shows following commit as root cause: Author: Max Mouratov Date: Thu Aug 29 22:48:22 2019 +0500 Prevent loss of `re-search-forward' results * org.el (org-activate-links): `match-beginning' and `match-end` should be called shortly after `re-search-forward'. Otherwise, they may return values corresponding to a different invocation of `re-search-forward'. TINYCHANGE :040000 040000 f3bac3041e71bff7b3c0ca2495bd629d8f3f2833 634c8baa25f1ad4f3620d9ad26995ac17c26de6b M lisp "GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-09-16" Org mode version 9.2.6 (release_9.2.6-541-g46767c @ /home/thommy/git-emacs/org-mode/lisp/) Thanks for looking into this. -- Thomas