On Sat, Apr 20, 2002 at 03:56:31AM +0200, Sven Guckes wrote:
> * Bernard Massot <[EMAIL PROTECTED]> [2002-04-19 19:47]:
> > it's :
> >   If (date written=a_monday) then quote with "D'al ..."
> >   Else quote with "D'ar ..."
> > In brezhoneg language, you must write "d'al lun"
> > (on monday) but "d'ar meurzh" (on tuesday), "d'ar yaou"
> > (on thursday), etc...  *That* is what I want to do.
> 
> I'm sure Outlook will support it one day.         HA!
> 
> Now, how about using just WHATEVER in the attribution
> and replacing it from inside your editor?
> 
> Sven  [if mutt can't do it - then your editor can!]

I managed to do it, with this ugly hack :

$ tail -1 ~/.vimrc
autocmd BufRead /tmp/mutt*[0-9] source ~/.mutt/mutt.vim
$ cat /home/bernard/.mutt/mutt.vim 
" krizerez evit ar brezhoneg
call setline(1,substitute(getline(line(".")),"^D'ar lun","D'al lun",""))
$

but I feel it's not the best solution ;)
-- 
Bernard Massot

Attachment: msg27544/pgp00000.pgp
Description: PGP signature

Reply via email to