From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81133 Path: news.gmane.org!not-for-mail From: "Johann 'Myrkraverk' Oskarsson" Newsgroups: gmane.emacs.gnus.general Subject: Adding parameters to user group line format functions? Date: Wed, 01 Feb 2012 18:43:00 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328121887 2845 80.91.229.3 (1 Feb 2012 18:44:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2012 18:44:47 +0000 (UTC) To: Gnus Ding Original-X-From: ding-owner+M29414@lists.math.uh.edu Wed Feb 01 19:44:47 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RsfAj-0001lU-W4 for ding-account@gmane.org; Wed, 01 Feb 2012 19:44:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RsfAj-0006GW-1X; Wed, 01 Feb 2012 12:44:45 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RsfAi-0006GL-36 for ding@lists.math.uh.edu; Wed, 01 Feb 2012 12:44:44 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RsfAg-0006Iy-8e for ding@lists.math.uh.edu; Wed, 01 Feb 2012 12:44:44 -0600 Original-Received: from mailout-eu.gmx.com ([213.165.64.42]) by quimby.gnus.org with smtp (Exim 4.72) (envelope-from ) id 1RsfAe-00064P-Ia for ding@gnus.org; Wed, 01 Feb 2012 19:44:40 +0100 Original-Received: (qmail invoked by alias); 01 Feb 2012 18:44:21 -0000 Original-Received: from 85-220-60-172.dsl.dynamic.simnet.is (EHLO localhost) [85.220.60.172] by mail.gmx.com (mp-eu003) with SMTP; 01 Feb 2012 19:44:21 +0100 X-Authenticated: #132896649 X-Provags-ID: V01U2FsdGVkX1+1heNPaP+1Cab5PJ9gZLB+6CWTYinSrdHY3KLFxL iW8YC0Jl1jwRj/ User-Agent: Gnus/5.130001 (Ma Gnus v0.1) XEmacs/21.4.22 (usg-unix-v) X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81133 Archived-At: Hi all, Is it hard to add a "list of useful things" to be passed to user format functions for the group line? In particular, I'd like to use my own group name `mangling' in gnus-group-line-format with %uG but have no idea how my gnus-user-format-function-G would get a hold of the current group, server names and perhaps the backend method. For a concrete example, I'd like to prefix news.eternal-september.org groups with ES: and not news.eternal-september.org. If the function recieves the server (and group) name as a parameter I can simply use assq for it. The currenty documentation mentions the function will get a dummy parameter, so adding a real information there should not affect backwards compatibility, right? Johann