[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Spaces rather than tabs by a major mode hook
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Spaces rather than tabs by a major mode hook |
Date: |
Thu, 9 Jun 2022 19:16:20 +0000 |
> Suppose I have a file with tabs, would the change
> show the tabs as spaces?
^^^^^^^^^^^^^^^^^^^^^^^
> I would rather have the file show as it is. If there are tabs
> in the file, would (setq-default indent-tabs-mode nil) show them as
> spaces?
What does the doc tell you?
Indentation can insert tabs if this is non-nil.
^^^^^^
It's about inserting whitespace chars when you
indent text, or when Emacs does that for you.
It's not about what is displayed. And there's no
changing of what's already there - unless you
edit in such a way that things get reindented.
So no, other than editing, existing TAB chars remain.
To change TAB chars to SPC chars, use `M-x untabify'.
- Re: Spaces rather than tabs by a major mode hook, (continued)
- Re: Spaces rather than tabs by a major mode hook, Yuri Khan, 2022/06/09
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/09
- Re: Spaces rather than tabs by a major mode hook, Yuri Khan, 2022/06/09
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/09
- Re: Spaces rather than tabs by a major mode hook, Yuri Khan, 2022/06/09
- Re: Spaces rather than tabs by a major mode hook, Emanuel Berg, 2022/06/10
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/10
- Re: Spaces rather than tabs by a major mode hook, Eli Zaretskii, 2022/06/11
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/09
- RE: [External] : Re: Spaces rather than tabs by a major mode hook, Drew Adams, 2022/06/09
- RE: [External] : Re: Spaces rather than tabs by a major mode hook,
Drew Adams <=
- Re: Spaces rather than tabs by a major mode hook, Tassilo Horn, 2022/06/09
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/09
- Re: Spaces rather than tabs by a major mode hook, Tassilo Horn, 2022/06/09
- Re: Spaces rather than tabs by a major mode hook, Eli Zaretskii, 2022/06/10
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/10
- Re: Spaces rather than tabs by a major mode hook, Po Lu, 2022/06/10
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/10
- Re: Spaces rather than tabs by a major mode hook, tomas, 2022/06/10
- Re: Spaces rather than tabs by a major mode hook, Eli Zaretskii, 2022/06/10
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/10