💾 Archived View for rtr.kalayaan.xyz › blog › 037.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

../blog.gmi

Attaching files in acme mail.

Sun Feb 28 16:19:24 PST 2021

Acme really is a very good text editor as I have said on a nuber of times in this blog [1,2]. One of the things that made acme great for me is that it has a small program that allows me to read and send mail directly from it. Though getting it up to work was no easy feat, but that's mostly due to the fact that there are not as much documentation on acme itself.

Regardless, one of the things that really bothered me when I started using acme as my mail client was that I have no clue how to attach a file. Again, there's just really isn't that much documentation and I accept that. But recently I was put in a position that I had to send mail to someone where I had to attach a file.

Having removed my Thunderbird client at this point, I was put into an unconfortable position: I either have to reinstall Thunderbird to send this one mail or find that enigmatic piece of documentation that tells me how to attach a file in acme mail. Needless to say, I chose the latter.

I've dug deep into the plan9port tree and for some bizzare reason I chose to go into the src/cmd/ directory rather than the usual binary directories where you can find the READMEs and looking around the src/cmd/acme/mail directory I found this one readme file. It talks about the function of the Mail program and, on one single paragraph, it talks about how to attach a file.

When composing a mail message or replying to a message, the first line
of the text is a list of recipients of the message.  To:, and CC:, and BCC:
lines are interpreted in the usual way. Two other header lines are
special to Acme Mail:
        Include: file places a copy of file in the message as an
		inline MIME attachment.
        Attach: file places a copy of file in the message as a regular
		MIME attachment.

That was it. All the answer that I needed housed in this small readme file buried deep into the program's source folder. Now that my acme mail experience is complete, there's only one question that's left for me regarding this: ``Why the fuck would someone bury something so essential to mail this deep?!''

[1] 2021-02-12 : On using acme.

[2] 2021-02-25 : Making acme work for my gemini blog.