~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
RESOLVED FIXED
Submitter
~thornycrackers
Assigned to
No-one
Submitted
5 years ago
Updated
4 years ago
Labels
No labels applied.

~craftyguy 5 years 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 5 years 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

~kris 4 years ago

This looks like resolved already? I have this configured to have HTML preferred and that seems to work as expected.

~kris 4 years ago

This looks like resolved already? I have this configured to have HTML preferred and that seems to work as expected.

~labrat REPORTED FIXED 4 years ago

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