Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Colin Baxter 😺" <m43cap@yandex.com>
To: Bob Newell <bobnewell@bobnewell.net>
Cc: , info-gnus-english@gnu.org
Subject: Re: Editing name of a doc group
Date: Tue, 04 Jan 2022 08:28:33 +0000	[thread overview]
Message-ID: <87v8yzaor2.fsf@yandex.com> (raw)
In-Reply-To: <87fsq4yvnu.fsf@undisclosedlocation.com> (Bob Newell's message of "Mon, 03 Jan 2022 18:25:25 -1000")

Dear Bob,

>>>>> Bob Newell <bobnewell@bobnewell.net> writes:

    > Colin Baxter 😺 <m43cap@yandex.com> writes:

    >> I have a doc group which appears in the Group buffer with the
    >> long name of
    >> 
    >> nndoc+/full/path/to/filename:.filename
    >> 
    >> How can I shorten this to say "nndoc+:filename"? I've tried
    >> editing with Gp, GE but to no effect.

    > If I understand your question correctly, you can do something like
    > I do with group-name-map:

    > (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") .... etc.

Thank you for the reply. Your suggestion didn't work for me, but led
instead to some "try-it-and-see" work and ultimately to the
solution. All I had to do was to change the gnus-group-line-format
variable. I had used `g' - the "Qualified group name". I altered it to
'G' - the "Group name" - which gave a nicely shorted display name.

Thanks again.

Best wishes,

Colin.


      reply	other threads:[~2022-01-04  8:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-01  8:44 Colin Baxter 😺
2022-01-04  4:25 ` Bob Newell
2022-01-04  8:28   ` Colin Baxter 😺 [this message]

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=87v8yzaor2.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=bobnewell@bobnewell.net \
    --cc=info-gnus-english@gnu.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).