| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
This patchseries adds a new buffer type for displaying notmuch's saved
querystrings. This commit adds the respective theming attributes used in
the new buffer. They are just copies of the taglist buffer really.
THIS BREAKS COMPATIBILITY WITH USER THEMES!
The theme files need to be updated to also have these new attributes in
order to conform with the updated spec.
|
|
|
|
| |
that displays the named query strings stored in the notmuch database
|
| |
|
| |
|
|
|
|
| |
... that opens a new namedqueries buffer
|
| |
|
| |
|
|
|
|
| |
the named-queries feature relies on notmuch >= v0.26
|
| |
|
|\
| |
| | |
fix: automatically update envelope gpg keys only if requested. see #1228
|
| |
| |
| |
| |
| |
| |
| | |
This prevents the update of the gpg keys stored in an envelope,
triggered by a header change, in case envelope.encrypt is set to false.
Fixes the issue that I reported on #1228
|
| | |
|
|\ \
| | |
| | | |
Respect colour mode set in config file
|
| | |
| | |
| | |
| | |
| | |
| | | |
Terminal colour mode can be set both in the config file and on the
command line, but a default value for the command-line option overrode
whatever was specified in the config file. Fix this.
|
|\ \ \
| |/ /
|/| | |
Remove pre py3 monkey patch
|
|/ / |
|
|\ \
| | |
| | | |
widgets/globals: inverse search keys (up/down)
|
|/ /
| |
| |
| |
| |
| | |
This has really annoyed me for a while, the search is reversed from vim.
In alot currently up is older searches, whiles down is newer. In vim
it's reversed.
|
|\ \
| | |
| | | |
Message from bytes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
.. instead of homebrew method `db.utils.message_from_bytes`.
The right way to do this is to rely on the direct bytes->message
conversion provided by pythons email module.
cf #1253
Suggested-by: Patrick Totzke <patricktotzke@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Our message_from_functions decrypt PGP encryped parts in addition to
creating a message object (from bytes or file handles) and recognizing
the encoding in one way or the other.
Rename them before refactoring to make their function clearer and to
distinguish them from the email.message_from_ functions (which do not
decrypt).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 0b5f8bf143e76be7ac989e8c8ec6e4a7dc08a78a.
Chardet takes prohibitively long on large blobs (such as attachments).
It will be replaced by functions from the email module in subsequent
commits.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|/ /
| |
| |
| |
| |
| |
| | |
Otherwise it will be read as a regular python string and be interpreted
as octet-stream.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
provide retagprompt command in thread mode
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
retagprompt in search mode allows to retag a whole thread. The new
thread mode version allows to do the same for each selected message.
The common command infers its mode from the UI object that it is passed
when applied. Therefore, the docstring (and everything else) is
mode-agnostic.
When this command command is registered for the wrong mode and applied
it raises a KeyError (on purpose).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Introduce a new source file common.py for common commands and, as a
first example, define RetagPromptCommand there and register it from
search.py.
This shows how to "decorate" a class that is defined somewhere else, and
thus how to decorate it multiple times.
|
| | | |
|
|/ /
| |
| |
| |
| | |
.. that accidentally got dropped during c86623d9c7daaa2f9a832135a11870a0d91110a3
This fixes #1255
|
|\ \
| |/
|/| |
lazy reading of config files in SettingsManager
|
| |
| |
| |
| |
| |
| |
| | |
- SettingsManagers is now instantiated without config paths
and instead `read_[notmuch]config` is called separately
- test_no_user_setting_* are removed, because we do not need to test
what config path SettingsManager uses anymore (this is now explicit)
|
|/
|
|
|
|
|
|
|
| |
This prevents SettingsManager from reading the config files right when
it is isntantiated and instead waits for the main module to call
`read_[notmuch]config` with the right path.
This should prevent problems with accidentally reading the default
config paths despite being told otherwise (via commandline options)
|
|\
| |
| | |
envelope: Update encryption keys when CC, To, or From is changed
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently the encryption keys will only be updated when they are
toggled, which means that if you change a Cc or To then the keys
encrypted to might be wrong, either too many keys will be encrypted to,
or not enough, or just the wrong ones.
This patches fixes this by calling set_encrypt whenever the 'To', 'Cc',
or 'From' headers are changed by set or unset.
Fixes #1227
|
|\ \ |
|
| | |
| | |
| | |
| | | |
see also #1250
|
|/ /
| |
| |
| |
| | |
This splits buffers.py, which contained all buffer classes, into several smaller files.
issue #1226
|
|\ \
| | |
| | | |
Remove old __future__ imports
|
| |\ \
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
use importlib to load hooks code at startup
|
|/ / /
| | |
| | |
| | | |
imp is deprecated in favor of importlib.
|
| | | |
|