unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* "Detected x file renames" for copies
@ 2024-01-31 10:37 Michael J Gruber
  0 siblings, 0 replies; only message in thread
From: Michael J Gruber @ 2024-01-31 10:37 UTC (permalink / raw)
  To: notmuch

Hi there,

I noticed the following:
- have file f indexed by notmuch
- copy message file to a different folder using `notmuch insert --folder=Y < f`
- run notmuch new
This results in "Detected x file renames" if you do that for x files.

I have not checked whether this depends on folder names or on which
file copy notmuch considers as "the" message file. Probably this comes
from being able to find the message by filename or not in
notmuch.c:remove_filename().

I find "renames" confusing because it's the same message when you
actually move files, i.e. delete the original. But I"m wondering
whether it's worth investigating. I know not to be surprised now :)

Michael

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-31 10:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-31 10:37 "Detected x file renames" for copies Michael J Gruber

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.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).