all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: michael@cadilhac.name (Michaël Cadilhac)
Cc: Dan Nicolaescu <dann@ics.uci.edu>,
	emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: suggestion for set-file-modes
Date: Sun, 17 Feb 2008 23:54:30 +0200	[thread overview]
Message-ID: <87bq6fp841.fsf@jurta.org> (raw)
In-Reply-To: <877ih42v9h.fsf@cadilhac.name> ("Michaël Cadilhac"'s message of "Sat, 16 Feb 2008 21:04:42 -0500")

>>> Soooo, why not convert it to an appropriate "input form" for putting in
>>> the prompt/default ?
>>>
>>> E.g., -rwxrwxrw- => "ug=rwx,o=rw"
>
>   As I said to Dan before, I think symbolic notation is about applying a
> mask to the existing file's modes, not editing them.  Of course, after
> `u=rwx,g=rwx,o=rw' I can (more or less comfortably) add my mask `,a-w',
> but still, I don't see any case when I'd want to *edit* modes.

You don't need to add a mask `,a-w' after `u=rwx,g=rwx,o=rw',
because unless you want to retrieve the default value `u=rwx,g=rwx,o=rw'
for editing, you can start typing `a-w' in the empty minibuffer.

Typing M-n in the minibuffer to retrieve the default value is intended
only for users who what to edit the existing permissions based on
the absolute forms using "=".

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




  parent reply	other threads:[~2008-02-17 21:54 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 [this message]
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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bq6fp841.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.