Gnus development mailing list
 help / color / mirror / Atom feed
From: "Adam Sjøgren" <asjo@koldfront.dk>
To: ding@gnus.org
Subject: Re: Primary select method switch
Date: Wed, 04 Oct 2023 21:59:31 +0200	[thread overview]
Message-ID: <877co2ma58.fsf@tullinup.koldfront.dk> (raw)
In-Reply-To: <86v8brzxap.fsf@gnu.org>

Arash writes:

> Andrew Cohen <acohen@ust.hk> writes:

>>      (setq gnus-select-method '(nnnil ""))

> Sorry if I'm missing the obvious, but is it possible to adjust the
> prefix shown in the Group buffer with this setup?  Say, I want to have
> my local nntp server in secondary, but don't want to see the
> 'nntp+localhost' prefix all over the place?

Yes, the server name is used as the prefix - for example I have these:

,----[ C-h v gnus-secondary-select-methods RET ]
|
| Value:
| ((nnml "" (gnus-search-engine gnus-search-notmuch))
|  (nntp "gm" (nntp-address "news.gmane.io"))
|  (nntp "fb" (nntp-open-connection-function nntp-open-tls-stream)
|        (nntp-port-number 563) (nntp-address "feedbase.org"))
|    ...
`----

which gives me names in the *Group* buffer like this:

  nnml:normal
  nntp+gm:gmane.emacs.gnus.general
  nntp+fb:feedbase.news.songkick.copenhagen

(The nntp-address defaults to the server name, so when shortening it I
had to explicitly set nntp-address.)

And this archive method:

,----[ C-h v gnus-message-archive-method RET ]

| (nnml "archive" (nnml-directory "~/Mail/archive")
|       (nnml-active-file "~/Mail/archive/active")
|       (nnml-get-new-mail nil) (gnus-search-engine gnus-search-notmuch)
|       (nnml-inhibit-expiry t))
|
`----

so I have archive groups like:

  nnml+archive:mail-2023
  nnml+archive:news-2023


  Best regards,

    Adam

-- 
 "Girl, you thought he was a man                            Adam Sjøgren
  But he was a muffin"                                 asjo@koldfront.dk



  reply	other threads:[~2023-10-04 19:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-25  9:47 Didier Verna
2023-09-25  9:59 ` Adam Sjøgren
2023-09-25 11:52 ` Andrew Cohen
2023-09-25 13:32   ` dick
2023-09-25 14:06   ` Didier Verna
2023-09-30 11:59   ` Arash Esbati
2023-10-04 19:59     ` Adam Sjøgren [this message]
2023-10-05  7:58     ` Eric S Fraga
2023-10-05  8:41       ` Adam Sjøgren
2023-10-05  9:02         ` Eric S Fraga
2023-10-13 15:36         ` Steinar Bang
2023-10-05  8:51       ` Adam Sjøgren
2023-10-05  9:01         ` Eric S Fraga
2023-10-05  9:33           ` Gijs Hillenius
2023-10-05 13:02             ` Eric S Fraga
2023-10-05 12:18           ` Andrew Cohen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877co2ma58.fsf@tullinup.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).