GNU bug report logs -
#44707
27.1; Add gnus-article-date-user user-defined examples
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Tue, 17 Nov 2020 15:22:01 UTC
Severity: wishlist
Tags: notabug
Found in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44707 in the body.
You can then email your comments to 44707 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#44707
; Package
emacs,gnus
.
(Tue, 17 Nov 2020 15:22:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
.
(Tue, 17 Nov 2020 15:22:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
(info "(gnus) Article Date") says
‘W T s’
Display the date using a user-defined format
(‘gnus-article-date-user’). The format is specified by the
‘gnus-article-time-format’ variable, and is a string that’s passed
to ‘format-time-string’. See the documentation of that variable
for a list of possible format specs.
Without examples the user is a loss at figuring out how to set this.
Maybe one does
(setq gnus-article-date-user "%a, %d ...")
but probably not.
(info "(gnus) User-Defined Specs")
has no examples either. In fact maybe some words are missing... without
examples one cannot be sure.
gnus-article-date-headers is a variable defined in ‘gnus-art.el’.
its docstring seems to say we can do
(set-variable 'gnus-article-date-headers '(user-defined))
Same on (info "(gnus) Customizing Articles")
Maybe we are supposed to do
(set-variable 'gnus-article-date-headers '("%a, %d...")) but that
triggers an error.
Wait. Let's try
(set-variable 'gnus-article-time-format "%a, %d...")
(set-variable 'gnus-article-date-headers '(user-defined))
Ah, finally I figured out what the docs are trying to say. Wish they
added an example.
Alas, not only does doing that correctly affect W T s itself,
but it also affects all the other W T's!
emacs-version "27.1"
Information forwarded
to
bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org
:
bug#44707
; Package
emacs,gnus
.
(Tue, 24 Nov 2020 08:40:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 44707 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> (info "(gnus) Article Date") says
>
> ‘W T s’
> Display the date using a user-defined format
> (‘gnus-article-date-user’). The format is specified by the
> ‘gnus-article-time-format’ variable, and is a string that’s passed
> to ‘format-time-string’. See the documentation of that variable
> for a list of possible format specs.
>
> Without examples the user is a loss at figuring out how to set this.
>
> Maybe one does
> (setq gnus-article-date-user "%a, %d ...")
> but probably not.
The manual describes a command: `W T s', so I'm not sure why you're:
> (set-variable 'gnus-article-date-headers '(user-defined))
In any case, `gnus-article-date-user' has a default value that is pretty
self-explanatory.
Closing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 24 Nov 2020 08:41:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
44707 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 24 Nov 2020 08:41:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 22 Dec 2020 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 178 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.