Shae Erisson on Nostr: I'm using #emacs as a systemd service. Every time I restarted the service I had to ...
I'm using #emacs as a systemd service. Every time I restarted the service I had to manually set my font and org-bullets hooks after opening the first client frame.
After months of poking at this once a week, I found that the SECOND MESSAGE has the answer I need. I just hadn't read that far down.
https://emacsredux.com/blog/2022/06/03/detecting-whether-emacs-is-running-in-terminal-or-gui-mode/(add-hook 'server-after-make-frame-hook
`(lambda () (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))))
Published at
2024-10-16 18:59:38Event JSON
{
"id": "7be2488b74b518544a5b054498351e673e7ce1c10945b5affd67f03b20435c3c",
"pubkey": "c602d7a92a14fb77f5eacb21173b64321ee8f2ec670e3321f46fb77a672eeba0",
"created_at": 1729105178,
"kind": 1,
"tags": [
[
"t",
"emacs"
],
[
"proxy",
"https://recurse.social/users/shapr/statuses/113318636949928787",
"activitypub"
]
],
"content": "I'm using #emacs as a systemd service. Every time I restarted the service I had to manually set my font and org-bullets hooks after opening the first client frame.\n\nAfter months of poking at this once a week, I found that the SECOND MESSAGE has the answer I need. I just hadn't read that far down.\n\nhttps://emacsredux.com/blog/2022/06/03/detecting-whether-emacs-is-running-in-terminal-or-gui-mode/\n\n(add-hook 'server-after-make-frame-hook\n\t `(lambda () (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))))",
"sig": "4fdd93b74db5762ddabc8061d8f528a9c8cae4e077e89fc931d5ff8ccb3e3b8c894194332d0ee91b0b6e31e1c8cdc75cd98aacd2fc0ffe2f72ed1c7145de3aa8"
}