From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18797 Path: news.gmane.org!.POSTED!not-for-mail From: "Loris Bennett" Newsgroups: gmane.emacs.gnus.user Subject: Re: how to make Group not show "nnimap+$server:INBOX.$mailbox", just $mailbox" Date: Mon, 19 Feb 2018 11:36:21 +0100 Message-ID: <87k1v9tgey.fsf@hornfels.zedat.fu-berlin.de> References: <87fu5xfgq2.fsf@hornfels.zedat.fu-berlin.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1519036550 9459 195.159.176.226 (19 Feb 2018 10:35:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2018 10:35:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Feb 19 11:35:45 2018 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eninI-0001aO-8F for gegu-info-gnus-english@m.gmane.org; Mon, 19 Feb 2018 11:35:36 +0100 Original-Received: from localhost ([::1]:49418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enipK-00005u-Bi for gegu-info-gnus-english@m.gmane.org; Mon, 19 Feb 2018 05:37:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enipC-00004x-2R for info-gnus-english@gnu.org; Mon, 19 Feb 2018 05:37:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enip6-00036x-6L for info-gnus-english@gnu.org; Mon, 19 Feb 2018 05:37:34 -0500 Original-Received: from [195.159.176.226] (port=35424 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enip5-000358-V9 for info-gnus-english@gnu.org; Mon, 19 Feb 2018 05:37:28 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1enimV-00075F-Gf for info-gnus-english@gnu.org; Mon, 19 Feb 2018 11:34:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:KPyUaCivDu5OrK5f+gWdiXAuxPs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18797 Archived-At: "Loris Bennett" writes: > Bob Newell 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.