Gnus development mailing list
 help / color / mirror / Atom feed
* removing signatures when using supercite
@ 2010-06-08 22:14 Sebastian P. Luque
  2010-06-09  3:46 ` Katsumi Yamaoka
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastian P. Luque @ 2010-06-08 22:14 UTC (permalink / raw)
  To: ding

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-06-09 12:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-08 22:14 removing signatures when using supercite Sebastian P. Luque
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

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).