From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24150: 26.0.50; New command: dired-create-empty-file Date: Wed, 01 Aug 2018 09:24:13 +0300 Message-ID: <83bmamob8y.fsf@gnu.org> References: <87mv8m3yya.fsf@calancha-pc> <83wp7mn3go.fsf@gnu.org> <97b67d5a-fc1e-47ea-b6b1-4154206ed5f9@default> <87bmbfwp4x.fsf@calancha-pc.dy.bbexcite.jp> <879bc31155c8718745f44321382e9ecb@webmail.orcon.net.nz> <87lgaa9uq8.fsf@calancha-pc.dy.bbexcite.jp> <83pnzi1dpy.fsf@gnu.org> <87va9661uy.fsf@calancha-pc.dy.bbexcite.jp> <83r2jprs1h.fsf@gnu.org> <87effk1065.fsf@calancha-pc.dy.bbexcite.jp> <83tvofnzq3.fsf@gnu.org> <87o9emoed5.fsf@calancha-pc.dy.bbexcite.jp> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533104592 12284 195.159.176.226 (1 Aug 2018 06:23:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2018 06:23:12 +0000 (UTC) Cc: psainty@orcon.net.nz, tzz@lifelogs.com, clement.pit@gmail.com, michael.albinus@gmx.de, 24150@debbugs.gnu.org, sdl.web@gmail.com To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 01 08:23:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkkXI-000315-2t for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Aug 2018 08:23:04 +0200 Original-Received: from localhost ([::1]:33687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkkZM-0005IE-TY for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Aug 2018 02:25:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkkZG-0005I5-De for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2018 02:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkkZC-0006AK-EP for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2018 02:25:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60120) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkkZC-0006A9-AM for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2018 02:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fkkZC-0000ax-44 for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2018 02:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Aug 2018 06:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24150 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24150-submit@debbugs.gnu.org id=B24150.15331046582124 (code B ref 24150); Wed, 01 Aug 2018 06:25:02 +0000 Original-Received: (at 24150) by debbugs.gnu.org; 1 Aug 2018 06:24:18 +0000 Original-Received: from localhost ([127.0.0.1]:36905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkkYU-0000YB-0y for submit@debbugs.gnu.org; Wed, 01 Aug 2018 02:24:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkkYS-0000Xi-BQ for 24150@debbugs.gnu.org; Wed, 01 Aug 2018 02:24:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkkYM-0005ux-CK for 24150@debbugs.gnu.org; Wed, 01 Aug 2018 02:24:11 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkkYH-0005tR-UV; Wed, 01 Aug 2018 02:24:06 -0400 Original-Received: from [176.228.60.248] (port=2133 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fkkYF-00086o-T3; Wed, 01 Aug 2018 02:24:04 -0400 In-reply-to: <87o9emoed5.fsf@calancha-pc.dy.bbexcite.jp> (message from Tino Calancha on Wed, 01 Aug 2018 14:16:54 +0900) 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: 208.118.235.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:149148 Archived-At: > From: Tino Calancha > Cc: psainty@orcon.net.nz, tzz@lifelogs.com, clement.pit@gmail.com, michael.albinus@gmx.de, 24150@debbugs.gnu.org, sdl.web@gmail.com > Date: Wed, 01 Aug 2018 14:16:54 +0900 > > > That's fine. But my comment was about the doc string of > > dired-create-empty-file. > Ahhhh, I see. > Hummmm, I think we assume that Dired will add the new entry; > similarly as `dired-do-delete', which deletes the file and > the entry from the Dired buffer: in the docstring it's not mentioned > that this command drop the entry as well. > It's not mentioned in `dired-create-directory' either. > > Every command prefixed with 'dired-' should add/drop buffer entries > automatically as needed. > I think this last sentence belongs to the manual more than the > docstrings (probably already there). Fair enough. I think the doc strings do need to say that the file name is added/modified in the Dired buffer, but that's a separate issue. Maybe to make the doc string of dired-create-empty-file hint at that, instead "create empty file" say something like "add an empty file to the current directory"?