From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33228 Path: main.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.gnus.general Subject: Feature request: optional sig separator Date: 06 Nov 2000 22:51:18 +0100 Organization: Gnus Information Center Sender: owner-ding@hpc.uh.edu Message-ID: Reply-To: Christoph Conrad NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169374 24004 80.91.224.250 (21 Oct 2002 03:02:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:02:54 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 72B9FD049A for ; Mon, 6 Nov 2000 16:56:52 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB24358; Mon, 6 Nov 2000 15:56:22 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 06 Nov 2000 15:55:47 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA16049 for ; Mon, 6 Nov 2000 15:55:36 -0600 (CST) Original-Received: from quimby.gnus.org (quimby.gnus.org [195.204.10.139]) by mailhost.sclp.com (Postfix) with ESMTP id 2523AD049A for ; Mon, 6 Nov 2000 16:56:01 -0500 (EST) Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id VAA12971 for ding@gnus.org; Mon, 6 Nov 2000 21:58:17 +0100 (CET) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 39 Original-NNTP-Posting-Host: b228e.pppool.de Original-X-Trace: quimby.gnus.org 973544296 19692 213.7.34.142 (6 Nov 2000 20:58:16 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 6 Nov 2000 20:58:16 GMT X-Public-Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x1B488DEA User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33228 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33228 Hello! See my sig below: it's really all beginning with "Best regards". You cannot achieve that with Gnus out of the box, cause the sig insertion code of Gnus always inserts the separator. This should be the default separator, but it should also possible to turn the insertion of the default separator off. Maybe THEN should be tested when inserting the sig if the separator is a valid "^-- $". To achieve this behaviour i had to do some ugly coding (prevents using `gnus-posting-styles'): (setq message-signature-file "~/.signature") (setq message-signature nil) ;; Calling sequence in function `message-setup': ;; 1) `message-signature-setup-hook' ;; 2) `message-insert-signature' ;; (not called because message-signature is nil) ;; 3) `message-setup-hook' (add-hook 'message-signature-setup-hook (function (lambda() "Add sig without extra \"-- \"" (goto-char (point-max)) ;; Insert the signature. (insert "\n") (unless (bolp) (insert "\n")) (insert-file-contents message-signature-file) (goto-char (point-max)) (or (bolp) (insert "\n"))))) Best regards, cu, -cc- -- This message was written completely with recycled 0's and 1's. (defvar my-computer '((OS . "GNU Emacs") (system-type . gnu/linux)) "Programming environment.")