unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: notmuch@notmuchmail.org
Subject: Support for multiple filenames (in notmuch library)
Date: Thu, 11 Nov 2010 05:11:09 -0800	[thread overview]
Message-ID: <87fwv8ngya.fsf@yoom.home.cworth.org> (raw)

[-- 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 --]

             reply	other threads:[~2010-11-11 13:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11 13:11 Carl Worth [this message]
2010-11-12 20:12 ` Support for multiple filenames (in notmuch library) Jameson Rollins

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://notmuchmail.org/

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

  git send-email \
    --in-reply-to=87fwv8ngya.fsf@yoom.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=notmuch@notmuchmail.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://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).