From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2DREDo7KnGQsJQEASxT56A (envelope-from ) for ; Thu, 29 Jun 2023 02:04:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6C6QDY7KnGT6EQEAG6o9tA (envelope-from ) for ; Thu, 29 Jun 2023 02:04:30 +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 C36E846713 for ; Thu, 29 Jun 2023 02:04:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEf8w-0007fT-MV; Wed, 28 Jun 2023 20:04:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEf8s-0007fF-Ig for emacs-orgmode@gnu.org; Wed, 28 Jun 2023 20:04:10 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEf8q-0007gu-KL; Wed, 28 Jun 2023 20:04:10 -0400 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4f14e14dc00so24372e87.1; Wed, 28 Jun 2023 17:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687997046; x=1690589046; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9qI41i8tGTxfSXHaqGjOHn2DIYy4hszkVKfPuuVE9VI=; b=Rou0oNFn32feGHSjn4Yn+8YvZ1xtbbA08jl4BURtiTN5d644PaoXhPY/dzNYSDu3+Q A5CQuTikCEIsye0P+D6u8LVIX/7OEhAM6MZa3Rg8HgFlmm+R5s/l3lJlfXFOjDS9A6pH 0/+JNcU+kUR3FWyFIZ+GEwbeJO7EUjxL089disJPFEDl03y4wrAyIlZpXQ9gnqYWvLhq Hx3f6iFOv3QTT8D/zq5/vGGjrU0gNbvholZ378Nd4BSLL1ia58dOzNGlcYOEa0UmMNsK m1u5yLPS/MQKV8MYV0bf3pVV6OJJBujUrSxJZDErUN25MxMvFo8yxoy3mtJmMSKDOSh3 moyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687997046; x=1690589046; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9qI41i8tGTxfSXHaqGjOHn2DIYy4hszkVKfPuuVE9VI=; b=SHXuX8I+29JORrmZTpYU1FompPnSLUBOqInGNs47QxDYCOTWU5Lv5Kb9XLKPv3W189 NUFXfeiMlHwDSx3GYXcVOGqZ/5akiPdxtnZpjAGX1OQninED6xLM2QsQwnqm1dYkNqWo DKCsfqtNAkGfc4g4SXkmRzjeKl+m4IPKfqc0PvFyawXA6cNUVrKG1u3HVOB89GDumlNT 2G0BHbrrKJCH1GXLsCfXWdNGhFMt+uOiRejJ5YIyYFIHHSNvz5sBY8as0W5q6P9Cfatj rPvVeO2ES0uu/eZNQ9oYaExs7kFataoijspm4k+D/vDH5h4003+d7heGW8qPZ605+eQ8 je6g== X-Gm-Message-State: AC+VfDwFQcLTcZUJIj1M01kyfdlp6yq3gWYzrsHKnJLd+ys6pWWiZeLR VGO2xFia5TWmmYdmbdPMjBwbzyLCz305GKlnXI0DpfE5Ubcw2A== X-Google-Smtp-Source: ACHHUZ6Nc/SDRaGh4yrnqCbXuFUuwbFJzzcfGAJsb+CXKWijWBfZ6Mqu9/QPQkc7A/FmqnbyNda2Wq3YuWqKeM2Ft44= X-Received: by 2002:ac2:4244:0:b0:4f6:1c08:e9b4 with SMTP id m4-20020ac24244000000b004f61c08e9b4mr17488361lfl.6.1687997045971; Wed, 28 Jun 2023 17:04:05 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6520:2de3:b0:268:94be:fdc7 with HTTP; Wed, 28 Jun 2023 17:04:05 -0700 (PDT) In-Reply-To: References: <87ilb8vsns.fsf@localhost> From: Samuel Wales Date: Wed, 28 Jun 2023 17:04:05 -0700 Message-ID: Subject: Re: what is the purpose of "This link has already been stored"? To: Ihor Radchenko Cc: Bastien , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=samologist@gmail.com; helo=mail-lf1-x12f.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687997069; a=rsa-sha256; cv=none; b=gSPFWahQuZeIKnh2beWk5tjxZMPairjy7ld1SLHTk0xuGP30yU+6P5AZToQSb0RuWJd1g3 Ucc6bj5d85VlPfI3z+HL/RKTZq4Ks7E6r7WGCY6460bXJAzMsIniYGpy0OkgXXIDT4VPkX lpuXlgMZPhWkqYEymsFb71iK2ZPToJUQwK67OR6/xnI8AK7y9C6O/wlqXx7igtG3FcmQFd en49gFHKQTJ50O81zrN8EAPsGYZG1YTv4kXVuhw56KCsGIeoHdBRnV/VmYvQjvc+b461L2 OuAjpnr0BpLMwNzGFesBWHnjAewC0l4yyuWCO4U+07UwGTiV60HvgabsA1vp8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Rou0oNFn; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687997069; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9qI41i8tGTxfSXHaqGjOHn2DIYy4hszkVKfPuuVE9VI=; b=HE9u9/VvbQvLjNYQhWMzfEMyZ7lspY30D46sNYzO/+YNbZVFe5u5BU4WLd7eQILVOYNeG7 z4+ZmqMqQVwlt3whtQvKen+Xsg3AwulR/XeCQqOo2UXXmFRC3jD0kB8MrkiAmMTLxpfUku BN0nDbprGRTdBrz42OECERTGXFzuIwih1qBNd22KhDSYmeOySNZ47i+0Tn9c/jBvWLqfhV 5hGaujrfWanDU1Y6VGvaI9nNji+Lzzb5O+uo0EzmDvlcInGkAYeFzcijd9AGQLZciEI8I8 45ZnmIduusPQjXrtDh+OZ9mhs+7+RGBiNBxbP2UyLAz0paPS9GiaWOPRDwkulA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Rou0oNFn; dmarc=pass (policy=none) header.from=gmail.com; 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -8.92 X-Spam-Score: -8.92 X-Migadu-Queue-Id: C36E846713 X-TUID: gcOBr6HIO+iA that is, if completing-read is changed, idk if ido will work with it well or not idk if proposed fix means - include id and description in orig list for selection - include id and description is for marginalia - user selects description and id is returned - another change just showing the basename headings [or whatever has an org id] wold wfm but there are probably other considerations. at least, as long as the inserted link mainains the mapping of id with description. On 6/28/23, Samuel Wales wrote: > On 6/28/23, Ihor Radchenko wrote: >> This behaviour has been introduced in bb61b37ee >> >> bb61b37ee223fd89cf951a5fbf62e35e606a4646 >> Author: Bastien >> AuthorDate: Thu Dec 5 17:11:26 2019 +0100 >> ol.el: Don't store the same link twice >> >> * lisp/ol.el (org-store-link): Don't store the same link twice. > > thanks for traking down. > >> >> I think that it will make a lot more sense to move the link in front of >> the stored link list instead of just printing the message. > > good idea. after all you most recently stored it, duplicate or no. > >>> id:2134123-11234123-41234123--12341 >>> eww: >>> gnus: >>> ... >>> id:44242423-23452-345-234-523452-345 >>> ... >>> >>> as there is no description and the presumably useful ids >>> are near te bottom it is useless to try to use >>> org-insert-link. so idk what the solution is. >> >> The descriptions are displayed in *Org Links* buffer. > > all i see is the org buffer and the minibuffer. perhaps for > accessibility reasons i made it so that i don't see an org links > bufer. i maximize everything and one window where possibel. > > idk what geeral use links buffer woul be in practice, but it wouln't > work for me. orig, mini, and links buffers would be too small, frame > maximized. > >> The completing-read call could, however, be improved to display link >> descriptions as well. Patches welcome! > > sounds good but idk. ido did ussed to do things like put files in > parens, although i removed that nad only have the basename heading in > my ido lists for olpaths for clarity. but idk if ido integrates well > enough to work with such a fix or not. > >> >> -- >> Ihor Radchenko // yantar92, >> Org mode contributor, >> Learn more about Org mode at . >> Support Org development at , >> or support my work at >> > > > -- > The Kafka Pandemic > > A blog about science, health, human rights, and misopathy: > https://thekafkapandemic.blogspot.com > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com