emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [bug] archiving creates duplicate entries
Date: Sun, 9 May 2021 14:37:58 -0700	[thread overview]
Message-ID: <CAJcAo8v8g9aWUdW4Z-rjQZ2RDd5TvE0bGfbXpCsjGLG0aKRdEA@mail.gmail.com> (raw)

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.


             reply	other threads:[~2021-05-09 21:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-09 21:37 Samuel Wales [this message]
2021-05-10  2:05 ` [bug] archiving creates duplicate entries Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJcAo8v8g9aWUdW4Z-rjQZ2RDd5TvE0bGfbXpCsjGLG0aKRdEA@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).