summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* update changelog for 0.31~rc1-1debian/0.31_rc1-1archive/debian/0.31_rc1-1David Bremner2020-08-18
|
* version: bump to 0.31~rc1David Bremner2020-08-17
|
* NEWS: notmuch-mutt: system(shell pipeline) replaced internallyTomi Ollila2020-08-17
|
* test: fix uninitialized variable use in T562-lib-databaseDavid Bremner2020-08-16
| | | | | Fix a copy paste error of using the boolean ret as a notmuch_status_t, and uninitialized.
* build: clean up sphinx.configDavid Bremner2020-08-16
| | | | | Follow the existing practice and remove it under "distclean", same as sh.config and Makefile.config
* devel/release-checks.sh: use grep to find copyright year.debian/0.31_rc0-1archive/debian/0.31_rc0-1David Bremner2020-08-16
| | | | | | | | | 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.
* debian: update symbols for 0.31David Bremner2020-08-16
| | | | Two new API entries for better error handling
* debian: start changelog for 0.31~rc0-1David Bremner2020-08-16
|
* version: bump to 0.31~rc0David Bremner2020-08-16
| | | | Start the release process for 0.31
* emacs/tree: add notmuch-tree-archive-thread-then-nextWilliam Casarin2020-08-16
| | | | | | | | 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>
* emacs/tree: enable moving to next thread in search resultsWilliam Casarin2020-08-16
| | | | | | | | | | | | | | | | | | | | 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>
* emacs/tree: introduce notmuch-tree-parent-buffer variableWilliam Casarin2020-08-16
| | | | | | | | 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>
* test: update README to reflect dropping upgrade testsDavid Bremner2020-08-16
| | | | These test databases have been unneeded since ee897cab8.
* Emacs: Indent first header line only when indentation is turned onTeemu Likonen2020-08-15
| | | | | | | | | | | | | | | 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
* notmuch-mutt: replace shell pipeline with internal pipe processingTomi Ollila2020-08-12
| | | | | | | | | | 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.
* configure: Check if emacs >= 25 (instead of >= 24) is availableTomi Ollila2020-08-12
| | | | | | "The minimum supported major version of GNU Emacs is now 25.1." 25.1 is the first "released" version of Emacs 25.
* try-emacs-mua: Trim `require' advice for Emacs 25Jonas Bernoulli2020-08-09
| | | | | | | | | | - 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.
* emacs: Use new advice mechanism do advice mm-shrJonas Bernoulli2020-08-09
| | | | | Also because we now only support Emacs >= 25, we can remove the check for Emacs >= 24.
* emacs: Do not abuse advice to monkey patch while testingJonas Bernoulli2020-08-09
| | | | Use `cl-letf*' instead.
* emacs: Drop old advices that were only need for Emacs 23Jonas Bernoulli2020-08-09
|
* emacs: Remove notmuch-read-char-choiceJonas Bernoulli2020-08-09
| | | | Just use `read-char-choice', which existed since Emacs 24.1.
* emacs: Remove notmuch-setq-localJonas Bernoulli2020-08-09
| | | | Just use setq-local, which existed since Emacs 24.3.
* emacs: Use cl-incf where appropriateJonas Bernoulli2020-08-09
| | | | It's shorter. That's it pretty much.
* NEWS: At least Emacs 25.1 is required nowJonas Bernoulli2020-08-09
| | | | | | 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.
* NEWS: Add stub for 0.31Jonas Bernoulli2020-08-09
|
* emacs: Add end-of-file line to libraries that lack itJonas Bernoulli2020-08-09
|
* emacs: Provide 'rstdoc' feature at end of fileJonas Bernoulli2020-08-09
| | | | | Features should nearly always be provided at the very end of their libraries. This feature isn't one of the rare exceptions.
* .gitignore: Sort using sort-linesJonas Bernoulli2020-08-09
|
* test: Fix indentationJonas Bernoulli2020-08-09
| | | | | Fix it to consistently match the style we have configured in ".dir-locals.el".
* .dir-locals.el: Set variables for correct "shell" modeJonas Bernoulli2020-08-09
| | | | | | The major mode used for shell scripts is named 'sh-mode'. 'shell-mode' on the other hand implements an interactive shell in emacs-lisp.
* Fix typosJonas Bernoulli2020-08-09
|
* emacs: Increase consistency of library headersJonas Bernoulli2020-08-09
|
* emacs: Various cosmetic changesJonas Bernoulli2020-08-09
|
* emacs: Autoload notmuch-jump using an autoload cookieJonas Bernoulli2020-08-09
| | | | | | Doing that is better than using an `autoload' form because the latter may result in dependencies getting hidden and indeed it turns out we have to declare `notmuch-jump' in "notmuch-tag.el".
* emacs: Autoload notmuch-jump-search only onceJonas Bernoulli2020-08-09
| | | | | | | | | | | | | | | | This function is being autoloaded using an autoload cookie, so it shouldn't additionally be autoloaded using an `autoload' form. When building libraries we don't actually load the autoloads file and dropping the `autoload' form results in an error, which reveals a so far unspecified dependency: `notmuch-tree' needs `notmuch-jump'. Before this commit compiling (or even just loading) `notmuch-tree' resulted in `notmuch-jump' being loaded because the former requires `notmuch-lib', which autoloaded `notmuch-jump-search'. The bug was that this dependency was not explicitly specified, which we fix by adding the respective `require' form.
* emacs: Improve doc-stringsJonas Bernoulli2020-08-09
| | | | | | | | | | | | | | | | | | | | | - The first sentence should fit on the first line in full. This is even the case when that causes the line to get a bit long. If it gets very long, then it should be made shorter. - Even even the second sentence would fit on the first line, if it just provides some details, then it shouldn't be done. - Symbols are quoted like `so'. - There is no clear rule on how to (not) quote non-atomic s-expressions, but quoting like '(this) is definitely weird. - It is a good idea to remember that \" becomes " and to take that in mind when adjusting the automatic filling by hand. - Use the imperative form. - Arguments are written in all uppercase.
* emacs: Use makefile-gmake-mode in Makefile*sJonas Bernoulli2020-08-09
| | | | | | | | | Use `makefile-gmake-mode' instead of `makefile-mode' because the former also highlights ifdef et al. while the latter does not. "./Makefile.global" and one "Makefile.local" failed to specify any major mode at all but doing so is necessary because Emacs does not automatically figure out that these are Makefiles (of any flavor).
* emacs: notmuch-poll: Let the user know we are pollingJonas Bernoulli2020-08-09
| | | | | It is done synchronously and it can take a while, so we should let the user know what is going on.
* emacs: No longer define notmuch-hello-mode-map as a functionJonas Bernoulli2020-08-09
| | | | | | It was defined as such for a decade; ever since a56010ac8b89a2489eee5c78469f05cee85ec858 but there wasn't a reason to do that then nor is there now.
* emacs: Fix some function declarationsJonas Bernoulli2020-08-09
|
* emacs: Extend face to window edge againJonas Bernoulli2020-08-09
| | | | | | | | | | | Since Emacs 27 each face has to be explicitly configured to "extend to the edge of the window". Without doing that the face used for the newline character only has an effect that spans "one character" (i.e. it looks like there is a single trailing space character). We don't want that so extend the face in Emacs 27, so that it looks the same as it did in older Emacs releases. We have to do this conditionally, otherwise older Emacsen would choke on it.
* emacs: Use one or three lines for 'if' formsJonas Bernoulli2020-08-09
| | | | | | Putting the COND and THEN parts on the same line but ELSE on a separate line makes it harder to determine if there actually is an ELSE part.
* emacs: Use 'when' instead of 'if' when there is no ELSE partJonas Bernoulli2020-08-09
|
* emacs: Use 'unless' instead of 'when' and 'not'Jonas Bernoulli2020-08-09
| | | | | Also use 'unless' in a few cases where previously 'if' was used with 'not' but without an ELSE part.
* emacs: Use 'and' instead of 'when' when the return value mattersJonas Bernoulli2020-08-09
| | | | | Also do so for some 'if' forms that lack an ELSE part. Even go as far as using 'and' and 'not' instead of 'unless'.
* emacs: Only set one variable per setq formJonas Bernoulli2020-08-09
| | | | | | | | | | | It's a bit weird to avoid having to write the "(setq ... )" more than once, just because we can. In a language that uses '=' for the same purpose we also happily use that once per assignment. While there are no benefit to using just one 'setq' there are some drawbacks. It is not always clear on first what is a key and what a value and as a result it is easy to make a mistake. Also it becomes harder to comment out just one assignment.
* emacs: Closing parenthesis go on the same lineJonas Bernoulli2020-08-09
|
* emacs: Fix indentationJonas Bernoulli2020-08-09
|
* emacs: Remove excess empty linesJonas Bernoulli2020-08-09
| | | | | | | | | | | | Most people who write lots of lisp tend to only sparsely use empty "separator" lines within forms. In lisp they feel unnecessary and since most files stick to this convention we get a bit confused when there are extra empty lines. It feels like the s-expressions are falling into pieces. All of this is especially true between a function's doc-string and body because the doc-string is colored differently, which visually already separates it quite sufficiently from the code that follows.
* emacs: Shorten long linesJonas Bernoulli2020-08-09
|