From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: BEGIN_SRC..END_SRC Date: Mon, 07 May 2012 11:37:22 +0200 Message-ID: <87wr4o9vsd.fsf@gnuvola.org> 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> <87pqai64vm.fsf@gmail.com> <93EFBD7DA657498389967C043BDF023D@us.oracle.com> <87ehqy36n1.fsf@micropit.couberia.bzh> <87txzsse4n.fsf@catnip.gol.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1336383390 21078 80.91.229.3 (7 May 2012 09:36:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 May 2012 09:36:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 07 11:36:29 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 1SRKMm-0004EU-5Q for ged-emacs-devel@m.gmane.org; Mon, 07 May 2012 11:36:28 +0200 Original-Received: from localhost ([::1]:37438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRKMl-0001tM-Is for ged-emacs-devel@m.gmane.org; Mon, 07 May 2012 05:36:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRKMj-0001t3-6J for emacs-devel@gnu.org; Mon, 07 May 2012 05:36:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SRKMe-0004aE-JO for emacs-devel@gnu.org; Mon, 07 May 2012 05:36:24 -0400 Original-Received: from smtp205.alice.it ([82.57.200.101]:51315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SRKMX-0004ZG-JE; Mon, 07 May 2012 05:36:13 -0400 Original-Received: from ambire (87.0.69.144) by smtp205.alice.it (8.6.023.02) id 4F421F7B08B18F4C; Mon, 7 May 2012 11:36:11 +0200 Original-Received: from ttn by ambire with local (Exim 4.72) (envelope-from ) id 1SRKNe-0000tY-PR; Mon, 07 May 2012 11:37:22 +0200 In-Reply-To: <87txzsse4n.fsf@catnip.gol.com> (Miles Bader's message of "Mon, 07 May 2012 15:23:52 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 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:150343 Archived-At: () Miles Bader () Mon, 07 May 2012 15:23:52 +0900 Still, as something to aid human comprehension -- which is presumably the main intent (even if not the only one) -- the indented form seems much better... How about indented but w/ only opening markup, minus the org-mode syntax and plus language-specific comment syntax (redundant, but that's good) as the first line. Something like: ;; -*- emacs-lisp -*- (setq confused (not confused)) Here is an intervening column-0 text blurb that also serves to delimit the code block. # -*- shell-script -*- confused=3D`expr 1 - ${confused-1}` =20=20 This makes copy/paste even more straightforward, and is recognizable by humans and programs alike (w/ some simple heuristics, begged/borrowed/stolen from Emacs itself, bonus!). [Insert your choice of Antoine de Saint-Exup=C3=A9ry quote here. ;-]