While working on this, I ran into some additional propset issues.
1) I think propset 7 and propset 9 are probably the same propset, and the current differences result from mistakes or making different choices among similar propcases. Presently, M3 and sx710 are the only camera that use 9, but I'm going to switch sx710 to 7
The sig finder propset code can't distinguish them.
All the IDs match, except:
USER_AV was different, because it was wrong in propset 7 (fixed in trunk 5989, stable 5991).
Some of CUSTOM_* values are different, because they came from M3, which uses "picture styles" rather than "my colors". These values are only informational for script, but IMO, the "picture style" stuff doesn't represent the same functionality, so trying to map it onto the "my colors" propcases is a mistake. If we want to document the picture stile propcases, they should be given separate IDs, and scripts that want to use them should check for ILC.
Focus mode, as below
2) REAL_FOCUS_MODE vs FOCUS_MODE,
On propsets 9, 10, 11 and 13, REAL_FOCUS_MODE is defined the same as FOCUS_MODE. This is wrong, because the values are incompatible. FOCUS_MODE is 0 = any AF mode, 1 = MF, while REAL_FOCUS_MODE has values like 0 = AF, 1 = Macro, 3 = Inf, 4 = MF, 5 = Super macro (actual modes available vary by cam)
I expect this arose because the M cams don't have REAL_FOCUS_MODE, but IMO the correct thing to do in that case is to adjust shooting_get_real_focus_mode based on CAM_ILC if needed (I think the current logic gives FOCUS_MODE priority, so as long as REAL_FOCUS_MODE stays 0, no change would actually be needed). The ID define should be set to whatever is correct for non-ILC cams, or the best guess, if no non-ILC cams are known for that propset.
Help wanted
For this issue I'd like to confirm that propcase ID 6 reflects the normal REAL_FOCUS_MODE on non-ILC cams
propset 13 - g7x2
propset 11 - ixus185 or sx430
and to confirm whether it's always 0 on ILC cams.
I verified on propset10 (ixus175_elph180) that propcase 6 behaves as expected for REAL_FOCUS_MODE.