Tomas Carnecky writes:
#if defined(__sun__)
... sprintf, stat etc
#else
(void) path;
return dirent-d_type == DT_DIR;
#endif
Rather than a platform-specific check, it would be better to check if DT_DIR
is defined.
Beware that even on Linux (where the d_type field is
On Tue, 22 Dec 2009 22:48:25 + (UTC), Olly Betts o...@survex.com wrote:
This is just the sort of thing which Xapian's user metadata is there
for. It's essentially a key/value store which is versioned along with
the rest of the Xapian database. So to set it:
The post-add hook is run by 'notmuch new' after each new message is added,
post-tag is run after a tag has been added or removed. The hooks are stored
in the users home directory (~/.notmuch/hooks/).
Since post-tag is run unconditionally every time a new tag is added or removed,
that means it is
On 12/22/09 3:56 AM, Tomas Carnecky wrote:
> The post-add hook is run by 'notmuch new' after each new message is
added,
> post-tag is run after a tag has been added or removed. The hooks are
stored
> in the users home directory (~/.notmuch/hooks/).
>
> Since post-tag is run unconditionally
Carl Worth writes:
> We don't have any concept of versioning yet, but it would obviously be
> easy to have a new version document with an increasing integer.
Adding a magic document for this isn't ideal as you have to make sure
it can't appear in search results, etc.
This is just the sort of
Tomas Carnecky writes:
> #if defined(__sun__)
> ... sprintf, stat etc
> #else
> (void) path;
> return dirent->d_type == DT_DIR;
> #endif
Rather than a platform-specific check, it would be better to check if DT_DIR
is defined.
Beware that even on Linux (where the d_type field is
er than a magic
document.
-Carl (grateful to have a Xapian expert keeping watch on the list)
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20091222/aec15b3c/attachment.pgp>
e to be
able to make of my mail store with things like this.
-Carl
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20091222/409c9d49/attachment.pgp>
pgp-signature
Size: 189 bytes
Desc: not available
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20091222/c075c46d/attachment.pgp>