Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, Andre Poenitz wrote: On Thu, Jul 05, 2007 at 02:54:03PM +0200, Jean-Marc Lasgouttes wrote: "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> The type of attachment is separate from how the reader christian> shows the attachment. If I've understood

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, Bo Peng wrote: So you do not see this attachment as attachment? I can view the attachment of this email. Wow... progress... :-) /C -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Andreas Neustifter
On 05.07.2007, at 20:51, Bo Peng wrote: --00090009040901040802 Content-Type: text/plain; name="persistent_selection5.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="persistent_selection5.patch" This is displayed inline, with no possibility to s

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Bo Peng
--00090009040901040802 Content-Type: text/plain; name="persistent_selection5.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="persistent_selection5.patch" This is displayed inline, with no possibility to save the attachment (Mail.app). So the onl

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Andreas Neustifter
Hi, On 05.07.2007, at 20:31, Andre Poenitz wrote: On Thu, Jul 05, 2007 at 03:17:59PM +0200, [EMAIL PROTECTED] wrote: On Thu, 5 Jul 2007, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Abdelrazak> - the format used by default by thunderbird: I can view Abdelrazak> them inlined, even t

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Andre Poenitz
On Thu, Jul 05, 2007 at 03:17:59PM +0200, [EMAIL PROTECTED] wrote: > On Thu, 5 Jul 2007, Abdelrazak Younes wrote: > > >[EMAIL PROTECTED] wrote: > >>> Abdelrazak> - the format used by default by thunderbird: I can view > >>> Abdelrazak> them inlined, even though they are attachments really. The >

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Andre Poenitz
On Thu, Jul 05, 2007 at 02:54:03PM +0200, Jean-Marc Lasgouttes wrote: > > "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: > > christian> The type of attachment is separate from how the reader > christian> shows the attachment. If I've understood it correctly, the > christian>

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Alfredo Braunstein
Abdelrazak Younes wrote: >> It's hard to believe we still have these problems given how long e-mail >> has been around... > > That's because we still apply patches manually. 'git' has some method > apparently to apply patches from mbox... that's what I call efficient! I > personally hate this ema

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Bo Peng
So you do not see this attachment as attachment? I can view the attachment of this email. Bo

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
Bo Peng wrote: > If that's the case and Bo can see it, we're good (enough). Just let you know that there is no such setting in gmail to view your attachment as attachment. So you do not see this attachment as attachment? Index: CutAndPaste.cpp

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: On Thu, 5 Jul 2007, Abdelrazak Younes wrote: OK I've modified the settings accordingly and am sending the last patch fo this thread attached. Let's see how I am going to see it through news.gmane.org and if Bo can apply it properly. It's shown inline in gmane's web in

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: > Abdelrazak> - the format used by default by thunderbird: I can view > Abdelrazak> them inlined, even though they are attachments really. The > Abdelrazak> problem is that web mailers transform that to inline > Abdelrazak

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Jean-Marc Lasgouttes
> "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> The type of attachment is separate from how the reader christian> shows the attachment. If I've understood it correctly, the christian> gmane web interface will take text attachments (non-MIME) christian> and show th

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Jean-Marc Lasgouttes
> "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> According to the following URI, you can make Thunderbird christian> produce proper attachments: christian> http://kb.mozillazine.org/Send_plain_text_attachments_as_real_attachments Thanks for the tip. JMarc

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Abdelrazak> - the format used by default by thunderbird: I can view Abdelrazak> them inlined, even though they are attachments really. The Abdelrazak> problem is that web mailers transform that to inline Abdelrazak> proper. This is inlined mime attachments. It seems that

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
Abdelrazak> - the format used by default by thunderbird: I can view Abdelrazak> them inlined, even though they are attachments really. The Abdelrazak> problem is that web mailers transform that to inline Abdelrazak> proper. This is inlined mime attachments. It seems that Thunderbird can only prod

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Anyway, it'll be interesting to see if Bo can extract what I attached and if Abdel is able to view it. In thunderbirds, I am viewing it inline with a double line marking the threshold between the main body and the attachment. But I also see it as an _attachment_ at

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, Jean-Marc Lasgouttes wrote: christian> Maybe you should attach it in MIME format? What does this mean? Inline vs attached? Aren't both of these things MIME? Abundant confusion What I meant was that it is shown inline, i.e. there's no discernable difference between t

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: >>> "christian" == christian ridderstrom >>> <[EMAIL PROTECTED]> writes: >> christian> Maybe you should attach it in MIME format? >> >> What does this mean? Inline vs attached? Are

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> Maybe you should attach it in MIME format? What does this mean? Inline vs attached? Aren't both of these things MIME? AFAIU: 1) Inline means "in the body text", i.e. no attachment. 2) At

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Jean-Marc Lasgouttes
> "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> Maybe you should attach it in MIME format? What does this mean? Inline vs attached? Aren't both of these things MIME? JMarc

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: On Thu, 5 Jul 2007, Abdelrazak Younes wrote: Bo Peng wrote: > Following our middle-mouse pasting discussions, I think I've implemented > the optimal solution that will work under Mac and Windows too > (internally to LyX). My solution is to save the selectionBuffer

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, [EMAIL PROTECTED] wrote: But I always attach my patch I never put then inline, I am sorry but I think the problem is on your side. gmail is wrong if it thinks that it is inline. Maybe you should attach it in MIME format? When looking at your post via gmane's web interf

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, Abdelrazak Younes wrote: Bo Peng wrote: > Following our middle-mouse pasting discussions, I think I've implemented > the optimal solution that will work under Mac and Windows too > (internally to LyX). My solution is to save the selectionBuffer just > before it is pasted

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
Bo Peng wrote: Following our middle-mouse pasting discussions, I think I've implemented the optimal solution that will work under Mac and Windows too (internally to LyX). My solution is to save the selectionBuffer just before it is pasted in the same LFUN_MOUSE_PRESS. The big change is that we ch

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-04 Thread Bo Peng
Following our middle-mouse pasting discussions, I think I've implemented the optimal solution that will work under Mac and Windows too (internally to LyX). My solution is to save the selectionBuffer just before it is pasted in the same LFUN_MOUSE_PRESS. The big change is that we check if the curre

Re: [Updated Patch] Persistent selection and formatting preserved pasting

2007-07-04 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: >> Hi, >> >> Following our middle-mouse pasting discussions, I think I've >> implemented the optimal solution that will work under Mac and >> Windows too (internally to LyX). My solution is to

[Updated Patch] Persistent selection and formatting preserved pasting

2007-07-04 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Hi, Following our middle-mouse pasting discussions, I think I've implemented the optimal solution that will work under Mac and Windows too (internally to LyX). My solution is to save the selectionBuffer just before it is pasted in the same LFUN_MOUSE_PRESS. The big ch

[Patch] Persistent selection and formatting preserved pasting

2007-07-04 Thread Abdelrazak Younes
Hi, Following our middle-mouse pasting discussions, I think I've implemented the optimal solution that will work under Mac and Windows too (internally to LyX). My solution is to save the selectionBuffer just before it is pasted in the same LFUN_MOUSE_PRESS. The big change is that we check if