From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] org: Prevent loss of `re-search-forward' results Date: Mon, 16 Sep 2019 18:57:53 +0200 Message-ID: <87woe85gby.fsf@nicolasgoaziou.fr> References: <1054971006.20190829230306@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48798) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i9uKH-0007kp-Qg for emacs-orgmode@gnu.org; Mon, 16 Sep 2019 12:58:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i9uKA-0006Nl-DP for emacs-orgmode@gnu.org; Mon, 16 Sep 2019 12:58:09 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:45741) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i9uK9-0006NE-Rd for emacs-orgmode@gnu.org; Mon, 16 Sep 2019 12:58:02 -0400 In-Reply-To: <1054971006.20190829230306@gmail.com> (Max Mouratov's message of "Thu, 29 Aug 2019 23:03:06 +0500") 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: Max Mouratov Cc: emacs-orgmode@gnu.org Hello, Max Mouratov writes: > * 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'. Applied. Thank you! Regards, -- Nicolas Goaziou