From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Schulte Newsgroups: gmane.emacs.devel Subject: Re: plain-text markdown handler for Gnus Date: Wed, 16 May 2012 10:21:58 -0400 Message-ID: <87ehqkqk8p.fsf@gmx.com> References: <871umzrvfw.fsf@gmail.com> <87wr4rqg6g.fsf@gmail.com> <83d36j59gv.fsf@gnu.org> <87r4uz58e3.fsf@sec.modprobe.de> <83aa1n57p4.fsf@gnu.org> <5D17181ED92C4552AE8D4404DD035CA0@us.oracle.com> <87vck8sfyv.fsf@uwakimon.sk.tsukuba.ac.jp> <85obq05aua.fsf@iznogoud.viz> <87r4uvs4ae.fsf@uwakimon.sk.tsukuba.ac.jp> <87397b15u7.fsf@gnu.org> <87ehqk5gc6.fsf@lifelogs.com> <87zk98qnq1.fsf@gmx.com> <87k40c2m0p.fsf_-_@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1337185341 1024 80.91.229.3 (16 May 2012 16:22:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 May 2012 16:22:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 16 18:22:18 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SUgzL-0008F9-Fe for ged-emacs-devel@m.gmane.org; Wed, 16 May 2012 18:22:11 +0200 Original-Received: from localhost ([::1]:33165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUgzK-0008CG-Se for ged-emacs-devel@m.gmane.org; Wed, 16 May 2012 12:22:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUgzH-00087S-Hn for emacs-devel@gnu.org; Wed, 16 May 2012 12:22:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUgzE-00089Q-50 for emacs-devel@gnu.org; Wed, 16 May 2012 12:22:07 -0400 Original-Received: from mailout-us.gmx.com ([74.208.5.67]:41827) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SUgzD-000894-Uz for emacs-devel@gnu.org; Wed, 16 May 2012 12:22:04 -0400 Original-Received: (qmail invoked by alias); 16 May 2012 16:22:02 -0000 Original-Received: from c-174-56-50-60.hsd1.nm.comcast.net (EHLO bagel) [174.56.50.60] by mail.gmx.com (mp-us002) with SMTP; 16 May 2012 12:22:02 -0400 X-Authenticated: #67821228 X-Provags-ID: V01U2FsdGVkX196TSNLkQF6qZ2pfRlT7zX+VKfyjdffu/cVRTEC97 NPajy/eNmV2n6h In-Reply-To: <87k40c2m0p.fsf_-_@lifelogs.com> (Ted Zlatanov's message of "Wed, 16 May 2012 11:17:26 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.208.5.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150527 Archived-At: Ted Zlatanov writes: > > [general mm-uu handler omitted] > > This is very nice but I think it's also nice to use the `markdown' > processor directly (as markdown-mode does). It will handle more of the > Markdown markup and generates HTML which we can then inline. Oh, I thought the goal was a message fontification tool, but it sounds like you're proposing a tool for composing HTML email. > I'm not sure--can anyone with Markdown experience comment? This would > be Gnus-specific because the HTML result would then be part of the > article buffer. > There does exist a very similar Org-mode based tool for composing and sending HTML email [1]. This tool converts inline Org-mode to HTML (with a plain text multipart/alternative) inline in the message and the results render correctly (including attached HTML images) in at least gnus, Thunderbird and Gmail. > > Also it would be very useful to detect Markdown automatically based on > some traits, like 4-space indented quotes and the other Markdown markup. > Maybe automatically converting indented code to the relevant text/x-lang mime type (with a text alternative) would be simpler but achieve much of the desired effect? Best, > > Ted > > Footnotes: [1] http://orgmode.org/worg/org-contrib/org-mime.html -- Eric Schulte http://cs.unm.edu/~eschulte