aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-20NEWS: set date for release0.23.2David Bremner
2016-11-20NEWS for notmuch-cycle-notmuch-buffersMark Walters
2016-11-20NEWS: document fixes for emacs23David Bremner
2016-11-17build: only install known man pagesJani Nikula
Install man pages based on $(MAN_GZIP_FILES), which directly corresponds to the man page source rst files. This way we can filter the man pages to be installed as needed.
2016-11-17build: generate man page list from source files, not conf.pyJani Nikula
Use $(wildcard ...) to generate the list of man pages based on the rst source files present in the man page directories, instead of reading conf.py. This has three main benefits: 1) This makes the man page build slightly less complicated and easier to understand. At least there are fewer moving parts. 2) This makes the build fail if we add a man page rst file, but fail to add it to conf.py. 3) We can use Sphinx constructs in conf.py that are not available when importing the file into a normal python program such as mkdocdeps.py.
2016-11-17build: do not touch roff files after sphinx-buildJani Nikula
If Sphinx fails to create any of the roff files, having touch create them hides the errors until someone realizes, possibly much later, that the resulting files are empty. (Note that gzip doesn't fail on empty input files.) Sphinx will change the timestamps of any files it has written anyway.
2016-11-17doc: fix references in notmuch-emacs.rstJani Nikula
Fix make sphinx-texinfo warnings: WARNING: undefined label: notmuch-jump (if the link has no caption the label must precede a section header) WARNING: undefined label: notmuch-saved-searches (if the link has no caption the label must precede a section header)
2016-11-17doc/conf.py: include command name in texinfo document titleJani Nikula
Seems to make more sense than to have the same title for everything.
2016-11-17doc/conf.py: reindent, whitespace clean man page, texinfo listsJani Nikula
No functional changes.
2016-11-17doc/conf.py: abstract notmuch authorsJani Nikula
Don't repeat the same stuff so much. We probably don't want to track individual authors for man/texinfo pages anyway. No user visible changes.
2016-11-17doc/conf.py: generate texinfo_documents list from man_pages listJani Nikula
No need to repeat mostly the same information twice in conf.py. We probably want to have a corresponding texinfo document for all the man pages. Python list comprehension to the rescue. (The reverse is not true; we have a texinfo document for notmuch-emacs we don't want as a man page.) There should be no user visible changes.
2016-11-17doc/conf.py: add notmuch-emacs-mua to texinfo documentsJani Nikula
This was overlooked when adding the man page.
2016-11-17Merge branch 'release'David Bremner
Updates for 0.23.2
2016-11-16debian: changelog stanza for 0.23.2-1David Bremner
2016-11-16version: bump to 0.23.2David Bremner
2016-11-16debian: convert to use dh-elpaDavid Bremner
This packaging helper eliminates most of the boilerplate from packaging emacs extensions for debian. It requires package.el compatible metadata.
2016-11-16emacs: generate notmuch-pkg.elDavid Bremner
This file contains metadata for the built in (as of emacs 24) packaging system.
2016-11-16emacs: add compatibility functions for emacs 23Mark Walters
Some of the recent changes to the emacs code have used functions introduced in emacs 24. The functions used are read-char-choice and setq-local. This changeset adds a file notmuch-compat.el which contains compatibility functions so that it should work on emacs 23. Note, since these functions are taken almost unchanged from the emacs source they are copyright the Free Software Foundation, and the header in the file reflects that.
2016-11-15lib: optionally silence Xapian deprecation warningsDavid Bremner
This is not ideal, but the new API is not available in Xapian 1.2.x, and it seems to soon to depend on Xapian >= 1.4
2016-11-14Test: fix draft test for emacs23Mark Walters
emacs24 and emacs23 have different secure tag defaults: in particular, mml-secure-message-sign only signs the part on emacs23 but the whole message on emacs24. This difference makes one of the draft tests fail (which causes a cascade of later failures) on emacs23. It seems that travis uses emacs23 so it is useful to fix this. We do this by forcing the whole message to be signed in either case -- the code snippet is extracted from mml-secure-message-sign on emacs24.
2016-11-13emacs: resume messagesDavid Bremner
Provide functionality to resume editing a message previously saved with notmuch-draft-save, including decoding the X-Notmuch-Emacs-Secure header. Resume gets the raw file from notmuch and using the emacs function mime-to-mml reconstructs the message (including attachments). 'e' is bound to resume a draft from show or tree mode.
2016-11-13emacs: check drafts for encryption tags before savingDavid Bremner
In general the user may not want to save plaintext copies of messages that they are sending encrypted, so give them a chance to abort.
2016-11-13emacs: postpone a messageMark Walters
This provides initial support for postponing in the emacs frontend; resuming will follow in a later commit. On saving/postponing it uses notmuch insert to put the message in the notmuch database Current bindings are C-x C-s to save a draft, C-c C-p to postpone a draft (save and exit compose buffer). Previous drafts get tagged deleted on subsequent saves, or on the message being sent. Each draft gets its own message-id, and we use the namespace draft-.... for draft message ids (so, at least for most people, drafts are easily distinguisable).
2016-11-13emacs: tree: remove binding for pressing button in message paneMark Walters
We want to use "e" for editting postponed messages in show, and in tree view, so remove the binding for the function which does (In message pane) Activate BUTTON or button at point
2016-11-13emacs: rename notmuch-address-completion-hook to notmuch-address-post-completion-functionsDavid Bremner
Apparently it is a (not completely adhered to) emacs convention [1] that only hooks that don't take arguments end in 'hook' [1]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Hooks.html
2016-11-12completion: complete mimetype: search prefixJani Nikula
Use /etc/mime.types if available, parsed using a sed one-liner, and fall back to a handful of common types otherwise.
2016-11-04emacs: add notmuch-address-post-completion-hookDavid Bremner
This hook can be used to update the message based on the results of address completion. For example using message-templ or gnus-alias to set the From address based on the To address just completed. The post-completion command is added to the notmuch-company backend to ensure that the hook is also called company completion is started without going through notmuch-address-expand-name. See the docstring of `company-backends' for more information.
2016-11-02emacs: tree: use message pane decryption state for repliesMark Walters
This makes replying to a message in tree view, use the decrypted state from the message pane if it is open. Previously it just used the global decryption state from notmuch-crypto-process-mime. In particular if notmuch-crypto-process-mime is nil, and the user views the messages (which doesn't decrypt), toggles decryption in the message pane, and then replies, the reply will be decrypted.
2016-11-02emacs: tree: allow the user to decrypt the message paneMark Walters
This makes $ in the tree pane toggle decryption in the message pane. Without this the user can only decrypt the message pane by switching to it, or by setting decryption on globally by setting notmuch-crypto-process-mime to t.
2016-11-02notmuch-emacs-mua: add support for mailto: URL handlingJani Nikula
Add support for composing an email in the Notmuch Emacs UI using a mailto: URL. The mailto: URL mode is mutually exclusive with specifying other message modifying parameters and positional arguments.
2016-11-02emacs: make faces readable on dark backgrounds.Matt Armstrong
The notmuch-tag-flagged, notmuch-search-flagged-face and notmuch-crypto-part-header faces defaulted to "blue", which is nearly unreadable when a dark background is in use. This is addressed by using "LightBlue1" for dark backgrounds. As a side effect, these faces are now no-op definitions for grayscale or mono displays.
2016-10-31cli: try to run external notmuch- prefixed commands as subcommandsJani Nikula
If the given subcommand is not known to notmuch, try to execute external notmuch-<subcommand> instead. This allows users to have their own notmuch related tools be run via the notmuch command, not unlike git does. Also notmuch-emacs-mua will be executable via 'notmuch emacs-mua'. By design, this does not allow notmuch's own subcommands to be overriden using external commands.
2016-10-31emacs: make notmuch-search-tag tag the region when called non-interactively.Mark Walters
The normal tag commands in search mode tag the all threads meeting the region when called interactively. This makes them do the same when called non-interactively. This is a change in the api.
2016-10-25Merge branch 'release'David Bremner
merge interesting buffers bugfix from release
2016-10-25lib: replace deprecated xapian call 'flush()' with 'commit()'David Bremner
This will make notmuch incompatible with Xapian before 1.1.0, which is more than 6 years old this point.
2016-10-25test/test-lib.sh: execute basename(1)s lazier in test_expect_equal_file ()Tomi Ollila
Moved the 2 basename(1) executions to the test failure branch in test_expect_equal_file (). The output of basename(1) executions in function test_expect_equal_file () are only used when tests fails -- when all tests pass these 2 basename(1) executions are no longer done at all.
2016-10-25emacs: tree: make tag updates show in the message paneMark Walters
This makes tag changes appear in the message pane as well as in the tree window. Note that the message pane is reloaded each time a message is viewed so the tags shown in the message pane can still be different from those in the tree window. Usually this will just be that the tag change is still shown as a change (strikethough underline etc) in the tree window, and are shown after the change in the message pane. However, if something else updates the database then the tags shown can be genuinely different.
2016-10-25emacs: interesting-buffer bugfixes/updatesMark Walters
The command notmuch-interesting-buffer has got out of date -- it doesn't mention notmuch-tree, and it still refers to message-mode not notmuch-message-mode. Update both of these. This fixes the bug that notmuch-cycle-notmuch-buffers does not include notmuch-tree or notmuch-message-mode buffers in its cycling.
2016-10-25devel: Document emacs keybindingsMark Walters
This adds a file under devel listing all the keybindings sorted by key in the main three modes (search, show and tree). To reduce clutter it only lists the single key "unmodified" keybindings: I think all our uses of prefixes and modifiers are natural variants of the unmodified binding (eg M-n compared to n in show mode) This should make easier to see what keybindings are available when adding new features.
2016-10-23Merge tag '0.23.1'David Bremner
notmuch 0.23.1 release
2016-10-23finalize release 0.23.10.23.1David Bremner
2016-10-22Add notmuch-show--build-queries.Matt Armstrong
notmuch-show--build-buffer now queries a list of queries built by the former. This simplifies the logic. It also provides an easy place to experiment with alternate sets of queries for given notmuch-show-* variables (e.g. users can use advice-add to do so in a surgical way).
2016-10-22Merge in test-suite, docstring fixes, release prepDavid Bremner
2016-10-22debian: start changelog stanza for 0.23.1David Bremner
2016-10-22version: bump to 0.23.1David Bremner
2016-10-22NEWS for two bugfixesMark Walters
This adds news items for the two bugs emacs: search face bugfix and emacs: fix notmuch-search-line-faces defcustom
2016-10-22Expand docstrings about fcc using notmuch-insertKeith Amidon
This commit expands docstrings for notmuch-fcc-dirs and notmuch-maildir-fcc-with-notmuch-insert to describe how quoted strings are processed and make the ability to configure sent folders containing whitespace more discoverable.
2016-10-22test: use vt100 as "smart" terminal for known dumb/unknown terminalsTomi Ollila
Otherwise use whatever user environment has set for TERM so that there is more chance to test on users' actual environments.
2016-10-22test-lib.sh: rename $DTACH_TERM to $SMART_TERMTomi Ollila
2016-10-19Merge emacs face fixes and NEWSDavid Bremner