From b4a124d2926351743ed554391b2acd2329174c62 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sat, 28 Jun 2025 15:13:25 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(macos)=20Additional=20adjustmen?= =?UTF-8?q?ts=20for=20emacs-plus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 8c2dc25..a592586 100644 --- a/config.org +++ b/config.org @@ -41,7 +41,17 @@ For using the Macbook keyboard effectively with Emacs I made some adjustments ba (setq mac-option-modifier 'alt) (setq mac-right-option-modifier 'none) (setq mac-command-modifier 'meta) - (global-set-key [kp-delete] 'delete-char)) + (global-set-key [kp-delete] 'delete-char) + (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t)) + (setq ns-pop-up-frames nil)) +#+end_src + +Additionally, getting the correct path in the App executable is apparently not that simply. Thankfully, [[https://www.sanityinc.com/][Steve Purcell]] wrote the [[https://github.com/purcell/exec-path-from-shell][exec-path-from-shell]] helper. + +#+begin_src emacs-lisp +(use-package exec-path-from-shell + :when on-macos + :init (exec-path-from-shell-initialize)) #+end_src ** System Detection @@ -54,7 +64,6 @@ My work machine is called “mccarthy” and there is some configuration which I (string-equal (system-name) "mccarthy")) #+end_src - ** Personal Information #+begin_src emacs-lisp