Gnus development mailing list
 help / color / mirror / Atom feed
From: Vijay Lakshminarayanan <laksvij@gmail.com>
To: ding@gnus.org
Subject: Re: showing date in summary buffer
Date: Thu, 11 Aug 2011 23:42:20 +0530	[thread overview]
Message-ID: <87wrejlsvv.fsf@gmail.com> (raw)
In-Reply-To: <878vr03r7h.fsf@topper.koldfront.dk> ("Adam \=\?iso-8859-1\?Q\?Sj\?\= \=\?iso-8859-1\?Q\?\=F8gren\=22's\?\= message of "Thu, 11 Aug 2011 17:25:54 +0200")

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Thu, 11 Aug 2011 20:43:51 +0530, Vijay wrote:
>
>> Is there any way to format the summary buffer so that it shows the date?
>
> You can change the variable gnus-summary-line-format to include the
> date in a couple of different formats (%D, %d, %o, etc):
>
> ,----[ C-h v gnus-summary-line-format RET ]
> | gnus-summary-line-format is a variable defined in `gnus.el'.
> | Its value is "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n"
> | 
> | Documentation:
> | *The format specification of the lines in the summary buffer.
> | 
> | It works along the same lines as a normal formatting string,
> | with some simple extensions.
> | 
> [...]
> | %D          Date of the article (string)
> | %d          Date of the article (string) in DD-MMM format
> | %o          Date of the article (string) in YYYYMMDD`T'HHMMSS
> |             format
> [...]
> | &user-date; Age sensitive date format. Various date format is
> |             defined in `gnus-summary-user-date-format-alist'.
> [...]

Exactly what I needed.  Thanks, Adam!

(setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-23,23f%]%) %s on %d
")

>   Best regards,
>
>      Adam

-- 
Cheers
~vijay

Gnus should be more complicated.



  reply	other threads:[~2011-08-11 18:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 13:27 nnimap-transform-headers crashing Julien Cubizolles
2011-08-11 15:13 ` showing date in summary buffer Vijay Lakshminarayanan
2011-08-11 15:25   ` Adam Sjøgren
2011-08-11 18:12     ` Vijay Lakshminarayanan [this message]
2011-08-11 20:30 ` nnimap-transform-headers crashing Andrew Cohen
2011-08-11 22:29   ` Julien Cubizolles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrejlsvv.fsf@gmail.com \
    --to=laksvij@gmail.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).