From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: File modes facilities. Date: Thu, 20 Oct 2005 12:15:34 -0400 Message-ID: References: <87hdbdxo94.fsf@mahaena.lrde> <87d5m1qm8w.fsf-monnier+emacs@gnu.org> <877jc92o37.fsf@mahaena.lrde> <17238.50816.352274.312799@kahikatea.snap.net.nz> <87u0fd9let.fsf@mahaena.lrde> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129825163 20521 80.91.229.2 (20 Oct 2005 16:19:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2005 16:19:23 +0000 (UTC) Cc: Michael Cadilhac , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 20 18:19:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESd6h-0000as-6L for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2005 18:17:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESd6g-0003KA-Jx for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2005 12:17:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESd4v-0002m3-6i for emacs-devel@gnu.org; Thu, 20 Oct 2005 12:15:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESd4u-0002lj-JK for emacs-devel@gnu.org; Thu, 20 Oct 2005 12:15:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESd4u-0002ld-F9 for emacs-devel@gnu.org; Thu, 20 Oct 2005 12:15:40 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESd4t-0002jB-Im; Thu, 20 Oct 2005 12:15:39 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 5F42B2CF677; Thu, 20 Oct 2005 12:15:38 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 370544AC00A; Thu, 20 Oct 2005 12:15:34 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 2200AE6C1C; Thu, 20 Oct 2005 12:15:34 -0400 (EDT) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Thu, 20 Oct 2005 11:04:25 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.85, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:44432 Archived-At: > If we want dired-do-chmod to work on systems without an external chmod > command, we can easily modify dired-do-chmod to use set-file-modes. Yes, I think we should do that. It's also useful for the case where you use dired-do-chmod on a Tramp file. > That's a smaller and easier change than adding a whole new suite of > commands with yet another UI. AFAICT (now that I've looked at it more closely: sorry for replying too quickly before) all he's suggesting is to add an interactive command `chmod' and `set-current-file-modes'. I'm not sure about set-current-file-modes, but providing `chmod' (or making set-file-modes into a command) is a good idea. Stefan