From: Clint Adams <schizo@debian.org>
To: zsh-workers@sunsite.dk
Cc: Michael Schutte <m.schutte.jr@gmail.com>,
419233-forwarded@bugs.debian.org
Subject: Re: Bug#419233: zsh: error messages start with lowercase letters
Date: Sat, 14 Apr 2007 10:39:15 -0400 [thread overview]
Message-ID: <20070414143915.GA1397@scowler.net> (raw)
In-Reply-To: <20070414140521.GA6436@debian.homenet>
On Sat, Apr 14, 2007 at 04:05:21PM +0200, Michael Schutte wrote:
> $ cd 404
> cd: datei oder Verzeichnis nicht gefunden: 404
>
> zsh puts the first character of an error message into lowercase. While
> one may find that this looks better in English, it is clearly wrong in
> German where nouns are always capitalized. A patch is attached.
Anyone have a clever idea on how to retain the historical behavior in
English-speaking locales?
> diff -ur zsh-4.3.2.orig/Src/utils.c zsh-4.3.2/Src/utils.c
> --- zsh-4.3.2.orig/Src/utils.c 2007-04-14 15:38:58.000000000 +0200
> +++ zsh-4.3.2/Src/utils.c 2007-04-14 15:39:57.000000000 +0200
> @@ -171,15 +171,7 @@
> errflag = 1;
> return;
> }
> - /* If the message is not about I/O problems, it looks better *
> - * if we uncapitalize the first letter of the message */
> - if (num == EIO)
> - fputs(strerror(num), stderr);
> - else {
> - char *errmsg = strerror(num);
> - fputc(tulower(errmsg[0]), stderr);
> - fputs(errmsg + 1, stderr);
> - }
> + fputs(strerror(num), stderr);
> break;
> }
> } else {
parent reply other threads:[~2007-04-14 14:39 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20070414140521.GA6436@debian.homenet>]
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=20070414143915.GA1397@scowler.net \
--to=schizo@debian.org \
--cc=419233-forwarded@bugs.debian.org \
--cc=m.schutte.jr@gmail.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).