[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change article "From" field
From: |
Reiner Steib |
Subject: |
Re: Change article "From" field |
Date: |
Wed, 06 Feb 2008 21:27:17 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
On Wed, Feb 06 2008, Katsumi Yamaoka wrote:
>>>>>> William Xu wrote:
>> ,----
>>| (gnus-summary-edit-article 2)
>>| (goto-char (point-min))
>>| (insert (format "From: %s\n" author))
>>| (gnus-article-edit-done)
>> `----
[...]
> (let ((gnus-article-prepare-hook nil))
> (gnus-article-edit-done))
Wouldn't it make more sense to define a user format function that
fetches "Author:" from the body and display it in the Summary buffer?
In
<http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/gnus/rs-gnus-summary.el>
you can find some examples display e.g. infos from arbitrary headers.
I'm not sure if doing it similar in this case (for body and RSS)
works.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/