bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12199: c-guess doesn't guess indent-tabs-mode


From: Lars Ingebrigtsen
Subject: bug#12199: c-guess doesn't guess indent-tabs-mode
Date: Tue, 01 Jun 2021 09:35:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Johan Walles <johan.walles@gmail.com> writes:

> Try this:
> 1. Set indent-tabs-mode to nil.
> 2. Load a C file indented with tabs.
> 3. c-guess
> 4. Do describe-variable on indent-tabs-mode
>
> Current result:
> "Its value is nil"
>
> Expected result:
> "Its value is t" (since c-guess should have noticed that tabs are used
> for indentation)

This still seems to be the case in Emacs 28.

I've included my test file here.  Perhaps Alan has some insights here?
(Added to the CCs.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no
main () {
        foo();
        bar();
}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]