From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16785 Path: news.gmane.org!not-for-mail From: Sharon Kimble Newsgroups: gmane.emacs.gnus.user Subject: Re: time in summary line (was: Tweaking.) Date: Sun, 23 Mar 2014 14:03:27 +0000 Message-ID: <20140323140327.2aacee62@london> References: <87txar73o6.fsf@talktalk.net> <87lhw2hffe.fsf@nowhere.org> <20140322151818.5d11b3b1@london> <87wqfmnsvn.fsf@topper.koldfront.dk> <20140322163707.26e97692@london> <87siqankl3.fsf@topper.koldfront.dk> <20140322203407.2fd223c0@london> <87mwgine75.fsf@topper.koldfront.dk> <20140323125220.7018c77f@london> <87k3bl11b8.fsf_-_@micropit.couberia.selfip.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0754457618502758875==" X-Trace: ger.gmane.org 1395583433 27393 80.91.229.3 (23 Mar 2014 14:03:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Mar 2014 14:03:53 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Mar 23 15:04:04 2014 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WRj0M-0006lG-FE for gegu-info-gnus-english@m.gmane.org; Sun, 23 Mar 2014 15:04:02 +0100 Original-Received: from localhost ([::1]:60278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRj0L-0005g3-Rq for gegu-info-gnus-english@m.gmane.org; Sun, 23 Mar 2014 10:04:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRj0F-0005ee-Kq for info-gnus-english@gnu.org; Sun, 23 Mar 2014 10:04:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WRj0A-0005JI-HV for info-gnus-english@gnu.org; Sun, 23 Mar 2014 10:03:55 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WRj0A-0005JB-7Y for info-gnus-english@gnu.org; Sun, 23 Mar 2014 10:03:50 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WRj08-0006ZP-9V for info-gnus-english@gnu.org; Sun, 23 Mar 2014 15:03:48 +0100 Original-Received: from host-92-20-151-135.as13285.net ([92.20.151.135]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Mar 2014 15:03:48 +0100 Original-Received: from boudiccas by host-92-20-151-135.as13285.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Mar 2014 15:03:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 140 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host-92-20-151-135.as13285.net X-Newsreader: Claws Mail 3.9.3 (GTK+ 2.24.22; i486-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16785 Archived-At: --===============0754457618502758875== Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/n21JOF/pC8iP+N8zeB/iqZD"; protocol="application/pgp-signature" --Sig_/n21JOF/pC8iP+N8zeB/iqZD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 23 Mar 2014 14:39:39 +0100 Peter M=C3=BCnster wrote: > On Sun, Mar 23 2014, Sharon Kimble wrote: >=20 > > * Summary line format > > gnus-summary-line-format "%0{%U%R%z%}%3{=E2=94=82%} %1{%d%} > > %3{=E2=94=82%}%4{%-20,20f%} %3{=E2=94=82%} %1{%B%}%s\n" > > > > gives this in the summary - > > R. =E2=94=82 23-Mar =E2=94=82 Cron Daemon =E2=94=82 * Cron > > /usr/bin/apt-get update > > > > which is very good except its not showing the time of posting. How > > do I get that please? >=20 > "&user-date;" is useful: >=20 > --8<---------------cut here---------------start------------->8--- > gnus-user-date-format-alist is a variable defined in `gnus-sum.el'. > Its value is shown below. >=20 > Documentation: > Specifies date format depending on age of article. > This is an alist of items (AGE . FORMAT). AGE can be a number (of > seconds) or a Lisp expression evaluating to a number. When the age of > the article is less than this number, then use `format-time-string' > with the corresponding FORMAT for displaying the date of the article. > If AGE is not a number or a Lisp expression evaluating to a > non-number, then the corresponding FORMAT is used as a default value. >=20 > Note that the list is processed from the beginning, so it should be > sorted by ascending AGE. Also note that items following the first > non-number AGE will be ignored. >=20 > You can use the functions `gnus-seconds-today', `gnus-seconds-month' > and `gnus-seconds-year' in the AGE spec. They return the number of > seconds passed since the start of today, of this month, of this year, > respectively. >=20 > You can customize this variable. >=20 > This variable was introduced, or its default value was changed, in > version 24.1 of Emacs. >=20 >=20 > Value: (((gnus-seconds-today) > . "%H:%M") > ((+ > (* 60 60 24) > (gnus-seconds-today)) > . "Yesterday") > ((* 60 60 24 5) > . "%A") > ((gnus-seconds-year) > . "%b %d") > (t . "%Y/%m/%d")) >=20 > Original value was=20 > (((gnus-seconds-today) > . "Today, %H:%M") > ((+ 86400 > (gnus-seconds-today)) > . "Yesterday, %H:%M") > (604800 . "%A %H:%M") > ((gnus-seconds-month) > . "%A %d") > ((gnus-seconds-year) > . "%B %d") > (t . "%b %d %Y")) > --8<---------------cut here---------------end--------------->8--- >=20 Thanks, but I have this - (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number (not gnus-t= hread-sort-by-date)) ; inverted sorting: newest threads on top gnus-treat-buttonize t ; Add buttons gnus-treat-buttonize-head 'head ; Add buttons to the head gnus-treat-emphasize t ; Emphasize text gnus-treat-display-smileys t ; Use Smilies gnus-treat-strip-cr 'last ; Remove carriage returns gnus-treat-hide-headers 'head ; Hide headers gnus-boring-article-headers '(empty followup-to newsgroups many-to reply= -to) gnus-treat-hide-boring-headers 'head ; -Hide boring headers ;gnus-fetch-old-headers 'some ; prevent teared threads by = loading older but read postings gnus-fetch-old-headers 250 ; this should achieve the same result, wit= hout the excessive waiting for some groups =20 gnus-sum-thread-tree-single-indent "* " gnus-sum-thread-tree-single-leaf "+-> " gnus-summary-display-arrow t gnus-summary-line-format "%0{%U%R%z%}%3{=E2=94=82%} %1{%d%} %3{=E2=94= =82%} %4{%-20,20f%} %3{=E2=94=82%} %1{%B%}%s\n" ;gnus-summary-line-format "%U%R%z%d %I%(%[ %s %]%)\n" ;gnus-summary-line-format "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n" ; defa= ult ) but I can't see how to add '&user-date;' in the middle of a list? Perhaps I= 'm being dim? Sharon. --=20 =EF=BB=BFA taste of linux =3D http://www.sharons.org.uk my git repo =3D https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, emacs 24.3.1 Registered Linux user 561944 --Sig_/n21JOF/pC8iP+N8zeB/iqZD Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCgAGBQJTLum3AAoJEDaBgBkK+INbKB0QAIjqSxLd1E7G3eM94zWT585C Sdpg8hIdxOE9BtFmC8eNxWMT9eu5SNgjZbyAph4bRkssvglcdt2wFSAs2+WxvHtm clJUNOETYtGAeNmbu4poRmgnwDL7mE6WQoS4UE61XhNX/amL21SllTtbI+C1Dpul TB5mHl0Pj8P+zl+t7C5drj/heEi39OgBvfDnjLi3XqlshpIz6qGvOBQuZ75OAY4b 6UvlgUMWEZmPgmwLFpNmHFisL145dJU/ccFTVMJVaJZHHmF0vnjUGgKdDm8q5IH9 Y7OK+UH1gxg84d6IB74DnkJUpmNweQZsQM7DMQum0NOT5npRFyabhT4W9R4FX8Dn Malp/mOe5jhhttnnEcsV+/R+J2e99u4rI3lyEsniZj8rtAVtVG94EhMMEbIMJDpF 8eqOaGA2OnggxUe5XwjDoowaaQdSHIlECBO9jmTBmWGvJ/3Lhwo/6FfWZiWj9fu3 2lyfSwBP8oc/ZtfOMxJDl5Gkj6xtHOl3K7VvfX1DsO53eX6wnnsp3q+zCVy8Zuiu 1w8sC7VxzEhqBhBydnyk/9XXlj3So1H+fO2sUEY/RBiRjGhq0ChxCL74Q6wSU9i1 UrmXoxbo6obpGjcqDrluB2+8AtGd72RMQx6ne20iIl1wKyqfTFZesdFsvS/49ZlG r4/R+1qxv99Nu2y31zuz =USgl -----END PGP SIGNATURE----- --Sig_/n21JOF/pC8iP+N8zeB/iqZD-- --===============0754457618502758875== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english --===============0754457618502758875==--