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 0AelI01K0mRb3AAASxT56A (envelope-from ) for ; Tue, 08 Aug 2023 15:59:41 +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 EPptI01K0mRRQQEAauVa8A (envelope-from ) for ; Tue, 08 Aug 2023 15:59:41 +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 4CC284DE5B for ; Tue, 8 Aug 2023 15:59:41 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Z5F+N0gC; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691503181; a=rsa-sha256; cv=none; b=hGTWnJuRoLhmUMXgsISnMyT3dwglY8e1grvbwjgfv+TffUHu5uWSTketDzvsbasywacD4Z vnI8FarP7S2AtFG4tAwoGVHYabGc+rjuRGye9f6uBz5wHe7UjrBkcPB8YoLjAhpqX00Hqt hX776HhazqGArxu+vNCCMqw81/I3jXK42p/r7cXPBKdxWi1XPzTY3WeENqbuc814FOCQGG AGVyjNYp6M3MrjPHkqkTqHeYCUlp1rOa+xHq4jrYqnDwyXD/1BGMdFT9csJQzw8xP+W++C oorZpxLC9DNklwOWX/C4V06duZDySkbGaRdmO6vQCtSLhvvcs/e183kIKPnCIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691503181; 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=FCuJXn4xhK5fpcWZM373zMmvLYMJIF75foVsP9ms0p0=; b=l2bpH2okxjCH0kUco56UrYwHNzrd7Rg/QPmQjvKYXMbmK9gQMHV4Y41zH9mTAb9kzynDY8 fEBprCcSeF++FZA+xxV+yz5Z04iqYVdevalq9a12rCl+TE2FDaj4PVtluanyUFiihhQTI8 +sgM8360Exp3pgH6iGjESkpShThhnLa5x+PFUDmAnBNvSkznl79WrL2eYe3OG+NXED0XAh d4l1n+idakIixotQH13cr5mfc/a3pXfEAzU4t7zQblMlM2JJwsRP1Bot3Fp9FJAxDdPWX8 o9bSbZ7UQvnj0oztKLxWKqM3W9XQj9+c+KQKx1yoCZZuT6RFJlHDbFyXQ3tR2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=Z5F+N0gC; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTMuc-00078Z-4K; Tue, 08 Aug 2023 09:38: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 1qTMuW-00077l-Co for emacs-orgmode@gnu.org; Tue, 08 Aug 2023 09:38:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTMuO-0004JP-Ks; Tue, 08 Aug 2023 09:38:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=FCuJXn4xhK5fpcWZM373zMmvLYMJIF75foVsP9ms0p0=; b=Z5F+N0gCB2W3rizfHe74 LdGBWeChp1LlomAiJ1OKXgmGP/DtyjL5mk70qPh1ikm7qLpBnVoeI8pfZXYrKq9iEnL8KBHHU5RxR PmSsX2U2tIxpSC0ngdrK4PHflM8Af7qRUZoRW5zrm5cPWyhMwD086M3IXKeCC6iOJpyUEMzZFG+CC YVmU6XKYhT8wYjvwPIO57Ci55y21QXkTDPQ6oydWXoRrH13IV2e3bnEfWXaxEwVfJWbv0SF54+/D6 yF2k8hnf1ZgDszOhox1Cn2QJhUkpws4s0eSj+QaNyI8C7PJesktdLFWb2Jlgdf0yLzBeiKhYCm/T4 hSaC7GXAaW7WtQ==; From: Bastien Guerry To: Ihor Radchenko Cc: Anthony Carrico , emacs-orgmode@gnu.org Subject: Re: [PATCH] Re: what is the purpose of "This link has already been stored"? In-Reply-To: <87leelrjku.fsf@localhost> (Ihor Radchenko's message of "Tue, 08 Aug 2023 09:04:33 +0000") References: <87ilb8vsns.fsf@localhost> <87mt0iwoii.fsf@localhost> <87h6qqwh23.fsf@localhost> <87fs62acea.fsf@localhost> <874jlcovnw.fsf@gnu.org> <87leelrjku.fsf@localhost> Date: Tue, 08 Aug 2023 15:37:56 +0200 Message-ID: <87a5v1pscr.fsf@bzg.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.52 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 4CC284DE5B X-Spam-Score: -9.52 X-TUID: Zv0OgYLU14Ht Ihor Radchenko writes: > This would be yet another breaking change... Of course, you're right! Then here are two suggestions, assuming it's best to spare us yet another option: (1) by always store the latest link on top and remove old dups. (2) always store latest link at the top and remove old dups and allow to keep dups with 3 universal prefix args. >>>> 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. I'm in favor of option (2) as it deals with the above use-case, and storing a link for each lines in the active region should be the default behavior anyway, with no need for a prefix arg. WDYT? -- Bastien Guerry