emacs-devel
[Top][All Lists]
Advanced

[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: Mon, 18 Feb 2008 00:59:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> `-rw-rwxr-x' seems easier to type than `a+r,ug+w,go+x'
>
> You needn't type that, of course; I'd probably use "ug=rwx,o=rx".
> Familiar, easy to type, and to understand.
>
>> but we don't need decide what notation is preferable as we can
>> support all of them.
>
> Why complicate the code to support the "-rw-rwxr-x" format though?  It's
> not used by any other software, and offers no obvious advantage in
> usability.

The only software I know that supports reading the "-rw-rwxr-x" format is
Wdired.  Supporting it in set-file-modes is not very necessary, but the
problem came from the patch proposed by Michaël where the prompt is
displayed as:

  File modes, octal or symbolic (current: -r-xrw---):

The string inside parentheses before the colon looks very like the default
value, so it invites the user to type a new value in the same format.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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