unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12199: c-guess doesn't guess indent-tabs-mode
@ 2012-08-14  7:20 Johan Walles
  2019-10-30 23:28 ` Stefan Kangas
  2021-06-01  7:35 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Johan Walles @ 2012-08-14  7:20 UTC (permalink / raw)
  To: 12199

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-02  5:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-14  7:20 bug#12199: c-guess doesn't guess indent-tabs-mode Johan Walles
2019-10-30 23:28 ` Stefan Kangas
2021-06-01  7:35 ` Lars Ingebrigtsen
2021-06-01 12:01   ` Eli Zaretskii
2021-06-02  5:13     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).