From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mat Newsgroups: gmane.emacs.help Subject: How to change indent width one buffer at a time? Date: Fri, 18 Dec 2009 03:33:13 -0800 (PST) Message-ID: <26842186.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1261147921 24517 80.91.229.12 (18 Dec 2009 14:52:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2009 14:52:01 +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 15:51:54 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 1NLe6S-000249-N1 for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Dec 2009 15:46:49 +0100 Original-Received: from localhost ([127.0.0.1]:53436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLe6S-0007p8-Qc for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Dec 2009 09:46:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLb5U-0002Tw-So for help-gnu-emacs@gnu.org; Fri, 18 Dec 2009 06:33:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLb5P-0002Rq-Aa for Help-gnu-emacs@gnu.org; Fri, 18 Dec 2009 06:33:35 -0500 Original-Received: from [199.232.76.173] (port=47107 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLb5P-0002Rj-2B for Help-gnu-emacs@gnu.org; Fri, 18 Dec 2009 06:33:31 -0500 Original-Received: from kuber.nabble.com ([216.139.236.158]:35655) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NLb5L-0006og-Eg for Help-gnu-emacs@gnu.org; Fri, 18 Dec 2009 06:33:31 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NLb57-0002zD-7v for Help-gnu-emacs@gnu.org; Fri, 18 Dec 2009 03:33:13 -0800 X-Nabble-From: nabble.mexon@spamgourmet.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 18 Dec 2009 09:46:23 -0500 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:70729 Archived-At: 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? Thanks, Mat -- View this message in context: http://old.nabble.com/How-to-change-indent-width-one-buffer-at-a-time--tp26842186p26842186.html Sent from the Emacs - Help mailing list archive at Nabble.com.