Hi!
On Mon, Apr 19, 1999 at 03:49:59PM -0500, Martin Julian DeMello wrote:
> When I try to store a mail address under a preexisting alias, mutt complains
> that the alias is already in use, and returns. Wouldn't it make more sense
> to ask if I wanted to replace the address in the file? This is especially
> annoying when dealing with mails of the type "Hi, please note my new email
> address..."
This is not possible because of several reasons: Mutt doesn't track
which configuration file contains a specific alias and therefore has no
clue where to change an alias. Secondly mutt can't edit configuration
files in general, because there are many levels of hooks and "source"
declarations forming a complexity which is hard to analyze and makes
sanity checks difficult.
If you choose to store your alias definitions in a single file, you
could write a macro which picks up the new alias from the alias_file
and calls a script to edit your sourced file, or a script which
updates your alias file by discarding the first of duplicate entries.
Gero