From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#12351: 24.1; parse-colon-path turns empty paths into nil Date: Mon, 31 Dec 2012 02:07:15 -0500 Message-ID: References: <83licfjnny.fsf@gnu.org> <85fw2nq9mi.fsf@iznogoud.viz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1356937686 1054 80.91.229.3 (31 Dec 2012 07:08:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Dec 2012 07:08:06 +0000 (UTC) Cc: 12351@debbugs.gnu.org, Wolfgang Jenkner To: Dave Abrahams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 31 08:08:22 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 1TpZTq-00013f-V0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 08:08:15 +0100 Original-Received: from localhost ([::1]:46111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpZTc-000748-34 for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 02:08:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpZTa-000741-7O for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2012 02:07:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TpZTW-0001p0-V3 for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2012 02:07:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpZTW-0001ou-1j for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2012 02:07:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TpZUb-0003sA-Ty for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2012 02:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Dec 2012 07:09: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.135693771014843 (code B ref 12351); Mon, 31 Dec 2012 07:09:01 +0000 Original-Received: (at 12351) by debbugs.gnu.org; 31 Dec 2012 07:08:30 +0000 Original-Received: from localhost ([127.0.0.1]:37565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TpZU5-0003rL-4s for submit@debbugs.gnu.org; Mon, 31 Dec 2012 02:08:29 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:52645) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TpZU1-0003rD-J1 for 12351@debbugs.gnu.org; Mon, 31 Dec 2012 02:08:26 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TpZSt-000265-Sk; Mon, 31 Dec 2012 02:07:15 -0500 X-Spook: target nuclear NWO warfare AVIP national information X-Ran: m{=r!:;([xn*Avas-rPoUzr]}VMaL!%]dZ8fU^dvsQ/1ki'"y"(!K'zsL3X7T4IFqU0W5j X-Hue: blue X-Attribution: GM In-Reply-To: (Glenn Morris's message of "Mon, 31 Dec 2012 01:56:17 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) 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:69225 Archived-At: PS parse-colon-path is explicitly documented to return nils: -- Function: parse-colon-path path This function takes a search path string such as the value of the `PATH' environment variable, and splits it at the separators, returning a list of directory names. `nil' in this list means the current directory. Although the function's name says "colon", it actually uses the value of `path-separator'. (parse-colon-path ":/foo:/bar") => (nil "/foo/" "/bar/") The only use of parse-colon-path in "core" Emacs is in setting cd-path, which needs the nil, as we have seen.