From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: tutorial or guidebook text for some complex topics
Date: Wed, 25 Oct 2006 11:21:10 -0700 [thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMKECJCMAA.drew.adams@oracle.com> (raw)
In-Reply-To: <E1Gcn5l-0006am-7y@fencepost.gnu.org>
I was suggesting more user-guide material or a tutorial -
something along
the lines of the Emacs-Lisp Intro (but short).
The place for such material about keymaps is in the Lisp manual. What
concepts about keymaps do you think need further tutorial explanation?
Just the structure, with all its possible variations that one might run
into. As mentioned before:
(Stefan)
"keyelt" (which can be as simple as a function symbol,
but as complex as a big `menu-item').
(Drew)
Yes...
I was thinking of menu-item details like the prompt string, whether
`menu-item' is present, key-binding reminder (shortcut), and so
on. The form of a menu item is quite variable....
I was reminded of this recently, when I discovered that Imenu
used string values instead of symbols, following symbol `keymap'.
The spec in the manual allows for this, but AFAIK, this is the
only place where that is done.
Code that treats keymaps in a general fashion has many
different cases to consider....
I think the documentation of font-lock-keywords is complete.
I agree it is hard to grasp, but I don't know how to make
it clearer. Does anyone else have an idea?
Yes, it is probably complete. I was speaking only to the
hard-to-learn part.
The best help is provided by walking a reader through
examples. Examples are the place to start. Again, see the
Emacs-Lisp Intro for a good presentation model.
Can you find a few examples in the code that you think would be
good for explaining this?
I don't have the time to do that right now. I'm not sure existing code
should be used as is for such examples, but it might not be a bad place to
start to look for raw material. I just don't have the time to dig for it
now.
Again, what's needed is to describe the different possible variations, with
examples.
next prev parent reply other threads:[~2006-10-25 18:21 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-23 18:35 tutorial or guidebook text for some complex topics Drew Adams
2006-10-23 19:59 ` Stefan Monnier
2006-10-23 21:14 ` Drew Adams
2006-10-23 21:46 ` Nick Roberts
2006-10-23 21:58 ` Drew Adams
2006-10-23 22:54 ` Nick Roberts
2006-10-23 23:24 ` Drew Adams
2006-10-24 0:13 ` Nick Roberts
2006-10-24 7:06 ` David Kastrup
2006-10-24 7:44 ` David Kastrup
2006-10-24 20:46 ` Drew Adams
2006-10-24 20:45 ` Drew Adams
2006-10-23 23:33 ` Robert J. Chassell
2006-10-24 17:42 ` Richard Stallman
2006-10-24 20:51 ` Drew Adams
2006-10-23 22:08 ` David Kastrup
2006-10-24 17:42 ` Richard Stallman
2006-10-24 23:49 ` Stefan Monnier
2006-10-23 20:01 ` Eli Zaretskii
2006-10-23 21:19 ` Drew Adams
2006-10-24 17:42 ` Richard Stallman
2006-10-24 19:31 ` Drew Adams
2006-10-25 18:03 ` Richard Stallman
2006-10-25 18:21 ` Drew Adams [this message]
2006-10-26 8:52 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EIENLHALHGIMHGDOLMIMKECJCMAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
/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 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.