jdtsmith / outli

Simple comment-based outline folding for Emacs
GNU General Public License v3.0
104 stars 6 forks source link

Can't blend an "unspecified" foreground #2

Closed DamienCassou closed 2 years ago

DamienCassou commented 2 years ago

When I start Emacs in daemon mode (with --fg-daemon), Emacs crashes with this stack trace:

(color-rgb-to-hex)
(outli-fontify-background-blend unspecified)
(outli-fontify-headlines t nil)
(outli-mode)

At this point, in outli-fontify-headlines, ol-face is org-level-8 and fg is unspecified.

jdtsmith commented 2 years ago

Strange that it has no foreground; perhaps it's a load order issue. I just pushed a commit which puts up a stronger defense against unspecified fg/bg colors. Let me know if that fixed it.

DamienCassou commented 2 years ago

I don't see any commit or any branch. Can you please double-check?

jdtsmith commented 2 years ago

Sorry unresolved conflict; should be there now.

DamienCassou commented 2 years ago

The fix works for me, thank you very much. Feel free to close the issue.