<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/emacs-show.expected-output, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2022-07-30T11:44:14Z</updated>
<entry>
<title>emacs/show: display count of duplicates in headerline</title>
<updated>2022-07-30T11:44:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-07-01T21:45:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5ea5a5557d9ad4cef67e61a83bb81abd44dc7f76'/>
<id>urn:sha1:5ea5a5557d9ad4cef67e61a83bb81abd44dc7f76</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>emacs/show: introduce notmuch-show-height-limit</title>
<updated>2022-07-14T15:51:01Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-06-28T01:02:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bde8ea5d1d92be15c6fb4c06e31d4fae750a12f0'/>
<id>urn:sha1:bde8ea5d1d92be15c6fb4c06e31d4fae750a12f0</id>
<content type='text'>
Analogous to notmuch-show-depth-limit, it requires a bit more
calculation, but that cost seems dominated by the rendering cost.
</content>
</entry>
<entry>
<title>emacs/show: obey notmuch-show-max-text-part-size for part 0</title>
<updated>2022-07-14T15:48:30Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-06-28T01:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e580ce00580a86fbf2fb6d7630ce8bc30d7a8156'/>
<id>urn:sha1:e580ce00580a86fbf2fb6d7630ce8bc30d7a8156</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>emacs/show: optionally insert bodies of "deep messages" lazily</title>
<updated>2022-07-14T15:47:49Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-06-28T01:02:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1d254bd35e0a4b816f70ff9babaf0f3681460423'/>
<id>urn:sha1:1d254bd35e0a4b816f70ff9babaf0f3681460423</id>
<content type='text'>
This leverages the machinery already there to insert buttons for
attachments.

A potential use-case is browsing the top layers of the tree to decide
which of the lower subtrees to read.
</content>
</entry>
<entry>
<title>test: make T450 independent of application/octet-stream interpretation</title>
<updated>2022-05-29T10:23:32Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2022-05-26T16:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=aec72e5806bb3103fdc0b30e5edcac8158dc67a6'/>
<id>urn:sha1:aec72e5806bb3103fdc0b30e5edcac8158dc67a6</id>
<content type='text'>
The actual content type of `application/octet-stream` is up to content
type detection of the reader, and thus may not be stable across
implementations or versions. This showed up when

fd46fc19 ("emacs:  document/defcustom notmuch-multipart/alternative-discouraged", 2022-05-14)

introduced a test for omitting a part of type `text/html` because it
expected a part of type `application/octet-stream` to remain in place,
i.e. a part of "unstable type". In particular, tests with `fd46fc19`
would succeed on RHEL/EPEL but fail on all current Fedoras with

```
 FAIL   multipart/alternative hides html by default
	--- T450-emacs-show.16.notmuch-show-multipart-alternative	2022-05-26 15:34:42.100557244 +0000
	+++ T450-emacs-show.16.OUTPUT	2022-05-26 15:34:42.102557207 +0000
	@@ -24,7 +24,7 @@
	 uses 64 as the
	 buffer size.
	 [ text/html (hidden) ]
	-[ 0001-Deal-with-situation-where-sysconf-_SC_GETPW_R_SIZE_M.patch: application/octet-stream (as text/x-diff) ]
	+[ 0001-Deal-with-situation-where-sysconf-_SC_GETPW_R_SIZE_M.patch: application/octet-stream (as text/x-patch) ]
	 From e3bc4bbd7b9d0d086816ab5f8f2d6ffea1dd3ea4 Mon Sep 17 00:00:00 2001
	 From: Alexander Botero-Lowry &lt;alex.boterolowry@gmail.com&gt;
	 Date: Tue, 17 Nov 2009 11:30:39 -0800
```

due to the different type detected.

Fix this by giving that message a specicific type of `text/x-diff` in
the test corpus, and adjust all affected test outputs.

Signed-off-by: Michael J Gruber &lt;git@grubix.eu&gt;
Amended-by: db, fix some trailing whitespace
</content>
</entry>
<entry>
<title>emacs:  document/defcustom notmuch-multipart/alternative-discouraged</title>
<updated>2022-05-21T01:40:32Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-05-14T11:26:38Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fd46fc1977e3b0712c07cc4610edee2d91ec5ee0'/>
<id>urn:sha1:fd46fc1977e3b0712c07cc4610edee2d91ec5ee0</id>
<content type='text'>
This variable is important for people who want to change the default
behaviour when displaying multipart/alternative messages.  Previously
it was undocumented.  Add a defcustom to help users and copy some
documentation from the wiki. The usual machinery of re-using
docstrings is a bit tricky to use here because it mangles the example
lisp code, and the link to the info node should not be in e.g. the
html page.

Add a simple test to make sure the switch from defvar to defcustom did
not break something obvious.
</content>
</entry>
<entry>
<title>Emacs: Indent first header line only when indentation is turned on</title>
<updated>2020-08-15T12:16:34Z</updated>
<author>
<name>Teemu Likonen</name>
<email>tlikonen@iki.fi</email>
</author>
<published>2020-08-15T06:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=adb90b9bb633c82f41a6c04c07f6becc12f332aa'/>
<id>urn:sha1:adb90b9bb633c82f41a6c04c07f6becc12f332aa</id>
<content type='text'>
Previously in message-show mode message's first header line (From
header) was always indented, even if user had turned thread
indentation off with "&lt;" (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
</content>
</entry>
<entry>
<title>emacs: Drop content-free "Unknown signature status" button</title>
<updated>2019-05-25T16:02:02Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-04-22T17:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9300defd64acf68b8e6fa6fbd89b8050168bb63d'/>
<id>urn:sha1:9300defd64acf68b8e6fa6fbd89b8050168bb63d</id>
<content type='text'>
When we have not been able to evaluate the signature status of a given
MIME part, showing a content-free (and interaction-free) "[ Unknown
signature status ]" button doesn't really help the user at all, and
takes up valuable screen real-estate.

A visual reminder that a given message is *not* signed isn't helpful
unless it is always present, in which case we'd want to see "[ Unknown
signature status ]" buttons on all messages, even ones that don't have
a signing structure, but i don't think we want that.

Amended by db to drop the unused initialization of 'label'
</content>
</entry>
<entry>
<title>test: show what emacs sees of an encrypted message when crypto is disabled</title>
<updated>2019-05-10T15:30:03Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-04-22T17:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9c0001de4bf3446a7cb8e6afc8dd3288be9169b7'/>
<id>urn:sha1:9c0001de4bf3446a7cb8e6afc8dd3288be9169b7</id>
<content type='text'>
Some users may set notmuch-crypto-process-mime to nil, disabling all
crypto use.  We should have a baseline for what that looks like.
</content>
</entry>
<entry>
<title>emacs: test notmuch-show during message decryption</title>
<updated>2019-05-10T09:54:50Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2019-05-06T17:43:27Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e1c8357c441d4e70fb28838dead5a490f4663b87'/>
<id>urn:sha1:e1c8357c441d4e70fb28838dead5a490f4663b87</id>
<content type='text'>
We did not have a test showing what message decryption looks like
within notmuch-emacs.  This change gives us a baseline for future work
on the notmuch-emacs interface.

This differs from previous revisions of this patch in that it should
be insensitive to the order in which the local filesystem readdir()s
the underlying maildir.

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
</feed>
