在最近的 gnupg 版本中,出现了 breaking changes 导致 Emacs 保存文件时会卡住,涉及的版本有:
- • 2.4.1
- • 2.4.2
目前能确认的是 2.4.0 版本是没有问题的,如果遇到这个问题,可以尝试降级:
代码语言:javascript复制brew uninstall --ignore-dependencies gnupg
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/59edfe598541186430d49cc34f42671e849e2fc9/Formula/gnupg.rb
brew install -s gnupg.rb
相关讨论:
- • ⚓ T6481 BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG)[1]
- • gnupg 2.4.1 encryption issues with emacs / org-mode[2]、
引用链接
[1]
⚓ T6481 BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG): https://dev.gnupg.org/T6481
[2]
gnupg 2.4.1 encryption issues with emacs / org-mode: https://www.reddit.com/r/emacs/comments/137r7j7/gnupg_241_encryption_issues_with_emacs_orgmode/