From: Michael Cadilhac <michael.cadilhac-@t-lrde.epita.fr>
Cc: emacs-devel@gnu.org
Subject: Re: File modes facilities.
Date: Thu, 20 Oct 2005 12:41:21 +0200 [thread overview]
Message-ID: <87fyqwxyge.fsf@mahaena.lrde> (raw)
In-Reply-To: <umzl4d0fa.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Oct 2005 11:04:25 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Michael Cadilhac <michael.cadilhac-@t-lrde.epita.fr>
>>
>> > > >> 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/-@t-/@/ my mail address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |
next prev parent reply other threads:[~2005-10-20 10:41 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-19 20:09 File modes facilities Michael Cadilhac
2005-10-19 20:35 ` Stefan Monnier
2005-10-19 21:28 ` Michael Cadilhac
2005-10-19 22:19 ` Nick Roberts
2005-10-19 22:44 ` Michael Cadilhac
2005-10-19 22:48 ` Kim F. Storm
2005-10-19 22:57 ` Edward O'Connor
2005-10-19 23:00 ` Michael Cadilhac
2005-10-20 9:04 ` Eli Zaretskii
2005-10-20 10:41 ` Michael Cadilhac [this message]
2005-10-20 11:51 ` Romain Francoise
2005-10-20 12:41 ` Eli Zaretskii
2005-10-20 14:18 ` Michael Cadilhac
2005-10-20 16:15 ` Stefan Monnier
2005-10-20 22:16 ` Kim F. Storm
2005-10-21 3:21 ` Stefan Monnier
2005-10-21 8:44 ` Andreas Schwab
2005-10-21 12:59 ` Michael Cadilhac
2005-10-21 14:14 ` Miles Bader
2005-10-21 14:43 ` Kim F. Storm
2005-10-21 16:42 ` Michael Cadilhac
2005-10-21 22:19 ` Richard M. Stallman
2005-10-24 14:02 ` Kim F. Storm
2005-10-24 14:16 ` David Kastrup
2005-10-24 16:02 ` Andreas Schwab
2005-10-24 21:00 ` Kim F. Storm
2005-10-24 14:46 ` Stefan Monnier
2005-10-24 22:14 ` Kim F. Storm
2005-10-24 23:02 ` Stefan Monnier
2005-10-25 8:51 ` Kim F. Storm
2005-10-25 20:29 ` Richard M. Stallman
2005-10-25 15:58 ` Richard M. Stallman
2005-10-25 21:34 ` Kim F. Storm
2005-10-26 8:52 ` Kim F. Storm
2005-10-27 1:31 ` Richard M. Stallman
2005-10-27 1:29 ` Richard M. Stallman
2005-10-21 10:58 ` Kim F. Storm
2005-10-21 11:05 ` Kim F. Storm
2005-10-21 15:07 ` Stefan Monnier
2005-10-21 17:51 ` Richard M. Stallman
2005-10-21 18:43 ` Stefan Monnier
2005-10-22 4:18 ` Richard M. Stallman
2005-10-22 5:39 ` Drew Adams
2005-10-22 6:17 ` Miles Bader
2005-10-22 6:32 ` Drew Adams
2005-10-22 7:33 ` Miles Bader
2005-10-22 7:45 ` Drew Adams
2005-10-23 18:05 ` Stefan Monnier
2005-10-23 18:27 ` Drew Adams
2005-10-24 13:37 ` Richard M. Stallman
2005-10-24 13:40 ` Stefan Monnier
2005-10-24 16:41 ` Drew Adams
2005-10-24 16:59 ` Stefan Monnier
2005-10-24 17:13 ` Drew Adams
2005-10-20 23:38 ` Richard M. Stallman
2005-10-21 0:58 ` Michael Cadilhac
2005-10-21 1:06 ` Miles Bader
2005-10-21 1:24 ` Michael Cadilhac
2005-10-21 17:51 ` Richard M. Stallman
2005-10-23 23:42 ` Michael Cadilhac
2005-10-24 14:09 ` Kim F. Storm
2005-10-25 15:58 ` Richard M. Stallman
2005-10-20 1:42 ` Kevin Ryde
2005-10-20 2:01 ` Miles Bader
2005-10-20 7:12 ` Michael Cadilhac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fyqwxyge.fsf@mahaena.lrde \
--to=michael.cadilhac-@t-lrde.epita.fr \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).