The lens will be fully manual on the m42 to K mount adapter, with stop down metering. Be sure to move the 'auto/manual' switch on the lens to 'manual' so the lens will stop down when you move the aperture ring.

Side note; the Vemar might not be a Miranda mount. I've seen some Vemar pre-set lenses that look like a T mount but had their own adapter system thread size.