I have twice encountered a very similar random stumbling / a cylinder cutting out unstable idle with my 1978 XS. Made me nearly rip my hairoff.....
I went througt the vent in the fuel tank, carbs, igntion, timing ( mine has points ignition not electronic ) and a lot of other thing. I even...