[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adding date to the summary buffer
From: |
Stephen Berman |
Subject: |
Re: adding date to the summary buffer |
Date: |
Mon, 20 Jan 2025 23:22:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Mon, 20 Jan 2025 19:29:03 +0000 gfp <gfp@posteo.at> wrote:
> Hi,
>
> I didnĀ“t have a
> "gnus summary buffer lines" format in my gnus.el file
[...]
> How can I add the date at the end of the lines,
> in order to know when it was sent?
>
> In the manual it says:
> add: d for the Date in DD-MMM format.
> add: o for the Date in YYYYMMDD format.
> T in HHMMSS format:
> What does HHMMSS format mean?
>
>
> I would like the format: DD-MMM-YYYY
> Is that possible?
>
> What do I have to change in the
> gnus-summary-buffer-line?
> (setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n")
This seems to do what you want:
(setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-23,23f%]%) %s %~(form
(format-time-string \"%d-%b-%Y\" (gnus-date-get-time (mail-header-date
gnus-tmp-header))))@\n")
See (info "(gnus) Advanced Formatting") for the use of `~(form ...)'.
The sexp for the time of the current article I strung together by
looking at the source of `gnus-summary-line-format-alist' and
`gnus-dd-mmm'.
Instead of setq it might be better to use setopt or the Customize UI,
since `gnus-summary-line-format' is a user option.
Steve Berman
- adding date to the summary buffer, gfp, 2025/01/20
- Re: adding date to the summary buffer, Michael Heerdegen, 2025/01/20
- Re: adding date to the summary buffer,
Stephen Berman <=
- Re: adding date to the summary buffer, Eric S Fraga, 2025/01/21
- Re: adding date to the summary buffer, Gottfried, 2025/01/21
- Re: adding date to the summary buffer, Fraga, Eric, 2025/01/21
- Re: adding date to the summary buffer, Gottfried, 2025/01/21
- Re: adding date to the summary buffer, Fraga, Eric, 2025/01/21
- Re: adding date to the summary buffer, gfp, 2025/01/21
- Re: adding date to the summary buffer, Fraga, Eric, 2025/01/21
- Re: adding date to the summary buffer, gfp, 2025/01/21
- Re: adding date to the summary buffer, Robert Pluim, 2025/01/21
- Re: adding date to the summary buffer, Eric S Fraga, 2025/01/21