From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21985 Path: main.gmane.org!not-for-mail From: Christopher K Davis Newsgroups: gmane.emacs.gnus.general Subject: Re: Not including the signatures in replies Date: 18 Mar 1999 16:12:57 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035159988 25768 80.91.224.250 (21 Oct 2002 00:26:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:26:28 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA19635 for ; Thu, 18 Mar 1999 16:18:11 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB11776; Thu, 18 Mar 1999 15:16:12 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 18 Mar 1999 15:14:23 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id PAA01130 for ; Thu, 18 Mar 1999 15:13:55 -0600 (CST) Original-Received: from kline-station.ckdhr.com (qmailr@kline-station.ckdhr.com [209.192.160.22]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id QAA19515 for ; Thu, 18 Mar 1999 16:13:33 -0500 (EST) Original-Received: (qmail 1564 invoked by uid 139); 18 Mar 1999 21:12:57 -0000 Original-To: Akim Demaille X-Face: I8Alb*-ZdjN\/8k_QR,^l^m6GQB'S-B:}DVP].1HOw#tx:TX$k;Wl;4zqjWR|-jheM#? &beRf(!|0b0m=M~=%.Am>"QEY.(#Ys.%"s?z,hmwp&y0%p>9+T X-Attribution: ckd In-Reply-To: Akim Demaille's message of "17 Mar 1999 14:58:44 +0100" Original-Lines: 27 X-Mailer: Gnus v5.6.44/XEmacs 20.4 - "Emerald" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:21985 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:21985 Akim Demaille writes: > Norbert Koch writes: >> (setq message-cite-function 'message-cite-original-without-signature) > Actually it's in Supercite I'd like to have a > sc-message-cite-original-without-signature. (defun ckd-delete-signature () "Delete signature from reply buffer. Shamelessly stolen from message-cite-original-without-signature." (let ((start (point)) (end (mark t))) (goto-char end) (when (re-search-backward "^-- $" start t) ;; Also peel off any blank lines before the signature. (forward-line -1) (while (looking-at "^[ \t]*$") (forward-line -1)) (forward-line 1) (delete-region (point) end)) (goto-char start))) (add-hook 'sc-pre-hook 'ckd-delete-signature) -- Christopher Davis * * Put location information in your DNS!