zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>,
	<zsh-workers@sunsite.auc.dk>
Subject: Re: Some help neede :-) RE: PS1 or PS2
Date: Wed, 7 Jul 1999 15:39:25 +0000	[thread overview]
Message-ID: <990707153926.ZM2406@candle.brasslantern.com> (raw)
In-Reply-To: <002301bec87d$7c1264c0$21c9ca95@mow.siemens.ru>

Hello; back from my vacation now and buried under Sven and Peter's latest
patch fest ...

On Jul 7,  5:34pm, Andrej Borsenkow wrote:
} Subject: Some help neede :-) RE: PS1 or PS2
}
} Looking in pushlineoredit() I found, that it unconditionally set both
} ``errflag'' (why?) and ``done''. Obviously, this confused Zle (but I
} do not know why). I thought, that I could pass parameter that says "do
} not set them" - and here you are! [...]
}
} with the sad problem, that it still thinks it is on PS2 and won't
} return to PS1 (even if I press ^L to redisplay the whole).

Um, yes.  The reason it sets errflag and done is to force it to leave
the PS2 prompt and go back to PS1.  If you don't set both, it doesn't
work.  The only other way to do it would be to add another new global,
set it in pushlineoredit(), and test it at several spots where `errflag'
and `done' are tested.  It wasn't worth messing with that back when I
originally implemented pushlineoredit(), but maybe it is now.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


      reply	other threads:[~1999-07-07 15:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-29 11:16 Sven Wischnowsky
1999-06-29 11:41 ` Andrej Borsenkow
1999-06-29 13:09   ` Andrej Borsenkow
1999-06-29 15:24     ` Bart Schaefer
1999-07-07 13:34       ` Some help neede :-) " Andrej Borsenkow
1999-07-07 15:39         ` Bart Schaefer [this message]

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=990707153926.ZM2406@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.auc.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).