unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: goncholden <goncholden@protonmail.com>
Cc: 55862@debbugs.gnu.org, larsi@gnus.org
Subject: bug#55862: Removing indent-tabs-mode set to t by default
Date: Thu, 09 Jun 2022 18:53:39 +0300	[thread overview]
Message-ID: <83ilp93kak.fsf@gnu.org> (raw)
In-Reply-To: <r6xPgbjHZ2N1yvx5oAoKGd-xLqIE8h73qKw35p-lNVindFHiJARv0GlwZjutS3YVqsys0TNudXeasY2jjFha0HU12fZWSQveL0jBwVgdtwg=@protonmail.com> (message from goncholden on Thu, 09 Jun 2022 13:34:52 +0000)

> Date: Thu, 09 Jun 2022 13:34:52 +0000
> From: goncholden <goncholden@protonmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, 55862@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.)





  parent reply	other threads:[~2022-06-09 15:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-09  3:19 bug#55862: Removing indent-tabs-mode set to t by default goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09  5:38 ` Eli Zaretskii
2022-06-09 12:40   ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 13:00     ` Lars Ingebrigtsen
2022-06-09 13:34       ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 13:38         ` Lars Ingebrigtsen
2022-06-09 15:53         ` Eli Zaretskii [this message]
2022-06-09 13:12     ` Eli Zaretskii
2022-06-09 14:05       ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 16:03         ` Eli Zaretskii
2022-06-09 16:06         ` Drew Adams
2022-06-09 16:35           ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 14:11     ` Dmitry Gutov
2022-06-09 14:18       ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 14:30         ` Dmitry Gutov
2022-06-09 14:10   ` Dmitry Gutov
2022-06-09 14:21     ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 16:06       ` Eli Zaretskii
2022-06-09 16:32         ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 16:52           ` Eli Zaretskii
2022-06-09 16:44         ` goncholden via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-09 16:58           ` Eli Zaretskii
2022-06-09 17:41     ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83ilp93kak.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=55862@debbugs.gnu.org \
    --cc=goncholden@protonmail.com \
    --cc=larsi@gnus.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 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).