show sent mails in inbox

This commit is contained in:
Felix Van der Jeugt 2017-05-09 08:53:03 +02:00
parent 69f9fdcfb8
commit 4bf0b73da6
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 2 additions and 7 deletions

View File

@ -11,7 +11,7 @@ periodic_hook_frequency = 60
sendmail_command = /usr/bin/msmtp --account=gmail -t
sent_box = maildir:///data/mail/gmail/Sent
draft_box = maildir:///data/mail/gmail/Sent
sent_tags = sent, gmail
sent_tags = inbox, gmail
sign_by_default = True
[[ugent]]
@ -22,7 +22,7 @@ periodic_hook_frequency = 60
sendmail_command = /usr/bin/msmtp --account=ugent -t
sent_box = maildir:///data/mail/ugent/Sent
draft_box = maildir:///data/mail/ugent/Sent
sent_tags = sent, ugent
sent_tags = inbox, ugent
sign_by_default = True
[bindings]

View File

@ -1,6 +1,5 @@
from alot.commands.globals import ExternalCommand
from alot.commands.search import OpenThreadCommand
def loop_hook(ui=None):
ui.apply_command(ExternalCommand(
@ -10,7 +9,3 @@ def loop_hook(ui=None):
if ui and ui.current_buffer:
ui.update()
def post_search_select(ui=None, dbm=None, cmd=None):
if isinstance(cmd, OpenThreadCommand):
cmd.thread.remove_tags({"unread"})