From: "Daniel Shahaf" <d.s@daniel.shahaf.name>
To: zeurkous <zeurkous@volny.cz>, zsh-workers@zsh.org
Subject: Re: revised patch: zshmisc(1) clarify non-successful exit statuses
Date: Fri, 23 Apr 2021 16:15:52 +0000 [thread overview]
Message-ID: <416cb2e5-12ae-403a-a1f8-34b98a4c3c73@www.fastmail.com> (raw)
In-Reply-To: <865865f0-5578-45cb-affb-a620c00f9f68@www.fastmail.com>
Daniel Shahaf wrote on Fri, 23 Apr 2021 16:07 +00:00:
> zeurkous@volny.cz wrote on Fri, 23 Apr 2021 12:18 +00:00:
> > # The copied use of startsitem() was suggested on the same mailing list.
> > # Me hopes me did it right.
>
> Not quite; sitem()() takes two arguments. See, for instance,
> http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#index-zmv
> and Doc/Zsh/contrib.yo:4573.
>
> > # Note that the "operating system-dependent" part is made more
> > # complicated by zsh' habit of de-capitalizing the initial character of
> > # the string returned by strerror(3).
>
> I wouldn't mind losing that habit, actually. It's not zsh's business to
> copyedit a library message, especially when that breaks some use-cases
> (case-sensitive grepping/skimming) and is downright wrong in some cases
> (e.g., in German <https://bugs.debian.org/419233>, or if the error
> message happens to start with word that changes meaning when
> decapitalized, such as "Perl" or "English").
Also, if strerror(3) returns an empty string, the fputs() call will
dereference a past-the-end pointer.
> #419233 has a patch which should still work.
>
> > # Hope this is more useful (it is to me),
> > #
> > # --zeurkous, Fri Apr 23 12:09:47 UTC 2021.
> > #
> > --- Doc/Zsh/..v/5.8/exec.yo Mon Dec 4 14:09:35 2017
> > +++ Doc/Zsh/exec.yo Fri Apr 23 12:02:30 2021
> > @@ -14,10 +14,22 @@
>
> Read the new text and don't have any comments. It's an improvement,
> even if a mention of AUTO_CD hasn't been added. Anyone else wants
> to review?
>
> Thanks,
>
> Daniel
>
>
next prev parent reply other threads:[~2021-04-23 16:16 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-11 12:15 zeurkous
2021-04-13 15:52 ` Daniel Shahaf
2021-04-13 18:03 ` zeurkous
2021-04-14 11:03 ` Daniel Shahaf
2021-04-14 11:40 ` zeurkous
2021-04-23 12:18 ` revised " zeurkous
2021-04-23 16:07 ` Daniel Shahaf
2021-04-23 16:15 ` Daniel Shahaf [this message]
2021-04-23 20:25 ` zeurkous
2021-04-23 20:14 ` Lawrence Velázquez
2021-04-23 20:29 ` zeurkous
2021-04-23 20:39 ` Lawrence Velázquez
2021-04-23 20:57 ` zeurkous
2021-04-23 20:51 ` Bart Schaefer
2021-04-23 21:03 ` zeurkous
2021-04-23 21:12 ` Bart Schaefer
2021-04-23 21:18 ` zeurkous
2021-04-23 22:31 ` Bart Schaefer
2021-04-26 16:25 ` zeurkous
2021-04-29 14:20 ` Daniel Shahaf
2021-05-09 19:04 ` Lawrence Velázquez
2021-05-31 1:09 ` Lawrence Velázquez
2021-05-31 4:09 ` Bart Schaefer
2021-05-31 4:37 ` Lawrence Velázquez
2021-06-30 17:51 ` zeurkous
2021-06-30 22:12 ` Lawrence Velázquez
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=416cb2e5-12ae-403a-a1f8-34b98a4c3c73@www.fastmail.com \
--to=d.s@daniel.shahaf.name \
--cc=zeurkous@volny.cz \
--cc=zsh-workers@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).