From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net Newsgroups: gmane.emacs.help Subject: Re: How to change indent width one buffer at a time? Date: Fri, 18 Dec 2009 10:25:53 -0500 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261151128 3793 80.91.229.12 (18 Dec 2009 15:45:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2009 15:45:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 18 16:45:21 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NLf0v-0000zh-Ku for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Dec 2009 16:45:10 +0100 Original-Received: from localhost ([127.0.0.1]:34909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLf0v-00013T-Gz for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Dec 2009 10:45:09 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-X-Trace: news.eternal-september.org U2FsdGVkX19sUZnlGBDUkMc7H6k58MoU/O9kIJUGKK7FDv/yEs+0ya5z39Q8eWTyf9K9uH0Kzh99RMzECqwQGA9p3Fhbg5hL6IfZOGv6dzuqYysQeqhkNrOgrXCAf/lwQmpT4N3GH1s= Original-X-Complaints-To: abuse@eternal-september.org Original-NNTP-Posting-Date: Fri, 18 Dec 2009 15:25:53 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19Rzy/wzqJNRmsZkWKCxtEQxy72Hpj2k3BNyaUEiJgWXA== Cancel-Lock: sha1:w1EluIYjRxn6uMuZ7rwchtE4Gnk= sha1:RzV95la87AEtzQLFUD4J+xHFy8Y= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:175657 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70733 Archived-At: Mat writes: > I've been trying to google this, but any search on "emacs indent width" turns > up suggestions for setting c-basic-offset or similar. That's great if > you're the only person who works on your code or there's an efficient > code-formatting gestapo in your office. For normal people, who have to work > with other normal people, some files use two spaces, some four, some eight, > and if you reformat an entire file to your preferred depth just to make a > one-line fix and check it into the repository then everyone shouts at you. > > So how do I quickly change the indent width for this buffer only? Google "emacs file local variables".