Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Re: Tags again



Peter Stephenson wrote:

> Sven Wischnowsky wrote:
> > Ok. Any questions left? ;-)
> 
> Thanks for the explanation.  I've upgraded my remarks in the user guide
> (which actually already gave half the story) to say `don't use tag-order
> with files'.
> 
> I was still struck by one slight hickup:  I expected to be able to say
> '*.lst:globbed-files *(-/):directories' to get them named differently but
> called at the same time, but it seems you have to do
> '*.lst *(-/):globbed-files' which kind of defeats the object of giving them
> a name.  But maybe I've missed something again.

I'm don't think it makes the name useless, but... hey, I hadn't
thought of this multiple names in one string thing. Makes it look more 
like tag-order which is almost certainly a good thing.

One small problem: we always supported (in file-patterns and in the
argument to -g) multiple patterns separated by white space. If we find 
an acceptable syntax for this combined with the multiple-names thing,
I'll implement it. Using backslashes before the spaces would be the
wrong thing, though -- that's already used to include spaces in the
patterns.


Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author