[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suggestion for set-file-modes

From: Juri Linkov
Subject: Re: suggestion for set-file-modes
Date: Sun, 17 Feb 2008 01:27:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> This is very nice, but why you don't accept this string in the same format
>> allowing the user to enter it in the minibuffer (i.e. why you didn't
>> implement `file-modes-ls-to-number')?
> Well, I've never seen anyone (or any tool) using that notation to *set*
> file modes.  Yes, it will allow Emacs to tend to more completeness, but
> I think Emacs goal lays more in usefulness.
> Do you have any practical case in which that notation could be more
> natural?

Wdired mode allows editing such file permissions in the dired buffer
(when `wdired-allow-to-change-permissions' is non-nil), so it would be
natural to allow entering file permission in the same notation in
the minibuffer.  There already exists a function that converts
that notation to the number: `wdired-perms-to-number'.

Juri Linkov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]