On Sat, Jan 06, 2001 at 09:41:35AM -0500, Joe Philipps wrote:
> On Sat, Jan 06, 2001 at 12:06:19AM -0800, Gary Johnson wrote:
>>On Sat, Jan 06, 2001 at 02:23:13AM -0500, Joe Philipps wrote:
>>> On Fri, Jan 05, 2001 at 06:51:52PM -0600, Jeff Howie wrote:
>>>>Hi all. I'd like to be able to set the 'd' in the pager to exit me
>>>>back to the index after deleting the message, instead of reading the
>>>>next message.
>>
>>>>Any ideas?
>>> 
>>> Sure.  One annoying side effect, though: for what I do, if you're on
>>> the last message, you get an error beep.  I also like it when I delete
>>> a message, I go on to the next one...hence you'll "see" the beep.
>>> 
>>> macro pager d <delete-message><exit><next-entry> "Delete present message and 
>return to the index"
>>
>>How about simply
>>
>>    macro pager d <exit><delete-message>
> 
> Well, that works great for the delete message part, but it doesn't
> move the cursor to the next message.  Maybe that's some other Mutt
> setting though.

Actually, that's exactly what I wanted. I think the other setting is
resolve. When set to yes, you'll get bumped off the deleted message to
the next one, but no error if there isn't one. With resolve set to
yes (which seems to be the default?), Joe's solution will mark the
next message as read, exit to the index then bump the cursor to the
_next_ message.

Thanks guys.

-- 
thks.jeff

Reply via email to