From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Erik Hahn Newsgroups: gmane.emacs.bugs Subject: bug#36490: 26.1; directory-files-recursively breaks when it encounters a directory named "~" Date: Wed, 03 Jul 2019 20:07:26 +0200 Message-ID: <87muhvyotd.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="113593"; mail-complaints-to="usenet@blaine.gmane.org" To: 36490@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 03 20:28:41 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 1hijzg-000TM6-O7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jul 2019 20:28:36 +0200 Original-Received: from localhost ([::1]:38408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hijzf-0007Sh-6z for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jul 2019 14:28:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56933) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hijgl-0005Pv-FG for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 14:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hijgk-000156-9c for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 14:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41155) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hijgk-000152-5r for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 14:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hijgj-0005yo-Vu for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 14:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Erik Hahn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jul 2019 18:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36490 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156217728622921 (code B ref -1); Wed, 03 Jul 2019 18:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jul 2019 18:08:06 +0000 Original-Received: from localhost ([127.0.0.1]:49976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hijfq-0005xd-8y for submit@debbugs.gnu.org; Wed, 03 Jul 2019 14:08:06 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hijfo-0005xV-I7 for submit@debbugs.gnu.org; Wed, 03 Jul 2019 14:08:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56425) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hijfl-0004Mi-44 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 14:08:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hijfh-0000Jh-5U for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 14:08:00 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:52023) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hijfb-0000EB-7b for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2019 14:07:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1562177266; bh=sYm2Vwx4Ce9jPBq1xBWJxNYw2R8SHPs8/JyX7BH1CfM=; h=X-UI-Sender-Class:From:To:Subject:Date; b=c6KvEwQusr/toAzCa+PwbYVGOML+mrvrMuZ4fjPkwcTDQ0ndhCUVvAa3iE1Cs7BXM NQQGpw/lAI5aVq85ajrIo1EewNr/sBcpYsM0R6pMsH2igKiv3nhxhu/vhFbe7k/19q pS78SRRa26gETCQlSs3pgrdVrDhY7OgSRrABmaDk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from p5 ([178.24.243.220]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M8QWA-1heLwo0vLM-004QxT for ; Wed, 03 Jul 2019 20:07:46 +0200 X-Provags-ID: V03:K1:Vjl3bjZ0o6qkIMSMTeUWbheJGMAnl7aIWNcYDkBjFKvlJJ82rN+ 1UKIOrNZBq7aX2zwMzIf3W2aGO/0xNymJSfsFGB1lmURqsR06jaKHTSxbggUxVT1N6Ag+cB Aj46NsV1fzw2rlM3/RcVZkytmV93iVoZo+/RFE9m3hxzqzCavH2hp97lL+vI7FMH7o6sJ/l SRaQyPzO2ZD3+Ji+BsUew== X-UI-Out-Filterresults: notjunk:1;V03:K0:Z9mMFNCQPlw=:Qdu90VghsNp0LvaTbuEfzY ZQglnNjwHxVdDFZ1KtKxJME3i31UIL9x23qDCHU0mwfSghqzoZLqr8FcXyhFDB8fdWYJr/YOd Jwppii90pos0D7uBkVtz/zOP5xE4UuipPNwYv16GOhNohxE2EytURpOx63Fk9Z/7xTsDD9zLe VYtOvwDP4Rzs+W9qTGocq6/GJt/rB2qtL/jGz6u4yXRJ5o7AadU0dnDUy9JDMSBBKacQXnvxU a9Cu/nTbhJMLopsbpy0QzpONi1mPsf7p//Tev4god0+KOW7F0XDif0drbILruWfqKG0O8eWQY ut+QJ1X0AzEjKFRc3NioGFo+IZ4D6I6STpdwFF1AUkN9xkna7i7dmM629PQSGTLhFH6Z3u9FV i+NaShdTGfk92k1GVROz9mYc9pQ7AnykWfrrNIXKqmulGzj/bfDhrwJ4nsUd1K5QgFrOUpu8D 6m/MG2Y2m6eP0ZwCJnjSjbsEjd8bzlbaOTUzNOgYfpTcav9p5U5Sm70hpxtx/31jxleGV6L70 h+2/KFgSrQ9UWm2CWhglmDQhYD+TcXw4ZR0Rc4rUuLk3LSbZCWifB+qHTNqoRRn7EvWsAORiH MEmXJBPPRafZkWz5EQamBQ7mX1cE+inZmAW/Rmjvx1vujlXyNz2n8PUwr1IWIpfOQd5YRYjii 1RtvCNVWhvKzCrJQHJdb5JTG0TsVEH3zbQXkp3O39Qp/S5WWXtJPUAzzWYPR7chMkunuEno+e Eo3YA4yz3e4HGZAw5doei/sLRA8xAJ78uKCv0/KMaAR8sN7ikSLpGPY+cpBwQ7/a4qpUgGs+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 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:162029 Archived-At: Call (directory-files-recursively DIR ".*") where DIR contains a subdirectory named "~" but is not the parent of your home directory. The function will recurse into your home directory. This is probably because (expand-file-name "~" ...) returns the home directory. In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, X toolkit) of 2018-11-03 built on p5 Windowing system distributor 'The X.Org Foundation', version 11.0.12003000 System Description: Gentoo Base System release 2.6 Recent messages: Configured using: 'configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --docdir=/usr/share/doc/emacs-26.1-r3 --htmldir=/usr/share/doc/emacs-26.1-r3/html --libdir=/usr/lib64 --program-suffix=-emacs-26 --infodir=/usr/share/info/emacs-26 --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-file-notification=inotify --enable-acl --with-dbus --without-modules --without-gameuser --with-gpm --without-kerberos --without-kerberos5 --without-lcms2 --with-xml2 --without-mailutils --without-selinux --with-gnutls --with-libsystemd --with-threads --without-wide-int --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --without-imagemagick --without-xft --without-cairo --without-libotf --without-m17n-flt --with-x-toolkit=lucid --with-xaw3d 'CFLAGS=-O2 -pipe -march=native' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB LUCID X11 THREADS LIBSYSTEMD Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_GB.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction