From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69724 Path: news.gmane.org!not-for-mail From: "Sebastian P. Luque" Newsgroups: gmane.emacs.gnus.general Subject: removing signatures when using supercite Date: Tue, 08 Jun 2010 17:14:55 -0500 Organization: University of Manitoba Message-ID: <87ocfl2mu8.fsf@kolob.sebmags.homelinux.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1276035435 20793 80.91.229.12 (8 Jun 2010 22:17:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Jun 2010 22:17:15 +0000 (UTC) To: ding@lists.math.uh.edu Original-X-From: ding-owner+M18115@lists.math.uh.edu Wed Jun 09 00:17:13 2010 connect(): No such file or directory Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OM76d-0000X8-99 for ding-account@gmane.org; Wed, 09 Jun 2010 00:17:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OM74s-0000v4-BV; Tue, 08 Jun 2010 17:15:22 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OM74q-0000uq-Gb for ding@lists.math.uh.edu; Tue, 08 Jun 2010 17:15:20 -0500 Original-Received: from idcmail-mo1so.shaw.ca ([24.71.223.10]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1OM74k-0000R4-1s for ding@lists.math.uh.edu; Tue, 08 Jun 2010 17:15:19 -0500 Original-Received: from pd4ml2so-ssvc.prod.shaw.ca ([10.0.141.136]) by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 08 Jun 2010 16:15:09 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=D9kaWc58KyMA:10 a=ADBQPqJMlbwA:10 a=VphdPIyG4kEA:10 a=SBk0VD5RLtBA4KUBIqACxg==:17 a=x_lJglJ9E4Hz_7QrHy4A:9 a=vaMKbO6J3Wfmvyx--w4A:7 a=AycVrHALfIR2uD6aOCRKfrcsQdwA:4 Original-Received: from unknown (HELO kolob.sebmags.homelinux.org) ([24.77.73.195]) by pd4ml2so-dmz.prod.shaw.ca with ESMTP; 08 Jun 2010 16:15:03 -0600 Mail-Followup-To: ding@lists.math.uh.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69724 Archived-At: 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