GNU bug report logs -
#12199
c-guess doesn't guess indent-tabs-mode
Previous Next
Reported by: Johan Walles <johan.walles <at> gmail.com>
Date: Tue, 14 Aug 2012 15:58:01 UTC
Severity: normal
Found in versions 26.1, 24.1.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at control <at> debbugs.gnu.org (full text, mbox):
found 12199 26.1
thanks
Johan Walles <johan.walles <at> 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
This bug report was last modified 4 years and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.