[xmonad] Issue 182 in xmonad: Key bindings should be showable
codesite-noreply at google.com
codesite-noreply at google.com
Sun Apr 12 04:05:12 EDT 2009
Comment #1 on issue 182 by vogt.adam: Key bindings should be showable
http://code.google.com/p/xmonad/issues/detail?id=182
As a wrapper around the XConfig, the attached contrib patch offers some of
the
features requested here. The results are readable, but not too pretty with
xmessage (ex. no alignment of columns, no cheatsheet drawn like
http://haskell.org/haskellwiki/Image:Xmbindings.png).
As an addition to the core, I'm not sure which way is best for preserving
the
backwards-compatibility:
1. Change XConfig to have
keys :: NamedAction a => XConfig Layout -> Map (ButtonMask, KeySym) a
and then keep the old defaultConfig, but have a new
defaultNamedKeyConfig that uses a different representation that keeps
the descriptions (and possibly ordering and sectioning, since that is
lost in the Map). Results in more puzzling type errors if ex (1+1) is
the only action that is bound.
2. Add yet another record field to XConfig that contains actions with the
new style.
3. Show just the builtin keybindings already done, except for the
keybindings for it
Attachments:
namedactions.dpatch 49.1 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
More information about the xmonad
mailing list