<<< Date Index >>>     <<< Thread Index >>>

Re: 3 questions: Renaming folders with hook + browser reverse date



On 2007-08-18, Vim Visual <vim.unix@xxxxxxxxxxxxxx> wrote:
> Hi,
> 
> First question:
> ============
> 
> I figured out that it is possible to rename the file where the sent
> emails are stored with
> 
> send-hook . "set record=~/mail/sent-mail-`date +%Y-%m`"
> set record="=sent-mail-`date +%Y-%m`"
> 
> (or similar) by reading the faqs.
> 
> Now a very silly question... please feel free to flame and even stone
> me. How do I do the same for the received emails? set record2 ???
> ahem...

By default, mutt proposes a filename derived from the sender's 
address.  You can override this by specifying a save-hook.

> Second question:
> ===============
> 
> I want to see my emails (sent, received) according to their date,
> reversely. I wrote this in my muttrc:
> 
> set sort_browser=reverse-date
> 
> But it doesn't work. It shows me the emails according to the threads,
> not to the reverse date. How can I fix that?

Use 'sort' instead of 'sort-browser'.

> Third question:
> ============
> 
> I am moving to OpenBSD and I realised that
> 
> macro index <F5>  'c ~/mail/inbox      ^M'
> 
> doesn't work any more, with Mutt 1.5.16 (2007-06-09). It worked under
> fedora5 with Mutt 1.4.1i (2003-03-19)

You didn't say what "doesn't work" means, but my guess is that the 
termcap or terminfo data being used by mutt to determine the 
character sequence to send for <F5> is missing or not correct for 
the terminal you are using.  Check that your $TERM environment 
variable is correct.  Then execute

   infocmp -1 | grep kf5

to see what character sequence, if any, is defined for <F5>. ("-1" 
is "minus one", not "minus ell".)

HTH,
Gary