On Friday 10 August 2007 19:38:57 Bernhard Roider wrote: > Jean-Marc Lasgouttes schrieb: > > Emacs also have a "open read only" command. We could do something like > > that and bind it to C-S-o, but not put it in menu. > > afaics there is nothing to do in the source code: just add the following > line to the bind file: > > \bind "C-S-O" "command-sequence file-open; buffer-toggle-read-only"
Another more general option is to change the file to be read only (I am referring to unix) in the filesystem with chmod: chmod -w file.lyx That way lyx will not overwrite the file. > bernhard -- José Abílio
