zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: Correction Bug in Beta 17
Date: Thu, 09 May 1996 09:34:33 +0200	[thread overview]
Message-ID: <199605090734.JAA26531@hydra.ifh.de> (raw)
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>

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 <pws@ifh.de>       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.



  parent reply	other threads:[~1996-05-10  6:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-08 17:10 Eskandar Ensafi
1996-05-08 17:33 ` Mark Borges
1996-05-08 22:28 ` Zoltan Hidvegi
1996-05-09  1:30   ` Bart Schaefer
1996-05-09  7:34   ` Peter Stephenson [this message]
1996-05-10 11:01     ` Zoltan Hidvegi
     [not found] <mdb@cdc.noaa.GOV>
1996-05-08 20:01 ` Danek Duvall

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=199605090734.JAA26531@hydra.ifh.de \
    --to=pws@ifh.de \
    --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).