Re: [MlMt] Can signature be customized by folder?

2023-01-26 Thread Benny Kjær Nielsen

On 24 Jan 2023, at 0:16, Robert Wall wrote:

I have messages for one area of my life relegated to a folder. Senders 
auto-funnel to that folder via rules, but it's all part of one main 
email account.


Is it possible for replies *to any message in that folder* to have a 
different email signature?


Signature preferences only allow you to restrict a signature to a 
specific set of *sending* addresses, but this is likely not what you 
need here.


But note that MailMate should learn your preference over time for each 
of these correspondents when you use the Signatures menu to select the 
signature. (That doesn't help if some of your correspondents are both 
inside and outside this folder.)


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


Re: [MlMt] 5933: Dragging files into a folder => files are locked (immutable set)

2023-01-26 Thread Benny Kjær Nielsen

On 7 Jan 2023, at 13:35, Robert M. Münch wrote:


I see this effect I think since I use 5933.


The change is in r5927 (November 10th, 2022).

I do exactly the same as in the past, but now is looks like files are 
somehow locked by MM. Checking the file attributes I see that the 
*Immutable* flag is set.


Is this a known problem? How to fix/workaround it?


I can see this developed into a very large thread. Someone found the 
workaround, but I repeat it here to make sure it's more easily found:


	defaults write com.freron.MailMate 
MmAttachmentsCacheImmutableStateDisabled -bool YES


But it's only to be used by users who understand that attachments are 
saved in a *temporary* location which can be deleted at any time. It 
just doesn't happen very often.


I can add that the change was motivated by a user working on a document 
for weeks (possibly hundreds of hours). The corresponding email was 
later deleted and MailMate cleaned up by also removing temporary files 
related to the email. Note that the cache is not part of a Time Machine 
backup. The file could not be salvaged.


I have some notes on how this behavior could be improved, but the 
quick/safest fix was to simply disallow it.


--
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 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] Latest Test Build 1.14 (5934)

2023-01-26 Thread Benny Kjær Nielsen
On 20 Jan 2023, at 17:36, Henry Seiden wrote:

> Recently updated from the previous version (5933) and noticed that certain 
> settings in compose were reset.

No changes were done related to this (I think).

> In particular my setting of signature preferences (reselected by using the 
> button at the top of the compose window. Do not yet know if it will ’stick’ 
> for future composing (enable message preview).
>
> Also, the local storage of links in formatted inline documents. It seems the 
> best approach to restore all settings would be to copy in all previous 
> settings, completely replacing all settings with what was used before.
>
> Did the M-M update when installing a new MacOS update (Ventura 13.2 RC), so 
> that may have something to do with it as well although it hasn’t before when 
> using the same technique.

If rebuilding the MailMate database (refetching emails) then signature-related 
history won't survive. That likely explains some of the above.

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


Re: [MlMt] 5933: Dragging files into a folder => files are locked (immutable set)

2023-01-26 Thread Alexandre Takacs
Although not exactly the same issue I have recently witnessed that some 
attachements would have the invisible property set (on what I can only 
categorise as randomly). Can’t really reproduce it but definitely 
happens.


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


On 7 Jan 2023, at 13:35, Robert M. Münch wrote:


I see this effect I think since I use 5933.


The change is in r5927 (November 10th, 2022).

I do exactly the same as in the past, but now is looks like files are 
somehow locked by MM. Checking the file attributes I see that the 
*Immutable* flag is set.


Is this a known problem? How to fix/workaround it?


I can see this developed into a very large thread. Someone found the 
workaround, but I repeat it here to make sure it's more easily found:


defaults write com.freron.MailMate 
MmAttachmentsCacheImmutableStateDisabled -bool YES


But it's only to be used by users who understand that attachments are 
saved in a *temporary* location which can be deleted at any time. It 
just doesn't happen very often.


I can add that the change was motivated by a user working on a 
document for weeks (possibly hundreds of hours). The corresponding 
email was later deleted and MailMate cleaned up by also removing 
temporary files related to the email. Note that the cache is not part 
of a Time Machine backup. The file could not be salvaged.


I have some notes on how this behavior could be improved, but the 
quick/safest fix was to simply disallow it.


--
Benny
https://freron.com/become_a_mailmate_patron/
___
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] 5933: Dragging files into a folder => files are locked (immutable set)

2023-01-26 Thread Steven M. Bellovin
Actually, I think that the solution you adopted was correct even in 
principle: attachments are part of an inbound email message, and should 
not be overwritten. If nothing else, what if for some reason the message 
was refetched from the IMAP server? What if you look at the attachment 
from one device, which does its own IMAP fetches, after editing it on 
another? I'd always assumed that attachments were locked; I was glad 
when MailMate finally implemented it.



On 26 Jan 2023, at 6:16, Benny Kjær Nielsen wrote:


On 7 Jan 2023, at 13:35, Robert M. Münch wrote:


I see this effect I think since I use 5933.


The change is in r5927 (November 10th, 2022).

I do exactly the same as in the past, but now is looks like files are 
somehow locked by MM. Checking the file attributes I see that the 
*Immutable* flag is set.


Is this a known problem? How to fix/workaround it?


I can see this developed into a very large thread. Someone found the 
workaround, but I repeat it here to make sure it's more easily found:


	defaults write com.freron.MailMate 
MmAttachmentsCacheImmutableStateDisabled -bool YES


But it's only to be used by users who understand that attachments are 
saved in a *temporary* location which can be deleted at any time. It 
just doesn't happen very often.


I can add that the change was motivated by a user working on a 
document for weeks (possibly hundreds of hours). The corresponding 
email was later deleted and MailMate cleaned up by also removing 
temporary files related to the email. Note that the cache is not part 
of a Time Machine backup. The file could not be salvaged.


I have some notes on how this behavior could be improved, but the 
quick/safest fix was to simply disallow it.


--
Benny
https://urldefense.proofpoint.com/v2/url?u=https-3A__freron.com_become-5Fa-5Fmailmate-5Fpatron_&d=DwIDaQ&c=009klHSCxuh5AI1vNQzSO0KGjl4nbi2Q0M1QLJX9BeE&r=jMObdJSnQpbSLekl2NjvrJVVxCKbmtg8cvi5143NF8Q&m=CVUdP8bBLz7fRhNlLBI-ZlHpQxtZBnKht5oCemq3-XPvK8y6raf-Ua5kpSo2unz8&s=aXCUwTv4z3dPfQejXS5T4fwYNpPguD6bxo9S4XBFA64&e=___
mailmate mailing list
mailmate@lists.freron.com
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freron.com_listinfo_mailmate&d=DwIGaQ&c=009klHSCxuh5AI1vNQzSO0KGjl4nbi2Q0M1QLJX9BeE&r=jMObdJSnQpbSLekl2NjvrJVVxCKbmtg8cvi5143NF8Q&m=CVUdP8bBLz7fRhNlLBI-ZlHpQxtZBnKht5oCemq3-XPvK8y6raf-Ua5kpSo2unz8&s=Y_VFN7KmNaHukVMnC6bkYIeo4tQuJ0NAJiiUq0lORIs&e=



—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 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