Comments (6)
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.
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.
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.
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.
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.
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)
- Customize problems
- Support for changing font size HOT 5
- Feature request (and sample solution): Evil-like indicator for buffer modified state HOT 1
- Separator not rendering correctly when window is inactive. HOT 2
- Org-clock segment possible? HOT 1
- Rendering errors HOT 1
- Gap after airline segment HOT 3
- Optionally don't render segments if they are empty? HOT 1
- The mode line cannot display color
- hud segment rendering errors in terminal Emacs HOT 1
- Add support for project.el ? HOT 5
- Looking to apply airline-theme colors using telephone-line
- How can suppress the smiley face (`: )`) on the right corner?
- I'm too dumb: passing arguments to segments? HOT 3
- Some `mode-line` elements do not respect `telephone-line-accent-active`
- Error during redisplay: (eval (telephone-line-separator-render telephone-line-gradient
- Support for colors when using meow
- Right margin incorrect for proportional-width fonts
- Telephone line is slow to update HOT 1
- `(fn FACE)"]) telephone-line-tan-hollow-right 'evil)) signaled (wrong-type-argument number-or-marker-p nil)`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telephone-line.