next-unread-mailbox but taking into account Old messages as well?
Good evening, Is there an equivalent to next-unread-mailbox but that goes to the next Mailbox with Old messages as well? My use case is the following: when listing my Maildirs via IMAP, E-Mail Clients like Evolution, Mail.app (OS X), ... mark by default messages as "Seen" and append the Maildir S flag. My guess is that the application actually reads the messages in order to generate a preview (first few words of the email on the iPhone for instance). The right fix would be to disable this behavior in these applications, so that when I read the Maildir locally, mutt doesn't interpret these messages as Old. That is not always possible unfortunately. As a workaround, I'd like to have a next-unread-or-old-mailbox function that allows me to go through all my (actually) unread emails. If it doesn't exist, would a patch implementing this function be acceptable? Thanks, -- Pierre-Alexandre Meyer
Re: more strange behavior
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Monday, August 24 at 10:53 PM, quoth Robert Holtzman: > There are 20 files some with as many as 30-40k messages. This ~/mail > directory was copied over from my desktop box where mutt works > flawlessly. > > mail_check=10. I'll try increasing it later when I get some more time. In other words, if checking all your mailboxes takes longer than 10 seconds, mutt will be caught in an infinite loop of checking for new mail. It may have worked better on your desktop box because the hard drive there is faster and has more cache. What type of mailboxes do you use? Different formats (mbox vs mh vs maildir) take different amounts of effort to identify new messages in extremely large mailboxes. Mbox is usually the fastest because mutt relies on the timestamps on the mailbox file. ~Kyle - -- And thou shalt smite the house of Ahab thy master, that I may avenge the blood of my servants the prophets, and the blood of all the servants of the LORD, at the hand of Jezebel. For the whole house of Ahab shall perish. -- Bible, II Kings (9:7-8) -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iQIcBAEBCAAGBQJKk/EVAAoJECuveozR/AWe4BAQAIGwQ68GLut25H+5CliRAIsn pXh2RiJia5fYZZeB9Pi8c9I/J7S9+8QEbVrNmbijgtHe8E3WsEY+ZmqWiRf783+Z RZPTRDuzOw0MCiKQW7xQB8hcmfykYh6x/CMccb6eY50XW08Q9LQ/1rC0VEN++zRu sYYAw46zl5tU1xykCC41QN+6IXhRBhUGr60uL1+CpP5m2k+bpL8zTdBhbZvA0+m5 B3WN07sj9d9hq+ro7fiZ/GKEc9pcjJ4YQO+6K1+APh4YdZl2Uwqlvypu2hivPWS+ XFsr8k6ASqDr18lBLHrO6oVu5wNa9SDwjSrPv7TqCZIv3J5nbfPKADV+vqEAfeDW 2O9y4vex9qFbKRNQx4v2h00BGaWlOD/d1ldnTxrQ0BAkgf7HoOwuWAcRN9ocfBV6 pqtYsPmOov1dMcyGLQMuT5RfNEaDsAJU2N5g5iafYtrXHQN0HDZU/n38Jc33b6DW mjxqbv7GrjnSueD6Mm7M7btgbMtthhbp99SMl/we5xxaVCrPsDBf9OxvGrGQ9yQ9 cVKGzB/cJ+DGZq0DDuOy4FBIsbChGHBLBYDq0E0P/+FPewtgAG3bXF1ZtVDrOqhG vWJuuSZTaRzObywUUM+aU5zuSJvuyJsghfhWPnf48clqNf/h0WtWUgxyNGoW9Ryc hZFopq7wYSZLkL/2yP3t =Cayu -END PGP SIGNATURE-
Header filtering when reading mail
How can I change the header filter (toggled by h key) to display only the headers I want to see (From, To, Cc, Subject) and not anything else? By default, toggling the filter seems to filter out some standard headers but that still leaves my screen full of custom headers that I'm not interested in reading. Baldur
Re: Header filtering when reading mail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Tuesday, August 25 at 02:31 PM, quoth Baldur Gislason: > How can I change the header filter (toggled by h key) to display > only the headers I want to see (From, To, Cc, Subject) and not > anything else? By default, toggling the filter seems to filter out > some standard headers but that still leaves my screen full of custom > headers that I'm not interested in reading. You're looking for the ignore/unignore commands. To limit yourself to just the headers you want, first ignore everything and then unignore the ones you want. For example: ignore * unignore From: To: Cc: Subject: ~Kyle - -- I know God will not give me anything I can't handle. I just wish that He didn't trust me so much. -- Mother Theresa -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iQIcBAEBCAAGBQJKk/ZJAAoJECuveozR/AWe2MUP/RGPYrj3ZW8W7LyEBw0Rk4VT 1kimE6A9qMOZ+k4xnrWkRcp+aU2/qKtuPMx4Ie8iZE7J9UJY4KEisx0NOSRuCklt bXluThIxeKEyMP/DdfJWoPn8XlFMT6Xi+/5O2xo/oRo35zpdHFZSJvRcAEU4qjcm zJ4Gg5Andzj3wqycaDD23H9iqvrBqdQDaFuj3ZwHOPL/NysHqzZf8vXn5NgiC/HL IbUwYpS+ZMQ7EjhKyruy4zYlmGG+4bzzAGR0GhAi28RWrZsRdXq5VYxvqk8JHlLf KwyBjPOWvwh3KjmEkHyJewyrnO94i1sbNy6xhjL4Ahn4aWlxnjD/LfK0WaoHRe3A J2PRoHpbpjFycRdmgpMosWWKvUDhNSxJrDxocEaVRzK9Ska09HRcti2AFVeNSDAE Pb2ZrnepVz9ibU19dRgKSYHrR2GBT8/hVVEfsURUVd4hQHgfG8xU8E9gGCqNrElH I7TzE5pDAhVJdw0acoOFMpqfGM9VUWpRk4Zwr9dvCQ5PB/qmzeQA4DMunEjV6sM8 TaI5WELJWrKv9ms12tdfTWnimHJRyypTt8dB2AAcfdPfZGddIb6NSqPK/137M7ZO 7eEcmaceVmIU69z7bZovbO1gACxwn4L8XTwkVsE94ub3bj4S4ulNVCGOanLxbc/P sSq3jfLh801UoLGycYr6 =M7uN -END PGP SIGNATURE-
Re: more strange behavior
On Tue, Aug 25, 2009 at 09:11:33AM -0500, Kyle Wheeler wrote: > On Monday, August 24 at 10:53 PM, quoth Robert Holtzman: > > There are 20 files some with as many as 30-40k messages. This ~/mail > > directory was copied over from my desktop box where mutt works > > flawlessly. > > > > mail_check=10. I'll try increasing it later when I get some more time. > > In other words, if checking all your mailboxes takes longer than 10 > seconds, mutt will be caught in an infinite loop of checking for new > mail. Tried changing mail_check to 200 and it made a large difference. Now Mutt only cycles through the mailboxes once. The only remaining problems are 1) the fact that mutt still insists on reading a seemingly random selection of mailboxes when "^o" is invoked. This behavior is also random in that it doesn't always happen. On my desktop box it seems as though only the mailbox I'm opening is read (hard to tell because it's *fast*). 2) reading mailboxes is much slower on the laptop than on the desktop, maybe due to the differences in hard drives you noted. > > It may have worked better on your desktop box because the hard drive > there is faster and has more cache. Sounds reasonable. > > What type of mailboxes do you use? Different formats (mbox vs mh vs > maildir) take different amounts of effort to identify new messages in > extremely large mailboxes. Mbox is usually the fastest because mutt > relies on the timestamps on the mailbox file. Mbox. -- Bob Holtzman AF9D 8760 0CFA F95A 6C77 E125 BF90 580F 8D54 9279 "If you think you're getting free lunch, check the price of the beer" signature.asc Description: Digital signature