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: Stefan Kangas
Subject: bug#12199: c-guess doesn't guess indent-tabs-mode
Date: Thu, 31 Oct 2019 00:28:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

found 12199 26.1
thanks

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

> Package: emacs
> Version: 24.1.1
>
> Hi Emacsers!
>
> c-guess seems not to guess the correct value for indent-tabs-mode.
>
> 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)
>
> Note:
> In my case this makes c-guess much less useful than it could have
> been, since I work on both tab and space indented files.
>
>   Regards //Johan

I can reproduce this on Emacs 26.1.  I'm not sure if this is a bug or a
feature request.

Best regards,
Stefan Kangas





reply via email to

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