From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#9361: 24.0.50; default value of `dired-do-chmod' Date: Sun, 11 Sep 2011 08:00:58 -0700 Message-ID: <1BDADB23B4434E0C9330F1B010F1E1CE@us.oracle.com> References: <03BC028E352D4173B985B3B34DF3193A@us.oracle.com><87zkiyabea.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1315753317 24833 80.91.229.12 (11 Sep 2011 15:01:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2011 15:01:57 +0000 (UTC) Cc: 9361@debbugs.gnu.org To: "'Lars Magne Ingebrigtsen'" , "'Juri Linkov'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 17:01:52 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R2lXb-000067-Ks for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Sep 2011 17:01:51 +0200 Original-Received: from localhost ([::1]:43798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2lXa-0004fr-QC for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Sep 2011 11:01:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2lXX-0004fl-Sx for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2011 11:01:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2lXW-0003GL-K7 for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2011 11:01:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2lXW-0003GH-GN for bug-gnu-emacs@gnu.org; Sun, 11 Sep 2011 11:01:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R2lbd-0001Cl-U2; Sun, 11 Sep 2011 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Sep 2011 15:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9361 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 9361-submit@debbugs.gnu.org id=B9361.13157535244586 (code B ref 9361); Sun, 11 Sep 2011 15:06:01 +0000 Original-Received: (at 9361) by debbugs.gnu.org; 11 Sep 2011 15:05:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2lb1-0001Bu-Bk for submit@debbugs.gnu.org; Sun, 11 Sep 2011 11:05:23 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2lay-0001Bn-VI for 9361@debbugs.gnu.org; Sun, 11 Sep 2011 11:05:22 -0400 Original-Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p8BF12cS012379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 11 Sep 2011 15:01:04 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p8BF10Ut020263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Sep 2011 15:01:01 GMT Original-Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p8BF0thZ007389; Sun, 11 Sep 2011 10:00:55 -0500 Original-Received: from dradamslap1 (/10.159.62.110) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 11 Sep 2011 08:00:54 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcxwK2lVqZ5TkMXWQK+eCyEr0BeapAAZrcHA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 In-Reply-To: X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090205.4E6CCD30.00B9,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 11 Sep 2011 11:06:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50890 Archived-At: > I agree, so I'm closing this report. I disagree, so I'm reopening it. In the _very_ long thread cited by Juri, there was only one comment on this proposal for a default value for `dired-do-chmod' etc. It was from RMS: "I am not sure that this is very useful. What are the values you think of providing?" There was no followup, and this was never approved. Juri makes the argument that this is handy because it lets you easily copy the permissions from "the marked file" and reuse them elsewhere. That is no argument when more than one file is marked. In fact it might be an argument for using as default the file of the current (cursor) line. It makes absolutely no sense to privilege the first of a non-singleton set of marked files. In reality, it is an argument for having a separate command to copy the settings (all of them) from the current line and then having, as default value for each of the `*ch*' commands, the value taken from that copied setting. And this would apply across Dired buffers, giving you an easy way to apply a particular set of values (settings). It could perhaps also apply to other Dired commands, such as `touch' (dunno). The point is that if we are going to copy settings from a particular file in order to make them available for, essentially, pasting operations to other files, then the target file being copied from should be clear. The copy operation should be an explicit user choice, not something implicit, based only on the first marked file (why not the last? or the 23rd?).