Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-parameter-to-list-alist
@ 2003-11-02  3:22 James H.Cloos Jr.
  2003-11-08 23:30 ` gnus-parameter-to-list-alist Jesper Harder
  0 siblings, 1 reply; 3+ messages in thread
From: James H.Cloos Jr. @ 2003-11-02  3:22 UTC (permalink / raw)


Can this be set such that the value references the key?

Ie, if the key were eg ^.+\(foo.bar@baz.???\)$ I'd like to make
the value expand out to whatever was matched w/in the \(\) pair.

Else I'll need to turd up my .newsrc.eld with lots of to-list
parameter entries. :(

I've not been able to track down exactly where the alist get's
used by the code -- I don't see any reference to it in the .el
files -- so there must be some pattern-matching there....  

-JimC




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

* Re: gnus-parameter-to-list-alist
  2003-11-02  3:22 gnus-parameter-to-list-alist James H.Cloos Jr.
@ 2003-11-08 23:30 ` Jesper Harder
  2003-11-09 18:05   ` gnus-parameter-to-list-alist James H.Cloos Jr.
  0 siblings, 1 reply; 3+ messages in thread
From: Jesper Harder @ 2003-11-08 23:30 UTC (permalink / raw)


James H.Cloos Jr. <cloos@jhcloos.com> writes:

> Can this be set such that the value references the key?
>
> Ie, if the key were eg ^.+\(foo.bar@baz.???\)$ I'd like to make
> the value expand out to whatever was matched w/in the \(\) pair.

I'm not sure, but the example near the end of
<info://gnus/Group+Parameters> suggests that it's possible if you use
`gnus-parameters'.

> I've not been able to track down exactly where the alist get's
> used by the code -- I don't see any reference to it in the .el
> files -- so there must be some pattern-matching there....  

The trick is in the macro `gnus-define-group-parameter'.




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

* Re: gnus-parameter-to-list-alist
  2003-11-08 23:30 ` gnus-parameter-to-list-alist Jesper Harder
@ 2003-11-09 18:05   ` James H.Cloos Jr.
  0 siblings, 0 replies; 3+ messages in thread
From: James H.Cloos Jr. @ 2003-11-09 18:05 UTC (permalink / raw)


>>>>> "Jesper" == Jesper Harder <harder@ifa.au.dk> writes:

Jesper> I'm not sure, but the example near the end of
Jesper> <info://gnus/Group+Parameters> suggests that it's possible if
Jesper> you use `gnus-parameters'.

I found that same info the other day and gave it a try.  Worked perfectly.

But thanks for the reply!

-JimC




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

end of thread, other threads:[~2003-11-09 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-02  3:22 gnus-parameter-to-list-alist James H.Cloos Jr.
2003-11-08 23:30 ` gnus-parameter-to-list-alist Jesper Harder
2003-11-09 18:05   ` gnus-parameter-to-list-alist James H.Cloos Jr.

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