summaryrefslogtreecommitdiff
path: root/alot/commands/search.py
diff options
context:
space:
mode:
authorSebastian Jeltsch <sjeltsch@kip.uni-heidelberg.de>2013-05-25 23:37:14 +0200
committerSebastian Jeltsch <sjeltsch@kip.uni-heidelberg.de>2013-05-26 14:33:29 +0200
commit4b9adf51d824dcd10695d00fcb793a0858c20495 (patch)
treec0d69853ee70d63c05bbd3dae6fa69b40b12ab5d /alot/commands/search.py
parentb393996ad481212fd381899419646c9422c3efb7 (diff)
changed repeatability default to False and reconsider repeatability of all Commands
Diffstat (limited to 'alot/commands/search.py')
-rw-r--r--alot/commands/search.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py
index e3576e68..a8ac188f 100644
--- a/alot/commands/search.py
+++ b/alot/commands/search.py
@@ -19,8 +19,6 @@ MODE = 'search'
@registerCommand(MODE, 'select')
class OpenThreadCommand(Command):
"""open thread in a new buffer"""
- repeatable = False
-
def __init__(self, thread=None, **kwargs):
"""
:param thread: thread to open (Uses focussed thread if unset)
@@ -82,7 +80,7 @@ class RefineCommand(Command):
@registerCommand(MODE, 'refineprompt')
class RefinePromptCommand(Command):
"""prompt to change this buffers querystring"""
- repeatable = False
+ repeatable = True
def apply(self, ui):
sbuffer = ui.current_buffer
@@ -93,8 +91,6 @@ class RefinePromptCommand(Command):
@registerCommand(MODE, 'retagprompt')
class RetagPromptCommand(Command):
"""prompt to retag selected threads\' tags"""
- repeatable = False
-
def apply(self, ui):
thread = ui.current_buffer.get_selected_thread()
if not thread:
@@ -148,6 +144,8 @@ class RetagPromptCommand(Command):
""")
class TagCommand(Command):
"""manipulate message tags"""
+ repeatable = True
+
def __init__(self, tags=u'', action='add', allmessages=False, flush=True,
**kwargs):
"""