[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: po-mode check read only on edit msgstr
From: |
Bruno Haible |
Subject: |
Re: po-mode check read only on edit msgstr |
Date: |
Fri, 25 May 2007 02:33:03 +0200 |
User-agent: |
KMail/1.5.4 |
Kevin Ryde wrote:
> In po-mode I see that po-edit-msgstr checks the read-only state of the
> file when you hit C-c C-c after editing the translation. It'd be nice
> if it checked first, to stop you starting the edit and only finding out
> later you shouldn't.
Yes. But does this feature actually work? When I load a file with
find-file-read-only or when I set a buffer read-only by using toggle-read-only,
in the PO mode I still can press RET, do some modifications, and Ctrl-C Ctrl-C.
This is with Emacs-22.0.90. Can someone familiar with Emacs look at this?
(I'm not familiar with Emacs.)
> It'd also be nice if there was a po-toggle-read-only bound to C-x C-q,
> toggling the secret po-read-only state, equivalent to what the ordinary
> toggle-read-only does.
This looks low priority to me. But if you can provide an implementation, I
can put it into the po-mode.
Bruno