unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* C-x C-q
@ 2006-02-09 23:35 CA88
  2006-02-10  9:49 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: CA88 @ 2006-02-09 23:35 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-02-03 on tweety.build.redhat.com
configured using `configure  --host=i386-redhat-linux --build=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

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.


Recent input:
C-q <up> <down> <down> SPC C-y <backspace> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <backspace> 
2 <left> <left> <left> <left> C-k C-a <right> <right> 
<right> <right> C-y SPC C-x C-s C-g C-x C-s y e s <return> 
SPC <backspace> C-x C-s y e s <return> C-a <right> 
<right> <right> <right> <right> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <report-emacs-bug>

Recent messages:
byte-code: Buffer is read-only: #<buffer configure.sh>
Unhighlighting
Done unhighlighting

byte-code: Buffer is read-only: #<buffer configure.sh>
Buffer is read-only: #<buffer configure.sh> [2 times]
Mark set [2 times]
basic-save-buffer-2: Quit
Wrote /usr/local/src/ezx86n15/vobs/lx_java_ui/ezx/configure.sh [2 times]
Loading emacsbug...done

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: C-x C-q
  2006-02-09 23:35 C-x C-q CA88
@ 2006-02-10  9:49 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2006-02-10  9:49 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-10  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09 23:35 C-x C-q CA88
2006-02-10  9:49 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).