[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make c-indent-line-region respect indent-tabs-mode when it's
From: |
Eli Zaretskii |
Subject: |
Re: How to make c-indent-line-region respect indent-tabs-mode when it's already aligned? |
Date: |
Sun, 31 May 2015 05:40:35 +0300 |
> From: Hong Xu <hong@topbug.net>
> Cc: help-gnu-emacs@gnu.org
> Date: Sat, 30 May 2015 15:48:42 -0700
>
> >> Is there a different line indentation function which respects
> >> indent-tabs-mode even the line is already aligned?
> >
> > You are using the wrong command. You should use untabify to convert
> > tabs to spaces, or tabify to do the opposite.
>
> Thanks. Is there a single command to do formatting though? I think
> people want to format the line more than simply "indent" the line.
indent-region, bound to C-M-\ by default, usually works for me.