KEP-0014.txt

Georg Greve greve at kolabsys.com
Thu Sep 15 17:43:31 CEST 2011


 KEP-0014.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d0dbaba64c9f8533b679b1c611808daa36a9dfe6
Author: Georg Greve <greve at kolabsys.com>
Date:   Thu Sep 15 17:42:58 2011 +0200

    Editors may also take ownership of scripts for formats they understand and could write otherwise.

diff --git a/KEP-0014.txt b/KEP-0014.txt
index 139fa90..64c6d53 100644
--- a/KEP-0014.txt
+++ b/KEP-0014.txt
@@ -151,7 +151,7 @@ When parsing an existing script, editor '''SHALL''' parse for the variables 'edi
 * '''Same editor, different version'''
 :If the variables are set and match the name of the editor, but with different version, editor '''SHALL''' attempt to parse the script and upon success present it to the user for display/editing as required, saving it out with its own version. If editor cannot parse the script, it '''SHALL''' inform user about the version incompatibility and '''MAY''' choose to display the script in raw text form, as best it can, or not at all and '''SHALL''' always consider it '''read only'''.
 * '''Different, supported editor'''
-:If the variables are set and match a different editor and version which is supported by the editor reading the script, editor '''MAY''' parse the script normally and present it to the user for display/editing. When changing the file on the server, editor '''SHALL''' preserve the format of the editor and version which originally wrote the file and '''MUST''' preserve the variables accordingly. 
+:If the variables are set and match a different editor and version which is supported by the editor reading the script, editor '''MAY''' parse the script normally and present it to the user for display/editing. When changing the file on the server, editor '''MAY''' offer the user to take ownership of the script, '''SHALL''' require postitive confirmation from the user for doing so, and '''MUST''' then write out the script in its own format and with the editor and version variables set to its own name and version. Otherwise editor '''SHALL''' preserve the format of the editor and version which originally wrote the file and '''MUST''' preserve the variables accordingly. 
 * '''Different editor'''
 :If the variables are set and match a different editor, editor '''MAY''' attempt to parse the script. Upon success, editor '''SHALL''' default to presenting the user with the script for display in '''read-only''' mode. Editor '''MAY''' allow the user to edit the script, '''SHALL''' require postitive confirmation from the user for taking ownership by this editor, and '''MUST''' then write out the script in its own format and with the editor and version variables set to its own name and version.
 :If editor has not attempted to parse the script, or could not successfuly parse, it '''SHALL''' treat the script as read-only and '''MAY''' present it to the user as best it can, in raw format, or not at all.





More information about the commits mailing list