:pre-build (("./autogen.sh")
("./configure")
("make"))))
-(elpaca (corfu
- :pre-build (("mv"
- "extensions/corfu-indexed.el"
- "extensions/corfu-info.el"
- "extensions/corfu-popupinfo.el"
- ".")
- ("rm" "-r" "extensions")
- ("emacs" "--batch" "-l" "ox-texinfo" "README.org"
- "--eval" "(setq org-babel-confirm-evaluate-answer-no t)"
- "-f" "org-texinfo-export-to-texinfo"))))
(elpaca debbugs)
(elpaca (devdocs
:pre-build (("emacs" "--batch" "-l" "ox-texinfo" "README.org"
completions-max-height 16
completion-auto-wrap t
completion-at-point-functions nil
- corfu-cycle t
- corfu-indexed-start 1
shell-kill-buffer-on-exit t
compilation-scroll-output t
display-time-default-load-average nil
(add-to-list 'lin-mode-hooks 'gnus-group-mode-hook)
(add-to-list 'lin-mode-hooks 'gnus-server-mode-hook))
-;;; Configure `completion-in-region' UI with `corfu'
-
-(with-eval-after-load 'corfu
- (defun esy/margin-formatter (metadata)
- "Format METADATA for `corfu-margin-formatters'."
- (pcase (cdr (assoc 'category metadata))
- ('dabbrev (lambda (_) "… "))))
- (add-to-list 'corfu-margin-formatters #'esy/margin-formatter)
- (corfu-indexed-mode))
-
;;; Enable some global minor modes
(dolist (mode '(
transient-mark-mode
winner-mode
completions-auto-update-mode
- global-corfu-mode
mode-face-global-mode
which-function-mode
))