Questions tagged [read-only-mode]
The read-only-mode tag has no summary.
40 questions
2 votes
2 answers
208 views
toggle-read-only - obsolete ... but what is the difference to read-only-mode
I am still using older emacs versions (27.1 & 26.1 are on my work machines). At some point I likely want to upgrade, but one thing that I use quite frequently is toggle-read-only, which gives me a ...
0 votes
1 answer
47 views
`kill-words` and related commands erase text in read-only buffers
Killing commands, such as kill-word, have started to erase text in read-only buffers. For example, invoking kill-word in dired-mode or mu4e-headers-mode will delete words from a filename or from an ...
0 votes
1 answer
85 views
How to make my own evil(?) mode? view mode while debugging?
I'd like to switch between two modes source editing mode debug mode (where source is read-only, and you can use all other regular emacs commands + some debug related hot keys (such as n for next) ...
1 vote
0 answers
74 views
How to open file with it being editable but not writeable?
I teach, and I like to use real files as examples in class. I want to be able to edit the buffer to show student things, but I don't want to risk accidentally writing the changes on the file. What I ...
1 vote
1 answer
103 views
modify text properties in read-only buffer
I am annotating parts of text in an emacs buffer using text properties. The code I am using looks something like this: (set-text-properties beg end nil) ; clear properties (add-face-text-property ...
0 votes
1 answer
103 views
org-fill-paragraph doesn't comply with org-list-allow-alphabetical
Given that (setq org-list-allow-alphabetical t). Consider the following example, where | stands for the point: 1. |Lorem Ipsum 1. Lorem Ipsum 1. |Lorem Ipsum a. Lorem Ipsum While org-fill-...
0 votes
1 answer
674 views
Emacs open all buffers in read only mode
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/...
0 votes
2 answers
154 views
How can I more easily see interactively whether `overwrite-mode` is enabled?
I am sick of pressing Insert instead of Backspace and running into problems in certain modes. How can I fix it? One option is to have some visual indication that overwrite mode has been activated, so ...