真实用例 1:( completion buffer有没有可能像lsp-bridge、company那种方式显示? - #4,来自 twlz0ne )
- 终端运行:
emacsq.sh -P company -M global-company-mode -nw -f run-python
- 在刚刚启动的 Emacs 中输入:
import os\nos.
真实用例 2:( [已解决] Emacs 27, rust-mode, 如何让单引号自动的 autopair, 但是,单引号前面如果是 & 则例外。 - #20,来自 twlz0ne )
$ emacsq.sh -P rust-mode,smartparens -M electric-pair-mode,smartparens-global-strict-mode --eval \ "(progn (rust-mode) (require 'smartparens-rust) ;; ++ (insert \"let str: &\") (execute-kbd-macro (string-to-vector \"'\")) ;; 触发补全 (message (buffer-string)))" -nw --batch let str: &'