Re: can not go to the message I want to undelete

2009-04-22 Thread Monte Stevens
On 2009-04-21, Zhengquan Zhang wrote:
> I accidentally used 'd' on a message and can not go back to it.  I tried
> to use arrow keys to go back to it and use 'u' to undelete it but it
> just failed to do so.

You could use `undelete-pattern', which, for me, is mapped to `U'.

So, I would type `U.*' to undelete all messages in the current view.


--
Monte


Re: can not go to the message I want to undelete

2009-04-22 Thread Anders Rayner-Karlsson
* Monte Stevens  [20090422 11:46]:
> On 2009-04-21, Zhengquan Zhang wrote:
> > I accidentally used 'd' on a message and can not go back to it.  I tried
> > to use arrow keys to go back to it and use 'u' to undelete it but it
> > just failed to do so.
> 
> You could use `undelete-pattern', which, for me, is mapped to `U'.
> 
> So, I would type `U.*' to undelete all messages in the current view.

Or type the message number (usually leftmost in the message index) and
when you are on the deleted message, press 'u' for undelete.

-- 
Anders Rayner-Karlsson 
All-Round Linux Tinkerer, RHCE and PITA DeLuxe


Re: 'folder-hook . set sort=threads' and 'set sort=threads'

2009-04-22 Thread Zhengquan Zhang
On Wed, Apr 22, 2009 at 06:36:36AM +0200, Michael Tatge wrote:
> Once mutt parses the rc file you would have sort=threads. But if you
> changed to the spam folder it would be sort=spam as intended. Only how
> do you get it back now? You don't - you need the default hook. As it is
> the case with all -hooks btw.

This cleared up my confusion so nicely. Thanks Michael!

-- 
Zhengquan



[Solved, Thanks!] Re: 'folder-hook . set sort=threads' and 'set sort=threads'

2009-04-22 Thread Zhengquan Zhang
On Tue, Apr 21, 2009 at 11:17:57PM -0500, Kyle Wheeler wrote:
> That hook, in essence, resets the sort order when you change folders. 
> So if you temporarily change your sort to "reverse-date" and then open 
> a new folder, the sort order will be set back to threads rather than 
> staying "reverse-date".

Thanks Kyle for your pitty explanation!

Regards,

-- 
Zhengquan



Re: get mail in directory browser

2009-04-22 Thread Zhengquan Zhang
On Tue, Apr 21, 2009 at 11:14:10PM -0500, Kyle Wheeler wrote:
> The key bit of information that you're missing is that "default" 
> keybindings also override generic keybindings. Think about it like an 
> overlay: you have a set of keybindings for "generic" and you have a 
> set of bindings for "index" (including the default index-specific 
> bindings). When you're in an index and you press a key, first it 
> checks the "index" layer (including all the default index bindings), 
> and then if none is found, it checks the generic layer.
> 
> By default, the G key in the index layer triggers the internal mail 
> fetcher.

Thank you Kyle. This is really nice explanation. Now I understand it!

Regards,

-- 
Zhengquan



Re: can not go to the message I want to undelete

2009-04-22 Thread David J. Weller-Fahy
* Chris Jones  [2009-04-21 21:26 -0500]:
> Nobody I know is able to hit  by accident.

My cat can... wait, I'm assuming he does that on accident... hrm. ;)

-- 
dave [ please don't CC me ]


Re: forwarding mail

2009-04-22 Thread rj
On Sat 03/28/09 at 09:50 AM +0100, Sander Smeenk  wrote:

> macro index f ":set mime_forward=no\n"
> macro pager f ":set mime_forward=no\n"
> macro index F ":set mime_forward=yes\n:set 
> mime_forward_decode=no\n"
> macro pager F ":set mime_forward=yes\n:set 
> mime_forward_decode=no\n"


If I'm not mistaken, you should be able to shorten the above thusly:

macro index,pager f ":set mime_forward=no\n"
macro index,pager F ":set mime_forward=yes\n:set 
mime_forward_decode=no\n"



pgpb8UtBlFUww.pgp
Description: PGP signature