"No new mail" notification
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
Fix Committed
|
Low
|
Uday Reddy |
Bug Description
Jay Borkenhagen reports (viewmail-info, 2012-12-08)
Many years ago, I had suggested to Kyle Jones that if vm-get-new-mail
had retrieved nothing, that the "No new mail for ..." message in the
minibuffer should go away after a few seconds, so one would not be
misled by seeing that message still present when returning to vm
possibly several hours later. Kyle agreed, and built that logic using
a call to function "(sit-for 4)".
This sit-for behavior was not working for me in my new vm-8.2.0b
environment, so I started digging. I found that vm-get-new-mail now
uses a special function vm-sit-for, which keys on variable
display-hourglass.
I changed display-hourglass to nil, and I now I do see the "No new
mail ..." message disappear from the minibuffer after 4 seconds. If
that is what I have to do to get the desired behavior I'm OK with
that, but I think this all may not be working the way Uday had
intended so I decided to mention it here.
Related branches
Changed in vm: | |
status: | Triaged → Fix Committed |
Changed in vm: | |
milestone: | 8.2.2a → 8.2.1a |
Changed in vm: | |
milestone: | 8.2.1a → 8.2.90a |
Yes, I remember the issues now. While sit-for is doing its sitting, the
hourglass will keep showing that Emacs is busy. This was confusing to users
because they tend to wait for the hourglass to go off before doing their
next operation.
So, yes, if you want the 4 second disappearance, you need to turn off the
hourglass.