annotate lisp/hm--html-menus/hm--html-menu.el @ 26:441bb1e64a06 r19-15b96

Import from CVS: tag r19-15b96
author cvs
date Mon, 13 Aug 2007 08:51:32 +0200
parents 4103f0995bd7
children 8b8b7f3559a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
1 ;;; hm--html-menu --- A menu for the hm--html-mode.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
2 ;;;
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
3 ;;; $Id: hm--html-menu.el,v 1.4 1997/03/02 03:43:16 steve Exp $
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
4 ;;;
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
5 ;;; Copyright (C) 1993 - 1997 Heiko Muenkel
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ;;; email: muenkel@tnt.uni-hannover.de
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 ;;; This program is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;;; it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 ;;; the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 ;;; any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ;;; This program is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;;; GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 ;;; You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 ;;; along with this program; if not, write to the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 ;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 ;;; Description:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ;;;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
25 ;;; Defines pulldown and popup menus for the html mode (hm--html-mode).
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 ;;; You should also have the w3 package from William M. Perry, for
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 ;;; browsing html- files in the xemacs and the program Xmosaic together
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 ;;; with the file html-view.el from Ron Tapia for browsing html- files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 ;;; in the Xmosaic.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 ;;; Installation:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 ;;;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
34 ;;; Put this file in one of your load path directories.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 ;;;
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
36 ;;; Look at the files hm--html-mode.el and hm--html-configuration
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
37 ;;; for further installation points.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 ;;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 ;; Menu "HTML"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 (defvar hm--html-pulldown-menu nil "*A List with the HTML-Menu.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 (defvar hm--html-menu-region-expert nil "*A List with the HTML-Menu.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 (defvar hm--html-menu-region-novice nil "*A List with the HTML-Menu.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 (defvar hm--html-menu-noregion-expert nil "*A List with the HTML-Menu.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 (defvar hm--html-menu-noregion-novice nil "*A List with the HTML-Menu.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 (setq hm--html-menu-noregion-expert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 '("HTML Noregion Expert Menu"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 ("Anchors"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
53 ["Relative link..." hm--html-add-relative-link t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
54 ["General link..." hm--html-add-normal-link t]
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
55 ["Drag & Drop"
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
56 idd-start-mouse-drag-and-drop
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
57 :active t
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
58 :keys "\\[idd-mouse-drag-and-drop]"]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
59 "----"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 ["Html link..." hm--html-add-html-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 ["Info link..." hm--html-add-info-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 ["Gopher link..." hm--html-add-gopher-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 ["File link..." hm--html-add-file-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 ["Ftp link..." hm--html-add-ftp-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 ["News link..." hm--html-add-news-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 ["Mailbox link..." hm--html-add-mail-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 ["Mailto link..." hm--html-add-mailto-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 ["Wais link (direct)..." hm--html-add-direct-wais-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 ["Wais link (gateway)..." hm--html-add-wais-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 ["Proggate link..." hm--html-add-proggate-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 ["Local Proggate link..." hm--html-add-local-proggate-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 ["Link target..." hm--html-add-link-target t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 ("Frame"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 ["Full html frame..." hm--html-add-full-html-frame t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 ["Frame template..."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 (hm--html-insert-template hm--html-frame-template-file)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 (file-exists-p hm--html-frame-template-file)]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 "----"
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
83 ["Doctype" hm--html-add-doctype t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 ["Html" hm--html-add-html t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 ["Head" hm--html-add-head t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 ["Body" hm--html-add-body t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 ["Title and Header..." hm--html-add-title-and-header t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 ["Title..." hm--html-add-title t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 ["Header..." hm--html-add-header t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
91 ["Address" hm--html-add-address t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 ["Signature" hm--html-add-signature t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 "----"
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
94 ["Meta information..." hm--html-add-meta t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
95 ["Node Link..." hm--html-add-normal-node-link t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
96 ["Isindex..." hm--html-add-isindex t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
97 ["Document Base..." hm--html-add-base t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
98 "----"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 ["Created comment" hm--html-insert-created-comment t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 ["Changed comment" hm--html-insert-changed-comment t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 ["New date in title" hm--html-new-date t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 ("Structure"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
104 ["Menu or list item" hm--html-add-list-or-menu-item t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
105 ["Menu" hm--html-add-menu t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
106 ["Unordered list" hm--html-add-list t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 ["Ordered list" hm--html-add-numberlist t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 ["Directory list" hm--html-add-directory-list t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 "----"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
110 ["Description list" hm--html-add-description-list t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 ["Description title" hm--html-add-description-title t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
112 ["Description entry" hm--html-add-description-entry t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
113 ["Description title + entry"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
114 hm--html-add-description-title-and-entry t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 ["Table..." hm--html-add-table t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 ["Table title..." hm--html-add-table-title t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 ["Table header..." hm--html-add-table-header t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 ["Table first row..." hm--html-add-first-table-row t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 ["Table additional row..." hm--html-add-additional-table-row t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 ("Additional Commands"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 ["Table row frame..." hm--html-add-row-frame t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 ["Table header entry..." hm--html-add-header-entry t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124 ["Table row entry..." hm--html-add-row-entry t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 ["Span columns..." hm--html-table-add-colspan-attribute t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 ["Span rows..." hm--html-table-add-rowspan-attribute t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 ["Paragraph container" hm--html-add-paragraph t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 ["Paragraph start tag" hm--html-add-paragraph-separator t]
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
131 ["Document division" hm--html-add-document-division t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 ["New line" hm--html-add-line-break t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 ["Horizontal rule" hm--html-add-horizontal-rule t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 ("Formating Paragraphs"
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
136 ; ["Without links" hm--html-add-plaintext t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
137 ["Preformated" hm--html-add-preformated t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
138 ["Blockquote" hm--html-add-blockquote t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 "----"
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
140 ["Basefont..." hm--html-add-basefont t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
141 ["Font..." hm--html-add-font t]
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
142 ["Center" hm--html-add-center t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
143 ["Style" hm--html-add-style t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
144 "----"
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
145 ["HTML Comment" hm--html-add-comment t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
146 ; ["Listing" hm--html-add-listing t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
147 ; ["Abstract" hm--html-add-abstract t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 ("Formatting Words"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 ["Bold" hm--html-add-bold t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 ["Italic" hm--html-add-italic t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
152 ["Typewriter" hm--html-add-fixed t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
153 ["Small" hm--html-add-small t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
154 ["Big" hm--html-add-big t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 ["Superscript" hm--html-add-superscript t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 ["Subscript" hm--html-add-subscript t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
157 "----"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
158 ["Underline" hm--html-add-underline t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
159 ["Strikethru" hm--html-add-strikethru t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 "----"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
161 ; ["Emphasized" hm--html-add-emphasized t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
162 ; ["Strong" hm--html-add-strong t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
163 ; "----"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
164 ("Phrase"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
165 ["Emphasized" hm--html-add-emphasized t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
166 ["Strong" hm--html-add-strong t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
167 "----"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 ["Definition" hm--html-add-definition t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
169 ["Keyboard" hm--html-add-keyboard t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
170 ["Variable" hm--html-add-variable t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 ["Code" hm--html-add-code t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
172 ["Sample" hm--html-add-sample t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
173 ["Citation" hm--html-add-citation t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 )
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
175 ;; All the following commands are still implemented, but most
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
176 ;; of them are not defined in HTM 3.2
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
177 ;; You've to load hm--html-not-standard.el to use them
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
178 ; ("Computing"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
179 ; ["Definition" hm--html-add-definition t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
180 ; ["Keyboard" hm--html-add-keyboard t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
181 ; ["Command" hm--html-add-command t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
182 ; ["Argument" hm--html-add-argument t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
183 ; ["Option" hm--html-add-option t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
184 ; ["Variable" hm--html-add-variable t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
185 ; ["Instance" hm--html-add-instance t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
186 ; ["Code" hm--html-add-code t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
187 ; ["Sample" hm--html-add-sample t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
188 ; )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
189 ; ("Literature"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
190 ; ["Quote" hm--html-add-quote t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
191 ; ["Acronym" hm--html-add-acronym t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
192 ; ["Abbrevation" hm--html-add-abbrevation t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
193 ; ["Citation" hm--html-add-citation t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
194 ; ["Literature" hm--html-add-literature t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
195 ; ["Publication" hm--html-add-publication t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
196 ; ["ISBN" hm--html-add-isbn t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
197 ; )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
198 ; ("Person"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
199 ; ["Person" hm--html-add-person t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
200 ; ["Author" hm--html-add-author t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
201 ; ["Editor" hm--html-add-editor t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
202 ; ["Credits" hm--html-add-credits t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
203 ; ["Copyright" hm--html-add-copyright t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
204 ; )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
205 ; "----"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
206 ; ["Footnote" hm--html-add-footnote t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
207 ; ["Margin" hm--html-add-margin t]
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
208 ; "----"
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
209 ; ["HTML Comment" hm--html-add-comment t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 ("Include"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 ["Top aligned image..." hm--html-add-image-top t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 ["Middle aligned image..." hm--html-add-image-middle t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 ["Bottom aligned image..." hm--html-add-image-bottom t]
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
215 ["Image as map? ..." hm--html-add-image t]
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
216 ["Drag & Drop"
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
217 idd-start-mouse-drag-and-drop
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
218 :active t
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
219 :keys "\\[idd-mouse-drag-and-drop]"]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
220 "----"
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
221 ["Image map..." hm--html-add-image-map t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
222 ["Map..." hm--html-add-map t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
223 ["Area..." hm--html-add-area t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
224 "----"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
225 ["Applet..." hm--html-add-applet t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
226 ["Parameter..." hm--html-add-applet-parameter t]
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
227 ["Script" hm--html-add-script t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 ; "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 ; ["File..." hm--html-add-server-side-include-file t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 ; ["Command..." hm--html-add-server-side-include-command t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 ; ["Command with isindex parameter..."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 ; hm--html-add-server-side-include-command-with-isindex-parameter
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 ; t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 ("Forms"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236 ["Form..." hm--html-add-form t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 ["Text field..." hm--html-form-add-input-text t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239 ["Password field..." hm--html-form-add-input-password t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 ["Isindex field..." hm--html-form-add-input-isindex t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 ["Integer field..." hm--html-form-add-input-integer t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 ["Float field..." hm--html-form-add-input-float t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 ["Date field..." hm--html-form-add-input-date t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244 ["Url field..." hm--html-form-add-input-url t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 ["Scribble field..." hm--html-form-add-input-scribble t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 ["Checkbox button..." hm--html-form-add-input-checkbox t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 ["Radio button..." hm--html-form-add-input-radio t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 ["Reset button..." hm--html-form-add-input-reset t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 ["Submit button..." hm--html-form-add-input-submit t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 ["Image button..." hm--html-form-add-input-image t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 ["Audio button..." hm--html-form-add-input-audio t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 ["Option Menu..." hm--html-form-add-select-option-menu t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 ["Scrolled List..." hm--html-form-add-select-scrolled-list t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 ["Option..." hm--html-form-add-select-option t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 ["Textarea..." hm--html-form-add-textarea t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263 (setq hm--html-menu-noregion-novice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 '("HTML No-region Novice Menu"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 ("Anchors"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
266 ["Relative link..." hm--html-add-relative-link t]
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
267 ["Drag & Drop"
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
268 idd-start-mouse-drag-and-drop
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
269 :active t
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
270 :keys "\\[idd-mouse-drag-and-drop]"]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
271 "----"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 ["Html link..." hm--html-add-html-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 ["File link..." hm--html-add-file-link t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 ("Frame"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 ["Full html frame..." hm--html-add-full-html-frame t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 ["Title and Header..." hm--html-add-title-and-header t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 ["Signature" hm--html-add-signature t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 ("Structure"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
282 ["Menu item" hm--html-add-list-or-menu-item t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
283 ["Menu" hm--html-add-menu t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 ["Paragraph Container" hm--html-add-paragraph t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 ("Formating Paragraphs"
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
288 ; ["Without links" hm--html-add-plaintext t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
289 ["Preformated" hm--html-add-preformated t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 ("Formatting Words"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 ["Bold" hm--html-add-bold t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 ["Italic" hm--html-add-italic t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 ["Underline" hm--html-add-underline t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
295 ["Typewriter" hm--html-add-fixed t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 )))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 (setq hm--html-menu-region-expert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299 '("HTML Region Expert Menu"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 ("Anchors"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
301 ["Relative link..." hm--html-add-relative-link-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
302 ["General link..." hm--html-add-normal-link-to-region t]
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
303 ["Drag & Drop"
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
304 idd-start-mouse-drag-and-drop
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
305 :active t
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
306 :keys "\\[idd-mouse-drag-and-drop]"]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
307 "----"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 ["Html link..." hm--html-add-html-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 ["Info link..." hm--html-add-info-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 ["Gopher link..." hm--html-add-gopher-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311 ["File link..." hm--html-add-file-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313 ["Ftp link..." hm--html-add-ftp-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 ["News link..." hm--html-add-news-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 ["Mailbox link..." hm--html-add-mail-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 ["Mailto link..." hm--html-add-mailto-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 ["WAIS link (direct)..." hm--html-add-direct-wais-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 ["WAIS link (gateway)..." hm--html-add-wais-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 ["Proggate link..." hm--html-add-proggate-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 ["Local Proggate link..."
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322 hm--html-add-local-proggate-link-to-region
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 "----"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
325 ["Link target..." hm--html-add-link-target-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327 ("Frame"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 ["Full html frame..." hm--html-add-full-html-frame-with-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 ["Head" hm--html-add-head-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 ["Body" hm--html-add-body-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 ["Title and Header..." hm--html-add-title-and-header-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334 ["Title" hm--html-add-title-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 ["Header..." hm--html-add-header-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 ["Address" hm--html-add-address-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 ("Structure"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
339 ["Menu item" hm--html-add-list-or-menu-item-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 ["Menu" hm--html-add-menu-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341 ["Unordered list" hm--html-add-list-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 ["Ordered list" hm--html-add-numberlist-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343 ["Directory list" hm--html-add-directorylist-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345 ["Description list" hm--html-add-description-list-to-region t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
346 ["Description title" hm--html-add-description-title-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
347 ["Description entry" hm--html-add-description-entry-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 ["Table..." hm--html-add-table-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 ["Table Title..." hm--html-add-table-title-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 ("Additional Commands"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 ["Table row frame..." hm--html-add-row-frame-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 ["Paragraph container" hm--html-add-paragraph-to-region t]
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
356 ["Document division" hm--html-add-document-division-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 ("Formatting Paragraphs"
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
359 ; ["Without links" hm--html-add-plaintext-to-region t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
360 ["Preformated" hm--html-add-preformated-to-region t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
361 ["Blockquote" hm--html-add-blockquote-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 "----"
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
363 ["Font..." hm--html-add-font-to-region t]
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
364 ["Center" hm--html-add-center-to-region t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
365 ["Style" hm--html-add-style-to-region t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
366 "----"
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
367 ["HTML Comment" hm--html-add-comment-to-region t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
368 ; ["Listing" hm--html-add-listing-to-region t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
369 ; ["Abstract" hm--html-add-abstract-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 ("Formatting Words"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 ["Bold" hm--html-add-bold-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 ["Italic" hm--html-add-italic-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 ["Typewriter" hm--html-add-fixed-to-region t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
375 ["Small" hm--html-add-small-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
376 ["Big" hm--html-add-big-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 ["Superscript" hm--html-add-superscript-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 ["Subscript" hm--html-add-subscript-to-region t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
379 "----"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
380 ["Underline" hm--html-add-underline-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
381 ["Strikethru" hm--html-add-strikethru-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 ;; ["Render" hm--html-add-render-to-region t]
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 ; ["Emphasized" hm--html-add-emphasized-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
385 ; ["Strong" hm--html-add-strong-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
386 ; "----"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
387 ("Phrase"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
388 ["Emphasized" hm--html-add-emphasized-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
389 ["Strong" hm--html-add-strong-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
390 "----"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 ["Definition" hm--html-add-definition-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 ["Keyboard" hm--html-add-keyboard-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 ["Variable" hm--html-add-variable-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 ["Code" hm--html-add-code-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 ["Sample" hm--html-add-sample-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 ["Citation" hm--html-add-citation-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397 )
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
398 ;; All the following commands are still implemented, but most
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
399 ;; of them are not defined in HTM 3.2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
400 ; ("Computing"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
401 ; ["Definition" hm--html-add-definition-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
402 ; ["Keyboard" hm--html-add-keyboard-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
403 ; ["Command" hm--html-add-command-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
404 ; ["Argument" hm--html-add-argument-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
405 ; ["Option" hm--html-add-option-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
406 ; ["Variable" hm--html-add-variable-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
407 ; ["Instance" hm--html-add-instance-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
408 ; ["Code" hm--html-add-code-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
409 ; ["Sample" hm--html-add-sample-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
410 ; )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
411 ; ("Literature"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
412 ; ["Quote" hm--html-add-quote-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
413 ; ["Acronym" hm--html-add-acronym-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
414 ; ["Abbrevation" hm--html-add-abbrevation-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
415 ; ["Citation" hm--html-add-citation-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
416 ; ["Literature" hm--html-add-literature-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
417 ; ["Publication" hm--html-add-publication-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
418 ; ["ISBN" hm--html-add-isbn-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
419 ; )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
420 ; ("Person"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
421 ; ["Person" hm--html-add-person-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
422 ; ["Author" hm--html-add-author-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
423 ; ["Editor" hm--html-add-editor-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
424 ; ["Credits" hm--html-add-credits-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
425 ; ["Copyright" hm--html-add-copyright-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
426 ; )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
427 ; "----"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
428 ; ["Footnote" hm--html-add-footnote-to-region t]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
429 ; ["Margin" hm--html-add-margin-to-region t]
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
430 ; "----"
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
431 ; ["HTML Comment" hm--html-add-comment-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 )
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
433 ("Include"
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
434 ["Map..." hm--html-add-map-to-region t]
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
435 "----"
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
436 ["Applet..." hm--html-add-applet-to-region t]
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
437 ["Script" hm--html-add-script-to-region t]
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents: 22
diff changeset
438 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 ("Forms"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 ["Form..." hm--html-add-form-to-region t])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 (setq hm--html-menu-region-novice
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 '("HTML Region Novice Menu"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446 ("Anchors"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
447 ["Relative link..." hm--html-add-relative-link-to-region t]
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
448 ["Drag & Drop"
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
449 idd-start-mouse-drag-and-drop
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
450 :active t
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
451 :keys "\\[idd-mouse-drag-and-drop]"]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
452 "----"
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453 ["Html link..." hm--html-add-html-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 ["File link..." hm--html-add-file-link-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 ("Frame"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457 ["Full html frame..." hm--html-add-full-html-frame-with-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 ["Title and Header..." hm--html-add-title-and-header-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 ("Structure"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
462 ["Menu item" hm--html-add-list-or-menu-item-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 ["Menu" hm--html-add-menu-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 ("Formatting Paragraphs"
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
466 ; ["Without links" hm--html-add-plaintext-to-region t]
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
467 ["Preformated" hm--html-add-preformated-to-region t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469 ("Formatting Words"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 ["Bold" hm--html-add-bold-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 ["Italic" hm--html-add-italic-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 ["Underline" hm--html-add-underline-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 ["Typewriter" hm--html-add-fixed-to-region t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 ))
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 (setq hm--html-pulldown-menu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 '("HTML Config Menu"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 ("Set popup menu"
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
482 ["Novice menu"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
483 hm--html-use-novice-menu
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
484 :active t
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
485 :style radio
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
486 :selected (not hm--html-expert)]
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
487 ["Expert menu"
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
488 hm--html-use-expert-menu
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
489 :active t
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
490 :style radio
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
491 :selected hm--html-expert]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493 ["Reload config files" hm--html-load-config-files t]
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
494 ["Templates (fixed dirs) ..."
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
495 hm--html-insert-template-from-fixed-dirs
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
496 t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 ["Templates ..." hm--html-insert-template t]
22
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
498 ["Drag & Drop"
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
499 idd-start-mouse-drag-and-drop
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
500 :active t
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
501 :keys "\\[idd-mouse-drag-and-drop]"]
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
502 ["Drag & Drop Help"
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
503 idd-start-help-mouse-drag-and-drop
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
504 :active t
8fc7fe29b841 Import from CVS: tag r19-15b94
cvs
parents: 2
diff changeset
505 :keys "\\[idd-help-mouse-drag-and-drop]"]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 ["Remove numeric names" hm--html-remove-numeric-names t]
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
508 ["Quotify hrefs" hm--html-quotify-hrefs t]
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 ["Submit bug report..." hm--html-submit-bug-report t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 ["WWW Package Docs" hm--html-view-www-package-docu t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 ("Preview Document"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 ["Netscape view buffer" (hm--html-send-buffer-to-netscape
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 (current-buffer)) t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 ["Xmosaic start" html-view-start-mosaic t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 ["Xmosaic view buffer" html-view-view-buffer t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 ["Xmosaic view file" html-view-view-file t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 ["Xmosaic goto url" html-view-goto-url t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 ["Xmosaic get display" html-view-get-display t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 "----"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 ["W3 start" w3 t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 ["W3 view buffer" w3-preview-this-buffer t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 ["W3 open remote file..." w3-fetch t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 ["W3 open local..." w3-open-local t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 ["W3 use hotlist..." w3-use-hotlist t]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 ))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 (if (adapt-xemacsp)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
533 (defun hm--install-html-menu (menu-name)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
534 (if (and current-menubar (not (assoc menu-name current-menubar)))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 (progn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 (set-buffer-menubar (copy-sequence current-menubar))
26
441bb1e64a06 Import from CVS: tag r19-15b96
cvs
parents: 24
diff changeset
537 (add-submenu nil (cons menu-name (cdr hm--html-pulldown-menu)) "HTML"))))
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
538
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
539 (defun hm--install-html-menu (menu-name)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
540 (if (eq major-mode 'hm--html-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
541 (easy-menu-define hm--html-menu-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
542 hm--html-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
543 "The hm--html-mode pulldown menu."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
544 (cons menu-name
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
545 (cdr hm--html-pulldown-menu)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
546 (easy-menu-define hm--html-minor-menu-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
547 hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
548 "The hm--html-minor-mode pulldown menu."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
549 (cons menu-name
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
550 (cdr hm--html-pulldown-menu))))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
551 ))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
553 (if (adapt-emacs19p)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
554 (progn
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
556 (setq hm--html-menu-noregion-expert-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
557 (make-lucid-menu-keymap (car hm--html-menu-noregion-expert)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
558 (cdr hm--html-menu-noregion-expert)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
559
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
560 (setq hm--html-menu-region-expert-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
561 (make-lucid-menu-keymap (car hm--html-menu-region-expert)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
562 (cdr hm--html-menu-region-expert)))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
564 (setq hm--html-menu-noregion-novice-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
565 (make-lucid-menu-keymap (car hm--html-menu-noregion-novice)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
566 (cdr hm--html-menu-noregion-novice)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
567
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
568 (setq hm--html-menu-region-novice-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
569 (make-lucid-menu-keymap (car hm--html-menu-region-novice)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
570 (cdr hm--html-menu-region-novice)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
571
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
572 ;; Speeds up the first popup of a menu
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
573 (if hm--html-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
574 (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
575 (x-popup-menu nil hm--html-menu-noregion-expert-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
576 (x-popup-menu nil hm--html-menu-region-expert-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
577 )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
578 (x-popup-menu nil hm--html-menu-noregion-novice-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
579 (x-popup-menu nil hm--html-menu-region-novice-map))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
582 )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
583
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
584 (defun hm--html-popup-menu (event)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
585 "Pops the HTML- menu up, if no region is active."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
586 (interactive "@e")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 (if hm--html-expert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 (popup-menu hm--html-menu-noregion-expert)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
589 (popup-menu hm--html-menu-noregion-novice)))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
592 (defun hm--html-popup-menu-region (event)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
593 "Pops the HTML- menu up, if a region is active."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
594 (interactive "@e")
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595 (if hm--html-expert
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 (popup-menu hm--html-menu-region-expert)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
597 (popup-menu hm--html-menu-region-novice)))
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
600
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
601 (if (adapt-xemacsp)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
602 (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
603
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
604 (defun hm--html-use-novice-menu ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
605 "Changes the HTML popup menu to the novice menu."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
606 (interactive)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
607 (setq hm--html-expert nil)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
608 )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
609
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
610
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
611 (defun hm--html-use-expert-menu ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
612 "Changes the HTML popup menu to the expert menu."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
613 (interactive)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
614 (setq hm--html-expert t)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
615 )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
616 )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
617
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
618 ;; For the Emacs 19
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
619 (defun hm--html-use-novice-menu ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
620 "Changes the HTML popup menu to the novice menu."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
621 (interactive)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
622 (setq hm--html-expert nil)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
623 (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
624 hm--html-emacs19-popup-region-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
625 hm--html-menu-region-novice-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
626 (define-key hm--html-minor-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
627 hm--html-emacs19-popup-region-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
628 hm--html-menu-region-novice-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
629 (if (not hm--html-region-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
630 (define-key hm--html-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
631 hm--html-emacs19-popup-noregion-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
632 hm--html-menu-noregion-novice-map))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
633 (if (not hm--html-minor-region-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
634 (define-key hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
635 hm--html-emacs19-popup-noregion-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
636 hm--html-menu-noregion-novice-map))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
637 )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
638
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
639 (defun hm--html-use-expert-menu ()
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
640 "Changes the HTML popup menu to the expert menu."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
641 (interactive)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
642 (setq hm--html-expert t)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
643 (define-key hm--html-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
644 hm--html-emacs19-popup-region-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
645 hm--html-menu-region-expert-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
646 (define-key hm--html-minor-region-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
647 hm--html-emacs19-popup-region-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
648 hm--html-menu-region-expert-map)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
649 (if (not hm--html-region-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
650 (define-key hm--html-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
651 hm--html-emacs19-popup-noregion-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
652 hm--html-menu-noregion-expert-map))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
653 (if (not hm--html-minor-region-mode)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
654 (define-key hm--html-minor-mode-map
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
655 hm--html-emacs19-popup-noregion-menu-button
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
656 hm--html-menu-noregion-expert-map))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
657 )
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
658 )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
659
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
660
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
661 (defvar hm--html-use-psgml t
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
662 "Set this to t, if functions from the psgml-mode should be used.")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
663
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
664 ;;; Popup the menus in the minor mode
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
665
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
666 (if (adapt-xemacsp)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
667 (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
668
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
669 (defadvice sgml-xemacs-get-popup-value (around
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
670 hm--html-popup-menu-advice
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
671 activate)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
672 "Calls `hm--html-sgml-xemacs-get-popup-value' instead of the original.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
673 `hm--html-sgml-xemacs-get-popup-value' is only called, if the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
674 `hm--html-minor-mode' is active.
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
675 `hm--html-sgml-xemacs-get-popup-value' adds the 'hm--html-mode' popup
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
676 menus to the psgml popup menu."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
677 (if hm--html-minor-mode
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
678 (setq ad-return-value
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
679 (hm--html-sgml-xemacs-get-popup-value (ad-get-arg 0)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
680 ad-do-it))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
681
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
682 (defun hm--html-sgml-xemacs-get-popup-value (menudesc)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
683 (let ((value nil)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
684 (event nil))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
685 ;; (popup-menu menudesc)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
686 (popup-menu (append hm--html-popup-menu ; for the hm--html-menu
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
687 (list "==" ;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
688 (car menudesc) ;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
689 "==") ;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
690 (cdr menudesc))) ;
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
691 (while (popup-menu-up-p)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
692 (setq event (next-command-event event))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
693 (cond ((menu-event-p event)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
694 (cond
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
695 ((eq (event-object event) 'abort)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
696 (signal 'quit nil))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
697 ((eq (event-object event) 'menu-no-selection-hook)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
698 nil)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
699 ((commandp (event-object event)) ; for the
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
700 (call-interactively (event-object event)) ; hm--html-menu
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
701 (signal 'quit nil)) ; items
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
702 (t
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
703 (eval (event-object event)))))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
704 ((button-release-event-p event) ; don't beep twice
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
705 nil)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
706 ((and (fboundp 'event-matches-key-specifier-p)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
707 (event-matches-key-specifier-p event (quit-char)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
708 (signal 'quit nil))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
709 (t
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
710 (beep)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
711 (message "please make a choice from the menu."))))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
712 value))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
713 )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
714 ; Fuer den Emacs 19 fehlt hier noch etwas !!!
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
715 )
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
716
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
717 (if (adapt-xemacsp)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
718 (progn
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
719
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
720 (defun hm--html-popup-minor-html-menu (event)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
721 "Pops the HTML- menu up, if no region is active."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
722 (interactive "@e")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
723 (if hm--html-use-psgml
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
724 (let ((hm--html-popup-menu (if hm--html-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
725 hm--html-menu-noregion-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
726 hm--html-menu-noregion-novice)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
727 (sgml-tags-menu event))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
728 (if hm--html-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
729 (popup-menu hm--html-menu-noregion-expert)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
730 (popup-menu hm--html-menu-noregion-novice))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
731 ))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
732
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
733
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
734 (defun hm--html-popup-minor-html-menu-region (event)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
735 "Pops the HTML- menu up, if a region is active."
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
736 (interactive "@e")
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
737 (if hm--html-use-psgml
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
738 (let ((hm--html-popup-menu (if hm--html-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
739 hm--html-menu-region-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
740 hm--html-menu-region-novice)))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
741 (sgml-tags-menu event))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
742 (if hm--html-expert
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
743 (popup-menu hm--html-menu-region-expert)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
744 (popup-menu hm--html-menu-region-novice))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
745 ))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
746
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
747 ))
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
748
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
749
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
750 (run-hooks 'hm--html-menu-load-hook)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
752
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
753 ;;; Announce the feature hm--html-menu
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
754 (provide 'hm--html-menu)