[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editing name of a doc group
From: |
Colin Baxter 😺 |
Subject: |
Re: Editing name of a doc group |
Date: |
Tue, 04 Jan 2022 08:28:33 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux) |
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.