Mercurial > emacs
view etc/images/up-arrow.xpm @ 112387:ac3e3168aca2
allout.el: Summary - migrate to defining allout mode using
define-minor-mode instead of defun. Significantly clean-up internal keymap
provisions, refactoring a bit and removing a lot of accumulated cruft.
allout-mode-map is now a keymap by virtue of being an defalias to
allout-mode-map-value, which contains the actual keymap structure.
(allout-mode): Use define-minor-mode rather than defun. Remove
now-unnecessary minor-mode setup activities from the body. Specify :keymap
as allout-mode-map so the minor-mode-map-alist entry will be
'(allout-mode . allout-mode-map) - see allout-mode-map-value, below.
Adjust docstring to track changes.
(allout-minor-mode): Remove this defalias, now that we're using
define-minor-mode.
(allout-mode-map): Set value to be 'allout-mode-map. The actual keymap
is allout-mode-map-value, via defalias.
(allout-mode-map-value): The variable holding the actual mode keymap
structure, by virtue of defalias from allout-mode-map.
(allout-compose-and-institute-keymap): Renamed from allout-bind-keys, and
including the binding-composition functionality of the former
produce-allout-mode-map and allout-setup-mode-map.
(allout-institute-keymap): Take over the "setup" part of the former
allout-setup-mode-map. Reassign allout-mode-map-value value and update the
defalias.
(allout-command-prefix) (allout-prefixed-keybindings)
(allout-unprefixed-keybindings): Use allout-compose-and-institute-keymap to
process the bindings.
(allout-unprefixed-keybindings): Remove extraneous '?' question marks.
(allout-prefixed-keybindings): Elide binding to (prefixed) \C-h - user can
customize if they want to use that binding. Bind allout-copy-topic-as-kill
to (prefixed) \M-k. Bind allout-up-current-level to (prefixed) \C-u. (I
think i mistakenly elided that, previously, instead of the one for \C-h.)
(allout-hotspot-key-handler): Remove attempt to resolve the key through the
literal key-string lookup on allout-keybindings-list. That probably hasn't
worked for a Long Time, and removal of allout-keybindings-list further
simplifies the keybindings situation.
(allout-pre-command-business): Use allout-mode-map-value instead of
allout-mode-map.
(allout-preempt-trailing-ctrl-h): Remove. The user can customize the
bindings if they want to use a keybinding having a trailing \C-h. No
deprecation needed since this feature was never in a release.
(allout-keybindings-list): Remove. It's not been useful for a while. (See
allout-hotspot-key-handler changes, above.)
(produce-allout-mode-map): Remove. Consolidate into
allout-compose-and-institute-keymap.
(allout-mode-map-adjustments): Remove. No longer necessary with removal of
allout-preempt-trailing-ctrl-h.
(allout-setup-mode-map): Remove. Consolidate into
allout-compose-and-institute-keymap and allout-institute-keymap.
author | Ken Manheimer <ken.manheimer@gmail.com> |
---|---|
date | Thu, 20 Jan 2011 13:13:30 -0500 |
parents | 28718fa5d988 |
children |
line wrap: on
line source
/* XPM */ static char * up_arrow_xpm[] = { "24 24 67 1", " c None", ". c #000000", "+ c #2F2F2F", "@ c #A5B4A4", "# c #E8F4E6", "$ c #96B892", "% c #41533C", "& c #F1FFF0", "* c #B8D6B7", "= c #9FC49D", "- c #66815E", "; c #B6D4B5", "> c #B9D7B8", ", c #A1C69F", "' c #68835F", ") c #637D5B", "! c #3F5239", "~ c #B8D7B7", "{ c #A2C7A0", "] c #6A8561", "^ c #657F5C", "/ c #617959", "( c #3E4F39", "_ c #F0FEEF", ": c #B7D5B6", "< c #657E5C", "[ c #5D7555", "} c #D6EAD6", "| c #BFD4BF", "1 c #C0D5C0", "2 c #637C5B", "3 c #4D6246", "4 c #4C6046", "5 c #C7E1C6", "6 c #A1C69E", "7 c #67815E", "8 c #627B59", "9 c #3D4E39", "0 c #D0E7D0", "a c #B5D3B4", "b c #A0C39D", "c c #607958", "d c #B5D2B4", "e c #9DC19B", "f c #647D5B", "g c #607858", "h c #C6E0C5", "i c #B4D2B3", "j c #9CBF99", "k c #C5DFC4", "l c #B1CEB0", "m c #99BC97", "n c #617A59", "o c #5E7756", "p c #C0D9BF", "q c #AFCCAE", "r c #AECBAD", "s c #93B690", "t c #607857", "u c #5E7656", "v c #8DB389", "w c #748A72", "x c #71916E", "y c #5A7257", "z c #4D6247", "A c #4D6146", "B c #43543D", " ", " ", " . ", " +@. ", " .#$%. ", " .&*=-%. ", " .&;>,')!. ", " .&~;>{]^/(. ", " ._~>:>,]</[(. ", " .}|1>~~,'23444. ", " .....5;;6789..... ", " .0;ab^c9. ", " .5;defg9. ", " .haij2g9. ", " .kilmno9. ", " .pqrstu9. ", " .vwxyzAB. ", " ......... ", " ", " ", " ", " ", " ", " "};