aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-30emacs: use ".ps" suffix for PostScript temporary files.David Bremner
Joerg Jaspert [1] reported problems with evince reading unsuffixed temporary files in Debian. [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920856
2019-01-27doc: fix references to search.exclude_tagsPeter Wang
The documentation incorrectly referred to a configuration item "search.tag_exclude" in some places, instead of "search.exclude_tags".
2019-01-25configure: check that the version of emacs we may have is at least 24Tomi Ollila
This also effectively drops support to Emacs version 23, which was deprecated in version 0.23.2 (2016-11-20) and did not entirely work any more.
2019-01-25docs: Use correct call to notmuch_query_search_threads in usage examplerhn
Amended by db: simplify (subjectively) the example.
2019-01-25test: Check for replies obeying lifetime guaranteesrhn
The test attempts to check that a message coming from a thread outlives its messages list and gets destroyed together with the thread.
2019-01-25lib: Explicitly state when replies will be destroyedrhn
Without an explicit guarantee, it's not clear how to use the reference.
2018-12-20doc: make man pages depend on emacs docstringsDavid Bremner
This is nonsensical on the face of it, but is needed (for now) because the notmuch-emacs page is unconditionally included in index.rst.
2018-12-08doc/emacs: document notmuch-cycle-notmuch-buffersDavid Bremner
For some reason I couldn't find this when I searched, so add it to the manual.
2018-12-08doc/emacs: document notmuch-poll*David Bremner
The current "documentation" for these variables consists of only the variable names.
2018-12-08doc/emacs: document notmuch-tagging-keysDavid Bremner
Calling these "Global keys" is arguably a bit of a stretch, but they do work in all notmuch modes except notmuch-hello.
2018-12-08doc/emacs: document notmuch-message-headers*David Bremner
More precisely, copy the docstrings into notmuch-emacs documentation pages.
2018-12-08doc/emacs: add documentation for stashing 'c X' bindingsDavid Bremner
This is the first of a series of changes requiring the extracted docstrings.
2018-12-08doc/emacs: require extracted docstrings for sphinx or info manualDavid Bremner
We need to use the stamp file here in order not to depend on the order the submakefiles are included.
2018-12-08emacs: build docstring (rsti) filesDavid Bremner
These are intended to included in the sphinx manual for notmuch-emacs. The stamp file makes it easier to depend on the docstrings from other parts of the build
2018-12-08emacs: initial version of rstdoc.elDavid Bremner
This small library is intended to support batch extraction of Emacs Lisp docstrings from source files. Clients will need to include (or replace) rstdoc.rsti.
2018-12-07reply: Include sender as recipient if they were the original recipientDavid Edmondson
When generating a reply message, if the user was the originator and only recipient of the original message, include the user as a recipient of the reply.
2018-12-06emacs: filter tag completions by current queryWilliam Casarin
When filtering by tags in notmuch-search-filter-by-tag, only return tags related to the current query. Before, it was returning all tags. There's no reason to refine the current query with tags that don't exist in the current result set. Signed-off-by: William Casarin <jb55@jb55.com>
2018-11-24cli: notmuch show support for --include-html with --format=textMaxime Coste
2018-11-24cli: notmuch show support for --body=false with --format=textMaxime Coste
2018-10-21emacs: escape quote in docstringDavid Bremner
This prevents emacs from turning it into a fancy, non-evaluable docstring (and also makes it easier to deal with during extraction to sphinx).
2018-10-21emacs: require notmuch-lib from notmuch-wash.elDavid Bremner
This is needed so that notmuch-wash.el is loadable by itself; in particular for the docstring processing.
2018-10-21Avoid spurious gcc warning in debugger.cDaniel Kahn Gillmor
Without this patch, gcc 8.2.0-7 complains: debugger.c: In function ‘debugger_is_active’: debugger.c:40:24: warning: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Wrestrict] if (readlink (buf, buf, sizeof (buf)) != -1 && ~~~ ^~~ This is pretty silly, but it seems simplest to just avoid passing the same buffer to readlink as both pathname and buf.
2018-10-21index: explicitly follow GObject conventionsDaniel Kahn Gillmor
Use explicit labels for GTypeInfo member initializers, rather than relying on comments and ordering. This is both easier to read, and harder to screw up. This also makes it clear that we're mis-casting GObject class initializers for gcc. Without this patch, g++ 8.2.0-7 produces this warning: CXX -g -O2 lib/index.o lib/index.cc: In function ‘GMimeFilter* notmuch_filter_discard_non_term_new(GMimeContentType*)’: lib/index.cc:252:23: warning: cast between incompatible function types from ‘void (*)(NotmuchFilterDiscardNonTermClass*)’ {aka ‘void (*)(_NotmuchFilterDiscardNonTermClass*)’} to ‘GClassInitFunc’ {aka ‘void (*)(void*, void*)’} [-Wcast-function-type] (GClassInitFunc) notmuch_filter_discard_non_term_class_init, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The definition of GClassInitFunc in /usr/include/glib-2.0/gobject/gtype.h suggests that this function will always be called with the class_data member of the GTypeInfo. We set that value to NULL in both GObject definitions in notmuch. So we mark it as explicitly unused. There is no functional change here, just code cleanup.
2018-10-12Merge tag 'debian/0.28-2'David Bremner
notmuch release 0.28-2 for unstable (sid) [dgit] [dgit distro=debian]
2018-10-12debian: override location of bashdebian/0.28-2archive/debian/0.28-2David Bremner
Yes, a build chroot can have /usr/bin/bash, thanks to usrmerge, but we can't depend on it existing in the user's system.
2018-10-12version: bump to 0.28debian/0.28-1archive/debian/0.28-10.28David Bremner
2018-10-12debian: changelog stanza for 0.28-1David Bremner
2018-10-12NEWS: NEWS for 0.28David Bremner
This is based on my subjective assessment of what is user/packager facing and important from the output of 'git shortlog'
2018-10-08emacs: Update integration with third party packages.David Edmondson
`mm-inline-text-html-with-images' was removed from mm-decode.el in 2016 and replaced with `mm-html-inhibit-images'. `gnus-select-frame-set-input-focus' was removed from gnus-util.el in 2016 and existed only for XEmacs compatibility.
2018-10-08test: git should ignore message-id-parseDaniel Kahn Gillmor
b31e44c678bf3bfe81bcc5f159e627551f12700f introduced message-id-parse as a new binary created by the test suite. It shows up as something additional to git, but git ought to know to ignore it.
2018-10-03debian: changelog for 0.28~rc0-1debian/0.28_rc0-10.28_rc0David Bremner
2018-10-03NEWS: start NEWS for 0.28David Bremner
Just a stub for now.
2018-10-03version: bump to 0.28~rc0David Bremner
2018-10-02debian: update zsh completion installationDavid Bremner
This ${prefix}/share/vendor-completion convention seems to be debian specific, so leave the global default alone for now.
2018-10-02completion: more complete completion for zsh.Vincent Breitmoser
This adds completion files for zsh that cover most of notmuch's cli. The files in completion/zsh are formatted so that they can be found by zsh's completion system if put $fpath. They are also registered to the notmuch-* pattern, so they can be called externally using _dispatch. Update installation recipe and drop debian/notmuch.examples to avoid breakage. This means zsh completion is not installed for debian, to be fixed in a future commit. Amended by db: use regexp searching for address completion. This seems to be fast enough to work without a cache.
2018-09-28emacs: Call `notmuch-mua-send-hook' hooks when sending a messageDavid Edmondson
Previously any hook functions attached to `notmuch-mua-send-hook' were ignored.
2018-09-28test: Check that `notmuch-mua-send-hook' is called on sending a messageDavid Edmondson
2018-09-19python: fix unchecked None access in get_propertyVincent Breitmoser
2018-09-18debian: update notmuch-mutt packaging to use install targetDavid Bremner
2018-09-18debian: bump compat level to 11David Bremner
The immediate motivation is to have dh_installman look in debian/tmp
2018-09-18contrib/notmuch-mutt: add install targetDavid Bremner
The main goal here is to be able to install the notmuch-mutt script with an absolute shebang. I have tried to make the notmuch-mutt Makefile use configure information from notmuch if available, but make suitable guesses if not.
2018-09-18configure: absolute path of perlDavid Bremner
This can be used to set shebang lines during install.
2018-09-18build: install notmuch-emacs-mua with absolute shebangDavid Bremner
Follow distro-centric rules to reduce the chance of surprising behaviour due to PATH changes
2018-09-18configure: absolute path of bashDavid Bremner
This can be used to set shebang lines during install.
2018-09-14test: make regexp test conditional on field processorsDavid Bremner
Normally we'd mark it broken, but perversely missing regexp support actually makes the test pass.
2018-09-14test: mark thread subqueries broken without field processorsDavid Bremner
Currently these tests just fail when notmuch is built against Xapian 1.2.x
2018-09-14debian: add tar-ignore=.gitDavid Bremner
Unfortunately 514fb397c9 somewhat messed up the "debian-snapshot" target, by including .git in the generated tarball.
2018-09-09Merge tag 'debian/0.27-3'David Bremner
notmuch release 0.27-3 for unstable (sid) [dgit] [dgit distro=debian]
2018-09-09debian: drop argument-less tar-ignoredebian/0.27-3archive/debian/0.27-3David Bremner
This hangs up dgit. It's probably not useful for users of the source package to have debian/.gitignore, but it should not hurt.
2018-09-08test: Absolute and relative directory paths.David Edmondson