Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Slackrat <s4Qlackrat@azurservers.com>
To: info-gnus-english@gnu.org
Subject: Re: gnus-posting-styles confusing
Date: Mon, 13 Aug 2007 12:49:23 +0200	[thread overview]
Message-ID: <877inzwvyk.fsf@azurservers.com> (raw)
In-Reply-To: <1186989333.549695.14690@i38g2000prf.googlegroups.com>

आशीष शुक्ल Ashish Shukla <wahjava@gmail.com> writes:

> Hi,
>
> I'm using Gnus v5.11 on GNU Emacs 22.1.1 (Fedora 7). I'm quite
> confused regarding the use of "gnus-posting-styles". Can someone post
> here an example of "gnus-posting-styles" with also an example to show
> that "gnus-posting-styles" really work. I press 'm' key to compose
> email messages in Gnus, where "To" field is empty and all other stuff
> filled in properly. So what I'm interested in knowing is when does
> "gnus-posting-styles" gets activated, after I press "Send" button, or
> before I press "m" key.
>

...and here's mine - Linux Slack 11 with Gnus 5.11 on Emacs 22.1


I can assure you that it works


;; ##################
;; POSTING HEADERS ##
;; ##################
;;

;; Set some default email and news headers
(setq message-default-mail-headers
"Fcc: ~/Mail/outbox")

(setq message-default-news-headers
"Fcc: ~/News/sent.news.archive")

(setq message-required-mail-headers
      (nconc message-required-mail-headers
             (list '(Face . (lambda ()
                              (gnus-face-from-file "~/.signature/facesmtp.jpg"))))))

(setq message-required-news-headers
      (nconc message-required-news-headers
             (list '(Face . (lambda ()
                              (gnus-face-from-file "~/.signature/facenntp.jpg"))))))

(setq gnus-posting-styles
      '((".*"
	 (name mail-user-name)
	 ("X-Guarantee" "This email is certified to have been free
             of UCE and any other Malicious, Harmful or
             Annoying Content when originally sent by
             <user>@azurservers.com - Azurservers post
             SPF records and do not condone SPAM type
             emails")
	 (signature-file "~/.signature/bill")
	 ("X-Homepage" "http://azurservers.com")
	 ("X-Operating-System" "Slackware GNU/Linux")
	 ("X-Azurservers-AuthNo" "Registered as AZSV bghkd8332277")
	 (organization "Not very much!"))

;; USENET
;;=======

	 ("rec*"
	 (signature-file "~/.signature/davey")
	 (name "Davey Crockett")
	 (address "dav4Qeycrockett@azurservers.com")
	 ("Fcc" "~/Mail/sent-rec")
         )

	 ("gnu.emacs*"
	 (signature-file "~/.signature/slackrat")
	 (name "Slackrat")
	 (address "s4Qlackrat@azurservers.com")
	 ("Fcc" "~/Mail/sent-gnu"))

;; MAILING LISTS
;;==============
	 ("tlug"
	 ("To" "tlug@ss.org")
	 (signature-file "~/.signature/slackrat")
	 (name "SlackRat")
	 (address "slackrat4Q@azurservers.com")
	 ("Fcc" "~/Mail/sent-tlug")
         )

	 ("xitami"
	 ("To" "Xitami Users General Discussion <xitami@lists.xitami.org>")
	 (signature-file "~/.signature/slackrat")
	 (name "SlackRat")
	 (address "slackrat4Q@azurservers.com")
	 ("Fcc" "~/Mail/sent-xitami")
         )

;; INDIVIDUALS
;;============

         ("sublet-nicola"
	 ("To" "Nicola Nunu <bought@hotmail.it>")
	 (signature-file "~/.signature/bill")
	 (name "William E.Henderson")
	 (address "billhenderson@azurservers.com")
	 ("Fcc" "~/Mail/sent-sublet-nicola")
	 ("Bcc" "inconnu@azurservers.com")
         )

 	 ("tanya"
	 ("To" "Tanya Kim Henderson <tanyah@ualberta.ca>")
	 (signature-file "~/.signature/dad")
	 (name "Bill Henderson")
	 (address "billhenderson@azurservers.com")
	 ("Fcc" "~/Mail/sent-tanya")
	 ("Bcc" "inconnu@azurservers.com")
         )

 	 ("gaukroger"
	 ("To" "Kath et John <john.gaukroger@virgin.net>")
	 (signature-file "~/.signature/bill")
	 (name "Bill Henderson")
	 (address "billhenderson@azurservers.com")
	 ("Fcc" "~/Mail/sent-gaukroger")
	 ("Bcc" "inconnu@azurservers.com")
         )
))


-- 
SlackRat - No 4Q to Reply
-
WARNING: 
It is  dangerous to  your Health  to be Right  when the  Government is
Wrong

  parent reply	other threads:[~2007-08-13 10:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13  7:15 आशीष शुक्ल Ashish Shukla
2007-08-13  8:16 ` Tassilo Horn
2007-08-13 10:49 ` Slackrat [this message]
2007-08-13 12:02   ` आशीष शुक्ल Ashish Shukla
2007-08-13 12:27     ` Slackrat
     [not found] ` <mailman.4713.1186993009.32220.info-gnus-english@gnu.org>
2007-08-13  9:40   ` Hadron
2007-08-13 11:59   ` आशीष शुक्ल Ashish Shukla
2007-08-13 13:09     ` Tassilo Horn
     [not found]     ` <mailman.4721.1187010625.32220.info-gnus-english@gnu.org>
2007-08-13 13:41       ` आशीष शुक्ल Ashish Shukla
2007-08-13 15:16         ` Exal de Jesus Garcia Carrillo
2007-08-13 15:58         ` Sivaram Neelakantan
2007-08-13 17:21         ` Tassilo Horn
     [not found]         ` <mailman.4732.1187025727.32220.info-gnus-english@gnu.org>
2007-08-13 18:23           ` Adam Sjøgren
2007-08-14 17:34             ` आशीष शुक्ल Ashish Shukla
2007-08-14 15:49           ` आशीष शुक्ल Ashish Shukla
2007-08-14 17:11             ` Tassilo Horn
     [not found]             ` <mailman.4773.1187111514.32220.info-gnus-english@gnu.org>
2007-08-14 17:35               ` आशीष शुक्ल Ashish Shukla

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=877inzwvyk.fsf@azurservers.com \
    --to=s4qlackrat@azurservers.com \
    --cc=info-gnus-english@gnu.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).