<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On 2 Aug 2006, at 17:37, Rodrigo Coacci wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BR><BR><DIV><SPAN class="gmail_quote">On 8/2/06, <B class="gmail_sendername">Erlend Davidson</B> <<A href="mailto:E.R.M.Davidson@sms.ed.ac.uk">E.R.M.Davidson@sms.ed.ac.uk</A>> wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Samuel Verstraete wrote:<BR>> Hi Benny,<BR>><BR>> 2 small issues...<BR>><BR>> First: I was wondering if the expected behaviour of overwriting files<BR>> would be to store the "overwritten" file in the trash... i certainly <BR>> was expecting this but it might be just me ;)<BR>><BR>You mean if you edit a file called myfile the old (unedited) version is<BR>stored as myfile~... but you're saying you want the myfile~ to be in the<BR>trash? <BR></BLOCKQUOTE></DIV><BR> I guess it isn't what he means, even because any FM could be able to do that... It should be resposability of the editor (or whatever app you are using) to do it. <BR> I guess what he meant was when you copy/move a file over another (using Thunar), effectively overwriting it, it could get the to-be-overwritten file and put it in trash before overwriting it.<BR></BLOCKQUOTE><DIV>Ah now I see what he means - I like it, it's an interesting idea.  Overwriting a file is similar to deleting the file and putting a file in its place with the same filename... except if you did this the file you deleted would be in the trash for you.  It could be an option:<BR></DIV><DIV>=====</DIV><DIV>Are you sure you want to overwrite file.conf?</DIV><DIV>Overwrite     Overwrite and store old version in trash     Cancel</DIV><DIV>=====</DIV><BR><BLOCKQUOTE type="cite"> But I don't really think this is reasonable... And for big files, could create a big performance issue, not to tell about disk space....<BR><BR clear="all"></BLOCKQUOTE></DIV><DIV>That's going to be a problem for the trash system in general.  If you give people an option (like above) this wouldn't be an issue (they can just opt out of putting it in the trash if the file is too big).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>What about standards though?  I don't *think* this breaks any standards because overwriting is comparable to deleting then writing  again (as mentioned above).</DIV></BODY></HTML>