summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpazz <patricktotzke@gmail.com>2011-06-05 15:22:27 +0100
committerpazz <patricktotzke@gmail.com>2011-06-05 15:22:27 +0100
commit45b168b08da5e07a7bc0afb14cf952410f38cfd3 (patch)
tree8477f375b774c6f0275691e498756e1a0da6d794
parent158a860f8f27f7651a83e853cf2b5cd3dd9f87b3 (diff)
docstring/todo
-rw-r--r--alot/completion.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/alot/completion.py b/alot/completion.py
index a64c6a5d..c96813c8 100644
--- a/alot/completion.py
+++ b/alot/completion.py
@@ -22,12 +22,14 @@ import re
class Completer:
def complete(self, original):
+ """takes a string that's the prefix of a word,
+ returns a list of suffix-strings that complete the original"""
return list()
class QueryCompleter(Completer):
"""completion for a notmuch query string"""
-
+ # TODO: boolean connectors and braces?
def __init__(self, dbman):
self.dbman = dbman
self.keywords = ['tag', 'from', 'to', 'subject', 'attachment',