aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-19NEWS for 0.23.1David Bremner
2016-10-19emacs: search face bugfixMark Walters
In commit 2a7b11b064233afc4feead876fa396e3c18a6b91 the default faces for unread and flagged were accidentally swapped. This swaps them back.
2016-10-19emacs: fix notmuch-search-line-faces defcustomMark Walters
In commit 2a7b11b064233afc4feead876fa396e3c18a6b91 the default value for notmuch-search-line-faces was changed so that it didn't match the specification in the corresponding defcustom. This meant that it was difficult for the user to customize this variable as they got a type mismatch error. Note anyone who had already customised this variable would not see this bug as their customisation would match the defcustom.
2016-10-17emacs: add global keybinding M-= for refresh all buffersMark Walters
We can't use c-u = as some of the notmuch-show refresh function already uses that. This is a global keybinding for a relatively infrequent function but M-= seems unlikely to cause conflicts.
2016-10-17emacs: notmuch-lib: add refresh all buffers functionIoan-Adrian Ratiu
notmuch-refresh-all-buffers calls each buffer's major mode specific refresh function using the generic notmuch-refresh-this-buffer function. Since the earlier changesets have stopped the refresh functions from forcing the buffers to be redisplayed this can refresh buffers that are not currently displayed without disturbing the user. This is very useful for silent async background updating the emacs display when new mail is fetched. Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
2016-10-17emacs: notmuch-show: refresh all windows displaying bufferIoan-Adrian Ratiu
This updates all windows displaying a notmuch-show buffer when the buffer refresh function is called. Each window displaying a notmuch-show buffer has its own currently displayed message based on the (point) location. We store the state of all displayed windows when refreshing a notmuch-show buffer and re-apply the current shown message (point) for all windows. Implementation note: Each window has it's own (point) value, besides the buffer's (point) value. Sometimes these values are identical like in the case where a single window displays a buffer. When multiple windows display a buffer, (point) returns each window's specific value. What we are storing in this changeset is the window values not the buffer point values. The buffer's point is returned only if no window is displaying the buffer, a case we do not care about here. Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
2016-10-17emacs: notmuch-search-refresh-view: reuse bufferIoan-Adrian Ratiu
There's no reason to completely kill a buffer while refreshing its search results because the buffer name is constant between refreshes (based on the search query), only its contents may change and notmuch search kills all local variables, so it's safe to reuse. Reusing the same buffer also makes it possible to do things like refreshing a buffer which is not focused or even not shown in any window - this will be used in the next commits to add auto-refresh capabilities to all existing notmuch buffers + a function to call after syncing mail to refresh everything. Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
2016-10-17emacs: notmuch-search: add no-display functionalityIoan-Adrian Ratiu
If no-display is non-nil when calling notmuch-search then do not force the search buffer to be displayed. Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
2016-10-17emacs: hello: stop update from forcing the buffer to be displayedMark Walters
Make the notmuch-hello refresh function (notmuch-hello-update) not force the buffer to be displayed. All the callers call it when the buffer is already displayed so it will only affect non-interactive callers. Since it is just a trivial wrapper of notmuch-hello anyone who wants to force the buffer to be displayed should just call notmuch-hello.
2016-10-17emacs: make the refresh functions more consistentMark Walters
The different refreshed functions were called differently: some were called interactively and some were not. Make them all interactive.
2016-10-17emacs: tree: make refresh use generic bindingMark Walters
Not using the generic binding is an anomaly from when tree was in contrib (as pick).
2016-10-17Fix reply to encrypted mail when discouraging plain text.Matthew Lear
If an encrypted multipart message is received which contains html and notmuch-multipart/alternative-discouraged is set to discourage "text/plain", any encrypted parts are not decrypted during generation of the reply text. This fixes that problem by making sure notmuch-mua-reply does that.
2016-10-15emacs: jump: make multilevel keys do multilevel jumpMark Walters
notmuch jump allows the user to specify a key sequence rather than just a single key for its bindings. However, it doesn't show what has already been typed so it can be difficult to see what has happened. This makes each key press appear, and the jump menu reduce to the possible follow up keys. We also bind backspace (emacs symbol DEL) to go back up a level in the subjumpmaps, and to exit from the top level.
2016-10-15emacs: tag-jump: docstring fixMark Walters
In commit 297d091e1ca8f5b1e144d2be0a8e0a7c271634a8 the key for switching to the reverse keymap was changed from r to k but the docstring for the defcustom was not updated. This changeset updates the documentation to match.
2016-10-15test: add known broken test for nondestructiveness of countDavid Bremner
Thanks to Lucas (id:147263183913.27784.12274024193186585889@mbp) for the bug report and the test case. I decided to use the python version because the python bindings could use more exercise.
2016-10-11test/T000-basic: replaced use of which(1) with shell builtin command -vTomi Ollila
Some minimal chroot/container environments don't have which(1) installed.
2016-10-11merge buttonise-links patch to masterDavid Bremner
2016-10-11emacs/show: force notmuch-show-buttonise-links to act on linesDavid Bremner
This seems to fix a problem with emacs 25 creating partial buttons by calling n-s-b-l with a region that does not include the whole button. I'm not 100% sure it's legit to act outside the region passed by jit-lock, but goto-address-fontify-region (where I borrowed the code from) already does this, so this patch to not make things worse.
2016-10-09emacs: mua: check for misplaced secure mml tagsMark Walters
Emacs message-send seems to ignore a secure mml tag anywhere except at the start of the body, and it must be followed by a newline. Since this is almost certainly not desired we check for it, and require user confirmation before sending. As the setup before message-send or message-send-and-exit is getting more complicated it is convenient to unify the two correspoinding notmuch functions.
2016-10-09emacs: mua: extract a common message-send function.Mark Walters
This commit adds a common message-send function for message-send and message-send-and-exit. At the moment the overlap is small, but the message-send function will get more complex.
2016-10-09emacs: include first match in address completionMark Walters
The current code for address completion takes the list of possible completions (whether generated internally or externally), makes the first match the initial value for the completion, and puts all the others (but not the first match) into the possible completions. This has the nice effect that the <down> key takes you immediately to the next completion (whereas if the first match were included in the possible completions it would take you to the first match again). However, it has two side effects. First, once you have completed to the full match you find it says and try completing again you get told "no match" not "sole completion". Secondly, if you delete some of the text and try completing you don't get the first match as an option. This tries to get round most of these problems by including the full list of possible completions, but with the first match moved to the very end of the list.
2016-10-09emacs: add mimetype completions to searchesMark Walters
2016-10-07emacs: tag-jump: make k binding for the reverse tag change mapMark Walters
Currently, by default k invokes the tag-jump menu, and following it by r invokes the reverse tag change jump menu. This is awkward to type (e.g. k r u for undoing a -unread change). This changes it so that k followed by k invokes the reverse menu. We make the key for the reverse map a variable as that makes it possible for a user to change it by editing their .emacs file.
2016-10-06Merge branch 'release'David Bremner
2016-10-06lib: document API added in 0.23David Bremner
The API was already documented, but for future readers note when the functions were added,
2016-10-06require xapian >= 1.2.6David Bremner
It seems that no-one tried to compile without Xapian compact support since March of 2015, since that's when I introduced a syntax error in that branch of the ifdef. Given the choice of maintaining this underused branch of code, or bumping the Xapian dependency to a version from 2011, it seems reasonable to do the latter.
2016-10-05debian: changelog stanza for 0.23-2David Bremner
2016-10-04emacs: add a tag jump menuMark Walters
Add a customisable "jump" style menu for doing tagging operations.
2016-10-04nmbug: Add --no-renames to default log optionsW. Trevor King
Git has supported this since b68ea12e (diff.c: respect diff.renames config option, 2006-07-07, v1.4.2). All of our information is in the paths (the files are empty), so we don't want rename detection. By using --no-renames, we get entries like: $ nmbug log -- e473b453a2 commit e473b453a25c072b5df67d834d822121373321f5 Author: David Bremner <david@tethera.net> Date: Sun Sep 25 07:54:11 2016 -0300 D tags/1474196252-31700-1-git-send-email-markwalters1009@gmail.com/0.23 A tags/1474196252-31700-1-git-send-email-markwalters1009@gmail.com/pushed ... Instead of the old: $ nmbug log -- e473b453a2 commit e473b453a25c072b5df67d834d822121373321f5 Author: David Bremner <david@tethera.net> Date: Sun Sep 25 07:54:11 2016 -0300 R100 tags/1474196252-31700-1-git-send-email-markwalters1009@gmail.com/0.23 tags/1474196252-31700-1-git-send-email-markwalters1009@gmail.com/pushed
2016-10-03Merge tag '0.23'David Bremner
notmuch 0.23 release
2016-10-03debian: changelog stanza for 0.23-10.23David Bremner
2016-10-03NEWS: bump date to todayDavid Bremner
2016-10-03version: bump to 0.23David Bremner
2016-10-01lib: bump minor version to mark added symbolsDavid Bremner
This should not change the SONAME, and therefore won't change the dynamic linking behaviour, but it may help some users debug missing symbols in case their libnotmuch is too old.
2016-09-30debian: changelog stanza for 0.23~rc1-1debian/0.23_rc1-10.23_rc1David Bremner
2016-09-30version: update to 0.23~rc1David Bremner
2016-09-30configure: set platform variables also when `uname` is unrecognizedTomi Ollila
Since commit 124a67e96ecab5495c0f17b6875d53dfd67ff137: configure: add set -u all variables must be set before their expansion are attempted. These 2 variables: "platform" and "linker_resolves_library_dependencies" were not given value in the final 'else' branch when platform check failed due to unrecognized kernel name (output of `uname`). Now those two are given reasonable non-empty values.
2016-09-30emacs: fcc: say we are doing FccMark Walters
Since doing the Fcc with notmuch insert could be slow (if the indexing takes some time) add a message saying we are doing it.
2016-09-29emacs: document notmuch-fcc-dirsMark Walters
This updates the docstring for the variable notmuch-fcc-dirs to match the new insert code.
2016-09-29NEWS: add news for fcc insert and address completion changesMark Walters
2016-09-28lib/database.cc: fix misleading indentationTomi Ollila
Found by gcc 6.1.1 -Wmisleading-indentation option (set by -Wall).
2016-09-28NEWS: emacs notmuch-show-resend-messageTomi Ollila
2016-09-27NEWS: mention message properties API, dump/restoreDavid Bremner
2016-09-27NEWS: fix headline for go bindings NEWSDavid Bremner
2016-09-27NEWS: note notmuch-reply refactorDavid Bremner
2016-09-27NEWS: note dropping of User-Agent headerDavid Bremner
2016-09-27NEWS: document mtime bugfixDavid Bremner
2016-09-26emacs: tree: make b bounce a message and backspace scroll message pane upMark Walters
This tweaks the keybindings in tree-mode. It make b do bounce/resend matching show-mode. Since b was already bound to scroll message pane back, we now use backspace for that. This means space/backspace scroll the message pane forwards/backwards, and page-up/page-down scrolls the tree pane forwards/backwards.
2016-09-26debian: update symbols for 0.23debian/0.23_rc0-10.23_rc0David Bremner
New sub-APIs: config, built_with, message_property. A new exception used internally. Mark the exception as optional, as it only shows up when built against Xapian supporting FieldProcessors
2016-09-26debian: changelog stanza for 0.23~rc0-1David Bremner