[MlMt] Tab stops and previews of multiple selected messages

Benny Kjær Nielsen mailinglist at freron.com
Thu May 2 05:07:33 EDT 2019


On 1 May 2019, at 23:09, Randall Gellens wrote:

> Is there an option to convert tabs into spaces when composing mail?

No, but maybe there should be. I haven't really given tabs in emails 
much thought.

In general, I think the receiving email client should be in charge of 
how an email is displayed. In MailMate, I think I'm just using the macOS 
default which appears to be 4 when displaying HTML. The `tab-size` CSS 
value could probably be used to change that. (Observation: The current 
Markdown converter in MailMate seems to replace tabs with 4 spaces for 
`<pre>` segments, but this does not happen in a meaningful way.)

The exception would be if the sender uses tabs in plain text to align 
something *not* at the beginning of a line. In this case, it would make 
sense to enforce a particular tab size by converting it into spaces. 
Then it might also make sense to generate HTML which enforces the use of 
a fixed-width font when the message is displayed.

It's likely impossible to satisfy everyone (just try googling 
tabs-vs-spaces), but if I change the current default behavior then I'll 
also make sure to add options to control it.

-- 
Benny
https://freron.com/become_a_mailmate_patron/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20190502/ced18f95/attachment.html>


More information about the mailmate mailing list