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

Re: Add alias during session



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. ;)

-- 
Darrin Chandler                   |  Phoenix BSD Users Group
dwchandler@xxxxxxxxxxxxx          |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/darrin/  |