On Mon, Feb 05, 2007 at 05:30:03PM -0700, Darrin Chandler wrote: > On Mon, Feb 05, 2007 at 07:18:37PM -0500, Jing Xue wrote: > > On Mon, Feb 05, 2007 at 11:36:16AM +0100, Stefano Sabatini wrote: > > > On date Sunday 2007-02-04 12:16:11 -0500, Jing Xue muttered: > > > > I know 'a' adds an alias for the current sender, but is there any other > > > > more generic way to add alias _and_ make it effective immediately? I can > > > > start an editor to edit my .mutt/alias but I can't see the changes until > > > > restarting mutt. > > > > > > create-alias, usually bound to "a", makes the new alias immediately > > > effective, and immediately writes the alias in the $alias_file. > > > > > > Maybe you have to refresh the buffer you're seeing with your editor to > > > see the change. > > > > After three people pointed out "the obvious", I went back and read my OP > > and realized it was indeed confusing. What I meant was to look for some > > way to add _any arbitrary_ alias and make it effective immediately. > > What I always end up doing is "a" and then editing the alias to be what > I really want. This seems like a silly way to do it, but it's less work > than using an external editor and then sourcing the alias file. I've > often wished for a way to alias something besides the (supposed) sender, > but I don't do it enough to make it worth doing myself. ;)
Is there really no way to do a generic create-alias, where you don't have to change the information of the current sender? I've often wanted to do this - just hit 'a', but not have to erase all the information I don't want first (I just want it blank so I can enter what I want). -benjie
