zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.dk
Subject: Re: new completion modifications
Date: Tue, 27 Mar 2001 13:06:16 +0200 (MET DST)	[thread overview]
Message-ID: <200103271106.NAA15785@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Sven Wischnowsky's message of Mon, 26 Mar 2001 10:49:35 +0200 (MET DST)


Bart Schaefer wrote:

> On Mar 23,  2:16pm, Peter Stephenson wrote:
> } Subject: Re: new completion modifications
> }
> } Sven wrote:
> } > This seems reasonable.  Question to everyone (and -workers in
> } > particular): should we add a `urls' style, comparable to `hosts' and
> } > such, that just gives a bunch of strings to complete as urls?
> } > Probably taking precedence over the other things (different from
> } > `hosts' and friends).
> } 
> } Something like this.
> 
> That, and/or a flat file of URLs rather than a directory structure.  Hmm,
> we could have the following styles for the `urls' tag:
> 
> 	file	-- flat file containing URLs to complete (new?)
> 	local	-- prefixes for completing local URLs (exists now)
> 	path	-- location of directory tree mapping URLs (exists)
> 	urls	-- array of URLs to complete (new?)
> 
> I'm not sure about the names "file" and "path", but ...

After thinking again... do we really need two new style?  Or any?

E.g.:

  path -- unchanged
  urls -- if it has only one value and that is the name of a file,
          take the urls from that file

or:

  path -- if the value names a directory, use as we use it now, if it
          names a normal file, take the urls from it
  urls -- just a list of urls

or:

  path -- removed
  urls -- if it has only one value
            if that is the name of a directory: like path now
            elif it is the name of a normal file: list of urls from the file
          otherwise the values are the urls

In any case local is unchanged.

After all, how often would one want to use more than one setup?


Bye
 Sven


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


             reply	other threads:[~2001-03-27 11:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27 11:06 Sven Wischnowsky [this message]
2001-03-27 17:57 ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
2001-03-26  8:49 Sven Wischnowsky
     [not found] <200103231407.PAA07685@beta.informatik.hu-berlin.de>
2001-03-23 14:16 ` Peter Stephenson
2001-03-24 19:45   ` Bart Schaefer
2001-03-25 14:21 ` Oliver Kiddle
     [not found] <200103221000.LAA05184@beta.informatik.hu-berlin.de>
     [not found] ` <20010322102147.9030.qmail@web9301.mail.yahoo.com>
2001-03-22 18:11   ` Bart Schaefer

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=200103271106.NAA15785@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.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).