all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Source code presentation
@ 2002-09-14  3:08 Zhongtao Zhu
  0 siblings, 0 replies; only message in thread
From: Zhongtao Zhu @ 2002-09-14  3:08 UTC (permalink / raw)


Hello all,

I want to get source codes presented in line step by step, either from
head to tail, like a cascade, or in a sequence of pre-defined sort.
For instance, the program below

====================================================
      line     source
     number     code
----------------------------------------------------
        0   #include <stdio.h>
        1
        2   int main()
        3   {
        4           printf("Hello, world...\n");
        5   }
----------------------------------------------------

is expected to be able to display in a buffer in sequence of
        0 1 2 3 4 5
or
        2 3 4 0 1 5
once a line by pressing some key, say [F7], for each; and get the
displaced codes disappear in the reverse order once a line when
pressing other key, say [F8]. 

I think of this functionality would be extremely helpful for students
to understand the creating procedure of programming. BTW: I teach. :-)

Is there a elisp package for this has been existed? 

Responses are eagerly expected and a lot of thanks,
-- 
Zhongtao Zhu                          Tel: +86 10 6278 2266
Department of Computer, Tsinghua University, Beijing, China

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-14  3:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-14  3:08 Source code presentation Zhongtao Zhu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.