From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.devel Subject: Re: suggestion for set-file-modes Date: Sat, 16 Feb 2008 18:07:54 -0500 Organization: Epita/LRDE Message-ID: <87r6fc33g5.fsf@cadilhac.name> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1203203375 32478 80.91.229.12 (16 Feb 2008 23:09:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Feb 2008 23:09:35 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 17 00:09:57 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 1JQWAO-00073o-0T for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 00:09:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQW9t-0007Bf-Pn for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2008 18:09:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQW9c-0006wQ-8n for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:09:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQW9X-0006t7-Bj for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:09:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQW9X-0006sw-4z for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:09:03 -0500 Original-Received: from py-out-1112.google.com ([64.233.166.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQW9W-0007YX-NA for emacs-devel@gnu.org; Sat, 16 Feb 2008 18:09:02 -0500 Original-Received: by py-out-1112.google.com with SMTP id u52so1324176pyb.1 for ; Sat, 16 Feb 2008 15:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:organization:references:x-website:face:date:in-reply-to:message-id:user-agent:mime-version:content-type:sender; bh=koNww08H1tggkIYKEqdGTXZT6/2BqwFRrpC2qBHA1T4=; b=iiZ3IsSUckXMGuqATU3bYLl5B6YFAM1Qoakl2IUYxzXdRQoiaRIe9LqFqh4AVxtZCawVkqnH7XmyckLMGV05kQYgLHJQ52zxG0KE+NGdWbmLjgX9/DheyiKjVQ6FaweCQ1QTmfGBU0+VspO9e76o2LJA3kNsUDVn4Smnkpcv+S0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:x-website:face:date:in-reply-to:message-id:user-agent:mime-version:content-type:sender; b=hnxFmgGlKJW1AqKVvfH9GWknkopM2vWYcj889hZarjWHrMMlvPMI6JuAR0vlaagBMHdy/bS1O9KSIyqN8lCl/m77RS6pXUY4hjAZhsVvStRn6j+LCUDHX8M0vCepwhW6EFokdrONW2None785GPl/sleLwgS8Qj/B/vJrPIETWw= Original-Received: by 10.35.77.18 with SMTP id e18mr4792986pyl.20.1203203341953; Sat, 16 Feb 2008 15:09:01 -0800 (PST) Original-Received: from mistral ( [74.15.120.173]) by mx.google.com with ESMTPS id z80sm13682041pyg.20.2008.02.16.15.09.00 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Feb 2008 15:09:01 -0800 (PST) X-Website: http://michael.cadilhac.name Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEU/JREXDATg1LV8UCao i1fQpmoP3Nd6AAACa0lEQVQ4jWWUQW7jMAxFqZEPICJzAjXeM6W8dyNqX9ji/a8yn04xnWIEJLD9 LJH85DcJFyJV3erqPty8ExHfBikXSdn0WVezC0hOAQiA2nCsAHOqEnPe4k+puU8zw/t+xquqjRKA 4lHsmQBT8C5pDtBwfwH8VdcHI5+FHtjRxrQRwZsf3hNjZRKAPEzHEdH9mFNSYb5dQK3r8KM6ftNy KikAirDZFWdVkDqbxjGFbAcwbQCxxc8mPRHUGOcCIMgMACV23RfJTch3gC6ofT3qCdG0NyUUPfYF yQrKCIAnuYsgX2qPzW2i9sNrfSOSPPZQiygtCNlCjlpXJV38lIKshF/AZzsAMoArdCKNHfXukPuJ ImbLh+9J2gXwap0QpZ7NjZ7ekdkFcDiqPiLGcHmuvaG/AHgy62s52Lae1ABoA7D6d2kDoAvgbnyD ZutEd6lTHOXfYPHVJDH1K8a1+oyrjoZpAGn1x5pfwPr2E9yjxSpk50/gEyKgD/+BD/KzN3tQ13b8 Cx5loF0AgnZf5IUny9hRHQOYBllHDM+6s3oviZBu77mFjDm621Np3hkjR90wE1BkTYvhdDgDgCmR xWChFfcYAOqMm5NZkVWMur8AL5+oeMQOob2FmY76FiM+PrDDZypwGdqokSlAaQOmGH6mW8KpsOwl 0YOLedjSITr6scNRF8D4PesH33QmLrx8AzjpV/3kkg025w2gfAFYKCLluJAc4Ap+h18oo4S8wzaY klDsBUTiY8EZFkg5Iass75FubC9wd8qa0u9+gRxAsAKEaRAo6iB+vwCMGmdBjvgidQGA1ntMX4CS ZYGV/wADyL80LIX/UAAAAABJRU5ErkJggg== In-Reply-To: <87y79ku2tf.fsf@jurta.org> (Juri Linkov's message of "Sat, 16 Feb 2008 21:19:24 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:89283 Archived-At: --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Juri Linkov writes: >>> > Maybe a more intuitive thing we can do is to prompt the following= =A0: >>> > >>> > "File modes, octal or symbolic (current: -r-xrw---):" >>> >>> This form is exactly what I had in mind. This format is familiar to >>> people from "ls -l". If users request something else, it can be changed >>> later, but this should do for now. Obviously, this is all IMHO... >> >> Following that proposition, on which we agreed, here's a patch. > > 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? =2D-=20 | Micha=EBl `Micha' Cadilhac | (\(\ This is the cute bunny virus= , | | http://michael.cadilhac.name | (^.^) please copy this into your = | | JID/MSN: | (")") sig so it can spread. = | `---- michael.cadilhac@gmail.com | - = --' --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) iD8DBQFHt2zPUJhDmOfFA3URAgQ3AKChxyp7BsUz/L9fvrPk4sRX6/4zRACgj6Mv pgMnDYAHXjpvCjWij7SU/v4= =tllq -----END PGP SIGNATURE----- --=-=-=--