bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51852: Gnus: Add User-Defined Spec example


From: Lars Ingebrigtsen
Subject: bug#51852: Gnus: Add User-Defined Spec example
Date: Sun, 14 Nov 2021 19:36:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> (info "(gnus) Formatting Basics") says
>
>    Also Gnus supports some extended format specifications, such as
> ‘%&user-date;’.
>
> OK, please say what user-date is, and list the rest.

It's documented in the "Summary Buffer Lines" node:

@item &user-date;
Age sensitive date format.  Various date format is defined in
@code{gnus-user-date-format-alist}.

There is (currently) no rest to list.

> And mainly, on (info "(gnus) User-Defined Specs") there is no example of
> how to make a User-Defined Spec. E.g., how to continue the example on
> (info "(gnus) Advanced Formatting") to finally get 96/08/09 .

This seems sufficient?

---
All the specs allow for inserting user defined specifiers---@samp{u}.
The next character in the format string should be a letter.  Gnus
will call the function @code{gnus-user-format-function-}@samp{X}, where
@samp{X} is the letter following @samp{%u}.  The function will be passed
a single parameter---what the parameter means depends on what buffer
it's being called from.
---

So there doesn't seem to be anything here to do, and I'm closing this
bug report.  If you want help with using Gnus, then I suggest asking on
an Emacs help-oriented mailing list.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]