cc to myself in some cases only?

2002-10-01 Thread Erik Simon

Dear and happy mutt users,

I would like to CC a message to my email address, but not for all
patterns. I tried a send-hook:

send-hook .   my_hdr Cc: address
send-hook foo.bar my_hdr Cc:

It works, except than the changes take effect only for the subsequent
message. Any hint how I could do this?

Erik



Re: new mail in sent-mail

2002-09-10 Thread Erik Simon

Hi Keith

What you could do instead of recording mail via the record variable
is use fcc-hook. I do it to record my email in various places based
on the addresses I send to. e.g. for mutt-users I have

fcc-hook ~L mutt-users =archive-mutt-users

This way, the message is not tagged as new in the destination (I
think). What you would do to store in sent-mail is

fcc-hook . =sent-mail

But why does it annoy you to have messages marked as new in
sent-mail? Do you have mutt to check sent-mail for new messages
(sent-mail in mailboxes)?

Enjoy!

Erik



Mutt+Vim: ugly block cursor when editing

2002-09-09 Thread Erik Simon

Dear and Happy mutt users,

I started playing with colors in Vim when editing mutt messages.
However, I get an ugly block cursor (orange or yellow depending on
the terminal) on each empty line.

I use Mutt 1.4i and Vim 6.1 on RedHat 7.2 (compiled from SRPMs).
Mutt runs in gnome-terminal.

I attached my vimrc for reference, and you can view what I'm talking
about: http://cern.ch/simer/mutt_vim.png

Can anyone help?

Erik


 CVS: $Id: vimrc,v 1.3 2002/08/23 08:35:32 es Exp $

 Common VIM initialization file
 Used with VIM 6

 INSTALLATION:

 Copy the following lines to your ~/.vimrc

 if filereadable(expand(~/config/vimrc))
 source ~/config/vimrc 
 endif

 Syntax highlighting
if has(syntax)  t_Co  2
syntax on
endif

syntax off

 Indentation
if has(autocmd)
 filetype plugin indent on
endif

set ai

 Tabs
set tabstop=4
set softtabstop=4
set expandtab
set noinsertmode

 Show whitespaces
set   list
 Show trailing spaces
set   listchars=tab:»·,trail:·

 Disable compatibility with old vi
set nocompatible

 Custom settings for mutt
au BufNewFile,BufRead /tmp/mutt* set et tw=68 comments=nb:
au BufNewFile,BufRead /home/es/.letter set et tw=68 comments=nb:



Re: Mutt+Vim: ugly block cursor when editing

2002-09-09 Thread Erik Simon

On Mon, Sep 09, 2002 at 08:48:18AM -0400, darren chamberlain wrote:
 So, try :set nohlsearch, and see if that works.

It works perfectly, thanks a lot Darren!

Enjoy!

Erik