我读过“将一个人的条目插入 BBDB 的最简单方法是,当来自他的消息被选中时,在摘要缓冲区中按:(冒号)。如果该人已经在数据库中,则不会发生任何事情; 否则,Emacs 会询问您是否要将他插入数据库。”
这对我不起作用,我想是因为我使用的是 BBDB 3。
编辑:“:”运行命令“bbdb-mua-display-sender”。
有解决方法吗?
这就是我在我的 .emacs 中使用的在 Gnus 中与 BBDB-3 一起使用的东西,它会将这个功能提供给; 钥匙:
(require 'bbdb-autoloads)
(require 'bbdb)
;; initialization
(bbdb-initialize 'gnus 'message)
(bbdb-mua-auto-update-init 'gnus 'message)
;; size of the bbdb popup
(setq bbdb-pop-up-window-size 0.15)
(setq bbdb-mua-pop-up-window-size 0.15)
;; What do we do when invoking bbdb interactively
(setq bbdb-mua-update-interactive-p '(query . create))
;; Make sure we look at every address in a message and not only the
;; first one
(setq bbdb-message-all-addresses t)
;; use ; on a message to invoke bbdb interactively
(add-hook
'gnus-summary-mode-hook
(lambda ()
(define-key gnus-summary-mode-map (kbd ";") 'bbdb-mua-edit-field)))
我从网上某个地方得到了这些信息,但现在无法完全定位;也许这可以让你走上正确的道路?