Open 4DA opened 9 years ago
Thanks for the information, and my apologies for my delayed response.
Can you clarify what problem I should be seeing in the screenshot? Is it the extra orange/yellow bar appearing in the bottom-let window? I'm not sure what the specific problem is.
I'll give semantic-stickyfunc-mode a try, but any information you can give me would be helpful.
In the interim, the only thing the visual feedback does is transiently tweak the active mode line face. So I'm wondering if that extra orange line is semantic using the mode-line face elsewhere. Understanding the nature of the problem you are seeing will help me narrow this down.
For a quick fix in the meantime, in a mode where semantick-stickyfunc-mode is active (e.g., in a hook) you can turn off visual feedback with
(setq win-switch-provide-visual-feedback nil)
which can also be done by customize. If you like the echo-area message as feedback but don't want the transient mode line changes, you can do
(setq win-switch-on-feedback-function 'win-switch-on-alert)
(setq win-switch-off-feedback-function 'win-switch-off-alert)
which I think will be nicer than no feedback at all. (These can also be customized.) You might want something more contingent, however. I'll test and post a more complete version of this later on today.
Is it the extra orange/yellow bar appearing in the bottom-let window? On two left windows semantic top bar is colored with color for selected active window (it's orange in my config) whether it shouldn't.
Moreover i think that semantic top bar shouldn't be touched at all, bottom modeline coloring should be enough.
Thanks.
I've been unable to reproduce the problem. See the screenshot below,
which shows semantic-stickyfunc-mode
active while switching windows.
Do you still get the problem if you start emacs with the -q
, load win-switch,
and start global-semantic-stickyfunc-mode
?
Semantic's stickyfunc-mode uses the window's header-line to display its tags.
By default, the header-line uses the header-line
face which is not touched
by win-switch at all. If, however, the header-line-format
includes a string
with a face property mode-line
, that would be inherited and would show
the similar changes. That doesn't seem to likely, though. What is the value
of your header-line-format
in the effected buffers?
Thanks, Chris
Hi. Winswitch visual feedback messes with semantic's semantic-stickyfunc-mode
Here is the screenshot: