Re: How to count new emails in mbox format mailbox?

2009-12-26 Thread Wu, Yue
On Fri, Dec 25, 2009 at 04:22:34PM +, Christian Ebert wrote: > * Wu, Yue on Friday, December 25, 2009 at 21:12:52 +0800 > > On Fri, Dec 25, 2009 at 11:56:44AM +, Christian Ebert wrote: > >> egrep '^From [-a-za-z0-9@[-a-za-z0-9]+\.[a-za-z0-9]+ [A-Z][a-z]{2} >

Re: How to count new emails in mbox format mailbox?

2009-12-25 Thread Wu, Yue
On Fri, Dec 25, 2009 at 11:56:44AM +, Christian Ebert wrote: > * Christian Ebert on Friday, December 25, 2009 at 11:45:34 + > > * Wu, Yue on Friday, December 25, 2009 at 13:50:41 +0800 > >> Now I've changed to mbox from maildir, when with maildir, I use a sh > &

How to count new emails in mbox format mailbox?

2009-12-24 Thread Wu, Yue
Hi list: Now I've changed to mbox from maildir, when with maildir, I use a sh script to count the number of mails in directory new/ of each of my mails/ sub-directory, but now I don't know how to achieve it with mbox, any hint will be appreciated. -- Hi, Wu, Yue

Re: Is it safe to use mbox?

2009-12-24 Thread Wu, Yue
rtition > > or something similarly weird. > > Does mbox have issues on MS-DOS partitions? I wasn't aware of any > (though you need to be careful about using mixed case). I was aware > that maildir does, because on MS filesystems, you can't use ':' in a > path. [] Thanks for useful explanations :) -- Hi, Wu, Yue

Re: How to match multi-charactors?

2009-12-13 Thread Wu, Yue
On Sat, Dec 12, 2009 at 07:36:50PM +0800, Chuangliu wrote: > On Tue, Dec 08, 2009 at 07:39:44PM +0800, Wu, Yue wrote: > > how to let mutt match the messages whose message body contents some > > particular multi-charactors? > > You can try this: > > set thorough

How to match multi-charactors?

2009-12-08 Thread Wu, Yue
Hi, list: I'm trying to limit the messages with the key binding l then =b foo, but I find "foo" must be English, multi-charactor can't match any messages, so my question is how to let mutt match the messages whose message body contents some particular multi-charactors? -- Hi, Wu, Yue

Re: Terminal for mutt (Poll)

2009-10-08 Thread Wu, Yue
console has the beautiful font displaying and soft seeing fg/bg effect, don't know how to set it for xterm to the same. (I have to use x terminal for Chinese showing.) -- Hi, Wu, Yue

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-25 Thread Wu, Yue
On Fri, Sep 25, 2009 at 01:57:45AM -0400, James Michael Fultz wrote: > * "Wu, Yue" [2009-09-25 13:22 +0800]: > [ ... ] > > Hi James, > > > > I've tried `col -b` and `col -bp`, both produce errors and stop immatiatly. > > > > y...@bsd

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread Wu, Yue
`, both produce errors and stop immatiatly. y...@bsd ~ > cat manual.txt | col -b -p 9.14. Default editor Function Bindings col: Illegal byte sequence -- Hi, Wu, Yue

Re: How to remove empty maildir?

2009-09-24 Thread Wu, Yue
On Thu, Sep 24, 2009 at 11:57:38AM -0500, Derek Martin wrote: > On Thu, Sep 24, 2009 at 02:59:30PM +0800, Wu, Yue wrote: > > I got some idea about handling the empty maildirs in mutt. Mutt should use > > some > > method to check if the maildir is empty or not, if so, then m

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread Wu, Yue
On Thu, Sep 24, 2009 at 03:20:39PM +0200, Joost Kremers wrote: > On Thu, Sep 24, 2009 at 03:12:53PM +0200, Michael Wagner wrote: > > * Wu, Yue 24.09.2009 > > > y...@bsd ~/gtd/stuff > gzip -tv manual.txt.gz > > > gzip: manual.txt.gz: not in gzip format > > &

Re: Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-24 Thread Wu, Yue
On Wed, Sep 23, 2009 at 06:09:38PM +0200, Michael Wagner wrote: > * Wu, Yue 23.09.2009 > > In mutt offical site, the documentation for devel version: > > > > text version: http://www.mutt.org/doc/devel/manual.txt > > > > is an uncompleted version, which just

Re: How to remove empty maildir?

2009-09-24 Thread Wu, Yue
is empty or not, if so, then mutt can mask the empty ones automatically, so I can be away the no sense the boring empty maildirs and also don't need to worry about if the rmdir's solution is reliable or not. -- Hi, Wu, Yue

Re: How to remove empty maildir?

2009-09-23 Thread Wu, Yue
On Thu, Sep 24, 2009 at 08:26:53AM +0200, Christian Ebert wrote: > * Wu, Yue on Thursday, September 24, 2009 at 09:24:35 +0800 > > > > I don't know sh, and I've tried the following sh script, but it doesn't > > work: > > > > #!/bin/sh > >

Re: How to remove empty maildir?

2009-09-23 Thread Wu, Yue
On Wed, Sep 23, 2009 at 09:03:09AM -0500, Kyle Wheeler wrote: > On Wednesday, September 23 at 09:45 PM, quoth Wu, Yue: > >The logic I need is: > > > >if maildir A has no mails(new/ tmp/ cur/ are empty) > >rm -r A > >endif > > Ahh. How about:

Re: How to remove empty maildir?

2009-09-23 Thread Wu, Yue
On Wed, Sep 23, 2009 at 08:21:35AM -0500, Kyle Wheeler wrote: > On Wednesday, September 23 at 08:16 PM, quoth Wu, Yue: > >Hi, list, question is how to use some commands(i.g. shell commands) to remove > >the empty maildirs, i.e. no any file in maildirs' new/ cur/ and tmp/? >

Offical site's uncomplete manual.txt and broken manual.txt.gz

2009-09-23 Thread Wu, Yue
ipped version actually, I can't gunzip with it. -- Hi, Wu, Yue

How to remove empty maildir?

2009-09-23 Thread Wu, Yue
Hi, list, question is how to use some commands(i.g. shell commands) to remove the empty maildirs, i.e. no any file in maildirs' new/ cur/ and tmp/? -- Hi, Wu, Yue

Re: Blank html when trying to view html attachment by opera

2009-09-23 Thread Wu, Yue
On Tue, Sep 22, 2009 at 10:33:06PM +0800, Wu, Yue wrote: > Hi, list, > > I have a weird issue, my mailcap has this entry: > > text/html; opera '%s'; test=test -n "$DISPLAY" > > But I still can't view the html attachment, opera always shows m

Re: Blank html when trying to view html attachment by opera

2009-09-22 Thread Wu, Yue
On Tue, Sep 22, 2009 at 08:06:04AM -0700, Gary Johnson wrote: > On 2009-09-22, Wu, Yue wrote: > > Hi, list, > > > > I have a weird issue, my mailcap has this entry: > > > > text/html; opera '%s'; test=test -n "$DISPLAY" > > > &g

Re: Blank html when trying to view html attachment by opera

2009-09-22 Thread Wu, Yue
ck it. So I know there is a simple way to do it, but can't remember it exactly. So any clue about the solution without wrapper?(Sorry I really can't remember it at all :() -- Hi, Wu, Yue

Blank html when trying to view html attachment by opera

2009-09-22 Thread Wu, Yue
Hi, list, I have a weird issue, my mailcap has this entry: text/html; opera '%s'; test=test -n "$DISPLAY" But I still can't view the html attachment, opera always shows me a blank html file. What's wrong? -- Hi, Wu, Yue

Re: How to implement save_empty on maildir?

2009-06-21 Thread Wu, Yue
"Partially deleted" >&2 > exit -1 > fi > else > echo "Can't delete" >&2 > exit 2 > fi > - cut here - Thanks for the tip, but I don't like this way, and I haven't bash installed :) -- Hi, Wu, Yue

Re: How to implement save_empty on maildir?

2009-06-21 Thread Wu, Yue
On Sun, Jun 21, 2009 at 11:11:46PM +0200, Rocco Rutte wrote: > Hi, > > * Wu, Yue wrote: > > > Why need I to be boring to do that if mutt can do it automatically? > > It cannot safely remove a maildir because it has no way to stop other > tools from delivering mail

Re: How to implement save_empty on maildir?

2009-06-20 Thread Wu, Yue
On Sat, 20 Jun 2009 21:28:41 +0800, Rocco Rutte wrote: Hi, * Wu, Yue wrote: But it's annoying all the groups show up in the view all the time, I just want to see the groups that have mails, others should be hiden or deleted. Why don't you remove them then? Rocco Why ne

Re: How to implement save_empty on maildir?

2009-06-19 Thread Wu, Yue
On Fri, Jun 19, 2009 at 02:33:20PM +0200, Rocco Rutte wrote: > Hi, > > * Wu, Yue wrote: > > I want to let mutt deletes empty maildirs automatically, but 'save_empty' > > only > > works for mbox, why? How to achieve it for maildir? > > It doesn't

How to implement save_empty on maildir?

2009-06-18 Thread Wu, Yue
I want to let mutt deletes empty maildirs automatically, but 'save_empty' only works for mbox, why? How to achieve it for maildir? -- Hi, Wu, Yue

Re: How to let mutt always mark mbox as new if it contains new

2009-05-12 Thread Wu, Yue
On Tue, May 12, 2009 at 09:40:52AM +0200, Rocco Rutte wrote: > Hi, > > * Wu, Yue wrote: > > > Thank you, 'check_mbox_size' does the trick. > > Hmm, how is the partition with the mboxes mounted? This option only > exists for setups where access/modificat

Re: How to let mutt always mark mbox as new if it contains new

2009-05-11 Thread Wu, Yue
On Mon, May 11, 2009 at 09:49:16AM -0700, Gary Johnson wrote: > On 2009-05-11, "Wu, Yue" wrote: > > > > Say, I have many mailboxes that have many new messages, but now I have no > > so > > much time to see all of them, so I quickly enter mailboxes one by on

Re: How to let mutt always mark mbox as new if it contains new

2009-05-10 Thread Wu, Yue
f interested, leave the remaining messges for viewing them when I have time. Serveral hours later, I have time, I want to see the new messages that I haven't seen last time, but now, all mailboxes haven't any flags, so I have to go through all of them to see if there are new message in them or not. -- Hi, Wu, Yue

Re: How to let mutt always mark mbox as new if it contains new

2009-05-09 Thread Wu, Yue
7;t be bothered to delete and not take > into account whatever garbage I didn't have the time & patience to get > rid of. > > Nothing personal, I assure you. Then an option should be made to fit different user's taste I think, because from your view, 'mark_old' no need to be exist too. -- Hi, Wu, Yue

Re: How to let mutt always mark mbox as new if it contains new

2009-05-08 Thread Wu, Yue
tains new mail but not newer than his > last access to that folder. No, I expect the "N" flag always there, no matter the access time, if has new mail, than "N" should be always there. > > Now I hope I am making myself clear as I feel that I have my tongue > wrapped around my eye-teeth :^) Thank you very much for kindly patient! -- Hi, Wu, Yue

Re: How to let mutt always mark mbox as new if it contains new

2009-05-08 Thread Wu, Yue
On Fri, May 08, 2009 at 07:37:45PM -0400, Patrick Shanahan wrote: > * Wu, Yue [05-08-09 18:26]: > > > > >From the manpage of muttrc, it says mark_old is for: > > > > > Controls whether or not mutt marks new unread messages as old if you > > > exit a

Re: How to let mutt always mark mbox as new if it contains new

2009-05-08 Thread Wu, Yue
On Fri, May 08, 2009 at 12:20:13PM -0400, Patrick Shanahan wrote: > * Wu, Yue [05-08-09 11:20]: > > > > No, just new emails remain the new mark, but the mbox that contains > > them not. > > Ah, then you must correct those that have already been marked "O"

Re: How to let mutt always mark mbox as new if it contains new

2009-05-08 Thread Wu, Yue
On Fri, May 08, 2009 at 10:24:30AM -0400, Patrick Shanahan wrote: > * Wu, Yue [05-08-09 10:19]: > > Currently, I find that if I enter to a mbox, then quit from it, the > > mbox's N mark will be removed, no matter whether there are news mails > > in it or not, not what

How to let mutt always mark mbox as new if it contains new emails?

2009-05-08 Thread Wu, Yue
Currently, I find that if I enter to a mbox, then quit from it, the mbox's N mark will be removed, no matter whether there are news mails in it or not, not what I think preference for me. Can I configure it? I have set the mark_old=no -- Hi, Wu, Yue

Re: Sort the mbox by arbitrary way?

2009-05-08 Thread Wu, Yue
On Fri, May 08, 2009 at 03:31:11PM +0200, Rejo Zenger wrote: > ++ 08/05/09 21:09 +0800 - Wu, Yue: > >On Fri, May 08, 2009 at 02:40:00PM +0200, Rejo Zenger wrote: > >> ++ 08/05/09 20:35 +0800 - Wu, Yue: > >> >When I start mutt -y to read the mbox mails, mutt always

Sort the mbox by arbitrary way?

2009-05-08 Thread Wu, Yue
When I start mutt -y to read the mbox mails, mutt always sort them by alphabetic sequence, can I configure its sorting method to fit my preference? -- Hi, Wu, Yue

Re: Does alias support multi addresses for one nick?

2009-04-25 Thread Wu, Yue
On Fri, 24 Apr 2009 10:57:11 +0800, Wu, Yue wrote: Something like: alias wu \"Wu, Yue\" It's not so convenient for creating more than one nick for one man. 2) if just multiple addresses alias nick_1 longname , address_2, adess_3,...,address_n With this way, whe

Does alias support multi addresses for one nick?

2009-04-23 Thread Wu, Yue
Something like: alias wu \"Wu, Yue\" It's not so convenient for creating more than one nick for one man. -- Hi, Wu, Yue