| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
this makes sure that 'tbuffer._indent_width', which stores the requested
indentation width, remains non-negative.
As a consequence, multiple "decrease" operations on zero values can be
reverted by a single "increase", as is intuitive.
|
|
|
|
|
|
| |
this introduces a new argparse validation check that makes sure a
parameter is '+', '-', or an integer, and uses this check for the
'indent' thread mode command.
|
| |
|
|
|
|
| |
to dynamically change the message indentation
|
|
|
|
|
| |
This adjusts the message/reply indentation according to the new
'thread_indent_replies' config option.
|
| |
|
| |
|
| |
|
|\
| |
| | |
Fix #1140
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add account configuration variable 'encrypt_to_self' that if true when
encrypting a message it will also be encrypted with the key defined for
this account.
Fixes #1140
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This will result in wrong behavior, gpg will prompt for a password
rather than using keys to encrypt.
|
|/ |
|
|\
| |
| | |
Call _get_body() only once.
|
|/ |
|
|\
| |
| | |
github: add notmuch version to issue template
|
|/ |
|
|\
| |
| | |
Submit/fix no from header
|
| |
| |
| |
| | |
This makes drafts display correctly.
|
| |
| |
| |
| |
| |
| |
| | |
If the message doesn't have a sender, try to come up with one. If the
message has the draft tag we known that the user is the sender, just use
the default account as the from if we can't find one another way. If it
doesn't have the draft tag just set the sending to 'Unknown'.
|
| |
| |
| |
| |
| | |
These are just enough to look at the bug that will be fixed in the
patches that follow.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This uses a try/except because comparing an address to an empty string
should be a fairly uncommon event and try/except will be faster than
`if '@' not in other` in the case where '@' is in other.
This stops alot from crashing if there is no 'From' header in the
email. Outlook generates drafts without a 'From' header.
Fixes #1050
|
|/ |
|
|\
| |
| | |
Fix some spelling mistakes
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
pep8 fixes
|
|/ /
| |
| |
| |
| | |
This mostly shortens lines down to <=79 chars and fixes some other small
things I found using the pep8 tool.
|
| |
| |
| |
| |
| |
| |
| |
| | |
this removes the duplication engine (which only ever complains about
necessary duplications such as @registerCommand decorators or widget API
usage).
It also enables the pep8 engine.
|
|\ \
| | |
| | | |
db/message: Use self._id instead of self.get_message_id()
|
| | |
| | |
| | |
| | |
| | | |
The latter function returns self._id anyway, and this avoids a function
call when sorting.
|
|\ \ \
| | | |
| | | | |
Handle servers that treat the user segment of an address as case insensitive
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This just wries the new Address class into alot for use, and fixes up a
few places where such fixups are needed.
Fixes #1107
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This class will encapsulate the logic of comparing email addresses and
the rules of handling when capitalization is allowed and when it's not.
|
| |/ /
| | |
| | |
| | | |
This currently fails as there is not way to toggle case sensitivity
|
|\ \ \
| |/ /
|/| | |
more tests + cleanups
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
there are probably still some corners with mailcap handling (parameters
like copiousoutput) that are untested, but this covers a large swath of
the functionality.
|
| | |
| | |
| | |
| | |
| | | |
add returns and rtype for sphinx and reflow the rest of the docstring a
bit.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
There are a couple of pieces of this function that aren't covered,
including a bug. yay bugs.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
list_keys won't raise an exception if there are not keys, it will return
a generator that creates an empty list:
>>> from alot import crypto
>>> list(crypto.list_keys('doesntexist@example.com'))
[]
|
| |/
|/| |
|
|\ \
| | |
| | | |
fix example hook
|
|/ /
| |
| |
| |
| |
| | |
This fixes the example "goodbye"-hook in order to make it work again
with v0.6 and newer branches: the initializes SettingsManager
object is now accessible as 'alot.settings.const.settings'.
|