summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-14changelog for 0.37~rc0-3debian/0.37_rc0-3archive/debian/0.37_rc0-3David Bremner
2022-08-14debian: changelog for 0.37~rc0-2debian/0.37_rc0-2archive/debian/0.37_rc0-2David Bremner
2022-08-14debian: upload release candidate to experimental, not unstabledebian/0.37_rc0-1archive/debian/0.37_rc0-1David Bremner
Oops, tagged "upstream" version is incorrect, but it's a minor issue.
2022-08-14debian: changelog stanza for 0.37~rc0-10.37_rc0David Bremner
2022-08-14version: update to 0.37~rc0David Bremner
2022-08-11doc/emacs: use define-key instead of hard-coding markupDavid Bremner
Add keys to index. Allow indexing of both keys and commands. Use standard typesetting for multiple keybindings.
2022-08-11doc/emacs: replace use of emacsvar with el:defcustomDavid Bremner
Mainly this allows dropping the ad-hoc directive emacsvar
2022-08-11doc/emacs: replace emacscmd with el:define-keyDavid Bremner
This allows us to eliminate the ad-hoc emacscmd directive / role, and improve indexing. doc/emacs: convert remaining uses of emacscmd to define-key This allows us to remove the no-longer used object type.
2022-08-11doc/emacs: split index category from labelDavid Bremner
A more verbose category is needed for the index, but not the description in the manual.
2022-08-11doc/emacs: drop domain labelDavid Bremner
This makes the generate info files somewhat less verbose, so that they say e.g. "Key Binding" instead of "Emacs Key Binding"
2022-08-11doc/elisp: replace label for Emacs commands and key bindings.David Bremner
In the notmuch doc index it is important to be clear which parts are Emacs related.
2022-08-11doc: copy elisp.py from flycheck, make availableDavid Bremner
This corresponds to flycheck commit 1702d2db3d8ba9bcb9b2bf810e791e907fcc3adc, which is apparently the last time this file was modified (2018). Embedding seems defensible since the file is evidently not changing that much, and we need to change some labels to make it fit with the not-just-emacs nature of notmuch docs.
2022-08-11doc: add some documentation about duplicate files.David Bremner
This is mainly motivated by the new emacs-UI features to select duplicates, but hopefully it will help demystify things for users of the CLI as well.
2022-08-11emacs: add docstring for notmuch-show-choose-duplicateDavid Bremner
It should have one in any case, but in particular it is needed for the manual.
2022-08-11emacs/show: restrict inlined mimetypes on refresh.David Bremner
This fixes the bug reported by Al [1]. Essentially apply the same fix as [2] in a different place. [1]: id:877d41nmr1.fsf@gmail.com [2]: 90a7c1af368a527700dcde9b0dcbd760afc7bd92
2022-08-11test/emacs: add known broken test for inlining on refresh.David Bremner
This duplicates the bug reported by Al [1] [1]: id:877d41nmr1.fsf@gmail.com
2022-08-07emacs: add duplicate support to notmuch-show-view-raw-messageDavid Bremner
This fixes one of the bugs reported by Gregor in [1] [1]: id:87edxw8jp4.fsf@no.workgroup
2022-08-07emacs/show: provide a more friendly function to get duplicate numDavid Bremner
There is not much code here, but at least we can fix the indexing as 1 based.
2022-08-07test/emacs: add known broken test for viewing raw duplicateDavid Bremner
This duplicates one of the bugs reported by Gregor in [1]. [1]: id:87edxw8jp4.fsf@no.workgroup
2022-08-07emacs: update notmuch-show-get-filename to handle duplicatesDavid Bremner
This fixes one of the bugs reported by Gregor in [1]. [1]: id:87edxw8jp4.fsf@no.workgroup
2022-08-07test/emacs: add known broken test for stashing duplicate filenameDavid Bremner
This duplicates (no pun intended) one of the bugs reported by Gregor in id:87edxw8jp4.fsf@no.workgroup
2022-08-06NEWS: initial set of NEWS for 0.37.David Bremner
There are one or two more changes to apply (and potentially document) before release, but this covers most of my commits.
2022-08-06doc/notmuch: merge two sections on external commands.David Bremner
When adding the description of the propagation of NOTMUCH_CONFIG, I missed that there was already a section on external commands, with a different title.
2022-08-06tests: remove dead code from T055-path-config.shDavid Bremner
This case statement does nothing.
2022-07-31notmuch.c: add missing trailing newlines in two error messagesTomi Ollila
Removed duplicate error check (and the message) in 3rd case where the same error message (w/o trailing newline) was present. In case of test/T040-setup.sh, command substitution deletes trailing newlines, so related test there cannot be changed (and therefore could not notice this user experience flaw).
2022-07-30doc/emacs: add docstring for notmuch-unthreaded-result-format.David Bremner
The main change is actually updating cross references.
2022-07-30emacs: update defcustom for notmuch-unthreaded-result-formatDavid Bremner
This is essentially a copy of that for notmuch-tree-result-format, aside from the default value.
2022-07-30doc/emacs: add docstring and example for n-tree-result-formatDavid Bremner
This example is based on one originally by Jon Hurst.
2022-07-30emacs: update defcustom for notmuch-search-result-format.David Bremner
It seems redundant to have the previous example, since the default value is always show by describe variable. Enforce more restrictions on the keys in the alist, since arbitrary strings don't work as field names. Document that functions can be used in lieu of field names.
2022-07-30doc/emacs: add docstring and example for n-search-result-formatDavid Bremner
When the ability to use functions was added, this example was confined to a commit message, which is not user discoverable.
2022-07-30emacs: update defcustom for notmuch-search-result-format.David Bremner
It seems redundant to have the previous example, since the default value is always show by describe variable. Enforce more restrictions on the keys in the alist, since arbitrary strings don't work as field names. Document that functions can be used in lieu of field names.
2022-07-30emacs/reply: reply to correct duplicateDavid Bremner
Essentially we just need to arrange to pass the right --duplicate argument to notmuch reply. As a side-effect, correct the previously unused value of EXPECTED in T453-emacs-reply.sh.
2022-07-30CLI/reply: support --duplicate argumentDavid Bremner
We want the reply used to match that shown e.g. in the emacs interface. As a first step provide that functionality on the command line. Schema does not need updating as the duplicate key was already present (with a constant value of 1).
2022-07-30emacs/show: display count of duplicates in headerlineDavid Bremner
There is no real cost here, except screen real estate. Some people might prefer hiding the duplicate count, but we leave that for a future commit.
2022-07-30emacs/show: provide notmuch-show-choose-duplicateDavid Bremner
This new command allows the user to interactively choose a different duplicate (file) to display for a given message in notmuch-show-mode. Since both tree and unthreaded view use notmuch-show-mode, this provides the same facility there.
2022-07-30CLI/show: support --duplicate for structured outputDavid Bremner
This introduces a new mandatory key for message structures, namely "duplicate". Per convention in devel/schemata this does _not_ increase the format version. This means that clients are responsible for checking that it exists, and not crashing if it does not. The main functional change is teaching mime_node_open to understand a 'duplicate' argument. Support for --duplicate in notmuch-reply would make sense, but we defer it to a later commit.
2022-07-30CLI/show: initial support for --duplicate for (raw output only)David Bremner
Add command line argument --duplicate, analogous with that already supported for notmuch-search. Use of a seperate function for _get_filename is mainly a form of documentation at this point. md5sum is of course a weak hash, but it is good enough for this (non-adversarial) test suite use.
2022-07-16CLI/git: opportunistically use bindings to check for known messagesDavid Bremner
If the bindings are installed, use them to avoid one exec of notmuch search per message.
2022-07-16CLI/git: current cache contents of indexDavid Bremner
Rather than shelling out once per message to get the list of files corresponding to tags, it is much faster (although potentially a bit memory intensive) to read them all at once.
2022-07-16perf-test: add tests notmuch-gitDavid Bremner
The main focus of these initial tests is the (currently unacceptably slow) checkout performance.
2022-07-15doc/emacs: add notmuch-show-empty-saved-searches to manualDavid Bremner
Answering a user question, I had to dig for this variable, but I think it is a reasonably common customization wish, particularly for users with custom count-functions.
2022-07-15doc/emacs: define and use emacsvar and emacscmd markupDavid Bremner
This makes it easier to navigate the merged index of all of the notmuch documentation.
2022-07-14doc: do not generate python module indexDavid Bremner
This currently seems unhelpful, and not generating it removes if from the navigation bar, which prevents mis-clicking.
2022-07-14doc: drop module index from ToCDavid Bremner
There is only one module listed, so the index is not useful.
2022-07-14doc: retitle notmuch-emacs manualDavid Bremner
This makes the HTML TOC read more naturally. Add a label to make cross referencing easier.
2022-07-14doc: reorganize sphinx toctreeDavid Bremner
This mainly affects the html output (although users generating epub or pdf would also notice a change). The goal is twofold: make the TOC a bit friendler and easier to navigate by introducing some hierarchy, and allow links for nmbug and notmuch-setup.
2022-07-14doc: improve config item labels in info outputDavid Bremner
Commit 306b7028d added the nmconfig role / directive. Unfortunately the default of using the directive name in texinfo output is pretty ugly, so attempt to make it more human readable by passing `objname` to add_object_type invocation.
2022-07-14doc/emacs: add discussion about notmuch-show performance.David Bremner
Most of the information is already in the docstrings, but hopefully by grouping it is more discoverable.
2022-07-14emacs/show: introduce notmuch-show-height-limitDavid Bremner
Analogous to notmuch-show-depth-limit, it requires a bit more calculation, but that cost seems dominated by the rendering cost.
2022-07-14emacs/show: obey notmuch-show-max-text-part-size for part 0David Bremner
This parameter was originally introduced to hide large attachements that happened to be text/plain. From a performance point of view, there is no reason not to also hide large message bodies.