From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: 23.0.50; dbus Date: Wed, 02 Jan 2008 14:41:51 +0100 Message-ID: <8763ycxs2o.fsf@ambire.localdomain> References: <87abod2b1x.fsf@gmx.de> <878x3umeo1.fsf@gmx.de> <87k5mufsl7.fsf@gmx.de> <87tzlwyfrr.fsf@gmx.de> <878x38qwu2.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199281432 20113 80.91.229.12 (2 Jan 2008 13:43:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 13:43:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 02 14:44:12 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JA3tB-0000wJ-7k for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 14:44:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JA3sp-00060h-8h for ged-emacs-devel@m.gmane.org; Wed, 02 Jan 2008 08:43:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JA3sl-0005zy-5x for emacs-devel@gnu.org; Wed, 02 Jan 2008 08:43:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JA3sj-0005zU-Nc for emacs-devel@gnu.org; Wed, 02 Jan 2008 08:43:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JA3sj-0005zR-FU for emacs-devel@gnu.org; Wed, 02 Jan 2008 08:43:41 -0500 Original-Received: from ppp-180-34.21-151.libero.it ([151.21.34.180] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JA3sj-0007QK-5g for emacs-devel@gnu.org; Wed, 02 Jan 2008 08:43:41 -0500 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1JA3qx-0001pc-9S; Wed, 02 Jan 2008 14:41:51 +0100 In-Reply-To: (Michael Albinus's message of "Wed, 02 Jan 2008 13:48:05 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:85896 Archived-At: () Michael Albinus () Wed, 02 Jan 2008 13:48:05 +0100 But this does not solve the problem in general for other cases, like "strcmp (SDATA ...)". i think unless such portions of code are performance-bound, they should be using lisp functions, such as `string=', i.e, Fstring_equal. when this involves making some C strings into Lisp strings, that would be a hint that - there may be a useful Lisp-accessible interface lurking there (for a future refactoring session); - the code might be (someday) amenable to being autogenerated. the latter part is long-term wishful thinking, but the former part (using Fstring_equal, for instance) is worth looking into now or whenever possible. in summary, i think migrating away from strcmp and friends is good for maintenance of emacs (and its programmers ;--). thi