summaryrefslogtreecommitdiff
path: root/alot/defaults
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-01-28 14:41:57 +0100
committerAnton Khirnov <anton@khirnov.net>2020-02-03 13:00:02 +0100
commit7fb73854b70b38a6da884d1e3a0157ae2f1c0698 (patch)
tree85e6ff88544334340377cfc3073e7f044cde772a /alot/defaults
parent145489a5434aa825077ae8570afe748722d055e2 (diff)
alot: drop the total_messages info property
It is an utterly useless number.
Diffstat (limited to 'alot/defaults')
-rw-r--r--alot/defaults/alot.rc.spec11
1 files changed, 5 insertions, 6 deletions
diff --git a/alot/defaults/alot.rc.spec b/alot/defaults/alot.rc.spec
index 0f70e949..f83099af 100644
--- a/alot/defaults/alot.rc.spec
+++ b/alot/defaults/alot.rc.spec
@@ -121,9 +121,8 @@ show_statusbar = boolean(default=True)
# This is a pair of strings to be left and right aligned in the status-bar that may contain variables:
#
# * `{buffer_no}`: index of this buffer in the global buffer list
-# * `{total_messages}`: total numer of messages indexed by notmuch
# * `{pending_writes}`: number of pending write operations to the index
-bufferlist_statusbar = mixed_list(string, string, default=list('[{buffer_no}: bufferlist]','{input_queue} total messages: {total_messages}'))
+bufferlist_statusbar = mixed_list(string, string, default=list('[{buffer_no}: bufferlist]','{input_queue}'))
# Format of the status-bar in search mode.
# This is a pair of strings to be left and right aligned in the status-bar.
@@ -133,7 +132,7 @@ bufferlist_statusbar = mixed_list(string, string, default=list('[{buffer_no}: bu
# * `{querystring}`: search string
# * `{result_count}`: number of matching messages
# * `{result_count_positive}`: 's' if result count is greater than 0.
-search_statusbar = mixed_list(string, string, default=list('[{buffer_no}: search] for "{querystring}"','{input_queue} {result_count} of {total_messages} messages'))
+search_statusbar = mixed_list(string, string, default=list('[{buffer_no}: search] for "{querystring}"','{input_queue} {result_count} messages'))
# Format of the status-bar in thread mode.
# This is a pair of strings to be left and right aligned in the status-bar.
@@ -147,13 +146,13 @@ search_statusbar = mixed_list(string, string, default=list('[{buffer_no}: search
# * `{thread_tags}`: displays all tags present in the current thread.
# * `{intersection_tags}`: displays tags common to all messages in the current thread.
-thread_statusbar = mixed_list(string, string, default=list('[{buffer_no}: thread] {subject}','{input_queue} total messages: {total_messages}'))
+thread_statusbar = mixed_list(string, string, default=list('[{buffer_no}: thread] {subject}','{input_queue}'))
# Format of the status-bar in taglist mode.
# This is a pair of strings to be left and right aligned in the status-bar.
# These strings may contain variables listed at :ref:`bufferlist_statusbar <bufferlist-statusbar>`
# that will be substituted accordingly.
-taglist_statusbar = mixed_list(string, string, default=list('[{buffer_no}: taglist]','{input_queue} total messages: {total_messages}'))
+taglist_statusbar = mixed_list(string, string, default=list('[{buffer_no}: taglist]','{input_queue}'))
# Format of the status-bar in named query list mode.
# This is a pair of strings to be left and right aligned in the status-bar.
@@ -167,7 +166,7 @@ namedqueries_statusbar = mixed_list(string, string, default=list('[{buffer_no}:
# these strings may contain variables:
#
# * `{to}`: To-header of the envelope
-envelope_statusbar = mixed_list(string, string, default=list('[{buffer_no}: envelope]','{input_queue} total messages: {total_messages}'))
+envelope_statusbar = mixed_list(string, string, default=list('[{buffer_no}: envelope]','{input_queue}'))
# timestamp format in `strftime format syntax <http://docs.python.org/library/datetime.html#strftime-strptime-behavior>`_
timestamp_format = string(default=None)