unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "D. Power" <powerd@pcisys.net.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: A problem with read-only in emacs
Date: Sun, 27 Jul 2008 11:08:45 -0600	[thread overview]
Message-ID: <powerd-14D6C0.11084527072008@news.pcisys.net> (raw)
In-Reply-To: 87bq0kuesf.fsf@lion.rapttech.com.au

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


  reply	other threads:[~2008-07-27 17:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-27  3:45 A problem with read-only in emacs D. Power
2008-07-27  4:33 ` Tim X
2008-07-27 17:08   ` D. Power [this message]
2008-07-27 18:52 ` Peter Dyballa
     [not found] ` <mailman.15478.1217191848.18990.help-gnu-emacs@gnu.org>
2008-07-27 22:21   ` D. Power

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=powerd-14D6C0.11084527072008@news.pcisys.net \
    --to=powerd@pcisys.net.invalid \
    --cc=help-gnu-emacs@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.
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).