all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mat <nabble.mexon@spamgourmet.com>
To: Help-gnu-emacs@gnu.org
Subject: How to change indent width one buffer at a time?
Date: Fri, 18 Dec 2009 03:33:13 -0800 (PST)	[thread overview]
Message-ID: <26842186.post@talk.nabble.com> (raw)


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.





             reply	other threads:[~2009-12-18 11:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-18 11:33 Mat [this message]
     [not found] <mailman.13169.1261147585.2239.help-gnu-emacs@gnu.org>
2009-12-18 15:25 ` How to change indent width one buffer at a time? despen
2009-12-18 18:41   ` Mat
2009-12-19 21:31     ` Kevin Rodgers
     [not found]   ` <mailman.13194.1261214347.2239.help-gnu-emacs@gnu.org>
2009-12-19 14:52     ` despen
2009-12-21  9:35       ` Mat
     [not found]       ` <mailman.2.1261406580.1956.help-gnu-emacs@gnu.org>
2009-12-21 17:18         ` despen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26842186.post@talk.nabble.com \
    --to=nabble.mexon@spamgourmet.com \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.