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: Sun, 17 Feb 2008 23:54:30 +0200 Organization: JURTA Message-ID: <87bq6fp841.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> <874pc8s82w.fsf@catnip.gol.com> <87tzk8l671.fsf@jurta.org> <877ih42v9h.fsf@cadilhac.name> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203285725 12163 80.91.229.12 (17 Feb 2008 22:02:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2008 22:02:05 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org, Miles Bader To: michael@cadilhac.name (=?utf-8?Q?Micha=C3=ABl?= Cadilhac) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 17 23:02:28 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 1JQrab-0008Mu-4L for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 23:02:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQra5-0004CL-F5 for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 17:01:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQrZJ-0003X4-Kh for emacs-devel@gnu.org; Sun, 17 Feb 2008 17:01:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQrZI-0003W9-0a for emacs-devel@gnu.org; Sun, 17 Feb 2008 17:01:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQrZH-0003Vx-Nc for emacs-devel@gnu.org; Sun, 17 Feb 2008 17:01:03 -0500 Original-Received: from anti-4.kiev.sovam.com ([62.64.120.202]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQrZD-0004mw-Sq; Sun, 17 Feb 2008 17:01:00 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by anti-4.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JQrZA-0002Kt-7h; Mon, 18 Feb 2008 00:00:56 +0200 In-Reply-To: <877ih42v9h.fsf@cadilhac.name> (=?utf-8?Q?=22Micha=C3=ABl?= Cadilhac"'s message of "Sat, 16 Feb 2008 21:04:42 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Scanner-Signature: 068dd79c68aafbc760c35e97c5d420ed 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-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 11 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 6.x (1) 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:89397 Archived-At: >>> Soooo, why not convert it to an appropriate "input form" for putting in >>> the prompt/default ? >>> >>> E.g., -rwxrwxrw- => "ug=rwx,o=rw" > > As I said to Dan before, I think symbolic notation is about applying a > mask to the existing file's modes, not editing them. Of course, after > `u=rwx,g=rwx,o=rw' I can (more or less comfortably) add my mask `,a-w', > but still, I don't see any case when I'd want to *edit* modes. You don't need to add a mask `,a-w' after `u=rwx,g=rwx,o=rw', because unless you want to retrieve the default value `u=rwx,g=rwx,o=rw' for editing, you can start typing `a-w' in the empty minibuffer. Typing M-n in the minibuffer to retrieve the default value is intended only for users who what to edit the existing permissions based on the absolute forms using "=". -- Juri Linkov http://www.jurta.org/emacs/