Gnus development mailing list
 help / color / mirror / Atom feed
* How to pass information to backend?
@ 1999-03-27  0:19 Kai.Grossjohann
  1999-03-27  9:14 ` Simon Josefsson
  1999-03-28 17:27 ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Kai.Grossjohann @ 1999-03-27  0:19 UTC (permalink / raw)


I have written nnir.el which allows you to search your mail.  It is a
`virtual backend'.  The group name is interpreted as the query (and
vice versa), and nnir.el creates a virtual group with the query
results in it.

I think passing information between Gnus and the backend via the group
name is a suboptimal solution.  For example, queries might get quite
long, and long group names are difficult to show in the mode line.

But mostly my problem with this is that I feel I am misusing the group
name for something it was never intended for.

Have you got better suggestions on how to communicate between Gnus and
the backend?

kai
-- 
I like _\bb_\bo_\bt_\bh kinds of music.


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

* Re: How to pass information to backend?
  1999-03-27  0:19 How to pass information to backend? Kai.Grossjohann
@ 1999-03-27  9:14 ` Simon Josefsson
  1999-03-28 17:27 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Josefsson @ 1999-03-27  9:14 UTC (permalink / raw)
  Cc: ding

Kai.Grossjohann@CS.Uni-Dortmund.DE writes:

> Have you got better suggestions on how to communicate between Gnus and
> the backend?

Pass the data to the backend in the `defs' parameter of
`nnfoo-open-server'?


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

* Re: How to pass information to backend?
  1999-03-27  0:19 How to pass information to backend? Kai.Grossjohann
  1999-03-27  9:14 ` Simon Josefsson
@ 1999-03-28 17:27 ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-03-28 17:27 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE writes:

> Have you got better suggestions on how to communicate between Gnus and
> the backend?

Well, most backends have a defvoo'd variable that says, er, something, 
and then Gnus creates a group with

(nnfoo "" (nnfoo-that-thing "set-to-something") ... )

as the server.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

end of thread, other threads:[~1999-03-28 17:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-27  0:19 How to pass information to backend? Kai.Grossjohann
1999-03-27  9:14 ` Simon Josefsson
1999-03-28 17:27 ` Lars Magne Ingebrigtsen

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