Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Bernhard Gschaider <Bernhard.nospam.Gschaider@nospam.ice-sf.at>
To: info-gnus-english@gnu.org
Subject: Changing the "Sender" for the summary buffer
Date: Thu, 30 Aug 2007 10:55:18 +0200	[thread overview]
Message-ID: <87abs9fll5.fsf@workstation001.office.ice-sf.at> (raw)


Hi!

I have the following thing I want my Gnus to do, but before I set out
to try it I want to know whether it can be done with juistifyable
effort (my lisp is a bit rusty ....):

I'm receiving mails from a message board software (and a filter sorts
them into a separate folder). Obviously the sender address is that of
the MessageBoard-software. Each mail starts with the message 
"This was posted by Isidor Pepranek on Tuesday..."
(the name variies obviously)

Now what I would like to achive is that in the summary-buffer of the
folder for the Sender-Name instead of the MessageBoard-name the name
of the poster is displayed.

I have some vague ideas how this can be achieved (something with a
hook on that group that filters the name from the message body and a
local gnus-summary-line-format format), but I'm lacking experience
with Gnus-programming, so it would take me days just to figure out
where to look. 

Can somebody give me a hint how this could be done? Just something
like "look at variable foo, implement hook bar for the buffer".

One of the key questions for me is: Can it only be done by generating
a new mail-header when filtering the mail (thus changing the messages
on disk) or can it be done during the displaying of the summary
buffer?

Of course if somebody has already done something similar and would be
so kind to share it (I can adapt it) I would be very grateful

Bernhard

-- 
Writing software is more fun than working.

             reply	other threads:[~2007-08-30  8:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30  8:55 Bernhard Gschaider [this message]
2007-08-30 18:13 ` Reiner Steib
2007-08-30 20:27   ` Bernhard Gschaider

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=87abs9fll5.fsf@workstation001.office.ice-sf.at \
    --to=bernhard.nospam.gschaider@nospam.ice-sf.at \
    --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).