From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8CRdH5vJnGSeLQEASxT56A (envelope-from ) for ; Thu, 29 Jun 2023 02:00:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6D1gH5vJnGRHvAAA9RJhRA (envelope-from ) for ; Thu, 29 Jun 2023 02:00:27 +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 E34F110200 for ; Thu, 29 Jun 2023 02:00:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEf49-0006e3-QW; Wed, 28 Jun 2023 19:59:17 -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 1qEf48-0006du-PA for emacs-orgmode@gnu.org; Wed, 28 Jun 2023 19:59:16 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEf46-0005zm-RH; Wed, 28 Jun 2023 19:59:16 -0400 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4f13c41c957so28776e87.1; Wed, 28 Jun 2023 16:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687996752; x=1690588752; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dWD4s2f6eiuN9pFGgK61K0kbSCUlozBWoZnhAe4um9Y=; b=IJRND8UEeR1C47c3IPd8MG93lhDskuu6Z0T89/fxJ0fW6ArdyvznYMz+/DI4+g/tRn oHHira9A/btw/NHBnel3iUjfhowKdiz7cVAwAfXRLTj6ZO8C6xJDqWjPDGHIyAi7Zd8b xG2JsYwmXOv5pki6/H0GWvJmz0P3AY8lmbIcsOGemoqDiLXfaXk7J+zim/erQbwyQi2H d3YLSPQ4wK1xQR7kNUwzcmKJn7hFFsb1cowTo2ko5IcoAv0njw5CYkvaJjRafjw8tA7M ycgZrglp6N1YQ2Oe3Kf/+PbCZQSY/2e0TW1Rylq/8G9K0UoXYb0PaKwjiHS7+pmcFx/9 S+1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687996752; x=1690588752; 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=dWD4s2f6eiuN9pFGgK61K0kbSCUlozBWoZnhAe4um9Y=; b=Y0F7KxwQqwhKfWkO6Nte7Y8lQ88E83JfggBZ3cVVKLjLAkr4QDiVZN+Q0Yzu+IJwn7 WyFpDLoDoYB5S47Y8JipgeG1OoigrEy1MdhkB8Y4AsZ/N5KJ5cqMgDkJWwlg7l6P7AwH 4pqLZs71oT9aiEr3CzgVhSP8cbSKqUz64DhVJ72jI9eFunXiEaGgQ1lfLjx0m4SSxwB/ 1wFA7Fc/kniWY9l1+1OupXpjuEoUeuOAtbYbIp2PhlUdNXOsIzt0l0vFTRmSjgJ04QRV RSAf/HGNwnTojhO9PWVQVD6VYjLvO4GupjSEW7U4+jgmYOrUgOZ7JcF+8agpD/jdNYTD a3AQ== X-Gm-Message-State: AC+VfDwgW2q1UE0wZglkNlwN3uy0SDgXTg1og7N38fBLbCn2Gk2LvsPJ V51yyKRrDDUsbkH7ar1Ukeh0J7EYlmS7nxvCl5o= X-Google-Smtp-Source: ACHHUZ6V7uJkr+GeYLCd3xx2scxAK4yzdD0WZQV9JvNcptqw3zmRhJNoCqbyY/EAWPHmJtvBm0ym42kwIYT02YUzNRc= X-Received: by 2002:ac2:5101:0:b0:4f7:640c:1847 with SMTP id q1-20020ac25101000000b004f7640c1847mr18369947lfb.6.1687996752006; Wed, 28 Jun 2023 16:59:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6520:2de3:b0:268:94be:fdc7 with HTTP; Wed, 28 Jun 2023 16:59:11 -0700 (PDT) In-Reply-To: <87ilb8vsns.fsf@localhost> References: <87ilb8vsns.fsf@localhost> From: Samuel Wales Date: Wed, 28 Jun 2023 16:59:11 -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::12d; envelope-from=samologist@gmail.com; helo=mail-lf1-x12d.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=1687996827; a=rsa-sha256; cv=none; b=jbAjgRDCgo6YjfKf8d3+ZQ9eCBU8xlgQNEgI4YtpeISn1Qiz+37dQlSgO5YpZdVSKPm5MA UKR1de75NWoXBvKCZK5vLXV1pVqH1DDfM3XXiPK3T2AuwFpH01CJ0nktiszqvL9CvPR9/R 3O6qVQbM62LDHU2kpSdveQlTuxlv4Qb3cz/F/v0kj1FqEBTzXyaT+dyS6tUuEOM574zV4B EnYeodd49B1gK9Y0/UHbBzoCQ3Ny2Bd9rtsuyZmV1FtXyoyaamUIhj2EcqwwTosPlzTAqi uMJA5gJ8f6N4wUY+a8Dtxj8RE7q++fP/rhjnHM9brdmHy1T8NessPG8sGEexaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=IJRND8UE; 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=1687996827; 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=dWD4s2f6eiuN9pFGgK61K0kbSCUlozBWoZnhAe4um9Y=; b=t7HvFu0lwFnRynsDdSHoX71OW9iQMxInNTKPIH8XcUeXli0eDNU5iNMwe2LjediSyP7MYp cXuMlwgasDDQGwIRNfh8xOwEe6x56mrjFSsXA2dKN+8sAMbuVnnqhocO2su+ZlqS6Po2FO pYpUtJ0XEAgLbQ5TAuvw/CkYQ/d3cPmQ7veCychmgXOUwpsXDiKATmIDv0W3X0x2RWiCfZ VmE4LYw2cB6DnVz5jcYbHNiVOGSGG5n9YwrND6K2S9A868ipKsf5NWHSpUMijfgWWLVXm+ SYrwa3kwDexmsJ7uyTjB10Qorj+PfAUJXIeEk7MRv7cd3cTRCSku0R7GzgQe7Q== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=IJRND8UE; 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: E34F110200 X-TUID: xG/T06fsWC6j 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