Hi Philippe,
See comments in line.

Philippe Bossut wrote:
Hi,

I'm not sure we want to copy the stampness when replying to a message. The idea of stamping is that we have one unique aggregate of info somewhere to handle a multiplicity of meaning. If we dupe this, it looks like going against the idea of stampess (to me at least).

e.g. I receive a message which has also an ics attached. Thanks to Chandler's smartness (available since alpha2, thanks Bryan... :) ), this email is stamped as an event and appears on my calendar.
Yes, but the ical info is attached to the event. So the reply, reply all would not retain any of that event info only the text contained in the body of the email.

Mimi's mock-ups never addressed the stamping cases. So would be good to get her feedback.

For now I can just copy the mailness of an item and ignore event, task info. However, I am not sure this is the desired behavior.


Now, I want to reply to say to the sender "I'll be there", I don't think we want to create a new event on top of the first one and that what would happen if we were to copy the stampness (or may be there's a subtle way to do this I don't know...).
But would you want the event info to go in the reply?
That info is contained in the event item not the mail item.

The way I understand it, the communication thread continues its merry way but does not carry the item with it.

Think of the stamp as attachments. They're not resent when you reply. On the other hand now I think about it, they are when you forward. Hmmm....
For forward, I take the rfc2822 message body of the original message and include it in the new message as an attachment.


Well, this is my interpretation here, may be I'm wrong. Having a reply that would end up duplicating things like events or tasks sounds wrong though.

Thoughts?
I would like to get feedback from Mimi.

-Brian


Cheers,
- Philippe

PS: also, I didn't move it there but I think this conversation belongs squarely to the dev list.

Brian Kirsch wrote:
Hello,
I would appreciate some advice on the best way to copy parts of an item.

I am implementing the Reply, Reply All, Forward logic.

Performing a Reply, Reply All, Forward button click results in me creating a new MailMessage item. I then take the original item which is an instance of MailMessageMixin and manually retrieve the values I need putting them in to the new MailMessage item. These values are in most cases altered in the new item. For example the body of the new message has ">" inserted in it and the subject has either "Re:" or "Fwd:"inserted in it.

Ok, so this works fine. Where I am not sure on the best way to proceed is on copying the stampness of the original MailMessageMixin item. The item could be an instance of MailedEvent, MailedTask, MailedTaskEvent etc.

What I want to do is create a new MailMessage but then take all the stamped information from the original MailMessageMixin and copy it to the new item.

I don't however want to copy any of the MailMessageMixin values only the values of the kinds that are stamped on the item.

Clouds are certainly a possibility. I have looked through the code base and can not see a clear example of what I am trying to do. I could use your suggestions at this point.

Thanks,
Brian


--
Brian Kirsch Internationalization Architect / Mail Service Engineer
Open Source Applications Foundation
543 Howard Street 5th Floor
San Francisco, CA 94105
http://www.osafoundation.org

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to