From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oC1CCYR+5GW0QQEAe85BDQ:P1 (envelope-from ) for ; Sun, 03 Mar 2024 14:43:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oC1CCYR+5GW0QQEAe85BDQ (envelope-from ) for ; Sun, 03 Mar 2024 14:43:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Z2tT60Ql; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709473412; 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=0jkl0u6aL8OWRYkOwNpyX5UgaEj6DVDzbRbK3hMURwA=; b=in6n3NFaWGqu2h5cuopdNfHLpZaowB33IAbDlbIk4nD6Z24U2n2MV7+13qfqLN67s1IDQU RFIK5p+z481e+FIB6yIfllk9F/ksyY7nTWOvssc/ar+UkfRzPMCLPyMW5MqWO/XZEkdc2h 9fAaxyMA3tfVv5SindA2ix1gqpbz91qzzM90sY+lTNAoLArDlCXIk2T7zWK5XUYAF9ThZP vErm5sTgM/N88+T+cHmtlcKOYcC85hn79nNIJ6TzLi1Dlp+0RyTQdAF2kIChwQ3DGm+x5Q DcofZd3FGD1FPnxdNP4wZyvGpk0FBXk3TqsVRHsAB47PHE0VIevm0zB83psaCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Z2tT60Ql; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709473412; a=rsa-sha256; cv=none; b=qnN4LTUl8VFVHuHLZNQoaMRfyYoYCqAZw4ltX+jpIcE7MvXg9ETte9xCXZ1OmVZHznc3D2 qUd1LCKKZEOqjSN4Pei+/fa14vem1WdQe0hwYPHXAEQDAA7vXESu/f+u0h67dp//Yl0nX5 fbtwuLhVMOir1bho/nwS7y42hhvPvqvL0jJ3ITV6cP+4dEw7rf6ZTXQyVkCAJ7/z+Lqoj/ v/m5QGwzy99ut3hO5aQrGL+7+TYnbrTL5IqfM9PhfdFDSKxhlnZ/SCotbVan9V3SmPxV50 QSrRApeqHVs31mt48dMCLUCbmIYG+csFSVljen+h5Kv4brRpAxBeJ//Jaxc2dA== 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 02EB2772AF for ; Sun, 3 Mar 2024 14:43:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgm7U-00025u-3M; Sun, 03 Mar 2024 08:43:12 -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 1rgm7S-00025W-B1 for emacs-orgmode@gnu.org; Sun, 03 Mar 2024 08:43:10 -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 1rgm7Q-0005OH-Lo for emacs-orgmode@gnu.org; Sun, 03 Mar 2024 08:43:10 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 78280240104 for ; Sun, 3 Mar 2024 14:43:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709473386; bh=R/OIVPx2EaIns4oNmNdFXp/4FO/3u9doil3/HjsMAD0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Z2tT60QlOi6Ieh9G2e3AmBCKzMkVYZ3BKK4FHR3tu46PF0mWkRs6vWBfcYBrICB/6 k4SiNxd/Ln/08KusEzMeHpQZtOiT7WDO1qetFtRFwWNAJgcluoDeAFlC3d/tRyEPvq VXik5FdT9uUhGhcbgeYq0ipAJqdsd0W2rOWsIt/41uz9fBvRip1VmFKtC3DDGbUMfy V0qqGGAqXw5qhe1aEEU938k2SkOBZ4doPXnhCboPKfplNJBuPHSMbfIf6PVOEeoaJ3 kXYI9PsiBwlwx9P0IZGefr5517oURUniItMwHvGEF+ZZy942qXKkQa5bJTCQ+10VLX uPOqmgpbZtBew== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tnjh91vRcz6txm; Sun, 3 Mar 2024 14:43:05 +0100 (CET) From: Ihor Radchenko To: Anand Deopurkar Cc: Org Mode List Subject: Re: [PATCH] org-agenda.el: Fix org-agenda-write to avoid duplicates In-Reply-To: <87r0gradbf.fsf@gmail.com> References: <87r0gradbf.fsf@gmail.com> Date: Sun, 03 Mar 2024 13:47:06 +0000 Message-ID: <87a5nfmnqd.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.01, RCVD_IN_MSPIKE_WL=-0.01, 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.93 X-Spam-Score: -6.93 X-Migadu-Queue-Id: 02EB2772AF X-TUID: FOmihzzwi6D+ Anand Deopurkar writes: > Subject: [PATCH] org-agenda.el: Fix org-agenda-write to avoid duplicates > > * lisp/org-agenda.el (org-agenda-write): Make sure headlines are not > duplicated when writing to an `org' file, even if they are repeated in > the agenda view. > > For example, a headline may appear multiple times in the agenda > view (for example, if it has multiple time stamps). But > org-agenda-write should write it only once to the output `org' file. Thanks for the patch! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8ac99c33f -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at