Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
gaizka opened this issue Mar 20, 2014 · 2 comments

Comments

@gaizka
Copy link

gaizka commented Mar 20, 2014

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:

  • Load clean-aindend (M-x load-library clean-aindent)
  • Open a directory ($ emacsclient $HOME)
  • If you press enter in any of the files to open it, emacs will raise an error:
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
Copy link
Owner

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
Copy link
Author

gaizka commented Mar 21, 2014

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:
#1 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants