Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: set different fqdn in posting-styles
Date: Fri, 28 Sep 2001 14:50:08 +0200	[thread overview]
Message-ID: <vaf3d57bhtr.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <m1g098cfsx.fsf@reader.newsguy.com> (Harry Putnam's message of "Thu, 27 Sep 2001 17:36:14 -0700")

Harry Putnam <reader@newsguy.com> writes:

> Currently I use this in .gnus:
> (defun message-make-fqdn ()
>   "My  hacked message-id."
>   "reader.newsguy.com")
>
> To get it right for most posts.  Now I want to overide that from `G p'
> posting-styles code in a  specific group.

How about 

(defun message-make-fqdn ()
  "My hacked hacked message-id."
  (if (string-match "x" gnus-newsgroup-name)
      "xyzzy.com"
    "reader.newsguy.com"))

This uses a different FQDN if the group name contains "x".

kai
-- 
Abort this operation?   [OK]  [Cancel]



  reply	other threads:[~2001-09-28 12:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-28  0:36 Harry Putnam
2001-09-28 12:50 ` Kai Großjohann [this message]
2001-09-28 19:26   ` Harry Putnam

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=vaf3d57bhtr.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.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).