Discontinuous selections are still not supported for commands — probably the command should be run for each selection. Issue #524.