zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: prefix-needed style in _popd
Date: Tue, 27 Mar 2001 17:56:37 +0000	[thread overview]
Message-ID: <1010327175637.ZM14146@candle.brasslantern.com> (raw)
In-Reply-To: <200103270942.LAA15423@beta.informatik.hu-berlin.de>
In-Reply-To: <20010327113950.51186.qmail@web9304.mail.yahoo.com>

On Mar 27, 11:42am, Sven Wischnowsky wrote:
}
} Removing the prefix-needed handling is of course the easiest thing
} (and give the behaviour I almost certainly would want and expect,
} too).  For that completeness thing we would have to add every entry
} with `+' and `-'.

This is actually what _mailboxes does ... it adds all possible matches,
with + or @ or % or full paths or whatever ... I was wondering whether
it ought to be testing prefix-needed, too.

Sven's patch to _popd makes it behave as if prefix-needed were true
without actually testing the style any more, whereas _mailboxes behaves
as if prefix-needed were false.  The inconsistency concerns me (but not
very much).

On Mar 27, 12:39pm, Oliver Kiddle wrote:
}
} I just never liked prefix-needed false behaviour. Maybe only because I
} was used to always requiring a prefix going back to all my old tcsh
} completions. One character prefixes are not a lot to type and it is
} nice to cut down the number of matches.

I don't set prefix-needed at all, myself, but I don't understand the
objection to the `false' behavior.  If you're used to typing a prefix,
then you'll have typed one, and any listing will be restricted to the
matches that have that prefix.  Is the issue that you don't want to
see the possible completions that have a prefix when you complete with
no prefix in the word on the line?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2001-03-27 17:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27  9:42 Sven Wischnowsky
2001-03-27 11:39 ` Oliver Kiddle
2001-03-27 17:56   ` Bart Schaefer [this message]
2001-03-27 21:16     ` Oliver Kiddle
2001-03-28  6:22       ` Bart Schaefer
2001-03-28 10:03         ` Peter Stephenson
  -- strict thread matches above, loose matches on Subject: below --
2001-03-27  9:22 Oliver Kiddle

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=1010327175637.ZM14146@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --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).