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

Re: PATCH: _file_systems & Re: zstyle for _arguments feature request



I'm having problems with outgoing e-mail so sorry if this turns up
twice, in two weeks time, to Sven only or whatever.

--- Sven Wischnowsky <wischnow@xxxxxxxxx> wrote: > 

> 2. The doubled description is the real problem.  There is no action
> in
>    the spec for --font.  So the faked matches get added under that
>    default description mentioned above and later _arguments uses
>    message to add the explanation it always adds for an empty action
>    in a spec.  And that's the reason why the C code doesn't put the
>    two groups together, which was irritating me before I looked.
> 
> Hrm.  I've got to think some more about this, or maybe someone else
> has ideas?

I mentioned before (14031, last two paragraphs) that using _message in
these cases also has the problem that the format style for the
descriptions tag is not looked up.

There needs to be a way to add a type of match with description but
without actually adding matches that can be used in those cases where
adding matches isn't sensible. The interface to it can perhaps be
_guard like for the pattern.

Oliver

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com



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