1

I set the .gnus as

;;; package --- gnus
;;;
;;;
(setq user-mail-address "abst.proc.do@qq.com"
      user-full-name "abst.proc.do")

(setq gnus-select-method
      '(nnimap "qq.com"
               (nnimap-address "imap.qq.com")  
               (nnimap-server-port 993)
               (nnimap-stream ssl)))

(setq send-mail-function 'smtpmail-send-it
      smtpmail-smtp-server "smtp.qq.com"
      smtpmail-smtp-service 465
      smtpmail-stream-type 'ssl
      gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\( \\|$\\)\\|^[\"]\"[#'()]")

After run M-x gnus and L gnus-group-list-all-group

       0: Deleted Messages
       0: Drafts
       1:*INBOX
       0: Junk
       0: Sent Messages
 U     *: nndraft:drafts
       1:*nnfolder+archive:sent.2020-02

However, if enter Inbox, it display just the one new email.

 R. [   5: -> abst.proc.do        ] Re: Group Buffer

How could I set Inbox to display all the emails both read and unread.

Add (dispaly . all) to group parameters for "inbox" as:

((modseq)
 (uidvalidity . "1579733041")
 (display . all)
 (active 1 . 60)
 (permanent-flags %* %Answered %Flagged %Deleted %Draft %Seen))

but it still display only the unread mails.

  • Hmm, it works fine for me. Which version of Emacs/Gnus? – rpluim Feb 6 at 12:42
  • GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.11) of 2019-09-23, modified by Debian @rpluim – Calculus Feb 6 at 12:55
2

The visibility of articles in a group is controlled by its group parameters. You can use G p or G c when on the group in the *Group* buffer to change them. In this case you'd want something like

((display . all))

See the Group Parameters for more details.

| improve this answer | |
  • I appended (display . all) to group parameter but still only display unread mails. Updated the question. – Calculus Feb 6 at 11:36
2

There is a clumsy distinction between "read" and "ancient" articles denoted "R" and "O" respectively. OP's report that

 R. [   5: -> abst.proc.do        ] Re: Group Buffer

appears suggests he is indeed getting read articles viz. the R mark. He could try /o to try to pull in the other 60 messages which might have the O mark.

I have never had to specially configure Gnus to get "ancient" articles to display, so something is definitely awry.

| improve this answer | |
  • 1
    I simply want it display all the emails in the INBOX. – Calculus Feb 7 at 0:42
  • I know, Gnus makes simple things hard, and hard things possible. – dickmao Feb 7 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.