dbordak / telephone-line

A new implementation of Powerline for Emacs
GNU General Public License v3.0
553 stars 50 forks source link

Problems with theme-changer #18

Closed shackra closed 9 years ago

shackra commented 9 years ago

I use theme-changer to make Emacs switch the theme depending of the hour of the day, when the theme is changed from a light theme to a darker theme, some colors remains in the separators of telephone-line (as can be seen in the screenshot)

captura_27-10-2015-171119

dbordak commented 9 years ago

This is a case of a missing feature rather than a bug -- I never handled theme switching.

Before I get started on this, are you using the default mode of theme-changer (deftheme), or color-theme?

dbordak commented 9 years ago

As a temporary solution, you should be able to run the following to reset the separators:

(unload-feature 'telephone-line-separators 1)
(require 'telephone-line-separators)
shackra commented 9 years ago

The default

El 27 de octubre de 2015 23:05:56 CST, Daniel Bordak notifications@github.com escribió:

This is a case of a missing feature rather than a bug -- I never handled theme switching.

Before I get started on this, are you using the default mode theme-changer (deftheme) or color-theme?


Reply to this email directly or view it on GitHub: https://github.com/dbordak/telephone-line/issues/18#issuecomment-151726434

Sent from my Android device with K-9 Mail. Please excuse my brevity.

dbordak commented 9 years ago

After looking into a bit, I see that this is a bit harder than I'd like due to the way memoize works. I was planning on getting rid of it anyway, so I should be able to fix this along with #17. I'll work on this over the weekend, I think.

dbordak commented 9 years ago

Alright, this should be fixed with the latest update.

shackra commented 9 years ago

Yup, it works!

Thank you very much!