This tune was played at the Lucerne Session - found in "the book" #819 and rewritten to today’s styles
I know a setting in C called Hunter’s Hornpipe, a tune which can be found in many 19c American tunebooks. O’Neill #1717 goes by the same name but is a completely different tune.
Can also be found in the Athole Collection (1884) under the title "Douglas", and in ‘Old Scottish Music’ (Annie Shand 1932) as "The Lochmaben Hornpipe" (she says it was from an old manuscript found in Dryhope Tower). I’m sure I remember it somewhere else with a different name, but it escapes me at this moment.