Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: info-gnus-english@gnu.org
Subject: Re: how to make Group not show "nnimap+$server:INBOX.$mailbox", just $mailbox"
Date: Mon, 19 Feb 2018 11:36:21 +0100	[thread overview]
Message-ID: <87k1v9tgey.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: <87fu5xfgq2.fsf@hornfels.zedat.fu-berlin.de>

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> Bob Newell <bobnewell@bobnewell.net> writes:
>
>> Like this:
>>
>> (setq group-name-map
>>    '(("nnimap+imap.gmail.com:INBOX" . "Inbox")
>>     ("nnimap+imap.gmail.com:[Gmail]/All Mail" . "All Mail")
>>  etc.
>>  ))
>
> This had no effect for me.  However, here
>
>   https://www.emacswiki.org/emacs/GnusFormatting
>
> it implies that you have to define
>
>   gnus-user-format-function-g
>
> and then use 'ug%' rather than '%g' in 'gnus-group-line-format'.

Fiddling around with this I managed to totally bork the display in the
Groups buffer, such that basically nothing was shown and the following
error was produced:

  progn: Wrong type argument: char-or-string-p

Just reverting the changes in init.el was not enough and I had to roll
back to the versions of .newsrc and .newsrc.eld from this morning
(Thanks, Git!).

Cheers,

Loris

-- 
This signature is currently under construction.



  reply	other threads:[~2018-02-19 10:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.9363.1518975840.27995.info-gnus-english@gnu.org>
2018-02-19  9:53 ` Loris Bennett
2018-02-19 10:36   ` Loris Bennett [this message]
2018-02-20  6:12     ` Bob Newell
     [not found]   ` <mailman.9398.1519036661.27995.info-gnus-english@gnu.org>
2018-02-19 19:07     ` Rud1ger Sch1erz
2018-02-18 17:43 Bob Newell
  -- strict thread matches above, loose matches on Subject: below --
2018-02-18  8:29 Gijs Hillenius

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=87k1v9tgey.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --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).