From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: suggestion for set-file-modes Date: Mon, 18 Feb 2008 00:59:21 +0200 Organization: JURTA Message-ID: <87tzk7i3zq.fsf@jurta.org> References: <200801201812.m0KICxYl009632@sallyv1.ics.uci.edu> <871w7jqiic.fsf@cadilhac.name> <200802112200.m1BM0pke028675@sallyv1.ics.uci.edu> <87r6fjoybf.fsf@cadilhac.name> <87y79ku2tf.fsf@jurta.org> <87r6fc33g5.fsf@cadilhac.name> <87ir0oscs1.fsf@jurta.org> <87lk5k30cz.fsf@cadilhac.name> <873arso1bv.fsf@jurta.org> <87d4qw2wf9.fsf@cadilhac.name> <877ih3nt8a.fsf@jurta.org> <87hcg7ns4w.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1203289535 23352 80.91.229.12 (17 Feb 2008 23:05:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2008 23:05:35 +0000 (UTC) Cc: Dan, Nicolaescu , =?utf-8?Q?Micha=C3=ABl?= Cadilhac , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 18 00:05:58 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQsZm-0000ku-PA for ged-emacs-devel@m.gmane.org; Mon, 18 Feb 2008 00:05:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQsZI-0003rG-Dm for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 18:05:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQsYr-0003UW-Qf for emacs-devel@gnu.org; Sun, 17 Feb 2008 18:04:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQsYq-0003T0-2u for emacs-devel@gnu.org; Sun, 17 Feb 2008 18:04:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQsYp-0003Sq-Or for emacs-devel@gnu.org; Sun, 17 Feb 2008 18:04:39 -0500 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQsYl-0000Y9-Oc; Sun, 17 Feb 2008 18:04:36 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JQsYi-000Pbm-W4; Mon, 18 Feb 2008 01:04:33 +0200 In-Reply-To: <87hcg7ns4w.fsf@catnip.gol.com> (Miles Bader's message of "Mon, 18 Feb 2008 07:18:55 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Scanner-Signature: 367251710ae6d8069d2a2bb66b314d03 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2248 [Feb 17 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89410 Archived-At: >> `-rw-rwxr-x' seems easier to type than `a+r,ug+w,go+x' > > You needn't type that, of course; I'd probably use "ug=rwx,o=rx". > Familiar, easy to type, and to understand. > >> but we don't need decide what notation is preferable as we can >> support all of them. > > Why complicate the code to support the "-rw-rwxr-x" format though? It's > not used by any other software, and offers no obvious advantage in > usability. The only software I know that supports reading the "-rw-rwxr-x" format is Wdired. Supporting it in set-file-modes is not very necessary, but the problem came from the patch proposed by Michaƫl where the prompt is displayed as: File modes, octal or symbolic (current: -r-xrw---): The string inside parentheses before the colon looks very like the default value, so it invites the user to type a new value in the same format. -- Juri Linkov http://www.jurta.org/emacs/