annotate lisp/hm--html-menus/hm--html-keys.el @ 142:1856695b1fa9 r20-2b5

Import from CVS: tag r20-2b5
author cvs
date Mon, 13 Aug 2007 09:33:18 +0200
parents 9f59509498e1
children 25f70ba0133c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
1 ;;; $Id: hm--html-keys.el,v 1.6 1997/05/09 03:28:00 steve Exp $
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
2 ;;;
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
3 ;;; Copyright (C) 1995, 1996, 1997 Heiko Muenkel
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 ;;; email: muenkel@tnt.uni-hannover.de
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ;;; This program is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;;; it under the terms of the GNU General Public License as published by
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
8 ;;; the Free Software Foundation; either version 2, or (at your option)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;;; any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 ;;; This program is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;;; GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;;; You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 ;;; along with this program; if not, write to the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 ;;; Description:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 ;;; Defines the new keybindigs for the hm--html-menus package.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 ;;; Installation:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 ;;; Put this file in one of your load path directories.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
30 (if (adapt-emacs19p)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
31 (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
32
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
33 (defvar hm--html-emacs19-popup-noregion-menu-button [C-down-mouse-3]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
34 "This is the mouse button , which pops up the noregion menus.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
35 It could have the same value as
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
36 `hm--html-emacs19-popup-region-menu-button'.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
37
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
38 (defvar hm--html-emacs19-popup-region-menu-button [C-down-mouse-3]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
39 "This is the mouse button , which pops up the region menus.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
40 It could have the same value as
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
41 `hm--html-emacs19-popup-noregion-menu-button'.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
42
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
43 ))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 (defvar hm--html-noregion-anchor-map nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 "Noregion sub keymap for inserting anchors.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 (if hm--html-noregion-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 (setq hm--html-noregion-anchor-map (make-sparse-keymap))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
52 (define-key hm--html-noregion-anchor-map "r" 'hm--html-add-relative-link)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 (define-key hm--html-noregion-anchor-map "h" 'hm--html-add-html-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 (define-key hm--html-noregion-anchor-map "i" 'hm--html-add-info-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 (define-key hm--html-noregion-anchor-map "g" 'hm--html-add-gopher-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 (define-key hm--html-noregion-anchor-map "f" 'hm--html-add-file-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 (define-key hm--html-noregion-anchor-map "\C-f" 'hm--html-add-ftp-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 (define-key hm--html-noregion-anchor-map "n" 'hm--html-add-news-link)
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
59 (define-key hm--html-noregion-anchor-map "m" 'hm--html-add-mail-box-link)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 (define-key hm--html-noregion-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 [(control m)] 'hm--html-add-mailto-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 (define-key hm--html-noregion-anchor-map "w" 'hm--html-add-direct-wais-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 (define-key hm--html-noregion-anchor-map "\C-w" 'hm--html-add-wais-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 (define-key hm--html-noregion-anchor-map "p" 'hm--html-add-proggate-link)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 (define-key hm--html-noregion-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 "\C-p" 'hm--html-add-local-proggate-link)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
67 (define-key hm--html-noregion-anchor-map "l" 'hm--html-add-normal-link)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 (define-key hm--html-noregion-anchor-map "t" 'hm--html-add-link-target)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 (defvar hm--html-region-anchor-map nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 "Region sub keymap for inserting anchors.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 (if hm--html-region-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 (setq hm--html-region-anchor-map (make-sparse-keymap))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
77 (define-key hm--html-region-anchor-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
78 "r" 'hm--html-add-relative-link-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 (define-key hm--html-region-anchor-map "h" 'hm--html-add-html-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 (define-key hm--html-region-anchor-map "i" 'hm--html-add-info-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 (define-key hm--html-region-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 "g" 'hm--html-add-gopher-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 (define-key hm--html-region-anchor-map "f" 'hm--html-add-file-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 (define-key hm--html-region-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 "\C-f" 'hm--html-add-ftp-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 (define-key hm--html-region-anchor-map "n" 'hm--html-add-news-link-to-region)
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
87 (define-key hm--html-region-anchor-map "m" 'hm--html-add-mail-box-link-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 (define-key hm--html-region-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 [(control m)] 'hm--html-add-mailto-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 (define-key hm--html-region-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 "w" 'hm--html-add-direct-wais-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 (define-key hm--html-region-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 "\C-w" 'hm--html-add-wais-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 (define-key hm--html-region-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 "p" 'hm--html-add-proggate-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 (define-key hm--html-region-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 "\C-p" 'hm--html-add-local-proggate-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 (define-key hm--html-region-anchor-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 "l" 'hm--html-add-normal-link-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 (define-key hm--html-region-anchor-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
101 "t" 'hm--html-add-link-target-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 (defvar hm--html-noregion-frame-map nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 "Noregion sub keymap for inserting frame elements.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 (if hm--html-noregion-frame-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 (setq hm--html-noregion-frame-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 (define-key hm--html-noregion-frame-map "f" 'hm--html-add-full-html-frame)
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
111 (define-key hm--html-noregion-frame-map [(control d)] 'hm--html-add-doctype)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 (define-key hm--html-noregion-frame-map [(control h)] 'hm--html-add-html)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 (define-key hm--html-noregion-frame-map [(meta h)] 'hm--html-add-head)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 (define-key hm--html-noregion-frame-map "b" 'hm--html-add-body)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 (define-key hm--html-noregion-frame-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 [(control t)] 'hm--html-add-title-and-header)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 (define-key hm--html-noregion-frame-map "t" 'hm--html-add-title)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 (define-key hm--html-noregion-frame-map "h" 'hm--html-add-header)
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
119 (define-key hm--html-noregion-frame-map "m" 'hm--html-add-meta)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 (define-key hm--html-noregion-frame-map "n" 'hm--html-add-normal-node-link)
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
121 (define-key hm--html-noregion-frame-map "i" 'hm--html-add-isindex)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
122 (define-key hm--html-noregion-frame-map [(meta d)] 'hm--html-add-base)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
123 (define-key hm--html-noregion-frame-map "a" 'hm--html-add-address)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 (define-key hm--html-noregion-frame-map "s" 'hm--html-add-signature)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 (define-key hm--html-noregion-frame-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 [(control c)] 'hm--html-insert-created-comment)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 (define-key hm--html-noregion-frame-map "c" 'hm--html-insert-changed-comment)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 (define-key hm--html-noregion-frame-map "d" 'hm--html-new-date)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 (defvar hm--html-region-frame-map nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 "Region sub keymap for inserting frame elements.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 (if hm--html-region-frame-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 (setq hm--html-region-frame-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 (define-key hm--html-region-frame-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 "f" 'hm--html-add-full-html-frame-with-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 (define-key hm--html-region-frame-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 [(meta h)] 'hm--html-add-head-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 (define-key hm--html-region-frame-map "b" 'hm--html-add-body-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 (define-key hm--html-region-frame-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 [(control t)] 'hm--html-add-title-and-header-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 (define-key hm--html-region-frame-map "t" 'hm--html-add-title-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 (define-key hm--html-region-frame-map "h" 'hm--html-add-header-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 (define-key hm--html-region-frame-map "a" 'hm--html-add-address-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 (defvar hm--html-noregion-structure-map nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 "Noregion sub keymap for inserting entities.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 (if hm--html-noregion-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 (setq hm--html-noregion-structure-map (make-sparse-keymap))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
155 (define-key hm--html-noregion-structure-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
156 "i" 'hm--html-add-list-or-menu-item)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
157 (define-key hm--html-noregion-structure-map "m" 'hm--html-add-menu)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
158 (define-key hm--html-noregion-structure-map "u" 'hm--html-add-list)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 (define-key hm--html-noregion-structure-map "o" 'hm--html-add-numberlist)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 (define-key hm--html-noregion-structure-map "d" 'hm--html-add-directory-list)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 (define-key hm--html-noregion-structure-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
162 "\C-dl" 'hm--html-add-description-list)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 (define-key hm--html-noregion-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 "\C-dt" 'hm--html-add-description-title)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 (define-key hm--html-noregion-structure-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
166 "\C-de" 'hm--html-add-description-entry)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 (define-key hm--html-noregion-structure-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
168 "\C-d\C-t" 'hm--html-add-description-title-and-entry)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 (define-key hm--html-noregion-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 "\C-tt" 'hm--html-add-table)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 (define-key hm--html-noregion-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 "\C-t\C-t" 'hm--html-add-table-title)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 (define-key hm--html-noregion-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 "\C-th" 'hm--html-add-table-header)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 (define-key hm--html-noregion-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 "\C-tr" 'hm--html-add-first-table-row)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 (define-key hm--html-noregion-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 "\C-t\C-r" 'hm--html-add-additional-table-row)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 (define-key hm--html-noregion-structure-map "p" 'hm--html-add-paragraph)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 (define-key hm--html-noregion-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 "\C-p" 'hm--html-add-paragraph-separator)
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
182 (define-key hm--html-noregion-structure-map
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
183 [(meta d)] 'hm--html-add-document-division)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 (define-key hm--html-noregion-structure-map "\C-m" 'hm--html-add-line-break)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 (define-key hm--html-noregion-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 "h" 'hm--html-add-horizontal-rule)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 (defvar hm--html-region-structure-map nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 "Region sub keymap for inserting entities.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 (if hm--html-region-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 (setq hm--html-region-structure-map (make-sparse-keymap))
98
0d2f883870bc Import from CVS: tag r20-1b1
cvs
parents: 70
diff changeset
195 (define-key hm--html-region-structure-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
196 "i" 'hm--html-add-list-or-menu-item-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 (define-key hm--html-region-structure-map "m" 'hm--html-add-menu-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 (define-key hm--html-region-structure-map "u" 'hm--html-add-list-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 (define-key hm--html-region-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 "o" 'hm--html-add-numberlist-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 (define-key hm--html-region-structure-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
202 "d" 'hm--html-add-directorylist-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 (define-key hm--html-region-structure-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
204 "\C-dl" 'hm--html-add-description-list-to-region)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
205 (define-key hm--html-region-structure-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
206 "\C-dt" 'hm--html-add-description-title-to-region)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
207 (define-key hm--html-region-structure-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
208 "\C-de" 'hm--html-add-description-entry-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 (define-key hm--html-region-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 "\C-tt" 'hm--html-add-table-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 (define-key hm--html-region-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 "\C-t\C-t" 'hm--html-add-table-title-to-region)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 (define-key hm--html-region-structure-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 "p" 'hm--html-add-paragraph-to-region)
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
215 (define-key hm--html-region-structure-map
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
216 [(meta d)] 'hm--html-add-document-division-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
219 (defvar hm--html-noregion-formatting-paragraph-map nil
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
220 "Noregion sub keymap for inserting paragraph formatting elements.")
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
221 (define-obsolete-variable-alias
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
222 'hm--html-noregion-formating-paragraph-map
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
223 'hm--html-noregion-formatting-paragraph-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
225 (if hm--html-noregion-formatting-paragraph-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 ()
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
227 (setq hm--html-noregion-formatting-paragraph-map (make-sparse-keymap))
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
228 ; (define-key hm--html-noregion-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
229 ; "o" 'hm--html-add-plaintext)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
230 (define-key hm--html-noregion-formatting-paragraph-map
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
231 "p" 'hm--html-add-preformatted)
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
232 (define-key hm--html-noregion-formatting-paragraph-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
233 "b" 'hm--html-add-blockquote)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
234 (define-key hm--html-noregion-formatting-paragraph-map
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
235 "\C-b" 'hm--html-add-basefont)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
236 (define-key hm--html-noregion-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
237 "f" 'hm--html-add-font)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
238 (define-key hm--html-noregion-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
239 "c" 'hm--html-add-center)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
240 (define-key hm--html-noregion-formatting-paragraph-map
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
241 "\C-c" 'hm--html-add-comment)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
242 ; (define-key hm--html-noregion-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
243 ; "l" 'hm--html-add-listing)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
244 ; (define-key hm--html-noregion-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
245 ; "a" 'hm--html-add-abstract)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
248 (defvar hm--html-region-formatting-paragraph-map nil
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
249 "Region sub keymap for inserting paragraph formatting elements.")
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
250 (define-obsolete-variable-alias
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
251 'hm--html-region-formating-paragraph-map
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
252 'hm--html-region-formatting-paragraph-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
254 (if hm--html-region-formatting-paragraph-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 ()
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
256 (setq hm--html-region-formatting-paragraph-map (make-sparse-keymap))
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
257 ; (define-key hm--html-region-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
258 ; "o" 'hm--html-add-plaintext-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
259 (define-key hm--html-region-formatting-paragraph-map
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
260 "p" 'hm--html-add-preformatted-to-region)
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
261 (define-key hm--html-region-formatting-paragraph-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 "b" 'hm--html-add-blockquote-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
263 (define-key hm--html-region-formatting-paragraph-map
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
264 "\C-b" 'hm--html-add-basefont-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
265 (define-key hm--html-region-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
266 "f" 'hm--html-add-font-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
267 (define-key hm--html-region-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
268 "c" 'hm--html-add-center-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
269 (define-key hm--html-region-formatting-paragraph-map
116
9f59509498e1 Import from CVS: tag r20-1b10
cvs
parents: 102
diff changeset
270 "\C-c" 'hm--html-add-comment-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
271 ; (define-key hm--html-region-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
272 ; "l" 'hm--html-add-listing-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
273 ; (define-key hm--html-region-formatting-paragraph-map
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
274 ; "a" 'hm--html-add-abstract-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
277 (defvar hm--html-noregion-formatting-word-map nil
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
278 "Norgion sub keymap for inserting physical text formatting elements.")
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
279 (define-obsolete-variable-alias
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
280 'hm--html-noregion-formating-word-map
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
281 'hm--html-noregion-formatting-word-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
283 (if hm--html-noregion-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 ()
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
285 (setq hm--html-noregion-formatting-word-map (make-sparse-keymap))
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
286 (define-key hm--html-noregion-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 "b" 'hm--html-add-bold)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
288 (define-key hm--html-noregion-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 "i" 'hm--html-add-italic)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
290 (define-key hm--html-noregion-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 "u" 'hm--html-add-underline)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
292 (define-key hm--html-noregion-formatting-word-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
293 "t" 'hm--html-add-fixed)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
294 (define-key hm--html-noregion-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 "s" 'hm--html-add-strikethru)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
296 (define-key hm--html-noregion-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 "\C-p" 'hm--html-add-superscript)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
298 (define-key hm--html-noregion-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 "\C-b" 'hm--html-add-subscript)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
300 (define-key hm--html-noregion-formatting-word-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
301 "e" 'hm--html-add-emphasized)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
302 (define-key hm--html-noregion-formatting-word-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
303 "\C-s" 'hm--html-add-strong)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
304 (define-key hm--html-noregion-formatting-word-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
305 "\M-s" 'hm--html-add-small)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
306 (define-key hm--html-noregion-formatting-word-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
307 "\M-b" 'hm--html-add-big)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
310 (defvar hm--html-region-formatting-word-map nil
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
311 "Region sub keymap for inserting word text formatting elements.")
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
312 (define-obsolete-variable-alias
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
313 'hm--html-region-formating-word-map
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
314 'hm--html-region-formatting-word-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
316 (if hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 ()
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
318 (setq hm--html-region-formatting-word-map (make-sparse-keymap))
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
319 (define-key hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 "b" 'hm--html-add-bold-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
321 (define-key hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 "i" 'hm--html-add-italic-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
323 (define-key hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 "u" 'hm--html-add-underline-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
325 (define-key hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 "t" 'hm--html-add-fixed-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
327 (define-key hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 "s" 'hm--html-add-strikethru-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
329 (define-key hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 "\C-p" 'hm--html-add-superscript-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
331 (define-key hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 "\C-b" 'hm--html-add-subscript-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
333 (define-key hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 "e" 'hm--html-add-emphasized-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
335 (define-key hm--html-region-formatting-word-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 "\C-s" 'hm--html-add-strong-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
337 (define-key hm--html-region-formatting-word-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
338 "\M-s" 'hm--html-add-small-to-region)
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
339 (define-key hm--html-region-formatting-word-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
340 "\M-b" 'hm--html-add-big-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
343 (defvar hm--html-noregion-include-map nil
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
344 "Noregion sub keymap for include images and other stuff.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
345
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
346 (if hm--html-noregion-include-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
347 ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
348 (setq hm--html-noregion-include-map (make-sparse-keymap))
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
349 (define-key hm--html-noregion-include-map
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
350 [(control i) (t)] 'hm--html-add-image-top)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
351 (define-key hm--html-noregion-include-map
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
352 [(control i) (m)] 'hm--html-add-image-middle)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
353 (define-key hm--html-noregion-include-map
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
354 [(control i) (b)] 'hm--html-add-image-bottom)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
355 (define-key hm--html-noregion-include-map "i" 'hm--html-add-image)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
356 (define-key hm--html-noregion-include-map [(meta i)] 'hm--html-add-image-map)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
357 (define-key hm--html-noregion-include-map "m" 'hm--html-add-map)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
358 (define-key hm--html-noregion-include-map [(control a)] 'hm--html-add-area)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
359 (define-key hm--html-noregion-include-map "a" 'hm--html-add-applet)
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
360 (define-key hm--html-noregion-include-map "p" 'hm--html-add-applet-parameter)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
361 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
363 (defvar hm--html-region-include-map nil
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
364 "Region sub keymap for include images and other stuff.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
366 (if hm--html-region-include-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
367 ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
368 (setq hm--html-region-include-map (make-sparse-keymap))
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
369 (define-key hm--html-region-include-map "m" 'hm--html-add-map-to-region)
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
370 (define-key hm--html-region-include-map "a" 'hm--html-add-applet-to-region)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
371 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
373 ;(defvar hm--html-noregion-text-elements-map nil
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
374 ; "Noregion sub keymap for inserting text elements.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
375
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
376 ;(if hm--html-noregion-text-elements-map
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 ; ()
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
378 ; (setq hm--html-noregion-text-elements-map (make-sparse-keymap))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 ; )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
381 ;(defvar hm--html-region-text-elements-map nil
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
382 ; "Region sub keymap for inserting text elements.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
384 ;(if hm--html-region-text-elements-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
385 ; ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
386 ; (setq hm--html-region-text-elements-map (make-sparse-keymap))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
387 ; )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389 (defvar hm--html-noregion-forms-map nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 "Noregion sub keymap for inserting forms.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 (if hm--html-noregion-forms-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 (setq hm--html-noregion-forms-map (make-sparse-keymap))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
395
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
396 (define-key hm--html-noregion-forms-map "f" 'hm--html-add-form)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
397 (define-key hm--html-noregion-forms-map "a" 'hm--html-form-add-input-audio)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
398 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
399 "c" 'hm--html-form-add-input-checkbox)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
400 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
401 "d" 'hm--html-form-add-input-date)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
402 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
403 "\C-f" 'hm--html-form-add-input-float)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
404 (define-key hm--html-noregion-forms-map "i" 'hm--html-form-add-input-image)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
405 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
406 "\C-i" 'hm--html-form-add-input-integer)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
407 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
408 "\M-i" 'hm--html-form-add-input-isindex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
409 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
410 "p" 'hm--html-form-add-input-password)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
411 (define-key hm--html-noregion-forms-map "r" 'hm--html-form-add-input-radio)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
412 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
413 "\C-r" 'hm--html-form-add-input-reset)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
414 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
415 "\C-s" 'hm--html-form-add-input-scribble)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
416 (define-key hm--html-noregion-forms-map "s" 'hm--html-form-add-input-submit)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
417 (define-key hm--html-noregion-forms-map "t" 'hm--html-form-add-input-text)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
418 (define-key hm--html-noregion-forms-map "u" 'hm--html-form-add-input-url)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
419 (define-key hm--html-noregion-forms-map "o" 'hm--html-form-add-select-option)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
420 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
421 "m" 'hm--html-form-add-select-option-menu)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
422 (define-key hm--html-noregion-forms-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
423 "l" 'hm--html-form-add-select-scrolled-list)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
424 (define-key hm--html-noregion-forms-map "\C-t" 'hm--html-form-add-textarea)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 (defvar hm--html-region-forms-map nil
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 "Region sub keymap for inserting forms.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 (if hm--html-region-forms-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 (setq hm--html-region-forms-map (make-sparse-keymap))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
433
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
434 (define-key hm--html-region-forms-map "f" 'hm--html-add-form-to-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 (defvar hm--html-region-sub-map-1 nil
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
438 "Region sub keymap for the `hm--html-mode'.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 (if hm--html-region-sub-map-1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 (setq hm--html-region-sub-map-1 (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 (define-key hm--html-region-sub-map-1 "\C-o" hm--html-region-forms-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 (define-key hm--html-region-sub-map-1 "\C-a" hm--html-region-anchor-map)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
445 (define-key hm--html-region-sub-map-1 "\C-i" hm--html-region-include-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
446 ; (define-key hm--html-region-sub-map-1
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
447 ; "\C-t" hm--html-region-text-elements-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 (define-key hm--html-region-sub-map-1 "\C-f" hm--html-region-frame-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 (define-key hm--html-region-sub-map-1 "\C-s" hm--html-region-structure-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 (define-key hm--html-region-sub-map-1
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
451 "\C-p" hm--html-region-formatting-paragraph-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 (define-key hm--html-region-sub-map-1
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
453 "\C-w" hm--html-region-formatting-word-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 (defvar hm--html-noregion-sub-map-1 nil
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
457 "Noregion sub keymap for the `hm--html-mode'.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 (if hm--html-noregion-sub-map-1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 (setq hm--html-noregion-sub-map-1 (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 (define-key hm--html-noregion-sub-map-1 "\C-o" hm--html-noregion-forms-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 (define-key hm--html-noregion-sub-map-1 "\C-a" hm--html-noregion-anchor-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 (define-key hm--html-noregion-sub-map-1
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
466 [(control i)] hm--html-noregion-include-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
467 ; (define-key hm--html-noregion-sub-map-1
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
468 ; "\C-t" hm--html-noregion-text-elements-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 (define-key hm--html-noregion-sub-map-1 "\C-f" hm--html-noregion-frame-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 (define-key hm--html-noregion-sub-map-1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 "\C-s" hm--html-noregion-structure-map)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 (define-key hm--html-noregion-sub-map-1
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
473 "\C-p" hm--html-noregion-formatting-paragraph-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 (define-key hm--html-noregion-sub-map-1
142
1856695b1fa9 Import from CVS: tag r20-2b5
cvs
parents: 116
diff changeset
475 "\C-w" hm--html-noregion-formatting-word-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 (defvar hm--html-region-sub-map nil
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
479 "Region sub keymap for the `hm--html-mode'.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 (if hm--html-region-sub-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 (setq hm--html-region-sub-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 ; (define-key hm--html-region-sub-map "\C-n" hm--html-noregion-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 ; (define-key hm--html-region-sub-map "\C-r" hm--html-region-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 (define-key hm--html-region-sub-map "\M-n" hm--html-noregion-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 (define-key hm--html-region-sub-map "\M-r" hm--html-region-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 (if (adapt-emacs19p)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 (map-keymap '(lambda (key-description-list binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 (define-key hm--html-region-sub-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
492 (vector key-description-list) binding))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
493 ; (single-key-description key-description-list) binding))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 hm--html-region-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495 (map-keymap '(lambda (key-description-list binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 (define-key hm--html-region-sub-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 key-description-list binding))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 hm--html-region-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 (defvar hm--html-noregion-sub-map nil
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
503 "Noregion keymap for the `hm--html-mode'.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 (if hm--html-noregion-sub-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 (setq hm--html-noregion-sub-map (make-sparse-keymap))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 ; (define-key hm--html-noregion-sub-map "\C-n" hm--html-noregion-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 ; (define-key hm--html-noregion-sub-map "\C-r" hm--html-region-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 (define-key hm--html-noregion-sub-map "\M-n" hm--html-noregion-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 (define-key hm--html-noregion-sub-map "\M-r" hm--html-region-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 (if (adapt-emacs19p)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 (map-keymap '(lambda (key-description-list binding)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
515 (define-key hm--html-noregion-sub-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
516 (vector key-description-list) binding))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
517 ; (single-key-description key-description-list) binding))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
518 hm--html-noregion-sub-map-1)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 (map-keymap '(lambda (key-description-list binding)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 (define-key hm--html-noregion-sub-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 key-description-list binding))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 hm--html-noregion-sub-map-1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 (defvar hm--html-mode-map nil
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
527 "Normal and noregion keymap for the `hm--html-mode'.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 (if hm--html-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 (setq hm--html-mode-map (make-sparse-keymap))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
532 (define-key hm--html-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
533 hm--html-mode-prefix-key hm--html-noregion-sub-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534 (if (adapt-xemacsp)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
535 (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
536 (define-key hm--html-mode-map '(button3) 'hm--html-popup-menu)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
537 (define-key hm--html-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
538 [(meta control button1)] 'idd-mouse-drag-and-drop))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
539 ; (define-key hm--html-mode-map [down-mouse-3] 'hm--html-popup-menu)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
540 (if hm--html-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
541 (define-key hm--html-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
542 hm--html-emacs19-popup-noregion-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
543 hm--html-menu-noregion-expert-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
544 (define-key hm--html-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
545 hm--html-emacs19-popup-noregion-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
546 hm--html-menu-noregion-novice-map))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
547 (define-key hm--html-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
548 [(meta control mouse-1)] 'idd-mouse-drag-and-drop))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 (if hm--html-bind-latin-1-char-entities
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 (define-key hm--html-mode-map [adiaeresis] 'hm--html_ae)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 (define-key hm--html-mode-map [odiaeresis] 'hm--html_oe)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 (define-key hm--html-mode-map [udiaeresis] 'hm--html_ue)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 (define-key hm--html-mode-map [aring] 'hm--html_aa)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 (define-key hm--html-mode-map [Adiaeresis] 'hm--html_Ae)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 (define-key hm--html-mode-map [Odiaeresis] 'hm--html_Oe)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 (define-key hm--html-mode-map [Udiaeresis] 'hm--html_Ue)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 (define-key hm--html-mode-map [Aring] 'hm--html_Aa)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 (define-key hm--html-mode-map [ediaeresis] 'hm--html_ediaeresis)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 (define-key hm--html-mode-map [Ediaeresis] 'hm--html_Ediaeresis)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 (define-key hm--html-mode-map [idiaeresis] 'hm--html_idiaeresis)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 (define-key hm--html-mode-map [Idiaeresis] 'hm--html_Idiaeresis)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 (define-key hm--html-mode-map [ssharp] 'hm--html_sz)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564 (define-key hm--html-mode-map [aacute] 'hm--html_aacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 (define-key hm--html-mode-map [eacute] 'hm--html_eacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566 (define-key hm--html-mode-map [iacute] 'hm--html_iacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 (define-key hm--html-mode-map [oacute] 'hm--html_oacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 (define-key hm--html-mode-map [uacute] 'hm--html_uacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 (define-key hm--html-mode-map [Aacute] 'hm--html_Aacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 (define-key hm--html-mode-map [Eacute] 'hm--html_Eacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 (define-key hm--html-mode-map [Iacute] 'hm--html_Iacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 (define-key hm--html-mode-map [Oacute] 'hm--html_Oacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 (define-key hm--html-mode-map [Uacute] 'hm--html_Uacute)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574 (define-key hm--html-mode-map [agrave] 'hm--html_agrave)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 (define-key hm--html-mode-map [egrave] 'hm--html_egrave)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 (define-key hm--html-mode-map [igrave] 'hm--html_igrave)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 (define-key hm--html-mode-map [ograve] 'hm--html_ograve)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 (define-key hm--html-mode-map [ugrave] 'hm--html_ugrave)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579 (define-key hm--html-mode-map [Agrave] 'hm--html_Agrave)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 (define-key hm--html-mode-map [Egrave] 'hm--html_Egrave)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 (define-key hm--html-mode-map [Igrave] 'hm--html_Igrave)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 (define-key hm--html-mode-map [Ograve] 'hm--html_Ograve)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 (define-key hm--html-mode-map [Ugrave] 'hm--html_Ugrave)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 (define-key hm--html-mode-map [ccedilla] 'hm--html_ccedilla)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 (define-key hm--html-mode-map [Ccedilla] 'hm--html_Ccedilla)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586 (define-key hm--html-mode-map [acircumflex] 'hm--html_acircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 (define-key hm--html-mode-map [ecircumflex] 'hm--html_ecircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 (define-key hm--html-mode-map [icircumflex] 'hm--html_icircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 (define-key hm--html-mode-map [ocircumflex] 'hm--html_ocircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 (define-key hm--html-mode-map [ucircumflex] 'hm--html_ucircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 (define-key hm--html-mode-map [Acircumflex] 'hm--html_Acircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 (define-key hm--html-mode-map [Ecircumflex] 'hm--html_Ecircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593 (define-key hm--html-mode-map [Icircumflex] 'hm--html_Icircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 (define-key hm--html-mode-map [Ocircumflex] 'hm--html_Ocircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 (define-key hm--html-mode-map [Ucircumflex] 'hm--html_Ucircumflex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 (define-key hm--html-mode-map [atilde] 'hm--html_atilde)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 (define-key hm--html-mode-map [otilde] 'hm--html_otilde)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 (define-key hm--html-mode-map [ntilde] 'hm--html_ntilde)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 (define-key hm--html-mode-map [Atilde] 'hm--html_Atilde)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600 (define-key hm--html-mode-map [Otilde] 'hm--html_Otilde)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
601 (define-key hm--html-mode-map [Ntilde] 'hm--html_Ntilde)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
602 (define-key hm--html-mode-map [eth] 'hm--html_eth)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
603 (define-key hm--html-mode-map [ETH] 'hm--html_Eth)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 (define-key hm--html-mode-map [thorn] 'hm--html_thorn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 (define-key hm--html-mode-map [THORN] 'hm--html_Thorn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 (define-key hm--html-mode-map "<" 'hm--html-smart-less-than)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
608 (define-key hm--html-mode-map ">" 'hm--html-smart-greater-than)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
609 (define-key hm--html-mode-map "&" 'hm--html-smart-ampersand)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
612 (defvar hm--html-region-mode-map nil
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
613 "Region keymap for the `hm--html-mode'.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615 (if hm--html-region-mode-map
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
616 ()
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
617 (setq hm--html-region-mode-map (make-sparse-keymap))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
618 (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
619 hm--html-mode-prefix-key hm--html-region-sub-map)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
620 (if (adapt-xemacsp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
621 (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 (define-key hm--html-region-mode-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
623 '(button3) 'hm--html-popup-menu-region)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
624 (define-key hm--html-region-mode-map
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
625 [(meta control button1)] 'idd-mouse-drag-and-drop))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
626 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
627 ; [down-mouse-3] 'hm--html-popup-menu-region)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
628 (if hm--html-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
629 (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
630 hm--html-emacs19-popup-region-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
631 hm--html-menu-region-expert-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
632 (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
633 hm--html-emacs19-popup-region-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
634 hm--html-menu-region-novice-map))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
635 (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
636 [(meta control mouse-1)] 'idd-mouse-drag-and-drop))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
637 ;; It maybe a better idea to set the following to undefine in this list...
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
638 ; (if hm--html-bind-latin-1-char-entities
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
639 ; (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
640 ; (define-key hm--html-region-mode-map [adiaeresis] 'hm--html_ae)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
641 ; (define-key hm--html-region-mode-map [odiaeresis] 'hm--html_oe)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
642 ; (define-key hm--html-region-mode-map [udiaeresis] 'hm--html_ue)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
643 ; (define-key hm--html-region-mode-map [aring] 'hm--html_aa)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
644 ; (define-key hm--html-region-mode-map [Adiaeresis] 'hm--html_Ae)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
645 ; (define-key hm--html-region-mode-map [Odiaeresis] 'hm--html_Oe)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
646 ; (define-key hm--html-region-mode-map [Udiaeresis] 'hm--html_Ue)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
647 ; (define-key hm--html-region-mode-map [Aring] 'hm--html_Aa)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
648 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
649 ; [ediaeresis] 'hm--html_ediaeresis)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
650 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
651 ; [Ediaeresis] 'hm--html_Ediaeresis)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
652 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
653 ; [idiaeresis] 'hm--html_idiaeresis)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
654 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
655 ; [Idiaeresis] 'hm--html_Idiaeresis)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
656 ; (define-key hm--html-region-mode-map [ssharp] 'hm--html_sz)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
657 ; (define-key hm--html-region-mode-map [aacute] 'hm--html_aacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
658 ; (define-key hm--html-region-mode-map [eacute] 'hm--html_eacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
659 ; (define-key hm--html-region-mode-map [iacute] 'hm--html_iacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
660 ; (define-key hm--html-region-mode-map [oacute] 'hm--html_oacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
661 ; (define-key hm--html-region-mode-map [uacute] 'hm--html_uacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
662 ; (define-key hm--html-region-mode-map [Aacute] 'hm--html_Aacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
663 ; (define-key hm--html-region-mode-map [Eacute] 'hm--html_Eacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
664 ; (define-key hm--html-region-mode-map [Iacute] 'hm--html_Iacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
665 ; (define-key hm--html-region-mode-map [Oacute] 'hm--html_Oacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
666 ; (define-key hm--html-region-mode-map [Uacute] 'hm--html_Uacute)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
667 ; (define-key hm--html-region-mode-map [agrave] 'hm--html_agrave)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
668 ; (define-key hm--html-region-mode-map [egrave] 'hm--html_egrave)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
669 ; (define-key hm--html-region-mode-map [igrave] 'hm--html_igrave)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
670 ; (define-key hm--html-region-mode-map [ograve] 'hm--html_ograve)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
671 ; (define-key hm--html-region-mode-map [ugrave] 'hm--html_ugrave)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
672 ; (define-key hm--html-region-mode-map [Agrave] 'hm--html_Agrave)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
673 ; (define-key hm--html-region-mode-map [Egrave] 'hm--html_Egrave)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
674 ; (define-key hm--html-region-mode-map [Igrave] 'hm--html_Igrave)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
675 ; (define-key hm--html-region-mode-map [Ograve] 'hm--html_Ograve)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
676 ; (define-key hm--html-region-mode-map [Ugrave] 'hm--html_Ugrave)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
677 ; (define-key hm--html-region-mode-map [ccedilla] 'hm--html_ccedilla)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
678 ; (define-key hm--html-region-mode-map [Ccedilla] 'hm--html_Ccedilla)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
679 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
680 ; [acircumflex] 'hm--html_acircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
681 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
682 ; [ecircumflex] 'hm--html_ecircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
683 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
684 ; [icircumflex] 'hm--html_icircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
685 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
686 ; [ocircumflex] 'hm--html_ocircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
687 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
688 ; [ucircumflex] 'hm--html_ucircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
689 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
690 ; [Acircumflex] 'hm--html_Acircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
691 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
692 ; [Ecircumflex] 'hm--html_Ecircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
693 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
694 ; [Icircumflex] 'hm--html_Icircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
695 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
696 ; [Ocircumflex] 'hm--html_Ocircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
697 ; (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
698 ; [Ucircumflex] 'hm--html_Ucircumflex)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
699 ; (define-key hm--html-region-mode-map [atilde] 'hm--html_atilde)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
700 ; (define-key hm--html-region-mode-map [otilde] 'hm--html_otilde)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
701 ; (define-key hm--html-region-mode-map [ntilde] 'hm--html_ntilde)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
702 ; (define-key hm--html-region-mode-map [Atilde] 'hm--html_Atilde)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
703 ; (define-key hm--html-region-mode-map [Otilde] 'hm--html_Otilde)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
704 ; (define-key hm--html-region-mode-map [Ntilde] 'hm--html_Ntilde)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
705 ; (define-key hm--html-region-mode-map [eth] 'hm--html_eth)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
706 ; (define-key hm--html-region-mode-map [ETH] 'hm--html_Eth)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
707 ; (define-key hm--html-region-mode-map [thorn] 'hm--html_thorn)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
708 ; (define-key hm--html-region-mode-map [THORN] 'hm--html_Thorn)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
709 ; ))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
710 (define-key hm--html-region-mode-map "<" 'hm--html-smart-less-than)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
711 (define-key hm--html-region-mode-map ">" 'hm--html-smart-greater-than)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
712 (define-key hm--html-region-mode-map "&" 'hm--html-smart-ampersand)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
714
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
715
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
716 ;;; For the hm--html minor modes
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
717 (defvar hm--html-minor-mode-map nil
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
718 "Normal and noregion keymap for the `hm--html-minor-mode'.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
720 (if hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
721 ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
722 (setq hm--html-minor-mode-map (make-sparse-keymap))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
723 (define-key hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
724 hm--html-minor-mode-prefix-key hm--html-noregion-sub-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
725 (if (adapt-xemacsp)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
726 (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
727 (define-key hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
728 '(button3) 'hm--html-popup-minor-html-menu)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
729 (define-key hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
730 [(meta control button1)] 'idd-mouse-drag-and-drop))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
731 (if hm--html-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
732 (define-key hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
733 hm--html-emacs19-popup-noregion-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
734 hm--html-menu-noregion-expert-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
735 (define-key hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
736 hm--html-emacs19-popup-noregion-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
737 hm--html-menu-noregion-novice-map))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
738 (define-key hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
739 [(meta control mouse-1)] 'idd-mouse-drag-and-drop))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
740 (define-key hm--html-minor-mode-map "<" 'hm--html-smart-less-than)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
741 (define-key hm--html-minor-mode-map ">" 'hm--html-smart-greater-than)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
742 (define-key hm--html-minor-mode-map "&" 'hm--html-smart-ampersand)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
743 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
744
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
745
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
746 (defvar hm--html-minor-region-mode-map nil
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
747 "Region keymap for the `hm--html-minor-mode'.")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
748
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
749 (if hm--html-minor-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
750 ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
751 (setq hm--html-minor-region-mode-map (make-sparse-keymap))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
752 (define-key hm--html-minor-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
753 hm--html-minor-mode-prefix-key hm--html-region-sub-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
754 (if (adapt-xemacsp)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
755 (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
756 (define-key hm--html-minor-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
757 '(button3) 'hm--html-popup-menu-region)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
758 (define-key hm--html-minor-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
759 [(meta control button1)] 'idd-mouse-drag-and-drop))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
760 (if hm--html-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
761 (define-key hm--html-minor-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
762 hm--html-emacs19-popup-region-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
763 hm--html-menu-region-expert-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
764 (define-key hm--html-minor-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
765 hm--html-emacs19-popup-region-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
766 hm--html-menu-region-novice-map))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
767 (define-key hm--html-minor-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
768 [(meta control mouse-1)] 'idd-mouse-drag-and-drop))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
769 (define-key hm--html-minor-region-mode-map "<" 'hm--html-smart-less-than)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
770 (define-key hm--html-minor-region-mode-map ">" 'hm--html-smart-greater-than)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
771 (define-key hm--html-minor-region-mode-map "&" 'hm--html-smart-ampersand)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
772 )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
773
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
774
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
775 ;;; Announce the feature hm--html-keys
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
776 (provide 'hm--html-keys)