Mercurial > emacs
view etc/images/print.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 * print_xpm[] = { "24 24 175 2", " c None", ". c #000000", "+ c #C7C7C7", "@ c #FAFAFA", "# c #FCFCFC", "$ c #FBFBFB", "% c #F8F8F8", "& c #AFAFAF", "* c #F9F9F9", "= c #E5E5E5", "- c #E3E3E3", "; c #E2E2E2", "> c #E0E0E0", ", c #DFDFDF", "' c #DCDCDC", ") c #DBDBDB", "! c #B6B6B6", "~ c #6B6B6B", "{ c #676767", "] c #818181", "^ c #E7E7E7", "/ c #606060", "( c #A0A0A0", "_ c #DADADA", ": c #E1E1E1", "< c #B7B7B7", "[ c #FDFDFD", "} c #EFEFEF", "| c #EEEEEE", "1 c #EDEDED", "2 c #ECECEC", "3 c #EBEBEB", "4 c #E9E9E9", "5 c #E8E8E8", "6 c #BFBFBF", "7 c #8A8A8A", "8 c #6A6A6A", "9 c #9E9E9E", "0 c #F6F6F6", "a c #909090", "b c #A2A2A2", "c c #AAAAAA", "d c #F4F4F4", "e c #CECECE", "f c #ADADAD", "g c #AEAEAE", "h c #BEBEBE", "i c #A6A6A6", "j c #CDCDCD", "k c #F5F5F5", "l c #DEDEDE", "m c #DDDDDD", "n c #C9C9C9", "o c #878787", "p c #888888", "q c #D0D0D0", "r c #6E6E6E", "s c #797979", "t c #D1D1D1", "u c #A1A1A1", "v c #B3B3B3", "w c #FFFFFF", "x c #CACACA", "y c #A7A7A7", "z c #A5A5A5", "A c #A4A4A4", "B c #A3A3A3", "C c #87847C", "D c #EAE8E3", "E c #8D8982", "F c #53524C", "G c #807D74", "H c #AAA9A5", "I c #BAB5AB", "J c #F3F3F3", "K c #C3C1BD", "L c #8B8B89", "M c #E6E5E1", "N c #F9F9F8", "O c #FAFAF9", "P c #F9F9F7", "Q c #F7F6F5", "R c #F7F7F4", "S c #F6F5F4", "T c #F2F1EE", "U c #F0EFEC", "V c #E5E5E4", "W c #9F9F9F", "X c #DFDED9", "Y c #A4A3A1", "Z c #6C6B6A", "` c #F5F4F3", " . c #D5D5D5", ".. c #D3D3D3", "+. c #D4D4D3", "@. c #D4D4D4", "#. c #A9A9A9", "$. c #B5B5B5", "%. c #CDCDCB", "&. c #B5B5B4", "*. c #DCDAD3", "=. c #6B6B6A", "-. c #999896", ";. c #918F87", ">. c #999895", ",. c #E6E4E1", "'. c #F0EEEC", "). c #FAF9F9", "!. c #F9F8F7", "~. c #F8F7F6", "{. c #F8F8F7", "]. c #F4F3F1", "^. c #F2F1EF", "/. c #565655", "(. c #858482", "_. c #9C9B99", ":. c #6B6A68", "<. c #585858", "[. c #5E5C57", "}. c #524F4B", "|. c #4A4845", "1. c #4B4A46", "2. c #4B4946", "3. c #4A4844", "4. c #494743", "5. c #484642", "6. c #474541", "7. c #464440", "8. c #514F4B", "9. c #53514E", "0. c #7B7A77", "a. c #797771", "b. c #949391", "c. c #989694", "d. c #868480", "e. c #6E6C66", "f. c #706D67", "g. c #5C5955", "h. c #67645F", "i. c #5B5954", "j. c #585651", "k. c #5D5B56", "l. c #595652", "m. c #53504C", "n. c #575450", "o. c #595752", "p. c #5C5956", "q. c #5B5956", "r. c #61615E", "s. c #696861", "t. c #77756F", "u. c #7E7B77", "v. c #979690", "w. c #96938D", "x. c #807E77", "y. c #7D7A74", "z. c #787770", "A. c #716F6A", "B. c #6E6C67", "C. c #595753", "D. c #63615C", "E. c #686661", "F. c #6F6E68", "G. c #6D6C66", "H. c #72716B", "I. c #76746F", "J. c #6A6963", "K. c #8B8880", "L. c #B2AFA8", "M. c #B6B3AD", "N. c #BFBDB6", "O. c #BDBBB4", "P. c #B0AEA6", "Q. c #ABA8A2", "R. c #9C9991", " ", " . . . . . . . . . . . . ", " . + @ # # # # # # # $ % & . ", " . * = - - - ; > , , ' ) ! . ", " . # ~ { ] ^ / ( _ : > > < . ", " . [ } | 1 1 | 2 2 3 4 5 6 . ", " . [ 7 8 9 0 a b 4 c a d + . ", " . [ # # # # $ $ # # $ $ e . ", " . [ f g = h % h i j 3 # j . ", " . k l l l m l l , l 5 : n . ", " . . @ o ~ p q r s t p u q v . . ", " . w . x y z A z z i B b u u 9 . C . ", " . w D E F . . . . . . . . . . G C H I . ", " . w w J w w w w w w w w w w w w w w w w D . ", " . K L M N O N P Q R O O S T T U V D W X I . ", " . Y Z ` h .! ..! +.< @.#...$.%.&.*.=.-.;.. ", " . >.=.,.'.Q N @ ).N !.~.{.{.].].].^./.(.;.. ", " . _.:.<.[.}.|.1.2.2.2.3.4.5.6.4.7.8.9.0.a.. ", " . b.c.d.e.f.g.h.i.j.i.k.l.m.n.o.p.q.r.s.t.. ", " . u.v.w.;.x.y.z.t.A.t.A.B.C.D.E.F.G.H.I.J.. ", " . . . . . . . . . . . . . . . . . . . . ", " . K.L.M.N.N.N.N.N.O.P.L.Q.P.R.R.R.G G . ", " . . . . . . . . . . . . . . . . . . ", " "};