emacs-devel
[Top][All Lists]
Advanced

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

Re: narrow-to-here-document


From: Ilya Zakharevich
Subject: Re: narrow-to-here-document
Date: Sat, 21 Jun 2003 07:19:30 -0700
User-agent: Mutt/1.4i

On Sat, Jun 21, 2003 at 10:01:31AM +0200, David Kastrup wrote:
> TeX is one particular contestant.  There are forms of "Literate
> Programming" with a heavy mixture of code and comments, but every
> reference manual contains C code passages, shell scripts and similar
> stuff.  An excerpt:

TeX has no HERE documents.  Period.

There are *programming styles* in TeX (as far as can call fighting
with TeX deficiencies programming ;-[) which provide a poor-man
approximations to HERE documents.  However, the target of the
discussion is how to add mode-specific functions which find boundaries
of the given HERE documents.

The problem with TeX is that given no standard way to define HERE
docs, one cannot define such a function - without loading of some
highly specialized minor modes.  Hmm, maybe one can do as I did with
indentation styles in Perl: they may be loaded from a menu, so it is
easy to change it on a document-by-document base.

Ilya




reply via email to

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