~sircmpwn/aerc2#197:
Unable to prefer html over plaintext email

Thanks for building such an awesome email client! I've been trying to get the configuration in aerc.conf to prefer html over plain text so I changed the alternatives line from:

alternatives=text/plain,text/html

to

alternatives=text/html,text/plain

and reloaded aerc but is still defaulting to viewing emails in plaintext. Is this a bug or am I not doing something wrong?

Status
REPORTED
Submitter
~thornycrackers
Assigned to
No-one
Submitted
3 months ago
Updated
3 months ago
Labels
No labels applied.

~craftyguy 3 months ago

This should be fixed by https://git.sr.ht/~sircmpwn/aerc/commit/dd178262bb1d01f9f7d4710431547041bde52d89, but it may not be in a tagged release yet. Do you still have this issue with aerc built from git master?

~thornycrackers 3 months ago

I was using 0.1.2 and then cloned and built and ran b34242560e361d0fd73a9f49e4be7052b96cde5e which still has the same problem. Looking at the patch if I add:

if m != pv.part.MIMEType+"/"+pv.part.MIMESubType {
    switcher.selected = i // Add this line
    continue
}

Then if I view an email with text/plain and text/html it works. I don't know much GO but hopefully this is helpful to solve the issue

Register here or Log in to comment, or comment via email.