unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Support for multiple filenames (in notmuch library)
@ 2010-11-11 13:11 Carl Worth
  2010-11-12 20:12 ` Jameson Rollins
  0 siblings, 1 reply; 2+ messages in thread
From: Carl Worth @ 2010-11-11 13:11 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

As part of my recent work to fix up the maildir-flags synchronization
patches, I found myself needing to access the complete list of filenames
for a given message. So I added the following, new public function to
libnotmuch:

	notmuch_filenames_t *
	notmuch_message_get_filenames (notmuch_message_t *message);

This of course, works with the existing notmuch_filenames_valid,
notmuch_filenames_move_to_next, and notmuch_filenames_get functions to
allow iteration over all filenames for a message.

I know some people have been wanting support like this for some time.

Others want similar support in the command-line tools, (to show
duplicate files rather than suppressing them). This would be fairly easy
to add now. Does anyone have recommendations for suitable command-line
arguments?

	notmuch search --with-duplicates

Or something else??

Anyway, have fun with this.

-Carl

-- 
carl.d.worth@intel.com

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-12 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-11 13:11 Support for multiple filenames (in notmuch library) Carl Worth
2010-11-12 20:12 ` Jameson Rollins

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).