From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39354 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: [patch] age depending date-format Date: Wed, 17 Oct 2001 12:09:31 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <2nvgheqmdg.fsf@zsh.cs.rochester.edu> References: <2n1yk3tiil.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175072 27412 80.91.224.250 (21 Oct 2002 04:37:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:37:52 +0000 (UTC) Return-Path: Original-Received: (qmail 23193 invoked from network); 17 Oct 2001 16:11:38 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 17 Oct 2001 16:11:38 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15ttHk-0000Nl-00; Wed, 17 Oct 2001 11:11:12 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 17 Oct 2001 11:10:51 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA06050 for ; Wed, 17 Oct 2001 11:10:35 -0500 (CDT) Original-Received: (qmail 23176 invoked by alias); 17 Oct 2001 16:10:41 -0000 Original-Received: (qmail 23171 invoked from network); 17 Oct 2001 16:10:41 -0000 Original-Received: from zsh.cs.rochester.edu (HELO zsh.2y.net) (192.5.53.126) by gnus.org with SMTP; 17 Oct 2001 16:10:41 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id f9HG9Vr20602; Wed, 17 Oct 2001 12:09:31 -0400 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q Mail-Copies-To: never In-Reply-To: (Frank Schmitt's message of "Wed, 17 Oct 2001 09:16:26 +0200") Original-Lines: 29 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.107 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39354 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39354 Frank Schmitt writes: > ShengHuo ZHU writes: > >>It is cute, but we'd better let users use %uX instead of adding %q >>into g-s-l-f-a. For example, (defalias 'gnus-user-format-function-X >>'gnus-user-date). > > Why? Do you think too few would use it? OK. I added the extended spec to gnus-spec.el. So we can use something like "%&user-date;" or "%&fancy-date;" in the format. >>A suggestion. Is it better to use a variable like >>gnus-user-data-format-alist instead of gnus-user-date-format-day and >>it friends? g-u-d-f-a is a list of cons of elapsed time (or symbol) >>and format. For example, >> >>(defvar gnus-user-data-format-alist >> '((day-in-seconds . "%k:%M") >> (604800 . "%a %k:%M") >> (t . "%d.%m)) >> "Blah blah") > > This is a nice idea. Have you signed FSF paper? If not, I can send you the form. ShengHuo