From: Sven Wischnowsky <wischnow@berkom.de>
To: zsh-workers@sunsite.dk
Subject: Re: aggregated options in completion lists
Date: Thu, 23 May 2002 14:15:45 +0200 [thread overview]
Message-ID: <15596.56689.94384.139697@wischnow.berkom.de> (raw)
In-Reply-To: <20020521085001.GA3752@logica.com>
Oliver Kiddle wrote:
> On Tue, May 21, 2002 at 10:02:53AM +0200, Sven Wischnowsky wrote:
> >
> > The calculation for max-match-length (still no better name) could
>
> How about max-matches-width? Or maybe max-width-matches.
I've taken the former. Thanks.
Bye
Sven
Index: Completion/Base/Utility/_describe
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Base/Utility/_describe,v
retrieving revision 1.12
diff -u -r1.12 _describe
--- Completion/Base/Utility/_describe 14 May 2002 08:01:18 -0000 1.12
+++ Completion/Base/Utility/_describe 23 May 2002 12:15:29 -0000
@@ -25,7 +25,7 @@
zstyle -T ":completion:${curcontext}:$_type" verbose && _showd=yes
zstyle -s ":completion:${curcontext}:$_type" list-separator _sep || _sep=--
-zstyle -s ":completion:${curcontext}:$_type" max-match-length _mlen ||
+zstyle -s ":completion:${curcontext}:$_type" max-matches-width _mlen ||
_mlen=$((COLUMNS/2))
_descr="$1"
Index: Completion/Zsh/Command/_zstyle
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_zstyle,v
retrieving revision 1.10
diff -u -r1.10 _zstyle
--- Completion/Zsh/Command/_zstyle 14 May 2002 08:01:18 -0000 1.10
+++ Completion/Zsh/Command/_zstyle 23 May 2002 12:15:29 -0000
@@ -80,7 +80,7 @@
matcher c:
matcher-list c:
max-errors c:
- max-match-length c:max-match-length
+ max-matches-width c:max-matches-width
menu c:boolauto
muttrc c:_files
numbers c:bool
@@ -383,8 +383,8 @@
_message -e separators 'separator string'
;;
- max-match-length)
- _message -e numbers 'maximum display length for matches'
+ max-matches-width)
+ _message -e numbers 'maximum display width for matches'
;;
urgh)
Index: Doc/Zsh/compsys.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/compsys.yo,v
retrieving revision 1.156
diff -u -r1.156 compsys.yo
--- Doc/Zsh/compsys.yo 14 May 2002 08:01:18 -0000 1.156
+++ Doc/Zsh/compsys.yo 23 May 2002 12:15:30 -0000
@@ -1766,9 +1766,9 @@
The default value for this style is `tt(2 numeric)'.
)
-kindex(max-match-length, completion style)
-item(tt(max-match-length))(
-This is used to define the maximum length to use for the matches when
+kindex(max-matches-width, completion style)
+item(tt(max-matches-width))(
+This is used to define the maximum width to use for the matches when
listing matches with descriptions. In such lists, matches with the
same description will be grouped together, but that means that in
cases where many matches have the same description, the matches take
--
Sven Wischnowsky wischnow@berkom.de
prev parent reply other threads:[~2002-05-23 12:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-12 14:10 Borsenkow Andrej
2002-05-13 9:11 ` Sven Wischnowsky
2002-05-14 7:59 ` Sven Wischnowsky
2002-05-21 8:02 ` Sven Wischnowsky
2002-05-21 8:50 ` Oliver Kiddle
2002-05-21 8:57 ` Borsenkow Andrej
2002-05-23 12:13 ` Sven Wischnowsky
2002-05-23 12:15 ` Sven Wischnowsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15596.56689.94384.139697@wischnow.berkom.de \
--to=wischnow@berkom.de \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).