unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Samuel Mikes <smikes@cubane.com>
Cc: xemacs-design@xemacs.org, emacs-devel@gnu.org
Subject: Tutorials and Demos (Re: The minibuffer vs. Dialog Boxes (Re: Making XEmacs be more up-to-date)
Date: Tue, 23 Apr 2002 14:10:21 -0600	[thread overview]
Message-ID: <aa4f7e$kv3$2@main.gmane.org> (raw)
In-Reply-To: <m2wuv1yfdj.fsf@sandman.balestra.org>


Brady> 3. I want demos or examples. For some things, just having a
Brady> little sandbox buffer seeded with apropriate text would be

Brady> Obviously, demos/examples are very specific, and would
Brady> probably be written by the code's authors or other interested
Brady> parties. Having a nice support mechanism for this to make it
Brady> as simple as possible, along with the consensus to move

Brady> What would be totally sweet is if a demo could be hooked up
Brady> with customize. Have one frame with my customize options, and
Brady> another with my demo. change this option, rerun, change that,
Brady> try again, etc.

Brady> And yes, I'd be happy to help write it.

  I hacked up something in this line.  You can see the c-mode
tutorial that I'm working on as an example:

http://www.cubane.com/c-mode-tutorial.tar.gz
ftp://ftp.cubane.com/pub/c-mode-tutorial.tar.gz

  The tutorial code embeds pushbutton widgets in the tutorial
buffer.  The syntax is very simple but should be sufficient for
simple tutorials; I wrote some helper functions to pop up example
buffers.  For example, you could make a pushbutton run
(customize-variable 'c-default-style).

  I have tested it on XEmacs 21.4 on msw and tty.  I don't currently
have a modern GNU Emacs, but I believe GNU Emacs >19 comes with
widget and wid-edit, so it should work.

  My original motivation for writing this particular tutorial comes
from helping with an undergrad intro programming course some years
ago.  The students would sit down at a Windows box and telnet to the
unix machine.  They'd start emacs to write some code, then kill
emacs, compile the code, memorize the line number of the first syntax
error, restart emacs, fix the syntax error, kill emacs, ...

  If tutorials like this would be useful, (some of) the next
questions are:

 o What would make the tutorial easier to use?
 o What needs to happen for them to be distributed with Emacs/XEmacs?
 o What is a good way to guide users towards the tutorials?

I don't think a talking paperclip would be appropriate, but maybe the
first time you enter c-mode, a prompt such as:

"This is the first time you've used c-mode.  Would you like to see a
short tutorial about writing C in Emacs? (yes/no/Never offer me a
tutorial again) "

Please send comments/criticism on the tutorial to smikes@cubane.com.
-- 
Sam Mikes
smikes@cubane.com

  parent reply	other threads:[~2002-04-23 20:10 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4.3.2.7.2.20020417123512.0398e4c8@san-francisco.beasys.com>
2002-04-19 11:40 ` The minibuffer vs. Dialog Boxes (Re: Making XEmacs be more up-to-date) Per Abrahamsen
     [not found] ` <rjk7r3zzk4.fsf@zuse.dina.kvl.dk>
2002-04-19 16:27   ` Brady Montz
2002-04-19 16:55   ` Andy Piper
2002-04-20 17:27   ` Richard Stallman
     [not found] ` <m2g01rbjhi.fsf@sandman.balestra.org>
2002-04-19 20:28   ` Andy Piper
     [not found] ` <4.3.2.7.2.20020419132421.00bfa9d0@san-francisco.beasys.com>
2002-04-19 20:39   ` Brady Montz
2002-04-20 23:53   ` William M. Perry
     [not found] ` <m2d6wvodpt.fsf@sandman.balestra.org>
2002-04-19 17:00   ` Andy Piper
2002-04-20 11:03   ` Terje Bless
2002-04-20 17:27   ` Richard Stallman
     [not found]   ` <200204201727.g3KHRTg01417@aztec.santafe.edu>
2002-04-21  2:06     ` Brady Montz
     [not found]     ` <m2wuv1yfdj.fsf@sandman.balestra.org>
2002-04-21  6:48       ` Eli Zaretskii
2002-04-21  7:35         ` Brady Montz
2002-04-21 15:31           ` Stephen J. Turnbull
     [not found]           ` <87vgal3w79.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-04-21 17:17             ` Brady Montz
2002-04-21 18:49             ` Eli Zaretskii
     [not found]             ` <m2d6wtx97q.fsf@sandman.balestra.org>
2002-04-21 19:09               ` Eli Zaretskii
2002-04-22  2:58               ` Stephen J. Turnbull
     [not found]               ` <87vgak30cw.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-04-22 16:54                 ` Brady Montz
     [not found]                 ` <m2elh7wu6m.fsf@sandman.balestra.org>
2002-04-22 19:40                   ` Eli Zaretskii
     [not found]                   ` <7263-Mon22Apr2002224014+0300-eliz@is.elta.co.il>
2002-04-22 20:46                     ` Brady Montz
2002-04-23  4:03                       ` Stephen J. Turnbull
2002-04-23  6:31                       ` Eli Zaretskii
     [not found]                       ` <87bscbysbm.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-04-23  6:41                         ` Eli Zaretskii
2002-04-23 16:21                         ` Brady Montz
     [not found]                         ` <m2r8l6v108.fsf@sandman.balestra.org>
2002-04-23 17:09                           ` Stephen J. Turnbull
     [not found]                           ` <878z7euysa.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-04-23 18:20                             ` Brady Montz
2002-04-23 19:21                               ` Eli Zaretskii
     [not found]                               ` <7263-Tue23Apr2002222135+0300-eliz@is.elta.co.il>
2002-04-23 19:56                                 ` Brady Montz
2002-04-23 23:00                       ` Michael Toomim
2002-04-24  6:09                         ` Eli Zaretskii
     [not found]               ` <2950-Sun21Apr2002220958+0300-eliz@is.elta.co.il>
2002-04-22 16:56                 ` Brady Montz
2002-04-21  9:01       ` Per Abrahamsen
2002-04-21 20:21         ` Simon Josefsson
     [not found]         ` <ilusn5o950a.fsf@extundo.com>
2002-04-22  8:50           ` Per Abrahamsen
2002-04-22  9:00             ` Miles Bader
     [not found]             ` <buoy9fg85ve.fsf@mcspd15.ucom.lsi.nec.co.jp>
2002-04-22 10:44               ` Per Abrahamsen
2002-04-22 11:12               ` Simon Josefsson
     [not found]               ` <rjk7r0ovw9.fsf@zuse.dina.kvl.dk>
2002-04-22 12:36                 ` Miles Bader
2002-04-22 22:36           ` Richard Stallman
2002-04-23 20:10       ` Samuel Mikes [this message]
     [not found]       ` <15557.49069.908484.860930@marvin.cubane.com>
2002-04-24  4:37         ` Tutorials and Demos Robin S. Socha
     [not found] ` <4.3.2.7.2.20020419095654.00bee3c0@san-francisco.beasys.com>
2002-04-19 19:01   ` The minibuffer vs. Dialog Boxes (Re: Making XEmacs be more up-to-date) Brady Montz
2002-04-20 17:28   ` Richard Stallman
     [not found]   ` <200204201728.g3KHSDW01513@aztec.santafe.edu>
2002-04-20 21:45     ` Andy Piper
2002-04-21 15:54     ` William M. Perry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='aa4f7e$kv3$2@main.gmane.org' \
    --to=smikes@cubane.com \
    --cc=emacs-devel@gnu.org \
    --cc=xemacs-design@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).