about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2002-04-16 07:48:43 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2002-04-16 07:48:43 +0000
commit61f8a07bfc2348b14a7dc194968fcf62f723f36f (patch)
tree9c8b7a2d6f832b6d84dcb5963bc6715efb0c4291 /Completion/Zsh
parentd8fc48f7daa6758ec6a239789b6922af614e1fac (diff)
downloadzsh-61f8a07bfc2348b14a7dc194968fcf62f723f36f.tar.gz
zsh-61f8a07bfc2348b14a7dc194968fcf62f723f36f.tar.xz
zsh-61f8a07bfc2348b14a7dc194968fcf62f723f36f.zip
make more calls to _message use the -e option (16988)
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_compdef2
-rw-r--r--Completion/Zsh/Command/_limit2
-rw-r--r--Completion/Zsh/Command/_sched2
-rw-r--r--Completion/Zsh/Command/_zstyle18
-rw-r--r--Completion/Zsh/Context/_subscript2
5 files changed, 13 insertions, 13 deletions
diff --git a/Completion/Zsh/Command/_compdef b/Completion/Zsh/Command/_compdef
index 469b135c4..aad1358b9 100644
--- a/Completion/Zsh/Command/_compdef
+++ b/Completion/Zsh/Command/_compdef
@@ -36,7 +36,7 @@ _arguments -C -s -S \
 
 if [[ $state = multi ]]; then
   case $(( CURRENT % 3 )) in
-  0) _message key
+  0) _message -e keys key
      return 1;;
   1) state=cfun;;
   2) state=style;;
diff --git a/Completion/Zsh/Command/_limit b/Completion/Zsh/Command/_limit
index ba384f980..852c55c1c 100644
--- a/Completion/Zsh/Command/_limit
+++ b/Completion/Zsh/Command/_limit
@@ -5,5 +5,5 @@ if ! ((CURRENT % 2)); then
 elif [[ $PREFIX = u* ]]; then
     compadd unlimited
 else
-    _message "number and scaling factor"
+    _message -e values "number and scaling factor"
 fi
diff --git a/Completion/Zsh/Command/_sched b/Completion/Zsh/Command/_sched
index 82b8a7c91..e8ff5ab87 100644
--- a/Completion/Zsh/Command/_sched
+++ b/Completion/Zsh/Command/_sched
@@ -14,7 +14,7 @@ if [[ CURRENT -eq 2 ]]; then
                            compadd "$disp[@]" - {1..$#lines}
     return
   else
-    _message 'time specification'
+    _message -e times 'time specification'
     return 1
   fi
 fi
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle
index 5abfe824e..99ee8f72b 100644
--- a/Completion/Zsh/Command/_zstyle
+++ b/Completion/Zsh/Command/_zstyle
@@ -197,7 +197,7 @@ while (( $#state )); do
       ;;
 
     argument)
-      _message argument
+      _message -e arguments argument
       ;;
     
     bool) 
@@ -290,9 +290,9 @@ while (( $#state )); do
 
     tag-order)
       if compset -P '*:*:'; then
-        _message description
+        _message -e descriptions description
       elif compset -P '*:'; then
-        _message 'tag alias'
+        _message -e aliases 'tag alias'
       else
         suf=()
         compset -S ':*' || suf=( -qS: )
@@ -302,11 +302,11 @@ while (( $#state )); do
 
     filepat)
       if compset -P '*:*:'; then
-        _message description
+        _message -e descriptions description
       elif compset -P '*:'; then
-        _message tag
+        _message -e tags tag
       else
-        _message 'glob patterns'
+        _message -e patterns 'glob patterns'
       fi
       ;;
 
@@ -341,7 +341,7 @@ while (( $#state )); do
       ;;
 
     fake-files)
-      _message 'prefix and names'
+      _message -e fakes 'prefix and names'
       ;;
 
     fake-params)
@@ -375,11 +375,11 @@ while (( $#state )); do
       ;;
 
     preserve-prefix)
-      _message 'pattern matching prefix to keep'
+      _message -e prefixes 'pattern matching prefix to keep'
       ;;
 
     separator)
-      _message 'separator string'
+      _message -e separators 'separator string'
       ;;
 
     urgh) 
diff --git a/Completion/Zsh/Context/_subscript b/Completion/Zsh/Context/_subscript
index 052848ffe..84510d263 100644
--- a/Completion/Zsh/Context/_subscript
+++ b/Completion/Zsh/Context/_subscript
@@ -22,7 +22,7 @@ elif compset -P '\('; then
     local f=$match[1] d=$match[2] e=$match[2] v=$match[3]
     [[ $f = s && ${(Pt)${compstate[parameter]}} != scalar* ]] && return 1
     if [[ -z $d ]]; then
-      _message 'delimiter'
+      _message -e delimiters 'delimiter'
       return
     else
       case $d in