You're pretty much right. Will you allow me to blame an attack of
sciatica for posting incomplete code? (Okay, it was worth at try.)

Here's my whole setup:

(setq gnus-group-line-format "%M%S%5y: %uM %D\n")

(defun gnus-user-format-function-M (arg)
  (let ((mapped-name (assoc gnus-tmp-group group-name-map)))
    (if (null mapped-name)
        gnus-tmp-group
      (cdr mapped-name))))

(setq group-name-map '(("nnimap+imap.gmail.com:INBOX" . "Inbox")
                       ("nnimap+imap.gmail.com:[Gmail]/All Mail" . "All Mail")
                       ("nnimap+imap.gmail.com:[Gmail]/Sent Mail" . "Sent Mail")
                       ("nnimap+imap.gmail.com:[Gmail]/Drafts" . "Drafts")
                       ("nnimap+imap.gmail.com:teatrader" . "Tea Trader")
                       ("nnimap+imap.gmail.com:gnusreader" . "GNUS Lists")
                       ("nnimap+imap.gmail.com:help-gnu-emacs" .
"Emacs Help List")
                       ("nnimap+imap.gmail.com:orgmode" . "Org-Mode List")
                       ("nnimap+imap.gmail.com:emms-help" . "EMMS List")
                       ("nnimap+imap.gmail.com:bbdb" . "BBDB List")
                       ("nnimap+aol:INBOX" . "AOL")
                       ("nnml:mail.misc" . "POP Mail")
                       ))

My original reference:
https://stackoverflow.com/questions/22150745/changing-the-display-name-of-a-gnus-group

-- 
Bob Newell
Honolulu, Hawai`i

Sent via Linux Mint 17.

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to