Re: [SPAM] Re: Read only as default.

2007-08-30 Thread Jean-Marc Lasgouttes
Tim Michelsen <[EMAIL PROTECTED]> writes: > Is there any chnace that the developers reconsider to offer a toggle > read-only /write for the Edit menu? I do not think so. "Open as read-only would be more useful". JMarc

Re: [SPAM] Re: Read only as default.

2007-08-20 Thread Tim Michelsen
http://marc.info/?l=lyx-users&m=115896732208455&w=2 For your convenience, I'm including the text below. Is that what you had in mind? Many thanks, that was what I was looking for.

Re: [SPAM] Re: Read only as default.

2007-08-20 Thread Rudi Gaelzer
Dear Tim. It does not come out of the box, but you can include a "Toggle read only mode" option on the Edit menu by simply following the guidelines in this thread: http://marc.info/?l=lyx-users&m=115896732208455&w=2 For your convenience, I'm including the text below. Is that what you had in mi

Re: [SPAM] Re: Read only as default.

2007-08-19 Thread Tim Michelsen
I also modified the stdmenus.ui file and included a menu line (see attached file). I just wonder why the key combination Alt-f Alt-e won't pop up the open dialog as the alt-f alt-o combination does. Is there any chnace that the developers reconsider to offer a toggle read-only /write for the Ed

Re: [SPAM] Re: Read only as default.

2007-08-18 Thread Rudi Gaelzer
On Saturday 18 August 2007 16:57, Rudi Gaelzer wrote: > I also modified the stdmenus.ui file and included a menu line (see attached > file).  I just wonder why the key combination Alt-f Alt-e won't pop up the > open dialog as the alt-f alt-o combination does. My bad again... I mean the (alt-f e) a

Re: [SPAM] Re: Read only as default.

2007-08-18 Thread Rudi Gaelzer
OK. My bad. I copied the cua.bind on the wrong dir. Now it works as instructed. Thanks a lot for your suggestions. I also modified the stdmenus.ui file and included a menu line (see attached file). I just wonder why the key combination Alt-f Alt-e won't pop up the open dialog as the alt-f

Re: Read only as default.

2007-08-18 Thread Bernhard Roider
Rudi Gaelzer schrieb: On Friday 10 August 2007 15:38, Bernhard Roider wrote: 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" bernhard Dear Bernhard. Does this work w

Re: Read only as default.

2007-08-17 Thread Paul A. Rubin
Rudi Gaelzer wrote: Does this work with LyX 1.4.x? I copied cua.bind to my local directory and included the bind line as above, but when I enter Ctrl-shift-O, the command is still not recognized. Is that not the correct procedure? Works for me (LyX 1.4.4, Win XP). I assume you have cua.bi

Re: Read only as default.

2007-08-17 Thread Rudi Gaelzer
On Friday 10 August 2007 15:38, Bernhard Roider wrote: > 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" > > bernhard Dear Bernhard. Does this work with LyX 1.4.x? I copied

Re: Read only as default.

2007-08-15 Thread Paul A. Rubin
José Matos wrote: 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. Also possible in Windows (right click on file, select properties, check read-only) --

Re: Read only as default.

2007-08-15 Thread José Matos
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 > l

Re: Read only as default.

2007-08-10 Thread Bernhard Roider
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;

Re: Read only as default.

2007-08-09 Thread Rudi Gaelzer
On Thursday 09 August 2007 15:46:11 Jean-Marc Lasgouttes wrote: > 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. Something like that is exactly what I was thinking about. Is that worth of putting in some wishlist? --

Re: Read only as default.

2007-08-09 Thread Jean-Marc Lasgouttes
"Paul A. Rubin" <[EMAIL PROTECTED]> writes: > The issue of making read-only more accessible apparently was discussed > a few years back. I found this bugzilla entry: > > http://bugzilla.lyx.org/show_bug.cgi?id=74 > > Looks like it got the cold shoulder. In this case, this is a very specialized ne

Re: Read only as default.

2007-08-09 Thread Paul A. Rubin
Rudi Gaelzer wrote: On Wednesday 08 August 2007 21:42:31 Paul A. Rubin wrote: Do want to be unable to edit the document, or only to be unable to overwrite the document? If the latter, just open it with File -> New From Template. You can edit, but if you try to save you'll be forced to go thro

Re: Read only as default.

2007-08-09 Thread Rudi Gaelzer
On Wednesday 08 August 2007 21:42:31 Paul A. Rubin wrote: > Do want to be unable to edit the document, or only to be unable to > overwrite the document?  If the latter, just open it with File -> New >  From Template.  You can edit, but if you try to save you'll be forced > to go through a file dial

Re: Read only as default.

2007-08-08 Thread Paul A. Rubin
Rudi Gaelzer wrote: Some time ago I learned that I could toggle the read-only option by issuing the buffer-toggle-read-only command. Now I'd like to know if it is possible for LyX to open an old file with this option set by default. Does anyone know if this is possible? Do want to be unab

Read only as default.

2007-08-08 Thread Rudi Gaelzer
Some time ago I learned that I could toggle the read-only option by issuing the buffer-toggle-read-only command. Now I'd like to know if it is possible for LyX to open an old file with this option set by default. Does anyone know if this is possible? Thanks. -- Rudi Gaelzer Department of Phys