[Geany] Problems when "no space left on device"

Jeff Pohlmeyer yetanothergeek at xxxxx
Sat Apr 26 19:32:40 UTC 2008


On Sat, Apr 26, 2008 at 6:34 AM, FD Cami <francois.cami at free.fr> wrote:

>  It may be that one way to do it is :
>  * move "file" to "file~"
>  * save memory buffer to "file"
>  * remove "file~"

It seems that in some cases this would actually make
the situation worse, e.g.if there is just enough room
for 'file', but not enough for 'file' + '~file'.

IMO it is not so critical to retain the information in
the disk file, since the user was trying to overwrite it
anyway. More important is to make the user fully aware
that the operation failed. This is one place where I think
the tiny message on the status bar is not sufficient.

Geany should display a prominent warning dialog, maybe even
followed by a save-as dialog to allow the user to save the
buffer to a new location, or to try again after freeing up
some disk space.


 - Jeff



More information about the Users mailing list