From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Mondet Newsgroups: gmane.emacs.bugs Subject: bug#5134: $PATH with double slashes parsing bug Date: Sun, 6 Dec 2009 13:53:21 +0100 Message-ID: <42eabd860912060453i2e8523f6s4985cca429b77ed1@mail.gmail.com> Reply-To: Sebastien Mondet , 5134@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001517491f56a4e8e4047a0ed45b X-Trace: ger.gmane.org 1260106319 31848 80.91.229.12 (6 Dec 2009 13:31:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 13:31:59 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 06 14:31:52 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NHHDL-0003Mg-DE for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Dec 2009 14:31:51 +0100 Original-Received: from localhost ([127.0.0.1]:40628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHHDK-0003x1-Q9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Dec 2009 08:31:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHGpt-00026P-3X for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 08:07:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHGpo-00024e-7f for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 08:07:36 -0500 Original-Received: from [199.232.76.173] (port=48287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHGpo-00024X-2u for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 08:07:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50328) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NHGpn-0002ez-HZ for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 08:07:31 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB6D7PhY019477; Sun, 6 Dec 2009 05:07:27 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB6Ct5Bf017292; Sun, 6 Dec 2009 04:55:05 -0800 Resent-Date: Sun, 6 Dec 2009 04:55:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Sebastien Mondet Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 06 Dec 2009 12:55:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 5134 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.126010403217222 (code B ref -1); Sun, 06 Dec 2009 12:55:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 6 Dec 2009 12:53:52 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB6CrohU017215 for ; Sun, 6 Dec 2009 04:53:51 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHGcX-0004Dg-Jj for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 07:53:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHGcS-00049V-Qe for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 07:53:49 -0500 Original-Received: from [199.232.76.173] (port=54546 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHGcS-00049F-Jy for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 07:53:44 -0500 Original-Received: from mail-ew0-f215.google.com ([209.85.219.215]:62512) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHGcR-000180-Ts for bug-gnu-emacs@gnu.org; Sun, 06 Dec 2009 07:53:44 -0500 Original-Received: by ewy7 with SMTP id 7so3888503ewy.32 for ; Sun, 06 Dec 2009 04:53:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=zyhje/mGTTgaBsggoN/2g6fS6GXFm5uFCyIS53KUAYs=; b=Uro0bZPURkahYZhlhUsH5NwYJzIZGwNqpEzYOD1YtndWYGuYme668bi2ITKoNPF1uA T9c+LJ5xfMBrI9pkNWiiMCC+o4BUQYj4xj8Ja9w5DwRpBfsKcvxXUwdo9LInm6Yaguj1 lHc+YbWNodxqBf6uCRRhVv4JzqUx08JK2AVX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Jm90OaxoBHr1dJcVUlRdIJ0uEeVgPPOpnGqSz1gtjnhDVfqGkguab0CwK5kQuokLOi boQ10nKm7W6UYWDlQMapX++7o3nHvF4ubCHvevJsZpMTm8RRNyefEYyZIqAwFYrTexxq 3Jmw98NeI+YVv1Nq0iys6+O2YjXoy1o/9d3Hk= Original-Received: by 10.213.3.140 with SMTP id 12mr12949917ebn.20.1260104022548; Sun, 06 Dec 2009 04:53:42 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 06 Dec 2009 08:07:36 -0500 X-Mailman-Approved-At: Sun, 06 Dec 2009 08:30:21 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33311 Archived-At: --001517491f56a4e8e4047a0ed45b Content-Type: text/plain; charset=UTF-8 Hi, I discovered this strange behavior of eshell in emacs 23.1.1 (on MacOSX and Debian Lenny, both built from source, launched with '-q'). It seems that the presence of two slashes ("//") in a path breaks the search: Example: ~ $ export PATH=/usr//bin ~ $ which m4 which: no m4 in (/usr//bin) ~ $ export PATH=/usr/bin ~ $ which m4 /usr/bin/m4 ~ $ I mailed this to johnw@gnu.org (maintainer of eshell) who told me that it seems to be an Emacs issue. Cheers, Sebastien Mondet http://seb.mondet.org --001517491f56a4e8e4047a0ed45b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I discovered this strange behavio= r of eshell in emacs 23.1.1 (on MacOSX and Debian Lenny, both built from so= urce, launched with '-q').

It seems that the presence of two= slashes ("//") in a path breaks the search:

Example:

~ $ export PATH=3D/usr//bin
~ $ which m4
which: = no m4 in (/usr//bin)
~ $ export PATH=3D/usr/bin
~ $ which m4
/usr/= bin/m4
~ $


I mailed this to johnw@gnu.org (maintainer of eshell) who told me that it seems to be a= n Emacs issue.

Cheers,

Sebastien Mondet
http://seb.mondet.org


--001517491f56a4e8e4047a0ed45b--