Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: info-gnus-english@gnu.org
Subject: problems with the news-reply-hook and the message-setup-hook
Date: Thu, 15 Nov 2007 19:18:34 +0100	[thread overview]
Message-ID: <874pfnl6dh.fsf@mat.ucm.es> (raw)



Hello

As you may all know today the top *posting style* is the "standard" for
a lot of users and one has almost to apologise  for using *bottom
posting* or *inline replying*. So I modified some old code of bbdbsig
which inserted different signatures according to a certain bbdb
field. 

My code basically follows the same idea, just at the very beginning of
the message there is a line

Hello user,

According to your last mail,


And then comes the quote.

Now that function I have defined interactively and in this way I can
call it, however I would find it more convenient to have it in a hook,
so that I don't have to call the function explicitly however I put it
in the news-reply-hook and in the message-setup-hook without any
result. Can anybody give me an idea?

Thanks and regards
 

Uwe Brauer

             reply	other threads:[~2007-11-15 18:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15 18:18 Uwe Brauer [this message]
2007-11-17 13:01 ` Reiner Steib
2007-11-19 14:23   ` Uwe Brauer
2007-11-19 18:19     ` Reiner Steib

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=874pfnl6dh.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --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).