Re: Notmuch emacs string-trim

2021-03-26 Thread David Bremner
Sami M'Barek  writes:

> When invoking something like notmuch-hello-search “tag:unread” in
> emacs I get “Wrong type argument: conspiracy, “tag:unread””. I’m
> assuming this relates to the switch between notmuch-hello-trim and
> string-trim.

Hi Sami;

notmuch-hello-search is an internal function expecting to called via a
widget action, with the widget as a first argument.  Did you maybe want
the function notmuch-search?

d
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Notmuch emacs string-trim

2021-03-26 Thread Sami M'Barek
Hello,

I was just trying to get back into my notmuch solution in emacs and noticed the 
notmuch-hello-search function has changed

From the looks of it on GitHub the commit 
8d701cdc997a1310efb2b6e08b95d705da9062e6 changed how the function works as 
Emacs 24.4 goes string trimming natively.
Not sure if I have miss understood this but string-trim still needs an argument 
to what it’s supposed to trim, just like the older version in notmuch did 
(notmuch-hello-trim).

When invoking something like notmuch-hello-search “tag:unread” in emacs I get 
“Wrong type argument: conspiracy, “tag:unread””. I’m assuming this relates to 
the switch between notmuch-hello-trim and string-trim.

Best regards
Sami___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: backing up tags

2021-03-26 Thread Martin Jambor
Hello,

On Fri, Mar 26 2021, Alan Schmitt wrote:
> Hello,
>
> I do not include my (huge, more than 5GB) notmuch database in backups,
> as it can be recreated from the email files… with one exception: tags.
> So I’m wondering if there is a way to backup these tags (and only the
> tags) with the hope it would be much smaller. Do you know ways to do it?
>

I believe that "notmuch dump" is supposed to do exactly that.  At least
I hope so because that is how I am backing up my email tags :-)

Martin
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: backing up tags

2021-03-26 Thread Alan Schmitt
Hello,

On 2021-03-26 15:31, Martin Jambor  writes:

> On Fri, Mar 26 2021, Alan Schmitt wrote:
>> Hello,
>>
>> I do not include my (huge, more than 5GB) notmuch database in backups,
>> as it can be recreated from the email files… with one exception: tags.
>> So I’m wondering if there is a way to backup these tags (and only the
>> tags) with the hope it would be much smaller. Do you know ways to do it?
>>
>
> I believe that "notmuch dump" is supposed to do exactly that.  At least
> I hope so because that is how I am backing up my email tags :-)

Thank you for the suggestion, I’ll have a look. Someone also privately
suggested https://framagit.org/manu/notmuch-tools, which can be used for
tags synchronization.

Thanks again,

Alan


signature.asc
Description: PGP signature
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


backing up tags

2021-03-26 Thread Alan Schmitt
Hello,

I do not include my (huge, more than 5GB) notmuch database in backups,
as it can be recreated from the email files… with one exception: tags.
So I’m wondering if there is a way to backup these tags (and only the
tags) with the hope it would be much smaller. Do you know ways to do it?

Best,

Alan


signature.asc
Description: PGP signature
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org