<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs, branch 0.38.1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.38.1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.38.1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2023-10-01T10:47:16Z</updated>
<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>
<entry>
<title>emacs: save undisplayer function for MIME parts</title>
<updated>2023-10-01T10:47:16Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-09-24T09:51:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b1129d905af5643ffec6a19d6cb1cf76abf9d9ce'/>
<id>urn:sha1:b1129d905af5643ffec6a19d6cb1cf76abf9d9ce</id>
<content type='text'>
For some kinds of MIME parts (at least images), our trickery with
overlays will not work, so save the more drastic function created by
Gnus that actually deletes the part from the buffer. In an ideal world
we would return this function as (part of) a value, but here the call
stack is too complicated for anything that simple, so we stash it in
the part plist and rely on that being preserved (unlike the mm handle,
which is transient).
</content>
</entry>
<entry>
<title>emacs/tree: use two argument form of setq-local</title>
<updated>2023-02-21T14:55:42Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-02-21T11:49:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=48d774bbf4dc6e442e1be96aab712947b408fc5a'/>
<id>urn:sha1:48d774bbf4dc6e442e1be96aab712947b408fc5a</id>
<content type='text'>
Apparently the macro setq-local only takes two arguments in Emacs 26.1
</content>
</entry>
<entry>
<title>emacs: notmuch-tree-outline-mode</title>
<updated>2023-02-20T12:58:32Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-12-13T02:15:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f63d14a8c12ad76024d2865c0223a06f6f4bb372'/>
<id>urn:sha1:f63d14a8c12ad76024d2865c0223a06f6f4bb372</id>
<content type='text'>
With this mode, one can fold trees in the notmuch-tree buffer as if
they were outlines, using all the commands provided by
outline-minor-mode.  We also define a couple of movement commands
that, optional, will ensure that only the thread around point is
unfolded.

The implementation is based on registering a :level property in the
messages p-list, that is then used by outline-minor-mode to to
recognise headers.

Amended by db: Copy docstring to manual and edit for presentation. Add
two tests. Fix typo "wether".
</content>
</entry>
<entry>
<title>emacs/show: use n-s-i-headerline to update tags</title>
<updated>2022-11-15T11:34:25Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-11-11T21:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5ba7684445b9338ab289d502d4688d9aff3d8803'/>
<id>urn:sha1:5ba7684445b9338ab289d502d4688d9aff3d8803</id>
<content type='text'>
Although this has more steps than the previous regular expression
search and replace, it should be more robust against changes in the
headerline format, such as the inclusion of duplicate numbers (which
broke the previous version).
</content>
</entry>
<entry>
<title>emacs/show: add optional orig-tags argument to n-s-i-headerline</title>
<updated>2022-11-15T11:28:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-11-11T21:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=056249627ac68823e5246b2586db9fbb8002c6b0'/>
<id>urn:sha1:056249627ac68823e5246b2586db9fbb8002c6b0</id>
<content type='text'>
This will support use of this function in notmuch-show-update-tags.
</content>
</entry>
<entry>
<title>emacs/show: use plist to pass message info to n-s-insert-headerline</title>
<updated>2022-11-15T11:28:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-11-11T21:48:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2b842a1d8cb25981c19d9adb33fe962f4ebd2e9f'/>
<id>urn:sha1:2b842a1d8cb25981c19d9adb33fe962f4ebd2e9f</id>
<content type='text'>
This should allow calling notmuch-show-insert-headerline from other
places without duplicating the set of plist accesses.
</content>
</entry>
<entry>
<title>emacs: move From header addition to after header intern</title>
<updated>2022-11-05T17:30:50Z</updated>
<author>
<name>Russell Sim</name>
<email>russell.sim@gmail.com</email>
</author>
<published>2022-09-20T20:18:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=82aa1acc0c6a66eb3b771357e513eb4d16f9f276'/>
<id>urn:sha1:82aa1acc0c6a66eb3b771357e513eb4d16f9f276</id>
<content type='text'>
OTHER-HEADERS are expected to be passed as strings, to match the
implementation of `compose-mail'.  But the "From" header is currently
expected to be passed as a symbol.  Instead the "From" header can be
safely added after converting all the headers to symbols.
</content>
</entry>
</feed>
