GNU bug report logs - #55862
Removing indent-tabs-mode set to t by default

Previous Next

Package: emacs;

Reported by: goncholden <goncholden <at> protonmail.com>

Date: Thu, 9 Jun 2022 03:20:02 UTC

Severity: normal

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #48 received at 55862 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: goncholden <goncholden <at> protonmail.com>
Cc: 55862 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: Re: bug#55862: Removing indent-tabs-mode set to t by default
Date: Thu, 09 Jun 2022 18:53:39 +0300
> Date: Thu, 09 Jun 2022 13:34:52 +0000
> From: goncholden <goncholden <at> protonmail.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 55862 <at> debbugs.gnu.org
> 
> > You have to put the setting into the major mode hook where you're
> > interested in setting it.
> 
> Fantastic!  Could you show me how I can do that exactly?

Something like this:

 (defun my-FOO-stuff ()
   (setq indent-tabs-mode nil)
 (add-hook 'FOO-mode-hook 'my-FOO-stuff)

(Replace "FOO" with the actual mode name.)




This bug report was last modified 3 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.