From: Harry Putnam <reader@newsguy.com>
Subject: Re: Multiple mail backends/nnir
Date: 16 Apr 2000 13:36:38 -0700 [thread overview]
Message-ID: <m2aeitrdex.fsf@reader.ptw.com> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "16 Apr 2000 20:40:46 +0200"
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> Harry Putnam <reader@newsguy.com> writes:
>
> > I'm thinking a hook of somekind that gets invoked when nnir is
> > invoked. That hook would be a list of possible of `nnir-glimpse-home'
> > vars.
>
> Ah, of course. Silly me.
>
> How about this one?
>
> (defun hp-search-backend-1 ()
> (interactive)
> (setq nnir-glimpse-home ...)
> (setq nnir-mail-backend ...)
> (call-interactively 'gnus-group-make-nnir-group))
>
> Note: You can't have more than one query in progress at any one time
> using the above method. Like I said, just a kluge.
Kai, you are a patient and generous soul...
How can I get gnus tp prompt for nnir-glimpse-home from these functions?
(defun hp-search-backend-1 ()
(interactive)
(setq nnir-glimpse-home "/home/reader/.glimpse-m)
; (setq nnir-mail-backend ...)
(call-interactively 'gnus-group-make-nnir-group))
(defun hp-search-backend-2 ()
(interactive)
(setq nnir-glimpse-home /home/reader/.glimpse-m2)
; (setq nnir-mail-backend ...)
(call-interactively 'gnus-group-make-nnir-group))
(defun hp-search-backend-3 ()
(interactive)
(setq nnir-glimpse-home /home/reader/.glimpse-n2m)
; (setq nnir-mail-backend ...)
(call-interactively 'gnus-group-make-nnir-group))
Of course they can be evaled when needed, but I hoped to see how to
make gnus offer me a list of nnir-glimpse-home directories when I
press 'G G'. Probably complicated coding eh?
What about a function that prompts for nnir-glimpse-home that is
called manually with `M-x' then.
So that when I say M-x hp-search-backend, gnus prompts me for one
with completion available...... he he. Never satisfied
next prev parent reply other threads:[~2000-04-16 20:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-16 11:53 Harry Putnam
2000-04-16 13:01 ` Kai Großjohann
2000-04-16 17:59 ` Harry Putnam
2000-04-16 18:40 ` Kai Großjohann
2000-04-16 20:36 ` Harry Putnam [this message]
2000-04-17 9:55 ` Kai Großjohann
2000-04-17 13:30 ` David S. Goldberg
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=m2aeitrdex.fsf@reader.ptw.com \
--to=reader@newsguy.com \
/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).