Emacs Gnus接收邮件(dis)订单

Emacs Gnus接收邮件(dis)订单,emacs,gmail,gnus,Emacs,Gmail,Gnus,在使用Emacs的几年中,我从未在电子邮件中使用过它。总是把它看作是一个非常复杂的系统来完成它(更不用说电子邮件是一个太复杂的系统,无法进行消息传递,但这是另一种抱怨)。现在,第一次使用Gnus并将其连接到GMail,收件箱中出现的电子邮件没有顺序。例如,大约两年前的一条消息出现在列表的顶部,接着是上周的另一条消息,而今天收到的一堆消息根本没有加载 不幸的是,我对我的X服务器做了太多的实验。。。我需要掩盖它不会开始的时间…:) 我怀疑邮件的选择可能会受到“状态”或某种优先级的影响,GMail出于

在使用Emacs的几年中,我从未在电子邮件中使用过它。总是把它看作是一个非常复杂的系统来完成它(更不用说电子邮件是一个太复杂的系统,无法进行消息传递,但这是另一种抱怨)。现在,第一次使用Gnus并将其连接到GMail,收件箱中出现的电子邮件没有顺序。例如,大约两年前的一条消息出现在列表的顶部,接着是上周的另一条消息,而今天收到的一堆消息根本没有加载

不幸的是,我对我的X服务器做了太多的实验。。。我需要掩盖它不会开始的时间…:)

我怀疑邮件的选择可能会受到“状态”或某种优先级的影响,GMail出于其机器人思维,正在为这些邮件分配优先级——显然是错误的。如果我的猜测是正确的,那么是否可以覆盖此行为,例如按照接收到的相同顺序加载消息?这对我有很大帮助。提前谢谢

我放弃了在更中间的地方编辑,但是,从结尾开始阅读,在我放弃之前,你会明白我的想法:

!. [   8: ***********            ] *****, *****!!! check this out(:  # Can't even find this...
 . [   0: ***********            ]                                 
!. [  19: ***********            ] Re: Hello ****. Nice to meet you
 . [ 162: Twitter                ] ******, ***** ******, and 2 othe 
 . [  38: Vimeo                  ] Welcome to Vimeo!                  # Almost two years ago
!. [  25: ***********            ] Re: Do you use haxe-mode still?  
!. [  58: ***************        ] Re: wvxvw (*****) from lispforum
!. [  26: *************          ] Re: bug#11813: Segmentation fault
 . [ 174: Open Spoon Foundation  ] Apache Flex Community Revue July 
!. [  72: *************          ] Re: bug#11850: crash (null font)   # Second newest        (1)
!. [  42: *************          ] Re: bug#11813: bug#11850: crash (  # Received a month ago
!.     <  17: ***********           > 
!. [  25: ACM International Confe] ICFP Programming Contest: one wee
!. [  19: ACM International Confe] Message to attendees of ICFP 2012
!. [  57: ***************        ] Probably no one else for ICFP    
!. [  61: ************           ] Re: bug#11850: bug#11813: bug#118
 . [  55: ********** via LinkedIn] ת מעצב למישהו עם שנה ניסיון ומעלה
!. [   5: ***************        ] Be wary of Dropbox and git repos
 . [  14: ACM International Confe] Task Details for ICFP 2012 Progra  # 
 . [  26: ACM International Confe] How to contact us during the Cont
 . [  14: ACM International Confe] Submission
 . [  15: ACM International Confe] Lightning Division Entry MD5 Keys
 . [  14: ACM International Confe] Underground growths
 . [  15: ACM International Confe] More Lambdas
 . [  19: ***************        ] Re: [CLSQL] OUTER JOIN             # This actually arrived before
 . [  28: ***************        ] [CLSQL] Problem with clsql-mysql.d # the patch.
 .     [  30: ************           ]                                #
 .         [  36: ***************        ]                            #                           
!. [   2: Unblock Review Team    ] Response to your unblock appeal    # They blocked me instead of 
                                                                      # some other dude!                          
 . [  15: CouchSurfing           ] We miss you on CouchSurfing!       # Stopped counting :)
------------------- missing 1 message here  ---------------------------------------------------------
 . [  18: ****************       ] [CLSQL] [PATCH] Clisp portability
------------------- missing 1 message here  ---------------------------------------------------------
 . [  33: ***************        ] Re: [CLSQL] CLSQL Digest, Vol 56,                        
 . [  23: ***************        ] [CLSQL] Newbie troubles with the t                      
 .     [  52: ********           ]                                     
------------------- missing 5 messages here ---------------------------------------------------------
!. [  20: agent.ruby@amd.com     ] AMD Game subscription update.                                  
 . [  29: *********              ] Re: hey (******)                    # This is the 57'th newest (11)
 .     [  34: *****              ]                                     # This message has 12 more 
                                                                       # responses
------------------- missing 25 messages here --------------------------------------------------------
 . [  91: Glassdoor              ] Lots of new jobs on Glassdoor - ma     
!. [  21: ***************        ] Hi there                            # This is the 32'th newest (10)
------------------- missing 7 messages here ---------------------------------------------------------
 . [  17: **********             ] [CLSQL] Postmodern changes affecti  # Received about a year ago
 .     [  32: ********           ]                                     # 
 . [  98: **********             ] [CLSQL] clsql on cmucl under 64 bi  # This is the 25'th newest (9)
------------------- missing 5 messages here ---------------------------------------------------------
 . [  10: Coursera               ] Welcome to Coursera!                # This is the 19'th newest (7)
 . [   1: Machine Learning | Cour] Welcome to Machine Learning!        # This is the 20'th newest (8)
------------------- missing 3 messages here ---------------------------------------------------------
 . [ 146: Jobmaster.co.il        ] כוז הצעות עבודה לתאריך: 22/08/2012  # This is the 16'th newest (6)
------------------- missing 5 messages here ---------------------------------------------------------   
 . [  49: <***************@mail.r] [CLSQL] CLSQL on ECL                # This is the 11'th newest (5) 
------------------- missing 2 messages here ---------------------------------------------------------                    
 . [  41: Mail Delivery Subsystem] Delivery Status Notification (Fail
------------------- missing 1 message here  ---------------------------------------------------------
 . [ 148: Jobmaster.co.il        ] כוז הצעות עבודה לתאריך: 23/08/2012  # This is the 6'th newest  (4)
 . [  87: Udacity                ] Udacity Newsletter - August 2012    # This is the 5'th newest  (3)
------------------- missing 2 messages here ---------------------------------------------------------
 . [  17: ************           ] call today                          # This is the newest       (0)
请查看Gnus手册中的。基本上,Gnus默认按文章编号排序。对我来说,这一直都是一个约会订单,但也许你的GMail邮件发生了一些奇怪的事情——你是不是从另一个邮件服务器导入的?(我不知道-我只是猜测)

不管怎样,我猜你想要的是

(setq gnus-thread-sort-functions
      '(gnus-thread-sort-by-number
        gnus-thread-sort-by-date))

注意,这假设您使用的是线程显示(这是默认设置,可能是您想要的)。如果没有,我链接到的页面将进行相关修改。

邮件索引的顺序由服务器(gmail)控制,而不是由Emacs/Gnus控制。我猜在优化他们的服务器以获取大量信息时,谷歌打破了惯例,文章编号不再按顺序分配。唯一的答案是下载所有的标题,这样Gnus就可以根据日期或您的喜好自行进行排序。如果你有很多邮件,你可能想先清理一下你的收件箱。

我应该说,Gnus手册实际上很可读(有时也很有趣——看看“异教徒的Emacs”部分)。我懒散地阅读随机的页面,锻炼了很多……啊,我明白了。你的问题不清楚。我想你的意思是,当你进入一个组时,你会被问到要取多少头?然后你必须猜测,它们的取回顺序和电子邮件的日期之间没有相关性?我认为Gnus或任何其他客户机都无法在本地存储所有头文件:我认为IMAP协议是按消息编号进行操作的。请注意,删除消息时不会重复使用消息编号。因此,您可以回答“多少条消息?”问题的“1000”,最终得到的消息要少得多。另一个解决方案是搜索:我倾向于在组中使用“G”按姓名/主题搜索。事实上,我使用GMail,收件箱里几乎什么都没有。我以后可能想查找的内容保存在“All mail”文件夹中,可以用“G”搜索。不知道,但这是Gmail的错,不是Gnus的错-服务器选择邮件号码,而不是客户端。我想检查一下我不是在胡说八道,所以查了IMAP4规范。基本上,重点是FETCH命令(规范的一节)获取一个消息ID列表,因此客户端实际上无法执行任何更明智的操作。
(setq gnus-thread-sort-functions
      '(gnus-thread-sort-by-number
        gnus-thread-sort-by-date))