Re: Problem. Not much does not work after install.bat and restart opera / Os

2021-08-29 Thread David Bremner
Resan Alkoyun writes: > Fresh install and then this.  I don't understand your report. Are you talking about the mail indexer notmuch from notmuchmail.org? We don't have 'install.bat' or any native Windows support. Also I'm not sure how opera would be related, except perhaps via some 3rd party

Re: configurable summary line for notmuch search

2021-08-29 Thread David Bremner
Jose Antonio Ortega Ruiz writes: > On Sat, Aug 28 2021, David Bremner wrote: > >> I was idly thinking about how to provide custom summary formats for >> notmuch-search. I know this has been discussed a few times on IRC, but I >> can't remember the kind of things people were looking for. So if

[PATCH 2/9] test/emacs: run notmuch-hello with a nonexisting default dir

2021-08-29 Thread David Bremner
This replicates the problem reported in Debian bug #922536. --- test/T440-emacs-hello.sh | 9 + 1 file changed, 9 insertions(+) diff --git a/test/T440-emacs-hello.sh b/test/T440-emacs-hello.sh index bafccd1f..9d1e5a9c 100755 --- a/test/T440-emacs-hello.sh +++ b/test/T440-emacs-hello.sh

[PATCH 3/9] emacs: wrap process-lines

2021-08-29 Thread David Bremner
Initially just set the working directory, to avoid (the implicit) call-process crashing when the default-directory points to a non-existent location. Use of a macro here is over-engineering for this change, but the same change needs to be applied to several other process creation primitives. ---

[PATCH 4/9] emacs: wrap call-process-region

2021-08-29 Thread David Bremner
As with notmuch--process-lines, initial purpose is to provide a safe binding for default-directory. This is enough to make notmuch-hello robust against non-existent or corrupt values default-directory, but probably not other views. --- emacs/notmuch-hello.el | 2 +- emacs/notmuch-lib.el |

[PATCH 8/9] emacs: wrap call-process

2021-08-29 Thread David Bremner
Provide a safe working directory --- emacs/notmuch-crypto.el | 6 +++--- emacs/notmuch-draft.el | 2 +- emacs/notmuch-lib.el| 14 +- emacs/notmuch-mua.el| 2 +- emacs/notmuch-show.el | 6 +++--- emacs/notmuch-tag.el| 2 +- test/T450-emacs-show.sh | 1 - 7 files

[PATCH 6/9] emacs: wrap make-process

2021-08-29 Thread David Bremner
Provide a safe working directory. --- emacs/notmuch-crypto.el | 2 +- emacs/notmuch-lib.el| 7 ++- test/T310-emacs.sh | 1 - 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el index de4d9aea..3ffb5654 100644 ---

[PATCH 7/9] test/emacs: test for notmuch-show with nonexistent CWD

2021-08-29 Thread David Bremner
Somewhat predictably, the other code path in notmuch-call-notmuch--helper also needs to be fixed. --- test/T450-emacs-show.sh | 8 1 file changed, 8 insertions(+) diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index a750cc4d..05e3692e 100755 --- a/test/T450-emacs-show.sh

[PATCH 5/9] test/emacs: test for notmuch-search with nonexistent CWD

2021-08-29 Thread David Bremner
(At least) notmuch-start-notmuch needs to be updated to set a safe working directory. --- test/T310-emacs.sh | 7 +++ 1 file changed, 7 insertions(+) diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh index d69d94a3..3434fd0b 100755 --- a/test/T310-emacs.sh +++ b/test/T310-emacs.sh @@

[PATCH 1/9] test/emacs: provide macro test-log-error

2021-08-29 Thread David Bremner
Because of the way emacs reports errors, a test form can crash and not change the main buffer. To work around this, capture both signalled errors and any other messages. --- test/test-lib.el | 12 1 file changed, 12 insertions(+) diff --git a/test/test-lib.el b/test/test-lib.el

Wrap process creating primitives with safe CWD

2021-08-29 Thread David Bremner
This a bit more of a change than I was expecting, but there is nothing very tricky here (except getting the tests for exceptions in emacs working took a bit of effort). I decided against trying to normalize the use of process-creating primitives (e.g. to all make-process or whatever) in this

[PATCH 9/9] test/emacs: tests for notmuch-{tree,unthreaded} with bad CWD

2021-08-29 Thread David Bremner
These work thanks to the previous wrapping of process creation primitives. --- test/T460-emacs-tree.sh | 6 ++ test/T465-emacs-unthreaded.sh | 6 ++ 2 files changed, 12 insertions(+) diff --git a/test/T460-emacs-tree.sh b/test/T460-emacs-tree.sh index 405d7ee7..aaece220 100755 ---

Re: [PATCH 0/5] Use closures and other emacs cleanup

2021-08-29 Thread David Bremner
Jonas Bernoulli writes: > Some assorted emacs cleanup and fixes. The big one is the switch to > using closures instead of backquoted lambdas. The other commits for > the most part just deal with things the compiler complained about. > series applied to master d

Re: [PATCH v2 1/2] reply: add test for multiple Delivered-To headers

2021-08-29 Thread David Bremner
Hannu Hartikainen writes: > Add a known broken subtest for guessing From: correctly when there are > multiple Delivered-To: headers. The address configured as primary_email > should get picked. series applied to master. d ___ notmuch mailing list --

Problem. Not much does not work after install.bat and restart opera / Os

2021-08-29 Thread Resan Alkoyun
Fresh install and then this.  ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org