zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: some more cleanup
Date: Tue, 16 Nov 1999 13:56:50 +0100 (MET)	[thread overview]
Message-ID: <199911161256.NAA01345@beta.informatik.hu-berlin.de> (raw)


Dunno how this `_requested -t' survived...

This also avoids some more tag names. But there are still 64 of them
used and for some I don't know enough about the functions where they
are used to be able to decide with which more generic name they could
be replaced.

Bye
 Sven

diff -u -r oldcompletion/Base/_brace_parameter Completion/Base/_brace_parameter
--- oldcompletion/Base/_brace_parameter	Tue Nov 16 10:08:14 1999
+++ Completion/Base/_brace_parameter	Tue Nov 16 13:09:48 1999
@@ -1,6 +1,6 @@
 #compdef -brace-parameter-
 
-_requested -t parameters && _parameters -e
+_tags parameters && _parameters -e
 
 
 # Without the `-e' option, we would use the following (see the file
diff -u -r oldcompletion/Base/_subscript Completion/Base/_subscript
--- oldcompletion/Base/_subscript	Tue Nov 16 10:08:15 1999
+++ Completion/Base/_subscript	Tue Nov 16 13:26:09 1999
@@ -3,7 +3,7 @@
 local expl
 
 if [[ "$PREFIX" = :* ]]; then
-  _wanted char-classes expl 'character class' &&
+  _wanted characters expl 'character class' &&
       compadd "$expl[@]" -p: -S ':]' alnum alpha blank cntrl digit graph \
                                      lower print punct space upper xdigit
 elif [[ ${(Pt)${compstate[parameter]}} = assoc* ]]; then
diff -u -r oldcompletion/Builtins/_sched Completion/Builtins/_sched
--- oldcompletion/Builtins/_sched	Tue Nov 16 10:08:17 1999
+++ Completion/Builtins/_sched	Tue Nov 16 13:33:30 1999
@@ -7,7 +7,7 @@
     _wanted -C - jobs expl 'scheduled jobs' || return 1
 
     lines=(${(f)"$(sched)"})
-    if _style entries description; then
+    if _style jobs description; then
       disp=( -ld lines )
     else
       disp=()
diff -u -r oldcompletion/Builtins/_stat Completion/Builtins/_stat
--- oldcompletion/Builtins/_stat	Tue Nov 16 10:08:17 1999
+++ Completion/Builtins/_stat	Tue Nov 16 13:32:47 1999
@@ -9,7 +9,7 @@
 
   while _tags; do
     _requested options expl 'inode element' &&
-        { ! _style elements prefix-needed || [[ "$PREFIX[1]" = + ]] } &&
+        { ! _style options prefix-needed || [[ "$PREFIX[1]" = + ]] } &&
         compadd "$expl[@]" - +device +inode +mode +nlink +uid +gid +rdev \
                              +size +atime +mtime +ctime +blksize +block +link
     fi
diff -u -r oldcompletion/User/_tar Completion/User/_tar
--- oldcompletion/User/_tar	Tue Nov 16 10:08:29 1999
+++ Completion/User/_tar	Tue Nov 16 13:45:33 1999
@@ -107,7 +107,7 @@
     _tar_cache_name=$tf
   fi
 
-  _wanted archived-files expl 'file from archive' &&
+  _wanted files expl 'file from archive' &&
       _multi_parts "$expl[@]" / _tar_cache_list
 else
   

--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-11-16 12:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-16 12:56 Sven Wischnowsky [this message]
1999-11-16 15:42 ` Bart Schaefer
1999-11-17  8:01 Sven Wischnowsky

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=199911161256.NAA01345@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.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).