From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2761 invoked by alias); 14 Jan 2002 11:08:24 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 2719 invoked from network); 14 Jan 2002 11:08:19 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 14 Jan 2002 11:08:19 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id NAA15725; Mon, 14 Jan 2002 13:07:25 +0200 (IST) Date: Mon, 14 Jan 2002 03:08:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Richard.Earnshaw@arm.com cc: Andrew Cagney , gdb@sources.redhat.com, Richard.Earnshaw@arm.com Subject: Re: how to format an error? In-Reply-To: <200201141037.KAA23594@cam-mail2.cambridge.arm.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-01/txt/msg00146.txt.bz2 On Mon, 14 Jan 2002, Richard Earnshaw wrote: > Hmm, I'd go for the third. If the message were to appear in a GUI box, it > could well be a line of text on its own, such as > > ************* ERROR ************** > * * > * This is an error message * > * * > ********************************** > > In such a context I think it would be very wrong to start this with a > lower-case letter. It usually comes with something before it, like in foobar: this is an error message So I think the problem that bothers you mostly doesn't exist. > Given that, (and that a litteral will never appear in the first letter) > can we safely assume that we can capitalize the first letter during > printing? No. That's exactly what we discovered in Emacs: you cannot assume anything about proper capitalization, unless you are certain the message will always be in US English. Any assumption you make will break in too many cases.