Emacs experiments

This commit is contained in:
Andrea Ciceri 2025-01-08 15:24:08 +01:00
parent 267185f176
commit cd543e02ce
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

View file

@ -509,6 +509,7 @@
(use-package lean4-mode
:mode "\\.lean\\'")
(use-package python-ts-mode
:hook ((python-ts-mode . (lambda ()
(require 'eglot)
@ -563,6 +564,7 @@
(use-package kdl-ts-mode
:mode "\\.kdl\\'")
(use-package gptscript-mode
:mode "\\.gpt\\'")
@ -1010,11 +1012,12 @@ This is meant to be an helper to be called from the window manager."
;;; Experiments, remove from here
(defun ccr/test ()
"test"
(interactive)
(with-selected-frame
(make-frame '((name . "emacs-run-launcher")
(make-frame '((name . "floating")
(minibuffer . only)
(fullscreen . 0) ; no fullscreen
(undecorated . t) ; remove title bar
@ -1022,12 +1025,13 @@ This is meant to be an helper to be called from the window manager."
;;(tool-bar-lines . 0)
;;(menu-bar-lines . 0)
(internal-border-width . 10)
(width . 80)
(height . 11)))
(width . 50)
(height . 10)))
(unwind-protect
(completing-read "ciao " '("foo" "bar") nil t "")
(completing-read "ciao " '("foo" "bar" "pippo") nil t "")
(delete-frame))))
(provide 'init)
;;; init.el ends here