all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Printing menu hierarchies...
Date: Tue, 15 Feb 2005 16:48:22 +0100	[thread overview]
Message-ID: <x58y5p6czd.fsf@lola.goethe.zz> (raw)


Hi, in the course of preparing a lecture about AUCTeX, I am also going
through the menus.  Now making screenshots (which are necessarily of
low quality) of the menus is not too nice, and when making diagrams
with one menu and its submenus connected by arrows, things get ugly.

It would be nicer to just produce the LaTeX source directly by
scanning through the menus within Emacs and writing out appropriate
code.  Doing stuff like that could also form the base for some
Javascript demos of Emacs menu structures.  Whatever.

Looking through the keymaps manually showed that a lot of cruft and
precalculated functions and stuff collect there.  Would there be some
reasonably easy way to walk the menus and just get the names,
separators, keyboard shortcuts and submenus out?  This could be
extended at some point of time to burp out a Texinfo template for
explaining as well as printing a menu hierarchy for the use in
manuals, too.

But at the moment I am just interested in getting to separate the
wheat from the chaff in active menu keymaps.  What one can later make
from it is another question.

Thanks,

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

                 reply	other threads:[~2005-02-15 15:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=x58y5p6czd.fsf@lola.goethe.zz \
    --to=dak@gnu.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 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.