From: Eli Zaretskii <eliz@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: C-x C-q
Date: Fri, 10 Feb 2006 11:49:21 +0200 [thread overview]
Message-ID: <uu0b735ni.fsf@gnu.org> (raw)
In-Reply-To: <200602092335.k19NZ2Ge023170@ca69jemlnx-178.am.mot.com> (message from CA88 on Thu, 9 Feb 2006 15:35:02 -0800)
> Date: Thu, 9 Feb 2006 15:35:02 -0800
> From: CA88 <e50317@ca69jemlnx-178.am.mot.com>
>
> 1. I load a readonly file
> 2. I check it out from clearcase from command line thus making it writable
> 3. I unprotect the buffer with C-x C-q (or is that C-q C-x ?)
> 4. Every time I'm saving the file emacs is prompting me with the
> following cretinuous message: "the file is read only, are you sure you
> want to save it" or something along these lines.
It's a feature: Emacs remembers the file's attributes from the time
you visited it, which was before it was made writable. Either
checkout the file _before_ visiting it, or "M-x revert-buffer RET"
after you checkout it, if Emacs is already visiting the file.
C-x C-q only makes the buffer modifiable, but it does nothing to the
file's attributes on disk, as Emacs remembers them.
Anyway, thank you for your report.
prev parent reply other threads:[~2006-02-10 9:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-09 23:35 C-x C-q CA88
2006-02-10 9:49 ` Eli Zaretskii [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uu0b735ni.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=bug-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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.