From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#9361: 24.0.50; default value of `dired-do-chmod' Date: Mon, 12 Sep 2011 14:39:47 +0300 Organization: JURTA Message-ID: <87k49e7zwc.fsf@mail.jurta.org> References: <03BC028E352D4173B985B3B34DF3193A@us.oracle.com> <87zkiyabea.fsf@mail.jurta.org> <1BDADB23B4434E0C9330F1B010F1E1CE@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315829151 4353 80.91.229.12 (12 Sep 2011 12:05:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2011 12:05:51 +0000 (UTC) Cc: 9361@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 14:05:47 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 1R35Gk-0004Al-MZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 14:05:46 +0200 Original-Received: from localhost ([::1]:34979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R35Gk-0008V1-0c for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2011 08:05:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R35Gg-0008U6-Fc for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 08:05:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R35Gf-00047B-B3 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 08:05:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R35Gf-000475-9X for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2011 08:05:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R35Ks-00020a-3t; Mon, 12 Sep 2011 08:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2011 12:10:02 +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.13158293757675 (code B ref 9361); Mon, 12 Sep 2011 12:10:02 +0000 Original-Received: (at 9361) by debbugs.gnu.org; 12 Sep 2011 12:09:35 +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 1R35KR-0001zj-2D for submit@debbugs.gnu.org; Mon, 12 Sep 2011 08:09:35 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R35KO-0001zb-5k for 9361@debbugs.gnu.org; Mon, 12 Sep 2011 08:09:33 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 972AA6E809C; Mon, 12 Sep 2011 05:05:10 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id BCE3C451C47C; Mon, 12 Sep 2011 05:05:09 -0700 (PDT) In-Reply-To: <1BDADB23B4434E0C9330F1B010F1E1CE@us.oracle.com> (Drew Adams's message of "Sun, 11 Sep 2011 08:00:58 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Sep 2011 08:10:02 -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:51060 Archived-At: > 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. There was followup, but off-list unfortunately. I replied to RMS with: "The values are file attributes of all marked files (modes for M, owners for O, groups or G, timestamps for T). But now I see that these values are not very useful, so I withdraw my proposal." And RMS encouraged to do this for just one marked file: "When there is just one marked file, the feature could indeed be useful. So I suggest you limit it to that case, and document clearly where the default comes from, so that people will know how they can make use of the feature." > 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). Isn't what `M-.' you proposed earlier should do, i.e. pull the value from the buffer where the command was called?