From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: proposal to make null string handling more emacs-y Date: Wed, 25 Apr 2012 11:22:58 +0300 Message-ID: <83d36wfcf1.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1335342199 17330 80.91.229.3 (25 Apr 2012 08:23:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2012 08:23:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Steve Yegge Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 10:23:16 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 1SMxVK-0004vi-9a for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2012 10:23:14 +0200 Original-Received: from localhost ([::1]:33590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMxVJ-0002ML-LW for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2012 04:23:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMxVH-0002MD-EC for emacs-devel@gnu.org; Wed, 25 Apr 2012 04:23:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMxVB-0008Fx-Cx for emacs-devel@gnu.org; Wed, 25 Apr 2012 04:23:11 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMxVB-0008Fr-4h for emacs-devel@gnu.org; Wed, 25 Apr 2012 04:23:05 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M31000000D4JD00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 25 Apr 2012 11:22:43 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.249.186]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3100MXO0LTTAD0@a-mtaout22.012.net.il>; Wed, 25 Apr 2012 11:22:42 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:149984 Archived-At: > Date: Tue, 24 Apr 2012 17:24:57 -0700 > From: Steve Yegge > > 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. I'm quite sure this will break gobs of existing code in Emacs. The entire display engine, for starters.