Live data from Hacker News

Aerc – An email client that runs in the terminal

aerc-mail.org

251–260 of 271 posts

Re: Aerc – An email client that runs in the terminal

#251
post #94

Earlier quoted context omitted.

> 80-char lines are too short for desktop displays and too long for small phones (leading to awful linebreaks), which makes me the guy whose emails never look right. RFC 3676 [1] describes the format MIME parameter for text/plain content type documents which solves this issue. Unfortunately, it does not work well when sending inline patches via email since it introduces trailing whitespace. [1] https://www.ietf.org/r…

format=flowed has many other problems, aside from mangling mails. It gets lost easily; intermixing mail clients that handle it with those that don't (or have been intentionally configured to ignore it because it mangles mails) produces poor results; it often breaks signatures; it makes it harder to quote and reply to emails; in general, it means the person on the other end will not see exactly what you sent.

> It gets lost easily;

How, unless the MUA is modifying quoted text beyond prefixing each line with >.

> intermixing mail clients that handle it with those that don't (or have been intentionally configured to ignore it because it mangles mails) produces poor results

I participated in many lengthy discussions in deeply nested threads on usenet with an email client (Thunderbird) that had format=flowed enabled for the text/plain posts that I was sending. I never noticed any issues when viewing posts I made or other posts that were descendants of my posts. That is, no problems with line wrap or other rendering issues (either when looking at it in Thunderbird's view pane or looking at the raw message text).

> it often breaks signatures;

It shouldn't break them if the client applies the signature itself.

> it makes it harder to quote and reply to emails

I don't see how this would be the case. When you reply to an email, the MUA should prefix each line in the body of the original message with a > character. Whether those lines have a single trailing whitespace character or not shouldn't make a difference in terms of quoting the original text.

> it means the person on the other end will not see exactly what you sent.

Unless you have text that requires wrapping at specific line lengths, they will see what you sent. If their client supports the flowed format, the lines will be rewrapped to your screen width. If their client does not, then they see the original raw text with trailing whitespace at the end of each line (other than the last line of each paragraph) which essentially is not visible to the reader unless they've configured their client to display a marker for trailing whitespace.

Re: Aerc – An email client that runs in the terminal

#252

Earlier quoted context omitted.

That's a side-effect of UTF-8, yes, but my primary concern was indeed non-English e-mail addresses, people should have the right to use their own names. You have GPG for identity validation though.

good luck getting your mom to implement that.

my mom is using a linux CLI mail client?

Re: Aerc – An email client that runs in the terminal

#253
post #251

Earlier quoted context omitted.

format=flowed has many other problems, aside from mangling mails. It gets lost easily; intermixing mail clients that handle it with those that don't (or have been intentionally configured to ignore it because it mangles mails) produces poor results; it often breaks signatures; it makes it harder to quote and reply to emails; in general, it means the person on the other end will not see exactly what you sent.

> It gets lost easily; How, unless the MUA is modifying quoted text beyond prefixing each line with >. > intermixing mail clients that handle it with those that don't (or have been intentionally configured to ignore it because it mangles mails) produces poor results I participated in many lengthy discussions in deeply nested threads on usenet with an email client (Thunderbird) that had format=flowed enabled for the t…

Trailing whitespace gets lost easily in editors. Mail clients not designed around HTML mail often track lines rather than paragraphs, and don't distinguish "hard wraps" and "soft wraps". The concept of "format=flowed" itself can get mangled if someone with a mail client that doesn't support it replies. And yes, people do send things like ASCII art or underlined text or code or other things where whitespace and wrapping matters.

Re: Aerc – An email client that runs in the terminal

#254

Why account passwords are stored on plaintext after the wizard? How do you encrypt them while configuring?

Unless you are willing to provide a decryption key on every "check my email" call (eg. every 5 minutes), an email client (or well, anything requiring frequent reauthorization) virtually has to have it in "plain text" (or any obfuscated form which is equivalent to plain text).

Workable alternatives are to store the decryption key in memory for the runtime of the program (eg. using login keyrings or per-app logic).

If you encrypt your $HOME or your entire disk, storing it in plain text achieves roughly the same level of protection (eg. decryption key is in the memory).

Re: Aerc – An email client that runs in the terminal

#255
post #251

Earlier quoted context omitted.

> It gets lost easily; How, unless the MUA is modifying quoted text beyond prefixing each line with >. > intermixing mail clients that handle it with those that don't (or have been intentionally configured to ignore it because it mangles mails) produces poor results I participated in many lengthy discussions in deeply nested threads on usenet with an email client (Thunderbird) that had format=flowed enabled for the t…

Trailing whitespace gets lost easily in editors. Mail clients not designed around HTML mail often track lines rather than paragraphs, and don't distinguish "hard wraps" and "soft wraps". The concept of "format=flowed" itself can get mangled if someone with a mail client that doesn't support it replies. And yes, people do send things like ASCII art or underlined text or code or other things where whitespace and wrappi…

> Trailing whitespace gets lost easily in editors.

As far as I'm aware, mail clients typically don't modify quoted text beyond prepending each line with a > character. Even if the trailing whitespace is lost, then you'll just have a conventional hard wrapped message (which is no different than just using a mail client that doesn't support format=flowed).

> The concept of "format=flowed" itself can get mangled if someone with a mail client that doesn't support it replies.

Not in my experience. If they remove the trailing whitespace, then it's essentially hard-wrapped again. If they don't, then it's still flowed.

> And yes, people do send things like ASCII art or underlined text or code or other things where whitespace and wrapping matters.

In that case, the flowed option isn't suitable. The RFC I referenced does support a fixed option for the format parameter which would address that issue. Also, Thunderbird did not attempt to append whitespace to previously quoted material if it didn't have it already.

In any case, the flowed format would work perfectly for this particular thread since no one is hard wrapping anything.

Re: Aerc – An email client that runs in the terminal

#256

I dunno what it is about the screencast, but it takes _forever_ to load. Any chance you could upload to Youtube or something so that I can actually watch the thing? EDIT: I'm getting about 20kb/s download from sr.ht where the video is hosted. Definitely not an issue with my connection, as I can download other files right now at 2Mb/s.

Native player in Chrome doesn't seem to download videos in big enough chunks or doesn't buffer well enough for smooth playback in some cases. I've seen it several times myself.

Re: Aerc – An email client that runs in the terminal

#257
post #227

Earlier quoted context omitted.

> 80-char lines are too short for desktop displays Nothing makes them "too short for desktop displays". Text is not supposed to fill all/most of the available display width: “Anything from 45 to 75 characters is widely regarded as a satisfactory length of line for a single-column page set in a serifed text face in a text size. The 66-character line(counting both letters and spaces) is widely regarded as ideal.” -- Th…

Strangely, HN seems a bit too wide even if you limit it to 75 characters. The following looks much better imho: .comment { width: 50em; }

I like `50ch` myself, but it's still workable up to about 65ch. (Aside) look into the ch unit if you've not used it since it is width based vs em which is height based it is a great choice for something like line lengths.

Re: Aerc – An email client that runs in the terminal

#258
post #214

I used mutt+offlineimap for a few years, with a corporate account on an MSExchange Server and the two biggest issues I had (which I hope Aerc addresses) were: * no good way to search/auto-complete addresses (I used vdirsyncer which got me the address book locally but there was no easy way to fill-in addresses when typing an email). * no way to accept calendar requests - I would pull them up on my phone to accept or r…

You might be interested in dav mail. http://davmail.sourceforge.net/ I have it setup so I can use thunderbird for all my exchange interaction (except group management).

Thanks - I was actually using Davmail but at the time it did not have the address book and calendar integration, and I had not checked up on it ina few years. Looks like it has gotten more features since then. I may have to give mutt another try...:)

Re: Aerc – An email client that runs in the terminal

#259
post #209

How is this any improvement over mutt? I can use mutt with emacsclient as my editor, in tmux.

Mutt IMAP is unusable on a laptop since it hangs and loses changes (eg read/unread status) when the IMAP connection flaps.

I've used it for years and never had this.

Re: Aerc – An email client that runs in the terminal

#260
post #89

I haven't dug too deep into the features or how this works yet, but it's very exciting to see any kind of movement in this space at all. I've spent a lot of time configuring mutt just the way I like it, but I'd throw it all away in a heartbeat for a good, modern alternative. My wishlist: * A daemon that pulls new mail from my IMAP servers to my local maildir as soon as it arrives. (I know mutt has an IMAP mode, and i…

offlineimap does this, write to Maildir then have mutt use this.
Post reply on HN