summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-06-19Replace `delete-line` with its definitionHEADmasterMichael J Gruber
37c022ae ("Use `without-restriction` in `with-temporary-notmuch-message-buffer`", 2024-03-14) introduced `delete-line` in a test, but this is Emacs 29 and above only. Replace it with its (almost) definition.
2024-06-19Replace `without-restriction` with `save-restriction`Michael J Gruber
37c022ae ("Use `without-restriction` in `with-temporary-notmuch-message-buffer`", 2024-03-14) introduced a fix for draft saving in a way which is supported on Emacs 29 and above only. Replace this with a construct which we have used before, so that we keep the same compatibility level.
2024-06-15Use `without-restriction` in `with-temporary-notmuch-message-buffer`Marc Fargas
This ensures that the temporary copy of the current message-mode buffer is whole and not limited by a current restriction. An example of such restriction is the default one established by message-mode when composing a reply, that hides the References, In-Reply-To and similar headers.
2024-06-15test/cli: Add known broken test for (missing) quoting in FromDavid Bremner
In [1], Jakub Wilk observes that the current behaviour is confusing since it looks like there are two mailboxes in From, while in fact there is only one. It seems to me that notmuch should at least quote the display-name part of a mailbox if it has "funny" characters in it, and perhaps always quote it. Either way will require changing the indexing code, since the structure is lost when writing the headers to the database. [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021614
2024-06-15emacs/show: fix for text/calendar displayDavid Bremner
In certain scenarios involving symlinks and setting find-file-visit-truename, text/calendar parts were not displayed properly. Following a suggestion of Al Haji-Ali [1], replace the use of get-file-buffer with find-buffer-visiting. [1]: id:m2wmneguh8.fsf@gmail.com
2024-06-15test/emacs: add tests for rendering text/calendar partsDavid Bremner
The first test is just a general regression test, while the second duplicates the problem discussed in the thread starting at [1]. [1]: id:m2leo2u0uo.fsf@gmail.com
2024-06-15test/emacs: add regression test for display of calendar parts.David Bremner
This will hopefully catch breakage due to either changes in Emacs (especially Gnus) or changes to the notmuch-show code.
2024-06-15test/corpora: add example with text/calendar attachmentDavid Bremner
Initially for testing rendering in Emacs.
2024-05-29emacs: Allow customizing :excluded in notmuch-saved-searchesMohsin Kaleem
Provide customize support for the new feature introduced in cd89065d. Commit message expanded by: db
2024-05-29test: re-enable duplicate UI tests in T460-emacs-treeDavid Bremner
These were disabled (accidentally?) in f63d14a8c12a.
2024-04-06emacs: Add new option notmuch-search-hide-excludedMohsin Kaleem
The new notmuch-search-hide-excluded option allows users to configure whether to show or hide excluded messages (as determined by search.exclude_tags in the local notmuch config file). It defaults to true for now to maintain backwards-compatibility with how notmuch-{search,tree} already worked. New commands notmuch-search-toggle-hide-excluded and notmuch-tree-toggle-exclude have also been added. They toggle the value of notmuch-search-hide-excluded for the search in the current search or tree buffer. It's bound to "i" in the respective keymaps for these modes. Lastly I've amended some calls to notmuch-tree and notmuch-unthreaded which didn't pass through the buffer local value of notmuch-search-oldest-first (and now notmuch-search-exclude). Examples of where I've done this include: + notmuch-jump-search + notmuch-tree-from-search-current-query + notmuch-unthreaded-from-search-current-query + notmuch-tree-from-search-thread A new test file for Emacs has been added which covers the usage of the new `notmuch-search-hide-excluded' option and interactively hiding or showing mail with excluded tags. These test cover the basic usage of the `notmuch-search-toggle-hide-excluded' command in notmuch-search, notmuch-tree and notmuch-unthreaded searches. These tests also cover the persistence of the current value of the hide-excluded mail option as a user switches from between these different search commands. [1]: id:87ilxlxsng.fsf@kisara.moe Amended-by: db, fix indentation in T461-emacs-search-exclude.sh
2024-04-05perf-test/tag: add maildir sync testsDavid Bremner
Today someone asked me the (reasonable) question of how much performance impact there is from synching tags to maildir flags. It turns out it is noticeable, about a 50% overhead compared to non-synched tags (according to these tests). In practice I don't know if it's a big problem for users, since I don't know what fraction of tagging operations involve "special" tags.
2024-04-04emacs: Autoload notmuch-user-agent related functionsJelle Licht
With this change, users with mail-user-agent set to 'notmuch-user-agent can start composing emails without having to require 'notmuch-mua first.
2024-04-04emacs: Mark "notmuch-tree" command for autoloadingDmitry Bogatov
Some people (e.g: me) prefer to read their email with threaded representation by default. Without this commit, I have to run "notmuch-search" (autoloaded) first to get "notmuch-tree" loaded.
2024-03-12NEWS: aspell(1)d few wordsTomi Ollila
Executed aspell -l en -c NEWS and replaced few obvious cases.
2024-03-11Merge tag 'debian/0.38.3-1'David Bremner
notmuch release 0.38.3-1 for unstable (sid) [dgit] [dgit distro=debian no-split --quilt=linear]
2024-03-09debian: update changelog datedebian/0.38.3-1archive/debian/0.38.3-1releaseDavid Bremner
It is a bit weird to have debian changelog before upstream release date.
2024-03-09Merge from sid [dgit]David Bremner
2024-03-09Revert "debian: start changelog for 0.38.3-1"David Bremner
This reverts commit 522b279e46c84e4d2d52ccdf082d05fc111dc7b5. Remove duplicate changelog stanza
2024-03-09version: bump to 0.38.30.38.3David Bremner
2024-03-09debian: start changelog for 0.38.3-1David Bremner
2024-03-09doc: update copyright years to include 2024David Bremner
2024-03-09NEWS: update for 0.38.3David Bremner
2024-02-28Record notmuch (0.38.2-1.1) in archive suite sidBenjamin Drung
2024-02-28notmuch (0.38.2-1.1) unstable; urgency=mediumBenjamin Drung
* Non-maintainer upload. * Rename libraries for 64-bit time_t transition. Closes: #1063205 [dgit import unpatched notmuch 0.38.2-1.1]
2024-02-28Import notmuch_0.38.2-1.1.debian.tar.xzBenjamin Drung
[dgit import tarball notmuch 0.38.2-1.1 notmuch_0.38.2-1.1.debian.tar.xz]
2024-02-17debian: recommend gpg-agent instead of gnupg agentDavid Bremner
2024-01-14CLI/git: remove no-op format() callJakub Wilk
2024-01-14CLI/git: fix name errorJakub Wilk
2024-01-14CLI/git: remove unused importJakub Wilk
shutil was used only for the tempfile.TemporaryDirectory backport, which was removed in commit b7c31f658121a0cf ("CLI/git: drop support for python < 3.2").
2023-12-06Merge branch 'release'David Bremner
2023-12-06lib: clear error message on success in _choose_database_pathDavid Bremner
Previously we both found a database and returned a message saying that the database could not be found (along with a success code). This change should prevent spurious error output.
2023-12-06test: add known broken test for incorrect error messageDavid Bremner
Duplicate bug reported in id:87wmtvcor5.fsf@alyssa.is The error message is nonsense, because notmuch config list actually includes the database in those two cases.
2023-12-01Merge branch 'release'David Bremner
2023-12-01debian: changelog for 0.38.2-1debian/0.38.2-1archive/debian/0.38.2-10.38.2David Bremner
2023-12-01Import notmuch_0.38.2.orig.tar.xzDavid Bremner
[dgit import orig notmuch_0.38.2.orig.tar.xz]
2023-12-01NEWS for 0.38.2David Bremner
2023-12-01version: bump to 0.38.2David Bremner
2023-12-01notmuch-emacs-mua: avoid extra separators at the end of the lineJani Nikula
Currently the --to/--cc/--bcc options add "user@example.com, " to the message headers, with the the unnecessary ", " separator after the last address, regardless of how many addresses are being added. This used to be fine, but with recent emacs mm, trying to send the email with the trailing commas leads to prompt: Email address looks invalid; send anyway? (y or n) Fix this by only adding the commas between addresses, avoiding the trailing commas.
2023-11-28Merge branch 'release'David Bremner
2023-11-28lib/string_map: simulate stable sortingDavid Bremner
qsort(3) does not promise stability, and recent versions of glibc have been showing more unstable behaviour [2]. Michael Gruber observed [1] test breakage due to changing output order for message properties. We provide a sorting order of (key,value) pairs that _looks_ stable by breaking ties based on value if keys are equal. Internally there may be some instability in the case of duplicate (key,value) pairs, but it should not be observable via the iterator API. [1]: id:CAA19uiSHjVFmwH0pMC7WwDYCOSzu3yqNbuYhu3ZMeNNRh313eA@mail.gmail.com [2]: id:87msv3i44u.fsf@oldenburg.str.redhat.com
2023-10-26Merge tag '0.38.1'David Bremner
notmuch 0.38.1 release
2023-10-26debian: update changelog for 0.38.1-1debian/0.38.1-1archive/debian/0.38.1-10.38.1David Bremner
2023-10-26NEWS: News for 0.38.1David Bremner
Just note the 3 bug fixes.
2023-10-26version: bump to 0.38.1David Bremner
No changes from 0.38.1~rc1
2023-10-12Merge tag '0.38.1_rc1'David Bremner
notmuch 0.38.1~rc1 release
2023-10-12changelog for 0.38.1~rc1-1debian/0.38.1_rc1-1archive/debian/0.38.1_rc1-10.38.1_rc1David Bremner
2023-10-12version: update to 0.38.1~rc1David Bremner
2023-10-12notmuch-mutt: fix Perl syntax of hash index lookupsPaul Wise
Fixes: commit 239fdbbbf0cbd6cd6ebafb87e88cdb3cded75364
2023-10-06emacs/mua: change name of ignored parameterDavid Bremner
Suppress compiler warning.