I am glad that this feature will appear in the next release. Your guidance was very helpfull. I think I will ask Andrew for a post on webup8 once the debs are available.
I made changes, according to your comments. Please review.
Thanx for the $JEDIT_SETTINGS commit, after that I could create my patch to modify the behaviour to match the desired. I also removed the methods that we do need to handle untitled autsaves separately. I think changing the bacup/autosave dir while running is an important thing, because it can lead to data loss. So I also added the feature to move the autosaves to the correct location, when the user change the bacup/autosave dir. Please test the attached patch.
Thanx for the $JEDIT_SETTINGS commit, after that I could create my patch to modify the behaviour to match the desired. I also removed the methods that we do need to handle untitled autsaves separately. Please test the attached patch.
I tested your requirement, and the full behavior is only possible with my patch: saveUntitled_24718.patch. I tried to prepare another patch with less code modifications, but there is a problem: if you change the backup/autosave while creating untitled buffers, you cannot get the right paths back without storing it into the perspective. Please try to create an untitled buffer, then restart, then change the backup/autosave path, then create another untitled buffer, then restart ... That is why I created...
I think, now the code in trunk, restores the correct path. I tested it now. We can forget my feature request.
Ok, from your perspective, what is left to be done for this feature to be accepted?
I had some misunderstanding of your wording lastly, but now I understand all requirements, and created the patch for that. The only "big" change is that if no autosave/backup directory specified, the backup dir will be: jedit settings dir + backup, to separate those files. Please test this patch.