I am trying to sort out the issue dealing with the choice between "for gerund" and "to infinitive".
They took her to the warehouse for questioning. (IDIOMATIC)
He came here for fishing. (WRONG) - 2a He came here to fish. (OK)
He came here for opening a business. (WRONG) - 3a He came here to open a business. (OK)
They bought an oven for cooking food. (OK?)
We send the strawberries there for producing jam. (OK?)
My question is this: What are the factors influencing over the choice of the gerund and the infinitive?
Why is it OK to use "for gerund" in 1 and not OK to do so in 2 and 3?
Sentences 4 and 5, I think, some people accept, others don't. They would switch the gerund to the infinitive in them. Any advice on how to find the right way?