he studied in edinburgh universities and in his home town