On Mon, 20 Jan 2025 19:29:03 +0000 gfp <g...@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