zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: agcosta@gis.net, 463507@bugs.debian.org
Cc: Richard Hartmann <richih.mailinglist@gmail.com>, zsh-workers@sunsite.dk
Subject: Re: Bug#463507: Need more info. (zsh: Completion fails with: "_main_complete:161: permission denied:")
Date: Fri, 2 Jan 2009 23:58:31 +0000	[thread overview]
Message-ID: <20090102235831.GA12986@scru.org> (raw)
In-Reply-To: <20090102180327.885ec1ea.agcosta@gis.net>

On Fri, Jan 02, 2009 at 06:03:27PM -0500, A. Costa wrote:
> Restarting as regular 'zsh' the bug comes back... so, assuming there's
> now enough data to answer: is this a 'zsh' bug, or was and is my
> config somehow borked?  If my config is borked, what's the right way to

Well, possibly both.  All we've established thus far is that something
in your config is consistently triggering something unexpected.

Try ls -<Ctrl-X>? (that is, hit whatever's bound to _complete_debug
at the point you would normally trigger the error with TAB) and
send the resulting debug output in /tmp to the bug report.

> make this fix permanent & default?
> 
> BTW: I notice the 'zsh' switch completion seems more thorough than that
> of 'bash'.  'bash' only does a '--' (double hyphen) completion, but
> 'zsh' does single and double hyphens.  The 'fish' shell has completion
> powers comparable to 'zsh'.
> 
> Another observation, maybe different bug.  With the above fix, if I do:
> 
> 	ls --n<TAB>
> 
> 'zsh' auto-completes this as:
> 
> 	ls --n-g
> 
> ...which does not currently seem to be an 'ls' option.  Hitting <TAB> a
> second time auto-completes as:
> 
> 	ls --no-group
> 
> ...which is a proper 'ls' option.  Bug, or maybe some legacy 'ls' option?

I think that's a bug.. it should be offering you --no-group and
--numeric-uid-gid until you disambiguate.


  parent reply	other threads:[~2009-01-02 23:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2d460de70812291522pd0bbfe5odaeef95e508b1e29@mail.gmail.com>
     [not found] ` <20080131221535.c1aa6f7c.agcosta@gis.net>
     [not found]   ` <20080201133818.GA28192@scowler.net>
     [not found]     ` <20080201173143.2a7ec474.agcosta@gis.net>
     [not found]       ` <20080202030920.GA2099@scowler.net>
     [not found]         ` <20080202014728.9aeb3310.agcosta@gis.net>
     [not found]           ` <20080202184123.GA20032@scowler.net>
     [not found]             ` <20080203004905.a85d2c3c.agcosta@gis.net>
     [not found]               ` <20080205033050.GA4729@scowler.net>
     [not found]                 ` <20080205024651.ea4026a1.agcosta@gis.net>
2008-02-05 14:19                   ` Bug#463507: zsh: Completion fails with: "_main_complete:161: permission denied:" Clint Adams
2008-02-05 14:41                     ` Peter Stephenson
2008-02-05 14:50                       ` Peter Stephenson
     [not found]   ` <handler.463507.D463507.123059292812775.notifdone@bugs.debian.org>
     [not found]     ` <20090102152635.052adb13.agcosta@gis.net>
     [not found]       ` <20090102215544.GC8949@scru.org>
     [not found]         ` <20090102180327.885ec1ea.agcosta@gis.net>
2009-01-02 23:58           ` Clint Adams [this message]
2009-01-03  0:45             ` Bug#463507: Need more info. (zsh: Completion fails with: "_main_complete:161: permission denied:") Richard Hartmann

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=20090102235831.GA12986@scru.org \
    --to=schizo@debian.org \
    --cc=463507@bugs.debian.org \
    --cc=agcosta@gis.net \
    --cc=richih.mailinglist@gmail.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).