Strange behaviour when saving to nonexistent directory
Submitted by Holger Bauer
When you start gedit from commandline giving a path to a nonexistant directory/file and save it the behaviour of gedit is strange.
- It shows the error message "Could not save the file /nonexistant/path/file. Unexpected error: File not found." However, the file could not be saved because of the nonexistent directory.
- This behaviour is inconsistent to starting gedit from commandline with a new file in an existing directory. Gedit creates the new file, when you save it.
- Gedit should create the new directory, when you save the file. Maybe asking for confirmation first.
- If you don't want gedit to create a new directory, could you please change the error message to something more clear?
On a sidenote, vi shows the same strange behaviour.