Re: [PATCH 3/3] WIP: print error message from glib ini parser

2023-09-13 Thread Eric Blake
> _string); > + if (status_string) { > + fputs (status_string, stderr); > + free (status_string); > + status_string = NULL; > + } > + > switch (status) { > case NOTMUCH_STATUS_NO_CONFIG: >

Re: [PATCH 2/3] CLI: exit with error when load_config returns and error.

2023-09-13 Thread Eric Blake
pect_equal "$output" "false" > > test_begin_subtest "Bad utf8 reported as error" > -test_subtest_known_broken > cp initial-config bad-config > printf '[query]\nq3=from:\xff\n' >>bad-config > test_expect_code 1 "notmuch --config=./bad-config config list"

Re: notmuch breaks on \. in config file with upgrade from glib2 2.76.1 to 2.76.5

2023-09-11 Thread Eric Blake
b2-2.76.1 installed, I'm back to the scenario where 'notmuch --config=.notmuch-config config list' outputs nothing with exit status 0 (when it SHOULD have been reporting glib's error, "Key file contains key ā€œ%sā€ with value ā€œ%sā€ which is not UTF-8"). -- Eric Blake, Principal So

Re: [PATCH] config: Inform user if config file is broken

2023-09-06 Thread Eric Blake
On Wed, Sep 06, 2023 at 12:48:15PM -0300, David Bremner wrote: > Eric Blake writes: > > > > > I'm not sure if this is the best approach (as this is my first ever > > patch to notmuch), but it's better than nothing. > > Unfortunately we can't just print from t

Re: notmuch breaks on \. in config file with upgrade from glib2 2.76.1 to 2.76.5

2023-09-06 Thread Eric Blake
rror message to the user (serves as a warning to a user that their hand-written invalid escapes are being accepted anyways with 2.76.1, and gives the user an explanation why notmuch isn't working with 2.76.5). -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestf

[PATCH] config: Inform user if config file is broken

2023-09-06 Thread Eric Blake
glib 2.76.1 silently treats invalid escape sequences as two characters, even though it is willing to set a GError warning about it. While 'notmuch config set' never produces such sequences in the config file, the fact that the config file is human-readable lends itself to hand-written edits,

[PATCH] .gitignore: ignore __pycache__

2023-09-06 Thread Eric Blake
Python likes to leave behind cache files; noticeable when doing an in-tree build. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index f94d1480..eda6d9cf 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@

notmuch breaks on \. in config file with upgrade from glib2 2.76.1 to 2.76.5

2023-09-06 Thread Eric Blake
be the preferred way to modify the config file - but since it IS a human-readable file, notmuch should do a much better job of reporting errors whenever glib's gkeyfile API cannot parse the file (even if that failure to parse is caused by an unintended regression in glib behavior for rejecting somethi

Re: bug#56442: gnus-search-run-search: Hits notmuch command line length limits

2022-07-09 Thread Eric Abrahamsen
t spaces or the "or" or something -- anyway I got the impression that it couldn't accept multi-part queries inside the "thread:{}" syntax. But looking at your patch maybe I just needed to quote differently? Anyway I'll give this a tes

Re: contact instead of (to or from)

2022-06-10 Thread Fraga, Eric
uot; in my notmuch searches all the time for emails to/from the specified contact. -- Eric S Fraga via gnus (Emacs 29.0.50 2022-06-07) on Debian 11.3 ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org

Re: email to PDF

2021-12-06 Thread Eric S Fraga
buffer (or ps-print-buffer-with-faces). These generate a postscript file which you can easily convert to PDF (on Linux, at least). -- Eric S Fraga with org 9.5.1 in Emacs 29.0.50 on Debian 11.1 ___ notmuch mailing list -- notmuch@notmuchma

Re: notmuch and public-inbox

2021-04-30 Thread Eric Wong
Carl Worth wrote: > On Sat, May 01 2021, Eric Wong wrote: > > I never had the interest in using notmuch since Maildirs are a > > non-starter with millions of messages with current FSes/OSes. > > What bottleneck are you seeing here? > > I don't have million(s) of mes

Re: notmuch and mailing lists

2020-05-02 Thread Eric Wong
Sean Whitton wrote: > Hello, > > I was wondering whether anyone who previously read mailing lists via > NNTP has stopped doing this after starting to use notmuch. Fwiw, I have some slrn spool to Maildir translators here which should work with notmuch: Perl:

Re: performance problems with notmuch new

2020-04-29 Thread Eric Wong
David Bremner wrote: > Franz Fellner writes: > > mail takes at least 10 seconds, sometimes even more. It can go into > > minutes when I get lots of mail (~30...). When I run it after a > > reboot I can have breakfast while notmuch starts up... This is all on > > spinning rust. I thought of

Re: Unexpected output of "notmuch new --quiet"

2019-04-20 Thread Eric
ading, notmuch's ability to access such files will mean that I may be looking for a different solution to managing my email. That, of course, amy not matter much to anyone else, but how many others will there be? Eric -- ms fnd in a lbry ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

notmuch modifies DB while iterating?

2018-02-27 Thread Eric Wong
Hello, I'm neither a notmuch user or proficient in C++. However, I noticed a bug while working on public-inbox (in Perl) which shares Xapian thread linking logic with notmuch, and I suspect notmuch is affected by the same problem as public-inbox. The problem is in the _merge_threads function in

Re: Trouble decrypting multipart/encrypted

2016-11-29 Thread Eric Skoglund
David Bremner <da...@tethera.net> writes: > Eric Skoglund <e...@pagefault.se> writes: > >> David Bremner <da...@tethera.net> writes: >> >>> >>> Yeah, --verify only works with one of the structured output formats >>> (json or se

Re: Trouble decrypting multipart/encrypted

2016-11-28 Thread Eric Skoglund
ng "sigstatus : [ { 'status': 'good' }]". // Eric ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

Re: Trouble decrypting multipart/encrypted

2016-11-28 Thread Eric Skoglund
David Bremner <da...@tethera.net> writes: > Eric Skoglund <e...@pagefault.se> writes: > >> Hello, I've recently started using notmuch (together with emacs) and >> have now encountered some problems when trying to decrypt a >> multipart/encrypted message. >

Trouble decrypting multipart/encrypted

2016-11-27 Thread Eric Skoglund
.'. I've verified that gpg-agent is running (v2.1.13), both using ps which gives me: gpg-agent --homedir /home/eric/.gnupg --use-standard-socket --daemon and the gpg-connect-agent /bye return code is 0. I also tried to add the use-agent in gpg.conf but that hasn't helped at all. Signing and encrypting

Re: Mail archives in Git using ssoma (Docker image)

2016-09-07 Thread Eric Wong
David Bremner <da...@tethera.net> wrote: > Eric Wong <e...@80x24.org> writes: > > For mirroring existing lists, I started using public-inbox-watch > > which currently watches Maildirs. The config knobs are sorta > > documented from my announcement to git@vger: >

Re: Mail archives in Git using ssoma

2016-08-22 Thread Eric Wong
"W. Trevor King" <wk...@tremily.us> wrote: > On Sun, Aug 21, 2016 at 06:37:04PM +, Eric Wong wrote: > > Btw, for public-inbox, I'm using git-fast-import now, so imports are > > a bit faster and $GIT_DIR/ssoma.index is no longer used. This was > > crucial f

Re: Mail archives in Git using ssoma

2016-08-21 Thread Eric Wong
"W. Trevor King" <wk...@tremily.us> wrote: > On Fri, Nov 07, 2014 at 11:03:21AM -0800, W. Trevor King wrote: > > Eric Wong has been working on some tools to store email in a Git > > repository, and his client-side code is ssoma [1]. I wanted a bit > > more

Re: Mail archives in Git using ssoma (Docker image)

2016-08-21 Thread Eric Wong
"W. Trevor King" <wk...@tremily.us> wrote: > On Sun, Aug 21, 2016 at 12:08:52PM +, Eric Wong wrote: > > "W. Trevor King" <wk...@tremily.us> wrote: > > > This is the ssoma archive (with the data in it). I just set up a > > > ba

Re: Breaking a really long thread

2016-04-04 Thread Eric
uld be by a threading algorithm that doesn't use In-Reply-To, and I would consider that a bug in said algorithm. Actually I think there should be a "reply as new" option which uses the other message but does not add either In-Reply-To or References (and does not carry the latter forward if it exists). Eric -- ms fnd in a lbry ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

Re: Tcl bindings for notmuch

2016-03-01 Thread Eric J
On Sun, 14 Feb 2016 13:05:28 +0100 (CET), Eric J <e...@deptj.eu> wrote: > Resending with additional information: > I have been using notmuch for a while and I wanted to be able to use > notmuch queries in some Tcl stuff I have been using for a rather longer > while. I coul

Re: Lost updates to Notmuch database

2016-02-27 Thread Eric J
On Sun, 21 Feb 2016 13:57:30 +0100 (CET), Eric J <e...@deptj.eu> wrote: > On Wed, 17 Feb 2016 21:44:23 +0100 (CET), Eric J <e...@deptj.eu> wrote: > > Using the API, I am adding single mail files, already in the maildir, to > > the Notmuch database and tagging them. It

Re: Lost updates to Notmuch database

2016-02-21 Thread Eric J
On Wed, 17 Feb 2016 21:44:23 +0100 (CET), Eric J <e...@deptj.eu> wrote: > Using the API, I am adding single mail files, already in the maildir, to > the Notmuch database and tagging them. It works, every time, as long as > I run it one file at a time. > > However, if I do i

Re: Lost updates to Notmuch database

2016-02-18 Thread Eric J
On Wed, 17 Feb 2016 21:03:13 -0400, David Bremner <da...@tethera.net> wrote: > Eric J <e...@deptj.eu> writes: > > > However, if I do it twice, in different processes, at the same time, one > > file is added and tagged properly, the other is not (totally unfindable &

Re: Lost updates to Notmuch database

2016-02-18 Thread Eric J
On Thu, 18 Feb 2016 16:30:34 +0200, Tomi Ollila <tomi.oll...@iki.fi> wrote: > On Thu, Feb 18 2016, David Bremner <da...@tethera.net> wrote: > > > Eric J <e...@deptj.eu> writes: > > > >> However, if I do it twice, in different processes, at the same tim

Lost updates to Notmuch database

2016-02-17 Thread Eric J
message_maildir_flags_to_tags message_get_filename message_get_message_id database_end_atomic message_destroy database_close database_destroy I didn't realise till it was mostly written, but it is pretty much like add_new() in notmuch-new.c . Eric -- ms fnd in a lbry

Tcl bindings for notmuch

2016-02-14 Thread Eric J
ve no idea if or how the interface file would have to be changed for other languages. Eric -- ms fnd in a lbry ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

[O] how to put into a journal info about the email sent

2014-10-24 Thread Eric Abrahamsen
David Edmondson writes: > On Fri, Oct 24 2014, Eric Abrahamsen wrote: >> David Belohrad writes: >> >>> Dear All, >>> >>> i'm using org. And I'm using notmuch (that's why I address both mailing >>> lists). Now, writing an email in everyday bu

Re: [O] how to put into a journal info about the email sent

2014-10-24 Thread Eric Abrahamsen
David Edmondson d...@dme.org writes: On Fri, Oct 24 2014, Eric Abrahamsen wrote: David Belohrad da...@belohrad.ch writes: Dear All, i'm using org. And I'm using notmuch (that's why I address both mailing lists). Now, writing an email in everyday bussiness requires a non-significant time

nmh + notmuch: expected to work?

2014-06-10 Thread Eric Gillespie
I'm a long-time nmh user, and I heard notmuch was supposed to handle mh folders, so I gave it a shot. It's crazy slow. The first 'notmuch new' took 4 hours, but maybe that's expected. However, every 'notmuch new' takes 4 - 10 hours. The only time it completes faster is if I immediately re-run

nmh + notmuch: expected to work?

2014-06-10 Thread Eric Gillespie
I'm a long-time nmh user, and I heard notmuch was supposed to handle mh folders, so I gave it a shot. It's crazy slow. The first 'notmuch new' took 4 hours, but maybe that's expected. However, every 'notmuch new' takes 4 - 10 hours. The only time it completes faster is if I immediately re-run

Github?

2014-05-08 Thread Eric
ack, especially from the people who do most of the work on notmuch, is somewhat high-handed. Eric -- ms fnd in a lbry

excessive thread fusing

2014-04-19 Thread Eric
eaders, but each of these messages also has a References > header; this seems to indicate a case missed by commit cf8aaafbad68. > This may not actually be any help, but both hypermail and mhonarc agree that two messages form a separate thread from the rest. I believe that the latter, at

Re: excessive thread fusing

2014-04-19 Thread Eric
also has a References header; this seems to indicate a case missed by commit cf8aaafbad68. This may not actually be any help, but both hypermail and mhonarc agree that two messages form a separate thread from the rest. I believe that the latter, at least, is the JWZ algorithm. Eric -- ms fnd

Bug?: notmuch-search-show-thread shows several threads; only one containing matching messages

2014-01-27 Thread Eric
robably in any algorithm, but the maintainers of the mail client should also be told to fix it! (RFC2822) Digression I know, but I just wanted to flag the need for more work in general on threading in notmuch. Eric -- ms fnd in a lbry

Bug: notmuch new chokes on dangling symlinks and quits

2014-01-27 Thread Eric
; > In any case, if there is just a few broken symlinks, and you want to > > ignore them, you can add them the ignore= line in .notmuch-config > > Thanks, I deleted some, and ignored others. Insofar my problem is > solved. Eric -- ms fnd in a lbry

Re: Bug: notmuch new chokes on dangling symlinks and quits

2014-01-27 Thread Eric
symlinks, and you want to ignore them, you can add them the ignore= line in .notmuch-config Thanks, I deleted some, and ignored others. Insofar my problem is solved. Eric -- ms fnd in a lbry ___ notmuch mailing list notmuch@notmuchmail.org http

Re: Bug?: notmuch-search-show-thread shows several threads; only one containing matching messages

2014-01-27 Thread Eric
wanted to flag the need for more work in general on threading in notmuch. Eric -- ms fnd in a lbry ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

encoding when forwarding messages

2013-08-27 Thread Eric Abrahamsen
David Bremner writes: > Eric Abrahamsen writes: > >> I saw another message about the same problem on this list, in January, >> with the advice to upgrade to git, but I'm still seeing it on notmuch >> 0.16+7~gdc51bf0. Forwarding a message from within emacs using >>

encoding when forwarding messages

2013-08-27 Thread Eric Abrahamsen
-forward-message' on the same message, however, creates what appears to be a raw message, properly encoded. Is there something still amiss in the code? Am I using the wrong command? Thanks! Eric

encoding when forwarding messages

2013-08-27 Thread Eric Abrahamsen
-forward-message' on the same message, however, creates what appears to be a raw message, properly encoded. Is there something still amiss in the code? Am I using the wrong command? Thanks! Eric ___ notmuch mailing list notmuch@notmuchmail.org http

Re: encoding when forwarding messages

2013-08-27 Thread Eric Abrahamsen
David Bremner da...@tethera.net writes: Eric Abrahamsen e...@ericabrahamsen.net writes: I saw another message about the same problem on this list, in January, with the advice to upgrade to git, but I'm still seeing it on notmuch 0.16+7~gdc51bf0. Forwarding a message from within emacs using

UTF-8 in mail headers (namely FROM) sent by bugzilla

2013-07-24 Thread Eric Abrahamsen
Franz Fellner writes: > On Dienstag, 23. Juli 2013 11:30:28 CEST, Eric Abrahamsen wrote: >>> I have a problem with notmuch-vim (now: git master from 10 min. ago) >>> (also with alot and ner, not with 'notmuch show' or notmuch-emacs). >>> UTF-8-encoded From: (a

UTF-8 in mail headers (namely FROM) sent by bugzilla

2013-07-23 Thread Eric Abrahamsen
Franz Fellner writes: > Hi, > > I have a problem with notmuch-vim (now: git master from 10 min. ago) > (also with alot and ner, not with 'notmuch show' or notmuch-emacs). > UTF-8-encoded From: (at least) does not show Umlauts but a weird > encoded-string. > Example: > "Thomas L?bking" as one of

My mail configuration

2011-05-20 Thread eric casteleijn
some simple keybindings to mark stuff as junk/unwatch in my .emacs: http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/.emacs#L552 Hope someone finds this of use, -- eric casteleijn https://launchpad.net/~thisfred

Re: My mail configuration

2011-05-20 Thread eric casteleijn
to mark stuff as junk/unwatch in my .emacs: http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/.emacs#L552 Hope someone finds this of use, -- eric casteleijn https://launchpad.net/~thisfred ___ notmuch mailing list notmuch@notmuchmail.org http

Searching on arbitrary message headers

2010-07-28 Thread eric casteleijn
> Hi Eric, > > from notmuch/TODO: > >Add support for the user to specify custom headers to be indexed (and >re-index these for existing messages at the next database upgrade). > > I think that Carl has plans to implement this feature for v0.4 together > with

Searching on arbitrary message headers

2010-07-27 Thread eric casteleijn
if there is a way to specify additional headers to be indexed by notmuch, or if not, if others would find this a worthwhile addition? -- eric casteleijn https://code.launchpad.net/~thisfred http://thisfred.posterous.com/

[notmuch] [PATCH] notmuch.el: Require message mode to avoid undefined function in replies.

2009-11-25 Thread Eric Anholt
Otherwise, those without keithp's .emacs would end up with reply mode not being entered. Suggested by keithp. --- notmuch.el |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/notmuch.el b/notmuch.el index 551048a..42d397a 100644 --- a/notmuch.el +++ b/notmuch.el @@ -49,6

[notmuch] [PATCH] When a search query triggers a Xapian exception, log what the query was.

2009-11-20 Thread Eric Anholt
In my script containing a series of queries to be run on new mail for setting up tags, it's nice to see which query I typed wrong. Signed-off-by: Eric Anholt --- lib/query.cc |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/query.cc b/lib/query.cc index 75f22b3