[PATCH] notmuch-config: ENOENT vs generic handling when file open fails.

2017-01-04 Thread Tomi Ollila
When opening configuration file fails, ENOENT (file not found) is handled specially -- in setup missing file is ok (often expected), and otherwise user can be informed to run notmuch setup. In any other case the the reason is unknown, so there is no other option but to print generic error message

[PATCH] test: wrap 'wc -l' results in arithmetic evaluation to strip whitespace

2017-01-04 Thread Tomi Ollila
Some new unwrapped 'wc -l's have been added since Jani's 60e79e3a9f1c8 --- test/T070-insert.sh| 2 +- test/T580-thread-search.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/T070-insert.sh b/test/T070-insert.sh index 57472b913964..7fb3b87e4584 100755 ---

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

2017-01-04 Thread Tomi Ollila
On Thu, Jan 05 2017, John Byrnes wrote: >> I think this is reasonable. We're already setting epg-gpg-program in >> test/test-lib.sh, and in debian, epg-gpg-program is provided by >> epg-config.el, which is part of emacs$VERSION-el, which is a dependency >> of

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

2017-01-04 Thread John Byrnes
Hi Tomi, > Well, I don't know how to add epg-gpg-program to this fedora 25 > installation... epg-gpg-program is an elisp variable which points to the actual GnuPG binary on your system. You can customize this by setting it in your init.el or in the Emacs customization mode. Best regards, John

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

2017-01-04 Thread John Byrnes
> I think this is reasonable. We're already setting epg-gpg-program in > test/test-lib.sh, and in debian, epg-gpg-program is provided by > epg-config.el, which is part of emacs$VERSION-el, which is a dependency > of emacs$VERSION-common. I believe that epg is part of the standard emacs packages

[PATCH] test: replaced use of python with $NOTMUCH_PYTHON (twice)

2017-01-04 Thread Tomi Ollila
$NOTMUCH_PYTHON is sourced from sh.config, configured by ./configure and stated to be used as: "Name of python command to use in configure and the test suite." --- test/T260-thread-order.sh | 2 +- test/test-lib.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

archives and pictures display by default

2017-01-04 Thread Tomas Nordin
Hello Notmuchers When I get zip files as attachment with pictures, they all expand for viewing. Can I turn this off? Best regards -- Tomas Nordin | (The computing freedom explorer) GPG Key: AB09AF78 ___ notmuch mailing list notmuch@notmuchmail.org

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

2017-01-04 Thread Tomi Ollila
On Wed, Jan 04 2017, Daniel Kahn Gillmor wrote: > On Tue 2017-01-03 21:55:48 -0500, John Byrnes wrote: >> 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. >>

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

2017-01-04 Thread Daniel Kahn Gillmor
On Tue 2017-01-03 21:55:48 -0500, John Byrnes wrote: > 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 >

Re: some issues with emacs 25

2017-01-04 Thread Matthew Lear
On 03/12/16 01:58, David Bremner wrote: > Matthew Lear writes: > >> >> I'd happily post some debug info to help analyse this if somebody could >> give me a few pointers about what would be needed and the emacs-fu >> needed to generate this. >> > > I think the best thing at

[PATCH] test: atomicity.py: improve exit probability on failure

2017-01-04 Thread Tomi Ollila
Some gdb python exceptions on some os environments (e.g. macOS Sierra, non-codesigned gdb) do not make gdb exit (but to drop down to nonexistent command line?). Mitigate this chance by explict SystemExit on all exceptions. The contents of output file 'gdb.out' is unchanged. --- test/atomicity.py