From “Longlegts” to “Carrie,” “Heathers,” and “Rosemary’s Baby.”