unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Miles Bader <miles@gnu.org>
Cc: Nicolaescu <dann@ics.uci.edu>,
	"Michaël Cadilhac" <michael@cadilhac.name>,
	emacs-devel@gnu.org
Subject: Re: suggestion for set-file-modes
Date: Mon, 18 Feb 2008 00:59:21 +0200	[thread overview]
Message-ID: <87tzk7i3zq.fsf@jurta.org> (raw)
In-Reply-To: <87hcg7ns4w.fsf@catnip.gol.com> (Miles Bader's message of "Mon, 18 Feb 2008 07:18:55 +0900")

>> `-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	other threads:[~2008-02-17 22:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200801201812.m0KICxYl009632@sallyv1.ics.uci.edu>
     [not found] ` <871w7jqiic.fsf@cadilhac.name>
     [not found]   ` <200802112200.m1BM0pke028675@sallyv1.ics.uci.edu>
2008-02-11 23:41     ` suggestion for set-file-modes Michaël Cadilhac
2008-02-16 19:19       ` Juri Linkov
2008-02-16 23:07         ` Michaël Cadilhac
2008-02-16 23:27           ` Juri Linkov
2008-02-17  0:14             ` Michaël Cadilhac
2008-02-17  0:48               ` Juri Linkov
2008-02-17  1:08                 ` Miles Bader
2008-02-17  1:31                   ` Juri Linkov
2008-02-17  2:04                     ` Michaël Cadilhac
2008-02-17  2:21                       ` Miles Bader
2008-02-17 21:54                       ` Juri Linkov
2008-07-29 17:43                   ` Juri Linkov
2008-02-17  1:39                 ` Michaël Cadilhac
2008-02-17 20:29                   ` Richard Stallman
2008-02-18  3:01                     ` Michaël Cadilhac
2008-02-17 21:57                       ` Juri Linkov
2008-02-17 21:55                   ` Juri Linkov
2008-02-17 22:18                     ` Miles Bader
2008-02-17 22:59                       ` Juri Linkov [this message]

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=87tzk7i3zq.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=michael@cadilhac.name \
    --cc=miles@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).