Miles Bader <[EMAIL PROTECTED]> writes:

> 2005/10/20, Kevin Ryde <[EMAIL PROTECTED]>:
>> I made myself M-x chmod below, to change the current visited file.  I
>> usually just want to make a script executable.  I know there's an
>> executable-chmod or something, but I can never remember and prefer
>> typing 755 or 700.  The save-buffer is in case it's a new file.
>
> Why not (1) Give `set-file-modes' an interactive spec (defaulting to
> the current buffer's filename), and (2) make `set-file-modes'
> understand chmod-style strings as well as integer modes (I guess the
> interactive spec would have to decide how to parse integers -- would
> defaulting to octal be reasonable?).

  Isn't that more or less what I proposed in my package proposal ?
  - A `chmod-style strings' parser,
  - A facility to have M-x chmod understand both octal and symbolic
    modes,
  - A way to change the current file modes without saving it.

  ?

-- 
    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/[EMAIL PROTECTED]/@/ my mail 
address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to