> Javier S. Lopez writes:
> > "Anderson, Timothy K" <[EMAIL PROTECTED]> writes:
> >
> > > Hi,
> > > Using GNU Emacs CVS, JDE 2.3.4, CEDET 1.0beta3b.
> > >
> > > When trying to compile code with C-C C-V C-C, I am
> getting the > > following error: > > > > save-excursion:
> Buffer is read-only: #<buffer *compilation*> >
> > This looks familiar...
> >
> > I had the problem when running the latest emacs from cvs.
> All the compilation > buffers are read only, I don't know
> what a good fix for this is. I just changed > the compile.el
> file to avoid making the buffers readonly. But we probably
> need > a better fix for this. >
>
> How can the compilation buffers be read-only and allows error
> and other messages to be written into them? This sounds like
> a bug in the CVS version of Emacs.
>
> Paul
>
It looks like it's by design:
compile.el, at line 911:
;; Make compilation buffer read-only. The filter can still write
it.
;; Clear out the compilation buffer.
(let ((inhibit-read-only t)
So should external code (ie JDEE) use this 'filter'? And what's the
rationale behind inhibit-read-only, I wonder?
Tim
____________________________________________________________
CONFIDENTIALITY
This e-mail and any attachments are confidential and also may be privileged.
If you are not the named recipient, or have otherwise received this
communication in error, please delete it from your inbox, notify the sender
immediately, and do not disclose its contents to any other person,
use them for any purpose, or store or copy them in any medium.
Thank you for your cooperation.
____________________________________________________________