aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-06emacs: shorten/replace first sentence of a few doc-stringsJonas Bernoulli
The first sentence should fit on the first line. It is okay if the first sentence/line does not contain all the information that the rest of the doc-string covers.
2020-12-06emacs: define notmuch-hello-url as a constantJonas Bernoulli
2020-12-06emacs: sanitize function that displays versionJonas Bernoulli
Previously it was defined in "notmuch-hello.el" and its name contained "hello" solely because it replaced an anonymous function that was mistakenly only bound in `notmuch-hello-mode-map'. But it makes more sense to bind it in all notmuch modes and even if we did not change that aspect it still would make no sense to have "hello" in its name.
2020-12-06emacs: more cleanup since dropping support for Emacs 24Jonas Bernoulli
Notmuch requires at least version 25 of Emacs now. Adjust comments that previously referenced version 24 specifically, even though they also apply to later releases. Remove documentation and code that no longer applies. - `mm-shr' no longer references `gnus-inhibit-images'.
2020-12-06emacs: remove kludge for Emacs 23 from notmuch-mua-mailJonas Bernoulli
Notmuch requires at least Emacs version 25. The `return-action' argument was added prior to Emacs 24.1 in 25ca2e61403f97b5a023164f2924d5f8aca2492a.
2020-12-06emacs: fix old bug in notmuch-mua-mailJonas Bernoulli
This fixes a regression introduced in [1: 7e20d264]. If the argument RETURN-ACTION was non-nil then we should pass along the value of that argument. Instead we passed along the constant symbol `return-action'. 1: 7e20d26480553f57d53bd9ec28cae163c1ac91e3 emacs: Fix mail composition under Emacs 23
2020-12-06emacs: remove redundant notmuch-hello-trimJonas Bernoulli
Use `string-trim', which exists since Emacs 24.4.
2020-11-11emacs: don't fset keymapsJonas Bernoulli
These keymaps are never invoked as commands so the function definitions serve no purpose.
2020-11-11emacs: add doc-string to notmuch-tree-mode-mapJonas Bernoulli
2020-11-11emacs: define notmuch-message-mode-map explicitlyJonas Bernoulli
Key bindings should not be defined at the top-level but inside a `defvar' form. Doing it at the top-level makes it harder to reliably customize key bindings.
2020-11-11emacs: silence byte-compilerJonas Bernoulli
2020-11-09debian: upload 0.31.2-3debian/0.31.2-3archive/debian/0.31.2-3David Bremner
2020-11-09debian: changelog for 0.31.2-2debian/0.31.2-2archive/debian/0.31.2-2David Bremner
2020-11-09debian: run tests in verbose modeDavid Bremner
A hopefully temporary change to try and debug some test failures on autobuilders.
2020-11-08release: explicitely build sphinx-htmldebian/0.31.2-10.31.2David Bremner
This is to force it to happen after the "make clean".
2020-11-08NEWS: update for 0.31.2David Bremner
2020-11-08debian: remove quilt patchesDavid Bremner
These were generated by dgit due a mix up with .orig.tar.xz files.
2020-11-08debian: update changelog for 0.31.2-1David Bremner
2020-11-08version: bump to 0.31.2David Bremner
2020-11-08build: change one more occurrence of 'version' to 'version.txt'.David Bremner
This one disguised via tar and sed trickery.
2020-11-08Commit Debian 3.0 (quilt) metadatadebian/0.31.1-1archive/debian/0.31.1-1David Bremner
[dgit (9.12) quilt-fixup]
2020-11-08release: call python3 instead of python0.31.1David Bremner
Debian does not install /usr/bin/python by default any more.
2020-11-08release: update release-checks.sh for s/version/version.txt/David Bremner
Another place missed by the rename.
2020-11-08debian: changelog for 0.31.1-1David Bremner
2020-11-08NEWS: add news for 0.31.1David Bremner
2020-11-08update versionsDavid Bremner
2020-11-08build: fix update-versions ruleDavid Bremner
This was missed in the rename of the 'version' file to version.txt
2020-10-30Rename version to version.txtRalph Seichter
Building Notmuch on macOS is known to cause problems because the Notmuch distribution archive contains two files named "version". These names clash with the <version> header as defined in C++20. Therefore, the existing naming will likely become a problem on other platforms as well, once compilers adopt the new standard. Signed-off-by: Ralph Seichter <github@seichter.de> Amended-by: db s/keyword/header/ in commit message.
2020-10-29lib/config: don't set destructor until iterator is initialized.David Bremner
As diagnosed by Olivier Taïbi in id:20201027100916.emry3k2wujod4xnl@galois.lan, if an exception is thrown while the initialization is happening (e.g. if the function is called on a closed database), then the destructor is (sometimes) invoked on an uninitialized Xapian object. Solve the problem by moving the setting of the destructor until after the placement new successfully completes. It is conceivable this might cause a memory leak, but that seems preferable to crashing, and in any case, there seems to be nothing better to be done if the initialization is failing things are in an undefined state by definition.
2020-10-21configure: replace $(realpath emacs) with $(cd emacs && pwd -P)Tomi Ollila
For portability; the realpath command (e.g. from GNU coreutils) is not so common outside Linux systems. The "$(cd emacs && pwd -P)" replaces that realpath(1) execution suitably in this context (using just bash(1) builtins).
2020-10-21emacs docs: rstdoc.el: consistent single quote conversionsTomi Ollila
With text-quoting-style 'grave keeps "'" and "`" quotes unaltered for further processing done by this code (regardless of locale...). The tools that read the reStructuredText markup generated can do their styling instead. Added temporary conversions of ' and ` to \001 and \002 so that 's and `s outside of `...' and `...` are converted separately ('s restored back to ' and `s converted to \`). Both `...' and `...` are finally "converted" to `...` (not ``...``). https://docutils.sourceforge.io/docs/user/rst/quickref.html documents that as `interpreted text`: "The rendering and meaning of interpreted text is domain- or application-dependent. It can be used for things like index entries or explicit descriptive markup (like program identifiers)." Which looks pretty much right.
2020-09-19emacs: Remove notmuch-mua-message-send-hookTim Quelch
Currently `message-send-hook` functions are being called twice: In notmuch send common when `notmuch-mua-send-hook` functions are run (which by default includes `notmuch-mua-message-send-hook`) and in `message-send` itself. Because `message-send-hook` functions are run in `message-send` itself, we don't need also need to run them before we delegate to `message-send` Calling `notmuch-mua-message-send-hook` resulted in functions in `message-send-hook` to be called twice. This causes bugs in non-idempotent hook functions.
2020-09-05Merge tag '0.31' into masterDavid Bremner
notmuch 0.31 release
2020-09-05NEWS: set release datedebian/0.31-1archive/debian/0.31-10.31David Bremner
2020-09-05debian: changelog for 0.31-1David Bremner
2020-09-05version: bump to 0.31David Bremner
2020-09-05News: add entry for unthreaded modeMark Walters
A belated NEWS entry for the new un-threaded mode introduced in Notmuch 0.30.
2020-09-04test: fix syntax errors in erroring calls to notmuch insertDavid Bremner
notmuch insert does not currently support passing a filename for the input, so all of these tests have an extra error in addition to the one being tested for. Currently this does not make a difference because the error being tested for is caught before the error of an extra command line argument. In the future it might make a difference, and in any case it is confusing.
2020-08-30NEWS: mention reproducibility fixdebian/0.31_rc2-1archive/debian/0.31_rc2-10.31_rc2David Bremner
2020-08-30NEWS: mention Emacs 27.1 compatibility fixesDavid Bremner
2020-08-29version: bump to 0.31~rc2David Bremner
2020-08-29debian: drop notmuch-emacs dependency packageDavid Bremner
elpa-notmuch is now present in oldstable, and we don't need to support direct upgrades from older releases than that.
2020-08-29debian: suggest mailscriptsDavid Bremner
These contain several useful tools for the notmuch user, particularly on Debian.
2020-08-29debian: suggest elpa-mailscriptsDavid Bremner
These contain some useful functions for notmuch users, mainly wrappers for scripts from mailscripts.
2020-08-23NEWS: remaining user visible library changesDavid Bremner
These could both cause / fix crashes for user code.
2020-08-23NEWS: mention new API entriesDavid Bremner
2020-08-23NEWS: mention port to Xapian 1.5David Bremner
2020-08-23NEWS: mention exception handling changesDavid Bremner
2020-08-23NEWS: mention merging of documentation for python bindingsDavid Bremner
2020-08-23NEWS: add news entry for tree navigation changesWilliam Casarin
Signed-off-by: William Casarin <jb55@jb55.com> Amended-by: db, add verb