* nnir searching nntp
@ 2001-11-22 13:12 Karl Kleinpaste
2001-11-22 15:49 ` Kai Großjohann
0 siblings, 1 reply; 2+ messages in thread
From: Karl Kleinpaste @ 2001-11-22 13:12 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
I use my own NNTP server, which only takes a couple hundred groups.
It has turned out to be reasonable to sic swish++ on it in the early
morning, and so I'd like to get nnir.el to let me use it
interchangeably with searching my mail archives.
It seemed to me that the problem was straightforward: I merely needed
to define a new wrapper function which uses `let' to set some nnir
variables, and then calls the usual make-group function:
[-- Attachment #2: Type: application/emacs-lisp, Size: 449 bytes --]
[-- Attachment #3: Type: text/plain, Size: 577 bytes --]
Unfortunately, this doesn't work, because the `let' value for
nnir-mail-backend doesn't persist beyond the invocation to create the
ephemeral group. The search results come up just fine, but because
nnir-mail-backend is '(nnml "") in *Summary*, I cannot actually get
the articles without using setq manually.
Any suggestions for how to tweak nnir-mail-backend on the fly?
I could do something truly evil in gnus-select-group-hook, but...well,
i think that would indeed be the epitome of evil. Duplicated data and
all that, since I would still need the `let' here as well.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nnir searching nntp
2001-11-22 13:12 nnir searching nntp Karl Kleinpaste
@ 2001-11-22 15:49 ` Kai Großjohann
0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2001-11-22 15:49 UTC (permalink / raw)
Cc: ding
Karl Kleinpaste <karl@charcoal.com> writes:
> Any suggestions for how to tweak nnir-mail-backend on the fly?
I want to have multi-backend support in nnir. This means migrating
all the variables to server parameters, and then the functions should
access the server parameters (if existant) in preference to the
variables.
Alas, I found no time to do this. Would you like to work on this?
kai
--
Simplification good! Oversimplification bad! (Larry Wall)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-22 15:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-22 13:12 nnir searching nntp Karl Kleinpaste
2001-11-22 15:49 ` Kai Großjohann
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).