An intriguing idea: As you write a paper/essay/whatever software would scan your text for search terms and run those searches, giving you additional sources and ideas as you write.
Write While You Search: Ambient Searching of a Digital Library in the Context of Writing.
(pdf)
from ResourceShelf