Mercurial > emacs
view etc/images/show.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 | 75b06a7624a1 |
children |
line wrap: on
line source
/* XPM */ static char * show_xpm[] = { "24 24 153 2", " c None", ". c #000000", "+ c #0E0E0E", "@ c #282828", "# c #616161", "$ c #D3D3D3", "% c #F6F6F6", "& c #FFFFFF", "* c #F9F9F9", "= c #F9F9F8", "- c #E7E7E7", "; c #E4E4E4", "> c #CDCDCD", ", c #1F1F1F", "' c #EFEFEE", ") c #AFAFAE", "! c #E9E9E9", "~ c #B3B3B3", "{ c #383838", "] c #C1C1C1", "^ c #B4B4B4", "/ c #A4A4A3", "( c #F0F0F0", "_ c #F4F4F4", ": c #ABABAB", "< c #050505", "[ c #FEFEFE", "} c #FDFDFD", "| c #FCFCFB", "1 c #FBFBFB", "2 c #F2F2F2", "3 c #9E9E9E", "4 c #C0C0C0", "5 c #BFBFBF", "6 c #BFBFBE", "7 c #BEBEBE", "8 c #BDBDBC", "9 c #BCBCBC", "0 c #B9B9B9", "a c #A0A0A0", "b c #B9B7B6", "c c #838381", "d c #848381", "e c #6A6763", "f c #FAFAF9", "g c #F8F8F7", "h c #F8F7F6", "i c #F3F2F1", "j c #E0E0DF", "k c #DCDAD8", "l c #CACAC8", "m c #B6B6B4", "n c #72706C", "o c #BCBCBB", "p c #BCBBBA", "q c #BBBAB9", "r c #BABAB9", "s c #B9B8B7", "t c #B6B6B5", "u c #B6B5B3", "v c #E5E4E2", "w c #C4C3C0", "x c #817D74", "y c #F7F6F5", "z c #F6F6F4", "A c #F5F4F3", "B c #F4F3F2", "C c #EBEAE8", "D c #E1DFDC", "E c #8B867D", "F c #B9B9B8", "G c #B8B8B6", "H c #B7B7B6", "I c #B5B5B3", "J c #B4B3B2", "K c #B3B3B2", "L c #ADADAB", "M c #A49E93", "N c #F6F5F4", "O c #F5F5F3", "P c #F3F3F1", "Q c #F2F2F0", "R c #F1F1EF", "S c #F1F0EE", "T c #EEEDEB", "U c #ECEBE9", "V c #E7E6E3", "W c #E2E1DF", "X c #E4E3E0", "Y c #B8B7B6", "Z c #B5B4B3", "` c #B3B2B0", " . c #B0AFAD", ".. c #ADADAA", "+. c #ADACAA", "@. c #E2E1DE", "#. c #F0F0EE", "$. c #EFEFED", "%. c #F0EFED", "&. c #EFEEEC", "*. c #E8E7E5", "=. c #E5E4E1", "-. c #B3B3B1", ";. c #AFAEAC", ">. c #E1E0DC", ",. c #E0DFDB", "'. c #A19C90", "). c #EDEDEB", "!. c #EDECEA", "~. c #E9E8E5", "{. c #E6E4E1", "]. c #E3E2DE", "^. c #DFDEDA", "/. c #DEDDD9", "(. c #DDDCD8", "_. c #A19B90", ":. c #B0B0AE", "<. c #AFADAB", "[. c #E4E2DF", "}. c #E2E1DD", "|. c #DCDBD7", "1. c #E6E5E2", "2. c #E5E4E0", "3. c #E4E3DF", "4. c #DBD9D5", "5. c #D9D7D3", "6. c #9F998D", "7. c #E3E2DF", "8. c #DDDBD7", "9. c #DCDAD6", "0. c #D8D6D2", "a. c #9E988D", "b. c #EDEDED", "c. c #E1E0DD", "d. c #E0DEDA", "e. c #D8D6D1", "f. c #D7D5D1", "g. c #9D978B", "h. c #D1D1D1", "i. c #E1DFDB", "j. c #DEDCD8", "k. c #D7D6D1", "l. c #D5D3CE", "m. c #9B958A", "n. c #999891", "o. c #A39E92", "p. c #A39D92", "q. c #A39D91", "r. c #A29C90", "s. c #A19B8F", "t. c #9D978C", "u. c #9B968A", "v. c #676359", " ", " . . . . . . . . . . . . . + @ # ", " . $ % & & & & & & & & * = = - ; > , ", " . % & & & & & & & & & & = ' ) ! & ~ { ", " . & & ] ] ] ] ] ] ] ] ] ] ^ / ( & _ : < ", " . & & & & & [ } | } | 1 = 2 3 . . . . . ", " . & & ] 4 5 6 7 8 7 8 9 9 0 a b c d e . ", " . & [ } | 1 f = g = g h = i j k l m n . ", " . & | 7 8 9 o p q p q r s t u u v w x . ", " . & f = g h y z A z A B B B B C D D E . ", " . & g p q r F s G s G H I J K L D D M . ", " . & N O B B P Q R Q R S T U V W X D M . ", " . & B Y H m I m u m u Z ` ...+.@.D M . ", " . & B i Q #.$.S %.S %.&.U *.=.X @.D M . ", " . & #.I I Z J -.-.-.-.` .;.W >.>.,.'.. ", " . & ).!.U U U C ~.C ~.~.=.{.].^./.(._.. ", " . & C :.:. . . .;. .;.<.[.}.,.(.(.|._.. ", " . & V 1.1.1.=.{.2.{.2.3.}.,./.|.4.5.6.. ", " . * X 7.].[.3.}.].}.].>.>./.8.9.5.0.a.. ", " . b.c.D >.,.}.,.>.,.>.^.d.8.9.5.e.f.g.. ", " . h.i.d.^./.,./.d./.d.j.j.9.9.0.k.l.m.. ", " . n.o.M p.q.p.'.r.'.r.s._.6.6.t.t.u.v.. ", " . . . . . . . . . . . . . . . . . . ", " "};