From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#36490: 26.1; directory-files-recursively breaks when it encounters a directory named "~" Date: Thu, 11 Jul 2019 17:05:49 +0200 Message-ID: References: <87muhvyotd.fsf@gmx.de> <87zhlo1bfl.fsf@mouse.gnus.org> <83bly35igd.fsf@gnu.org> <8336jf5grv.fsf@gnu.org> <83wogr40pc.fsf@gnu.org> <83v9wb40bf.fsf@gnu.org> <83sgrf3yx5.fsf@gnu.org> <83a7dm3pl2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="155791"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36490@debbugs.gnu.org, erik_hahn@gmx.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 11 17:07:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlaf9-000eHd-AT for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2019 17:07:11 +0200 Original-Received: from localhost ([::1]:42538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlaf6-0006jn-JL for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2019 11:07:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45948) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlaf1-0006he-HY for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 11:07:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlaf0-0003cp-Af for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 11:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57794) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlaf0-0003a7-57 for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 11:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlaez-0001Kd-Oz for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 11:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jul 2019 15:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36490 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed fixed Original-Received: via spool by 36490-submit@debbugs.gnu.org id=B36490.15628575625040 (code B ref 36490); Thu, 11 Jul 2019 15:07:01 +0000 Original-Received: (at 36490) by debbugs.gnu.org; 11 Jul 2019 15:06:02 +0000 Original-Received: from localhost ([127.0.0.1]:38382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlae0-0001Iy-Bi for submit@debbugs.gnu.org; Thu, 11 Jul 2019 11:06:02 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:56442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hladv-0001Im-9L for 36490@debbugs.gnu.org; Thu, 11 Jul 2019 11:05:58 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hladq-0004hu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ere: 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: 209.51.188.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:162709 Archived-At: Eli Zaretskii writes: >> "~/" is not, and never will be, a valid file name in any OS that Emacs >> is going to support from now on. > > I don't think I follow you. "~" is a perfectly valid name of a > directory, and Emacs does support such names in general. So I don't > think I understand why you are saying this will not be a valid file > name. What did I miss? "~" and "~/" are not the same thing in any OS that Emacs is currently supporting. The first is a file name (including directories, which are just files), while the second is a file name with a slash after it. Inside Emacs, though, things are different. >> But changing that is probably not going to happen, so how about just >> clarifying the documentation in that function to say what "~" means >> explicitly instead of the caller having to guess? > > I don't object to documenting this. OK; I'll do so. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no