No idea where to begin looking for this one, so any suggestions, tips, tests etc just say.
I have bracket matching enabled in emacs. Evey so often i (in c++ mode) it decides that "<" and ">" are brackets that need matching and it then screws up all the indentations etc. I cannot see why it does this.
struct_Converted.vMEt > (map_decayTypes[tString_decayType]).varDouble_MEtCut &&
struct_Converted.vEtRelIso40_2 < (map_decayTypes[tString_decayType]).varDouble_EtRelIso40_2Cut &&
struct_Converted.vRelWeight_Jet1 > (map_decayTypes[tString_decayType]).varDouble_RelWeight_Jet1
this code started off fine, emacs saw the "</>" (on lines 2 and 3) as greater than and less than symbols. I then copied and pasted it somewhere else in the code (C-k, C-y), and emacs decided they were now brackets. If I delete them and add them back, line 2 first and then line 3 it is fine again and they are not treated as brackets. If I add back line 3 and then line 2's they are treated as brackets.
Any thoughts? It is driving me crazy.