From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#27982: 25.1.50; expand-file-name docstring on how to traverse the filesystem Date: Wed, 30 Aug 2017 17:43:51 +0200 Message-ID: <86efrtysaw.fsf@members.fsf.org> References: <87tw1lkjt8.fsf@members.fsf.org> <83r2wotz6i.fsf@gnu.org> <86bmn6o4tr.fsf@members.fsf.org> <83378i9nrv.fsf@gnu.org> <86wp5um6ss.fsf@members.fsf.org> <83inhc99lq.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1504107937 17280 195.159.176.226 (30 Aug 2017 15:45:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 15:45:37 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 25.2.1 Cc: 27982-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 30 17:45:30 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dn5B4-0003Os-RP for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 17:45:14 +0200 Original-Received: from localhost ([::1]:51240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn5BB-0007GM-RB for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 11:45:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn5Aw-00070N-3p for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 11:45:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn5As-00054r-SC for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 11:45:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dn5As-00054h-Nu for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 11:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dn5As-0003Xj-HY for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 11:45:02 -0400 Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2017 15:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27982 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 27982@debbugs.gnu.org, youngfrog@members.fsf.org, youngfrog@members.fsf.org Original-Received: via spool by 27982-done@debbugs.gnu.org id=D27982.150410784213491 (code D ref 27982); Wed, 30 Aug 2017 15:45:02 +0000 Original-Received: (at 27982-done) by debbugs.gnu.org; 30 Aug 2017 15:44:02 +0000 Original-Received: from localhost ([127.0.0.1]:34724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dn59t-0003VS-MV for submit@debbugs.gnu.org; Wed, 30 Aug 2017 11:44:01 -0400 Original-Received: from mailrelay105.isp.belgacom.be ([195.238.20.132]:47277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dn59r-0003V4-5T for 27982-done@debbugs.gnu.org; Wed, 30 Aug 2017 11:44:00 -0400 X-Belgacom-Dynamic: yes IronPort-PHdr: 9a23:DiJowB8MAMKgMf9uRHKM819IXTAuvvDOBiVQ1KB30uMcTK2v8tzYMVDF4r011RmSDNWds6oMotGVmpioYXYH75eFvSJKW713fDhB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AQsBgy9EgTWOFXSPXwMBAQEBAQEGgSYBAy8BlXeCEoVHAoQmQBgBAQEBAQEBAQEBAWoogjMkAYJAAQEBAQIBViMQCAMUAQwlDwEpHgYTiiQFDK54i0EBAQEBAQUCASWDKoMJhVKKSh8FkSWHCYg+pzeWQx84gQ0yITGGHoFQPjaKbQEBAQ Original-Received: from 12.26-136-217.adsl-dyn.isp.belgacom.be (HELO Aurora) ([217.136.26.12]) by relay.skynet.be with ESMTP; 30 Aug 2017 17:43:52 +0200 In-reply-to: <83inhc99lq.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:136380 Archived-At: Hi Eli, Thanks for your help but let me close this. I initially thought it was "obviously wrong", but it is not. I think the wording is slightly misleading (e.g. "dirname" vs "dir-as-file-name"), but nothing important. Nicolas. Eli Zaretskii writes: >> From: Nicolas Richard >> Cc: 27982@debbugs.gnu.org >> Date: Wed, 23 Aug 2017 21:18:53 +0200 >> >> Ok so now I'm saying that, with the suggestion in the docstring, output >> will be different if "dirname" ends in a slash. > > Of course. directory-file-name and file-name-directory look at the > slashes, so having one more slash at the end changes everything. > There's nothing new here. > > So where do we go from here, in the context of this bug report? What > would you propose to change, where, and why? > > Thanks. --