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