Eli Zaretskii <[EMAIL PROTECTED]> writes:
>> From: Michael Cadilhac <[EMAIL PROTECTED]>
>>
>> > > >> 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/[EMAIL PROTECTED]/@/ my mail
address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel