Hi, and FYI,

there is a problem with message attachments, including those that
are added via *quote-as-attachment*: if you use the `~:' (or `~_')
tilde escapes during composition and switch off to a different
folder, then those attachments become invalid, or, worse, point to
false messages!

It is logically like that, but far from what i would consider to
be «sane behaviour».
Which would be of course if S-nail would automatically
do-the-right-thing behind the scenes.  (The right thing: remember
it is a message attachment for the `~@' command, include the
*correct* message when sending the mail).

Unfortunately that cannot be implemented that easily with the
current codebase.  What can be done:

  . Detecting that a folder change happened and print a warning
    message if there are existing message attachments.

    This is what you get if you update to [master].
    I thus highly recommend this.

If you don't care about code internals, have a good time and
stop reading, please.

  . Automatic deselection of such an attachment upon folder
    change.

    Maybe i should have done that instead of only printing
    a warning message, but i have decided the other way.

  . Creating temporary files and storing the message content
    therein, thus converting the RFC822 message attachment to
    a file-attachment.

    I have yet decided not to do this, because i really need
    a holiday from S-nail.

    It requires yet another attachment-handling mode to get this
    right, so as to not introduce races (temporary files that
    will not become cleaned up), but since the-right-thing is so
    much more complicated to do (we need a completely different
    handling of mailboxes that actually supports multiple
    *simultaneously* opened mailboxes, including the yet
    TODO-tracked intermediate "void" box; at that time it should
    be possible to simply track the message attachment as
    something like `FOLDERNAME#MSGNO') it may happen that i'll
    implement it nonetheless for the next minor version.

Ciao,

--steffen

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to