From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Standardize tab width variables across major modes
Date: Sat, 04 May 2013 19:46:09 -0400 [thread overview]
Message-ID: <jwvwqreqpnc.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: CAHXt_SUfw3K8Fpqcc7HM07Y+WeYxV8S5ugWX=0-VVZnTJyT7Rw@mail.gmail.com
> Many Emacs modes seem to obey tab-width, e.g. (setq-default tab-width 2).
> But a few modes define their own variables for this:
You then go on to describe something else than tab-width (which is the
display size of a TAB character in the buffer), namely the size of the
default indentation step.
Those two things are very different.
The default indentation step depends on the indentation style, which
tend to vary between languages (even for a single individual).
This said, I agree that we should try and standardize the "default
indentation step" variable used by the various major modes.
`smie-indent-basic' was kind of meant to be this, but it's pretty
difficult to combine the need to obey the old variable's name.
Stefan
prev parent reply other threads:[~2013-05-04 23:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-30 18:22 Standardize tab width variables across major modes Andrew Pennebaker
2013-05-04 23:46 ` Stefan Monnier [this message]
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=jwvwqreqpnc.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--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.