-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 26/06/12 15:24, Kornel Benko wrote:
> Am Dienstag, 26. Juni 2012 um 09:10:15, schrieb Alex Vergara Gil 
> <[email protected]>
> 
>> El 26/06/2012 07:03 a.m., Roger Burton West escribió:
> 
>>> On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:
> 
>>>> My Problem: I would like to avoid that I accidentally change something in 
>>>> the other
>>>> documents and
> 
>>>> save it.
> 
>>> Failing an in-program solution, how about marking the _file_ read-only?
> 
>>> (chmod a-w filename)
> 
>>> 
> 
>>> 
> 
>> Oh, but this is a linux-only solution, and definitely not for user who
> 
>> wants to write without knowing too much of technical details, otherwise
> 
>> we will use plain latex instead of lyx. ;)
> 
>> 
> 
>> A simple menu entry won't hurt anyone and will be helpful
> 
>> 
> 
>> --
> 
>> greetings
> 
>> ~-o--{____}--o-~
> 
>> Alex Vergara Gil
> 
>> MSc. Física Nuclear
> 
>> Laboratorio Secundario de Calibración Dosimétrica
> 
>> Centro de Protección e Higiene de las Radiaciones
> 
>> Calle 20 No. 4113 e/ 18A y 47 Playa
> 
>> La Habana, Cuba
> 
>> A.P.6195 C.P.10600
> 
>> Telf: (537)6824892, (537)6821803
> 
>> Fax: (537)2030165
> 
> 
> 
> And how about the command
> 
> buffer-toggle-read-only
> 
> ?
> 

Just discovered this one (also thanks Jean-Marc), but in the manual it states:

###
This function is not allowed if the file is under version control, since 
read-only flag is often
used in version control file locking.
###

which is a problem, as IO have most LyX projects under version control.

So no help for me.

If this function changes the attributes of the file, then this is a problem 
with VC - otherwise if
it only changes the properties of the tab,  do not see a problem with it.

Cheers,

Rainer


> 
> 
> You may enter the command in the lyx-command line, or bind it to some key.
> 
> 
> 
> Kornel
> 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/pvn8ACgkQoYgNqgF2egp8JgCdHlSbXAP3NxODQ+SxLx9EjCCW
lgQAoIrm07bEVtAL4UNvRrHf6dv9D7jq
=6mq2
-----END PGP SIGNATURE-----

Reply via email to