| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
This simplifies the main function by pulling out the argument parsing
and validating into a separate function.
|
|
|
|
| |
This is just more reorganization.
|
|
|
|
|
| |
This module is going to be enhanced with additional components in later
patches in this series, so it needs a more generic name.
|
|\
| |
| | |
travis: work around sphinx-1.5.2 problem
|
| |
| |
| |
| |
| |
| |
| | |
This forces travis to install sphinx 1.5.1 which doesn't display the
warnings 1.5.2 does. This is not a proper solution, but a work around so
that the docs test works and remains useful. We still need to implement
a proper fix.
|
|\ \
| | |
| | | |
Update zsh completion after #944
|
|/ / |
|
|\ \
| |/
|/| |
Make addresses in To header unique when group replying
|
| | |
|
|/ |
|
|\
| |
| | |
Use absolute_imports from __future__
|
| | |
|
|\ \
| | |
| | | |
widgets/globals: Fix typo which would lead to AttributeError
|
| | | |
|
|\ \ \
| | | |
| | | | |
alot/ui: Handle Exceptions in UI.apply_command callbacks
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This ports the same handling used in UI.apply_commandline to
UI.apply_command. This is necessary since though the first implies the
other, they are actually separate Deferred instances, and don't share a
callback/errback chain; but they can both receive a CommandCanceled
exception.
Fixes #965
|
|\ \ \ \
| | | | |
| | | | | |
Suggest `notmuch address --format=json` in the docs
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The old regex that was suggested to capture addresses for completion from the
command `notmuch address` was bogus. The json output format is much more
predictable.
Reported in #990.
|
|\ \ \ \
| |/ / /
|/| | | |
Add docstrings to some methods and functions.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Some random cleanup
|
| | | |
| | | |
| | | |
| | | | |
The method is only used once in a for loop.
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
Pr/fix 968 and 979
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently if global.quit_on_last_bclose is set to True (not the default),
and the last buffer is an envelope, then when 'd' or ':bclose' is
called, the user will be prompted twice to 'close without sending?'.
This patch fixes that by skipping the prompt in BufferCloseCommand, if
there is 1 buffer, and global.quit_on_last_bclose is True. It does this
by adding a private keyword to the ExitCommand() constructor, telling
that classes apply method to not prompt.
Fixes #979
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the last buffer if closed (using 'd' or ':bclose'), by default either
nothing will happen, or the user will be prompted whether he/she wants
to close without saving, and then nothing happens. This can be changed
by setting global.quit_on_last_bclose to True (it defaults to False).
This patch changes that behavior to preempt the prompt and adds a UI
notification that the relevant option is unset, and returns. It will
check the same conditions again after the yield statement since the
number of buffers or the options might have changed (it seems rather
unlikely that the options will change, but it's a tiny amount of code
with minimal performance impact and it's better to be safe).
Fixes #968
|
|\ \ \
| | | |
| | | | |
Porting old doctests to unittest
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
travis: Add ccache
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
This will speed up the builds of notmuch, saving about 40 seconds of
build time.
|
|\ \ \ \
| | | | |
| | | | | |
helper: Don't rely on GNU extensions for strftime
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
While the reality is that most alot users probably have glibc as their C
library and can therefore rely on %P, it is possible that there are
users or potential users who run a *BSD or other unix-like OS. This
leaves only non-GNU extensions, though some of the extensions are
specified in later POSIX, unix or C specifications.
|
|\ \ \ \
| |/ / /
|/| | | |
ui: Fix typo in protected method name
|
| | | | |
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
Update synopsis.rst
|
|/ /
| |
| | |
Fix typo
|
|\ \
| | |
| | | |
Remove another old unneeded script
|
|/ / |
|
|\ \
| | |
| | | |
Remove old unneeded script
|
|/ /
| |
| |
| |
| | |
The script was used to migrate old configs to a new format. For more info see
https://github.com/pazz/alot/pull/971#issuecomment-272812329.
|
|\ \
| |/
|/| |
Settings for enabling mouse
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Mouse support is enabled by default. To disable mouse support, set
```
handle_mouse = False
```
in your config file.
|
|\ \
| | |
| | | |
alot/completion: revert premature optimization
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The change this is partially reverting removed a variable assignment
that was actually needed.
Fixes #962
|
|\ \ \
| | | |
| | | | |
alot/commands/globals: fix typo
|
| |/ /
| | |
| | |
| | |
| | | |
This is a bug, though apparently no one has run into it yet. Found
through inspection.
|