From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6F2POaij2GTF2gAASxT56A (envelope-from ) for ; Sun, 13 Aug 2023 11:34:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cJWJOaij2GQOQQEAauVa8A (envelope-from ) for ; Sun, 13 Aug 2023 11:34:32 +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 7C38D4A485 for ; Sun, 13 Aug 2023 11:34:32 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="anv8q/pT"; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691919272; 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=I/zVR2qygXlF4Rb79TBaX8df3/+M5feft4ojQlnr9CM=; b=t8uVWJF9kueCn6s01oDnnVL29QqDqFxZVNjm/NElTBoz5akmhYCuBjEKbnO7x1FDpXnH/j NWpJNdJhEhx2uZpAhaXqrDN0RYfI+MKoDgSbSMt081Ra1QkggZcJqIGBX2TVzT0foUJWLV qBbAPEubUoG9BBkzeK3UczSz5JI3iE0gGUTpvktnMiw0Ixj8iaJK+SAaasUBvodBNzBkV9 OD6Ar59JT2uh8oEnZ1acgl/Jg3BO+ck6Qf3ThYJ8nb4QMQvM2msLkbRBR1lRLOMeToiUZw 1a7c86gzxrnV7mZpwNoH0+mUW0ESU6mVZ5QKEzrejkXLZC7BeXTr1JOGo89awQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="anv8q/pT"; 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=1691919272; a=rsa-sha256; cv=none; b=ueNPK0l9gIi13ex6Pn4w6KbMOT9pzaAIoni7jyUspyK3yZSaWkR/akN6rDtvLIKl/rtqoC n/b53taDR/ANcuKkRX+VdPcnbY2Hw4DXJVf7tcUdDuvg5TroDcrPgKppFnQyT4T/jfPosA 2l5fEu8hQAQhfsZvvX48E8y6tHpSjS8auQ4BbWWFme7rvwDw74i5W2SLK+6ARP0f3UBp0e oE6MGCi4/ZzJ/jOMP+zv2Mjp+mohbS/OQahP2jgHaPF8P5o0IcdqHK8LlUi2mmKqs+p9KU GiNbmgs1eNOe5PJrhlfAEhd0e1Gk6zHoFTwKsVsqpoen4+X2XZUYenaEp8TNHw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qV7UB-0001b9-9m; Sun, 13 Aug 2023 05:34: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 1qV7U7-0001al-MU for emacs-orgmode@gnu.org; Sun, 13 Aug 2023 05:34:09 -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 1qV7U7-0006FH-21; Sun, 13 Aug 2023 05:34:07 -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=I/zVR2qygXlF4Rb79TBaX8df3/+M5feft4ojQlnr9CM=; b=anv8q/pTuXWpsUNx2Mad URjO3L2g3jjsoJ4Weq/CWKBvRXWDMlnz/NQDTVO4UQr/F0HlJv+6QFy9r8l9Z7rBI9tJGgNnAJT+n AW+DB+LWyYIXYdTfsjHPQq2EKHqVL81XQtw53rPpQItV7hdMhs0EuxpJUNBuiRQ0WfO1mFnZPWN8Z fFEasb7TCCn4kW6ybQSuS016BgoOdYuUzaBeobVZVei9v00KuUYbwH/V6jwLfHUB8Dbr7UjQhRJy0 02CfBMInklfnECJnjhpMIWNtd+rryXAlhh4UUB1p86QTbxo3/nf5aD9DAdHNKlXmqrMSKJwURtdwx nWIilRzxhvzfIA==; 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: <87edkasz6z.fsf@localhost> (Ihor Radchenko's message of "Fri, 11 Aug 2023 09:31:00 +0000") References: <87ilb8vsns.fsf@localhost> <87mt0iwoii.fsf@localhost> <87h6qqwh23.fsf@localhost> <87fs62acea.fsf@localhost> <874jlcovnw.fsf@gnu.org> <87leelrjku.fsf@localhost> <87a5v1pscr.fsf@bzg.fr> <87edkasz6z.fsf@localhost> Date: Sun, 13 Aug 2023 11:34:04 +0200 Message-ID: <87fs4n2smr.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-Queue-Id: 7C38D4A485 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -5.65 X-Migadu-Spam-Score: -5.65 X-TUID: uDcMPc0B+QkB Hi Ihor, Thanks for bearing with me while I discuss something is done, required time and work, and isn't probably a priority. Ihor Radchenko writes: > Bastien Guerry writes: > >> (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. >> ... >> 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? > > I am not sure if C-u C-u C-u override is the best design. > If the user wants to store duplicates, she will be forced to use C-u C-u > C-u every single time. And a single slip forgetting to use the prefix > arg will clear the already stored duplicates. I am not convinced there are many users who want duplicate links by default. My guess is that for most users and in most cases, duplicate links are unwanted -- in +10 years, nobody complained about the fact that dups were not stored. > Also, it is not clear how to use a single C-u or double C-u C-u yet > keeping duplicates. Indeed, that's an issue. Here is another suggestion: 1) Remove the option and make adding the dup link on top the default. 2) Also remove the current C-u C-u C-u arg and make it the default when a region is active. (1) is because removing this option would be a breaking change, and inflincting a new option to every user to deal with a hypothetical use-case does not seem right. (2) should be done anyway. WDYT? -- Bastien Guerry