Gnus development mailing list
 help / color / mirror / Atom feed
From: Christopher K Davis <ckd@ckdhr.com>
Cc: ding@gnus.org
Subject: Re: Not including the signatures in replies
Date: 18 Mar 1999 16:12:57 -0500	[thread overview]
Message-ID: <w4d826o61y.fsf@kline-station.ckdhr.com> (raw)
In-Reply-To: Akim Demaille's message of "17 Mar 1999 14:58:44 +0100"

Akim Demaille <demaille@inf.enst.fr> writes:

> Norbert Koch <n.koch@delta-ii.de> 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 * <ckd-sig@ckdhr.com> * <URL:http://www.ckdhr.com/ckd/>
Put location information in your DNS! <URL:http://www.ckdhr.com/dns-loc/>


      parent reply	other threads:[~1999-03-18 21:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-17 13:19 Akim Demaille
1999-03-17 13:43 ` Norbert Koch
1999-03-17 13:53   ` Akim Demaille
1999-03-17 16:51     ` François Pinard
1999-03-17 13:58   ` Akim Demaille
1999-03-17 14:18     ` Didier Verna
1999-03-17 15:08       ` Kai.Grossjohann
1999-03-18 21:12     ` Christopher K Davis [this message]

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=w4d826o61y.fsf@kline-station.ckdhr.com \
    --to=ckd@ckdhr.com \
    --cc=ding@gnus.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).