<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs/notmuch-show.el, 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>2026-03-14T22:47:01Z</updated>
<entry>
<title>emacs: Switch mode before pop-to-buffer</title>
<updated>2026-03-14T22:47:01Z</updated>
<author>
<name>Aurelien Rouene</name>
<email>aurelien@rouene.fr</email>
</author>
<published>2026-03-05T22:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=094744b3f6f5c6831b6555d1fe75709abf1d1279'/>
<id>urn:sha1:094744b3f6f5c6831b6555d1fe75709abf1d1279</id>
<content type='text'>
When showing an email using notmuch-show-mode, set the mode
"notmuch-show-mode" before using "pop-to-buffer-same-window", to be
able to match on the major-mode with an entry in "display-buffer-alist".

Using the major mode is the the only mean to set display rules,
because the buffer title is set to the title of the email and is not fixed.

Signed-off-by: Aurelien Rouene &lt;aurelien@rouene.fr&gt;
</content>
</entry>
<entry>
<title>emacs: Fix warnings on emacs@31.1</title>
<updated>2026-02-22T01:47:50Z</updated>
<author>
<name>Al Haji-Ali</name>
<email>a.hajiali@hw.ac.uk</email>
</author>
<published>2026-02-02T16:56:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bcb1398cdc2bf7d8fab0223b6cb008b7959e0780'/>
<id>urn:sha1:bcb1398cdc2bf7d8fab0223b6cb008b7959e0780</id>
<content type='text'>
Use `when-let*' instead of `when-let'. Use quoted
`font-lock-warning-face' instead of obsolete variable.
</content>
</entry>
<entry>
<title>emacs: fix disabling notmuch-show-header-line via custom</title>
<updated>2025-03-20T10:08:42Z</updated>
<author>
<name>len@realtimegenomics.com</name>
<email>len@realtimegenomics.com</email>
</author>
<published>2025-03-18T05:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d5ab2f0c02da4415e8775847ebc01559c9652e4c'/>
<id>urn:sha1:d5ab2f0c02da4415e8775847ebc01559c9652e4c</id>
<content type='text'>
The defcustom had a typo that prevented it from working as intended.
</content>
</entry>
<entry>
<title>Set 'untrusted-content' to t in all modes</title>
<updated>2025-03-14T11:51:02Z</updated>
<author>
<name>Stefan Kangas</name>
<email>stefankangas@gmail.com</email>
</author>
<published>2025-03-12T09:36:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=df4c1b5be769effb2ef7bc85c8bb8e09fb8f43fc'/>
<id>urn:sha1:df4c1b5be769effb2ef7bc85c8bb8e09fb8f43fc</id>
<content type='text'>
Instead of trying to guess in which modes this is safe not to set in,
let's just set it in all of them.

Background (added by db):

untrusted-content was added in Emacs 29.3 and is currently set by Gnus
and used by org-mode to prevent certain unsafe operations. I think the
intent is to use it for blocking more unsafe operations in the future.
</content>
</entry>
<entry>
<title>notmuch-show-imenu-prev-index-position-function: Don't recenter</title>
<updated>2025-02-18T12:54:36Z</updated>
<author>
<name>Damien Cassou</name>
<email>damien@cassou.me</email>
</author>
<published>2025-02-16T21:22:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0e10ca3a625c25c0238ecca2767aab7035b88a22'/>
<id>urn:sha1:0e10ca3a625c25c0238ecca2767aab7035b88a22</id>
<content type='text'>
The previous version of
notmuch-show-imenu-prev-index-position-function was calling
notmuch-show-previous-message which was recentering the window. This
is a problem when which-func-mode is active because which-func-mode is
called each time the user moves point around.

Because this function is only meant to be executed by imenu, there is
no reason to recenter the window. For the same reason, the new
implementation doesn't have to follow strictly how
notmuch-show-previous-message is implemented because imenu only places
point at very specific locations before calling
notmuch-show-imenu-prev-index-position-function.
</content>
</entry>
<entry>
<title>emacs/show: fix for text/calendar display</title>
<updated>2024-06-15T17:40:01Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-05-29T10:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b02a53a5cc9b5c0c397fec9f8289fcec834f9992'/>
<id>urn:sha1:b02a53a5cc9b5c0c397fec9f8289fcec834f9992</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>emacs: wrap docstrings</title>
<updated>2023-10-06T23:37:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-10-06T22:56:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c27326650394c14df4384e9eac0ab63c86fdc044'/>
<id>urn:sha1:c27326650394c14df4384e9eac0ab63c86fdc044</id>
<content type='text'>
Suppress byte-compiler warnings about &gt;80 character docstrings.
</content>
</entry>
<entry>
<title>emacs/show: special case toggling display of images</title>
<updated>2023-10-01T10:47:16Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-09-24T09:51:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a064a25427f466c6ba7da76c2b58bbac290caf5a'/>
<id>urn:sha1:a064a25427f466c6ba7da76c2b58bbac290caf5a</id>
<content type='text'>
According to emacs upstream [1], we can't expect overlay invisibility
and images to get along. This commit uses the previously stashed
undisplayer functions to actually remove the images from the buffer.
When the image is toggled, it is essentially redisplayed from scratch,
using the previously stashed redisplay data.

[1]: https://lists.gnu.org/archive/html/emacs-devel/2023-08/msg00593.html
</content>
</entry>
<entry>
<title>emacs: save image redisplay data during non-lazy display</title>
<updated>2023-10-01T10:47:16Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-09-24T09:51:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0646d4855bff8b1f7ab10d5207cd66c9e75ea810'/>
<id>urn:sha1:0646d4855bff8b1f7ab10d5207cd66c9e75ea810</id>
<content type='text'>
This data will eventually be used to redisplay hidden images. A
certain amount of refactoring is done here to avoid code
duplication.
</content>
</entry>
<entry>
<title>emacs/show: save redisplay redisplay data when showing lazy part.</title>
<updated>2023-10-01T10:47:16Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-09-24T09:51:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bfcfa947f8a989594d73a40a056cbb0bd37188ab'/>
<id>urn:sha1:bfcfa947f8a989594d73a40a056cbb0bd37188ab</id>
<content type='text'>
This data will be used to redisplay an image that is hidden by
deleting it from the buffer.  We cannot easily delay until the image
is hidden, as we won't have the original data at that point.
</content>
</entry>
</feed>
