From: carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Variables indent-tabs-mode and tab-always-indent
Date: Sun, 19 Jun 2022 15:06:40 +0200 (CEST) [thread overview]
Message-ID: <N4w3cwB--3-2@tutanota.com> (raw)
In-Reply-To: <83sfo1mbdh.fsf@gnu.org>
Jun 19, 2022, 06:10 by eliz@gnu.org:
>> Date: Sun, 19 Jun 2022 06:12:54 +0200 (CEST)
>> From: carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
>>
>>
>> Documentation for variable `indent-tabs-mode` states "Indentation can insert tabs if this is non-nil".
>>
>> How do these two variables work together
>>
>
> When the value of tab-always-indent and the situation in which you
> press the TAB key are such that Emacs decides to indent the line,
> indent-tabs-mode controls whether Emacs inserts just spaces or a muix
> of TABs and spaces.
>
Does this mean that `tab-always-indent` is just about what happens when the tab key is used;
whilst `indent-tabs-mode` is concerned about the indentation style of whether to use tab or spaces?
>> and do they conflict?
>>
>
> No.
>
Do you recommend to enable both? The variable `indent-tabs-mode` does not say what it uses as default.
next prev parent reply other threads:[~2022-06-19 13:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-19 4:12 Variables indent-tabs-mode and tab-always-indent carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-19 6:10 ` Eli Zaretskii
2022-06-19 13:06 ` carlmarcos--- via Users list for the GNU Emacs text editor [this message]
2022-06-19 13:54 ` Eli Zaretskii
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=N4w3cwB--3-2@tutanota.com \
--to=help-gnu-emacs@gnu.org \
--cc=carlmarcos@tutanota.com \
--cc=eliz@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.