On Thu, Mar 07, 2013 at 05:05:12PM -0500, Patrick Shanahan wrote:
> * Chris Green <c...@isbd.net> [03-07-13 10:19]:
> > I've been looking into how to improve my mutt addressbook/aliases and
> > statred by looking at the "Defining/Using Aliases" section.  I'm now
> > more confused than I was before!
> > 
> > I can understand the Usage: bit at least but then it goes rapidly
> > downhill.
> > 
> > It says:-
> > 
> >     Note
> > 
> >     If you want to create an alias for more than one address, you must
> >     separate the addresses with a comma (“,”). 
> > 
> > Er, but that disagrees with the Usage: doesn't it? It should (the
> > Usage:) say "alias [ -group name ...] key address [, address ...]".
> 
>   alias  <key-name> <address or previously-defined-alias> \|
>                     ,<address or previously-defined-alias> \|
>                     ,<address or previously-defined-alias> \|
>                     ,<address or previously-defined-alias> \|
>                     ,<address or previously-defined-alias> \|
>                     ...
> 
So the manual *is* wrong in the Usage: bit.


> ** I have never used the "-group" param but do have "group aliases" that
> work correctly.
> 
> > Anyway I don't really understand what is meant by "create an alias for
> > more than one address" - does it really mean "an alias which will
> > allow sending mail to more than one address when the alias is used"?
> 
> alias joe Joe Somebody  j...@example.com
> alias jim Jim Somebody  j...@example.com
> alias ron Ron Somebody  r...@example.net
> 
> alias family joe jim ron
>  
Yes, and where are the commas it refers to?  That was my point.


> > 
> > Then it says:-
> > 
> >     To remove an alias or aliases (“*” means all aliases): 
> > 
> > followed by an example which seems to be *adding* aliases.
> 
> unalias *
>   removes all aliases
> unalias family *
>   removes the alias "family
> unalias jim
>   removes the alias "jim"    
> 
Yes, OK, I (sort of) know that, but the manual is simply misleading
isn't it?

-- 
Chris Green

Reply via email to