Hi Steve, Adeodato, Christoph, Dann, and everyone else.

I just now found out about this follow up (after another moment of
frustration looking at the sidebar without seeing which folders have
just new mail).

I am sorry I haven't provided all relevant information in original
bugreport and indeed that
patch patch-1.5.6i.sidebar.20041122  is hiding somewhere online ;-)

Well - there are pages
http://thomer.com/mutt/index-old.html
and
http://www.lunar-linux.org/index.php?option=com_content&task=view&id=44
which keep sidebar patches for some versions of mutt but by looking at
them I don't see that they have the features I need. Thus I decided to
look at SVN repository of muttng:
http://svn.berlios.de/svnroot/repos/mutt-ng/trunk

*$> svn blame PATCHES  | grep sidebar
     4        ak1 patch-1.5.6i.sidebar.20041122

wow -- one of the first revisions ;-)
ok, running svn diff -r 3:4 -x -u >| ../muttng.svn.r3-4.diff
(uff... takes forever... why didn't I do git-svn??)

apparently that was just a really basic sidebar patch, not interesting
at all ;-/

ok -- lets look at svn log and pick out relevant changesets:

uuu -- this one looks lovely

------------------------------------------------------------------------
r559 | pdmef | 2005-10-22 21:12:29 -0400 (Sat, 22 Oct 2005) | 4 lines

From: Lars Ellenberg <[EMAIL PROTECTED]>
Rocco Rutte:
- add %u for unread messages to $sidebar_number_format

------------------------------------------------------------------------
r269 | pdmef | 2005-04-18 07:04:13 -0400 (Mon, 18 Apr 2005) | 5 lines

Rocco Rutte:
- sidebar cleanup: (partially?) fix $sidebar_newmail_only, prefix 
$shorten_hierarchy with sidebar_ (for consistency)
- add $sidebar_number_format to eventually stop counting

and in regard to newmail:


r269 | pdmef | 2005-04-18 07:04:13 -0400 (Mon, 18 Apr 2005) | 5 lines

Rocco Rutte:
- sidebar cleanup: (partially?) fix $sidebar_newmail_only, prefix 
$shorten_hierarchy with sidebar_ (for consistency)


r183 | ak1 | 2005-03-16 07:25:56 -0500 (Wed, 16 Mar 2005) | 4 lines

Andreas Krennmair:
        added new muttng spec file for Fedora Core.
        added new variable $sidebar_newmail_only to only show mailboxes with 
new mail in them



of cause - probably those commits are not exhaustive but they give an idea and
svn blame on sidebar.c in that sidebar_number_format function also is
interesting. So if anyone ever look for a challenge and decide to introduce
missing pieces into mutt-patched --- that would be REALLY AWESOME!!!  (if you
decide to inspect SVN repository of muttng I strongly urge you to fetch it all
via git-svn and then observe with git tools -- it would save you looooots of
time waiting for SVN interaction with the server to complete ;-)).



On Tue, 11 Mar 2008, Steve Kemp wrote:

>   I couldnt' find either patch, even when searching carefully.

>   I did come up with the following though:

>   http://www.steve.org.uk/Software/mutt-tagging/sidebar-new-only

>   It works pretty nicely with the following two caveats:

>     *  It should probably also always show the current mailbox.
>     *  It has a couple of display artifacts.

>   Still if there is nothing better then it might prove to be
>  a useful starting-point.  (Ignored the number format patch
>  no idea where it is, or what it does!)

> Steve
-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        


Reply via email to