Formatting of mail

423 views
Skip to first unread message

Phil Jackson

unread,
Oct 3, 2017, 1:51:45 PM10/3/17
to mu-discuss
Hey all, When I send mail from mu4e, users who receive it on mobile get a poorly formatted email like so:


And here's what it looks like from Emacs - as a series of long lines and a couple of hard paragraphs - just before I sent it:


I have `mu4e-compose-format-flowed' set to t in the above and no other settings that would affect formatting. My question is, what settings will get me best results for people reading my emails on their phones?

Cheers,
Phil

Eduardo Mercovich

unread,
Oct 3, 2017, 8:59:48 PM10/3/17
to mu-di...@googlegroups.com
Hi Phil.

> Hey all, When I send mail from mu4e, users who receive it on
> mobile get a poorly formatted email like so:
> https://imgur.com/a/gFxBL

I believe they shouldn't have new lines except when you insert a
new paragraph by hand...

> And here's what it looks like from Emacs - as a series of long
> lines and a couple of hard paragraphs - just before I sent it:
> https://imgur.com/a/RelnW

I have the same here. If the long lines are bothering you, they
can be tamed by changing the frame width or with the fring/margin
width (see https://emacs-doctor.com/emacs-strip-tease.html as an
example).

> I have `mu4e-compose-format-flowed' set to t in the above and no
> other settings that would affect formatting. My question is,
> what settings will get me best results for people reading my
> emails on their phones?

I thought that those settings would make the text flow until you
used a hard return. At least, it does for me here. I just checked
a couple of sent mails and don't see the hard cuts in a mobile
phone.


--
Eduardo Mercovich

Donde se cruzan tus talentos
con las necesidades del mundo,
ahí está tu vocación.
(Anónimo)

Phil Jackson

unread,
Oct 4, 2017, 10:01:20 AM10/4/17
to mu-di...@googlegroups.com
Hi Eduardo,

Eduardo Mercovich <eduardo....@gmail.com> writes:

>> And here's what it looks like from Emacs - as a series of long
>> lines and a couple of hard paragraphs - just before I sent it:
>> https://imgur.com/a/RelnW
>
> I have the same here. If the long lines are bothering you, they
> can be tamed by changing the frame width or with the
> fring/margin
> width (see https://emacs-doctor.com/emacs-strip-tease.html as an
> example).

Great tip - thank you.

>> I have `mu4e-compose-format-flowed' set to t in the above and
>> no
>> other settings that would affect formatting. My question is,
>> what settings will get me best results for people reading my
>> emails on their phones?
>
> I thought that those settings would make the text flow until you
> used a hard return. At least, it does for me here. I just
> checked
> a couple of sent mails and don't see the hard cuts in a mobile
> phone.

Ok, that's promising, means I'm screwing something up. I don't
suppose your configuration is available somewhere, is it?

Is your mobile client Gmail/Inbox?

Cheers,
Phil

Eduardo Mercovich

unread,
Oct 4, 2017, 11:05:55 AM10/4/17
to mu-di...@googlegroups.com
Hi Phil.

[...]

>>> I have `mu4e-compose-format-flowed' set to t in the above and
>>> no other settings that would affect formatting. My question
>>> is, what settings will get me best results for people reading
>>> my emails on their phones?

>> I thought that those settings would make the text flow until
>> you used a hard return. At least, it does for me here. I just
>> checked a couple of sent mails and don't see the hard cuts in a
>> mobile phone.

> Ok, that's promising, means I'm screwing something up. I don't
> suppose your configuration is available somewhere, is it?

Not, but I can sanitize it and share it if needed... however, I
have it in this regard just like you.

> Is your mobile client Gmail/Inbox?

Yes, Gmail. But I don't see the ugly cuts in the middle of a
sentence since I use format flowed in mu4e (I don't use gmail web
interface, too cumbersome and I'm slowly leaving google). :)

Just to add some references, Adam Spiers in github said: I've
linked to this FAQ from
https://www.emacswiki.org/emacs/FormatFlowed
In that wiki there is a link to [[... mail clients such as Gmail
don't handle it
correctly][https://mathiasbynens.be/notes/gmail-plain-text]] in
which this issue is explained.

Phil Jackson

unread,
Oct 4, 2017, 5:36:30 PM10/4/17
to mu-di...@googlegroups.com
Eduardo,

Eduardo Mercovich <eduardo....@gmail.com> writes:

>> Is your mobile client Gmail/Inbox?
>
> Yes, Gmail. But I don't see the ugly cuts in the middle of a
> sentence since I use format flowed in mu4e (I don't use gmail web
> interface, too cumbersome and I'm slowly leaving google). :)

Turns out that Google's Inbox (it's a Gmail variant for mobile) doesn't do the
right thing with format=flowed, so, turns out that the emails look fine in the
Gmail mobile app as you suggested they would.

Thanks for your help.

Cheers,
Phil

Eduardo Mercovich

unread,
Oct 4, 2017, 8:52:49 PM10/4/17
to Mu Discuss

d^-^b

--
eduardo mercovich

Donde se cruzan tus talentos
con las necesidades del mundo,
ahí está tu vocación.

--
You received this message because you are subscribed to the Google Groups "mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mu-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages