From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: zsh exits after delete-char-or-list and two ^Cs
Date: Fri, 3 Sep 2004 11:59:49 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.61.0409030827210.28049@toltec.zanshin.com> (raw)
In-Reply-To: <200409030937.i839bJxR018972@news01.csr.com>
On Fri, 3 Sep 2004, Peter Stephenson wrote:
> (Oliver says the In-reply-to and References format should work better
> like this. Tell me if it doesn't.)
(Looks fine. What are you using as a mail reader?)
> Bart Schaefer wrote:
> > zle && echo "widgets callable" # I'm least certain of this
> > zle -I && echo "Display invalidated and widgets callable"
> > zle -R && echo "Display refreshed and zle active"
> >
> > Is that right?
>
> Yes, noting that testing for `display invalidated' and `display
> refreshed' doesn't form part of the return status (I think that's what
> you mean but it's not clear from the output).
Hmm. OK, that's not so good, because it breaks "zle -I || ..." in the
case where you want to know whether the display was NOT invalidated.
(Maybe there's never a reason to care about that, but ...)
> I agree, it's just a question of how much of a stickler you are for
> having the return status reflecting `command did what I expected' rather
> than `command did something and tested for something else'.
I'm quite willing to have "zle -I" go back to testing for "invalidating
the display was a sensible thing to attempt" provided that "zle" (no args)
tests for "widgets callable", and that all of this is documented more
clearly.
> I want to emphasis calling zle -I multiple times has no bad effect.
> Maybe the English for that is "calling zle -I multiple times has no bad
> effects".
Yeah.
next prev parent reply other threads:[~2004-09-03 19:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-25 17:04 Danek Duvall
2004-08-27 0:22 ` Bart Schaefer
2004-09-01 18:10 ` Peter Stephenson
2004-09-01 19:44 ` Bart Schaefer
2004-09-02 9:19 ` Peter Stephenson
2004-09-02 15:15 ` Bart Schaefer
2004-09-03 9:37 ` Peter Stephenson
2004-09-03 18:59 ` Bart Schaefer [this message]
2004-09-07 14:08 ` Peter Stephenson
2004-09-08 14:23 ` Peter Stephenson
2004-09-01 17:36 ` Peter Stephenson
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=Pine.LNX.4.61.0409030827210.28049@toltec.zanshin.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.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).