Coder Social home page Coder Social logo

Comments (6)

dbordak avatar dbordak commented on June 29, 2024

Sorry, I'm a bit confused as to what you're asking. When you say theme, do you mean a colorscheme or a segment configuration?

If you're asking how you'd add it to a colorscheme, I'd just add the telephone-line variables like anything else to the theme. You could alternatively have them as a separate file, since emacs supports loading multiple themes.

Powerline and SML calls their premade configurations themes, which is where my source of confusion lies, I think. Powerline's (powerline-vim-theme) is analogous to my (telephone-line-evil-config). If you want to make new configs like this, you can look at https://github.com/dbordak/telephone-line/blob/master/telephone-line-config.el where the existing one is defined.

from telephone-line.

ogdenwebb avatar ogdenwebb commented on June 29, 2024

Sorry about that, I might explain my point a bit clearly. Now I doubt about my idea, but I try to figure out my reflections.

When you say theme, do you mean a colorscheme or a segment configuration?

Exactly I mean how to find the best way to manage a bunch of code related to telephone-line segments outside of user Emacs directory. Now I understand that all I need to do is just split defined custom segment from my config and provide them as library. Damn, it's kind of hard for me today. :(

Well, then I have the final question:
What you are thinking about something like telephone-line-load-theme/config(obviously inspired by Emacs default load-theme, witch called through M-x)? I mean change telephone line setup on the fly.

from telephone-line.

dbordak avatar dbordak commented on June 29, 2024

I'm not sure how doable that would be. Changing themes on the fly will only apply to new buffers, I believe -- same as that message buffer issue a couple days ago.

This is because of how much is precompiled. I could probably reduce that, I dunno if it'd affect performance?

from telephone-line.

ogdenwebb avatar ogdenwebb commented on June 29, 2024

I'm not sure about performance changes due to lack experience of Elisp development. Personally, I appreciate performance more than extra features such the above. So I wouldn't be disappointed if you reject my suggestion because of productivity costs.

Let me know if you don't want to include configuration management into the package, then I will just write own wrapper around telephone-line.

from telephone-line.

dbordak avatar dbordak commented on June 29, 2024

If you think you can make that work, by all means, give it a shot. It sounds like you've put a lot of thought into it, whereas I hadn't even considered this.

from telephone-line.

ogdenwebb avatar ogdenwebb commented on June 29, 2024

Thank you for the answers.

Well, if I write something useful I'll notice you with other issue/PR.

from telephone-line.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.