From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63557: 26.3; Doc string of `find-file-run-dired' Date: Thu, 18 May 2023 18:46:30 +0300 Message-ID: <83ilcpve09.fsf@gnu.org> References: <83v8gqw6ut.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40181"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63557-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 18 17:48:04 2023 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 1pzfrH-000ADo-Kd for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 May 2023 17:48:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzfqz-0004ZU-Mn; Thu, 18 May 2023 11:47:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzfqL-0004GE-QV for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 11:47:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pzfqI-0007dP-R0 for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 11:47:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pzfqI-0006Rm-Mb for bug-gnu-emacs@gnu.org; Thu, 18 May 2023 11:47:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 May 2023 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63557 X-GNU-PR-Package: emacs Mail-Followup-To: 63557@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 63557-done@debbugs.gnu.org id=D63557.168442482224773 (code D ref 63557); Thu, 18 May 2023 15:47:02 +0000 Original-Received: (at 63557-done) by debbugs.gnu.org; 18 May 2023 15:47:02 +0000 Original-Received: from localhost ([127.0.0.1]:54232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzfqH-0006RS-Ly for submit@debbugs.gnu.org; Thu, 18 May 2023 11:47:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pzfqF-0006RE-7l for 63557-done@debbugs.gnu.org; Thu, 18 May 2023 11:47:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzfq4-0007av-5J; Thu, 18 May 2023 11:46:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=b7XbIv/d/8kXRUySwooNy0lTrYxRxdrgdwIz6VtTur4=; b=bbpZiIy3FTPm IxURLOi0cCkoQ5NVxDzkmrQQanacouXw27ArYnr6tiDocwDYhA/QIQxORrDdT556kq6vCUgRuCHwj WvEZtWxKIrlhXqxmgPUE/XWvORKqL3vqillaD1jd+zvUpECdEMhjLjpDD0KktOhS4vuH0OjoTcvYn QI1YbeAyeIftGE5rgebHfUM41GaDZICzpKPIG6CN84xod4wRs51QQYQRROnedcCzoMv+pA0kQO347 I/DVwqCumPB3QbWbKmY2JUwu2ayhTtae77m4TnG24PKRz8V0U2X07r9byfLOWANiR+5mzkuZwhyEn njwx8NcfN6iI8eXlqnUHpA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzfpa-0000AH-5W; Thu, 18 May 2023 11:46:32 -0400 In-Reply-To: (message from Drew Adams on Thu, 18 May 2023 15:35:03 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261940 Archived-At: > From: Drew Adams > CC: "63557@debbugs.gnu.org" <63557@debbugs.gnu.org> > Date: Thu, 18 May 2023 15:35:03 +0000 > > > > Instead of just saying that non-nil allows `find-file' to visit > > > directories, say also (as does (emacs) `Visiting') that otherwise (i.e., > > > nil) raises an error when the arg is a directory name. > > > > How would you interpret "allows" in any other sense? What could "does > > not allow" mean when the value is nil? > > IOW, I don't see why would we need to spoon-feed the user in this > > case. The meaning of nil is crystal clear to me. > > That you can't visit a directory is one thing. The doc string says "allows", not "can". > That trying to do that raises an error is a > different thing. Another possible behavior > that doesn't visit a directory is to do nothing. > A third is to show a message, without raising > an error. > > Not being able to do something is not the same > as having an error raised if you try to do it. You are splitting hair for no good reason. Closing.