Gnus development mailing list
 help / color / mirror / Atom feed
* Adding format specifiers?
@ 1999-11-19 23:37 Kai Großjohann
  1999-12-01 18:51 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Großjohann @ 1999-11-19 23:37 UTC (permalink / raw)


Suppose I wanted to display the number of cached messages in a group
in the *Group* buffer.  I can think of two ways to achieve that:

(1) Write gnus-user-format-function-c and use %uc specifier.
(2) Add an entry in gnus-group-line-format-alist and use %c specifier.

The second one seems cleaner but suffers from potential problems with
future versions of Gnus using this specifier.  The first one seems
misplaced in site-start.el.

What should I do?

kai
-- 
This gubblick contains many nonsklarkish English flutzpahs,
but the overall pluggandisp can be glorked from context. -- David Moser


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

* Re: Adding format specifiers?
  1999-11-19 23:37 Adding format specifiers? Kai Großjohann
@ 1999-12-01 18:51 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-12-01 18:51 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Suppose I wanted to display the number of cached messages in a group
> in the *Group* buffer.  I can think of two ways to achieve that:
> 
> (1) Write gnus-user-format-function-c and use %uc specifier.
> (2) Add an entry in gnus-group-line-format-alist and use %c specifier.
> 
> The second one seems cleaner but suffers from potential problems with
> future versions of Gnus using this specifier.  The first one seems
> misplaced in site-start.el.

I think the first one is better.  You can also use the "advanced"
%...@ spec thing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


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

end of thread, other threads:[~1999-12-01 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-19 23:37 Adding format specifiers? Kai Großjohann
1999-12-01 18:51 ` Lars Magne 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).