> Just an additional precision here WRT code complexity. Actions a) to f) can > be done via an external script.
Maybe your proposed can be done in a script, but I still do not understand *why* you want to rename these files, and *why* you want to put filenames in a session file. When I asked you 'is there any benefit', you answered "is there any drawback", and you later on agreed on two drawbacks, which you do not really care. The problem is that I care about these problems. Your approach complicates the problem quite a bit, for example 1. You have to merge a file, with the help from a session file, on the same machine 2. The unbundled file is different on another machine, and on that machine, you can not merge them even if you have your bundled and unbundled files. Note that you may be working on different machines. 3. The session implementation may not be as easy as you imagine. For example, if the document is changed to filename_rev1.lyx, its session information can not be used any more. Basically speaking, I do not understand *why* you would like to change what users have, and *why* you would like to store some filename information that has always been saved with lyx. Cheers, Bo