From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Newsgroups: gmane.emacs.help Subject: Re: Why emacs touches read-only file? Date: 19 Apr 2007 11:09:12 -0700 Organization: http://groups.google.com Message-ID: <1177006152.397351.108480@p77g2000hsh.googlegroups.com> References: <1176920422.786251.122770@d57g2000hsg.googlegroups.com> <1176957833.977449.134340@e65g2000hsc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1177007842 11494 80.91.229.12 (19 Apr 2007 18:37:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2007 18:37:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 19 20:37:15 2007 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 1HebVK-0007xw-Tm for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Apr 2007 20:37:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HebaJ-00049C-1D for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Apr 2007 14:42:23 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!p77g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 74.62.17.156 Original-X-Trace: posting.google.com 1177006152 26706 127.0.0.1 (19 Apr 2007 18:09:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 19 Apr 2007 18:09:12 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p77g2000hsh.googlegroups.com; posting-host=74.62.17.156; posting-account=sSuG_Q0AAACBMwnT3Ej4aAinBHQ74NmN Original-Xref: shelby.stanford.edu gnu.emacs.help:147225 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:42831 Archived-At: On Apr 19, 12:51 am, Glenn Morris wrote: > Daniel wrote: > > It is very weird. In my work place, I was using REDHAT 9 and SUSE 9.3. > > In there, emacs (21) write the buffer regardless of the file > > permission. > > Even if you start it with the options -q --no-site-file? > > If it works OK with -q, there is something in your ~/.emacs file (or > system default.el file) to blame. If it works OK with --no-site-file, > there is some problem in your system's site-start.el file. No. I tried to run "emacs -q 1" and "emacs --no-site-file 1" and "emacs -q --no-site-file 1", but all of them are not working properly with read-only file. BTW, I am seeing the REDHAT or SUSE linux via VNC Client. Is this causing the problem?