From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12351: 24.1; parse-colon-path turns empty paths into nil Date: Sun, 30 Dec 2012 22:22:09 +0200 Message-ID: <83licfjnny.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1356898981 2603 80.91.229.3 (30 Dec 2012 20:23:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Dec 2012 20:23:01 +0000 (UTC) Cc: 12351@debbugs.gnu.org To: Dave Abrahams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 30 21:23:17 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TpPPg-0003f3-Bu for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Dec 2012 21:23:16 +0100 Original-Received: from localhost ([::1]:44675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpPPR-0003R4-I4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Dec 2012 15:23:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpPPO-0003Qy-07 for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2012 15:22:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TpPPM-0001ZM-Kx for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2012 15:22:57 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpPPM-0001ZA-Hq for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2012 15:22:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TpPQP-0004JR-Ih for bug-gnu-emacs@gnu.org; Sun, 30 Dec 2012 15:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Dec 2012 20:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12351 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12351-submit@debbugs.gnu.org id=B12351.135689898816498 (code B ref 12351); Sun, 30 Dec 2012 20:24:01 +0000 Original-Received: (at 12351) by debbugs.gnu.org; 30 Dec 2012 20:23:08 +0000 Original-Received: from localhost ([127.0.0.1]:37291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TpPPY-0004I3-2W for submit@debbugs.gnu.org; Sun, 30 Dec 2012 15:23:08 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:55024) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TpPPU-0004Hu-4r for 12351@debbugs.gnu.org; Sun, 30 Dec 2012 15:23:07 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MFV00G001PC4J00@a-mtaout23.012.net.il> for 12351@debbugs.gnu.org; Sun, 30 Dec 2012 22:21:57 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MFV00GKD1WK4H10@a-mtaout23.012.net.il>; Sun, 30 Dec 2012 22:21:57 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:69200 Archived-At: > From: Dave Abrahams > Date: Sun, 30 Dec 2012 14:53:44 -0500 > Cc: 12351@debbugs.gnu.org > > > Obviously we need the nils to remain, so I will put them back and just > > mention that empty elements return nil. It's not worth handling the > > minor aesthetic annoyance of (nil nil) specially. > > FWIW, I disagree. IMO you should at least consider fixing eshell and any > other things that break because of this change. This discontinuity in > behavior is not merely aesthetic; it makes parse-colon-path difficult to > use correctly and leads to hard-to-find bugs in any code that fails to > account for the possible nils. This whole discussion is rather futile, unless the opinions are also backed up by real-life use cases. Can you tell why the previous behavior made parse-colon-path difficult to use, and in what situations?