From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "D. Power" Newsgroups: gmane.emacs.help Subject: Re: A problem with read-only in emacs Date: Sun, 27 Jul 2008 11:08:45 -0600 Organization: None Whatsoever Message-ID: References: <87bq0kuesf.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1217207138 16176 80.91.229.12 (28 Jul 2008 01:05:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 01:05:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 03:06:27 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KNHBy-00042Y-No for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2008 03:06:27 +0200 Original-Received: from localhost ([127.0.0.1]:57808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNHB5-0005nB-0y for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Jul 2008 21:05:31 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.pcisys.net!news.pcisys.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 27 Jul 2008 12:08:45 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: MT-NewsWatcher/3.5.2 (Intel Mac OS X) Original-Lines: 39 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-5wBDPDHlnD3fdDNuGHdod+YTPfiLxnH913V33zKAnQoW16LnIJW5pVxmDVrAwET2uotSmJITm9ZoFlw!LlKSHa6aX3/E9/ftqp4/z2KyMuHeLPSeieaV9dtt5ANapeOEihMJOFWgTWprEYnNXtcVOmv5s/8Y!Ednmw0f0sus= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:160632 X-Mailman-Approved-At: Sun, 27 Jul 2008 21:05:05 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55981 Archived-At: In article <87bq0kuesf.fsf@lion.rapttech.com.au>, Tim X wrote: > "D. Power" 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