From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tomas@fabula.de Newsgroups: gmane.lisp.guile.devel Subject: Re: GH replacement proposal (includes a bit of Unicode) Date: Fri, 4 Jun 2004 08:52:34 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <20040604065234.GA24212@www> References: <40812F4B.3080700@dirk-herrmanns-seiten.de> <873c65be76.fsf@zagadka.ping.de> <40A5E7C8.9080409@dirk-herrmanns-seiten.de> <87isel64mf.fsf@zagadka.ping.de> <40B50BA8.2050604@dirk-herrmanns-seiten.de> <87smdcqq18.fsf@zagadka.ping.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1086331981 17355 80.91.224.253 (4 Jun 2004 06:53:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Jun 2004 06:53:01 +0000 (UTC) Cc: Paul Jarc , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jun 04 08:52:53 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BW8ZQ-0004Yx-00 for ; Fri, 04 Jun 2004 08:52:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BW8Zn-0005KV-UK for guile-devel@m.gmane.org; Fri, 04 Jun 2004 02:53:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BW8Zg-0005JW-Ky for guile-devel@gnu.org; Fri, 04 Jun 2004 02:53:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BW8Zf-0005JK-1i for guile-devel@gnu.org; Fri, 04 Jun 2004 02:53:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BW8Ze-0005JH-Va for guile-devel@gnu.org; Fri, 04 Jun 2004 02:53:07 -0400 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BW8ZE-0006CV-3K for guile-devel@gnu.org; Fri, 04 Jun 2004 02:52:40 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 4E5E214551; Fri, 4 Jun 2004 08:52:35 +0200 (CEST) Original-To: Marius Vollmer Content-Disposition: inline In-Reply-To: <87smdcqq18.fsf@zagadka.ping.de> User-Agent: Mutt/1.5.3i X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3780 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3780 On Thu, Jun 03, 2004 at 11:40:03PM +0200, Marius Vollmer wrote: > Dirk Herrmann writes: > > > Marius Vollmer wrote: > > > >> Dirk Herrmann writes: [...] > >> Yes, I agree that the -1 idiom is not self explaining, but it is well > >> established and people will instantly recognize it. I'd even argue > >> > > What about the -2 and so on? For one (rather unimportant) data point -- I lean towards the -1 idiom (given a sufficiently clear constant declaration, e.g. #define NULLTERM -1). I'm on the `economic API' camp ;-) But my leaning is not overly strong either... > What about > > SCM scm_from_locale_string (unsigned char *str); > SCM scm_from_locale_string_counted (unsigned char *str, size_t len); What about ...stringn in the second case? (I'm thinking of snprintf and friends). Regards -- tomás _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel