GNU bug report logs -
#65349
29.1; "setq-default indent-tabs-mode nil" seem to be ignored
Previous Next
Reported by: håkan engblom <hkengblom <at> gmail.com>
Date: Thu, 17 Aug 2023 13:33:01 UTC
Severity: normal
Found in version 29.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 65349-done <at> debbugs.gnu.org (full text, mbox):
> From: håkan engblom <hkengblom <at> gmail.com>
> Date: Thu, 17 Aug 2023 18:38:19 +0200
>
> It works with -Q and also if I remove this:
>
> (add-hook 'c-mode-hook
> (lambda ()
> (c-set-style "linux")))
The "linux" style indeed sets indent-tabs-mode non-nil, but that
supposed to be limited only to buffers under C mode; in other buffers
you should see it nil. Isn't that what happens?
> _or_ this:
>
> (setq-default tab-width 4)
>
> from my .emacs file.
This last part I cannot reproduce.
> It is a bit strange that it helps to remove tab-width, but linux kernel standard makes sense to remove.
> Linux kernel standard seems to be tabs, not spaces, so that may very well be the culprit. Strange
> though that it has worked for several years before. Maybe there was a correction made in the
> settings for linux-kernel standard, I don't know.
>
> Thanks for pointing me in the right direction.
>
> You can cancel tthe bug-report, if there ever was any created.
OK, done.
This bug report was last modified 1 year and 281 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.