This problem is driving me crazy. Emacs open all buffers including new ones in read only mode (yes, I know that I can do C-x C-q
). I've tried everything including:
- Delete
.emacs.d/
- Delete
.config/emacs/init.el
- Delete
.emacs.el
- Launch Emacs as:
emacs -q -Q --debug-init (no errors, same behavior)
- Reinstall Emacs.
I am using gentoo. I've create a new user (guest). Emacs works as expected. I guess the problem is somehow related to my user.
I can open a file in nano, edit it and save it. No problem. Afterwards, I open the same file in emacs it opens in read only mode. I have to hit Ctrl-Q to edit it. I can save it without problems. It's an emacs problem
All the files have write permission, that's why I can open and edit them in nano for instance.
Any help would be much appreciated.
emacs -Q
(no init file)? If not, bisect your init file to find the culprit.