Mercurial > emacs
view etc/images/search.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 * search_xpm[] = { "24 24 207 2", " c None", ". c #000000", "+ c #D3D3D3", "@ c #F6F6F6", "# c #FFFFFF", "$ c #F9F9F9", "% c #DADADA", "& c #585858", "* c #C7C7C7", "= c #D1D1D1", "- c #D6D6D6", "; c #FEFEFE", "> c #FDFDFD", ", c #C0C0C0", "' c #E1E1E1", ") c #F0F0F0", "! c #9B9B9B", "~ c #FCFCFB", "{ c #FBFBFB", "] c #AFAFAE", "^ c #E9E9E9", "/ c #DFDFDF", "( c #8F8F8F", "_ c #FAFAF9", ": c #F9F9F8", "< c #A4A4A3", "[ c #F4F4F4", "} c #CFCFCF", "| c #A2A2A2", "1 c #B8B8B8", "2 c #47473F", "3 c #0A0A09", "4 c #4B4B43", "5 c #B4B4B3", "6 c #F7F6F5", "7 c #9E9E9E", "8 c #A9A9A8", "9 c #34342E", "0 c #9D9D8D", "a c #CFCFB9", "b c #C4C4AF", "c c #8D8D7F", "d c #353530", "e c #ACACAA", "f c #F1F0EF", "g c #DEDDDC", "h c #D3D2D0", "i c #B7B7B5", "j c #9F9E9D", "k c #706F6F", "l c #65625A", "m c #46463F", "n c #9C9C8C", "o c #E2E2D0", "p c #EDEDE7", "q c #C0C0AC", "r c #B2B29F", "s c #828274", "t c #4C4C44", "u c #E4E4E2", "v c #E1E1DF", "w c #DAD9D7", "x c #D8D8D6", "y c #CDCCCA", "z c #AFAEAC", "A c #88847B", "B c #F8F8F7", "C c #090908", "D c #D5D5BF", "E c #FBFBFA", "F c #C3C3AE", "G c #B5B5A2", "H c #A6A695", "I c #9C9C8F", "J c #080807", "K c #CFCFCD", "L c #E3E2E0", "M c #ECEBE9", "N c #E9E8E6", "O c #D5D4D3", "P c #C4C3C2", "Q c #8F8A81", "R c #F6F5F4", "S c #F3F3F1", "T c #090909", "U c #CACAB5", "V c #DDDDD0", "W c #B7B7A4", "X c #AAAA98", "Y c #9B9B8B", "Z c #AEAEA3", "` c #BBBAB9", " . c #E8E7E5", ".. c #E5E4E2", "+. c #E4E3E0", "@. c #D2D1CE", "#. c #8D887E", "$. c #F4F3F2", "%. c #F0EFEE", "&. c #474740", "*. c #929283", "=. c #BABAA7", "-. c #ADAD9B", ";. c #9F9F8E", ">. c #ACACA1", ",. c #CFCFCB", "'. c #4C4C45", "). c #B3B2B1", "!. c #E2E1DE", "~. c #E1DFDC", "{. c #979288", "]. c #949493", "^. c #34342F", "/. c #878779", "(. c #A0A090", "_. c #AEAEA2", ":. c #C3C3BE", "<. c #010101", "[. c #B1B0AF", "}. c #D2D1CF", "|. c #A49E93", "1. c #F0F0EE", "2. c #EDEDEB", "3. c #DDDDDB", "4. c #898988", "5. c #414141", "6. c #737271", "7. c #A4A3A1", "8. c #DFDEDB", "9. c #E2E0DD", "0. c #E1E0DC", "a. c #E0DFDB", "b. c #A19C90", "c. c #E1E0DE", "d. c #CBCAC9", "e. c #B2B1B0", "f. c #A3A2A1", "g. c #9D9C9A", "h. c #9E9D9C", "i. c #9F9F9D", "j. c #ABAAA7", "k. c #DCDBD7", "l. c #DEDDD9", "m. c #DDDCD8", "n. c #A19B90", "o. c #EBEAE8", "p. c #E6E5E3", "q. c #C8C7C4", "r. c #B6B6B3", "s. c #B0AFAD", "t. c #B3B2B0", "u. c #747371", "v. c #9D9C99", "w. c #DAD9D5", "x. c #E7E6E3", "y. c #E6E5E2", "z. c #E3E2DF", "A. c #DBDAD7", "B. c #D4D3D0", "C. c #D0CFCB", "D. c #D1CFCC", "E. c #D1D0CC", "F. c #C9C8C4", "G. c #6B6B69", "H. c #CECDC9", "I. c #D6D4D0", "J. c #9F998D", "K. c #E3E2DE", "L. c #E4E2DF", "M. c #DFDEDA", "N. c #D5D4D0", "O. c #C0BFBC", "P. c #7B7A78", "Q. c #BCBAB6", "R. c #CECCC8", "S. c #9D978C", "T. c #EDEDED", "U. c #E1E0DD", "V. c #E2E1DD", "W. c #DBDAD6", "X. c #BBB9B6", "Y. c #A6A4A1", "Z. c #9E9C99", "`. c #ACABA7", " + c #C7C5C2", ".+ c #9B9589", "++ c #E1DFDB", "@+ c #E0DEDA", "#+ c #DEDCD8", "$+ c #DAD8D4", "%+ c #BDBCB8", "&+ c #ACABA8", "*+ c #B2B1AD", "=+ c #C6C4C0", "-+ c #999388", ";+ c #999891", ">+ c #A39E92", ",+ c #A39D92", "'+ c #A39D91", ")+ c #A29C90", "!+ c #A19B8F", "~+ c #9D978B", "{+ c #989286", "]+ c #918C82", "^+ c #938D83", "/+ c #979286", "(+ c #666258", " ", " . . . . . . . . . . . . . ", " . + @ # # # # # # # # $ % & . ", " . @ # # # # # # # # # # * = - . ", " . # # # # # # # ; # ; > , ' ) ! . ", " . # # # # # ; > ~ > ~ { ] ^ # / ( . ", " . # # # ; > ~ { _ { _ : < ) # [ } | . ", " . # ; > ~ 1 2 3 3 4 5 6 7 . . . . . . . ", " . # ~ { 8 9 0 a b c d e f g h i j k l . ", " . # _ : m n o p q r s t u v w x y z A . ", " . # B 6 C D E F G H I J K L M N O P Q . ", " . # R S T U V W X Y Z 3 ` w ...+.@.#.. ", " . # $.%.&.*.=.-.;.>.,.'.).h !.+.!.~.{.. ", " . # $.%.].^./.(._.:.<.<.[.}.!.+.!.~.|.. ", " . # 1.2.3.4.4 3 3 5.6.<.<.7.8.9.0.a.b.. ", " . # 2.M c.d.e.f.g.h.i.<.<.<.j.k.l.m.n.. ", " . # o.N p.w q.r.z s.t.u.. <.<.v.w.k.n.. ", " . # x.y.y.z.A.B.C.D.E.F.G.<.<.<.H.I.J.. ", " . $ +.z.K.L.K.a.a.M.M.N.O.P.<.<.Q.R.S.. ", " . T.U.~.0.a.V.a.0.a.0.W.E.X.Y.Z.`. +.+. ", " . = ++@+M.l.a.l.@+l.@+#+$+R.%+&+*+=+-+. ", " . ;+>+|.,+'+,+b.)+b.)+!+n.~+{+]+^+/+(+. ", " . . . . . . . . . . . . . . . . . . ", " "};