[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File modes facilities.
From: |
Michael Cadilhac |
Subject: |
Re: File modes facilities. |
Date: |
Thu, 20 Oct 2005 12:41:21 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> From: Michael Cadilhac <address@hidden>
>>
>> > > >> 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.
>> >
>> > In Dired, type M (`dired-do-chmod')?
>>
>> First, it uses dired. Second, it uses the chmod(1) executable
>>
> It sounds like you won't accept any solution except your own ;-)
Hehe :-) The principal thing that keeps me up is that I don't have
chmod(1) on my (poorly configured) Windows, and that I chmod quite
often the file I work with (I chmod -w file I don't want to modify,
but if I really have to, I chmod them back +w) :-)
> FWIW, I think the natural place for changing files' modes is in
> Dired;
Yep, if I plan to work with files, I'll launch a dired, then use
M. My point is that I'm most likely to change modes of one file, and
search it in dired mode is not the most direct way I know.
> a separate interactive command, while I don't object to it, will be
> used only by those who prefer command-line UI to GUI.
In that case, I see the GUI as a waste of time :-p
> 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.
Yep, please do, but please do it with symbol parsing
([ugoa]*([+-=][rwxXstugo]+)+,...) too :-)
I'll then make my own wrapper around newly coded functions to have
the features I use ;-)
Thanks :-)
--
Michael Cadilhac, a.k.a. Micha [mika] |
Epita/LRDE promo 2007 | Please note that you should
2 rue de la Convention | 08.70.65.13.14 | s/address@hidden/@/ my mail
address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |
- File modes facilities., Michael Cadilhac, 2005/10/19
- Re: File modes facilities., Stefan Monnier, 2005/10/19
- Re: File modes facilities., Michael Cadilhac, 2005/10/19
- Re: File modes facilities., Nick Roberts, 2005/10/19
- Re: File modes facilities., Michael Cadilhac, 2005/10/19
- Re: File modes facilities., Kim F. Storm, 2005/10/19
- Re: File modes facilities., Michael Cadilhac, 2005/10/19
- Re: File modes facilities., Edward O'Connor, 2005/10/19
- Re: File modes facilities., Eli Zaretskii, 2005/10/20
- Re: File modes facilities.,
Michael Cadilhac <=
- Re: File modes facilities., Romain Francoise, 2005/10/20
- Re: File modes facilities., Eli Zaretskii, 2005/10/20
- Re: File modes facilities., Michael Cadilhac, 2005/10/20
- Re: File modes facilities., Stefan Monnier, 2005/10/20
- Re: File modes facilities., Kim F. Storm, 2005/10/20
- Re: File modes facilities., Stefan Monnier, 2005/10/20
- Re: File modes facilities., Andreas Schwab, 2005/10/21
- Re: File modes facilities., Michael Cadilhac, 2005/10/21
- Re: File modes facilities., Miles Bader, 2005/10/21
- Re: File modes facilities., Kim F. Storm, 2005/10/21