Doom Emacs:在迷你缓冲区中按 Return 键会将光标置于前面,而不是打开文件

问题描述 投票:0回答:1

全新安装 Emacs 和 Doom 后,程序在尝试从迷你缓冲区打开文件后挂起。

我第一次尝试在新安装的 Fedora 操作系统上设置 doom emacs。完成所有禁止的步骤后,我做的第一件事就是打开我的配置文件,如下所示。

Attempting to open my config file moments before pressing the return key

但是,按回车键打开文件后,光标似乎走到了行首,而不是执行命令。这会挂起程序并且不会响应,直到我从系统活动中强制终止它。

Cursor frozen at the start of the line

我尝试过使用doom doctor、doom clean、doom build、doom sync等。我已经对Emacs和doom进行了几次擦除全新安装,但没有效果。每次都会出现相同的行为。

> Checking your Emacs version...
> Checking for Doom's prerequisites...
> Checking for Emacs config conflicts...
  ! Found another Emacs config: ~/.config/emacs (directory)
    Having multiple Emacs configs may prevent Doom from loading
    properly. Emacs will load the first it finds and ignore the rest. If
    Doom isn't starting up correctly (e.g. you get a vanilla splash
    screen), make sure that only one of these exist.
    
    Chemacs users may ignore this warning.
> Checking for missing Emacs features...
> Checking for private config conflicts...
> Checking for common environmental issues...
> Checking for stale elc files...
> Checking for problematic git global settings...
> Checking Doom Emacs...
  ✓ Initialized Doom Emacs 3.0.0-pre
  ✓ Detected 44 modules
  ✓ Detected 141 packages
  > Checking Doom core for irregularities...
    ! "NFM.ttf" font is not installed on your system
      Some needed fonts are not properly installed on your system. To download and
      install them, run `M-x nerd-icons-install-fonts' from within Doom Emacs.
      However, on Windows this command will only download them; the fonts must be
      installed manually afterwards.
  > Checking for stale elc files in your DOOMDIR...
  > Checking your enabled modules...
    > :lang cc
      ! Couldn't find glslangValidator. GLSL code completion is disabled

这是我的 ~/.config/emacs 目录。我不知道里面不应该有什么。

.  ..  bin  .dir-locals.el  docs  .doomrc  early-init.el  .git  .github  .gitignore  LICENSE  lisp  .local  modules  profiles  README.md  shell.nix  templates
linux emacs fedora dot-emacs
1个回答
0
投票

您的系统似乎缺少

glslangValidtor
;你可以在 Fedora 上安装它:

dnf install glslang
    
© www.soinside.com 2019 - 2024. All rights reserved.