Re: libiconv and mailbox reading speed

2010-11-15 Thread Tim Gray

On Nov 08, 2010 at 12:49 AM +, Christian Ebert wrote:

Maybe you have to rebuild the databases now that you're using
iconv. FWIW, for me the combination with tokyocabinet is
lightning fast, but I'm still on a pure 32bit MacOS 10.5.8. A
threaded mailbox with over 75000 messages opens in about 2
seconds here.


Sorry was out of town for a bit.  Nope, things are still slow.  One big 
mailbox of about 35k messages is pretty slow on opening.  So is on 
particular small mailbox of only about 1000 messages, all from forum 
notifications.  Something about the particular structure of those emails 
maybe?


Improve sorting rule?

2010-11-15 Thread Yue Wu
Hi, list,

mutt can sort index by rules like date, thread, etc., but the rule is
too simple, sometimes I want to sort the email by subject then by date
or reverse date, or by From then by reverse date, seems it's not
possible in mutt at present.

Will the feature be added in future? Or no one has think of such a
feature? Or it's hard to implement?

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China


Re: Improve sorting rule?

2010-11-15 Thread Brendan Cully
On Tuesday, 16 November 2010 at 09:04, Yue Wu wrote:
 Hi, list,
 
 mutt can sort index by rules like date, thread, etc., but the rule is
 too simple, sometimes I want to sort the email by subject then by date
 or reverse date, or by From then by reverse date, seems it's not
 possible in mutt at present.
 
 Will the feature be added in future? Or no one has think of such a
 feature? Or it's hard to implement?

see $sort_aux (present in the first CVS revision in 1998).


Re: Improve sorting rule?

2010-11-15 Thread Yue Wu
On Mon, Nov 15, 2010 at 07:06:54PM -0800, Brendan Cully wrote:
 On Tuesday, 16 November 2010 at 09:04, Yue Wu wrote:
  Hi, list,
  
  mutt can sort index by rules like date, thread, etc., but the rule is
  too simple, sometimes I want to sort the email by subject then by date
  or reverse date, or by From then by reverse date, seems it's not
  possible in mutt at present.
  
  Will the feature be added in future? Or no one has think of such a
  feature? Or it's hard to implement?
 
 see $sort_aux (present in the first CVS revision in 1998).

Hi Brendan,

sort_aux is by thread then by other sort rule, right?

Sorry maybe I didn't describe myself clearly, subject is for example,
if I want by sender then subject, how to do it?

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China


Re: Improve sorting rule?

2010-11-15 Thread Brendan Cully
On Tuesday, 16 November 2010 at 12:15, Yue Wu wrote:
 On Mon, Nov 15, 2010 at 07:06:54PM -0800, Brendan Cully wrote:
  On Tuesday, 16 November 2010 at 09:04, Yue Wu wrote:
   Hi, list,
   
   mutt can sort index by rules like date, thread, etc., but the rule is
   too simple, sometimes I want to sort the email by subject then by date
   or reverse date, or by From then by reverse date, seems it's not
   possible in mutt at present.
   
   Will the feature be added in future? Or no one has think of such a
   feature? Or it's hard to implement?
  
  see $sort_aux (present in the first CVS revision in 1998).
 
 Hi Brendan,
 
 sort_aux is by thread then by other sort rule, right?
 
 Sorry maybe I didn't describe myself clearly, subject is for example,
 if I want by sender then subject, how to do it?

sort_aux should work with whatever $sort you've set, not just threads.
In your example, sort=from; sort_aux=subject


Re: Improve sorting rule?

2010-11-15 Thread Yue Wu
On Mon, Nov 15, 2010 at 09:14:15PM -0800, Brendan Cully wrote:
 On Tuesday, 16 November 2010 at 12:15, Yue Wu wrote:
  On Mon, Nov 15, 2010 at 07:06:54PM -0800, Brendan Cully wrote:
   On Tuesday, 16 November 2010 at 09:04, Yue Wu wrote:
Hi, list,

mutt can sort index by rules like date, thread, etc., but the rule is
too simple, sometimes I want to sort the email by subject then by date
or reverse date, or by From then by reverse date, seems it's not
possible in mutt at present.

Will the feature be added in future? Or no one has think of such a
feature? Or it's hard to implement?
   
   see $sort_aux (present in the first CVS revision in 1998).
  
  Hi Brendan,
  
  sort_aux is by thread then by other sort rule, right?
  
  Sorry maybe I didn't describe myself clearly, subject is for example,
  if I want by sender then subject, how to do it?
 
 sort_aux should work with whatever $sort you've set, not just threads.
 In your example, sort=from; sort_aux=subject

Thanks, it makes sense. What about by from then by subject then by
reverse-date? What I want to express is that, why sort can be an
option in a form like:

sort=from,subject,reverse-date

so I can change/combine the sort rules as I want :)

Do you use vim? vim's widemode option is in the form that I've
described just above.

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China