From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.bugs Subject: bug#40202: directory-files-recursively docstring unclear about include-directories Date: Wed, 25 Mar 2020 18:20:06 +0100 Message-ID: <87blokl5bt.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="8254"; mail-complaints-to="usenet@ciao.gmane.io" To: Arun Isaac , 40202@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 25 18:21:28 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jH9ia-000224-Gm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Mar 2020 18:21:28 +0100 Original-Received: from localhost ([::1]:39958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jH9iZ-0005io-Gi for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Mar 2020 13:21:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59027) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jH9iB-0005ic-Ry for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 13:21:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jH9iA-0000TM-QR for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 13:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51718) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jH9iA-0000T1-Dz for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 13:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jH9iA-00009u-91 for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 13:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Mar 2020 17:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40202 X-GNU-PR-Package: emacs Original-Received: via spool by 40202-submit@debbugs.gnu.org id=B40202.1585156820538 (code B ref 40202); Wed, 25 Mar 2020 17:21:02 +0000 Original-Received: (at 40202) by debbugs.gnu.org; 25 Mar 2020 17:20:20 +0000 Original-Received: from localhost ([127.0.0.1]:57691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jH9hT-00008a-MQ for submit@debbugs.gnu.org; Wed, 25 Mar 2020 13:20:19 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:40067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jH9hQ-00008C-HG for 40202@debbugs.gnu.org; Wed, 25 Mar 2020 13:20:18 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C7EDB160060 for <40202@debbugs.gnu.org>; Wed, 25 Mar 2020 18:20:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1585156809; bh=MiZ95WmOR63Gnxveifs4u7lm/JLwGcLlhjYb8XXdLbM=; h=From:To:Subject:Date:From; b=N67+sSIFB2B5YAR6AxmU+YlHDX7mV2Gt2YVAUe32A99sMzNhmZeGJrQrWnphc4ghs sXg4RTbu5ZHNbyomlpZsAD59Ox9CxveRQY6FyfteyERwgCPiVEWC4vIGTBHpvTXY+c tpc3DJ1o6XZb4vhOAmao8QCR6VcsnQbuPIqpYKRqQCjRvICsUGTVzCcxM5V396St/c xxeaA1ySGTLAnu4lKLTIjCaR7GXjLXdObJyQYJa4/HDuCd9yHrzTRUKnl/Hk5pN2Ci 6eOh6XhMsQWyxvV5YQybIxJ76Z2CXl/nVyc3h7Z07T/QwaqCykEsrm3qgYXhG0giGa kvH3GBnJp1FaQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48nZcn0TY8z6tmZ; Wed, 25 Mar 2020 18:20:08 +0100 (CET) In-Reply-To: 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177712 Archived-At: Arun Isaac writes: > Hi, > > The docstring of directory-file-recursively in lisp/files.el is unclear > about the include-directories optional argument. It currently reads > > "Optional argument INCLUDE-DIRECTORIES non-nil means also include > in the output directories whose names match REGEXP." > > Perhaps this could be rewritten as > > "If optional argument INCLUDE-DIRECTORIES is non-nil, the returned list > also includes directories whose names match REGEXP." Or a more prompting style "If INCLUDE-DIRECTORIES is non-nil, also include directories whose names matches REGEXP in the returned list." I think it is not necessary to repeat that the argument is optional, but maybe that is standard. ? Best regards -- Tomas