From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40202: directory-files-recursively docstring unclear about include-directories Date: Wed, 25 Mar 2020 21:57:16 +0200 Message-ID: <83eetg9pib.fsf@gnu.org> References: <87blokl5bt.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="113604"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, tomasn@posteo.net, 40202-done@debbugs.gnu.org To: Arun Isaac Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 25 20:58:16 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 1jHCAH-000TOO-Cm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Mar 2020 20:58:13 +0100 Original-Received: from localhost ([::1]:42426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHCAG-0000kU-CG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Mar 2020 15:58:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60255) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHCA7-0000kF-Kq for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 15:58:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHCA6-00066c-Ke for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 15:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51799) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHCA6-00066T-HS for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 15:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHCA6-0006Qy-GJ for bug-gnu-emacs@gnu.org; Wed, 25 Mar 2020 15:58:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Mar 2020 19:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40202 X-GNU-PR-Package: emacs Mail-Followup-To: 40202@debbugs.gnu.org, eliz@gnu.org, arunisaac@systemreboot.net Original-Received: via spool by 40202-done@debbugs.gnu.org id=D40202.158516625124688 (code D ref 40202); Wed, 25 Mar 2020 19:58:02 +0000 Original-Received: (at 40202-done) by debbugs.gnu.org; 25 Mar 2020 19:57:31 +0000 Original-Received: from localhost ([127.0.0.1]:57771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHC9a-0006Q7-SY for submit@debbugs.gnu.org; Wed, 25 Mar 2020 15:57:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHC9Z-0006Pu-5t for 40202-done@debbugs.gnu.org; Wed, 25 Mar 2020 15:57:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jHC9T-0005t1-4h; Wed, 25 Mar 2020 15:57:23 -0400 Original-Received: from [176.228.60.248] (port=2169 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jHC9R-0002Bv-Pq; Wed, 25 Mar 2020 15:57:22 -0400 In-Reply-To: (message from Arun Isaac on Thu, 26 Mar 2020 01:08:20 +0530) 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177715 Archived-At: > From: Arun Isaac > Cc: Lars Ingebrigtsen , Eli Zaretskii > Date: Thu, 26 Mar 2020 01:08:20 +0530 > > > Or a more prompting style > > > > "If INCLUDE-DIRECTORIES is non-nil, also include directories whose names > > matches REGEXP in the returned list." > > I did consider this style. But, it is slightly harder to parse. For > example, it is easy to misparse the sentence as "also include > directories (whose names match REGEXP in the returned list)" when the > correct parsing should be "also include (directories whose names match > REGEXP) in the returned list". IME, if some text causes parsing difficulties, it is best dropped altogether, especially if it is redundant. So that's what I did, see the emacs-27 branch. And with that, I'm closing this bug. Thanks for pointing out the ambiguity of the original text.