[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10419: 23.3; byte-compile-file: Buffer is read-only: #<buffer *Comp
bug#10419: 23.3; byte-compile-file: Buffer is read-only: #<buffer *Compiler Input*>
Sun, 08 Jan 2012 15:51:21 +0100
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)
Andreas Schwab <address@hidden> writes:
> >> I don't know why you don't just make the file read-only on disk.
> > Of course I could do that. But then I may forget to make it read-only
> > again after editing the file.
> Emacs allows you to edit read-only files, making it writable temporarily
> when saving (after confirmation).
Oh yes, right, I forgot.
I guess I chose my solution to get rid of the
"File %s is write-protected; try to save anyway? "
query every time when saving. With my solution, I have to toggle the
read-only flag only once and avoid the annoying `yes-or-no-p'.