From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4502 invoked by alias); 3 Jan 2003 00:00:49 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 4487 invoked from network); 3 Jan 2003 00:00:44 -0000 Received: from unknown (HELO mail.tiscali.cz) (213.235.135.71) by 209.249.29.67 with SMTP; 3 Jan 2003 00:00:44 -0000 Received: from hobitin.ucw.cz (212.11.98.85) by mail.tiscali.cz (6.0.044) id 3DDE8B9E005F8EC8 for guile-gtk@sources.redhat.com; Fri, 3 Jan 2003 00:58:11 +0100 Received: from 0rfelyus by hobitin.ucw.cz with local (Exim 3.36 #1 (Debian)) id 18UFQR-0004Ke-00 for ; Fri, 03 Jan 2003 01:10:59 +0100 To: guile-gtk@sources.redhat.com Subject: setters and exclamation mark From: Daniel Skarda <0rfelyus@ucw.cz> Date: Fri, 03 Jan 2003 00:00:00 -0000 In-Reply-To: <3DC10A6300C3AEDA@stateless1.tiscali.cz> (Mail Delivery Service's message of "Fri, 3 Jan 2003 00:52:41 +0100") Message-ID: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q1/txt/msg00001.txt.bz2 Hello, current GtkAdjustment patch posted last year (err, few days ago) revealed guile-gtk naming inconsistency: There are many Gtk functions, one could call setters (-set-blahblahblah), but wrappers for these functions does NOT have exclamation mark. On the other hand, emit-field-accessors (build-guile-gtk) appends `!' to emitted setters. We can: 1) Forget scheme naming conventions and remove `!' from created setters (this change would break NOT any code since setter feature has not been used at all) 2) Add setter hint to define-function, which would mark function as a setter and build-guile-gtk would add ending `!' to such functions. I think everybody can imagine tedious work on second way (examine all functions and mark all setters). Since exclamation mark should be used uniformly, change could break a lot of code. So if nobody objects, I say good-bye exclamation mark and choose first way. 0.