all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Johan Walles <johan.walles@gmail.com>
To: 12199@debbugs.gnu.org
Subject: bug#12199: c-guess doesn't guess indent-tabs-mode
Date: Tue, 14 Aug 2012 09:20:37 +0200	[thread overview]
Message-ID: <CAKtyTbficngU7r+VufDT8eOZNbm9b2rOz3OZia62Mww24JmbHg@mail.gmail.com> (raw)

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





             reply	other threads:[~2012-08-14  7:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-14  7:20 Johan Walles [this message]
2019-10-30 23:28 ` bug#12199: c-guess doesn't guess indent-tabs-mode Stefan Kangas
2021-06-01  7:35 ` Lars Ingebrigtsen
2021-06-01 12:01   ` Eli Zaretskii
2021-06-02  5:13     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKtyTbficngU7r+VufDT8eOZNbm9b2rOz3OZia62Mww24JmbHg@mail.gmail.com \
    --to=johan.walles@gmail.com \
    --cc=12199@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.