[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to change indent width one buffer at a time?

From: Mat
Subject: How to change indent width one buffer at a time?
Date: Fri, 18 Dec 2009 03:33:13 -0800 (PST)

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?

View this message in context:
Sent from the Emacs - Help mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]