Emacs + AucteX + Skim (MacOS Sierra) 正向搜索问题

Emacs + AucteX + Skim (MacOS Sierra) 正向搜索问题

升级到 MacOS Sierra 后,我在 Skim 中向前搜索时开始遇到问题。向后搜索功能正常。当我在 Skim 中按“Cmd + S + 鼠标 1”时,它会直接转到 Emacs 中的行。但是,当我在旧版本中添加新行并进行编译时,Skim 会突出显示编译的新行。但是此功能不再起作用。

这个问题是在更新 Sierra 并升级 brew 后出现的。我尝试重新安装 aucTeX,更新 Skim (1.4.22),但仍然无法解决问题。

在 Skim 偏好设置窗格 -> 同步选项卡中我使用命令:/usr/local/Cellar/emacs/25.1/bin/emacsclient 参数:--no-wait +%line "%file"

在我的 .emacs 文件中:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(TeX-PDF-mode t)
 '(TeX-engine (quote luatex))
 '(TeX-source-correlate-method (quote synctex))
 '(TeX-source-correlate-mode t)
 '(TeX-source-correlate-start-server t)
 '(TeX-view-program-list
   (quote
    (("Skim"
      ("/Applications/Skim.app/Contents/SharedSupport/displayline -b -g %n %o %b")))))
 '(TeX-view-program-selection
   (quote
    ((output-dvi "open")
     (output-pdf "Skim")
     (output-html "open"))))

为什么向后搜索有效,而向前搜索无效?

相关内容