"Richard M. Stallman" writes: > There IS a function called set-file-modes. It is not interactive. My > idea is to rename that to set-file-modes-internal, and use your chmod > command under the name set-file-modes. It should accept a numeric > mode argument too; that way, existing callers will still work. It > would use file-modes-to-number. > > Would you like to work on such a patch? Of course, here's attached ! > Have we got legal papers from you for Emacs? Nop, what's the procedure ? Patch follows. lisp/ChangeLog | 5 + lisp/file-modes.el | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++++ lispref/ChangeLog | 6 ++ lispref/files.texi | 25 -!!!!!!! src/ChangeLog | 5 + src/fileio.c | 18 !!!!!! 6 files changed, 164 insertions(+), 5 deletions(-), 38 modifications(!)