zsh-workers
 help / color / mirror / code / Atom feed
From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers <zsh-workers@sunsite.auc.dk>
Subject: BUG: Problem with _urls and small doc patch
Date: Wed, 26 Apr 2000 23:51:02 -0700 (PDT)	[thread overview]
Message-ID: <20000427065102.6737.qmail@web1303.mail.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

I tried using completion with the _urls completer and noticed some strange
behavior:
        w3m http://local<TAB>_all_labels:39: command not found: -M       
host

I looked a little bit, and noticed the problem seems to come from this line:
_urls:52:      _wanted -C -f files _files "$@" && return 0

There may be other problems.  But it looks like there is a missing context
name.

-FR
ps i've included a patch to the manual to mention that _wanted takes the
-C flag.
/

__________________________________________________
Do You Yahoo!?
Talk to your friends online and get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

__________________________________________________
Do You Yahoo!?
Talk to your friends online and get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

[-- Attachment #2: _wanted-C_patch.txt --]
[-- Type: text/plain, Size: 970 bytes --]

--- zsh/Doc/Zsh/old.compsys.yo	Tue Apr 25 02:48:09 2000
+++ zsh/Doc/Zsh/compsys.yo	Wed Apr 26 22:45:33 2000
@@ -2586,7 +2586,7 @@
 done)
 )
 findex(_wanted)
-item(tt(_wanted) [ tt(-12VJ) ] var(tag) var(name) var(descr) var(command) var(args) ...)(
+item(tt(_wanted) [ tt(-C) var(name) ]  [ tt(-12VJ) ] var(tag) var(name) var(descr) var(command) var(args) ...)(
 In many contexts only one type of matches can be generated but even
 then it should be tested if the tag representing those matches is
 requested by the user. This function makes that easier.
@@ -2603,6 +2603,9 @@
 Unlike tt(_requested), however, tt(_wanted) can not be called without
 the var(command). That's because tt(_wanted) also implements the loop
 over the tags, not only the one for the labels.
+
+Like tt(_tags) this function supports the tt(-C) option to give a
+different name for the argument context field.
 )
 findex(_alternative)
 item(tt(_alternative) [ tt(-C) var(name) ] var(specs) ...)(

                 reply	other threads:[~2000-04-27  6:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20000427065102.6737.qmail@web1303.mail.yahoo.com \
    --to=f_rosencrantz@yahoo.com \
    --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).