We consider properties of the total absolute geodesic curvature functional on circle immersions into a Riemann surface. In particular, we study its behavior under regular homotopies, its infima in regular homotopy classes, and the homotopy types of spaces of its local minima. We also consider the total curvature functional on the space of 2-sphere immersions into 3-space in a similar spirit. We...