FAQ about patches | | | More patches | | | Main Page |
Fancy Thread Interface
Versions of pine for which the patch is available for: pine 4.43 pine 4.44 Pine 4.50 and newer versions of Pine, have included display of threads. You may be interested in the new patch for enhanced thread interface that adds some missing features not included in Pine's original implementation. If you are unsure that you have the latest version of this patch, you can read the log of updates to this patch. This is what the patch does and how it works. Enter to the folder you want to see threaded index, and press k. This will make the index look like as below. PINE 4.XX THREAD INDEX <Incoming-Folders> c-client Msg 379 of 695 + 379 May 23 Sean Witham (3) Netscape problems with uw imapd 380 May 23 Mark Crispin \-re: Netscape problems with uw imapd 381 May 24 Sean Witham \-Re: Netscape problems with uw imapd 382 May 24 Kevin Dwyer (3) |-Re: Netscape problems with uw imapd 383 May 24 Julian Hall | \-Re: Netscape problems with uw ima 384 May 24 Kevin Dwyer | \-Re: Netscape problems with uw i 385 May 24 Mark Crispin (3) \-Re: Netscape problems with uw imapd 386 May 25 Sean Witham \-Re: Netscape problems with uw ima 387 May 25 Mark Crispin \-Re: Netscape problems with uw iIf you press k agaih, the folder will be restored to the sort order it was before you put it in thread mode. The numbers in parenthesis correspond to the number of messages (including that message) that are in the same branch.
You can also make the same thread above look in different ways, you can use the thread-index-format variable to indent the From field instead, so you can make the above thread look like: 379 May 23 Netscape probl (3) Sean Witham 380 May 23 re: Netscape p \-Mark Crispin 381 May 24 Re: Netscape p \-Sean Witham 382 May 24 Re: Netscape p (3) |-Kevin Dwyer 383 May 24 Re: Netscape p | \-Julian Hall 384 May 24 Re: Netscape p | \-Kevin Dwyer 385 May 24 Re: Netscape p (3) \-Mark Crispin 386 May 25 Re: Netscape p \-Sean Witham 387 May 25 Re: Netscape p \-Mark CrispinThere's more documentation on how to set this variable in the help included with the patch which you can get to it, say, after you compile Pine and request help on that variable by putting the cursor over that variable in the configuration screen and pressing ?. In particular it is explained there that the default is that for collapsed threads, you may see a letter n or u in the first status column, if there's a New or Unread message under that collapsed thread that is not visible at the time. You can also check the new configuration option: Also notice that threads without parents will have a |> string in the indent-string of the thread, and they will collapse to the first message of the thread. Here you can see how comp.mail.pine looks when using this patch. Now you can sort threads in different ways. The algorithm used to sort by thread finds the threads, and the final step of it is to select the parent of each thread and sort them by date, and that's what you see finally in the screen. However sometimes it is useful to have those threads (or their parents) sorted by subject. Now you can sort threads by Subject and by Arrival. Sorting by arrival is defined in a way such that the thread with the newest message in it, is the last thread in the index, and so on (going up the index). Other sort orders (say by Size) have not been defined yet. You can set the order in which threads will be sorted in the configuration screen, look at the variable thread-sort-key variable. You can also set it from the command line if you start pine like A new hidden configuration option called force-local-threading was added. This makes Pine compute the thead tree, instead of receiving it from the server. You should use this option only if you think that the server is not reporting threads correctly. The reason why it is a hidden configuration option is because this way of computing threads is very expensive in terms of bandwith and should be avoided, but if there's no other way to compute them correctly, then this may be a good idea, after all. If you do not like the character \ for indenting, you can use the configuration variable thread-character to change it. All you need to do, is to enter the character that you want to use to indent threads. If you enter a string, only the first character of it will be used. Send all comments and bug reports about this patch to me. Thanks, and enjoy! |
Last Updated 09:57:25 PST Thu Dec 05 2002.