From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.bugs Subject: bug#12351: 24.1; parse-colon-path turns empty paths into nil Date: Mon, 31 Dec 2012 07:58:27 -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 X-Trace: ger.gmane.org 1356958740 25045 80.91.229.3 (31 Dec 2012 12:59:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Dec 2012 12:59:00 +0000 (UTC) Cc: 12351@debbugs.gnu.org, Wolfgang Jenkner To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 31 13:59:16 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 1TpexW-0006x7-FJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 13:59:14 +0100 Original-Received: from localhost ([::1]:35542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpexH-0003x4-MB for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Dec 2012 07:58:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpexC-0003wy-IC for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2012 07:58:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TpexB-000052-HG for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2012 07:58:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TpexB-00004x-Df for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2012 07:58:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TpeyI-0006Vo-CY for bug-gnu-emacs@gnu.org; Mon, 31 Dec 2012 08:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dave Abrahams Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Dec 2012 13:00:02 +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.135695878324983 (code B ref 12351); Mon, 31 Dec 2012 13:00:02 +0000 Original-Received: (at 12351) by debbugs.gnu.org; 31 Dec 2012 12:59:43 +0000 Original-Received: from localhost ([127.0.0.1]:37780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tpexy-0006Ut-8h for submit@debbugs.gnu.org; Mon, 31 Dec 2012 07:59:43 -0500 Original-Received: from mail-vb0-f48.google.com ([209.85.212.48]:54601) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tpexv-0006Uk-Dg for 12351@debbugs.gnu.org; Mon, 31 Dec 2012 07:59:40 -0500 Original-Received: by mail-vb0-f48.google.com with SMTP id fc21so12688274vbb.35 for <12351@debbugs.gnu.org>; Mon, 31 Dec 2012 04:58:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type:x-gm-message-state; bh=Xd2GjYjFt4ONGVL4EyEVIU6P0lSQ5lphDryCiaLT8Us=; b=l9PjpmD/KOMHNeL0s8NhOK5YRgZW1cyvmOXhOa6YAL/ZaKlCRGtE6usvFh7N3L+JtV wGAOh7eg3pninYjYu+r2veiL8M1lL9JRBiGM050sy3oRJQKIl3I/kDL3NBX6UEn4XPeC PlTt4ellWDW/lLliSnQIInnPfPsatyLl0SyHwaJ5RL3JQyqe+mrB6SkqyAiQpjbVgTvb aJevt71Jz+SVHT8Ffa9Nnj5FEUDdC0CPDxNWU+ZUF925YcWDg8AcagDuugVhFmT0iW/v HlfOpzGFKzFlENsJOlxeehmwfyMpta7mZ+uhRXqtFoyUf2y2G1tKcVKomFc9D4JIKwMw tF3g== X-Received: by 10.58.221.228 with SMTP id qh4mr64499122vec.49.1356958709361; Mon, 31 Dec 2012 04:58:29 -0800 (PST) Original-Received: from pluto.boostpro.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com. [207.172.223.249]) by mx.google.com with ESMTPS id jx16sm36297032veb.5.2012.12.31.04.58.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Dec 2012 04:58:28 -0800 (PST) Original-Received: by pluto.boostpro.com (Postfix, from userid 501) id A8CE69B21D0; Mon, 31 Dec 2012 07:58:27 -0500 (EST) In-Reply-To: (Glenn Morris's message of "Mon, 31 Dec 2012 02:07:15 -0500") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (darwin) X-Gm-Message-State: ALoCoQna1xy5Orbmi0yDmuftt+JqFu43E3iFxHl4IZVQKqLKKOeIEgW0F1ICUwkduK3oxTdCw70S 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:69233 Archived-At: on Mon Dec 31 2012, Glenn Morris wrote: > 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. OK, the docstring doesn't match the manual. -- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost