From: Skip Montanaro <skip.montanaro@gmail.com>
To: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Read/process mbox file in Gnus
Date: Fri, 6 Nov 2020 12:40:59 -0600 [thread overview]
Message-ID: <CANc-5Uz49wU_Rw-mi6+dXichiD-BL6cRdgB82ArSUY4QOZ67UQ@mail.gmail.com> (raw)
In-Reply-To: <CANc-5UyHMtzvN89snoSPrmX8mhjduFvYbNktPOfdXw3p2UwsQQ@mail.gmail.com>
I was out riding around (new bike day <https://flic.kr/p/2k3WWdr> 😀) and
it occurred to me that the way I am using mbox files is just as a
transmission tool. All mail readers save some detail about the current
state of affairs (read, deleted, message order, etc). I think most probably
keep this information out-of-band somewhere, in something akin to a
database. VM keeps that information in the mbox file in the form of a bunch
of X-VM-whatever headers. This works perfectly for how I consume these
messages. My workflow on mail.python.org generates a file named u.mbox. I
download it and load it into VM, saving messages of interest to either
s.mbox or h.mbox. Those two files are uploaded back to mail.python.org,
then all three local files [ush].mbox are deleted. The next time I process
new unsure messages, I start from scratch. Deleting an mbox file
effectively zaps all metadata for that file's messages and I start anew
next time.
I'm going to guess Gnus saves metadata in ~/.newsrc.eld. It's not clear how
well it would take to me pulling the rug out from under it by replacing the
previous u.mbox file with a completely new one without also somehow
performing careful surgery on its metadata (assuming I also use it as my
normal mail reader).
Skip
next prev parent reply other threads:[~2020-11-06 18:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-05 16:58 Read/process mbox file in Gnus Skip Montanaro
2020-11-06 1:45 ` Eric Abrahamsen
2020-11-06 10:44 ` Robert Pluim
2020-11-06 12:19 ` Eric S Fraga
2020-11-06 13:09 ` Skip Montanaro
2020-11-06 13:27 ` Eric S Fraga
2020-11-06 16:27 ` Eric Abrahamsen
2020-11-06 18:40 ` Skip Montanaro [this message]
2020-11-09 13:40 ` Eric S Fraga
2020-11-06 15:34 ` Colin Baxter
2020-11-06 16:22 ` Robert Pluim
2020-11-06 18:03 ` Colin Baxter
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANc-5Uz49wU_Rw-mi6+dXichiD-BL6cRdgB82ArSUY4QOZ67UQ@mail.gmail.com \
--to=skip.montanaro@gmail.com \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.