Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for format=flowed #2

Open
DamienCassou opened this issue Feb 22, 2017 · 5 comments
Open

Support for format=flowed #2

DamienCassou opened this issue Feb 22, 2017 · 5 comments

Comments

@DamienCassou
Copy link
Contributor

Hi,

I, too, thought about doing exactly the same 2 or 3 years ago but my understanding of text properties was even poorer than it is now. Thank you for doing it. Another reason for me to not invest time on it is it's apparent poor support in mail user agents:

  • Emacs message-mode doesn't support it
  • K9-Mail has an implementation, but it hasn't been released yet
  • Zimbra doesn't support it either
  • Thunderbird apparently supports it but says: "It is a interesting standard that just didn't catch on"

What is your opinion on it?

@legoscia
Copy link
Owner

legoscia commented Feb 26, 2017 via email

@aspiers
Copy link
Contributor

aspiers commented Oct 3, 2017

I was pretty confused by this discussion :-) But I think I managed to figure it out, so posting here in case it helps someone else.

Presumably the whole point of this package is to support format=flowed, but looking at the code I see no evidence of it changing the raw content of the buffer - it only changes the text properties so that an extra newline symbol is displayed. But for f=f to work, certain things must happen like spaces being appended to the end of lines where reflowing is desired. So how is this package supposed to enable f=f behaviour? AFAICS the answer lies in the fact that the package turns on the use-hard-newlines minor mode, and that gnus/flow-fill.el defines fill-flowed-encode to append spaces to the end of lines when use-hard-newlines is enabled. There's another function fill-flowed in the same file which gets called by mm-inline-text in gnus/mm-view.el. Unfortunately these functions are all totally undocumented so it's not immediately clear what they're doing. I did find this though:

https://www.gnu.org/software/emacs/manual/html_node/emacs-mime/Flowed-text.html

The main problem for me is that while I'm writing (plain text) mail in emacs, I am not sending it via gnus or indeed via emacs at all - I'm sending it via mutt. So none of this flowed text support which ships with emacs is particularly helpful for me right now, and neither is messages-are-flowing :-/ Any suggestions for how to improve things for my use case are very gratefully received!

@aspiers
Copy link
Contributor

aspiers commented Oct 4, 2017

I've created https://www.emacswiki.org/emacs/FormatFlowed to try to make sense of all of this.

@legoscia
Copy link
Owner

legoscia commented Oct 5, 2017

You got it right: right now this is rather entwined with message-mode. I commented about a potential way to get emacs+mutt to do the right thing in #4, but I haven't tried it myself.

@aspiers
Copy link
Contributor

aspiers commented Oct 5, 2017

Ah that's useful info, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants