From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79634 Path: news.gmane.org!not-for-mail From: Vijay Lakshminarayanan Newsgroups: gmane.emacs.gnus.general Subject: Re: showing date in summary buffer Date: Thu, 11 Aug 2011 23:42:20 +0530 Message-ID: <87wrejlsvv.fsf@gmail.com> References: <87aabg84ed.fsf@free.fr> <8739h8kmkw.fsf@gmail.com> <878vr03r7h.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1313086416 12044 80.91.229.12 (11 Aug 2011 18:13:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2011 18:13:36 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27930@lists.math.uh.edu Thu Aug 11 20:13:31 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QrZl3-0003WZ-4L for ding-account@gmane.org; Thu, 11 Aug 2011 20:13:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QrZkE-00077z-C1; Thu, 11 Aug 2011 13:12:38 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QrZkC-00077e-CP for ding@lists.math.uh.edu; Thu, 11 Aug 2011 13:12:36 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QrZkB-0006tM-5r for ding@lists.math.uh.edu; Thu, 11 Aug 2011 13:12:35 -0500 Original-Received: from mail-yx0-f172.google.com ([209.85.213.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QrZk9-0005N4-JN for ding@gnus.org; Thu, 11 Aug 2011 20:12:33 +0200 Original-Received: by yxp4 with SMTP id 4so2073607yxp.17 for ; Thu, 11 Aug 2011 11:12:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=GSzJALbDHC3xPV1AHwn4yzABcJwPXg2AbqRbK/5znVs=; b=E6/gJPMCy4U8xQyu0BbuUEsCFoXPsdu1YuPKkXs1yCtH1YoDOG8dMIokmQvxZ7doZP 4NnDomNOQU+JGKaAYNFLumw3L+1gkN4IPzOk/sU1t9dLZera7uozW9JROCXeN/7iO5wj ktFZaVQpCs7tb0oS5MqRJcx4wy+NxejwP5VTI= Original-Received: by 10.142.193.3 with SMTP id q3mr8161443wff.243.1313086346690; Thu, 11 Aug 2011 11:12:26 -0700 (PDT) Original-Received: from BALROG ([59.92.64.60]) by mx.google.com with ESMTPS id i9sm1895309pbk.20.2011.08.11.11.12.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Aug 2011 11:12:25 -0700 (PDT) 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") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79634 Archived-At: asjo@koldfront.dk (Adam Sj=F8gren) 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" > |=20 > | Documentation: > | *The format specification of the lines in the summary buffer. > |=20 > | It works along the same lines as a normal formatting string, > | with some simple extensions. > |=20 > [...] > | %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 --=20 Cheers ~vijay Gnus should be more complicated.