On Thu, 4 Mar 2010 12:47:35 +1100, Lex wrote:
Hi,
I'd suggest the simplest solutions,
--readonly applies to all files on the command line irrespective of positioning and has no effect on any other files opened by session or menu. This answers 1,2,3,4 (Note POSIX says it must be before any files but GNU allows anywhere)
Current behaviour on attempting to re-open a file with different read-only status is that nothing happens, the already open file is raised but not changed. I would leave this as is irrespective of method of second opening (cli or menu) This answers 5,6.
I complete second this suggestion, not only because it would be simple to implement but also because it is simple to understand and so use.
If there are no major objections, I'll implement this in the near future (whatever this means in terms of my limited spare time). Of course, if anyone is faster than me and posts a patch, that'd be much appreciated :).
Regards, Enrico