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 ms9.migadu.com with LMTPS id 4JboDlbLnGQsJQEASxT56A (envelope-from ) for ; Thu, 29 Jun 2023 02:07:50 +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 mGsGD1bLnGTQawEAauVa8A (envelope-from ) for ; Thu, 29 Jun 2023 02:07:50 +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 DF5EF20BE8 for ; Thu, 29 Jun 2023 02:07:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=nbwU5TDE; 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-Seal: i=1; s=key1; d=yhetil.org; t=1687997270; a=rsa-sha256; cv=none; b=HIOuGI2bHHmT8uAyq3SGcCbxrHWyfFNJXp6l7UFszTX/JRwtGMMdEF2T5qI7IaQx+SHo94 WrYDoctag9fRh7Kfk84TFVOCBJuVdX9L9MEk+obFu0qjGysJuBeP3fWmapg0If1ouZSV5E 0EruBlZa6wKbJfSMm+CARdKvyjKSd2zOEVtRqO+fcmuWLfJnc76cKT27wQHIRxi/Jo9PRv BsMo32OldOKOv3EuBoAEdPbbW8P58cRgfcW6uqyjpy1OAXnIva741TEXTn+Y/lqBDY+3pd k5iB4eLO4ofbVFlU9QMWfPkzWB82AiMK2WeCNh/+dcoW1zlegE9TYBH/RrHT8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=nbwU5TDE; 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=1687997270; 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=KaHxbKGDItrTbycZ6nHgLN6N9QinUs4iSzj+17K4loY=; b=SyXDvk2Z0kPtj9UMx+GdL9E0xkGc35YQEZQaNUDHk5FgBM6pkMvL6fKc2lIaAFBN/ozr/c K8OrVMvwd+6yveOjAo/+zlpTdnQmLlwLQASWLlgUij+gli3ZN+5mHWtHV5cw1i5wHTWqvb 8atIJDVtP3D5IMS5VhFz18qgC57BXk1t6T86e805XzeW46byecnImZkaWX12ltbS0Ou2Ua zKVQuAaJaPP9f05I6YNfagDRZOX+O5wrSxST3LBMJngVHnJsfVAFpxJ7+lGsEcgs3pvvcS vPbDOkfR4QzqwNjqGdKnzPbOlm3+BIQRcEwx8TVjeahoFn0JV3TpNMDSX6CDUQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEfBz-000054-Hx; Wed, 28 Jun 2023 20:07:23 -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 1qEfBy-0008WL-0z for emacs-orgmode@gnu.org; Wed, 28 Jun 2023 20:07:22 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEfBw-0001dz-0o; Wed, 28 Jun 2023 20:07:21 -0400 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fb90f72062so34065e87.0; Wed, 28 Jun 2023 17:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687997238; x=1690589238; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KaHxbKGDItrTbycZ6nHgLN6N9QinUs4iSzj+17K4loY=; b=nbwU5TDE39pNUBSYVKcwU1IzlS+wG+oa3Wf/b7TXSnom7eF7o6pPDpgnnrTY2TkE9c 2zH5I2JWUG6hMnpK4b+VVS1fKh1nBWEC0Gm8i9Ht/pcfmELahRxnkUSNZudpEd6oEUEo 8fjjRq6rEXP9B7A9+mlqzyQQAu86Ki+NHXm3TuYn5cGf0+U+uQ1WuNJn0ipLzBmb8DPW q+J4EGu55ZwNbIP/FZuml8uDU4CU+yOxNm52Az/hALGW/027xYv5aOjMjOypjhi5vaog oMUaXlo3g+AQUESpX14PxOxULQGoXdxx51AGoDq7PSJDpRpGrEWJb9ndpasWdxSvhqnk Jmww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687997238; x=1690589238; 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=KaHxbKGDItrTbycZ6nHgLN6N9QinUs4iSzj+17K4loY=; b=T4beQ3exqvbPXimfvEX6YBrhldFxB5kjwXbeJD9uvI+smwFoetQg/RNR90z4bYKJTf 1ZlbOFLoymCs64A9MTUnrHrcqLf3/gcfVHPuBPNy7+X09OkyIp1lCO2WPqkPWVAK9pkM EUlLDRzaAz8Yj98zJed8DdCnxjKBbhMdTu0VmPt0gtammCUEClJMHODyqFHTd6O2xVf8 +QD1rzLIi1wS1XOq2q3L+V11G4gJmNt6A5iqwsYeSj14Kv/c3xYSXL3crEqfj+Buw60J 935CRniNT2Q5tjwachTG4XQ33vDVA/2yApU/Riy0hRygOaq6cy5zbh05Im3FCypKeY7L XkXw== X-Gm-Message-State: AC+VfDxLXdk31+W9CrM+Xzh1Kua0IvGlvs4MfrtTqelNNKv73IB1C2Lq qvofRlkkZZyfeygKpdw/8VUObCOM9bJAA7J1nDlG4Tl5yXOQCA== X-Google-Smtp-Source: ACHHUZ4mgIcitQUtkQSgI9Pz3Xyjz3tupPuSfIWI212QLMU9Yf7KOKDfJY1/UzWQy2oUnzV6ETgKrc2sv9rRxF9YvIY= X-Received: by 2002:a19:f709:0:b0:4fa:fe2b:dfd3 with SMTP id z9-20020a19f709000000b004fafe2bdfd3mr6418760lfe.5.1687997237713; Wed, 28 Jun 2023 17:07:17 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6520:2de3:b0:268:94be:fdc7 with HTTP; Wed, 28 Jun 2023 17:07:16 -0700 (PDT) In-Reply-To: References: <87ilb8vsns.fsf@localhost> From: Samuel Wales Date: Wed, 28 Jun 2023 17:07:16 -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::135; envelope-from=samologist@gmail.com; helo=mail-lf1-x135.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 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.42 X-Migadu-Queue-Id: DF5EF20BE8 X-Spam-Score: -5.42 X-TUID: fxEN0pay42v2 i am not sure i am using store/insert to their full actual or potential potential. if you move the recent one to top of list, that would work for my mindless store/insert, but it might not work for a user who has carefully cultivated a set of links that are all to be inserted, or such. although idk if the mechanism supports. On 6/28/23, Samuel Wales wrote: > 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 > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com