<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/2159: one to one aliases failed



The following reply was made to PR mutt/2159; it has been noted by GNATS.

From: TAKAHASHI Tamotsu <ttakah@xxxxxxxxxxxxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc: 
Subject: Re: mutt/2159: one to one aliases failed
Date: Wed, 4 Jan 2006 12:34:44 +0900

 * Tue Jan  3 2006 marc.chantreux@xxxxxxxxxxx <marc.chantreux@xxxxxxxxxxx>
 > >Number:         2159
 > >Synopsis:       one to one aliases failed
 > >Description:
 > If you create an alias where the key equals the value (i would like to use 
 > it to complete some words in To: ) prompt , mutt failed to prompt correctly 
 > To:
 > >How-To-Repeat:
 > create and source this file :
 > alias urgent urgent
 > 
 > in the shell, type
 > mutt urgent
 > 
 > and mutt opened to the To: prompt (empty)
 > 
 > those aliases are because i want completion for the word urgent in the To: 
 > prompt.
 
 Thanks for the report, but it is not a bug.
 "alias urgent urgent" is just a loop.
 Please use something else,
 like "alias urgent urgent@localhost".
 
 We have to check loops
 because we allow recursive aliases.
 
 For example,
 "alias tim tom; alias tom Thomas@xxxxxxxxxxx"
 will expand "tim" to "Thomas@xxxxxxxxxxx".
 If we allow "alias urgent urgent",
 "tim" will be "tom" instead of "Thomas@xxxxxxxxxxx".
 
 Thanks for your understanding.
 -- 
 tamo