This year also he found a congenial occupation in editing Bentham's Rationale of Judicial Evidence.
His Manual of the Law of Scotland (1839) brought him into notice; he joined Sir John Bowring in editing the works of Jeremy Bentham, and for a short time was editor of the Scotsman, which he committed to the cause of free trade.
At the same time he assisted in editing the Journal des Luxus and der Moden, the Deutsche Merkur, and the London and Paris.
He also collaborated with Lord Esher in editing the Correspondence of Queen Victoria (1907).
From 1847 to 1851 he was engaged at Brunswick in editing the Dictionary of Chemistry started by Liebig, but in the latter year he went to Marburg as successor to Bunsen in the chair of chemistry.