I have a fair amount of buffers open in Emacs and switch between them using C-x b. However, fairly often i find myself returning to an earlier accessed buffer that now has read-only rights. It can be toggled back by M-x toggle-read-only. I wonder why i (automatically?) get a read-only buffer when i return to it, and, how it can be avoided.
I have only a single instance of Emacs open, and do not change the files underlying the buffers in the meanwhile.
global-auto-revert-mode?) You might have accidentally hitC-x C-q(which runstoggle-read-only), if so, you can unbind this to avoid this. - Lindydancer