zsh-workers
 help / color / mirror / code / Atom feed
From: Mark Borges <mdb@cdc.noaa.gov>
To: hzoli@cs.elte.hu
Cc: ZSH mailing list <zsh-workers@math.gatech.edu>
Subject: Re: correction/spelling quirks
Date: Tue, 3 Oct 1995 10:04:35 -0600	[thread overview]
Message-ID: <9510031604.AA11861@charney.cdc.noaa.gov> (raw)
In-Reply-To: <199510031024.LAA29220@bolyai.cs.elte.hu>

>> Zoltan Hidvegi(ZH) wrote on Tue, 3 Oct 1995 11:24:58 +0100 (MET):
>> Hmm, I don't get it. I'm seeing this in 
>> 
>> $ echo $ZSH_VERSION
>> 2.6-beta10-hzoli10.2
>> $ ls -al ~men/xemacs
>> zsh: Does ~men/xemacs mean /cray3/men/xemacs [nyae]? y
>> lrwxrwxrwx [elided] /cray3/men/xemacs -> /cray2/mdb/share/bin/xemacs-19.13
>> 
>> The patch you refer to:
>> 
>> X-Mailing-List: <zsh-workers@math.gatech.edu> archive/latest/280
>> 
>> is for hzoli10.1 which should already be in 10.2, right? (indeed, when I tried
>> to apply it, patch indicated it was reverse polarity).

ZH> The patch is really in 10.2.  I cannot reproduce it here.  Could
ZH> you tell me how to reproduce it, starting with zsh -f from an
ZH> empty directory?

Certainly.

Hmm, I see what triggers it now. The link expanded by tilde expansion
must be nonsensical (i.e., the error only occurs if the file pointed
to by the symlink does not exist). Sorry I hadn't noticed that before
(I rm'd the file pointed to by ~men/xemacs, but he didn't remove the
symlink).

Here's an example like you asked:
------------------------------------------------------------------------------

charney$ \rm -rf junk
charney$ mkdir junk
charney$ cd junk
charney$ ~/bin/sparc/zsh-2.6h10.2 -f
charney% echo $ZSH_VERSION 
2.6-beta10-hzoli10.2
charney% setopt correctall
charney% pwd
/tmp/mdb/junk
charney% ln -s /tmp/mdb/junk/foo ~/junk
charney% echo ~mdb
/cray2/mdb
charney% ls -al ~mdb/junk
zsh: Does ~mdb/junk mean /cray2/mdb/junk [nyae]? n
lrwxrwxrwx   1 mdb      climate       17 Oct  3 09:54 /cray2/mdb/junk -> /tmp/mdb/junk/foo
charney% touch foo
charney% ls -al ~mdb/junk
lrwxrwxrwx   1 mdb      climate       17 Oct  3 09:54 /cray2/mdb/junk -> /tmp/mdb/junk/foo
charney% \x04
charney$

------------------------------------------------------------------------------
Notice that after the link was made to point to something that existed
the correction quirk did not happen. So maybe it's more a case of a
confusing "error message" than a real bug.

Thanks for looking into it.

  -mb-


       reply	other threads:[~1995-10-03 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9510022306.AA03882@charney.cdc.noaa.gov>
     [not found] ` <199510031024.LAA29220@bolyai.cs.elte.hu>
1995-10-03 16:04   ` Mark Borges [this message]
1995-09-18 20:35 Mark Borges
1995-09-19 10:08 ` Zoltan Hidvegi

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=9510031604.AA11861@charney.cdc.noaa.gov \
    --to=mdb@cdc.noaa.gov \
    --cc=hzoli@cs.elte.hu \
    --cc=zsh-workers@math.gatech.edu \
    /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).