[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Coverting elm alliases file for use bu mutt?

On Sat Feb  2 06:43:06 2002 Stig Brautaset wrote...
>* Stan Brown <stanb@awod.com> spake thus:
>> I'm migrating to a new woody mail machine, and switching from elm to
>> mutt in the process. I have several hunderd alliases in my elm config.
>> Has anyone a sugestion as to how to convert these for use by mutt?
>You won't like this answer, but here it goes: "vim".
>Honestly, I used vim and a very simple macro that I repeated many times
>to convert my gnus aliases to mutt aliases. Go to the first alias you
>want to convert, then follow this:
>1. Hit 'q1' in commandmode (you should get "RECORDING" in the status bar).
>2. Hit '^' to go to the beginning of the line.
>3. Use general movement commands when editing this alias that will work
>   for all the aliases (e.g.  move to end of line, or move to '@' then
>   back to the preceeding space or whatever using the search-movements). 
>4. As your last command, do a 'j^' in commandmode to move to the
>   beginning of the next line, so that your macro can be executed
>   several times automagically without you having to change line
>   manually.
>5. Hit 'q' in commandmode to finish the recording.
>6. Hit '@1' in commandmode to check that your macro works to your
>   satisfaction, then use 'N@1' where N is the number of remaining
>   aliases to do the whole lot. 
>7. Don't worry, vim has excellent undo-features for when you fuck up ;)

OK, thnaks for showing me how to do that.

Now, the next question is, what is the format of the mutt allias file.
Looking through the manuall I am a bit confused. In elm you specify:

1. the alias (shortcut)
2. Whether it's a person or a list
3. The address that the alliase expands to
4. The text that will appear on your screen to confirm which alias you
   have slected (long description).

Thes fields don't really seem to match up to the fileds in mutt. Am I
missing somethign?

Stan Brown     stanb@awod.com                                    843-745-3154
Charleston SC.
Windows 98: n.
	useless extension to a minor patch release for 32-bit extensions and
	a graphical shell for a 16-bit patch to an 8-bit operating system
	originally coded for a 4-bit microprocessor, written by a 2-bit 
	company that can't stand for 1 bit of competition.
(c) 2000 Stan Brown.  Redistribution via the Microsoft Network is prohibited.

Reply to: