[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BEGIN_SRC..END_SRC
From: |
Thien-Thi Nguyen |
Subject: |
Re: BEGIN_SRC..END_SRC |
Date: |
Mon, 07 May 2012 11:37:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
() Miles Bader <address@hidden>
() 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=`expr 1 - ${confused-1}`
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éry quote here. ;-]
- Re: BEGIN_SRC..END_SRC, (continued)
- Re: BEGIN_SRC..END_SRC, Tom Rauchenwald, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Eli Zaretskii, 2012/05/05
- RE: BEGIN_SRC..END_SRC, Drew Adams, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Antoine Levitt, 2012/05/05
- RE: BEGIN_SRC..END_SRC, Drew Adams, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Peter Münster, 2012/05/05
- RE: BEGIN_SRC..END_SRC, Drew Adams, 2012/05/05
- Re: BEGIN_SRC..END_SRC, John Wiegley, 2012/05/06
- Re: BEGIN_SRC..END_SRC, Ted Zlatanov, 2012/05/06
- Re: BEGIN_SRC..END_SRC, Miles Bader, 2012/05/07
- Re: BEGIN_SRC..END_SRC,
Thien-Thi Nguyen <=
- Re: BEGIN_SRC..END_SRC, Ted Zlatanov, 2012/05/06
- Re: BEGIN_SRC..END_SRC, Yann Hodique, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Stephen J. Turnbull, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Yann Hodique, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Julien Danjou, 2012/05/07
- Re: BEGIN_SRC..END_SRC, Yann Hodique, 2012/05/07
- RE: BEGIN_SRC..END_SRC, Drew Adams, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Martyn Jago, 2012/05/05
- RE: BEGIN_SRC..END_SRC, Drew Adams, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Stephen J. Turnbull, 2012/05/07