[EMAIL PROTECTED] (Kim F. Storm) writes:
> Michael Cadilhac <[EMAIL PROTECTED]> writes:
>
>> Nick Roberts <[EMAIL PROTECTED]> 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.
M-x eshell-command RET chmod =rwx /tmp/a RET
Same thing: it uses the chmod(1) binary, the prompt is weirdly
managed and error are reported only with the binary output.
Well, it's more or less the same that M-! with a bogus (or at least
not intuitive as it doesn't follow emacs conventions) file
completion.
--
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