From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CPpJBB5xr2SZswAASxT56A (envelope-from ) for ; Thu, 13 Jul 2023 05:35:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2FwmBB5xr2QTWAAAauVa8A (envelope-from ) for ; Thu, 13 Jul 2023 05:35:58 +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 ACC6444FE8 for ; Thu, 13 Jul 2023 05:35:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=FNIvb3TM; 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=1689219358; 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=p9wk3Yvs650zPg2OPsxOG/YXtPqy/+y0rwB6l/Pt2E0=; b=agZOwqhMbkXAPJ+LAf72hcZ+emJMFhOFQYPvbRBQp+vdAHyMT3XfqmTRbUIMASTZMZQpPJ H5DUKFevsTohsS3KdQ6ZL2Ndcn9ayG9+aNBdmM/bWCGVBtU89vaJa8XXZQFVKUtxKUNx8f /4usyu6lL++dnY4pE5xR+kEUkQN2apFC2XfwpiWlRP5K4uOE11PQ8CtTLJlbwXpuurXzh8 GfUjp0Tfb4hdJpRwieJMUMxuiZt7jf5sopqwbxDww81hpgM4QTzl73HwgFoE1fRVus4hzk lLou78X8qXR9JDODznlMGHbAeAWWXLNk5KHq81Erq2tkQQHWAStXzO15WTghqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=FNIvb3TM; 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=1689219358; a=rsa-sha256; cv=none; b=oCDVRRwCP3/cDGM1oGqf0RZ1nxn7Ge5DyDBRIKzfAUxFQcYRK8OO7DWtCiviAHegApU13q ySYlYRsiQ3dcPFQNQ2YdObBewHCd9NqjtrAJiSwGm/3L7ab30SQ9i5TE0GU/7LgVjC65/5 iKFkxZVkVYm3H+2YKSJY691KLAgjQh6HQ+FkYAsASg8JEFtHx/5nZCMTUVgUe9u97hEGFj IQT6Dmrg+324ZdCS+mV1xg31ZkdcaIUC7q68WDwzZWONp/WzCG7S8pOGFMsOr+JUbywkQz FO9XXfjPuGKaagggONG4ohjOln3++HbQVsozOplbwEkZMqfIiXcwlb5qC2v6pQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJn6l-0001ef-43; Wed, 12 Jul 2023 23:35:11 -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 1qJn6i-0001cw-UY for emacs-orgmode@gnu.org; Wed, 12 Jul 2023 23:35:08 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJn6a-0005nu-3f for emacs-orgmode@gnu.org; Wed, 12 Jul 2023 23:35:08 -0400 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4fb87828386so77350e87.1 for ; Wed, 12 Jul 2023 20:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689219298; x=1689824098; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=p9wk3Yvs650zPg2OPsxOG/YXtPqy/+y0rwB6l/Pt2E0=; b=FNIvb3TMQ0tP8ZEQ3Cd9vir6q2bHi3vbTuVvm7DmcOQRmrSZ4ElR2yqcE8tfGb9NMQ XDTuCYKtmQmrePFuDC5F3u/rArk9ZkEzhh06VtbDBPcVvXkdGFw6vMqiw0Hbfvx0pFfB lgdyaAjsr/dDOwungVX3ODGqllyKQiLswVpH1HvUtJiND6rochW86hNE3Q6sdVJiiml/ WVvG0fZsUmAvorzhd9+UUeOQ0kCWieEcPGhl9SeIWzfXpQckgc/sEIg19lVutcjYYm/W s/93Qj9farRJna6mNsHSsQHMCdbc2i23pDecjMGiMavSDoavgLIAOYUwUYYicDyRLyNJ OBxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689219298; x=1689824098; 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=p9wk3Yvs650zPg2OPsxOG/YXtPqy/+y0rwB6l/Pt2E0=; b=ihJhP/zrUJY3DBFg/MPm5NbedUP60rdddtt7ZbDBvqGY4GmQCQMutKR9mZSB2WFDQf VSGF5JT9BCrLPTaf72OIWe1QGYqxHv37S/d6PSY6YrJPBuS5AMeVkXZvP+TKRpLhJknu b5qF4b3chM4mhVs6W4dMF6PVVaAZ0NLd6GTAn/KCOdwa5LgozD63GW5/JlQYnZcIIOBz roOwlIqfiddf5fTJqRwllUs1nwS9E8Wvvqdke1shr0xrKHnEo8P0fq9xKJ+IyzGRLxjG E8iq2/JgRZpqeywHPgf5xcisNiWsFEWt5BCTpL4Jifn/XgCBuhKpFYCMdxur4rF5Ag81 L9KQ== X-Gm-Message-State: ABy/qLZysYMxnaFAU6gCUaPw9GWZ6S2BVRPsEdgzNAiEki3mU+fIQGj2 IMv/gCFPw1fZSDRwOUcTF+i0myWIrWDvuvmWiWw= X-Google-Smtp-Source: APBJJlGR7Fz44bOLdfsRBZmNaKnUMJK0fupZYhPAVCRj7gZu+XmyfKi9KZiK3HLXaEm500wpI+9VVpRxl3XL3kki05c= X-Received: by 2002:ac2:46db:0:b0:4f8:5627:5c8b with SMTP id p27-20020ac246db000000b004f856275c8bmr101071lfo.2.1689219298069; Wed, 12 Jul 2023 20:34:58 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:aa6:cda8:0:b0:268:94be:fdc7 with HTTP; Wed, 12 Jul 2023 20:34:56 -0700 (PDT) In-Reply-To: References: <871qhq69dn.fsf@localhost> From: Samuel Wales Date: Wed, 12 Jul 2023 20:34:56 -0700 Message-ID: Subject: Re: [Bug] org-insert-link removes on one link from 2 added by org-store-link To: Max Nikulin Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=samologist@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=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=no 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-Queue-Id: ACC6444FE8 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -9.50 X-Spam-Score: -9.50 X-TUID: Ko+Aw2bRODjF link has already been stored is a bug in my case in that i can't just go to a header, grab it [whether rabbed bfere or not] and then paste it. i surprise easily when the wrong link gets pasted. [also the id links with no desc and the prefix links do not help me find the link i want to insert if it is opne previously. in answer to a q by ihor, indeed puttig previously stored id liks as descriptions in front of all the prefixes woudl be useful to me, but idk who is doing the sorting, so idk whether it wold make a difference but if it dos then gret..] it seems org-insert-=inki is overloaded. one use case says insert a previously stored link. the other says insert a brand new link which i will now specify. might it be useful to separate those two functions? On 7/12/23, Max Nikulin wrote: > On 02/07/2023 14:49, Ihor Radchenko wrote: >> Max Nikulin writes: >>> M-x org-store-link adds 2 entries: >>> - [[*title][title]] >>> - [[#a-heading][title]] >>> >>> however `org-insert-link' (C-c C-l) removes from the stored link only >>> one of them. As a result the number of unused stored links increases >>> during an Emacs session. >> Confirmed. >> Not Urgent. > > Agree. I forgot to mention that the "This link has already been stored" > feature works only for one link from this pair. > > > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com