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 03:31:14 +0200 Organization: JURTA Message-ID: <87tzk8l671.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203211950 19882 80.91.229.12 (17 Feb 2008 01:32:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2008 01:32:30 +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 Sun Feb 17 02:32:52 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 1JQYOf-0005rM-Km for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 02:32:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQYOB-0003IQ-95 for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2008 20:32:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQYO6-0003I4-Ng for emacs-devel@gnu.org; Sat, 16 Feb 2008 20:32:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQYO5-0003Hk-1Y for emacs-devel@gnu.org; Sat, 16 Feb 2008 20:32:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQYO4-0003Hh-Uj for emacs-devel@gnu.org; Sat, 16 Feb 2008 20:32:12 -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 1JQYO1-0006UY-0A; Sat, 16 Feb 2008 20:32:09 -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 1JQYNx-00072v-FI; Sun, 17 Feb 2008 03:32:05 +0200 In-Reply-To: <874pc8s82w.fsf@catnip.gol.com> (Miles Bader's message of "Sun, 17 Feb 2008 10:08:39 +0900") 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 2246 [Feb 15 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 [0278], 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:89300 Archived-At: >> The standard convention when reading a value in the minibuffer is to put >> the default value in the prompt and make it available for editing by M-n. >> When the permission bits are retrieved in such notation from the default >> value then editing them is just like toggling that is convenient. > > Soooo, why not convert it to an appropriate "input form" for putting in > the prompt/default ? > > E.g., -rwxrwxrw- => "ug=rwx,o=rw" > > That has the advantage that such "input forms" are a bit more robust, > because they aren't fixed-width with position-senstive fields. They're > also somewhat more self-documenting. That would be nice, maybe with separating every part even with the same permissions, e.g. "u=rwx,g=rwx,o=rw" for less editing when the user and group part need different permissions. -- Juri Linkov http://www.jurta.org/emacs/