comparison lisp/ChangeLog @ 2545:9caf26dd924f

[xemacs-hg @ 2005-02-03 05:03:36 by ben] behavior ws #2: menu-related changes menubar.c: New fun to compare menu itext as if the two were normalized. menubar.c: Rename; there are no external callers of this function. Remove unneeded BUFFER argument. Don't downcase. (This will be done in compare-menu-text.) Document that return value may be same string. easymenu.el, map-ynp.el: Use normalize-menu-text not normalize-menu-item-name. menubar-items.el, menubar.el: Move to menubar.el and rewrite for cleanliness. menubar-items.el: Use menu-split-long-menu-and-sort. menubar-items.el, menubar.el: Move to menubar.el. menubar.el: New funs. menubar.el: Split up find-menu-item w/find-menu-item-1, since PARENT is not an external item. Rewrite to use compare-menu-text. menubar.el: Don't normalize items as find-menu-item does not need it. menubar-items.el: Delete old Behavior menu defn, replaced by behavior-menu-filter. Planning to [[Delete many menus from Tools menu -- they have been integrated as part of the behavior system.]] Currently the new Tools menu (very short, just a call to the behavior-menu-filter) is commented out, and the old Toold menu defn remains. Once the new packages are in place (c. 1 or 2 weeks), I'll make the switchover. Use menu-split-long-menu-and-sort.
author ben
date Thu, 03 Feb 2005 05:03:45 +0000
parents b4a8cd0dd8df
children 5d1743698fb3
comparison
equal deleted inserted replaced
2544:b4a8cd0dd8df 2545:9caf26dd924f
1 2005-02-02 Ben Wing <ben@xemacs.org>
2
3 * easymenu.el (easy-menu-add):
4 * easymenu.el (easy-menu-remove):
5 * map-ynp.el (map-y-or-n-p):
6 Use normalize-menu-text not normalize-menu-item-name.
7
8 * menubar-items.el (submenu-generate-accelerator-spec): Removed.
9 * menubar.el (submenu-generate-accelerator-spec): New.
10 Move to menubar.el and rewrite for cleanliness.
11
12 * menubar-items.el (coding-system-menu-filter):
13 Use menu-split-long-menu-and-sort.
14
15 * menubar-items.el (menu-item-strip-accelerator-spec): Removed.
16 * menubar-items.el (menu-item-generate-accelerator-spec): Removed.
17 * menubar-items.el (menu-max-items): Removed.
18 * menubar-items.el (menu-submenu-max-items): Removed.
19 * menubar-items.el (menu-submenu-name-format): Removed.
20 * menubar-items.el (menu-split-long-menu): Removed.
21 * menubar-items.el (menu-sort-menu): Removed.
22 * menubar.el (menu-item-strip-accelerator-spec): New.
23 * menubar.el (menu-item-generate-accelerator-spec): New.
24 * menubar.el (menu-max-items): New.
25 * menubar.el (menu-submenu-max-items): New.
26 * menubar.el (menu-submenu-name-format): New.
27 * menubar.el (menu-split-long-menu): New.
28 * menubar.el (menu-sort-menu): New.
29 Move to menubar.el.
30
31 * menubar.el (menu-item-text): New.
32 * menubar.el (menu-split-long-menu-and-sort): New.
33 New funs.
34
35 * menubar.el (find-menu-item):
36 * menubar.el (find-menu-item-1): New.
37 Split up find-menu-item w/find-menu-item-1, since PARENT is not
38 an external item.
39 Rewrite to use compare-menu-text.
40
41 * menubar.el (add-menu-item-1):
42 Don't normalize items as find-menu-item does not need it.
43
44 * menubar-items.el (default-menubar):
45 Delete old Behavior menu defn, replaced by behavior-menu-filter.
46 Planning to [[Delete many menus from Tools menu -- they have been
47 integrated as part of the behavior system.]] Currently the new
48 Tools menu (very short, just a call to the behavior-menu-filter)
49 is commented out, and the old Toold menu defn remains. Once the
50 new packages are in place (c. 1 or 2 weeks), I'll make the
51 switchover.
52
53 Use menu-split-long-menu-and-sort.
54
1 2005-02-02 Ben Wing <ben@xemacs.org> 55 2005-02-02 Ben Wing <ben@xemacs.org>
2 56
3 * cus-dep.el (Custom-make-dependencies-1): 57 * cus-dep.el (Custom-make-dependencies-1):
4 If a directory has no custom dependencies, write a blank 58 If a directory has no custom dependencies, write a blank
5 custom-load file rather than deleting the file, so that 59 custom-load file rather than deleting the file, so that
180 * behavior.el (read-behavior): 234 * behavior.el (read-behavior):
181 * behavior.el (compute-behavior-group-children): New. 235 * behavior.el (compute-behavior-group-children): New.
182 * behavior.el (behavior-menu-filter-1): New. 236 * behavior.el (behavior-menu-filter-1): New.
183 * behavior.el (behavior-menu-filter): New. 237 * behavior.el (behavior-menu-filter): New.
184 Major update. Add documentation of how it works. 238 Major update. Add documentation of how it works.
185
186 * easymenu.el (easy-menu-add):
187 * easymenu.el (easy-menu-remove):
188 * map-ynp.el (map-y-or-n-p):
189 Use normalize-menu-text not normalize-menu-item-name.
190
191 * menubar-items.el (submenu-generate-accelerator-spec): Removed.
192 * menubar.el (submenu-generate-accelerator-spec): New.
193 Move to menubar.el and rewrite for cleanliness.
194
195 * menubar-items.el (coding-system-menu-filter):
196 Use menu-split-long-menu-and-sort.
197
198 * menubar-items.el (menu-item-strip-accelerator-spec): Removed.
199 * menubar-items.el (menu-item-generate-accelerator-spec): Removed.
200 * menubar-items.el (menu-max-items): Removed.
201 * menubar-items.el (menu-submenu-max-items): Removed.
202 * menubar-items.el (menu-submenu-name-format): Removed.
203 * menubar-items.el (menu-split-long-menu): Removed.
204 * menubar-items.el (menu-sort-menu): Removed.
205 * menubar.el (menu-item-strip-accelerator-spec): New.
206 * menubar.el (menu-item-generate-accelerator-spec): New.
207 * menubar.el (menu-max-items): New.
208 * menubar.el (menu-submenu-max-items): New.
209 * menubar.el (menu-submenu-name-format): New.
210 * menubar.el (menu-split-long-menu): New.
211 * menubar.el (menu-sort-menu): New.
212 Move to menubar.el.
213
214 * menubar.el (menu-item-text): New.
215 * menubar.el (menu-split-long-menu-and-sort): New.
216 New funs.
217
218 * menubar-items.el (default-menubar):
219 Delete many menus from Tools menu -- they have been integrated
220 as part of the behavior system.
221
222 Delete old Behavior menu defn. Use behavior-menu-filter.
223
224 Use menu-split-long-menu-and-sort.
225
226 * menubar.el (find-menu-item):
227 * menubar.el (find-menu-item-1): New.
228 Split up find-menu-item w/find-menu-item-1, since PARENT is not
229 an external item.
230 Rewrite to use compare-menu-text.
231
232 * menubar.el (add-menu-item-1):
233 Don't normalize items as find-menu-item does not need it.
234 239
235 * mwheel.el: 240 * mwheel.el:
236 * mwheel.el ('mwheel): New. 241 * mwheel.el ('mwheel): New.
237 Add define-behavior for mwheel. 242 Add define-behavior for mwheel.
238 243