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 01:27:14 +0200 Organization: JURTA Message-ID: <87ir0oscs1.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203204504 2747 80.91.229.12 (16 Feb 2008 23:28:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Feb 2008 23:28:24 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org 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 00:28:47 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 1JQWSb-0003n3-OC for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 00:28:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQWS7-0002nl-Bx for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2008 18:28:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQWS1-0002mB-Th for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:28:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQWRz-0002jv-EU for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:28:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQWRz-0002js-9k for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:28:07 -0500 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQWRy-0003dx-Py for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:28:07 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JQWRs-000GyV-8e; Sun, 17 Feb 2008 01:28:04 +0200 In-Reply-To: <87r6fc33g5.fsf@cadilhac.name> (=?utf-8?Q?=22Micha=C3=ABl?= Cadilhac"'s message of "Sat, 16 Feb 2008 18:07:54 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Scanner-Signature: 5389b9e13478507b5d7b23e4ed053241 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 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:89286 Archived-At: >> This is very nice, but why you don't accept this string in the same format >> allowing the user to enter it in the minibuffer (i.e. why you didn't >> implement `file-modes-ls-to-number')? > > Well, I've never seen anyone (or any tool) using that notation to *set* > file modes. Yes, it will allow Emacs to tend to more completeness, but > I think Emacs goal lays more in usefulness. > > Do you have any practical case in which that notation could be more > natural? Wdired mode allows editing such file permissions in the dired buffer (when `wdired-allow-to-change-permissions' is non-nil), so it would be natural to allow entering file permission in the same notation in the minibuffer. There already exists a function that converts that notation to the number: `wdired-perms-to-number'. -- Juri Linkov http://www.jurta.org/emacs/