all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Printing menu hierarchies...
@ 2005-02-15 15:48 David Kastrup
  0 siblings, 0 replies; only message in thread
From: David Kastrup @ 2005-02-15 15:48 UTC (permalink / 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

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

only message in thread, other threads:[~2005-02-15 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-15 15:48 Printing menu hierarchies David Kastrup

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.