From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mLewNuzMLWPQXAEAbAwnHQ (envelope-from ) for ; Fri, 23 Sep 2022 17:12:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0HiyNuzMLWOeXgAAauVa8A (envelope-from ) for ; Fri, 23 Sep 2022 17:12:44 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 746D5995E for ; Fri, 23 Sep 2022 17:12:44 +0200 (CEST) Received: from localhost ([::1]:54718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obkM7-0006WQ-AO for larch@yhetil.org; Fri, 23 Sep 2022 11:12:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obkLE-0006Vr-Jr for emacs-orgmode@gnu.org; Fri, 23 Sep 2022 11:11:48 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:43647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obkLC-0005Bx-6n for emacs-orgmode@gnu.org; Fri, 23 Sep 2022 11:11:47 -0400 Received: by mail-lf1-x12c.google.com with SMTP id o2so733377lfc.10 for ; Fri, 23 Sep 2022 08:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date; bh=TfqSnt82+WBpZAagcecCAmRPItDK0SDFitQd9foy2O8=; b=OoUFFJtjzRhZYO+wFeEC8BXSWwA4Hj5iwuDpbQ78oH2DqQNDXs+lGoQQw5/ttTTTgO ljLM36oKLHYo/vZ2d/yEX1HAfHa+MRQWKlfZxSwyvN7n9FUlHpPz7mnFwtt01tidhS7Z Qv2CJEXtZwmSLb7NoI7whHBOTgw+/Vua53jF/q98vdmYM6H2VhtDpmHR8FYxvPQR09Es XTYE+dyGi+urMAwDcmzfwlwD4eC622O+GD5G/eBIuxt6Qa5EmnO25Hy4tUEdX4AHkTc9 SQE3jkDQtqXabPIzw9CuWCuYIlWtDz9YrzkTBH3dVKuKgLgDRQ0Yd8+5ZuMTCpVvS7YB EtWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date; bh=TfqSnt82+WBpZAagcecCAmRPItDK0SDFitQd9foy2O8=; b=0lMMbNUg6IUHL4u1b240udWc8Y9RFVaUtObOv8SGjtsWD9QwTqLjF1Y7uMsuPuALRi LQeBIo7LItoKcWfMYJuSbyg+p797j0ForRyyQ7Bk4Ghqen9p8BjsW/SHFFBWr+GqTiLC jEtugpLRa87+Vw0seCS7lPIrAEEhfYORlGv3VWPItP1sD2gCj5rgBBHBjYYuSxuUKJh9 X8mqoiVDKQK3M27aUAp95LoMgAwYJyREg+UCC1M7PMuZ59d421cE1ykXa5FPBdpv4Da3 2ehwmM9GVROBBWNlrz4oYdRPd+R5Xrehy6EqhrdLXV820dxIqoKdkHEW6ue1P9s6Xuaq 7PyQ== X-Gm-Message-State: ACrzQf1RdcqSRUSNg1D7JVZLjXo2xGz7HKaV0NcTT/nwBTe9qAZOIrcB zId+F/2JCmz/S1i9KbwSOKw= X-Google-Smtp-Source: AMsMyM47YTwxJbT0VRcEvUcGshdrFYslnZFi3BtcQsEA+uytNs+WDZcAcOpyg28BRdzvLjAaDLee+w== X-Received: by 2002:a05:6512:10c1:b0:491:4104:cf92 with SMTP id k1-20020a05651210c100b004914104cf92mr3675188lfg.211.1663945901406; Fri, 23 Sep 2022 08:11:41 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id u21-20020ac258d5000000b004a0232613desm841634lfo.205.2022.09.23.08.11.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Sep 2022 08:11:40 -0700 (PDT) Message-ID: <7b720d8c-d316-60b0-84b7-73ea36391615@gmail.com> Date: Fri, 23 Sep 2022 22:11:37 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [FR] Display heading alongside id in org-insert-link completion Content-Language: en-US From: Max Nikulin To: Sterling Hooten , emacs-orgmode@gnu.org References: <06BE53AE-1B2B-479C-852B-517C6F443123@gmail.com> <54d6e701-b3cb-3dd0-d4cb-5518b20cbb60@gmail.com> In-Reply-To: <54d6e701-b3cb-3dd0-d4cb-5518b20cbb60@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663945964; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TfqSnt82+WBpZAagcecCAmRPItDK0SDFitQd9foy2O8=; b=HjBxY+JN8jPidfcN6o7UwLwAvW+1CtliibEE+ClHxWf3VkOcoRzUHN+VtkNT7ExKi51t5J PSEufEUc8KzRyWS1c5tJDLJqImdr/esRWhYrwQUqZzm5rkjNvw7vp06KQmlnzBOEiZ/0Rm ALgbx1bmUpMC5gTfMBp4cqiOMusYudkmwO+3T/K1JFfJDv2spuHuRMQ6xKzIvHnE+v2tj8 CjdHTkFfqCtWysx9DCNVZNTCd23uhDVw+PUsjq3K42NfY3E+qMypidlCroXfWcZEgCMSwi qM/tqbYPANcx7iYoGDDI5+CY4KPhb8ywrW4L0KgMSbsK9d9oYp82IBU2D1c+sg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663945964; a=rsa-sha256; cv=none; b=aGqTybcE8Rv6AuqcQjYNtwmKZHqI2IZFQWMFQfGRPX3OB4CVsClccxWN+WoEgqkaYcuAcE UWl7Hgd5rex5hBO2rmxlRiWf5Nz4hp4dxI9t4NvBghwnEExdid4q6AQ5s5a1Cs2Olak7J8 b9xPlX42hdulR6MoGc2+U4imNZjkhcH5N0cVba0iWhPukymdTPNdcNZS/M/kYltonKfUKq W1NlQ7xZmbjoNLUQKBAj9ojeexfdvaLvgz4Rv+WccaFCxwbwHBmqkGiowoq9+Bjudmv60K KcGWkuKl3z41W/Y3Tz3vaa9oJ85Ebyu5BYTbaZIehyxX4Z1bPiHeoG6mqmBJKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OoUFFJtj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OoUFFJtj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 746D5995E X-Spam-Score: 7.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: XAAkBrYyUtsT On 22/09/2022 23:49, Max Nikulin wrote: > On 22/09/2022 21:20, Sterling Hooten wrote: >> >> When trying to insert a stored 'id' link with org-insert-link the >> candidates are just the 'id' numbers themselves. This doesn't help >> when trying to determine what the 'id' actually points to. Is there a >> way for org-insert-link to display headings or other information >> (maybe the tags or other heading properties) wih a completion >> framework like Ivy? > > I have tried release version ("bugfix" branch) and the "main" branch. In > both cases `org-store-link' saves heading description and it is > displayed in the stored link list. In the development ("main") branch > completion by link description for `org-insert-link' was recently fixed. Sterling, you sent response off list. I have tried release_9.5.2-434-gbebf0b, but I still can not reproduce your issue. emacs -Q -L ~/src/org-mode/lisp/ test.org M-: to evaluate (require 'org-id) (setq org-id-link-to-org-use-id t) M-x org-store-link C-c C-l (org-insert-link) creates a buffer with the heading title and id: link Do you use some 3rd party package like org-roam? `org-store-link' should call `org-id-store-link' that sets description of the stored link. Do you mean some Emacs completion issue that is used by ivy but not implemented in Org?