From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id QAA09138 for ; Fri, 10 May 1996 16:13:23 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id BAA04455; Fri, 10 May 1996 01:59:31 -0400 (EDT) Resent-Date: Fri, 10 May 1996 01:59:31 -0400 (EDT) Message-Id: <199605090734.JAA26531@hydra.ifh.de> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: Correction Bug in Beta 17 In-reply-to: "hzoli@cs.elte.hu"'s message of "Thu, 09 May 1996 00:28:19 MET." <199605082228.AAA00309@hzoli.ppp.cs.elte.hu> Date: Thu, 09 May 1996 09:34:33 +0200 From: Peter Stephenson Resent-Message-ID: <"hS2d.0.X51.2jjan"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1043 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu hzoli@cs.elte.hu wrote: > > 1% setopt correct > > 2% setopt promptsubst > > 3% ks > > zsh: unmatched ' > > zsh: parse error in command substitution > > zsh: correct `%R' to `%r' [nyae]? > > If you tund on GLOB_SUBST, zsh will try to expand it so interprets ` as > command substitution. Obviously, the default sprompt needs changing; you shouldn't need to spend several hours debugging just because you've changed your options. There seems to be another bug hiding here somewhere. % setopt correct % ks zsh: correct 'ks' to 'ms' [nyae]? y zsh: permission denied: ms % which ms % *** Src/init.c.gs Mon May 6 16:08:58 1996 --- Src/init.c Thu May 9 09:27:32 1996 *************** *** 592,598 **** prompt3 = ztrdup(""); prompt4 = ztrdup(""); } ! sprompt = ztrdup("zsh: correct `%R' to `%r' [nyae]? "); if (!(ttystrname = ztrdup(ttyname(SHTTY)))) ttystrname = ztrdup(""); --- 592,598 ---- prompt3 = ztrdup(""); prompt4 = ztrdup(""); } ! sprompt = ztrdup("zsh: correct '%R' to '%r' [nyae]? "); if (!(ttystrname = ztrdup(ttyname(SHTTY)))) ttystrname = ztrdup(""); -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330 Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.