From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eMLbG2VWmGCoqgAAgWs5BA (envelope-from ) for ; Sun, 09 May 2021 23:38:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YIBYF2VWmGDTfgAAbx9fmQ (envelope-from ) for ; Sun, 09 May 2021 21:38:45 +0000 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 B05841E259 for ; Sun, 9 May 2021 23:38:44 +0200 (CEST) Received: from localhost ([::1]:33924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfr8M-0002Zn-AC for larch@yhetil.org; Sun, 09 May 2021 17:38:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfr7j-0002ZQ-Pa for emacs-orgmode@gnu.org; Sun, 09 May 2021 17:38:03 -0400 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:44799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfr7h-0007Vz-Qc for emacs-orgmode@gnu.org; Sun, 09 May 2021 17:38:03 -0400 Received: by mail-lj1-x233.google.com with SMTP id b21so18349755ljf.11 for ; Sun, 09 May 2021 14:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ZpzrNEmmEaARYlQQGN+s86hcu+NtAVZhjdLEGQta4JI=; b=FL9dnT0XL6iFPSU0pfedwWAW++lrkPCb3OtGV6QSjbxTAX0h+7mapqYWm9C6oKh9Dw 5pEd2gMeRa3AZs/jYiwsrAlQ/OyXEFpszsUaRFxGOx+VRIFSAUyhCeCvhNv9udAbEy+z etE8jpFpC/LHk3DQRgRK1JD8gAAzS1c9FgL5NyIvJ4eBqxibHnCGxihB+gEFoabm2Nnp C5swKKmcVoEVJoUUDMUmgvnF+ye2pmlleH+su/zkXqL50nZbLaKoRQvSyJgN1jB1dNif X5YEiMHGxTeh/SDFRZh9UgF2hw3u4pJpau677Cx32hNfnyLBocZGX3317LgqLgTFbrwx zKfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZpzrNEmmEaARYlQQGN+s86hcu+NtAVZhjdLEGQta4JI=; b=dtnR/HAZ8KbB9AQOxYiojE1sJvl2xxEWr19FnRIoOUpXZZQZyRoGyHkFuPbBF8cV7d vRKIAeaGtUrFPbqUw4Owvo+gh70DPVcWXVM2leI3KIoNBTqQpcNqynkeR/88jkiyBt7O hGE4WtJsoeBDcY1vQcyxjaLGeDlmwDBKItcCKwuzfsNhJtahaqCH7L4vjA643pc8C0vz 9RlKUpmyp7S3sLmWUA6tCtcmGvvtmk2nlPTyndgbL+sNbZj2ENDzsNmuc07taHdTh7nv QgfjA0HBZ5fs8TCbLMqz1wBXuYpiKGs1zaQ5gMYd+fqjoIvFEy47iYhLEvaeGB8ecNiH a/fw== X-Gm-Message-State: AOAM530VUuVOT3RiHf2gOiYtOABa0MMTvk5OOlctHUBVmOz2Fjoo+T4e /2Tth1vpFLpIsdvwVph4KKTmqkImcUuUnPIJfnm3KhmUgYh/UA== X-Google-Smtp-Source: ABdhPJzED418MAxC05g3aJRjO8Ehvno+FMKtvMmZag+Gcs+HyL7+bnNfHJ0afHYHy3QU5gEwdR5BOc1q/ut0g9oXSHM= X-Received: by 2002:a05:651c:211f:: with SMTP id a31mr1538814ljq.39.1620596278516; Sun, 09 May 2021 14:37:58 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:6d6b:0:0:0:0:0 with HTTP; Sun, 9 May 2021 14:37:58 -0700 (PDT) From: Samuel Wales Date: Sun, 9 May 2021 14:37:58 -0700 Message-ID: Subject: [bug] archiving creates duplicate entries To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::233; envelope-from=samologist@gmail.com; helo=mail-lj1-x233.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620596325; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZpzrNEmmEaARYlQQGN+s86hcu+NtAVZhjdLEGQta4JI=; b=nImmTghdfjrjNiGwfdbo4j2mZN0IkzvjR5pR2Jx27MpjJ30cWNciOzgWs1FyxX/qMXcOwO RCUKWSPHKqfB4EqhNFgE17PM+F2CUkPQTPz25IEnqdShRL6C8O9ydKRW+Jo1/sMSW8Bf2p 5eUGuEi1jkyFyQZtM5g7YBRk4RSuFKk5xjmy/XqNT9FQ/hAgSEZuusyGHaDX1E79ICa5WM Ho2tkhEoRi15qwCTOUBMA0CJnHSlmWsM1tpRug6XKJaAYM2cbUzQtskG6dg/97ph5HMIAZ ziPhQy5+WBvEgmXH9ONP0k3zNogNW+TuKM9nqKrOshD8qpb04V96Tpxy2OPYVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620596325; a=rsa-sha256; cv=none; b=AKzIRkpHsh7eXrt2vZV4K/vbstLfuDiRC8EhR1mIT3vF6v4lCX+tKSsscS6L0yvQ08sr55 vxDwt4Gj29InQqqY0N4sEETN90RHf4ZsdYCK9v+wY1W+rhdyYvGDHzUlFzdMNO2TBBgfS7 AcCqiskdio7KX1f6nxKxt1/i4MQYtx1UrPcqQzWfp53H3AI/+94SKpy8hNJBNlsSW62pLn xGs8lE8E7fjMMArHX9ih6FKLpcW+0VAS1iUsNJ27zvWr8tRsSx+J77G224K/vhQVizWOxU PhyjzQvNW8ZtXeWBa2UqSl2WTSJ3ZHQH6ZrGeDDSGonXxOWVNXne0Lx+3eHJqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FL9dnT0X; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FL9dnT0X; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B05841E259 X-Spam-Score: -3.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: psfqabcZzseN when i do a bulk archive, it will sometimes put 2 copies entries into the archive file. it is more likely to occur if i am archiving more tasks. at times, it seems certain entries do this repeatably, but i am not sure. there are times when i think i have reset everything (git is clean, archives are moved out of teh way) but this still occurs. i cannot make an mwe but it seemed worth reporting. where is it getting the duplicates from? idk. it has to be either the source .org file or the newly created and written archive file. idk if there are any caches or text properties or some hidden stuff in the agenda. but i can tell you that there have been times when i experimented with not cleaning everything and the duplicates increased. each run would create a new duplicate of certain entries. btw i have been trying to archive tasks to files for a year now. it is too slow for me. so i hit on the idea of moving archives out of the way, then archiving a little at a time to new archive files, then using the shell to append the new archived entries to the old archive files, then moving the old archive files back. thus, this isn't an issue of big archive files. wish i could provide more for you or even figure out debugging but i cannot; just hope it will ring bells.