From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.bugs Subject: bug#35367: 26.2; `dired-copy-how-to-fn' and HOW-TO arg of `dired-create-files' Date: Thu, 11 Jul 2019 20:20:27 -0700 Message-ID: <17843.1562901627@alto> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="59746"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35367@debbugs.gnu.org, Lars Ingebrigtsen To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 12 05:21:07 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 1hlm7O-000FNV-SU for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jul 2019 05:21:06 +0200 Original-Received: from localhost ([::1]:46414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlm7N-0006DB-Qu for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2019 23:21:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57221) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlm7L-0006D5-Je for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 23:21:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlm7K-0002ZW-MS for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 23:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58513) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlm7K-0002Yq-Gk for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 23:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlm7K-0006bP-Ap for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2019 23:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kupfer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jul 2019 03:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35367 X-GNU-PR-Package: emacs Original-Received: via spool by 35367-submit@debbugs.gnu.org id=B35367.156290163925332 (code B ref 35367); Fri, 12 Jul 2019 03:21:02 +0000 Original-Received: (at 35367) by debbugs.gnu.org; 12 Jul 2019 03:20:39 +0000 Original-Received: from localhost ([127.0.0.1]:39101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlm6x-0006aW-Ef for submit@debbugs.gnu.org; Thu, 11 Jul 2019 23:20:39 -0400 Original-Received: from shell1.rawbw.com ([198.144.192.42]:14385 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlm6t-0006aL-81 for 35367@debbugs.gnu.org; Thu, 11 Jul 2019 23:20:36 -0400 Original-Received: from alto (96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id x6C3KSUx086379 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Jul 2019 20:20:33 -0700 (PDT) (envelope-from mkupfer@alum.berkeley.edu) X-Authentication-Warning: shell1.rawbw.com: Host 96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133] claimed to be alto In-Reply-To: Your message of "Thu, 11 Jul 2019 07:18:26 -0700." X-Mailer: MH-E 8.6+git; nmh 1.6; GNU Emacs 26.2.90 Content-ID: <17842.1562901627.1@alto> 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:162748 Archived-At: Drew Adams wrote: > Kinda seems odd that we'd have created a > variable for something that someone _might_ > want to do (but probably never has done). > > Usually, when someone proposes something > like that it gets rejected as fulfilling > only a hypothetical need. Indeed. Maybe there were consumers of dired-copy-how-to-fn back in the 1990s. While poking around in the sources I noticed a comment in vc-dir.el saying that it *used to be* based on dired. (Or maybe whoever was the Emacs maintainer at the time thought dired-copy-how-to-fn was a cool idea and didn't insist on having a consumer for it.) > Anyway, if the variable will stay then it > would be great if the doc could be fixed > a bit, based on some of what you said here. I can try proposing clearer wording for the dired-do-create-files docstring, though it'll probably be several days before I can get to it. I want to be cautious about proposing ways to use dired-copy-how-to-fn. My earlier comments were based on my reading of the documentation and a tiny bit of testing. I wasn't involved with Emacs development when the dired how-to stuff was introduced, so I don't have any special insights into what the thinking was at the time. Though the more I think about my tarfile example, the more I think it'd be a fun little hack. mike