Gnus development mailing list
 help / color / mirror / Atom feed
* Adding parameters to user group line format functions?
@ 2012-02-01 18:43 Johann 'Myrkraverk' Oskarsson
  2012-02-01 23:19 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Johann 'Myrkraverk' Oskarsson @ 2012-02-01 18:43 UTC (permalink / raw)
  To: Gnus Ding

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-01 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-01 18:43 Adding parameters to user group line format functions? Johann 'Myrkraverk' Oskarsson
2012-02-01 23:19 ` Lars Ingebrigtsen

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).