问题描述
我使用的是gnus,我宁愿不会以通用的方式将阅读邮件过期。
这似乎不起作用:
(remove -hook'gnus-mark-article-hook
'gnus-summary-mark-read-and-unread-as-read)
(add-hook'gnus-mark-article-hook'gnus-摘要标记 - 未阅读)
任何想法,使它更像一个正常MUA?
作为所有合理的邮件代理,gnus不会销毁(或到期)邮件,除非你问去做吧。
它会隐藏它们,所以当输入一个组(邮箱/文件夹)时,它只会显示未读或打勾的邮件。但是,如果您使用 Cu RET
输入组,或者如果在摘要缓冲区中使用 Cu Mg
,则所有隐藏消息将显示。
如果您真的想全部拥有所有文章,可以使用
(defun rv-gnus-topic-select-group()
pre>
(gnus-topic-select-group t))
(eval-after-load'gnus-topic
(gnus-define-keys gnus-topic-mode-map
\rrv-gnus-topic-select-group)
但是,最好用gnus做,并打勾你经常使用的消息,当你想要更多的时候使用前缀arg。
(这是未经测试的代码,但它可以工作)
I am using gnus and I would rather it not expire read mail in the usenet fashion.
This doesn't seem to be working:
(remove-hook 'gnus-mark-article-hook 'gnus-summary-mark-read-and-unread-as-read) (add-hook 'gnus-mark-article-hook 'gnus-summary-mark-unread-as-read)
Any ideas to make it a little bit more like a "normal" MUA?
解决方案As all reasonable mail agent, gnus won't destroy (or expire) mail unless you ask it to do it.
It will hide them, so when entering a group (mailbox/folder) it will only show you mail that are unread or ticked. But if you enter a group with
C-u RET
, or if you useC-u M-g
in the summary buffer, all hidden message will be shown.If you really want to have all article all the time, you could use
(defun rv-gnus-topic-select-group () (gnus-topic-select-group t)) (eval-after-load 'gnus-topic (gnus-define-keys gnus-topic-mode-map "\r" rv-gnus-topic-select-group))
But you'd better do as gnus does, and tick message you use often, and use the prefix arg when you want more.
(this is untested code, but it could work)
这篇关于我不想在gnus中过期邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!