JAMES HOLMES, who opened fire before the midnight premiere of “The Dark Knight Rises,” could not have seen the movie. Like many whose misery is reflected in violence, he may simply have been drawn to a highly publicized event with a big crowd. In cynical terms, he was seeking a publicity tie-in. He was like one of those goofballs waving in the background when a TV reporter does a stand-up at a big story.

James Holmes must also have been insane, and his inner terror expressed itself, as it often does these days, in a link between pop culture and firearms. There was nothing bigger happening in his world right now than the new Batman movie, and in preparation for this day, or another like it, he was purchasing firearms and booby-trapping his apartment. When he was arrested after the shootings, he made no attempt at resistance. His mission was accomplished.

I’m not sure there is an easy link between movies and gun violence. I think the link is between the violence and the publicity. Those like James Holmes, who feel the need to arm themselves, may also feel a deep, inchoate insecurity and a need for validation. Whenever a tragedy like this takes place, it is assigned catchphrases and theme music, and the same fragmentary TV footage of the shooter is cycled again and again. Somewhere in the night, among those watching, will be another angry, aggrieved loner who is uncoiling toward action. The cinematic prototype is Travis Bickle of “Taxi Driver.” I don’t know if James Holmes cared deeply about Batman. I suspect he cared deeply about seeing himself on the news.

Should this young man — whose nature was apparently so obvious to his mother that, when a ABC News reporter called, she said “You have the right person” — have been able to buy guns, ammunition and explosives? The gun lobby will say yes. And the endless gun control debate will begin again, and the lobbyists of the National Rifle Association will go to work, and the op-ed thinkers will have their usual thoughts, and the right wing will issue alarms, and nothing will change. And there will be another mass murder.