当我在摘要缓冲区中时,如何让gnus在两种情况下获取已读文章:
当我在一个带有已读文章的线程中时(因此不可见)。我想浏览整个线程中所有已读或未读的文章(不仅仅是父文章!)。
检索最后N篇已读但不可见的文章。
非常感谢!
^
(gnus-summary-refer-parent-article
)(也可以作为<menu-bar> <Article> <Fetch parent of article>
提供)。A T
(gnus-summary-refer-thread
)(<menu-bar> <Article> <Fetch current thread>
)。/ o
(gnus-summary-insert-old-articles
)(也可以作为<menu-bar> <Gnus> <See old articles>
提供)。对于第一个问题,请尝试
(setq gnus-fetch-old-headers 'some)
.gnus
文件中,(defun codefalling/gnus-show-all ()
"Show all mail"
(interactive)
(gnus-summary-insert-old-articles t) ;; show all, or t->50 to show 50 old mail
(goto-char (point-min)))
(add-hook 'gnus-summary-mode-hook '(lambda () (run-with-idle-timer 0.1 nil 'codefalling/gnus-show-all)))
(add-hook 'gnus-summary-prepared-hook 'gnus-summary-insert-old-articles)
。因为"run-with-idle-timer 0.1 nil"是相关函数加载所需的必要时间,而gnus-summary-prepared-hook
恰好是指示任务完成的钩子。在此之后,gnus-summary-insert-old-articles
将不会显示错误的number-p错误。 - undefined^
和 / o
命令已经提到了这个命令,对于调试非常有用: M-^
(gnus-summary-refer-article
)。
gnus-summary-refer-parent-article
内部使用了gnus-summary-refer-article
...