From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sEvxNXYa42XKQgAA62LTzQ:P1 (envelope-from ) for ; Sat, 02 Mar 2024 13:24:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sEvxNXYa42XKQgAA62LTzQ (envelope-from ) for ; Sat, 02 Mar 2024 13:24:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=C3PSbQ36; dmarc=pass (policy=none) header.from=posteo.net; 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=1709382262; 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=yHNbmiAIwzQpKvCQCL5p8djc9rPBs4BzScAyPXRykpU=; b=Fq3V95GSb99rtnNyZ1NRi+cREL/UEY6gNrl0dZpCHhmv8JA/t8NQfyuli+5TQyD6R04JJP JDIN5n9W6VxxoJEAp6JJAmrZsOBAAAyfHFGbOVoWfcb80X7tXx2W7qImjoXeFvHWjoWoKP 5oES/tVWWhnhuUia3VAMP5py8t+JIySxC8xFEVFni7MqlsbZVB4pY1S4S71eSkiH4XARAu 2plLyc5AhFCJrSe9L8q9pLh2D3BhuuSMJm55hI2iCGxGdxSma6zVGJwve9yyR7BLnRSwik ajEKkyYr6FGVN/2Kuj18X3zFUNdbZPtNlfX7rl3yy3ljPd3VYVert4fgP6yAOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=C3PSbQ36; dmarc=pass (policy=none) header.from=posteo.net; 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=1709382262; a=rsa-sha256; cv=none; b=S1KUfEA+AnFlGp+cX8lXHyGqVyEK0EOMxEv9rIX1x78FDrEQDC8R0xOm5WRfN7pJmTqyVp mL6cwXXWy0DN766V8Ild26mKqpghcuTUh9XNIfbHkhUByrt27xtv3sQftLLM0wJVEwltli SXb91nhKbaqVIn48CN5pia+LtkKa3aKk5ywyLAHGPl72XLjJN4Jd03N33GBW9ZnrJiyyic xupE7vEYmAdMLf35GvAQ4g7smpdrLfLlci+Mm4g+GO4U8eFd405LY0fVs4FhXV6c6K9JT1 1OHSWHoTYx6yci74okh97vr4TQOhZntVVFsK6yjpDhl7QLRz5MEAAuVSV0ZD5g== 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 90E1457D97 for ; Sat, 2 Mar 2024 13:24:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgOPQ-00035t-5I; Sat, 02 Mar 2024 07:24:08 -0500 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 1rgOPN-00035Y-I8 for emacs-orgmode@gnu.org; Sat, 02 Mar 2024 07:24:06 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgOPK-0007Ym-IZ for emacs-orgmode@gnu.org; Sat, 02 Mar 2024 07:24:04 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6A605240101 for ; Sat, 2 Mar 2024 13:23:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709382239; bh=iQshGom98aVbCrSCJMDVrWzNP9eQT4Ye+S3Sop2o+yo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=C3PSbQ36GZc5IFfwDjjBJXWcQVt7Kthjqyvw0znn59/VvIpFhniqNJ7ZInejMrehh bU9gPjuFDpDue4/Z3A3xCe2p6GXLbMIcE36We/NWmxweNe2E4k3S1IS9dSuMuwHIFl L/rcXCWVSwyEfJ6mWL3vffgQ54sJ/D8ewbB7rT8g/uQgWEfHu+a67HwsSjbyodxiYE cZFDsvk9BmcAzJMW5buw8ugt136XAR29oI+X1VD2J1BdTv0rjQ2y3Mhkv0D3Zp/soG rul1Hum/eQrbwwsavlQb7mDVExaX9QauFrEeg9FK7wpfkhTo3jGkzQvPTNDi9LRWUo DBtWP6dquJE6g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tn3zL5YLcz9rxR; Sat, 2 Mar 2024 13:23:58 +0100 (CET) From: Ihor Radchenko To: Anand Deopurkar Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] org-archive.el: Fix org-add-archive-files to correctly de-duplicate In-Reply-To: <87wmqkap27.fsf@gmail.com> References: <87wmqkap27.fsf@gmail.com> Date: Sat, 02 Mar 2024 12:28:00 +0000 Message-ID: <87r0gs6cof.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.46 X-Spam-Score: -9.46 X-Migadu-Queue-Id: 90E1457D97 X-Migadu-Scanner: mx13.migadu.com X-TUID: LqeCDMWmDsHa Anand Deopurkar writes: > Subject: [PATCH] org-archive.el: Fix org-add-archive-files to correctly > de-duplicate > > * org-archive.el (org-add-archive-files): Use `seq-uniq' with TESTFN > `\#\'file-equal-p' to de-duplicate the list of gathered files. > > Previously, `org-uniquify' was used. This de-duplicates the > file-names, but not necessarily the files. The problem occurs if the > list of file-names includes distinct file-names that reference the > same file (symbolic links, for example). Thanks for the patch! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=902dacb9c I also added you to the contributor list. https://git.sr.ht/~bzg/worg/commit/58d6aca1 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at