pmarinov / clean-aindent-mode

Emacs extension for simple indent and unindent
Other
32 stars 7 forks source link

Getting `newline: Buffer is read-only: #<buffer ...>` when using clean-aindent #1

Open gaizka opened 10 years ago

gaizka commented 10 years ago

First of all, thanks a lot for clean-aindent, i have been hoping to be able to configure emacs to do this for years (so, so, so tired of whitespace...) :)

Steps to reproduce:

newline: Buffer is read-only: #<buffer gaizka>

No matter if I then do M-x clean-aindent-done, and open a new buffer with emacsclient $HOME, i still cannot any file there.

Same thing happens with other temporary buffers, like GTAGS search buffers...

Do you know how this can be solved?

Thanks a lot for your help!!

pmarinov commented 10 years ago

I'm glad you find clean-aindent useful. :-)

I tried to reproduce, albeit by using emacs not emacsclient. It works for me. When in dired mode and I press "Enter", I open the file or the directory under the cursor.

When the problem occurs, could you please try C-h k then press "Enter" so that we see which command is bound to that key.

gaizka commented 10 years ago

Thanks for the fast reply!

I'll try to reproduce it in a clean environment later...

El día 20/03/14 09:23 -0700, pmarinov escribió:

I'm glad you find clean-aindent useful. :-)

I tried to reproduce, albeit by using emacs not emacsclient. It works for me. When in dired mode and I press "Enter", I open the file or the directory under the cursor.

When the problem occurs, could you please try C-h k then press "Enter" so that we see which command is bound to that key.


Reply to this email directly or view it on GitHub: https://github.com/pmarinov/clean-aindent/issues/1#issuecomment-38188160