excluding files from a folder for searches

2014-07-17 Thread Alan Schmitt
On 2014-07-17 11:38, David Bremner  writes:

> Alan Schmitt  writes:
>
>> By the way, how will notmuch realize that the messages are no longer
>> there? Does it still scan the directory when it's in new.ignore?
>
> No, I think you'll have to do something manual like remove the directory
> from the ignore list, move the directory out of the way, an re-run
> notmuch new.

That worked great, thanks a lot!

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 494 bytes
Desc: not available
URL: 



excluding files from a folder for searches

2014-07-17 Thread Alan Schmitt
On 2014-07-16 21:10, David Bremner  writes:

>> I'm trying to configure notmuch such that it never searches for files in
>> my Trash folder. I have found in the configuration how to exclude some
>> tags from every search, but not how to exclude a folder.
>>
>> Is it possible?
>
> One thing you can do is mark the trash folder to be ignored by 
> notmuch new. See the new.ignore setting in man notmuch-config(1).

Thank you for the suggestion, I've added ".Trash" to this list. As the
current messages will be deleted in about a week, it should be fine.

By the way, how will notmuch realize that the messages are no longer
there? Does it still scan the directory when it's in new.ignore?

Thanks again,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 494 bytes
Desc: not available
URL: 



excluding files from a folder for searches

2014-07-17 Thread David Bremner
Alan Schmitt  writes:

>
> By the way, how will notmuch realize that the messages are no longer
> there? Does it still scan the directory when it's in new.ignore?
>

No, I think you'll have to do something manual like remove the directory
from the ignore list, move the directory out of the way, an re-run
notmuch new.


Re: excluding files from a folder for searches

2014-07-17 Thread Alan Schmitt
On 2014-07-16 21:10, David Bremner da...@tethera.net writes:

 I'm trying to configure notmuch such that it never searches for files in
 my Trash folder. I have found in the configuration how to exclude some
 tags from every search, but not how to exclude a folder.

 Is it possible?

 One thing you can do is mark the trash folder to be ignored by 
 notmuch new. See the new.ignore setting in man notmuch-config(1).

Thank you for the suggestion, I've added .Trash to this list. As the
current messages will be deleted in about a week, it should be fine.

By the way, how will notmuch realize that the messages are no longer
there? Does it still scan the directory when it's in new.ignore?

Thanks again,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7


pgpqxn4H0ZOOV.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: excluding files from a folder for searches

2014-07-17 Thread David Bremner
Alan Schmitt alan.schm...@polytechnique.org writes:


 By the way, how will notmuch realize that the messages are no longer
 there? Does it still scan the directory when it's in new.ignore?


No, I think you'll have to do something manual like remove the directory
from the ignore list, move the directory out of the way, an re-run
notmuch new.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: excluding files from a folder for searches

2014-07-17 Thread Alan Schmitt
On 2014-07-17 11:38, David Bremner da...@tethera.net writes:

 Alan Schmitt alan.schm...@polytechnique.org writes:

 By the way, how will notmuch realize that the messages are no longer
 there? Does it still scan the directory when it's in new.ignore?

 No, I think you'll have to do something manual like remove the directory
 from the ignore list, move the directory out of the way, an re-run
 notmuch new.

That worked great, thanks a lot!

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7


pgpsafrubK_Tc.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


excluding files from a folder for searches

2014-07-16 Thread David Bremner
Alan Schmitt  writes:

> Hello,
>
> I'm trying to configure notmuch such that it never searches for files in
> my Trash folder. I have found in the configuration how to exclude some
> tags from every search, but not how to exclude a folder.
>
> Is it possible?
>

One thing you can do is mark the trash folder to be ignored by 
notmuch new. See the new.ignore setting in man notmuch-config(1).

d


excluding files from a folder for searches

2014-07-16 Thread Alan Schmitt
Hello,

I'm trying to configure notmuch such that it never searches for files in
my Trash folder. I have found in the configuration how to exclude some
tags from every search, but not how to exclude a folder.

Is it possible?

Thanks a lot,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7


pgpK3fyn_sF6D.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: excluding files from a folder for searches

2014-07-16 Thread David Bremner
Alan Schmitt alan.schm...@polytechnique.org writes:

 Hello,

 I'm trying to configure notmuch such that it never searches for files in
 my Trash folder. I have found in the configuration how to exclude some
 tags from every search, but not how to exclude a folder.

 Is it possible?


One thing you can do is mark the trash folder to be ignored by 
notmuch new. See the new.ignore setting in man notmuch-config(1).

d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch