From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9509 Path: news.gmane.org!not-for-mail From: =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= Newsgroups: gmane.emacs.gnus.user Subject: Re: gnus-posting-styles confusing Date: Mon, 13 Aug 2007 04:59:09 -0700 Organization: http://groups.google.com Message-ID: <1187006349.550081.97090@i13g2000prf.googlegroups.com> References: <1186989333.549695.14690@i38g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1187008866 31290 80.91.229.12 (13 Aug 2007 12:41:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Aug 2007 12:41:06 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Aug 13 14:41:04 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IKZEG-0008D1-9l for gegu-info-gnus-english@m.gmane.org; Mon, 13 Aug 2007 14:41:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IKZEF-0007m9-M5 for gegu-info-gnus-english@m.gmane.org; Mon, 13 Aug 2007 08:41:03 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i13g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 111 Original-NNTP-Posting-Host: 122.163.238.23 Original-X-Trace: posting.google.com 1187006350 12593 127.0.0.1 (13 Aug 2007 11:59:10 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 13 Aug 2007 11:59:10 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i13g2000prf.googlegroups.com; posting-host=122.163.238.23; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79698 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9509 Archived-At: Tassilo Horn \/\/|20+3: > =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4=95=E0=A5=8D= =E0=A4=B2 Ashish Shukla writes: > > Hi, > > > Can someone post here an example of "gnus-posting-styles" with also an > > example to show that "gnus-posting-styles" really work. > > Sure, here're mine. > > --8<---------------cut here---------------start------------->8--- > (setq gnus-posting-styles > `((".*" > (address "thorn+news@fastmail.fm") > ("Face" (lambda () > (let ((file (th-random-file "~/.faces" "\\.jpg"))) > (message "Chose %s as Face file." file) > (gnus-face-from-file file)))) > (signature (fortune-to-signature > (replace-regexp-in-string > "\\.dat$" "" > (th-random-file fortune-dir))))) > > (,(rx "infko.") > (address "heimdall@uni-koblenz.de")) > > (,(rx (or (and (opt "de.") (or "comp." "comm.software.")) > "gnu." > "nntp+Gmane:")) > (address "tassilo@member.fsf.org")) > > (,(rx "gmane.comp.printing.ghostscript.") > ;; Posting requires whitelist keyword "artifex" spelled backward= s=2E > ("X-Fnord" "xefitra")) > > ("de.alt.music.metal" > (signature (th-now-playing))) > > (,(rx "nnimap+Fastmail:INBOX") > (address "thorn@fastmail.fm")) > > (,(rx "nnimap+Fastmail:INBOX.news") > (address "thorn+news@fastmail.fm")) > > (,(rx "nnimap+Fastmail:INBOX.FSF") > (address "tassilo@member.fsf.org")) > > (,(rx "nnimap+Fastmail:INBOX.mailinglists." > (or "emms-patches" > "stumpwm-devel" > "bbdb-info" > "sbcl-devel" > "openchrome")) > (address "tassilo@member.fsf.org")) > > (,(rx"nnimap+Fastmail:INBOX.mailinglists." > (or "d-barf" > "tsdh-fans" > "dtofans")) > (address "thorn@fastmail.fm")) > > (,(rx "nnimap+Fastmail:INBOX.uni") > (address "heimdall@uni-koblenz.de")))) > --8<---------------cut here---------------end--------------->8--- > > > > 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. > > None of both. They are used after you press `m' to initialize the mail > or posting buffer. Thanks to all for the replies. When I press "m" in "*Group*" buffer in Gnus, a buffer comes with following text already filled in -- begin buffer -- To: Subject: From: wahjava@gmail.com (Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7= =E0=A4=B6=E0=A5=81=E0=A4=95=E0=A5=8D=E0=A4=B2) Gcc: nnmaildir:sent-mail --text follows this line-- <#secure method=3Dpgpmime mode=3Dsign> -- end bufer -- Now, I've to fill the recipient's address in "To" field. So now tell me how comes is "gnus-posting-styles" thing gets invoked, when I've not filled in "To" field. Did you mean that it gets invoked after I fill "To" field, hmm.. ? or I've to add some more stuff in my ".gnus", hmm... ? If required I'll paste my ".gnus" here. And one more thing I don't have any NNTP subscription, so I don't use Gnus for reading any newsgroups. I use Gnus only for reading my mails. > > Bye, > Tassilo > -- > GNU Emacs is a text editor for =C3=9Cber-Geeks. Thanks Ashish Shukla -- http://wahjava.wordpress.com/