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: BEGIN_SRC..END_SRC Date: Wed, 09 May 2012 12:30:38 -0400 Message-ID: <877gwliafl.fsf@gmx.com> References: <871umzrvfw.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> <87y5p2nhc3.fsf@catnip.gol.com> <87k40lsfuv.fsf@uwakimon.sk.tsukuba.ac.jp> <87k40ljtay.fsf@gmx.com> <87obpxz3ik.fsf@gmail.com> <87txzpibji.fsf@gmx.com> <87ipg5z06e.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336588254 21758 80.91.229.3 (9 May 2012 18:30:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 May 2012 18:30:54 +0000 (UTC) Cc: Eric Schulte , emacs-devel@gnu.org To: Yann Hodique Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 09 20:30:53 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 1SSBf2-00022Z-P9 for ged-emacs-devel@m.gmane.org; Wed, 09 May 2012 20:30:52 +0200 Original-Received: from localhost ([::1]:46397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSBf2-0000hs-48 for ged-emacs-devel@m.gmane.org; Wed, 09 May 2012 14:30:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSBez-0000hS-GI for emacs-devel@gnu.org; Wed, 09 May 2012 14:30:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSBeu-0002QQ-C5 for emacs-devel@gnu.org; Wed, 09 May 2012 14:30:48 -0400 Original-Received: from mailout-us.gmx.com ([74.208.5.67]:36729) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SSBeu-0002QD-3Z for emacs-devel@gnu.org; Wed, 09 May 2012 14:30:44 -0400 Original-Received: (qmail invoked by alias); 09 May 2012 18:30:41 -0000 Original-Received: from c-174-56-50-60.hsd1.nm.comcast.net (EHLO bagel) [174.56.50.60] by mail.gmx.com (mp-us001) with SMTP; 09 May 2012 14:30:41 -0400 X-Authenticated: #67821228 X-Provags-ID: V01U2FsdGVkX1/C3o5FpJrCmoCVN2Vhx8t9z0XJMlg2h/3Drj1kd3 nIYhuMkKKq2EU+ In-Reply-To: <87ipg5z06e.fsf@gmail.com> (Yann Hodique's message of "Wed, 09 May 2012 20:20:09 +0200") 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:150408 Archived-At: Yann Hodique writes: >>>>>> "Eric" == Eric Schulte writes: > >> Yann Hodique writes: >>> >>> Note that it's the reason why my initial proposal was based on inline >>> multipart alternative. Providing a MIME fallback that any MUA should >>> recognize (such as text/plain) should increase vastly the chances of >>> proper formatting. At least GMail behaves "correctly" when the >>> text/plain alternative is provided. >>> > >> Yes, and gmx displays text/plain alternatives as well (although it also >> includes the text as an attachment). Unfortunately when the text/plain >> alternative is provided Gnus does *not* fontify the text/x-sh preferred >> alternative but instead renders the plain text -- which sort of defaults >> the purpose of the whole exercise. > > Really ? that sounds like a gnus bug then. I mean, if the text/plain > alternative is positioned correctly (meaning *first*), and there's no > fancy customization of `mm-discouraged-alternatives', the text/x-sh > one should indeed be preferred. At least it worked as expected with > the application/emacs-lisp pieces. > OK, I had mixed up the first/second priority. If I swap the order and I switch from text/x-emacs-lisp to text/x-sh I can get gnus to fontify the results, although there is also a "[2. text/x-sh]" button included in my buffer. Regardless, some additional work will be required. -- Eric Schulte http://cs.unm.edu/~eschulte/