ocodo / ocodo-svg-modelines

a collection of beautiful, modern SVG modelines for Emacs
GNU General Public License v3.0
94 stars 3 forks source link

Horizontal line across the modeline #8

Open cap10morgan opened 9 years ago

cap10morgan commented 9 years ago

I'm using railwaycat's homebrew tap of the Emacs Mac port on OS X 10.10.4. Emacs version is 24.5.

When using any of these modelines, I get a light-colored horizontal line across the modeline. See attached screenshot for an example.

screen shot 2015-07-04 at 11 47 39 am
jasonm23 commented 9 years ago

Hi Wes, @cap10morgan

I'm also using same build emacs mac port build on 10.10.4, so we can rule that out.

I'm not using Spacemacs though, so that may be the problem, please try running from a vanilla .emacs, so we can also rule that out.

cap10morgan commented 9 years ago

I'm not using Spacemacs.

cap10morgan commented 9 years ago

But I will try running with an empty .emacs and see if I can narrow down what other package / config is causing the problem.

cap10morgan commented 9 years ago

Looks like the solarized-light theme is to blame (from the solarized-theme package). Any ideas for what might be going on there or things to try to fix it?

jasonm23 commented 9 years ago

Ahh ok! Well, I should of thought of this before, It probably might be the :box attribute of the modeline face.

screen shot 2015-07-05 at 10 16 14 am

Although it should render around the svg modeline, as shown above.

Turn it off with:

(set-face-attribute 'mode-line nil :box nil)
(set-face-attribute 'mode-line-inactive nil :box nil)
jasonm23 commented 9 years ago

It is possible that the real mode-line is rendering small like that, although I've only seen that happen when it's failed to calculate it's format correctly. This will happen with powerline and other modeline hacks occasionally.

jasonm23 commented 9 years ago

Here's an example image of the real modeline rendering small...

However, in this example at least, it's because the mode-line face itself has a small font-size. This would be independent of the ocodo-svg-modeline styles.

DarkArc commented 5 years ago

The solarized author apparently did this intentionally https://github.com/bbatsov/solarized-emacs#underline-position-setting-for-x