help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to not overwrite read-only files?


From: Kevin Rodgers
Subject: Re: how to not overwrite read-only files?
Date: Mon, 24 Jul 2006 09:46:55 -0600
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Yi Lang Mok wrote:
ctrl-x s saves the file even if the read-only setting is set.

Please don't top-post.

From: Eli Zaretskii <eliz@gnu.org>
To: Help-gnu-emacs@gnu.org
Subject: Re: how to not overwrite read-only files?
Date: Fri, 21 Jul 2006 10:10:28 +0300

> Date: Thu, 20 Jul 2006 14:54:29 -0700 (PDT)
> From: yilangmok <yilangmok@hotmail.com>
>
> For some reason, my emacs configuration just overwrites files when I save,
> even when it is marked -r--r--r-- (readonly).

Please provide the details: what command(s) overwrites read-only
files?

Also, please try the same command(s) in "emacs -q"; if that does work
as expected, the culprit is somewhere in your .emacs init file.

Is the buffer marked as read-only in the mode line?  Has it been
modified?  That is, do you see %%, %*, **, or -- between the coding
system and the buffer name?

--
Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]