<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs/notmuch-message.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>2021-01-15T10:47:10Z</updated>
<entry>
<title>emacs: make subr-x available in all libraries</title>
<updated>2021-01-15T10:47:10Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2021-01-10T14:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f3d6fa2e40c45c3dbaef768e36f1544248851ddb'/>
<id>urn:sha1:f3d6fa2e40c45c3dbaef768e36f1544248851ddb</id>
<content type='text'>
Like `cl-lib' and `pcase', which are already available in all
libraries, `subr-x' also provided many useful functions that
we would like to use.

Making `subr-x' available in every library from the get-go means
that we can use the functions it defines without having to double
check every single time, whether the feature is already available
in the current library.
</content>
</entry>
<entry>
<title>emacs: improve how cl-lib and pcase are required</title>
<updated>2021-01-15T10:46:38Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2021-01-10T14:01:07Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9ca1f945d9f5030600dc14ffff10d4dad14db4ca'/>
<id>urn:sha1:9ca1f945d9f5030600dc14ffff10d4dad14db4ca</id>
<content type='text'>
We need to load `cl-lib' at run-time because we use more from it than
just macros.  Never-the-less many, but not all libraries required it
only at compile-time, which we got away with because at least some
libraries already required it at run-time as well.

We use `cl-lib' and (currently to a lesser extend) `pcase' throughout
the code-base, which means that we should require these features in
most libraries.

In the past we tried to only require these features in just the
libraries that actually need them, without fully succeeding.  We did
not succeed in doing so because that means we would have to check
every time that we use a function from these features whether they
are already being required in the current library.

An alternative would be to add the `require' forms at the top of every
library but that is a bit annoying too.

In order to make sure that these features are loaded when needed but
also to keep the noise down we only require them in "notmuch-lib.el",
which most other libraries require, and in most of the few libraries
that do not do so, namely "notmuch-draft.el", "notmuch-message.el" and
"notmuch-parser.el".  ("coolj.el", "make-deps.el", various generated
libraries, and "notmuch-compat.el" are left touched.)
</content>
</entry>
<entry>
<title>emacs: notmuch-message-apply-queued-tag-changes: cosmetics</title>
<updated>2021-01-13T11:23:11Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2021-01-10T14:00:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b4deb33a66d6781fb6e516053efe67c60e934b63'/>
<id>urn:sha1:b4deb33a66d6781fb6e516053efe67c60e934b63</id>
<content type='text'>
</content>
</entry>
<entry>
<title>emacs: define notmuch-message-queued-tag-changes as buffer-local</title>
<updated>2021-01-13T11:21:32Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2021-01-10T14:00:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=117501d5ceb332063adfeadc961e8c053f2cd942'/>
<id>urn:sha1:117501d5ceb332063adfeadc961e8c053f2cd942</id>
<content type='text'>
Also improve the doc-string.
</content>
</entry>
<entry>
<title>emacs: use lexical-bindings in all libraries</title>
<updated>2021-01-13T11:16:04Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2021-01-10T14:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fc4cda07a9afbbb545dcc6cd835ca697f6ef2a1b'/>
<id>urn:sha1:fc4cda07a9afbbb545dcc6cd835ca697f6ef2a1b</id>
<content type='text'>
Doing so causes many new compile warnings.  Some of these warnings
concern genuine changes in behavior that have to be addressed right
away.

Many other warnings are due to unused variables.  Nothing has changed
here, except that the byte-compiler can now detect these pre-existing
and harmless issues.  We delay addressing these issues so that we can
focus on the important ones here.

A third group of warnings concern arguments that are not actually used
inside the function but which cannot be removed because the functions
signature is dictated by some outside convention.  Silencing these
warning is also delayed until subsequent commits.
</content>
</entry>
<entry>
<title>emacs: Shorten long lines</title>
<updated>2020-08-09T22:48:36Z</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2020-08-08T11:49:36Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a4617f29ce81e7ae3e0cb747fdb9070f88407a28'/>
<id>urn:sha1:a4617f29ce81e7ae3e0cb747fdb9070f88407a28</id>
<content type='text'>
</content>
</entry>
<entry>
<title>emacs: Tag forwarded messages with +forwarded (customizable)</title>
<updated>2019-04-14T11:00:44Z</updated>
<author>
<name>Örjan Ekeberg</name>
<email>ekeberg@kth.se</email>
</author>
<published>2019-04-12T12:01:12Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=606f2a66157cf5d58a6d187e0163249a4e61ecc8'/>
<id>urn:sha1:606f2a66157cf5d58a6d187e0163249a4e61ecc8</id>
<content type='text'>
Use the buffer-local variable notmuch-message-queued-tag-changes
to change tags when the forwarding message is sent.
</content>
</entry>
<entry>
<title>emacs: Use a buffer-local variable to update tags when sending replies</title>
<updated>2019-04-14T10:58:06Z</updated>
<author>
<name>Örjan Ekeberg</name>
<email>ekeberg@kth.se</email>
</author>
<published>2019-04-12T12:01:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d9800c893289b56dcc966241528643ae83f2ff9a'/>
<id>urn:sha1:d9800c893289b56dcc966241528643ae83f2ff9a</id>
<content type='text'>
Instead of relying on the "In-Reply-To" header, use a buffer-local variable,
notmuch-message-queued-tag-changes, to add and remove tags to affected
messages when the message-send-hook is triggered.
</content>
</entry>
<entry>
<title>Use https instead of http where possible</title>
<updated>2016-06-05T11:32:17Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2016-06-02T16:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6a833a6e83865f6999707cc30768d07e1351c2cb'/>
<id>urn:sha1:6a833a6e83865f6999707cc30768d07e1351c2cb</id>
<content type='text'>
Many of the external links found in the notmuch source can be resolved
using https instead of http.  This changeset addresses as many as i
could find, without touching the e-mail corpus or expected outputs
found in tests.
</content>
</entry>
<entry>
<title>emacs: Fix packaging</title>
<updated>2016-04-16T11:24:42Z</updated>
<author>
<name>Chunyang Xu</name>
<email>xuchunyang.me@gmail.com</email>
</author>
<published>2016-04-13T07:58:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0cf457b73b4b666314d1a09ac3e31bd0fa2346a6'/>
<id>urn:sha1:0cf457b73b4b666314d1a09ac3e31bd0fa2346a6</id>
<content type='text'>
Refer to (info "(elisp) Library Headers") for package conventions.
</content>
</entry>
</feed>
