想请问一下echo area会有字体不一样是为什么呢?
图为citar交互,“TAB”字体不一样。想退出时确认Y/N也有同样问题。 系统是Windows11,custom.el已经启用状态栏字体设置,更换其他字体也存在同样的问题。
想请问一下echo area会有字体不一样是为什么呢?
图为citar交互,“TAB”字体不一样。想退出时确认Y/N也有同样问题。 系统是Windows11,custom.el已经启用状态栏字体设置,更换其他字体也存在同样的问题。
Emacs 29 的新功能,设置下 help-key-binding
face
thanks!
应该是镜像源有问题,换一个试试
应该不是这个问题,gnu-elpa-keyring-update
已经安装了,我也遇到某个镜像key不对的情况
报错是本地缺少 gpg keyring,所以应该和源无关
Stack Exchange 上可以搜到几乎同样的报错
谢谢! 按这个帖子里的办法解决了:
想请教一个问题。
在windows上使用centaur,正常rg中文检索没有问题。但在调用denote backlink命令时,minibuffer显示不出含中文名的反链。这个问题已知是windows编码问题,尝试修改init-prog.el中关于xref后端ripgrep为ugrep后,就能正常显示反链。
(when (executable-find "ugrep")
(setq xref-search-program 'ugrep))
关于windows上编码,我相较于centaur原版增加了如下内容,想问一下这样的设置是有什么不对从而影响到rg作为xref的后端正常显示gbk字符?
(setq-default process-coding-system-alist
'(
("[pP][lL][iI][nN][kK]" utf-8-dos . gbk-dos)
("[cC][mM][dD][pP][rR][oO][xX][yY]" utf-8-dos . gbk-dos)
("[rR][gG]" utf-8-dos . gbk-dos)
("rg" utf-8-dos . gbk-dos)
("ug" utf-8-dos . gbk-dos)
("grep" utf-8-dos . gbk-dos)
("ripgrep" utf-8-dos . gbk-dos)
("ugrep" utf-8-dos . gbk-dos)
("es" gbk-dos . gbk-dos)
("explorer" gbk-dos . gbk-dos)
("*" utf-8-dos . utf-8-dos)
))
我的环境中,真正起作用的是cmdproxy。只用如下配置rg也能搜索显示中文。我没有使用dnote,所以无法确认是否起作用。
(setq-default process-coding-system-alist
'(("cmdproxy" utf-8 . gbk)))
楼主您好,C/C++的lsp server同时安装了clangd/ccls的时候,您的配置在编辑c/cpp文件eglot就无法正常工作了,如果删除掉其他任意一个又恢复正常
好的,谢谢。 我测试过依旧不起效,看来问题还在别处。(windows上编码问题真让人头痛)
我专门在arch上安装了clangd和ccls,没有发现问题呀。eglot默认用clangd,clangd不存在才会用ccls。两者不存在冲突。建议你去掉私有配置再试试。
OS:debian 12.5 emacs:29.2,自编译 修改集涉及custom.el init.el init-evil.el,不过是些软件源、lsp客户端、evil插件,没有涉及到lsp server的
去掉试过吗?
刚试了下,在init.el中注释掉evil那行之后,ccls/clangd同时存在也不会有问题了,真是服了,这种狗血的事情都能发生
遇到一个问题求助大佬: 我使用的命令是:
M-x centaur-update
我的结果是:
不知道是什么原因。 我的emacs是运行在MBP M2上,版本是又试了几次,更新完后启动是这样的:
然后使用 emacs --debug-init 启动,结果是这样的:
贴上全部日志:
Debugger entered--Lisp error: (error "Eager macro-expansion failure: (void-function comp...")
signal(error ("Eager macro-expansion failure: (void-function comp..."))
error("Eager macro-expansion failure: %S" (void-function compat--plist-get))
internal-macroexpand-for-load((with-no-warnings (pretty-hydra-define toggles-hydra (:title (pretty-hydra-title "Toggles" 'faicon "nf-fa-toggle_on") :color amaranth :quit-key ("q" "C-g")) ("Basic" (("n" (cond (... ...) (... ...)) "line number" :toggle (or (bound-and-true-p display-line-numbers-mode) (bound-and-true-p global-linum-mode))) ("a" global-aggressive-indent-mode "aggressive indent" :toggle t) ("d" global-hungry-delete-mode "hungry delete" :toggle t) ("e" electric-pair-mode "electric pair" :toggle t) ("c" flyspell-mode "spell check" :toggle t) ("s" prettify-symbols-mode "pretty symbol" :toggle t) ("l" global-page-break-lines-mode "page break lines" :toggle t) ("b" display-battery-mode "battery" :toggle t) ("i" display-time-mode "time" :toggle t) ("m" doom-modeline-mode "modern mode-line" :toggle t)) "Highlight" (("h l" global-hl-line-mode "line" :toggle t) ("h p" show-paren-mode "paren" :toggle t) ("h s" symbol-overlay-mode "symbol" :toggle t) ("h r" rainbow-mode "rainbow" :toggle t) ("h w" (setq-default show-trailing-whitespace (not show-trailing-whitespace)) "whitespace" :toggle show-trailing-whitespace) ("h d" rainbow-delimiters-mode "delimiter" :toggle t) ("h i" highlight-indent-guides-mode "indent" :toggle t) ("h t" global-hl-todo-mode "todo" :toggle t)) "Program" (("f" flymake-mode "flymake" :toggle t) ("O" hs-minor-mode "hideshow" :toggle t) ("u" subword-mode "subword" :toggle t) ("W" which-function-mode "which function" :toggle t) ("E" toggle-debug-on-error "debug on error" :toggle (default-value 'debug-on-error)) ("Q" toggle-debug-on-quit "debug on quit" :toggle (default-value 'debug-on-quit)) ("v" global-diff-hl-mode "gutter" :toggle t) ("V" diff-hl-flydiff-mode "live gutter" :toggle t) ("M" diff-hl-margin-mode "margin gutter" :toggle t) ("D" diff-hl-dired-mode "dired gutter" :toggle t)) "Theme" (("t a" (centaur-load-theme 'auto) "auto" :toggle (eq centaur-theme 'auto) :exit t) ("t m" (centaur-load-theme 'random) "random" :toggle (eq centaur-theme 'random) :exit t) ("t s" (centaur-load-theme 'system) "system" :toggle (eq centaur-theme 'system) :exit t) ("t d" (centaur-load-theme 'default) "default" :toggle (centaur-theme-enable-p 'default) :exit t) ("t p" (centaur-load-theme 'pro) "pro" :toggle (centaur-theme-enable-p 'pro) :exit t) ("t k" (centaur-load-theme 'dark) "dark" :toggle (centaur-theme-enable-p 'dark) :exit t) ("t l" (centaur-load-theme 'light) "light" :toggle (centaur-theme-enable-p 'light) :exit t) ("t w" (centaur-load-theme 'warm) "warm" :toggle (centaur-theme-enable-p 'warm) :exit t) ("t c" (centaur-load-theme 'cold) "cold" :toggle (centaur-theme-enable-p 'cold) :exit t) ("t y" (centaur-load-theme 'day) "day" :toggle (centaur-theme-enable-p 'day) :exit t) ("t n" (centaur-load-theme 'night) "night" :toggle (centaur-theme-enable-p 'night) :exit t) ("t o" (centaur-load-theme (intern ...)) "others" :toggle (not (or ... ...)) :exit t)) "Package Archive" (("p m" (centaur-set-package-archives 'melpa t) "melpa" :toggle (eq centaur-package-archives 'melpa) :exit t) ("p b" (centaur-set-package-archives 'bfsu t) "bfsu" :toggle (eq centaur-package-archives 'bfsu) :exit t) ("p i" (centaur-set-package-archives 'iscas t) "iscas" :toggle (eq centaur-package-archives 'iscas) :exit t) ("p n" (centaur-set-package-archives 'netease t) "netease" :toggle (eq centaur-package-archives 'netease) :exit t) ("p s" (centaur-set-package-archives 'sjtu t) "sjtu" :toggle (eq centaur-package-archives 'sjtu) :exit t) ("p t" (centaur-set-package-archives 'tuna t) "tuna" :toggle (eq centaur-package-archives 'tuna) :exit t) ("p u" (centaur-set-package-archives 'ustc t) "ustc" :toggle (eq centaur-package-archives 'ustc) :exit t) ("p T" (centaur-test-package-archives) "speed test" :exit t))))) t)
eval-buffer(#<buffer *load*-358900> nil "/Users/hubing/.emacs.d/lisp/init-hydra.el" nil t) ; Reading at buffer position 7898
load-with-code-conversion("/Users/hubing/.emacs.d/lisp/init-hydra.el" "/Users/hubing/.emacs.d/lisp/init-hydra.el" nil t)
require(init-hydra)
eval-buffer(#<buffer *load*> nil "/Users/hubing/.emacs.d/init.el" nil t) ; Reading at buffer position 3648
load-with-code-conversion("/Users/hubing/.emacs.d/init.el" "/Users/hubing/.emacs.d/init.el" t t)
load("/Users/hubing/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x155b861f906dbd>) #f(compiled-function () #<bytecode -0x1f3c61addc0d85b5>) t)
command-line()
normal-top-level()
有大佬能指导一下吗,我感觉我可能得重新安装centaur了
试试把compat这个包删掉试试,国内网络环境比较差,有的时候有的包可能下载到一半就出错了