set cursor on last message and moving cursor over DELETED messages

This is a discussion on set cursor on last message and moving cursor over DELETED messages within the Mutt forums in Other Technologies category; I have two Mutt peeves. I never managed to figure these out, but I think these should be easy. Maybe these should be separate posts, but they seem pretty trivial. On startup, I want Mutt to always put the cursor on the last message in the mailbox (newest). I figured out how to have it highlight the first NEW message, but if I quit mutt and reenter then these become OLD and then Mutt putts the cursor on the first UNREAD message in the mailbox... I suppose I could always mark all as read when I exit, but I'd just ...

Go Back   Application Development Forum > Other Technologies > Mutt

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-23-2007, 07:30 PM
Noah
Guest
 
Default set cursor on last message and moving cursor over DELETED messages

I have two Mutt peeves. I never managed to figure these out, but I
think these should be easy.
Maybe these should be separate posts, but they seem pretty trivial.

On startup, I want Mutt to always put the cursor on the last message
in the mailbox (newest).
I figured out how to have it highlight the first NEW message, but if I
quit mutt and
reenter then these become OLD and then Mutt putts the cursor on the
first UNREAD message
in the mailbox... I suppose I could always mark all as read when I
exit, but I'd just rather
have MUTT always have the newest (last) message at the bottom of the
message list.

The other annoyance is moving the cursor over message marked for
DELETE.
Currently, Mutt will skip past these. Sure, that makes sense, but I
would rather turn off this behavior.
I just want the cursor to move up and down without skipping past
messages marked for DELETE.

Yours,
Noah

Reply With Quote
  #2  
Old 05-24-2007, 03:03 AM
Christian Ebert
Guest
 
Default Re: set cursor on last message and moving cursor over DELETEDmessages

* Noah on Wednesday, May 23, 2007:
> On startup, I want Mutt to always put the cursor on the last
> message in the mailbox (newest). I figured out how to have it
> highlight the first NEW message, but if I quit mutt and reenter
> then these become OLD and then Mutt putts the cursor on the first
> UNREAD message in the mailbox... I suppose I could always mark
> all as read when I exit, but I'd just rather have MUTT always
> have the newest (last) message at the bottom of the message list.


folder-hook . 'exec last-entry'

This skips over NEW messages too, so perhaps you want to play
around with "unset mark_old". I'm not sure what you want exactly.

> The other annoyance is moving the cursor over message marked for
> DELETE. Currently, Mutt will skip past these. Sure, that makes
> sense, but I would rather turn off this behavior. I just want the
> cursor to move up and down without skipping past messages marked
> for DELETE.


Bind <next-entry> instead of <next-undeleted> to the key of your
choice:

bind index,pager <Space> next-entry

You might want to remap <next-undeleted> then. Type ? to get your
current key bindings.

c
--
Python Mutt utilities <http://www.blacktrash.org/hg/muttils/>
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:34 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.