help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A macro for printing keymap bindings in a pretty fashion


From: Yuri Khan
Subject: Re: A macro for printing keymap bindings in a pretty fashion
Date: Tue, 6 Sep 2011 08:15:19 +0700

On Tue, Sep 6, 2011 at 03:20, Jonathan Ganc <jonpublic2@gmail.com> wrote:

> So I wrote a macro "pkb" (for print key-bindings), which I've attached. It
> outputs the keybindings as a (somewhat) pretty html document. The simplified
> instructions: after loading the two .el files, run (pkb-html-save-keymap
> KEYMAP OUTPUT-FILE-NAME), where KEYMAP is the KEYMAP you want printed and
> OUTPUT-FILE-NAME is where the output will stored; e.g. (pkb-html-save-keymap
> (current-global-map) "~/test.html"). `pkb-html-save-keymap' has many other
> options that are described in the help function. I have placed an example of
> the output at http://www.ph.utexas.edu/~jonganc/emacs/example.html; note
> that the example is direct output from the macro.

Your choice of up arrow for 'forward' and down arrow for 'backward' is
a bit counter-intuitive. Otherwise, nice idea.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]