From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: BEGIN_SRC..END_SRC Date: Wed, 09 May 2012 08:28:55 +0200 Message-ID: <87zk9huau0.fsf@thinkpad.tsdh.de> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336544953 31190 80.91.229.3 (9 May 2012 06:29:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 May 2012 06:29:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 09 08:29:13 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 1SS0Of-0005pM-12 for ged-emacs-devel@m.gmane.org; Wed, 09 May 2012 08:29:13 +0200 Original-Received: from localhost ([::1]:37372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SS0Od-0001g4-Uj for ged-emacs-devel@m.gmane.org; Wed, 09 May 2012 02:29:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SS0Ob-0001fz-3C for emacs-devel@gnu.org; Wed, 09 May 2012 02:29:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SS0OY-0005SO-LV for emacs-devel@gnu.org; Wed, 09 May 2012 02:29:08 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:47205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SS0OY-0005Rc-Fc for emacs-devel@gnu.org; Wed, 09 May 2012 02:29:06 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id A8575D28D5 for ; Wed, 9 May 2012 08:29:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J7sshtxPRuJF for ; Wed, 9 May 2012 08:29:04 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id F1266D28D7 for ; Wed, 9 May 2012 08:29:03 +0200 (CEST) In-Reply-To: (Ted Zlatanov's message of "Tue, 08 May 2012 20:47:41 -0400") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 141.26.64.15 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:150384 Archived-At: Ted Zlatanov writes: > SM> 1- [org-mode source markup]'s ugly. > > I sort of agree, and like the JIRA {code:LANGUAGE} ... {code} markup > better. Visually they are very clean. > > SM> 2- it does make the code harder to read. > SM> Separators like "---------------------" work much better in this > SM> respect, because they don't contain words and so they're much more > SM> easily abstracted away by your "eyes". > > The problem with those separators is just that they say nothing about > the contents, so the presenter (MUA) has to guess the content type, > which requires some parsing and can easily result in a wrong guess. I'm usually able to infer the content type from the sender or mailing list. If it's on emacs-devel, it's most probably emacs lisp or C. That said, I'm not annoyed by the org babel delimiters, but at the same time, I don't see any benefit in them. If Gnus would actually use the explicitly stated language to fontify the snippet with the corresponding emacs mode, that would be a big benefit. That seems feasible, because Org mode does so if `org-src-fontify-natively' is non-nil. But as it is right now, it's just as fine as the usual: --8<---------------cut here---------------start------------->8--- foo = bar + baz --8<---------------cut here---------------end--------------->8--- Bye, Tassilo