From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9409 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus date suggestion Date: 15 Jan 1997 02:09:06 +0100 Sender: larsi@proletcult.slip.ifi.uio.no Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035149440 18298 80.91.224.250 (20 Oct 2002 21:30:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:30:40 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.4/8.8.4) with SMTP id RAA21520 for ; Tue, 14 Jan 1997 17:29:50 -0800 Original-Received: from proletcult.slip.ifi.uio.no (root@ppp12.larris.ifi.uio.no [129.240.68.112]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 15 Jan 1997 02:14:35 +0100 Original-Received: (from larsi@localhost) by proletcult.slip.ifi.uio.no (8.8.2/8.8.2) id CAA18335; Wed, 15 Jan 1997 02:09:09 +0100 Original-To: ding@ifi.uio.no In-Reply-To: David Moore's message of 12 Jan 1997 14:07:54 -0800 Original-Lines: 31 X-Mailer: Red Gnus v0.81/Emacs 19.34 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > Yeah, that might be nice, or more generally provide you with a > format for displaying article times. I've now added your new variable and code to Red Gnus 0.81. > Proposed changed interface to format-time-string: > > format-time-string: (FORMAT-STRING TIME &optional ZONE) > -- a built-in function. > Use FORMAT-STRING to format the time TIME. > TIME is specified as (HIGH LOW . IGNORED) or (HIGH . LOW), as from > `current-time' and `file-attributes'. > FORMAT-STRING may contain %-sequences to substitute parts of the time. > ZONE defaults to the current time zone rule. This can be a string > (as from `set-time-zone-rule'), or it can be a list > (as from `current-time-zone'), or an integer (as from `decode-time') > applied without consideration for daylight savings time, or it can be > T which specifies the time is a delta rather than a true time. > > I would like to see this, or equivalent functionality, in > xemacs (and gnu emacs), and I'm quite willing to code it, if there is a > consensus on how it should be done. Hm... I think using a t value for a delta seems a bit kludgy. Perhaps we should just have a different function? -- (domestic pets only, the antidote for overdose, milk.) larsi@ifi.uio.no * Lars Ingebrigtsen