Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: equivalent of (vm-subject-of msg) etc
Date: Wed, 18 May 2005 19:01:10 +0900	[thread overview]
Message-ID: <b9y7jhwx389.fsf@jpl.org> (raw)
In-Reply-To: <87hdh06fzr.fsf@mat.ucm.es>

[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

>>>>> In <87hdh06fzr.fsf@mat.ucm.es> Uwe Brauer wrote:

> I tried

> (add-hook 'gnus-article-mode-hook 'my-set-gnus-time)

> (defun my-set-gnus-time ()
> (interactive)
> (format-time-string
>  "%b %d, %Y %T"
>  (apply 'encode-time
> 	(parse-time-string
> 	 (mail-header-date gnus-current-headers)))))

> But that did not work out, what is my mistake?

The function only returns a string but it is never inserted or
displayed anywhere.  Furthermore, gnus-article-mode-hook is
evaluated only when the article buffer is created (Gnus keeps
using it for all articles as long as it is not deleted).

Well, while I don't know what you'd like to do, how about the
following?


[-- Attachment #2: Type: application/emacs-lisp, Size: 335 bytes --]

  reply	other threads:[~2005-05-18 10:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-17  9:28 Uwe Brauer
2005-05-17  9:55 ` Katsumi Yamaoka
2005-05-17 15:19   ` Uwe Brauer
2005-05-17 22:49     ` Katsumi Yamaoka
2005-05-18  9:27       ` Uwe Brauer
2005-05-18 10:01         ` Katsumi Yamaoka [this message]
2005-05-18 13:31           ` Uwe Brauer

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=b9y7jhwx389.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /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).