Package: mutt-patched
Version: 1.6.0-1
Severity: minor
Tags: patch

Subject says it all. Patch attached.

Regards
-- 
Sebastian Ramacher
From b9cef9ef8391f74ca0e4d55851dc0f346181edc6 Mon Sep 17 00:00:00 2001
From: Sebastian Ramacher <sramac...@debian.org>
Date: Tue, 26 Apr 2016 22:21:27 +0200
Subject: [PATCH] Update link to sidebar documentation and update the sample

---
 debian/extra/samples/sidebar.muttrc | 69 ++++++++++++++++++++++---------------
 1 file changed, 41 insertions(+), 28 deletions(-)

diff --git a/debian/extra/samples/sidebar.muttrc b/debian/extra/samples/sidebar.muttrc
index 3a9e3bb..fc433a0 100644
--- a/debian/extra/samples/sidebar.muttrc
+++ b/debian/extra/samples/sidebar.muttrc
@@ -1,10 +1,11 @@
 # shamelessly copied from
-# http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44
+# http://www.lunar-linux.org/mutt-sidebar/
 
 # set up the sidebar, default not visible
 set sidebar_width=12
 set sidebar_visible=no
 set sidebar_delim='|'
+set sidebar_sort=yes
 
 # which mailboxes to list in the sidebar
 mailboxes =inbox =ml
@@ -14,30 +15,29 @@ color sidebar_new yellow default
 
 # ctrl-n, ctrl-p to select next, prev folder
 # ctrl-o to open selected folder
-bind index \CP sidebar-prev
-bind index \CN sidebar-next
-bind index \CO sidebar-open
-bind pager \CP sidebar-prev
-bind pager \CN sidebar-next
-bind pager \CO sidebar-open
+bind index CP sidebar-prev
+bind index CN sidebar-next
+bind index CO sidebar-open
+bind pager CP sidebar-prev
+bind pager CN sidebar-next
+bind pager CO sidebar-open
 
-# I don't need these. just for documentation purposes. See below.
+# I don’t need these. just for documentation purposes. See below.
 # sidebar-scroll-up
 # sidebar-scroll-down
 
 # b toggles sidebar visibility
-macro index b '<enter-command>toggle sidebar_visible<enter>'
-macro pager b '<enter-command>toggle sidebar_visible<enter>'
+macro index b ‘<enter-command>toggle sidebar_visible<enter>’
+macro pager b ‘<enter-command>toggle sidebar_visible<enter>’
 
-# Remap bounce-message function to "B"
+# Remap bounce-message function to “B”
 bind index B bounce-message
 
 #
 # Mario Holbe suggests:
-# macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
-# macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
-# 
-
+# macro index b ‘<enter-command>toggle sidebar_visible<enter><refresh>’
+# macro pager b ‘<enter-command>toggle sidebar_visible<enter><redraw-screen>’
+#
 
 # Documentation
 # =============
@@ -50,26 +50,21 @@ bind index B bounce-message
 # 
 # sidebar_delim (string)
 # Specifies the delimiter between the sidebar and other screens
-#
-# sidebar_shortpath (boolean)
-# When using IMAP, a '.' is often used as a separator. This option
-# allows to shorten the folder name to the part after the last dot.
 # 
-# sidebar_sort (boolean)
-# Sorts the folders in the sidebar alphabetically.
-#
+# sidebar_sort
+# This specifies whether or not to sort the folders in the sidebar alphabetically, mainly for IMAP user.
+# 
 # color sidebar_new [fg] [bg]
-# The foreground (fg) and background (bg) color of folders that contain new
-# mail.
+# The foreground (fg) and background (bg) color of folders that contain new mail.
 # 
 # sidebar-prev
-# Mutt's name for the operation that selects the previous folder.
+# Mutt’s name for the operation that selects the previous folder.
 # 
 # sidebar-next
-# Mutt's name for the operation that selects the next folder.
+# Mutt’s name for the operation that selects the next folder.
 # 
 # sidebar-open
-# Mutt's name for the operation that opens the currently selected folder.
+# Mutt’s name for the operation that opens the currently selected folder.
 # 
 # sidebar-scroll-up
 # Only useful if you have more folders than lines in your terminal: scrolls one
@@ -77,5 +72,23 @@ bind index B bounce-message
 # 
 # sidebar-scroll-down
 # Only useful if you have more folders than lines in your terminal: scrolls one
-# page down through the list of folders. 
+# page down through the list of folders.
+# 
+# sidebar_format (string)
+# Format string for the sidebar. The sequences `%N’, `%F’ and `%S’ will
+# be replaced by the number of new or flagged messages or the total size
+# of them mailbox. `%B’ will be replaced with the name of the mailbox.
+# The `%!’ sequence will be expanded to `!’ if there is one flagged
+# message; to `!!’ if there are two flagged messages; and to `n!’ for n
+# flagged messages, n>2.
+# 
+# sidebar_folderindent (boolean)
+# Should folders be indented in the sidebar.
+# 
+# sidebar_indentstr (string)
+# This specifies the string that is used to indent items with
+# sidebar_folderindent= yes.
+# 
+# sidebar_shortpath (boolean)
+# Should the sidebar shorten the path showed.
 #
-- 
2.8.1

Attachment: signature.asc
Description: PGP signature

Reply via email to