Re: new mail indicator in browser view

2016-07-15 Thread Jeremy Volkening

On Fri, Jul 15, 2016 at 11:37:18PM +0200, famfop wrote:

Hi,
I solved it the following way. I wanted to have a "startup-mailbox"
folder with unread messages. Using mairix I set up the "maildir" and
"mfolder" var in the rc and now I run mairix F:-s. It's a bit hacky but
it shows all unread messages. Maybe you'll find a solution by digging
into mairix
In any way I'd say the way to go is indexing your mailfolders.


Thanks for the suggestion - I'll look into this. I basically have three 
folders for each account into which mail is sorted automatically - 
Inbox, Spam, and Unsure - and I'd like to be able to quickly monitor the 
number of new messages in each when working in the MUA so I know whether 
to bother looking at Unsure or not. I'll see if something like mairix 
can provide this. It seems like the built-in mutt functionality  
be able to do this but maybe my expectations need recalibration.


Jeremy



Re: new mail indicator in browser view

2016-07-15 Thread famfop
Hi,
I solved it the following way. I wanted to have a "startup-mailbox"
folder with unread messages. Using mairix I set up the "maildir" and
"mfolder" var in the rc and now I run mairix F:-s. It's a bit hacky but
it shows all unread messages. Maybe you'll find a solution by digging
into mairix
In any way I'd say the way to go is indexing your mailfolders.

greetings,
famfop


On 15/07/16 22:00, Jeremy Volkening wrote:
> Hello,
>
> I've been giving mutt a spin for the past few days. I like it quite a
> bit except for one issue I have been unable to solve: how to get the
> mailbox browser to properly display new message status.
>
> Platform: Debian jessie running NeoMutt (latest from git but have
> tried mutt from official repo with same result)
>
> Use case: I have two IMAP accounts I'm accessing. I have tried using
> mutt's built-in IMAP functionality as well as using mbsync to sync to
> local maildir and mutt to access that. Both ways work fine except for
> the issue described below.
>
> Expected behavior: When I switch to mailbox browser view ()
> or start in browser view ("mutt -y") I expect to see a new message
> indicator (for mbsync/maildir setup) or new message count (for IMAP
> setup) for each folder defined using "mailboxes". The status should be
> updated whenever mutt checks for new mail.
>
> Observed behavior: Most of the time the indicators are empty or zero
> regardless of new mail status. Using IMAP directly, the new message
> count will be correct for a given mailbox after viewing it and
> returning to the browser view, but will be "forgotten" after two or
> more other mailboxes are visited. Using the mbsync/maildir setup, the
> only time the "N" status indicator is set is when there is new mail
> present when starting as "mutt -y" - it never appears in response to
> new mail received after mutt is started, regardless of what I try. I
> should note that new mail behavior from within index view works fine -
> the message appears (along with a note in the status bar) shortly
> after the mail actually arrives on the server with no action necessary
> on my part.
>
> What I've tried: Turning on and off various combinations of settings
> that my manual/mailing list/interwebs searches have suggested might be
> relevant: "timeout", "mail_check", "imap_passive", "imap_idle".
> Is my expected behavior incorrect? My apologies if this has been
> answered already, but I've spent a lot of time searching for previous
> solutions and testing more setups than I can remember and nothing has
> solved my own situation.  Does this "just work" for others?  If so,
> can anyone share a .muttrc MWE?  I'd love to start using mutt more
> extensively but this has been a significant stumbling block.
>
> Thanks for any help.
>
> Jeremy
>



Re: New mail indicator

2012-05-11 Thread Ed Blackman

On Thu, May 10, 2012 at 04:39:33PM -0400, Ed Blackman wrote:

On Thu, May 10, 2012 at 06:58:28PM +0700, Diep Pham Van wrote:

Sometimes when reading a new mail, I must going to an other folder and
after some searching, I have no idea where is my previous
folder.

Or is there some tool that I don't know but every one use to make your
life with mutt easier?


I read mutt inside of screen, and use a macro to change folders such 
that the new folders is opened in a separate screen window, keeping 
the original folder where I left it.


macro index F 'set my_folder=`mutt-prompt 
"Change to folder" \\`; push "!screen -X screen mutt -f 
$my_folder\"'


That's all one line.  It uses mutt-prompt, which I got from this 
mailing list a while ago.  I'd be happy to post or send it if anyone's 
interested.


Diep Pham Van replied in an email direct to me: "Post it please. And how 
can I use this with tmux? :D"


I've attached it.  It's mostly as I received it, though I added a line 
to change directory to $HOME/mail, which is where $folder points to.  
That lets me use tab completion to enter the names of mailboxes under 
$folder.  This will only work for local mailboxes, though.


I don't know tmux, but "screen -X screen " tells a running 
screen to open a new window running .  If I typed "screen -X 
screen mutt" at a command prompt in a screen window, screen will create 
a new screen window running mutt and switch to it.  The macro uses that 
to switch to a new window running mutt in the given folder.


I presume that tmux has something similar, and someone more familiar 
with tmux may help you adjust the macro.


--
Ed Blackman
#!/bin/bash
##
## usage: mutt-prompt "prompt text"
## 
## In muttrc:
##   set my_var=`mutt-prompt "Folder"`
##

cd ~/mail

# save current tty state
s=`stty -g`

# redirect default i/o, saving current stdout in fd 5
exec 5>&1
exec >/dev/tty &5

# reset tty state
stty "$s"


signature.txt
Description: Digital signature


Re: New mail indicator

2012-05-10 Thread Ed Blackman

On Thu, May 10, 2012 at 06:58:28PM +0700, Diep Pham Van wrote:

Sometimes when reading a new mail, I must going to an other folder and
after some searching, I have no idea where is my previous
folder.

Or is there some tool that I don't know but every one use to make your
life with mutt easier?


I read mutt inside of screen, and use a macro to change folders such 
that the new folders is opened in a separate screen window, keeping the 
original folder where I left it.


macro index F 'set my_folder=`mutt-prompt 
"Change to folder" \\`; push "!screen -X screen mutt -f 
$my_folder\"'


That's all one line.  It uses mutt-prompt, which I got from this mailing 
list a while ago.  I'd be happy to post or send it if anyone's 
interested.


--
Ed Blackman


signature.txt
Description: Digital signature


Re: New mail indicator

2012-05-10 Thread Indulekha
On Thu, May 10, 2012 at 06:58:28PM +0700, Diep Pham Van wrote:
> I wonder if my work flow is different with all you guys or I'm the
> only one who face this problem?
> 
> Sometimes when reading a new mail, I must going to an other folder and
> after some searching, I have no idea where is my previous
> folder.
> 
> Or is there some tool that I don't know but every one use to make your
> life with mutt easier? 
> 
> On Wed, Apr 18, 2012 at 10:51:02PM +0700, Diep Pham Van wrote:
> > I have a very simple question but cannot find the answer anywhere.
> > 
> > I have mutt setup with offlineimap using maildir format. When I press
> > `y` to change to one of my mailbox, and there is some unread mail in
> > the current folder, if I change to another folder, the new mail
> > indicator ('N' character) disappear. How can I keep that 'N'?  I
> > always have a hard time searching for unread mails.
> > 

There's a sidebar patch which is popular, it shows your mailboxes in 
a sidebar along with the number of mails and unread mails in each box.
I used to be kind of addicted to it myself, but if you switch imap 
accounts in mutt the sidebar doesn't keep up, just keeps adding the 
mailboxes to the list without getting rid of the old ones from the 
previous account. Probably the only real drawback, but it was confusing 
enough I just went back to straight mutt. As someone else mentioned, 
hitting "y" gives you the list, and "c" will automatically suggest 
boxes with new, unread mail. Good enough for me, YMMV.

-- 
❤ ♫ ❤ ♫ ❤ ♫ ❤   
 Indulekha 



Re: New mail indicator

2012-05-10 Thread Diep Pham Van
I have about 30 folders, so that can take minute to find out. :)
On Thu, May 10, 2012 at 10:35:55PM +1000, Erik Christiansen wrote:
> On 10.05.12 08:08, Patrick Shanahan wrote:
> > * Diep Pham Van  [05-10-12 08:01]:
> > > Sometimes when reading a new mail, I must going to an other folder
> > > and after some searching, I have no idea where is my previous
> > > folder.
> 
> >  from present instance of mutt and start another
> > or
> > open a new terminal and start a second instance of mutt
> > or
> > use a quick-pad note to remember present directory
> > or
> > use a pencil and paper
> > or
> > ...
> 
> Or hit 'c' (to change folder), then  to cycle through
> previously visited folders, until a likely candidate crops up, then
> whack .
> 
> Erik
> 
> -- 
> It is a government sponsored Ponzi scheme where weak banks are supporting weak
> sovereigns who in turn are standing behind the banks - a process which can be 
> described as two drowning people clinging to each other for mutual support.   
>
> - Satyajit Das on EU's LTRO http://www.abc.net.au/unleashed/3962262.html


Re: New mail indicator

2012-05-10 Thread Erik Christiansen
On 10.05.12 08:08, Patrick Shanahan wrote:
> * Diep Pham Van  [05-10-12 08:01]:
> > Sometimes when reading a new mail, I must going to an other folder
> > and after some searching, I have no idea where is my previous
> > folder.

>  from present instance of mutt and start another
> or
> open a new terminal and start a second instance of mutt
> or
> use a quick-pad note to remember present directory
> or
> use a pencil and paper
> or
> ...

Or hit 'c' (to change folder), then  to cycle through
previously visited folders, until a likely candidate crops up, then
whack .

Erik

-- 
It is a government sponsored Ponzi scheme where weak banks are supporting weak
sovereigns who in turn are standing behind the banks - a process which can be 
described as two drowning people clinging to each other for mutual support. 
 
- Satyajit Das on EU's LTRO http://www.abc.net.au/unleashed/3962262.html


Re: New mail indicator

2012-05-10 Thread Patrick Shanahan
* Diep Pham Van  [05-10-12 08:01]:
> I wonder if my work flow is different with all you guys or I'm the
> only one who face this problem?
> 
> Sometimes when reading a new mail, I must going to an other folder and
> after some searching, I have no idea where is my previous
> folder.
> 
> Or is there some tool that I don't know but every one use to make your
> life with mutt easier? 

 from present instance of mutt and start another
or
open a new terminal and start a second instance of mutt
or
use a quick-pad note to remember present directory
or
use a pencil and paper
or
...


I prefer a new terminal/second instance of mutt or "ctrl-z".

I maintain one continuous instance of mutt on a specific machine via a
tmux session (similar to screen).

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


Re: New mail indicator

2012-05-10 Thread Diep Pham Van
I wonder if my work flow is different with all you guys or I'm the
only one who face this problem?

Sometimes when reading a new mail, I must going to an other folder and
after some searching, I have no idea where is my previous
folder.

Or is there some tool that I don't know but every one use to make your
life with mutt easier? 

On Wed, Apr 18, 2012 at 10:51:02PM +0700, Diep Pham Van wrote:
> I have a very simple question but cannot find the answer anywhere.
> 
> I have mutt setup with offlineimap using maildir format. When I press
> `y` to change to one of my mailbox, and there is some unread mail in
> the current folder, if I change to another folder, the new mail
> indicator ('N' character) disappear. How can I keep that 'N'?  I
> always have a hard time searching for unread mails.
> 
> -- 
> PHẠM Văn Điệp
> 
> h  : http://favadi.com
> e  : i...@favadi.com
> m  : +84 984 339 841
>_
> ASCII ribbon campaign ( )
>  - against HTML email  X
>  & vCards / \


Re: New mail indicator

2012-04-27 Thread Diep Pham Van
As Patrick Shanahan said: 

   If the directory containsmail with a date newer than the directory
   access date, it will show as having *new* mail.

So I think mbox is not changing anything here.

On Fri, Apr 27, 2012 at 08:20:56PM +1000, Erik Christiansen wrote:
> On 27.04.12 10:54, Diep Pham Van wrote:
> > So, is there an easy way to change that behaviour? 
> 
> If there is no other way, then you could consider changing to mbox
> format. It retains the 'N' new mail flag indefinitely if
> "set mark_old=no", and the post remains unread.
> 
> It seems astounding to me too, that the above setting is not similarly
> effectual in maildir format. (A powerful reason for not using maildir,
> if there's no fix.)
> 
> But the behaviour seems to be a documented inconsistency with mbox, so
> it's not a bug, I'll admit.
> 
> Erik
> 
> -- 
> The trouble with our times is that the future is not what it used  to
> be. - Paul Valery
> 

-- 
PHẠM Văn Điệp

h  : http://favadi.com
e  : i...@favadi.com
m  : +84 984 339 841
   _
ASCII ribbon campaign ( )
 - against HTML email  X
 & vCards / \


Re: New mail indicator

2012-04-27 Thread Erik Christiansen
On 27.04.12 10:54, Diep Pham Van wrote:
> So, is there an easy way to change that behaviour? 

If there is no other way, then you could consider changing to mbox
format. It retains the 'N' new mail flag indefinitely if
"set mark_old=no", and the post remains unread.

It seems astounding to me too, that the above setting is not similarly
effectual in maildir format. (A powerful reason for not using maildir,
if there's no fix.)

But the behaviour seems to be a documented inconsistency with mbox, so
it's not a bug, I'll admit.

Erik

-- 
The trouble with our times is that the future is not what it used  to
be. - Paul Valery



Re: New mail indicator

2012-04-26 Thread Diep Pham Van
So, is there an easy way to change that behaviour? 

On Thu, Apr 26, 2012 at 11:33:02PM -0400, Patrick Shanahan wrote:
> * Diep Pham Van  [04-26-12 22:30]:
> > I don't think that `mark_old` solve my problem. I have `set
> > mark_old=no` in my .muttrc. When turn it on, If I leave the folder
> > with unread mails, the new mail indicator is still disappear. And the
> > unread emails now mark with a `O`, make me even more difficult to find
> > out where they are.
> 
> If you set mark_old to "no" then unread mails will remain marked "N", but
> the directory containing the *new* (or unread) will only show it contains
> new mail until you have accessed that directory.
> 
> The fine mutt manual really does explain this.  If the directory contains
> mail with a date newer than the directory access date, it will show as
> having *new* mail.  If the *unread* (or new) mail has a date *older* than
> the directory access date, mutt will not show that the directory contains
> new mail.
> 
> -- 
> (paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
> http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
> http://en.opensuse.org   openSUSE Community Member
> Registered Linux User #207535@ http://linuxcounter.net

-- 
PHẠM Văn Điệp

h  : http://favadi.com
e  : i...@favadi.com
m  : +84 984 339 841
   _
ASCII ribbon campaign ( )
 - against HTML email  X
 & vCards / \


Re: New mail indicator

2012-04-26 Thread Patrick Shanahan
* Diep Pham Van  [04-26-12 22:30]:
> I don't think that `mark_old` solve my problem. I have `set
> mark_old=no` in my .muttrc. When turn it on, If I leave the folder
> with unread mails, the new mail indicator is still disappear. And the
> unread emails now mark with a `O`, make me even more difficult to find
> out where they are.

If you set mark_old to "no" then unread mails will remain marked "N", but
the directory containing the *new* (or unread) will only show it contains
new mail until you have accessed that directory.

The fine mutt manual really does explain this.  If the directory contains
mail with a date newer than the directory access date, it will show as
having *new* mail.  If the *unread* (or new) mail has a date *older* than
the directory access date, mutt will not show that the directory contains
new mail.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


Re: New mail indicator

2012-04-26 Thread Diep Pham Van
I don't think that `mark_old` solve my problem. I have `set
mark_old=no` in my .muttrc. When turn it on, If I leave the folder
with unread mails, the new mail indicator is still disappear. And the
unread emails now mark with a `O`, make me even more difficult to find
out where they are.

On Thu, Apr 26, 2012 at 08:16:49PM +0200, Stephan Saathoff wrote:
> Hi Diep Pham Van,
> 
> maybe you're looking for the setting "mark_old", which marks new messages
> as old if you leave the mailbox.
> 
> Greetings,
> Stephan
> 
> On Fri, Apr 20, 2012 at 05:03:51AM +, Diep Pham Van wrote:
> > So, I'm the only one who has this problem?
> > 
> > On Wed, Apr 18, 2012 at 10:51:02PM +0700, Diep Pham Van wrote:
> > > I have a very simple question but cannot find the answer anywhere.
> > > 
> > > I have mutt setup with offlineimap using maildir format. When I press
> > > `y` to change to one of my mailbox, and there is some unread mail in
> > > the current folder, if I change to another folder, the new mail
> > > indicator ('N' character) disappear. How can I keep that 'N'?  I
> > > always have a hard time searching for unread mails.
> > > 
> > > -- 
> > > PHẠM Văn Điệp
> > > 
> > > h  : http://favadi.com
> > > e  : i...@favadi.com
> > > m  : +84 984 339 841
> > >_
> > > ASCII ribbon campaign ( )
> > >  - against HTML email  X
> > >  & vCards / \
> > 
> > -- 
> > PHẠM Văn Điệp
> > 
> > h  : http://favadi.com
> > e  : i...@favadi.com
> > m  : +84 984 339 841
> >_
> > ASCII ribbon campaign ( )
> >  - against HTML email  X
> >  & vCards / \


Re: New mail indicator

2012-04-26 Thread Stephan Saathoff
Hi Diep Pham Van,

maybe you're looking for the setting "mark_old", which marks new messages
as old if you leave the mailbox.

Greetings,
Stephan

On Fri, Apr 20, 2012 at 05:03:51AM +, Diep Pham Van wrote:
> So, I'm the only one who has this problem?
> 
> On Wed, Apr 18, 2012 at 10:51:02PM +0700, Diep Pham Van wrote:
> > I have a very simple question but cannot find the answer anywhere.
> > 
> > I have mutt setup with offlineimap using maildir format. When I press
> > `y` to change to one of my mailbox, and there is some unread mail in
> > the current folder, if I change to another folder, the new mail
> > indicator ('N' character) disappear. How can I keep that 'N'?  I
> > always have a hard time searching for unread mails.
> > 
> > -- 
> > PHẠM Văn Điệp
> > 
> > h  : http://favadi.com
> > e  : i...@favadi.com
> > m  : +84 984 339 841
> >_
> > ASCII ribbon campaign ( )
> >  - against HTML email  X
> >  & vCards / \
> 
> -- 
> PHẠM Văn Điệp
> 
> h  : http://favadi.com
> e  : i...@favadi.com
> m  : +84 984 339 841
>_
> ASCII ribbon campaign ( )
>  - against HTML email  X
>  & vCards / \


Re: New mail indicator

2012-04-20 Thread Erik Christiansen
On 20.04.12 12:03, Diep Pham Van wrote:
> So, I'm the only one who has this problem?
> 
> On Wed, Apr 18, 2012 at 10:51:02PM +0700, Diep Pham Van wrote:
> > I have a very simple question but cannot find the answer anywhere.
> > 
> > I have mutt setup with offlineimap using maildir format. When I press
> > `y` to change to one of my mailbox, and there is some unread mail in
> > the current folder, if I change to another folder, the new mail
> > indicator ('N' character) disappear. How can I keep that 'N'?  I
> > always have a hard time searching for unread mails.

Does the 'N' change to 'O' ?

Erik

-- 
Arrgh. I just found a Google search result of somebody who was
experiencing exactly the same problem as me, only to find it was me :-(.
   - Read on luv-talk ML.



Re: New mail indicator

2012-04-19 Thread Diep Pham Van
So, I'm the only one who has this problem?

On Wed, Apr 18, 2012 at 10:51:02PM +0700, Diep Pham Van wrote:
> I have a very simple question but cannot find the answer anywhere.
> 
> I have mutt setup with offlineimap using maildir format. When I press
> `y` to change to one of my mailbox, and there is some unread mail in
> the current folder, if I change to another folder, the new mail
> indicator ('N' character) disappear. How can I keep that 'N'?  I
> always have a hard time searching for unread mails.
> 
> -- 
> PHẠM Văn Điệp
> 
> h  : http://favadi.com
> e  : i...@favadi.com
> m  : +84 984 339 841
>_
> ASCII ribbon campaign ( )
>  - against HTML email  X
>  & vCards / \

-- 
PHẠM Văn Điệp

h  : http://favadi.com
e  : i...@favadi.com
m  : +84 984 339 841
   _
ASCII ribbon campaign ( )
 - against HTML email  X
 & vCards / \


Re: New mail indicator

2012-04-18 Thread William Yardley
On Wed, Apr 18, 2012 at 10:51:02PM +0700, Diep Pham Van wrote:
> 
> I have mutt setup with offlineimap using maildir format. When I press
> `y` to change to one of my mailbox, and there is some unread mail in
> the current folder, if I change to another folder, the new mail
> indicator ('N' character) disappear. How can I keep that 'N'?  I
> always have a hard time searching for unread mails.

Do they show up with an 'O' after you re-enter the folder?

Have you tried
unset mark_old ?

w



Re: New Mail Indicator - How about a "Old Mail Indicator" too?

2010-07-23 Thread Derek Martin
On Wed, Jul 21, 2010 at 03:25:37PM -0400, Patrick Shanahan wrote:
> * Roger  [07-21-10 15:13]:
> > Here's a suggestion.
> > 
> > When viewing my mail folders (in browser), they usually run off screen as
> > I accumulate lots of email.  New email is marked at the folder level
> > (browser) with "N" next to the folder name with new email.  
[...]
> > Looks to me, mark old only happens in (email) index view.
> 
> You *have* really read the docs?

You *have* really read his e-mail?

-- 
Derek D. Martinhttp://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



pgpbo7NtSpep2.pgp
Description: PGP signature


Re: New Mail Indicator - How about a "Old Mail Indicator" too?

2010-07-21 Thread Roger
On Wed, Jul 21, 2010 at 03:25:37PM -0400, Patrick Shanahan wrote:
>* Roger  [07-21-10 15:13]:
>> Here's a suggestion.
>> 
>> When viewing my mail folders (in browser), they usually run off screen as
>> I accumulate lots of email.  New email is marked at the folder level
>> (browser) with "N" next to the folder name with new email.  If I enter a
>> folder, and think I've read all the email and leave the folder, the "N"
>> is removed from the folder, and any new email off-screen - because the
>> folder is viewed as a thread is now marked old ("O") and I can see I
>> could likely skip these unless I scroll down the screen to check for any
>> follow-up email sent to an old thread.
>> 
>> How about an option to mark folders with an "O" on folder (browser) view
>> containing old email (email not marked as read -- aka
>> forgotten/overlooked emails)?
>> 
>> Or is this already there?
>> 
>> Looks to me, mark old only happens in (email) index view.
>
>You *have* really read the docs?
>
>3.123. mark_old
>
>   Type: boolean
>   Default: yes
>  
>   Controls whether or not mutt marks new unread messages as old if you
>   exit a mailbox without reading them.  With this option set, the next 
>   time you start mutt, the messages will show up with an "O" next to
>   them in the index menu, indicating that they are old.  
>   
>
>~/.muttrc
>unset mark_old # i don't care about whether a message is old

Trigger happy?  Reread the description, "... with an "O" next to them in the
index menu...".  Key being, browse folder view != index.

See my other response to this thread for more info.  But for the time being,
I'm not up to coding it.  It was merrily a suggestion for browse folder view,
as in browse folder view *only* shows "N" and no other indicators.

Besides, it's only once a year or less I might get a follow-up to a thread that
has scrolled off the screen.

set mark_old = no

But I think I did so, so messages stay new -- but again, this is only index
view and not browse folder view.


-- 
Roger
http://rogerx.freeshell.org/


Re: New Mail Indicator - How about a "Old Mail Indicator" too?

2010-07-21 Thread Roger
On Wed, Jul 21, 2010 at 09:30:08PM -0300, Monte Stevens wrote:
>On Wed, Jul 21, 2010 at 11:09:55AM -0800, Roger wrote:
>> How about an option to mark folders with an "O" on folder (browser) view 
>> containing old
>> email (email not marked as read -- aka forgotten/overlooked emails)?
>> 
>> Or is this already there?
>
>I guess what would be needed is a %O printf-like sequence for
>folder_format.  There doesn't appear to be one according to my muttrc
>manual.
>
>> Looks to me, mark old only happens in (email) index view.
>
>That's my understanding as well.
>
>I'll take this opportunity to disclose that this proposed feature is not
>something I'm interested in using.  I thought the 'old' flag in the
>index view was neat at first but I prefer that the message retains the
>'new' flag if I haven't looked at it.

I tend to agree with you here within index view.  But in browse folder view it
would be good to know if you've missed an unread email further back in your
history.

Key here is, index view != browse folder view.

But, on the note of "O" or "N" within index view, I usually just zap them all
as read after quickly noting the subject has nothing to do with what I'm
currently working on.

-- 
Roger
http://rogerx.freeshell.org/


Re: New Mail Indicator - How about a "Old Mail Indicator" too?

2010-07-21 Thread Monte Stevens
On Wed, Jul 21, 2010 at 11:09:55AM -0800, Roger wrote:
> How about an option to mark folders with an "O" on folder (browser) view 
> containing old
> email (email not marked as read -- aka forgotten/overlooked emails)?
> 
> Or is this already there?

I guess what would be needed is a %O printf-like sequence for
folder_format.  There doesn't appear to be one according to my muttrc
manual.

> Looks to me, mark old only happens in (email) index view.

That's my understanding as well.

I'll take this opportunity to disclose that this proposed feature is not
something I'm interested in using.  I thought the 'old' flag in the
index view was neat at first but I prefer that the message retains the
'new' flag if I haven't looked at it.

Now that that's out of the way... best of luck to you.  I don't know how
difficult it would be to implement this feature but if I did want it I'd
probably try to find the %N flag for folder_format in the source and go
from there.

I've already snipped the top of your original comment (sorry) but if the
reason behind your request is that you have prematurely left the folder
because you were not aware of the presence of additional new messages,
you could try using the 'next-new-then-unread' command, which for me, is
bound to  .  If a new message isn't found with this command you can
leave the folder, confident that you have left no stone unturned
(assuming you don't wait too long to leave the folder).

-- 
Monte


Re: New Mail Indicator - How about a "Old Mail Indicator" too?

2010-07-21 Thread Patrick Shanahan
* Roger  [07-21-10 15:13]:
> Here's a suggestion.
> 
> When viewing my mail folders (in browser), they usually run off screen as
> I accumulate lots of email.  New email is marked at the folder level
> (browser) with "N" next to the folder name with new email.  If I enter a
> folder, and think I've read all the email and leave the folder, the "N"
> is removed from the folder, and any new email off-screen - because the
> folder is viewed as a thread is now marked old ("O") and I can see I
> could likely skip these unless I scroll down the screen to check for any
> follow-up email sent to an old thread.
> 
> How about an option to mark folders with an "O" on folder (browser) view
> containing old email (email not marked as read -- aka
> forgotten/overlooked emails)?
> 
> Or is this already there?
> 
> Looks to me, mark old only happens in (email) index view.

You *have* really read the docs?

3.123. mark_old

   Type: boolean
   Default: yes
  
   Controls whether or not mutt marks new unread messages as old if you
   exit a mailbox without reading them.  With this option set, the next 
   time you start mutt, the messages will show up with an "O" next to
   them in the index menu, indicating that they are old.  


~/.muttrc
unset mark_old # i don't care about whether a message is old







-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org