[Conkeror] conkeror-xr: string input with history?
John J Foerch
jjfoerch at earthlink.net
Mon Nov 5 13:46:45 PST 2007
"Mark Eichin" <eichin at gmail.com> writes:
> I need an interactive() mode that lets me prompt for a string with
> history. I used to do this with miniBufferComplete; while [["s",
> "prompt: "]] is working to get the input at all, m-p doesn't show any
> prior values.
>
> Should I be adding something to interactive_methods? And if so...
> what I really want is something to let me input a list of single-word
> tag names, with completion (and history.) Should I just start with
> what 'b' or 'f' do now and experiment?
>
> --
> _Mark_ <eichin at thok.org> <eichin at gmail.com>
Hi Mark,
interactive_methods.s should be improved to allow for history to be
provided by the caller. Right now I'm not satisfied with
interactive's way of passing arguments to interactive methods. You
may notice that in interactive.js, some interactive methods require
their arguments to be passed as functions, while others, like `s' will
take a simple string prompt. Also, arguments to interactive methods
are always passed by position, which makes it hard to provide a
consistent interface. If you have any ideas for how to overcome these
problems, or even just a patch to get a quick fix for what you want to
do right now, I would be glad to know and assist.
--John
More information about the Conkeror
mailing list