From: "Johann 'Myrkraverk' Oskarsson" <myrkraverk@gmx.com>
To: Gnus Ding <ding@gnus.org>
Subject: Adding parameters to user group line format functions?
Date: Wed, 01 Feb 2012 18:43:00 +0000 [thread overview]
Message-ID: <ldot6p.x5ldot6p.62fq.fl8r.gnus@asuka.myrkraverk.com> (raw)
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
next reply other threads:[~2012-02-01 18:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-01 18:43 Johann 'Myrkraverk' Oskarsson [this message]
2012-02-01 23:19 ` Lars Ingebrigtsen
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=ldot6p.x5ldot6p.62fq.fl8r.gnus@asuka.myrkraverk.com \
--to=myrkraverk@gmx.com \
--cc=ding@gnus.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).