0

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.

3
  • Can you edit files in another editor? This may not be an emacs problem. – Fran Burstall Oct 3 '20 at 18:04
  • Do you see the same behavior if you start Emacs with emacs -Q (no init file)? If not, bisect your init file to find the culprit. – Drew Oct 3 '20 at 18:54
  • 1
    Have you checked that you have write permission for the files you are opening? – mikado Oct 6 '20 at 6:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.