Re: [2005-08-02] CVS repository changes
On Tuesday, 02 August 2005 at 22:10, Nicolas Rachinsky wrote:
> * Brendan Cully <brendan@xxxxxxxxxx> [2005-08-02 08:04 -0700]:
> > On Tuesday, 02 August 2005 at 09:46, Nicolas Rachinsky wrote:
> > > * Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx> [2005-08-02 03:00 +0000]:
> > > > * compose.c: Don't unlink attachments that you've decided not
> > > > to send. (closes #1328)
> > >
> > > Was there any discussion except the one starting with
> > > 20020830113204.GB15874@xxxxxxx
> > > (on this list). There was more or less an agreement of this being a
> > > feature not a bug.
> >
> > After the latest commit, mutt will still unlink files that it has
> > generated (eg attached messages, as you mentioned in that thread). It
> > just won't unlink files that it didn't create unless they have been
> > successfully sent. This seems to me like the least surprising
> > behaviour.
>
> I think both variants (delete only when sending and delete always) are
> useful. I can live with both.
>
> How does this interact with postponing? Does the file stay until I
> really send the mail? Or is it deleted, even if I'll never send the
> mail?
It gets uploaded into the postponed message and then unlinked. The
basic idea is that it shouldn't be unlinked until it's been saved in
some way (either by sending it or saving it into a postponed
message).