From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21616 Path: main.gmane.org!not-for-mail From: jari.aalto@poboxes.com (Jari Aalto+mail.emacs) Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-treat-date-user-defined not working (patch included) Date: 26 Feb 1999 22:37:13 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035159686 23840 80.91.224.250 (21 Oct 2002 00:21:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:21:26 +0000 (UTC) Keywords: format,gnus-article-time-format,variable,gnus-treat-date-user-defined,display,date,value,jari Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA17647 for ; Fri, 26 Feb 1999 15:38:38 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB14887; Fri, 26 Feb 1999 14:37:25 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 26 Feb 1999 14:38:17 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id OAA12878 for ; Fri, 26 Feb 1999 14:37:59 -0600 (CST) Original-Received: from axl01it.ntc.nokia.com (axl01it.ntc.nokia.com [131.228.118.232]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA17622 for ; Fri, 26 Feb 1999 15:37:46 -0500 (EST) Original-Received: from zeus.ntc.nokia.com (zeus.ntc.nokia.com [131.228.134.50]) by axl01it.ntc.nokia.com (8.8.5/8.6.9) with SMTP id WAA14629 for ; Fri, 26 Feb 1999 22:36:23 +0200 (EET) Original-Received: from creator.ntc.nokia.com (creator.ntc.nokia.com [131.228.48.178]) by zeus.ntc.nokia.com (8.6.4/8.6.4) with ESMTP id WAA03043 for ; Fri, 26 Feb 1999 22:45:54 +0200 Original-Received: (from jaalto@localhost) by creator.ntc.nokia.com (8.8.6 (PHNE_14041)/8.7.1) id WAA24666; Fri, 26 Feb 1999 22:37:13 +0200 (EET) Original-To: Ding mailing list X-Sender-Info: Emacs tiny tools: ftp://cs.uta.fi/pub/ssjaaa/ File server: Send subject 'send help' to PGP 2.6.x keyid 47141D35 http://www.pgp.net/pgpnet/ User-Agent: WEMI/1.13.3 (Yaizu) FLIM/1.12.3 (Kintetsu-Kòriyama) Emacs/20.3 (hppa1.1-hp-hpux10.01) MULE/4.0 (HANANOEN) In-Reply-To: Lars Magne Ingebrigtsen's message of "26 Feb 1999 07:55:48 +0100" Original-Lines: 52 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:21616 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:21616 * 1999-02-26 Lars Magne Ingebrigtsen list.ding * Message-Id: | jari.aalto@poboxes.com (Jari Aalto+mail.emacs) writes: | | > How do I make gnus to display it like this all the time? | | See `gnus-treat-date-user-defined'. gnus-treat-date-user-defined's value is gnus-article-date-user Documentation: Display the date in a user-defined format. The format is defined by the `gnus-article-time-format' variable. --- gnus-article-time-format's value is my-gnus-article-date Documentation: Format for display of Date headers in article bodies. See `format-time-string' for the possible values. The variable can also be function, which should return a complete Date header. The function is called with one argument, the time, which can be fed to `format-time-string'. I had: (setq gnus-treat-date-user-defined 'gnus-article-date-user) (setq gnus-article-time-format 'my-gnus-article-date) But it didn't make a difference Hm; after debugging I found out that the the visual had to be turned on in order to these variables be respected. I propose following patch to the documentation. jari --- gnus-art.el.orig Fri Feb 26 22:33:09 1999 +++ gnus-art.el Fri Feb 26 22:34:18 1999 @@ -717,7 +717,8 @@ (defcustom gnus-treat-date-user-defined nil "Display the date in a user-defined format. -The format is defined by the `gnus-article-time-format' variable." +The format is defined by the `gnus-article-time-format' variable. +Note: `gnus-visual' must contain value 'article-highlight." :group 'gnus-article-treat :type gnus-article-treat-custom)