Gnus development mailing list
 help / color / mirror / Atom feed
From: jari.aalto@poboxes.com (Jari Aalto+mail.emacs)
Subject: Re: gnus-treat-date-user-defined not working (patch included)
Date: 26 Feb 1999 22:37:13 +0200	[thread overview]
Message-ID: <tbww14aoli.fsf_-_@blue.sea.net> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "26 Feb 1999 07:55:48 +0100"

* 1999-02-26 Lars Magne Ingebrigtsen <larsi@gnus.org> list.ding
* Message-Id: <m3hfs9hcwb.fsf@quimbies.gnus.org>
| 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)
 


  reply	other threads:[~1999-02-26 20:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-21 15:51 gnus-treat-date-user-defined not working Jari Aalto+mail.emacs
1999-02-26  6:55 ` Lars Magne Ingebrigtsen
1999-02-26 20:37   ` Jari Aalto+mail.emacs [this message]
1999-02-26 22:11     ` gnus-treat-date-user-defined not working (patch included) Jari Aalto+mail.emacs
1999-02-26 22:51       ` Lars Magne Ingebrigtsen
1999-02-26 22:43     ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tbww14aoli.fsf_-_@blue.sea.net \
    --to=jari.aalto@poboxes.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).