I made a customization change to semantic-decoration-mode so you
can now use `customize-variable' on `semantic-decoration-styles'.
date: 2004/06/19 14:56:42; author: zappo; state: Exp; lines: +14 -6
(semantic-decorate-add-decorations): Support invalid entries in the
(semantic-decoration-styles): Enable customization.
It didn't turn out quite they way I hoped, but it seems to work ok.
I also updated senator to remove the old menu items for
"Show Tag Boundaries" and "Highlight Tags by attribute" modes. I
added "Tag Decoration" mode.
While I was there, I wanted to add a drop-down menu to
enable/disable aspects of decoration mode based on the above
customization. I didn't actually get that far, but I modified
`senator-register-mode-menu-entry' so that I could pass in some
customization arguments. I then added a few of these to the other
modes so that you can customize aspects of those modes directly.
The new function `senator-register-custom-menu' is incomplete and
did not implement what I really wanted to get to, but it is a good
start. I'll eventually add the support for the dynamic drop down list
for the decoration mode.
I have to drop this for a couple days, but thought others might like to
try out the new stuff anyway.
date: 2004/06/19 15:00:27; author: zappo; state: Exp; lines: +122 -30
(senator-register-custom-menu): New function.
(senator-register-mode-menu-entry): Add `custom' argument.
Add customization menu entries to the dynamic list.
(senator-build-mode-sub-menu): Support Customization menu entries.
("Senator"): Add customize group entry.
("Highlight changes", "Highlight Unmatched Syntax"): Add customize face entry
("Idle Scheduler"): Add entry to customize two variables.
("Tag Decoration"): New entry.
("Show Tag Boundaries", "Highlight Tags by attribute"): Deleted.
Lastly, I deleted semantic-show-tag-boundaries-mode and
semantic-highlight-by-attribute-mode from semantic-util-modes.
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org