From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yann Hodique Newsgroups: gmane.emacs.devel Subject: Re: BEGIN_SRC..END_SRC Date: Sat, 05 May 2012 19:12:25 +0200 Message-ID: <87ipga5z7q.fsf@gmail.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> <87ehqy7hod.fsf@gmail.com> <87wr4qzihq.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336237971 29893 80.91.229.3 (5 May 2012 17:12:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 May 2012 17:12:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 05 19:12:51 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 1SQiXK-0002ya-03 for ged-emacs-devel@m.gmane.org; Sat, 05 May 2012 19:12:50 +0200 Original-Received: from localhost ([::1]:54257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQiXJ-00087R-Ag for ged-emacs-devel@m.gmane.org; Sat, 05 May 2012 13:12:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQiXH-00087L-7N for emacs-devel@gnu.org; Sat, 05 May 2012 13:12:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQiXF-0007PR-6h for emacs-devel@gnu.org; Sat, 05 May 2012 13:12:46 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQiXE-0007PI-Vb for emacs-devel@gnu.org; Sat, 05 May 2012 13:12:45 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SQiXB-0002s4-3m for emacs-devel@gnu.org; Sat, 05 May 2012 19:12:41 +0200 Original-Received: from aannecy-552-1-251-25.w90-4.abo.wanadoo.fr ([90.4.163.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2012 19:12:41 +0200 Original-Received: from yann.hodique by aannecy-552-1-251-25.w90-4.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2012 19:12:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: aannecy-552-1-251-25.w90-4.abo.wanadoo.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEUEBgMUFBEnIR07MStT QjlvWkyEbl2ccWaVe2mpi3qxj3bDoIz+//wlCgCYAAACWUlEQVQ4EQXBQXIVVRQA0HNvGPNvJ45J 98epQhIdK6ALsNyA63EPLsEtWFQ5FlLFVDodHVr8fh0dQj/PSQAAgAQAAEgAGG4mEKoSAKyGgerV WgIIxKBoWkgAh2GwRmwjqkuAyPNpsNYh0UQCVMXFNA3DVCNVPQFy+PH6qxfD0CJCaxKgIr97+er5 2u56VyUBhouxb49evZjqSNsiAdrBEu2/r6/H+6L3BITMQdX556+UEAmo0nvheP3DpFdPwOAqCvrZ TbBFAnHgMiCclRjGBOLhAmBzpM4T6Mfr8w3othGJc+J63AuwX+qn94kr8sgJQNNa4jSaWNdf30At 9w1JXhzHYoirT7fwpDNI8ubm6TlWw4r+184aSX/08urKsa+vpyv++eWPFT0Jj4JlOv4UXX/d17eU 5BNTa2MeLfppev6i2CT9dqcW8njb3np32+iSmpM2whft2cPoDJL2D2D/eHF/64mgKvFhsZvJsw/d ZdautpboP9+GxKd3z+JwcNK6hLkF+L0P9e+73lRI6F0H4qkvd7ZeCYzgG/PdaBW9WgLLwjzfXX7Y vL+rbosExb6vYluet7ulqd4TMLZFU/Xbx1NTm0ro3HN1mudhX060Q7WEmE5jrfk03ebdAlsl+LuW bpm+NY19URWHLSHGsbdZm4fH86nQVQLn+5ytnR2tc9O2h23NKtR0ue7z3v+cTwt1eaghI4ZhaDn1 u97Wpc2Ndt9aS8TAxXn/8P5Nv1uJDFUZnMba43pa53UN9H2vLjufPX/IiJtjnZYJojqp9zEek2c3 399MhRAR/gfpVBU4QWr2iwAAAABJRU5ErkJggg== Cancel-Lock: sha1:Nz5qkS9NquUXdq8pEozQShFRfqs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:150296 Archived-At: >>>>> "Stephen" == Stephen J Turnbull writes: > Yann Hodique writes: >> I do agree that it's bad email practice. More importantly, I'm >> wondering how it would not be better to leverage the existing >> RFC1341 that any decent mailer should implement. > Good idea, but poor implementation. IMSEO this: Definitely. That was only meant as a quick and dirty POC. For real life usage, I'd definitely rather rely on some program (gnus) doing the right and clean thing :) Btw I would even be perfectly happy with writing org-mode blocks and letting gnus figure out how to make it nice. The point of using application/emacs-lisp was just to demonstrate something that works *today*. text/lisp or text/emacs-lisp would definitely be cleaner, but they're not recognized as elisp code by gnus as of now. > Now, RFC 2046 section 4.1.4 strongly recommends that an unrecognized > text type be treated as text/plain, so the multipart alternative > structure is redundant with my preferred content type of > text/emacs-lisp. So any MUA that properly respects the standard will > just DTRT at no cost. Yep, except that at least GMail doesn't, and it definitely qualifies as "widely used". Instead, it displays its infamous "noname" pseudo-attachment, even though the part was supposed to be inlined in the first place (which is broken in so many ways it's not even funny). So I agree in theory, but that doesn't seem practical. Yann. -- Seek freedom and become captive of your desires. Seek discipline and find your liberty. -- The Coda