Gnus development mailing list
 help / color / mirror / Atom feed
* changing `message-qmail-inject-program' on a per-group basis?
@ 2001-04-10 17:06 Jason R. Mastaler
  2001-04-10 17:19 ` Paul Jarc
  2001-04-10 17:21 ` Kai Großjohann
  0 siblings, 2 replies; 8+ messages in thread
From: Jason R. Mastaler @ 2001-04-10 17:06 UTC (permalink / raw)


I'm looking for a way to change the value of
`message-qmail-inject-program' when I enter a certain group.
Obviously group parameters come to mind, but this doesn't seem to
work.  When I have the following as my group parameter:

((message-qmail-inject-program "/local/bin/qmail-inject"))

I suppose this is just a limitation of group parameters, so does
anyone have another suggestion?

Thanks.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: changing `message-qmail-inject-program' on a per-group basis?
  2001-04-10 17:06 changing `message-qmail-inject-program' on a per-group basis? Jason R. Mastaler
@ 2001-04-10 17:19 ` Paul Jarc
  2001-04-10 17:21 ` Kai Großjohann
  1 sibling, 0 replies; 8+ messages in thread
From: Paul Jarc @ 2001-04-10 17:19 UTC (permalink / raw)


"Jason R. Mastaler" <jason-dated-fb49e2f681a60bb0@mastaler.com> writes:
> I'm looking for a way to change the value of
> `message-qmail-inject-program' when I enter a certain group.

You could add a function to gnus-summary-mode-hook that sets the
variable, but I'm not sure how the hook function would detect which
group is being entered.


paul


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: changing `message-qmail-inject-program' on a per-group basis?
  2001-04-10 17:06 changing `message-qmail-inject-program' on a per-group basis? Jason R. Mastaler
  2001-04-10 17:19 ` Paul Jarc
@ 2001-04-10 17:21 ` Kai Großjohann
  2001-04-10 18:44   ` jason-dated-782fa06744ff0e55
  1 sibling, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2001-04-10 17:21 UTC (permalink / raw)


Does it help to add this variable to gnus-newsgroup-variables?
kai
-- 
Be indiscrete.  Do it continuously.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: changing `message-qmail-inject-program' on a per-group basis?
  2001-04-10 17:21 ` Kai Großjohann
@ 2001-04-10 18:44   ` jason-dated-782fa06744ff0e55
  2001-04-10 21:31     ` Kai Großjohann
  0 siblings, 1 reply; 8+ messages in thread
From: jason-dated-782fa06744ff0e55 @ 2001-04-10 18:44 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Does it help to add this variable to gnus-newsgroup-variables?

After adding it to `gnus-newsgroup-variables', now
`message-qmail-inject-program' is set to "nil" every time I enter a
group.  So, it is having an effect, just not the desired one.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: changing `message-qmail-inject-program' on a per-group basis?
  2001-04-10 18:44   ` jason-dated-782fa06744ff0e55
@ 2001-04-10 21:31     ` Kai Großjohann
  2001-04-11 19:22       ` jason-dated-cc255dcb6bb1f57f
  0 siblings, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2001-04-10 21:31 UTC (permalink / raw)


On 10 Apr 2001, jason-dated-782fa06744ff0e wrote:
> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> 
>> Does it help to add this variable to gnus-newsgroup-variables?
> 
> After adding it to `gnus-newsgroup-variables', now
> `message-qmail-inject-program' is set to "nil" every time I enter a
> group.  So, it is having an effect, just not the desired one.

And if you enter the group where you set the variable?

You could set the default value in the top-level topic (the `Gnus'
topic).

You could set the default value of that variable via (setq-default
message-qmail-inject-program "...").

Does that help?  I haven't actually tried any of this.

kai
-- 
Be indiscrete.  Do it continuously.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: changing `message-qmail-inject-program' on a per-group basis?
  2001-04-10 21:31     ` Kai Großjohann
@ 2001-04-11 19:22       ` jason-dated-cc255dcb6bb1f57f
  2001-04-11 21:18         ` Kai Großjohann
  0 siblings, 1 reply; 8+ messages in thread
From: jason-dated-cc255dcb6bb1f57f @ 2001-04-11 19:22 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> > After adding it to `gnus-newsgroup-variables', now
> > `message-qmail-inject-program' is set to "nil" every time I enter a
> > group.  So, it is having an effect, just not the desired one.
> 
> And if you enter the group where you set the variable?

As soon as I enter a group, the value is reset to "nil" no matter what
I have for `message-qmail-inject-program' in that group's parameters.

> You could set the default value in the top-level topic (the `Gnus'
> topic).

Doesn't seem to help.

> You could set the default value of that variable via (setq-default
> message-qmail-inject-program "...").

Ditto.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: changing `message-qmail-inject-program' on a per-group basis?
  2001-04-11 19:22       ` jason-dated-cc255dcb6bb1f57f
@ 2001-04-11 21:18         ` Kai Großjohann
  2001-04-12 21:44           ` jason-dated-93f4dfb051cccecc
  0 siblings, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2001-04-11 21:18 UTC (permalink / raw)


Maybe it helps to put the variable in gnus-newsgroup-variables and to
add a function to gnus-summary-mode-hook (or another one of the
summary hooks) which sets the variable depending on the value of
gnus-newsgroup-name. 
kai
-- 
Be indiscrete.  Do it continuously.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: changing `message-qmail-inject-program' on a per-group basis?
  2001-04-11 21:18         ` Kai Großjohann
@ 2001-04-12 21:44           ` jason-dated-93f4dfb051cccecc
  0 siblings, 0 replies; 8+ messages in thread
From: jason-dated-93f4dfb051cccecc @ 2001-04-12 21:44 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Maybe it helps to put the variable in gnus-newsgroup-variables and
> to add a function to gnus-summary-mode-hook (or another one of the
> summary hooks) which sets the variable depending on the value of
> gnus-newsgroup-name.

This is getting too messy.  I ended up doing what I wanted thru my
delivery-agent instead of Gnus.  Thanks for the help though.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-04-12 21:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-10 17:06 changing `message-qmail-inject-program' on a per-group basis? Jason R. Mastaler
2001-04-10 17:19 ` Paul Jarc
2001-04-10 17:21 ` Kai Großjohann
2001-04-10 18:44   ` jason-dated-782fa06744ff0e55
2001-04-10 21:31     ` Kai Großjohann
2001-04-11 19:22       ` jason-dated-cc255dcb6bb1f57f
2001-04-11 21:18         ` Kai Großjohann
2001-04-12 21:44           ` jason-dated-93f4dfb051cccecc

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