Comments (6)
Yes!!! That did the trick! I was using the function set-face-attribute, instead of custom-set-faces.
Thank you very much!!
from crafted-emacs.
@fnt400 Try setting those in the rational-emacs/early-config.el
file. See if that helps.
In general, setting fonts and frame based configuration in early-init (or early-config.el in the case of rational-emacs), is a better idea because they get set before the frame exists so the springy resizing thing does not happen when the frame becomes visible. In daemon mode, that should help with getting the emacs client frame looking the way you want.
from crafted-emacs.
@fnt400 Try setting those in the
rational-emacs/early-config.el
file. See if that helps.
thankyou for the advice. I tried but it didn't work. The font do not change when starting as a daemon.
The theme setting, instead, gives an error because it can't find the theme itself (probably it can be fixed adding a load-path but I didn't try)
from crafted-emacs.
@fnt400 The reason you are seeing the blue color has to do with the default configuration in the rational-emacs early-init.el file, specifically these 2 lines:
https://github.com/SystemCrafters/rational-emacs/blob/master/early-init.el#L29-L30
which set the default foreground and background colors.
In your rational-config-path/early-config.el
you need to add this configuration to get rid of it:
(setf default-frame-alist (assq-delete-all 'background-color default-frame-alist))
(setf default-frame-alist (assq-delete-all 'foreground-color default-frame-alist))
Then your code to load a theme like this (load-theme 'modus-vivendi t)
(probably in your rational-config-path/config.el
file) should work.
from crafted-emacs.
Great! Now the theme starts correctly! Unfortunately the font setting doesn't. I still have to set it manually when I create the first frame (but that's not a big problem).
from crafted-emacs.
This is what my early-config.el
file has. the font gets set correctly as does the theme. Does this help you?
https://gist.github.com/jeffbowman/7d0e20df9321aaa28468c2a32503d322
from crafted-emacs.
Related Issues (20)
- [craftedv2beta] Use `customize-save-variable` vs. `customize-set-variable`? HOT 11
- [craftedv2beta] Question regarding the skeleton for new modules HOT 5
- Discussion: When do our own `defcustom` variables make sense? When are they best avoided? HOT 6
- [craftedv2beta] Evil bindings in crafted-speedbar are duplicate and inconsistent with evil-collection HOT 3
- [craftedv2beta] Standardized way for naming functions HOT 5
- [craftedv2beta] Unused function `crafted-completion/minibuffer-backward-kill` HOT 2
- texinfo tags in doc headings don't seem to be needed HOT 3
- [v2] Emacs 29+ check for executable prevents Treesitter setup HOT 12
- [v2] No easy way to opt out of tree sitter parsers HOT 5
- [v2] Corfu + Eglot have unsuitable performance for medium/large projects HOT 4
- [v2] defgroup crafted-startup not functioning properly
- [v2]package-selected-packages "Combobulate" problem. HOT 3
- Automating regeneration of Info file HOT 13
- Suggestion: Make examples loadable HOT 3
- Symbol's function definition is void: treesit-auto-add-to-auto-mode-alist HOT 3
- `crafted-init-config` automatically finding directory possibly confounded by submodule use HOT 9
- Eglot doesn't automatically load when a relevant mode is visited until explicitly required HOT 10
- treesit-auto-opt-out-list seems to have disappeared
- User is trapped in INSERT state when using `evil` and `completion` modules (pkgs+config) because corfu cannot handle rejection. HOT 7
- Commit count in crafted-updates-config.el HOT 1
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 crafted-emacs.