No documentation for 'somecharacters' in specified packages and libraries:
you could try 'help.search("somecharacters")'
>

I'm looking for some advice. I'd like to hack my source code
in such a way that the empty prompt line above is "pre-filled"
with the suggested command. In effect, this would make it
unnecessary to copy-paste (or type)
help.search("somecharacters")

If I did not want to execute the suggested command, I would
Ctrl-c the pre-filled line.

Alternatively, the hack could implement a query, as in:

> ?somecharacters

No documentation for 'somecharacters' in specified packages and libraries:
you could try: