zsh-users
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-users@zsh.org
Cc: Xiao Ling XL Chen <chenxlxl@cn.ibm.com>
Subject: Re: Are there zsh error message explanation
Date: Fri, 16 Dec 2022 12:47:59 +0000	[thread overview]
Message-ID: <20221216124759.GD8411@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <CAH+w=7aUyGNEY2GzO7-UCv3gKq_tffDEQ1jk6HzbgQdxS6aW9Q@mail.gmail.com>

Bart Schaefer wrote on Thu, Dec 15, 2022 at 19:28:15 -0800:
> On Thu, Dec 15, 2022 at 1:18 PM Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> >
> > To answer your question, that particular error message means the
> > CSH_NULL_GLOB option has fired.  The message could be improved, yes.
> 
> We've had this discussion before and decided to stay with the error
> messages that all shells with similar features have in common, even if
> they may be terse.

Pointer to the previous discussion, please?  I grepped and haven't
found anything, and from your (terse…) summary I don't understand why
we prefer compatibility with other shells over user-friendliness,
especially considering that:

- "Optimize for the common case."  Most people who will see an error
  message are not newly converted from other shells.  For instance,
  changing zsh's error message to "bad command or file name" wouldn't
  make things perceptibly easier for cmd.exe convertees.

- It's not an either/or case.  If the current error message says "foo"
  then we can change it to say "foo: some elaboration about foo".  The
  leading "foo" part would still be there.

- The error message is unclear and should be improved.  Compatibility
  doesn't mean we can't ever change the error message; it just limits
  what changes we will consider.

Cheers,

Daniel


  parent reply	other threads:[~2022-12-16 12:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-12  3:17 empty pipes Ray Andrews
2022-12-12  3:40 ` Bart Schaefer
2022-12-12 14:01   ` Ray Andrews
2022-12-13  2:04     ` Bart Schaefer
2022-12-14 13:05       ` Are there zsh error message explanation Xiao Ling XL Chen
2022-12-15 21:18         ` Daniel Shahaf
2022-12-16  3:28           ` Bart Schaefer
2022-12-16  3:53             ` Ray Andrews
2022-12-16  4:07               ` Bart Schaefer
2022-12-16 14:16                 ` Ray Andrews
2022-12-16 12:47             ` Daniel Shahaf [this message]
2022-12-16 14:00               ` Ray Andrews
2022-12-16  1:17       ` empty pipes Ellenor Bjornsdottir

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=20221216124759.GD8411@tarpaulin.shahaf.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=chenxlxl@cn.ibm.com \
    --cc=zsh-users@zsh.org \
    /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).