This tune is a polska from the Norwegian region of Røros. In Scotland, where the tune has gained in popularity in recent years, it is known by the generic alternative title “Rørospols” (or Røros Pols”).
Setting X:1 is as the tune is written. Setting X:2 is (roughly) how it is actually played with phrasing as in the first YouTube clip below.
You can hear the tune here:
In Scotland it has been recorded by Amy Geddes (Messing) and Adam Sutherland & Hamish Napier (Vol.1 Highland Livingroom). Both these recordings are in G as opposed to the original D.
Setting X:3 is as played by Amy Geddes.
You can hear Amy’s take here (track 2 from 2:33):
and Adam’s & Hamish’s take here(track 6):
See first comment.