From: Andrew Pennebaker <andrew.pennebaker@gmail.com>
To: emacs-devel@gnu.org
Subject: Have shell-mode obey standard indentation style variables
Date: Mon, 13 Jul 2015 11:25:04 -0500 [thread overview]
Message-ID: <CAHXt_SXMKBTfquWPqJNSsjSC1qxO0qaqgkLCB0UA_otw54Fjug@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
Emacs offers convenient variables for customizing indentation styles:
indent-tabs-mode and sws-tab-width. For many programming modes, a user can
set these variables globally, and they will automatically be applied to
different file formats. Of course, these can be customized per-mode with
hooks.
However, shell-mode does not appear to respect these variables, only
responding to its own internal variable names sh-basic-offset and
sh-indentation. In the future, could shell-mode please automatically
default these to follow sws-tab-width, so that fewer individual modes
require specific configuration?
Here's my .emacs for reference:
https://github.com/mcandre/dotfiles/blob/master/.emacs#L59-L60
--
Cheers,
Andrew
[-- Attachment #2: Type: text/html, Size: 1008 bytes --]
next reply other threads:[~2015-07-13 16:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-13 16:25 Andrew Pennebaker [this message]
2015-07-13 17:02 ` Have shell-mode obey standard indentation style variables Andreas Schwab
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=CAHXt_SXMKBTfquWPqJNSsjSC1qxO0qaqgkLCB0UA_otw54Fjug@mail.gmail.com \
--to=andrew.pennebaker@gmail.com \
--cc=emacs-devel@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.