help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to change indent width one buffer at a time?


From: despen
Subject: Re: How to change indent width one buffer at a time?
Date: Fri, 18 Dec 2009 10:25:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Mat <nabble.mexon@spamgourmet.com> 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".


reply via email to

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