kate: set buffer read-only
J Leslie Turriff
jlturriff at mail.com
Sun May 9 03:59:34 BST 2021
Time to submit a bug report, I think. The simplest fix would be for the devs to add a
command-line switch; then one could create a separate icon for when read-only is
desirable (see screenshot).
On 2021-05-08 17:53:35 hw wrote:
> On 5/9/21 12:10 AM, J Leslie Turriff wrote:
> > On 2021-05-08 16:33:32 hw wrote:
> >> On 5/7/21 9:41 PM, J Leslie Turriff wrote:
> >>> The only thing I can find for this in Kate is Menu => Tools =>
> >>> Read-Only Mode.
> >> Thank you, that would fix the problem --- if kate only would remember it
> >> when restoring the session. (Desktop-mode does such things just fine in
> >> emacs.)
> > That can be configured with Menu => Sessions => Manage...
> Apparently not in version 20.12.2? There isn't really much to manage
> I can start kate and it will load a file, automatically restoring the
> session. I can set the buffer of the file to read-only and quit kate.
> Next time I start kate, it loads the same file but the buffer is
> writable again. Hence the session is not restored.
> I don't see any option in Menu->Sessions->Manage like one to restore the
> session fully and not only partly.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 128064 bytes
Desc: not available
More information about the kde