[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A problem with read-only in emacs
From: |
D. Power |
Subject: |
Re: A problem with read-only in emacs |
Date: |
Sun, 27 Jul 2008 11:08:45 -0600 |
User-agent: |
MT-NewsWatcher/3.5.2 (Intel Mac OS X) |
In article <87bq0kuesf.fsf@lion.rapttech.com.au>,
Tim X <timx@nospam.dev.null> wrote:
> "D. Power" <powerd@pcisys.net.invalid> writes:
>
> > Hi,
> >
> > I hope someone can help me with this little problem. It seems that I
> > (or the keyboard-walking kitten) have somehow changed the settings in
> > emacs (21.2.1) so that new files are created as read-only, so I have to
> > chmod any new file before I can edit it. What have I (or the kitten)
> > done, and how can I undo it?
>
> Maybe set-defa8ult-file-modes will help.
>
> ,----[ C-h f set-default-file-modes RET ]
> | set-default-file-modes is a built-in function in `C source code'.
> |
> | (set-default-file-modes mode)
> |
> | Set the file permission bits for newly created files.
> | The argument mode should be an integer; only the low 9 bits are used.
> | This setting is inherited by subprocesses.
> |
> | [back]
> `----
>
> regards,
>
> Tim
Thanks, I'll look into that.
--
D. Power
"I hold it to be the inalienable right of anybody to go to hell in his
own way."
-Robert Frost