Gnus development mailing list
 help / color / mirror / Atom feed
From: Francisco Solsona <flsc@hp.fciencias.unam.mx>
Subject: Re: posting styles problem: "body" attribute
Date: 07 Nov 2000 10:16:08 -0600	[thread overview]
Message-ID: <86lmuvoj07.fsf@beta.fciencias.unam.mx> (raw)
In-Reply-To: <ruovgtzoo7t.fsf@g.wolfram.com>

Bill White <billw@wolfram.com> writes:

[...]

> So is it possible to make the "body" attribute in my posting style
> insert its stuff *after* the newline? Or is there some other way to
> automatically delete/disable the newline?

The newline comes from `message-insert-signature' (see message.el),
what you can do is to create your own function to insert the
signature, for instance:

;; Untested!
(defun my-sig ()
  (interactive)
  (insert "Your cool signature here."))

and then you can use:

,----[ ~/.gnus ]
| (setq gnus-posting-styles
|       '((".*"
|          (body "\n\nbw")
|          (signature my-sig))))
`----

Francisco (not newline removed) ;-)
-- 
If you know everything - snap out of it. If you know nothing - don't be so 
modest. If you know something - work from there. 
-Alex Armstrong



  reply	other threads:[~2000-11-07 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-07 13:47 LDAP support Jorge Godoy
2000-11-07 14:23 ` posting styles problem: "body" attribute Bill White
2000-11-07 16:16   ` Francisco Solsona [this message]
2000-11-08  0:53 ` LDAP support Daniel Pittman
2000-11-08 11:40   ` Fabrice Gamberini
2000-11-08 15:04     ` Jorge Godoy
2000-11-09 15:16       ` Fabrice Gamberini

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=86lmuvoj07.fsf@beta.fciencias.unam.mx \
    --to=flsc@hp.fciencias.unam.mx \
    /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).