Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Subject: Re: Change article "From" field
Date: Wed, 06 Feb 2008 21:27:17 +0100	[thread overview]
Message-ID: <v9bq6tsue2.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <b4m8x1y1thi.fsf@jpl.org>

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/

  parent reply	other threads:[~2008-02-06 20:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.7018.1202271207.18990.info-gnus-english@gnu.org>
2008-02-06  6:36 ` Katsumi Yamaoka
2008-02-06  8:54   ` William Xu
2008-02-06 20:27   ` Reiner Steib [this message]
2008-02-07  7:34     ` William Xu
     [not found] ` <foed64$g7c$1@news.sap-ag.de>
2008-02-08  8:31   ` William Xu
2008-02-06  4:12 William Xu

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=v9bq6tsue2.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=info-gnus-english@gnu.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).