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

2009-05-08 Thread Chris Jones
On Fri, May 08, 2009 at 09:15:47PM EDT, John J. Foster wrote: > I could be totally off the mark here, but I believe the problem is > mutt's interpretation of new mail vs. your (and my) interpretation of > new mail (unread mail). I have always believed, and still do, that > unread mail is the same

Re: utf8 file corruption after transmission over email

2009-05-08 Thread zion
On Fri, May 08, 2009 at 04:34:14PM -0700, zion wrote: > Well, I just captured smtp session of loopback interface (same box where > mutt is running). Here is the relevant part: > 03d0: 746f 3e38 353c 2f74 6f3e 0d0a 0909 093c to>85.< > 03e0: 7265 6164 3e21 d091 e288 9ae2 9591 3c2f read>!п.Б

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

2009-05-08 Thread John J. Foster
On Fri, May 08, 2009 at 11:17:37PM +0800, Wu, Yue wrote: > No, just new emails remain the new mark, but the mbox that contains them not. > On Fri, May 08, 2009 at 10:24:30AM -0400, Patrick Shanahan wrote: I could be totally off the mark here, but I believe the problem is mutt's interpretation of n

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

2009-05-08 Thread Patrick Shanahan
* Wu, Yue [05-08-09 20:26]: > > > > It more likely is that he expects a folder with new mail to have the > > "N" flag for the folder which contains 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

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 04:53:50PM -0700, Gary Johnson wrote: > > I don't think this is Wu Yue's problem, Patrick. I could be wrong, > but as I understand him, he is opening a mailbox, leaving some of > the messages unread, then changing to another mailbox, then checking > to see which mailboxes

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 mailbox without reading them. > > > > So it's

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

2009-05-08 Thread Patrick Shanahan
* Gary Johnson [05-08-09 19:57]: > > I don't think this is Wu Yue's problem, Patrick. I could be wrong, > but as I understand him, he is opening a mailbox, leaving some of > the messages unread, then changing to another mailbox, then checking > to see which mailboxes contain new mail (perhaps wi

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

2009-05-08 Thread Gary Johnson
On 2009-05-08, Patrick Shanahan wrote: > * Wu, Yue [05-08-09 18:26]: > > > > Do you me I should fix it manually? > > :^), yes > > > >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 mailbox withou

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

2009-05-08 Thread Patrick Shanahan
* Wu, Yue [05-08-09 18:26]: > > Do you me I should fix it manually? :^), yes > >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 mailbox without reading them. > > So it's for message, not for mbox. My i

Re: utf8 file corruption after transmission over email

2009-05-08 Thread zion
Well, I just captured smtp session of loopback interface (same box where mutt is running). Here is the relevant part: 03d0: 746f 3e38 353c 2f74 6f3e 0d0a 0909 093c to>85.< 03e0: 7265 6164 3e21 d091 e288 9ae2 9591 3c2f read>!п.Б..Б...

Re: utf8 file corruption after transmission over email

2009-05-08 Thread zion
On Fri, May 08, 2009 at 06:04:42PM -0500, Kyle Wheeler wrote: > On Friday, May 8 at 03:00 PM, quoth Aaron S.: > > I have a mystery that I'm trying to solve to no avail. > > Hopefully we can help! > > > I got a little sample XML (utf-8) encoded file that I'm trying to > > send as attachment. Whe

Re: utf8 file corruption after transmission over email

2009-05-08 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Friday, May 8 at 03:00 PM, quoth Aaron S.: > I have a mystery that I'm trying to solve to no avail. Hopefully we can help! > I got a little sample XML (utf-8) encoded file that I'm trying to > send as attachment. When I attach it, mutt correct

Re: wrong charset

2009-05-08 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Friday, May 8 at 06:08 PM, quoth Luis A. Florit: >>> But I have three charsets: >>> >>> $charset=//TRANSLIT >>> ?charset=utf-8 >> >> What? That doesn't make any sense. Are those two lines actually in >> your muttrc? > > The only thing in my .mu

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". > > t~O;N > > > all on the same lin

utf8 file corruption after transmission over email

2009-05-08 Thread Aaron S.
Hello, I have a mystery that I'm trying to solve to no avail. mutt-1.5.19 is running on OpenBSD 4.5, "--with-idn". I got a little sample XML (utf-8) encoded file that I'm trying to send as attachment. When I attach it, mutt correctly identifies it: [text/plain, 8bit, utf-8, 0.3K], since there are n

Re: wrong charset

2009-05-08 Thread Luis A. Florit
* El 07/05/09 a las 23:24, Kyle Wheeler chamullaba: > On Thursday, May 7 at 09:40 PM, quoth Luis A. Florit: > > > On Monday, May 4 at 05:05 PM, quoth Luis A. Florit: > > > > I use a ISO-8859-1 encoded xterm in maemo, but :set ?charset > > > > gives me charset="utf-8". > > > > > > Are you setting

Re: Sorting incoming mail by domain

2009-05-08 Thread Gary Johnson
On 2009-05-07, jac...@gmail.com wrote: > On Thu, May 7, 2009 at 10:31, Haines Brown > > To save a message in mutt, if I hit the "s" key I'm prompted > > for a mailbox. However I'm used to saving messages as a plain text > > I was super confused on this same issue for a while. Every so often i > ne

Re: Multiple color rules for index?

2009-05-08 Thread Rocco Rutte
Hi, * Eric Patton wrote: > Does '~l ! ~N' mean 'color list mail yellow if it is not new', or...? Yepp. Please start reading at: http://dev.mutt.org/doc/manual.html#complex-patterns It's about searching, but mutt uses the same pattern syntax for coloring. Rocco

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

2009-05-08 Thread Patrick Shanahan
* Patrick Shanahan [05-08-09 12:21]: > * 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". > > t~O;N > My bad, sb: T~0;N > > all on the same line > >

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

2009-05-08 Thread Patrick Shanahan
* 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". t~O;N all on the same line explanation: t tag/tag-pattern ~O pattern, messages marked Old ; app

Re: Multiple color rules for index?

2009-05-08 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, May 8 at 12:23 PM, quoth Eric Patton: > Kyle Wheeler wrote: >> Thus, list messages will only be yellow if they aren't new, because if >> they're new, they match both rules, and the last one wins. >> >> Of course, you can always make compl

Re: Multiple color rules for index?

2009-05-08 Thread Eric Patton
Kyle Wheeler wrote: > Thus, list messages will only be yellow if they aren't new, because if > they're new, they match both rules, and the last one wins. > > Of course, you can always make complex patterns. For example: > > color index yellow default '~l ! ~N' > > Does that help? Yes, thi

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 I think preference for me. Ca

Re: Multiple color rules for index?

2009-05-08 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, May 8 at 10:56 AM, quoth Eric Patton: > Is there a way to design multiple color rules for incoming mail in > the index? I want to have all new mail green, for instance, and if > the mail belongs to a known mailing list, color it as yellow

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

2009-05-08 Thread Patrick Shanahan
* 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 I think preference for me. Can I configure it? > I have set the mark_old=no Then you have configured

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 them by > >> >alphabetic sequ

Multiple color rules for index?

2009-05-08 Thread Eric Patton
Is there a way to design multiple color rules for incoming mail in the index? I want to have all new mail green, for instance, and if the mail belongs to a known mailing list, color it as yellow after it has been read. Currently, I can color mail yellow with ~l, and new mail green with ~N, but I

Re: Sort the mbox by arbitrary way?

2009-05-08 Thread Rejo Zenger
++ 08/05/09 20:35 +0800 - 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? I guess is what you are looking for? -- Rejo Zenger . .

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: Set separate colors within mini-index

2009-05-08 Thread Eric Patton
Michael Tatge wrote: > If by mini-index you mean pager_index_lines. Then no, the mini-index is > what you see in the index. No way to get different colors for that. > > HTH, > > Michael Yes, that was what I meant. Thanks for clearing that up. I guess I could use fewer lines in pager_index_lines t

Re: Sorting incoming mail by domain

2009-05-08 Thread Christian Ebert
* Haines Brown on Friday, May 08, 2009 at 07:28:39 -0400 > Sorry to have dragged things off topic, but in short, my immediate > question was resolved, which is that I can name a message whatever I > want and subsequently move it from ~/Mail to where I want it. I work > on material in terms of their

Re: Sorting incoming mail by domain

2009-05-08 Thread Haines Brown
> That's probably more information than you needed, but maybe that helps > you understand why mutt is doing what it's doing. No, Kyle, the information was useful. Thank you. > Hmm. Okay, I have a better idea of *what* you're doing, but still not > *why* you're doing it. Is this large and comple