Gnus development mailing list
 help / color / mirror / Atom feed
From: Christoph Conrad <christoph.conrad@gmx.de>
Subject: Feature request: optional sig separator
Date: 06 Nov 2000 22:51:18 +0100	[thread overview]
Message-ID: <m3itq0rcq1.fsf@mutzel.brumpf.de> (raw)

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



             reply	other threads:[~2000-11-06 21:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-06 21:51 Christoph Conrad [this message]
2000-11-06 22:40 ` Francisco Solsona
2000-11-07  7:38   ` Christoph Conrad

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=m3itq0rcq1.fsf@mutzel.brumpf.de \
    --to=christoph.conrad@gmx.de \
    /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).