From: Stefan Schmidt <stefan@datenfreihafen.org>
To: Keith Packard <keithp@keithp.com>
Cc: notmuch@notmuchmail.org
Subject: Re: [PATCH 1/2] lib/message: Add function to get maildir flags.
Date: Sun, 22 Nov 2009 19:33:38 +0100 [thread overview]
Message-ID: <20091122183338.GB5735@excalibur.local> (raw)
In-Reply-To: <yunvdh3pfm9.fsf@aiko.keithp.com>
[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]
Hello.
On Sat, 2009-11-21 at 16:28, Keith Packard wrote:
> On Sun, 22 Nov 2009 01:11:00 +0100, Stefan Schmidt <stefan@datenfreihafen.org> wrote:
>
> > +const char *
> > +notmuch_message_get_flags (notmuch_message_t *message)
>
> This function should interpret the flags that it finds and return a
> suitable set of notmuch tags. I'd suggest that 'unread' messages get
> both 'unread' and 'inbox' tags, as Maildir doesn't distinguish between
> 'don't show this to be by default again please' and 'I've read this
> message'. It seems best to hide the maildir-specific details inside the
> library instead of exposing them.
Thanks for the review. On a second thought the interface was really a bit ugly.
:)
I'm just back to my box and going through the outstanding mails shows me that
Michiel Buddingh has a more complete patch on the
convert-maildir-flags-into-tags issue which Carl has tagged for review. Will
wait what comes out of it and if anything is left for me to. :)
regards
Stefan Schmidt
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2009-11-22 18:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <yes>
2009-11-22 0:11 ` [PATCH 1/2] lib/message: Add function to get maildir flags Stefan Schmidt
2009-11-22 0:11 ` [PATCH 2/2] notmuch-new: Tag mails not as unread when the seen flag in the maildir is set Stefan Schmidt
2009-11-22 0:28 ` [PATCH 1/2] lib/message: Add function to get maildir flags Keith Packard
2009-11-22 18:33 ` Stefan Schmidt [this message]
2009-11-22 18:55 ` Michiel Buddingh'
2009-11-22 19:52 ` Stefan Schmidt
2009-11-26 8:17 ` [PATCH] Makefile: Enable backslash escapes for echo Stefan Schmidt
2009-11-26 8:43 ` Ingmar Vanhassel
2009-11-26 11:05 ` Jan Janak
2009-11-26 11:41 ` Karl Wiberg
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=20091122183338.GB5735@excalibur.local \
--to=stefan@datenfreihafen.org \
--cc=keithp@keithp.com \
--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).