"The first reaction, using OH
- to hydrolyse the lactone stops the ring from re-forming."
Didn't know that. In organics there are to many things to be memorized
!
"The methyl ester is a good leaving group, perhaps it leaves first to give the ketone which reacts with the vinyl Grignard. The reaction with ammonia is a nucleophillic displacement on one of the Br atoms, it them attacks the other one closing the ring."
Yes, the mechanism looks like that. Is it common for esters to behave this way with Grignard (so I can know for similar problems)?
For ammonia, I suppose that it is S
N2 then.
"That Cl is an acid chloride and many many times more reactive than an alkyl halide."
Why? Shouldn't it harder form Cl- ion than the other Cl atom because of the inductive effect?