while probably surprised by the sudden advent of a passionate young pole in his midst , thomas jefferson had made him welcome , and the two men had spent most of a day deeply involved in the discussion of philosophy ( in french ) , from which they had emerged fast friends .