From: Uwe Brauer <oub@mat.ucm.es>
Subject: Re: equivalent of (vm-subject-of msg) etc
Date: Wed, 18 May 2005 13:31:45 +0000 [thread overview]
Message-ID: <87mzqsirsu.fsf@mat.ucm.es> (raw)
In-Reply-To: <b9y7jhwx389.fsf@jpl.org>
>>>>> "Katsumi" == Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>> 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?
Katsumi> The function only returns a string but it is never inserted or
Right, and I now realize this is precisely what I need for my main
talk to insert a string in my diary, together with the appropriate
(diary compatible) date string.
Your other solution is also appreciated, thanks
Uwe
prev parent reply other threads:[~2005-05-18 13:31 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
2005-05-18 13:31 ` Uwe Brauer [this message]
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=87mzqsirsu.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
/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).