(add-hook 'after-init-hook #'elpaca-process-queues)
(elpaca `(,@elpaca-order))
-(with-eval-after-load 'elpaca-info
- (set-face-attribute 'elpaca-info-package nil
- :height nil
- :inherit 'info-title-1)
- (set-face-attribute 'elpaca-info-section nil
- :weight nil
- :inherit 'bold))
;;; Install packages
:repo "https://git.sr.ht/~eshel/openai.el"))
(elpaca package-lint)
(elpaca paredit)
-(elpaca (pdf-tools
- :pre-build (("emacs" "--batch" "-l" "ox-texinfo" "README.org"
- "--eval" "(setq org-babel-confirm-evaluate-answer-no t)"
- "--eval" "(setq org-export-with-broken-links t)"
- "-f" "org-texinfo-export-to-texinfo")
- ("mv" "README.texi" "pdf-tools.texi"))))
(elpaca rainbow-delimiters)
(elpaca rainbow-mode)
(elpaca rg)
:repo "https://git.sr.ht/~pkal/do-at-point"
:pre-build (("pandoc" "-o" "do-at-point.texi" "README.md"))))
(elpaca rfc-mode)
-(elpaca (auctex
- :files ("*.el" "*.info*")
- :pre-build (("./autogen.sh")
- ("./configure" "--with-lispdir=." "--with-texmf-dir=/tmp")
- ("make")
- ("cp" "doc/auctex.info" "doc/auctex.info-1" "doc/auctex.info-2" "doc/preview-latex.info" "."))))
(elpaca-wait)
display-time-default-load-average nil
;; allow disabling confirming before compilation via local variables
safe-local-variable-values '((compilation-read-command . nil))
- ;; TeX-view-program-selection '((output-pdf "PDF Tools"))
- ;; TeX-source-correlate-start-server t
xref-show-definitions-function #'consult-xref
xref-show-xrefs-function #'consult-xref
xref-search-program 'ripgrep
:foreground "red")
(set-face-attribute 'cursor nil
:background "salmon")
+(set-face-attribute 'font-lock-doc-face nil
+ :slant 'italic)
;;; Add custom code directory to `load-path'
(add-to-list 'load-path (expand-file-name "lisp/" user-emacs-directory))
(autoload 'some-button "some-button" nil t)
-(autoload 'pdf-view-mode "pdf-view" nil t)
(add-to-list 'load-path "~/checkouts/esy-publish/")
(autoload 'esy-publish-setup "esy-publish" nil t)
display-fill-column-indicator-mode
display-line-numbers-mode
flymake-mode
- flyspell-prog-mode
- rainbow-delimiters-mode))
+ ;; flyspell-prog-mode
+ ))
(add-hook 'prog-mode-hook mode))
-(add-hook 'lisp-data-mode-hook #'paredit-mode)
+
+(dolist (mode '(paredit-mode
+ rainbow-delimiters-mode))
+ (add-hook 'lisp-data-mode-hook mode))
+
;;; Extend other standard hooks
;;; Configure PDF handling
-(with-eval-after-load 'pdf-view
- (require 'pdf-tools))
-(with-eval-after-load 'pdf-tools
- (pdf-tools-install :no-query)
- ;; (add-hook 'pdf-view-mode-hook #'pdf-view-midnight-minor-mode)
- )
(add-to-list 'revert-without-query "\\.pdf\\'")
;;; Configure terminal emulation via `vterm'
("\\.rb\\'" . ruby-ts-mode)
("\\.rs\\'" . rust-ts-mode)
("\\.go\\'" . go-ts-mode)
- ("\\.pdf\\'" . pdf-view-mode)
("\\.plt?\\'" . prolog-mode)))
(push cell auto-mode-alist))
(apply fun args)
(indent-according-to-mode)))
-(with-eval-after-load 'tex
- (setq TeX-view-program-selection '((output-pdf "PDF Tools"))))
-
;;; Track currency exchange rates
(defvar esy/eur-to-ils-rates nil)