On Tue, Nov 20, 2012 at 09:32:16AM -0500, Peter Davis wrote: > I'm using mutt on OS X, with emacs as my editor. It's a great > combination, but there are times when I really *REALLY* want to put a > table in a message. I tried creating an HTML attachment containing the > table, but HTML-capable mail readers just display this as an > attachment that has to be opened separately. > > Is there any reasonly easy (non-painful) way to put a table in a > message? A plain text table would be fine if I could limit it to 72 > characters wide or so, and if there were a reasonable way to edit it, > preferably in emacs. > > Otherwise, I think I'd have to resort to an HTML table, but even that > can't easily be done with mutt, as far as I can tell. > > Ideas? > > Thanks! > > -pd
Hmm... maybe you could modify your editor script to pipe output through a reStructuredText[1] or Wiki (or something else you prefer like even HTML) parser and output to plain text with the width restrictions you require. Ray [1] http://docutils.sourceforge.net/rst.html