#emacs frens. I have an annoyance. How do I get emacsclient to load my init.el. Everytime I login and logout again, I have to load it each time. K. Thx. Bai
Conversation
Notices
-
Embed this notice
Knut 🏳️🌈 🇳🇴🧸 (praetor@mstdn.social)'s status on Friday, 14-Feb-2025 00:27:39 JST Knut 🏳️🌈 🇳🇴🧸
-
Embed this notice
Alfred M. Szmidt (amszmidt@mastodon.social)'s status on Friday, 14-Feb-2025 00:27:38 JST Alfred M. Szmidt
@praetor more info is needed -- emacsclient shouldn't be loading the init file for one, since all it does is connecting to a daemon.
Could it be that you are starting the daemon each time you are running emacsclient?
-
Embed this notice
Alfred M. Szmidt (amszmidt@mastodon.social)'s status on Friday, 14-Feb-2025 00:28:23 JST Alfred M. Szmidt
@praetor And login and logout, could it be that you're killing between those two?
-
Embed this notice
lhp (lhp@mastodon.social)'s status on Friday, 14-Feb-2025 00:48:20 JST lhp
@praetor @amszmidt you should never eval your init manually, it is loaded automatically on startup.
I suspect you set some settings in your init which don't affect the frame spawned by emacsclient. And when you then re-eval your init manually, those settings suddenly work. Is that right?
-
Embed this notice
Alfred M. Szmidt (amszmidt@mastodon.social)'s status on Friday, 14-Feb-2025 00:48:20 JST Alfred M. Szmidt
@lhp @praetor Yeah, sounds like current frame specific stuff ... A copy of your .emacs would be useful.
-
Embed this notice
Knut 🏳️🌈 🇳🇴🧸 (praetor@mstdn.social)'s status on Friday, 14-Feb-2025 00:48:21 JST Knut 🏳️🌈 🇳🇴🧸
@amszmidt No. Like, I know emacsclient doesn't. But if I log out and log in, the daemon is restarted and I have to eval-buffer my init.el file all over again. It's annoying
-
Embed this notice
Alfred M. Szmidt (amszmidt@mastodon.social)'s status on Friday, 14-Feb-2025 01:38:58 JST Alfred M. Szmidt
@praetor @lhp Too Much info. Any possibility of you bisecting things? Comment out one of the files see if behavior exists.. rinse repeat!
-
Embed this notice
Knut 🏳️🌈 🇳🇴🧸 (praetor@mstdn.social)'s status on Friday, 14-Feb-2025 01:38:59 JST Knut 🏳️🌈 🇳🇴🧸
@amszmidt @lhp here is what i have so far. Any suggestions is appreciated too! https://github.com/kasbjorn/nixos-config/tree/main/users/kasbjorn/dotfiles/emacs.d
-
Embed this notice