From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: File modes facilities. Date: Thu, 20 Oct 2005 00:48:55 +0200 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 1129762242 32420 80.91.229.2 (19 Oct 2005 22:50:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 22:50:42 +0000 (UTC) Cc: Nick Roberts , Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 20 00:50:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESMkm-00022U-41 for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2005 00:49:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESMkl-0007Ko-IU for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 18:49:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESMkY-0007JH-Hn for emacs-devel@gnu.org; Wed, 19 Oct 2005 18:49:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESMkW-0007IX-UB for emacs-devel@gnu.org; Wed, 19 Oct 2005 18:49:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESMkW-0007IS-Nd for emacs-devel@gnu.org; Wed, 19 Oct 2005 18:49:32 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESMkW-0002Wf-QS for emacs-devel@gnu.org; Wed, 19 Oct 2005 18:49:33 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id F0976262819; Thu, 20 Oct 2005 00:49:30 +0200 (CEST) Original-To: Michael Cadilhac In-Reply-To: <87u0fd9let.fsf@mahaena.lrde> (Michael Cadilhac's message of "Thu, 20 Oct 2005 00:44:42 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:44363 Archived-At: Michael Cadilhac writes: > Nick Roberts writes: > >> > >> I don't know any way to change the modes of a file, or even of the >> > >> current file, within emacs. >> > > >> > > C-h f set-file-modes RET >> > >> > I meant in an user-friendly way, that's to say, without M-:, and >> > without calculating the mode. >> >> In Dired, type M (`dired-do-chmod')? > > First, it uses dired, and I don't want to launch a dired of the > current directory to modify current-file modes. > > Second, it uses the chmod(1) executable, which, beside the fact that > another program is called, is not compatible with systems that don't > have that kind of binary installed (like if one just downloaded > a compiled version of emacs for Windows on http://www.crasseux.com) Isn't there something in eshell that can do this? It supports chmod. -- Kim F. Storm http://www.cua.dk