Passage 1
That these eddies are stirred by causes that have no connection with either dominant interests or present impressions seems manifest from the phenomena of dreaming. The chaotic imagery there appears due to the unequal stimulus of nutrition in different localities. But if an accidental variation in nutrition is sufficient to determine the brain's action, what safeguard have we at any time against its random influence? It may of course be reasonably objected that the exceptional state of sleep can afford no proper clue to the brain's operations when awake. But Maury in his classic work, Le Sommeil, has conclusively proved the passage of dreams through "hypnagogic hallucinations" into that meteoric shower of images and suggestions, irrelevant to the main line of thought, the continual presence of which every one who has once had his interest awakened in the subject, will without difficulty recognise in himself. Ordinarily these perish in being born, but if one by chance saunters into the mind, which is related to the dominant pursuit of the moment, presto! it is pounced upon and becomes part of the empirical Ego. The greatest inventions, the most brilliant thoughts often turn up thus accidentally, but may mould for all that the future of the man. Would they have gained this prominence above their peers without the watchful eye of consciousness to recognise their value and emphasise them into permanence?
James grants accidental physiological origins for ideas, but makes consciousness decisive in recognizing, valuing, and preserving the ideas that become part of a life.
Are We Automata? · line 452