Gnus development mailing list
 help / color / mirror / Atom feed
From: "Sebastian P. Luque" <spluque@gmail.com>
To: ding@lists.math.uh.edu
Subject: removing signatures when using supercite
Date: Tue, 08 Jun 2010 17:14:55 -0500	[thread overview]
Message-ID: <87ocfl2mu8.fsf@kolob.sebmags.homelinux.org> (raw)

Hi,

I'd like to remove signatures when replying/following-up while using
`sc-cite-original' for `message-cite-function' (i.e. Supercite).  I
thought the following would do:

(add-hook 'mail-citation-hook 'message-remove-signature)

so that:

,-----[ C-h v mail-citation-hook RET ]
| mail-citation-hook is a variable defined in `sendmail.el'.
| Its value is 
| (sc-cite-original message-remove-signature)
| 
| 
|   This variable is potentially risky when used as a file local variable.
| 
| Documentation:
| Hook for modifying a citation just inserted in the mail buffer.
| Each hook function can find the citation between (point) and (mark t),
| and should leave point and mark around the citation text as modified.
| The hook functions can find the header of the cited message
| in the variable `mail-citation-header', whether or not this is included
| in the cited portion of the message.
| 
| If this hook is entirely empty (nil), a default action is taken
| instead of no action.
| 
| You can customize this variable.
`-----

It seems `message-remove-signature' should work here.  Should it be
placed in some other hook?


Cheers,

-- 
Seb



             reply	other threads:[~2010-06-08 22:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 22:14 Sebastian P. Luque [this message]
2010-06-09  3:46 ` Katsumi Yamaoka
2010-06-09  4:04   ` Sebastian P. Luque
2010-06-09  5:13     ` Sebastian P. Luque
2010-06-09  6:09     ` Katsumi Yamaoka
2010-06-09 12:32       ` Sebastian P. Luque
2010-06-09  6:31   ` Citation line (was: removing signatures when using supercite) Teemu Likonen
2010-06-09  8:08     ` Citation line Katsumi Yamaoka

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=87ocfl2mu8.fsf@kolob.sebmags.homelinux.org \
    --to=spluque@gmail.com \
    --cc=ding@lists.math.uh.edu \
    /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).