2. It's better to have the attitude that if you have a different form, then it is likely to express different meaning as well.
(to-inﬁnitive clauses express meanings of potential situations, -ing clauses tend to express factual meanings)
3. Your very last example (about David walking) is erroneous, and doesn't appear to be a valid example, go analyse it.
Student or Learner