From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: More i18n Date: Thu, 25 Jan 2007 12:05:10 +1100 Message-ID: <87r6tjrk55.fsf@zip.com.au> References: <877iwzokpz.fsf@chbouib.org> <87vekg2a7a.fsf@zip.com.au> <878xg2tzjz.fsf@chbouib.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1169687156 21743 80.91.229.12 (25 Jan 2007 01:05:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Jan 2007 01:05:56 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@chbouib.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jan 25 02:05:41 2007 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H9t3c-0006nY-3F for guile-devel@m.gmane.org; Thu, 25 Jan 2007 02:05:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9t3b-0005CP-IN for guile-devel@m.gmane.org; Wed, 24 Jan 2007 20:05:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H9t3L-00056H-6X for guile-devel@gnu.org; Wed, 24 Jan 2007 20:05:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H9t3J-00055f-Qq for guile-devel@gnu.org; Wed, 24 Jan 2007 20:05:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H9t3J-00055T-DD for guile-devel@gnu.org; Wed, 24 Jan 2007 20:05:21 -0500 Original-Received: from mailout2-8.pacific.net.au ([61.8.2.231] helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H9t3I-0001XI-PF for guile-devel@gnu.org; Wed, 24 Jan 2007 20:05:21 -0500 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 2056F10D0A1; Thu, 25 Jan 2007 12:05:13 +1100 (EST) Original-Received: from localhost (ppp2944.dyn.pacific.net.au [61.8.41.68]) by mailproxy2.pacific.net.au (Postfix) with ESMTP id DE7E527432; Thu, 25 Jan 2007 12:05:14 +1100 (EST) Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1H9t3A-0004IJ-8T; Thu, 25 Jan 2007 12:05:12 +1100 Mail-Copies-To: never In-Reply-To: <878xg2tzjz.fsf@chbouib.org> (Ludovic =?iso-8859-1?Q?Court=E8?= =?iso-8859-1?Q?s's?= message of "Tue, 16 Jan 2007 22:46:40 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6489 Archived-At: ludo@chbouib.org (Ludovic Court=E8s) writes: > > +@deffn {Scheme Procedure} locale-yes-regexp [locale] > +@deffnx {Scheme Procedure} locale-no-regexp [locale] > +Return a string that can be used as a regular expression to recognize > +a positive (respectively, negative) response to a yes/no question. You could show what it is in the C locale there, as a sample. Just reading it made me wonder if it might match "y" or "yes" or both, or whatever. (Too much detail is obviously outside our scope, but something to show what's typical is always helpful.) > +;; `YESSTR' and `NOSTR' are considered deprecated so we don't provide th= em. You could put with locale-yes-regexp in the manual that gettext is recommended for a yes/no string for output. The same as the glibc manual says. > +#ifdef YESSTR > + DEFINE_NLITEM_CONSTANT (YESSTR); > +#endif > +#ifdef NOSTR > + DEFINE_NLITEM_CONSTANT (NOSTR); > +#endif If unused then I expect that can be dropped. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel