[PATCH] [EMACS] Adjust notmuch-crypto gpg call-process function

2017-01-03 Thread John Byrnes
Hey Notmuchers, I'm running the latest NixOS and noticed that the system does not install gpgv1 by default. This means that the only gpg binary available is the gpg2 binary. I found that notmuch-crypto.el hardcodes the GnuPG binary as gpg. I thought it might make more sense to rely on the

Re: [PATCH] tests: add compatibility layer

2017-01-03 Thread Mikhail
On 18:48 03-Jan 2017 Tomi Ollila wrote: # Finally, after everything configured, inform the user how to continue. diff --git a/test/README b/test/README index 104a120e..8376616f 100644 --- a/test/README +++ b/test/README @@ -33,6 +33,12 @@ chosen directory to your PATH before running the tests.

Re: converting attachments to text

2017-01-03 Thread Brian Sniffen
Sure! Here's what I use for docx, and I think it could be adapted to pdf with pdftotext or whatever you're already using there. You need a small shell script that reads from STDIN, writes to a file, and calls pandoc or pdftotext or whatever, like ~/bin/antiwordx: #!/bin/sh

Re: [PATCH] tests: add compatibility layer

2017-01-03 Thread Tomi Ollila
On Tue, Jan 03 2017, Tomi Ollila wrote: > On Mon, Jan 02 2017, mp39...@gmail.com wrote: > >> From: Mikhail >> >> Make test-lib-common.sh load test-lib-<$PLATFORM>.sh to create >> additional shim for platform specifics. >> >> Use test-lib-FREEBSD.sh to call

Re: [PATCH] tests: add compatibility layer

2017-01-03 Thread Tomi Ollila
On Tue, Jan 03 2017, Tomi Ollila wrote: > > To fix the above, one could use (possibly better written) mkwrap() > implementation, or do all of those by hand: e.g. > > if command -v gdate >/dev/null; then date () { gdate "$@"; }; fi > if command -v gbase64 >/dev/null; then

Re: [PATCH] tests: add compatibility layer

2017-01-03 Thread Tomi Ollila
On Mon, Jan 02 2017, mp39...@gmail.com wrote: > From: Mikhail > > Make test-lib-common.sh load test-lib-<$PLATFORM>.sh to create > additional shim for platform specifics. > > Use test-lib-FREEBSD.sh to call GNU utilities instead of native ones. Ok, now I've git a bit of time

Re: Ignoring nmh mail files

2017-01-03 Thread Axel Jantsch
David, I have uploaded the same email as file to dropbox: https://www.dropbox.com/s/i95dbadddmekau9/151?dl=0 Best, Axel > On Mon, 02 Jan 2017 16:43:30 +, David Edmondson said: > On Mon, Jan 02 2017, Axel Jantsch wrote: >> Hi David, >> Thanks for your quick

Re: Ignoring nmh mail files

2017-01-03 Thread Axel Jantsch
Hi David, Thanks for your quick response. The double From lines do not seem to be the problem, because when I remove one of them, no change. Also, many problem mails do not have double From lines, like the one I attach below So again, any idea is highly welcome! --Axel > On Sun, 01 Jan

Re: Ignoring nmh mail files

2017-01-03 Thread Axel Jantsch
I use notmuch version 0.17 on Ubuntu 15.04 which runs on a Virtual box with Windows as a host OS. I use libgmime-2.6-0, but no binaries. What else should I check? How can I see, which files are included in the database which are not? Best, Axel > On Mon, 02 Jan 2017 19:14:39 +, David

Re: Ignoring nmh mail files

2017-01-03 Thread David Bremner
David Edmondson writes: > On Tue, Jan 03 2017, Axel Jantsch wrote: > >> I use notmuch version 0.17 >> on Ubuntu 15.04 which runs on a Virtual box with Windows as a host OS. >> >> I use libgmime-2.6-0, but no binaries. >> What else should I check? > > 0.17 is pretty old - it may be

Re: Ignoring nmh mail files

2017-01-03 Thread David Edmondson
On Tue, Jan 03 2017, Axel Jantsch wrote: > I use notmuch version 0.17 > on Ubuntu 15.04 which runs on a Virtual box with Windows as a host OS. > > I use libgmime-2.6-0, but no binaries. > What else should I check? 0.17 is pretty old - it may be that someone will remember having fixed a bug since