From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23643 invoked from network); 25 Apr 2000 11:34:46 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Apr 2000 11:34:46 -0000 Received: (qmail 17876 invoked by alias); 25 Apr 2000 11:34:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10914 Received: (qmail 17867 invoked from network); 25 Apr 2000 11:34:31 -0000 Date: Tue, 25 Apr 2000 13:34:26 +0200 (MET DST) Message-Id: <200004251134.NAA04192@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Andrej Borsenkow"'s message of Fri, 21 Apr 2000 17:45:23 +0400 Subject: Re: 'Permission denied" problem when completing directories Andrej Borsenkow wrote: > bor@itsrm2% cd /opt/openFT/desktop/ > Completing directory > TclTk/ desktop/ ft/ samples/ scripts/ > > (menu selection is active and current item is `desktop'); now I press > `/', that is bound to accept-and-infer-next-history > > bor@itsrm2% cd /opt/openFT/desktop/ > Completing `directory' > > now press TAB > > bor@itsrm2% cd > Completing `directory' > > The reason is most probably permissions: > > bor@itsrm2% l /opt/openFT/desktop > ls: Cannot access directory /opt/openFT/desktop: Permission denied > > but should not Zsh handle it more gracefully? Yes. And it does for me... i.e. the string doesn't just vanish, neither with my setup nor with `zsh -f'. Could you... A different question is whether menu-selection shouldn't exit when a-a-i-n-h yields no matches. I've thinking about this for quite some time, but couldn't find a good solution for what to do when this happens. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de