unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: goncholden <goncholden@protonmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Sean Whitton <spwhitton@spwhitton.name>,
	emacs-devel@gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: Re: bug#55862: Removing indent-tabs-mode set to t by default
Date: Mon, 13 Jun 2022 13:26:20 +0000	[thread overview]
Message-ID: <MTGY6aK269_G3Wf7Gci28qN89XoxHP9gw9PQGqKhzFxxotP7152Vr-K_4u-I1zwHW3s-L-7u8ZJCTrauSJECFCc1VD-76dRHENKv2HStoDU=@protonmail.com> (raw)
In-Reply-To: <jwvpmjc90j3.fsf-monnier+emacs@gnu.org>



------- Original Message -------
On Tuesday, June 14th, 2022 at 1:06 AM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:


> > Perhaps also worth mentioning the little-known:
> >
> > (require 'mode-local)
> > (setq-mode-local foo-mode indent-tabs-mode nil)
>
>
> FWIW, I don't like this one because you lose control about when the
> variable is set.
>
>
> Stefan

The current standing strategy is using

(setq indent-tabs-mode nil)

This variable should be buffer local.  But I wonder whether this can be made global or by major-mode.



      reply	other threads:[~2022-06-13 13:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <N5qx49eHzahLTN0Gk9hXA9GixK4Fv-ep1HX3JvqVWaGniLfS_eNtEELy7PcOi4eLe1KTsPWX_zsWAJ8iXoT8BA73yL3FV0obhTKBqllW--I=@protonmail.com>
     [not found] ` <83h74u4csf.fsf@gnu.org>
     [not found]   ` <xrNgK-9gLRfejz667-7sLF_2g-FVcU4Qlcuz_7x_2PRyWddid2c35cwD5FSzR3nyobanP7tnE8JEfs30tyPMDLiNB2CaheQS86JhtwFrYcI=@protonmail.com>
     [not found]     ` <87wndq56uv.fsf@gnus.org>
     [not found]       ` <r6xPgbjHZ2N1yvx5oAoKGd-xLqIE8h73qKw35p-lNVindFHiJARv0GlwZjutS3YVqsys0TNudXeasY2jjFha0HU12fZWSQveL0jBwVgdtwg=@protonmail.com>
     [not found]         ` <83ilp93kak.fsf@gnu.org>
2022-06-13  1:00           ` bug#55862: Removing indent-tabs-mode set to t by default Sean Whitton
2022-06-13  1:36             ` goncholden
2022-06-13 13:06             ` Stefan Monnier
2022-06-13 13:26               ` goncholden [this message]

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='MTGY6aK269_G3Wf7Gci28qN89XoxHP9gw9PQGqKhzFxxotP7152Vr-K_4u-I1zwHW3s-L-7u8ZJCTrauSJECFCc1VD-76dRHENKv2HStoDU=@protonmail.com' \
    --to=goncholden@protonmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=spwhitton@spwhitton.name \
    /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).