Emacs stuff
Some checks failed
EVAL x86_64-linux.picard
BUILD x86_64-linux.picard
UPLOAD x86_64-linux.picard
DOWNLOAD x86_64-linux.picard
CACHIX x86_64-linux.picard
ATTIC x86_64-linux.picard
/ test (push) Successful in 1m22s

This commit is contained in:
Andrea Ciceri 2024-12-06 11:44:46 +01:00
parent e8e1f8e7ce
commit 2b2326a65c
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -881,6 +881,8 @@ This is meant to be an helper to be called from the window manager."
:custom
(gptel-api-key (lambda () (require 'f) (f-read-text (getenv "OPENAI_API_KEY_PATH"))))
(gptel-model 'gpt-4o)
(gptel-default-mode 'org-mode)
(gptel-org-branching-context 't)
:config
(require 'gptel-curl)
@ -919,6 +921,9 @@ This is meant to be an helper to be called from the window manager."
) ;; destroy frame on exit
)
(use-package mixed-pitch
:hook (text-mode . mixed-pitch-mode))
(use-package pass
:config
(require 'password-store-otp) ;; FIXME use `use-pacakge' idiomatic way
@ -967,5 +972,26 @@ This is meant to be an helper to be called from the window manager."
(:name "GitHub" :query "tag:github" :key "g")
(:name "Trash" :query "tag:trash" :key "t"))))
;;; Experiments, remove from here
(defun ccr/test ()
"test"
(interactive)
(with-selected-frame
(make-frame '((name . "emacs-run-launcher")
(minibuffer . only)
(fullscreen . 0) ; no fullscreen
(undecorated . t) ; remove title bar
;;(auto-raise . t) ; focus on this frame
;;(tool-bar-lines . 0)
;;(menu-bar-lines . 0)
(internal-border-width . 10)
(width . 80)
(height . 11)))
(unwind-protect
(completing-read "ciao " '("foo" "bar") nil t "")
(delete-frame))))
(provide 'init)
;;; init.el ends here