From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-store-link misinterprets headings containing multiple links [8.3.4 (8.3.4-34-gacfd41-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20160411/)] Date: Tue, 26 Apr 2016 21:07:00 +0200 Message-ID: <87r3dsmbor.fsf@saiph.selenimh> References: <20160423180451.GA2637@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1av8KF-00031a-3j for emacs-orgmode@gnu.org; Tue, 26 Apr 2016 15:07:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1av8KB-0004EK-V1 for emacs-orgmode@gnu.org; Tue, 26 Apr 2016 15:07:11 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:39828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1av8KB-0004E4-O5 for emacs-orgmode@gnu.org; Tue, 26 Apr 2016 15:07:07 -0400 In-Reply-To: <20160423180451.GA2637@gmail.com> (Georgiy Tugai's message of "Sun, 24 Apr 2016 03:34:51 +0930") 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: Georgiy Tugai Cc: emacs-orgmode@gnu.org Hello, Georgiy Tugai writes: > Reproducing the bug > =================== > > - Create a heading (of any level). The heading title should contain at > least two links, of any type. For example, `[[#A][alpha]]' > `[[#B][beta]]' > - With point on the heading, call `org-store-link'. > > > Expected behaviour > ================== > > - The "Stored: " message contains the text of the links ("Stored: > alpha beta") > - The stored link's description contains the text of the links ("alpha > beta") > > > Actual behaviour > ================ > > - The "Stored: " message contains the text of the *first* link, > repeated multiple times depending on the number of other links in > the heading. ("Stored: alpha alpha") > - The stored link's description matches the message ("alpha alpha") > > ------------------------------------------------------------------------ Fixed. Thank you. Regards, -- Nicolas Goaziou