From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: proposal to make null string handling more emacs-y Date: Wed, 25 Apr 2012 09:53:07 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1335340411 3969 80.91.229.3 (25 Apr 2012 07:53:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2012 07:53:31 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 09:53:30 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SMx2Y-0000F6-BT for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2012 09:53:30 +0200 Original-Received: from localhost ([::1]:54465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMx2X-0005Zb-Rc for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2012 03:53:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMx2U-0005ZM-Tz for emacs-devel@gnu.org; Wed, 25 Apr 2012 03:53:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMx2T-0006EN-Bn for emacs-devel@gnu.org; Wed, 25 Apr 2012 03:53:26 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMx2T-0006Dy-5T for emacs-devel@gnu.org; Wed, 25 Apr 2012 03:53:25 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SMx2M-00006e-0d for emacs-devel@gnu.org; Wed, 25 Apr 2012 09:53:18 +0200 Original-Received: from dial-181133.pool.broadband44.net ([212.46.181.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Apr 2012 09:53:17 +0200 Original-Received: from eller.helmut by dial-181133.pool.broadband44.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Apr 2012 09:53:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dial-181133.pool.broadband44.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:xDg8FGwwHZviPnZGIdbYUPtRJ3Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149983 Archived-At: * Steve Yegge [2012-04-25 00:24] writes: > I haven't started a big flamewar and made fresh new enemies in what has > to be at least three weeks.  So.  Here goes. > > I think we should change all the core string-manipulation functions to deal > gracefully with nil arguments.  Specifically, I want to change the smallest > set of functions that may originate the infamous "wrong-type-argument > (stringp, nil)" error, making them instead treat nil as if it were the empty > string. The smallest set of those functions seems to be the empty set (aka. nil or was it ""?). Helmut