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: Wed, 24 Aug 2011 21:45:05 +0300 Organization: JURTA Message-ID: <87zkiyabea.fsf@mail.jurta.org> References: <03BC028E352D4173B985B3B34DF3193A@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314212142 24141 80.91.229.12 (24 Aug 2011 18:55:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Aug 2011 18:55:42 +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 Wed Aug 24 20:55:35 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 1QwIbs-00036f-O7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Aug 2011 20:55:32 +0200 Original-Received: from localhost ([::1]:46516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwIbs-0008Lq-CO for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Aug 2011 14:55:32 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwIbp-0008LT-FJ for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2011 14:55:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwIbo-0000VQ-Hn for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2011 14:55:29 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwIbo-0000VM-F6 for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2011 14:55:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QwIeI-0002AZ-3y; Wed, 24 Aug 2011 14:58: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: Wed, 24 Aug 2011 18:58: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: Original-Received: via spool by 9361-submit@debbugs.gnu.org id=B9361.13142122798327 (code B ref 9361); Wed, 24 Aug 2011 18:58:02 +0000 Original-Received: (at 9361) by debbugs.gnu.org; 24 Aug 2011 18:57:59 +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 1QwIeE-0002AF-6x for submit@debbugs.gnu.org; Wed, 24 Aug 2011 14:57:59 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QwIe9-0002A4-FN for 9361@debbugs.gnu.org; Wed, 24 Aug 2011 14:57:54 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 32E576E8073; Wed, 24 Aug 2011 11:55:18 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 08640451C28D; Wed, 24 Aug 2011 11:55:15 -0700 (PDT) In-Reply-To: <03BC028E352D4173B985B3B34DF3193A@us.oracle.com> (Drew Adams's message of "Wed, 24 Aug 2011 09:10:05 -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: Wed, 24 Aug 2011 14:58: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:50307 Archived-At: > For another thing, the default value comes from the current permissions > of the first file that is marked. Privileging that file makes little or > no sense when there are multiple files marked. A better value would > come from the _minimum_ permissions for each of u, g, o, among all the > files marked. A different argument could be made that the permissions > of the current line should be used - to apply them without editing to > all of the marked files. It's intended to do something like this in 24.2 as described in http://thread.gmane.org/gmane.emacs.devel/81414/focus=82988 > The best approach is not to provide any default value here. A user of > this Emacs command needs to know UNIX `chmod' anyway, and if known then > it is not hard to type the permissions from scratch. If you don't want the default value, just don't use it, don't type M-n. But for those who like to reduce typing and remembering different syntaxes it intentionally uses the most verbose and easy to remember syntax that is closest to the syntax of modes displayed in the left column of the Dired buffer.