summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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
2020-08-22Emacs: Fix notmuch-message-summary-face definitionTeemu Likonen
Emacs face definition forms are either ((DISPLAY . PLIST) (DISPLAY . PLIST)) or ((DISPLAY PLIST) ;For backward compatibility. (DISPLAY PLIST)) Commit a2388bc56e55da5d5695816818274f8a84b0ed92 (2020-08-08) follows neither of the correct formats. It defines: `((((class color) (background light)) ,@(and (>= emacs-major-version 27) '(:extend t)) (:background "#f0f0f0")) (((class color) (background dark)) ,@(and (>= emacs-major-version 27) '(:extend t)) (:background "#303030"))) which produces: ((DISPLAY :extend t (:background "#f0f0f0")) (DISPLAY :extend t (:background "#303030"))) And that is wrong format. This change fixes the face definition form to produce: ((DISPLAY :extend t :background "#f0f0f0") (DISPLAY :extend t :background "#303030")) which follows the (DISPLAY . PLIST) format (see above).
2020-08-22AUTHORS: update for 0.31David Bremner
Just shuffles existing authors around, mainly due to Jonas's enthusiastic cleanup work.
2020-08-22emacs: Use pop-to-buffer-same-window rather than switch-to-bufferSean Whitton
This means that notmuch commands obey display-buffer-alist so the user can customize how buffers show up. It also permits the use of C-x 4 4, C-x 5 5 and C-x t t, available in Emacs 28. For example, one can use C-x 4 4 M-x notmuch-jump-search RET to open a saved search in another window rather than the current window. Or in notmuch-search mode, C-x 5 5 RET to view the message at point in a new frame. notmuch-tree has custom buffer display logic, so bind display-buffer-overriding-action to make pop-to-buffer-same-window behave exactly as switch-to-buffer while that function is running.
2020-08-18debian/changelog: fix typoDavid Bremner
2020-08-18update changelog for 0.31~rc1-1debian/0.31_rc1-1archive/debian/0.31_rc1-10.31_rc1David Bremner
2020-08-17version: bump to 0.31~rc1David Bremner
2020-08-17NEWS: notmuch-mutt: system(shell pipeline) replaced internallyTomi Ollila
2020-08-16test: fix uninitialized variable use in T562-lib-databaseDavid Bremner
Fix a copy paste error of using the boolean ret as a notmuch_status_t, and uninitialized.
2020-08-16build: clean up sphinx.configDavid Bremner
Follow the existing practice and remove it under "distclean", same as sh.config and Makefile.config
2020-08-16devel/release-checks.sh: use grep to find copyright year.0.31_rc0David Bremner
This is quite fragile, but it works for now, unlike the python version. In general it seems conf.py is not intended to be evaluated outside of sphinx, as it assumes certain global names (in particular "tags") are defined.
2020-08-16debian: update symbols for 0.31David Bremner
Two new API entries for better error handling
2020-08-16debian: start changelog for 0.31~rc0-1David Bremner
2020-08-16version: bump to 0.31~rc0David Bremner
Start the release process for 0.31
2020-08-16emacs/tree: add notmuch-tree-archive-thread-then-nextWilliam Casarin
Now that notmuch-tree-next-thread acts more like its notmuch-show counterpart, let's update the binding to move to the next thread after archiving. Signed-off-by: William Casarin <jb55@jb55.com>
2020-08-16emacs/tree: enable moving to next thread in search resultsWilliam Casarin
This introduces a new function called notmuch-tree-next-thread-from-search which is analogous to notmuch-show-next-thread. It will switch to the next or previous thread from the parent search results. We rename notmuch-tree-{prev,next}-thread to a more descriptive notmuch-tree-{prev,next}-thread-in-tree to reflect the fact that it only moves to the next thread in the current tree. notmuch-tree-next-thread now switches to the next thread in the current tree first, but if there are none, it looks for the next tree in the search results. This makes notmuch-tree feel more like notmuch-show when using the M-Enter, M-n and M-p bindings. Signed-off-by: William Casarin <jb55@jb55.com>
2020-08-16emacs/tree: introduce notmuch-tree-parent-buffer variableWilliam Casarin
This variable will be used in a similar fashion to notmuch-show-parent-buffer. It will be used to navigate between threads from the parent search buffer. Signed-off-by: William Casarin <jb55@jb55.com>
2020-08-16test: update README to reflect dropping upgrade testsDavid Bremner
These test databases have been unneeded since ee897cab8.
2020-08-15Emacs: Indent first header line only when indentation is turned onTeemu Likonen
Previously in message-show mode message's first header line (From header) was always indented, even if user had turned thread indentation off with "<" (notmuch-show-toggle-thread-indentation) command. This change modifies notmuch-show-insert-headerline function so that it doesn't indent the first header line if notmuch-show-indent-content variable is nil. This change also modifies tests so that they expect this new output format: test/emacs-show.expected-output/notmuch-show-indent-thread-content-off
2020-08-12notmuch-mutt: replace shell pipeline with internal pipe processingTomi Ollila
The shell pipeline used to symlink files based in search results to "cache" directory for mutt(1) to use was prone to portability problems (due to /bin/sh differences). The replacement executes `notmuch search` without intermediate shell (so shell_quote was removed in this case), reads the filenames from piped output and symlinks files internally.
2020-08-12configure: Check if emacs >= 25 (instead of >= 24) is availableTomi Ollila
"The minimum supported major version of GNU Emacs is now 25.1." 25.1 is the first "released" version of Emacs 25.
2020-08-09try-emacs-mua: Trim `require' advice for Emacs 25Jonas Bernoulli
- Since Emacs 25 comes with `load-prefer-newer' we can remove the complicated variant of the advice, which implemented a poorman's version of that. - Since Emacs 25 comes with the new advice mechanism, we can use that now for the simple variant of the advice, which just informs about the library that is being required.
2020-08-09emacs: Use new advice mechanism do advice mm-shrJonas Bernoulli
Also because we now only support Emacs >= 25, we can remove the check for Emacs >= 24.
2020-08-09emacs: Do not abuse advice to monkey patch while testingJonas Bernoulli
Use `cl-letf*' instead.
2020-08-09emacs: Drop old advices that were only need for Emacs 23Jonas Bernoulli
2020-08-09emacs: Remove notmuch-read-char-choiceJonas Bernoulli
Just use `read-char-choice', which existed since Emacs 24.1.
2020-08-09emacs: Remove notmuch-setq-localJonas Bernoulli
Just use setq-local, which existed since Emacs 24.3.
2020-08-09emacs: Use cl-incf where appropriateJonas Bernoulli
It's shorter. That's it pretty much.
2020-08-09NEWS: At least Emacs 25.1 is required nowJonas Bernoulli
Some backward incompatible changes follow in the next few commits and going forward contributors don't have to worry about Emacs 24 at all anymore.
2020-08-09NEWS: Add stub for 0.31Jonas Bernoulli
2020-08-09emacs: Add end-of-file line to libraries that lack itJonas Bernoulli
2020-08-09emacs: Provide 'rstdoc' feature at end of fileJonas Bernoulli
Features should nearly always be provided at the very end of their libraries. This feature isn't one of the rare exceptions.
2020-08-09.gitignore: Sort using sort-linesJonas Bernoulli
2020-08-09test: Fix indentationJonas Bernoulli
Fix it to consistently match the style we have configured in ".dir-locals.el".
2020-08-09.dir-locals.el: Set variables for correct "shell" modeJonas Bernoulli
The major mode used for shell scripts is named 'sh-mode'. 'shell-mode' on the other hand implements an interactive shell in emacs-lisp.