* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2002-06-24 05:29]:
> > skip to the prompts - and use header editing:
> >  set autoedit
> >  set edit_headers
> Ok, I will check these in the manual.

try them, too!

> ..I always have to reenter the subject line and because it has a
> static formation it would be nice to speed things up a bit and have
> mutt rearrange the subject so I only have to enter the last part of
> the subject line.

let me point it out to you again:
mutt does not touch messages and
it does not change them, either.

use your *editor* to make the change.

> > so let your $EDITOR help you there.  which one do you use, btw?
> I use a standard configured mutt so my editor is vi.

ok then.  "set edit_headers" and reply to the mail.
place the cursor onto the Subject line (anywhere)
and type 'S' to substitute the current line.
type in the new Subject line.

that's not perfect - I know.

now place the cursor onto the Subject line but this
time onto the first non-space after the colon:

  Subject: Re: foo bar baz
           ^

now use 'C' to change the rest of the line.
some keystrokes save there as you do not
need to enter the "Subject:" again.

you can map ",cs" (change subject) thus:

   map ,cs   1G/^Subject: /e+1<CR>C

this is much faster, of course.
and you can bind it to, say, F10, too:

   map <f10> 1G/^Subject: /e+1<CR>C

i prefer to preserve a copy of the
old subject in the header, though:

   map <f10> 1G/^Subject: <CR>yypIX-Old-<Esc>-W

another method is to substitute the Subject line
using "!!" (two exclamation marks) and thereby
filtering to through a program, eg "awk".

more on this after you've upgrade to mutt-1.4
and set up your From: line to show your name.

Sven

Reply via email to