From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60334 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.general Subject: Re: equivalent of (vm-subject-of msg) etc Date: Wed, 18 May 2005 13:31:45 +0000 Message-ID: <87mzqsirsu.fsf@mat.ucm.es> References: <871x86ryl8.fsf@mat.ucm.es> <87psvpg9se.fsf@mat.ucm.es> <87hdh06fzr.fsf@mat.ucm.es> Reply-To: Uwe Brauer NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116423375 11332 80.91.229.2 (18 May 2005 13:36:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 May 2005 13:36:15 +0000 (UTC) Original-X-From: ding-owner+M8861@lists.math.uh.edu Wed May 18 15:36:12 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYOhC-0002ut-Kz for ding-account@gmane.org; Wed, 18 May 2005 15:34:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DYOeC-0004bG-00; Wed, 18 May 2005 08:31:40 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DYOe5-0004bA-00 for ding@lists.math.uh.edu; Wed, 18 May 2005 08:31:33 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DYOe2-0000Wk-A6 for ding@lists.math.uh.edu; Wed, 18 May 2005 08:31:30 -0500 Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1DYOe1-0005wd-00 for ; Wed, 18 May 2005 15:31:29 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 27 Original-NNTP-Posting-Host: maportatil10.quim.ucm.es Original-X-Trace: quimby.gnus.org 1116423089 22401 147.96.7.218 (18 May 2005 13:31:29 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 18 May 2005 13:31:29 +0000 (UTC) X-Hashcash: 1:20:050518:gnus.ding::x2G+nZuc1KNYyUu9:000000001aat User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4.17 (linux) Cancel-Lock: sha1:KOD1bMxtoGT+LzLpngy8Xrug+r4= X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60334 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60334 >>>>> "Katsumi" == Katsumi Yamaoka 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