John Dalrymple (1734–1779), Son of Sir James Dalrymple, Bt, Lord Provost of Edinburgh