jump to navigation

JDEE compile time error: “buffer is read only” January 12, 2006

Posted by Chen Yufei in Emacs.
trackback

I use JDEE to write Java programs in emacs. The problem I encountered is that when I compile the program(C-c C-v C-c), the JDEE compile buffer has nothing to display and actually nothing was compiled. The mini buffer is saying “buffer is read only”. After googled some articles, I solved the problem.

Open the file compile.el in /usr/share/emacs/lisp/progmodes, search “buffer-read-only”, change all the value to nil, then byte compile and reload it, things will be right now.

This solution surely is not very good. The compile buffer should be read only after things is displayed. I don’t know whether this is the problem of JDEE or of emacs, but since I can get things done now, it’s OK. Hope to find better solution later.

Comments»

1. CongressCheck - June 28, 2007

The new world order is taking over the world! Vote for Ron Paul in the 2008 election or the bill of rights will be overturned by hillary! She will
destroy the right to bear arms, and they’re already talking about banning free speech with this new fairness docterine! Wake up people america is
under attck by paid off politicans that think we dont know what they’re doing!

http://www.congresscheck.com