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).

Leslie

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
> there.
>
> 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...
Name: RO-Kate.png
Type: image/png
Size: 128064 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20210508/48f33324/attachment-0001.png>


More information about the kde mailing list