Berkeley, Calif., the Bay Area city known for its progressive politics, has banned the use of natural gas in most new buildings. Environmentalists say it is the first city to enact such a prohibition. San Jose, San Francisco, and dozens of other California municipalities are said to be considering similar bans in the battle against global warming.