[MlMt] Pasting text results in image - how to fix?

2023-01-21 Thread Scott
Hello,

For a while now (over a year, possibly more), I've found that when I paste text 
into a compose window on MailMate, instead of just getting the text, it is 
turned into a Pasted Image (PNG, I think).

This is somewhat infuriating, as I end up taking the same text from the 
Clipboard, pasting it into Sublime Text, select-all, copy, and THEN pasting it 
into MailMate.

Is it just me?  Is there a workaround?

The source text is often from various web-apps I use for work, but, no other 
application besides MailMate seems to have an issue with it.

I can take the same Clipboard and paste into a Terminal session, vim, any text 
editor, DevonThink, doesn't matter...always works.

But MailMate will almost always turn pasted text into an image.

I'm guessing there's extraneous information in the copied data which is making 
MailMate assume I'm trying to paste binary content, perhaps.

Would be great if someone knows a way around this!

Regards,

Scott

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Pasting text results in image - how to fix?

2023-01-22 Thread aisrael
I just tried (Mailmate 5898, Big Sur) and it works OK, I just get the 
text. Not very helpful, I admit.


Alain



On 22 Jan 2023, at 0:42, Scott wrote:


Hello,

For a while now (over a year, possibly more), I've found that when I 
paste text into a compose window on MailMate, instead of just getting 
the text, it is turned into a Pasted Image (PNG, I think).


This is somewhat infuriating, as I end up taking the same text from 
the Clipboard, pasting it into Sublime Text, select-all, copy, and 
THEN pasting it into MailMate.


Is it just me?  Is there a workaround?

The source text is often from various web-apps I use for work, but, no 
other application besides MailMate seems to have an issue with it.


I can take the same Clipboard and paste into a Terminal session, vim, 
any text editor, DevonThink, doesn't matter...always works.


But MailMate will almost always turn pasted text into an image.

I'm guessing there's extraneous information in the copied data which 
is making MailMate assume I'm trying to paste binary content, perhaps.


Would be great if someone knows a way around this!

Regards,

Scott

___
mailmate mailing list
mailmate@lists.freron.com
https://urldefense.com/v3/__https://lists.freron.com/listinfo/mailmate__;!!JFdNOqOXpB6UZW0!pFSFgxwR-8z4t2xum4_wWZFfM3o3NTAA0hZhba5kiptXSjIcVxkr6IX_-krTCaPEhEMPrwCUhsnNvCF5yhYuqQ$___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Pasting text results in image - how to fix?

2023-01-22 Thread Randall Gellens
I agree, this is frustrating. I do the same -- cmd-tab into BBEdit then 
cmd-N, cmd-A, cmd-C, cmd-W, click "delete", cmd-tab to MailMate, cmd-P.


--Randall

On 21 Jan 2023, at 15:42, Scott wrote:


Hello,

For a while now (over a year, possibly more), I've found that when I 
paste text into a compose window on MailMate, instead of just getting 
the text, it is turned into a Pasted Image (PNG, I think).


This is somewhat infuriating, as I end up taking the same text from 
the Clipboard, pasting it into Sublime Text, select-all, copy, and 
THEN pasting it into MailMate.


Is it just me?  Is there a workaround?

The source text is often from various web-apps I use for work, but, no 
other application besides MailMate seems to have an issue with it.


I can take the same Clipboard and paste into a Terminal session, vim, 
any text editor, DevonThink, doesn't matter...always works.


But MailMate will almost always turn pasted text into an image.

I'm guessing there's extraneous information in the copied data which 
is making MailMate assume I'm trying to paste binary content, perhaps.


Would be great if someone knows a way around this!

Regards,

Scott

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Pasting text results in image - how to fix?

2023-01-22 Thread Fredrik Jonsson
Scott 2023-01-22 0:42 wrote:

> For a while now (over a year, possibly more), I've found that when I paste 
> text into a compose window on MailMate, instead of just getting the text, it 
> is turned into a Pasted Image (PNG, I think).

I have experienced this as well. Anything that is not pure plain text will 
result in an attached image.

A workaround is to use the command "Paste as Plain Text" in the Edit menu. Hold 
down Shift + Option to see it.

Keyboard shortcut: Shift + Option + Command + V

You can remap this to plain Command + V with Apples Keyboard system settings.

Fredrik
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Pasting text results in image - how to fix?

2023-01-26 Thread Benny Kjær Nielsen
On 22 Jan 2023, at 0:42, Scott wrote:

> But MailMate will almost always turn pasted text into an image.

It'll only happen if the application putting it on the pasteboard added an 
image as well as text. I don't really know why any app would do that if it's 
really only text. (MailMate does not have any text to image conversion.)

That said, I recall changing something related to Office apps (at least Excel 
and Word), but I'm not sure it works in other cases. Please try and see if the 
latest beta behaves differently (r5937). If not, I'll revisit the issue (right 
now, I've forgotten the details :) ).

> I'm guessing there's extraneous information in the copied data which is 
> making MailMate assume I'm trying to paste binary content, perhaps.

From the perspective of MailMate, you really are pasting binary data (an image).

-- 
Benny
https://freron.com/become_a_mailmate_patron/
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Pasting text results in image - how to fix?

2023-01-26 Thread Giovanni Lanzani

On 26 Jan 2023, at 12:23, Benny Kjær Nielsen wrote:


On 22 Jan 2023, at 0:42, Scott wrote:


It'll only happen if the application putting it on the pasteboard 
added an image as well as text. I don't really know why any app would 
do that if it's really only text. (MailMate does not have any text to 
image conversion.)


That said, I recall changing something related to Office apps (at 
least Excel and Word), but I'm not sure it works in other cases. 
Please try and see if the latest beta behaves differently (r5937). If 
not, I'll revisit the issue (right now, I've forgotten the details :) 
).




Excel works indeed and you get a nice Markdown table. Pasting from 
Numbers (= Excel made by Apple) results in an image indeed.
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Pasting text results in image - how to fix?

2023-01-26 Thread Steven M. Bellovin
On 26 Jan 2023, at 11:18, Giovanni Lanzani wrote:

> On 26 Jan 2023, at 12:23, Benny Kjær Nielsen wrote:
>
>> On 22 Jan 2023, at 0:42, Scott wrote:
>>
>>
>> It'll only happen if the application putting it on the pasteboard added an 
>> image as well as text. I don't really know why any app would do that if it's 
>> really only text. (MailMate does not have any text to image conversion.)
>>
>> That said, I recall changing something related to Office apps (at least 
>> Excel and Word), but I'm not sure it works in other cases. Please try and 
>> see if the latest beta behaves differently (r5937). If not, I'll revisit the 
>> issue (right now, I've forgotten the details :) ).
>>
>
> Excel works indeed and you get a nice Markdown table. Pasting from Numbers (= 
> Excel made by Apple) results in an image indeed.

Data copied from Word is structured and not just simple text. Many years ago, 
before I switched to MailMate, I did a copy-and-paste from Word into an Apple 
Mail message. To my surprise, it did the right thing with footnotes—it changed, 
say, a superscript 3 into a [3] in the message, and included the text of the 
footnote at the end of the pasted insert. Very convenient—but also messy for 
some programs.

--Steve Bellovin, https://www.cs.columbia.edu/~smb
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Pasting text results in image - how to fix?

2023-01-26 Thread Randall Gellens

On 26 Jan 2023, at 8:18, Giovanni Lanzani wrote:


On 26 Jan 2023, at 12:23, Benny Kjær Nielsen wrote:


On 22 Jan 2023, at 0:42, Scott wrote:


It'll only happen if the application putting it on the pasteboard 
added an image as well as text. I don't really know why any app would 
do that if it's really only text. (MailMate does not have any text to 
image conversion.)


That said, I recall changing something related to Office apps (at 
least Excel and Word), but I'm not sure it works in other cases. 
Please try and see if the latest beta behaves differently (r5937). If 
not, I'll revisit the issue (right now, I've forgotten the details :) 
).




Excel works indeed and you get a nice Markdown table. Pasting from 
Numbers (= Excel made by Apple) results in an image indeed.


I run into this most often when pasting from Numbers. In my cases, I'm 
most often just copying one or two cells and wanting to paste them as 
plain text, so ending up as a markdown table would be extra work, but I 
can see that as being what's most often desired by users in general.


--Randall
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate