emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BEGIN_SRC..END_SRC


From: Stefan Monnier
Subject: Re: BEGIN_SRC..END_SRC
Date: Wed, 09 May 2012 13:36:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

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.

That can be fixed without making the whole thing illegible.
E.g.

-------------------------------------------------------- emacs-lisp
(defun sm-foo ()
  (try that))
--------------------------------------------------------

This said, I find

   (defun sm-foo ()
     (try that))

to be a lot more legible anyway, even without any fancy coloring.
If we want to get more fancy, then I think MIME is a good solution.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]