操作系统以及版本信息
操作系统 : Mac Mojave.
org-mode 版本 : 9.4.4
背景信息
我的电脑有两个版本的 Emacs:
一个版本是 我自己编译的 emacs-ng , 版本是 The last merged commit is 978afd788f
by Andrea Corallo (Thu Apr 1 2021) .
emacs-ng 的编译选项是
./configure --enable-autodepend --disable-silent-rules --with-sound=yes \
--with-pdumper=yes --without-imagemagick --with-xpm --with-jpeg \
--with-tiff --with-gif --with-png --with-rsvg --with-lcms2 \
--with-cairo --with-xml2 --with-native-image-api --with-json \
--with-xft --with-harfbuzz --with-libotf --with-xaw3d --with-gpm \
--with-dbus --with-gconf --with-gsettings --with-gnutls \
--with-zlib --with-modules --with-threads \
--with-file-notification=yes --with-xwidgets \
--without-compress-install --with-libgmp --with-included-regex \
--disable-ns-self-contained --with-no-title-bars --with-ns
另一个版本是 使用 homebrew 安装的 emacs-mac , 版本是 27. emacs-mac 是正常的满意的状态, 图片能显示, 并且是高清的. 之前我用过 emacs-plus 图片是模糊的(估计加了–with-imagemagick , 见下面实验结果)
最新实验结果
如果 emacs-ng 的编译选项, 加上 --with-imagemagick , 能解决部分图片显示不出来的问题, 但是图片是模糊的(跟emacs-plus差不多), emacs-mac 是高清的.
为什么说加了 --with-imagemagick 是部分解决呢? 因为我发现有些路径还是显示不出来, emacs-mac 是所有的路径都能正常显示, 包括路径中带有 中文字符, | - _ , 空格等
之前的问题
同一个张图, 我把它放到两个路径下, 一个是路径带有中文, 一个没有.
执行 org-toggle-inline-images 之后显示如下, 带有中文路径的显示不出来: