unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
@ 2021-09-03 17:49 Drew Adams
  2021-09-03 18:35 ` Kaushal Modi
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Drew Adams @ 2021-09-03 17:49 UTC (permalink / raw)
  To: Eli Zaretskii, Dmitry Gutov
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	emacs-devel@gnu.org, monnier@iro.umontreal.ca,
	john@yates-sheets.org

I'll just mention this reason that `indent-tabs-mode'
should be OFF by default "nowadays".  It's a reason
that wasn't so strong in past years, I think.

With it OFF, code copied from Emacs (vanilla, 3rd-party,
or just code someone tossed off in *scratch*) and pasted
into online forums (StackExchange, Reddit,... whatever),
or emails (not necessarily plain-text), or applications
won't have its apparent indentation changed.  That's a
good thing.

I see this gotcha a lot on emacs.StackExchange, for
instance.  A user copies and pastes some code, and the
indentation is broken (but maybe not super noticeably),
because TAB chars are used here & there for indentation.

That means the user (or someone else) needs to then
notice that apparent change (gotcha), and then edit the
code to give it reasonable indentation.

Even a user (such as myself) who's aware of the gotcha
needs to, e.g., use `M-x untabify' before copying, when
using `emacs -Q'.  Some users don't know `untabify',
and they end up doing the TAB-at-a-time editing outside
Emacs, in the paste destination.  That's a shame.

This is a small reason, perhaps.  But it is one more.
It's an unnecessary bother, IMO.

It's easy enough for some local use (e.g. following the
standards of some organization) to customize the option
to ON.  But that should no longer be the default, IMO.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-03 17:49 indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel] Drew Adams
@ 2021-09-03 18:35 ` Kaushal Modi
  2021-09-04  2:21 ` Po Lu
  2021-09-04  2:39 ` Tim Cross
  2 siblings, 0 replies; 27+ messages in thread
From: Kaushal Modi @ 2021-09-03 18:35 UTC (permalink / raw)
  To: Drew Adams
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	emacs-devel@gnu.org, monnier@iro.umontreal.ca, Dmitry Gutov,
	Eli Zaretskii, john@yates-sheets.org

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

On Fri, Sep 3, 2021 at 2:14 PM Drew Adams <drew.adams@oracle.com> wrote:

> I'll just mention this reason that `indent-tabs-mode'
> should be OFF by default "nowadays".
>

+1!!!

[-- Attachment #2: Type: text/html, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-03 17:49 indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel] Drew Adams
  2021-09-03 18:35 ` Kaushal Modi
@ 2021-09-04  2:21 ` Po Lu
  2021-09-04  4:16   ` Stefan Kangas
  2021-09-04  2:39 ` Tim Cross
  2 siblings, 1 reply; 27+ messages in thread
From: Po Lu @ 2021-09-04  2:21 UTC (permalink / raw)
  To: Drew Adams
  Cc: Eli Zaretskii, Dmitry Gutov, philipk@posteo.net,
	danflscr@gmail.com, rms@gnu.org, emacs-devel@gnu.org,
	monnier@iro.umontreal.ca, john@yates-sheets.org

Drew Adams <drew.adams@oracle.com> writes:

> I'll just mention this reason that `indent-tabs-mode'
> should be OFF by default "nowadays".  It's a reason
> that wasn't so strong in past years, I think.

If that changes, and I miss it in NEWS, I think I'd be in some trouble
by now.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-03 17:49 indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel] Drew Adams
  2021-09-03 18:35 ` Kaushal Modi
  2021-09-04  2:21 ` Po Lu
@ 2021-09-04  2:39 ` Tim Cross
  2 siblings, 0 replies; 27+ messages in thread
From: Tim Cross @ 2021-09-04  2:39 UTC (permalink / raw)
  To: emacs-devel


Drew Adams <drew.adams@oracle.com> writes:

> I'll just mention this reason that `indent-tabs-mode'
> should be OFF by default "nowadays".  It's a reason
> that wasn't so strong in past years, I think.
>
> With it OFF, code copied from Emacs (vanilla, 3rd-party,
> or just code someone tossed off in *scratch*) and pasted
> into online forums (StackExchange, Reddit,... whatever),
> or emails (not necessarily plain-text), or applications
> won't have its apparent indentation changed.  That's a
> good thing.
>
> I see this gotcha a lot on emacs.StackExchange, for
> instance.  A user copies and pastes some code, and the
> indentation is broken (but maybe not super noticeably),
> because TAB chars are used here & there for indentation.
>
> That means the user (or someone else) needs to then
> notice that apparent change (gotcha), and then edit the
> code to give it reasonable indentation.
>
> Even a user (such as myself) who's aware of the gotcha
> needs to, e.g., use `M-x untabify' before copying, when
> using `emacs -Q'.  Some users don't know `untabify',
> and they end up doing the TAB-at-a-time editing outside
> Emacs, in the paste destination.  That's a shame.
>
> This is a small reason, perhaps.  But it is one more.
> It's an unnecessary bother, IMO.
>
> It's easy enough for some local use (e.g. following the
> standards of some organization) to customize the option
> to ON.  But that should no longer be the default, IMO.

Yes, I would agree. I also find it a much less common setting these
days. The only time I come across the need to use tabs instead of spaces
tends to be with older projects and as you point out, it is simple to
set the default to tabs for those on a per project basis. 



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-04  2:21 ` Po Lu
@ 2021-09-04  4:16   ` Stefan Kangas
  2021-09-04 11:32     ` Po Lu
  0 siblings, 1 reply; 27+ messages in thread
From: Stefan Kangas @ 2021-09-04  4:16 UTC (permalink / raw)
  To: Po Lu
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	emacs-devel@gnu.org, monnier@iro.umontreal.ca, Dmitry Gutov,
	Eli Zaretskii, Drew Adams, john@yates-sheets.org

Po Lu <luangruo@yahoo.com> writes:

> If that changes, and I miss it in NEWS, I think I'd be in some trouble
> by now.

Could you elaborate?



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-04  4:16   ` Stefan Kangas
@ 2021-09-04 11:32     ` Po Lu
  2021-09-04 14:44       ` [External] : " Drew Adams
  0 siblings, 1 reply; 27+ messages in thread
From: Po Lu @ 2021-09-04 11:32 UTC (permalink / raw)
  To: Stefan Kangas
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	emacs-devel@gnu.org, monnier@iro.umontreal.ca, Dmitry Gutov,
	Eli Zaretskii, Drew Adams, john@yates-sheets.org

Stefan Kangas <stefan@marxist.se> writes:

> Could you elaborate?

I work in a (partially) Java shop that mandates the use of tabs as
indentation for all C-like languages (which is Java and C++, for the
most part.), where one can get in trouble for checking-in code with
inconsistent tabulation.

Many of us also use Emacs, and I'm sure it would be quite a disruption
for indent-tabs-mode to be made nil by default.

As of late, our superiors have also been trying to convince us to move
to NetBeans, from the current mix of Emacs and IntelliJ products.  If
Emacs were found to be the culprit behind a large influx of bad code, it
could potentially turn that from advice into a mandate, which doesn't
quite appeal to me.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* RE: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-04 11:32     ` Po Lu
@ 2021-09-04 14:44       ` Drew Adams
  2021-09-05  0:37         ` Po Lu
  0 siblings, 1 reply; 27+ messages in thread
From: Drew Adams @ 2021-09-04 14:44 UTC (permalink / raw)
  To: Po Lu, Stefan Kangas
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	emacs-devel@gnu.org, monnier@iro.umontreal.ca, Dmitry Gutov,
	Eli Zaretskii, john@yates-sheets.org

> I work in a (partially) Java shop that mandates the use of tabs as
> indentation for all C-like languages (which is Java and C++, for the
> most part.), where one can get in trouble for checking-in code with
> inconsistent tabulation.
>
> Many of us also use Emacs, and I'm sure it would be quite a disruption
> for indent-tabs-mode to be made nil by default.

In my post that started this thread about
`indent-tabs-mode' default value, I said this:

  It's easy enough for some local use (e.g.
  following the standards of some organization)
  to customize the option to ON.  But that
  should no longer be the default, IMO.

Does that not apply to your context?

Not only an individual, but an organization
can have a need for either no-tabs, all-tabs,
or a mixture.  That is (should be, IIUC) easy
to do, no?

Likewise, for use in any particular context
(e.g. project, directory, etc.).

The default value for _Emacs itself_ is what
the current question is about.  It of course
needs to be easy for anyone and any group to
set the setting they need, for any context.

There's `site-lisp.el'.  There are individual
`custom.el' or init files.  There are mode
hooks.  There are (probably - not familiar)
project-wide hooks or settings via `project.el'
or Projectile or whatever.

Yes, if the Emacs default changed you or your
organization/project/site might need to add
a setting for it.



> As of late, our superiors have also been trying to convince us to move
> to NetBeans, from the current mix of Emacs and IntelliJ products.  If
> Emacs were found to be the culprit behind a large influx of bad code,
> it
> could potentially turn that from advice into a mandate, which doesn't
> quite appeal to me.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-04 14:44       ` [External] : " Drew Adams
@ 2021-09-05  0:37         ` Po Lu
  2021-09-05  0:40           ` Dmitry Gutov
  0 siblings, 1 reply; 27+ messages in thread
From: Po Lu @ 2021-09-05  0:37 UTC (permalink / raw)
  To: Drew Adams
  Cc: Stefan Kangas, philipk@posteo.net, danflscr@gmail.com,
	rms@gnu.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca,
	Dmitry Gutov, Eli Zaretskii, john@yates-sheets.org

Drew Adams <drew.adams@oracle.com> writes:

> In my post that started this thread about
> `indent-tabs-mode' default value, I said this:
>
>   It's easy enough for some local use (e.g.
>   following the standards of some organization)
>   to customize the option to ON.  But that
>   should no longer be the default, IMO.
>
> Does that not apply to your context?

It doesn't, for reasons explained below.

> Not only an individual, but an organization
> can have a need for either no-tabs, all-tabs,
> or a mixture.  That is (should be, IIUC) easy
> to do, no?
>
> Likewise, for use in any particular context
> (e.g. project, directory, etc.).
>
> The default value for _Emacs itself_ is what
> the current question is about.  It of course
> needs to be easy for anyone and any group to
> set the setting they need, for any context.

The problem is that we have been relying on Emacs' defaults for a very
long time.  In fact, `indent-tabs-mode' has defaulted to t for as long
as I can remember -- it was that way in Emacs 18 and Epoch.

> There's `site-lisp.el'.  There are individual
> `custom.el' or init files.  There are mode
> hooks.  There are (probably - not familiar)
> project-wide hooks or settings via `project.el'
> or Projectile or whatever.

I don't use project.el or projectile, for the simple reason that I've
never needed to use them.

I don't think it would be simple to get my organization to provide
standard site init files or even dir-locals.  They would rather have us
switch to NetBeans.

> Yes, if the Emacs default changed you or your
> organization/project/site might need to add
> a setting for it.

And if it doesn't change, all this trouble will have been avoided
beforehand.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-05  0:37         ` Po Lu
@ 2021-09-05  0:40           ` Dmitry Gutov
  2021-09-05  3:20             ` Po Lu
  0 siblings, 1 reply; 27+ messages in thread
From: Dmitry Gutov @ 2021-09-05  0:40 UTC (permalink / raw)
  To: Po Lu, Drew Adams
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	Stefan Kangas, emacs-devel@gnu.org, monnier@iro.umontreal.ca,
	Eli Zaretskii, john@yates-sheets.org

On 05.09.2021 03:37, Po Lu wrote:
> I don't think it would be simple to get my organization to provide
> standard site init files or even dir-locals.  They would rather have us
> switch to NetBeans.

You cannot check in custom .dir-locals.el into the project(s)?

Surely other tools (like NetBeans) have some common configs in the 
repository already.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-05  0:40           ` Dmitry Gutov
@ 2021-09-05  3:20             ` Po Lu
  2021-09-05  3:37               ` Stefan Kangas
  0 siblings, 1 reply; 27+ messages in thread
From: Po Lu @ 2021-09-05  3:20 UTC (permalink / raw)
  To: Dmitry Gutov
  Cc: Drew Adams, Stefan Kangas, philipk@posteo.net, danflscr@gmail.com,
	rms@gnu.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca,
	Eli Zaretskii, john@yates-sheets.org

Dmitry Gutov <dgutov@yandex.ru> writes:

> You cannot check in custom .dir-locals.el into the project(s)?
> Surely other tools (like NetBeans) have some common configs in the
> repository already.

But NetBeans is NetBeans, and not Emacs.  If someone checks in
.dir-locals.el into a repository, someone reviewing code is sure to
search '.el', and when he finds that '.el' is a file extension for a
programming language named 'Emacs Lisp', whoever checked it in will have
some explaining to do with respect to checking in unapproved code in a
completely foreign language.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-05  3:20             ` Po Lu
@ 2021-09-05  3:37               ` Stefan Kangas
  2021-09-05  5:39                 ` Po Lu
  0 siblings, 1 reply; 27+ messages in thread
From: Stefan Kangas @ 2021-09-05  3:37 UTC (permalink / raw)
  To: Po Lu
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	emacs-devel@gnu.org, monnier@iro.umontreal.ca, Dmitry Gutov,
	Eli Zaretskii, Drew Adams, john@yates-sheets.org

Po Lu <luangruo@yahoo.com> writes:

> > You cannot check in custom .dir-locals.el into the project(s)?
> > Surely other tools (like NetBeans) have some common configs in the
> > repository already.
>
> But NetBeans is NetBeans, and not Emacs.  If someone checks in
> .dir-locals.el into a repository, someone reviewing code is sure to
> search '.el', and when he finds that '.el' is a file extension for a
> programming language named 'Emacs Lisp', whoever checked it in will have
> some explaining to do with respect to checking in unapproved code in a
> completely foreign language.

Would the situation be improved if we supported editorconfig
configuration files?[1]

Footnotes:
[1]  https://editorconfig.org/



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-05  3:37               ` Stefan Kangas
@ 2021-09-05  5:39                 ` Po Lu
  2021-09-05  7:09                   ` Stefan Kangas
  0 siblings, 1 reply; 27+ messages in thread
From: Po Lu @ 2021-09-05  5:39 UTC (permalink / raw)
  To: Stefan Kangas
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	emacs-devel@gnu.org, monnier@iro.umontreal.ca, Dmitry Gutov,
	Eli Zaretskii, Drew Adams, john@yates-sheets.org

Stefan Kangas <stefan@marxist.se> writes:

> Would the situation be improved if we supported editorconfig
> configuration files?

Interesting.  I did not previously know about Editorconfig.  I will have
to bring the subject up with my organization sometime, and see how it
goes.

I suppose that means the answer is "no, it wouldn't be improved".
Thanks anyhow.




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-05  5:39                 ` Po Lu
@ 2021-09-05  7:09                   ` Stefan Kangas
  2021-09-05 19:31                     ` Dmitry Gutov
  0 siblings, 1 reply; 27+ messages in thread
From: Stefan Kangas @ 2021-09-05  7:09 UTC (permalink / raw)
  To: Po Lu
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	emacs-devel@gnu.org, monnier@iro.umontreal.ca, Dmitry Gutov,
	Eli Zaretskii, Drew Adams, john@yates-sheets.org

Po Lu <luangruo@yahoo.com> writes:

> Interesting.  I did not previously know about Editorconfig.  I will have
> to bring the subject up with my organization sometime, and see how it
> goes.

It seems like someone wrote an Emacs library for it:

    https://github.com/editorconfig/editorconfig-emacs



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-05  7:09                   ` Stefan Kangas
@ 2021-09-05 19:31                     ` Dmitry Gutov
  2021-09-06  1:19                       ` Po Lu
  0 siblings, 1 reply; 27+ messages in thread
From: Dmitry Gutov @ 2021-09-05 19:31 UTC (permalink / raw)
  To: Stefan Kangas, Po Lu
  Cc: philipk@posteo.net, danflscr@gmail.com, rms@gnu.org,
	emacs-devel@gnu.org, monnier@iro.umontreal.ca, Eli Zaretskii,
	Drew Adams, john@yates-sheets.org

On 05.09.2021 10:09, Stefan Kangas wrote:
> Po Lu<luangruo@yahoo.com>  writes:
> 
>> Interesting.  I did not previously know about Editorconfig.  I will have
>> to bring the subject up with my organization sometime, and see how it
>> goes.
> It seems like someone wrote an Emacs library for it:
> 
>      https://github.com/editorconfig/editorconfig-emacs

I considered suggesting this, but installing it on every user 
configuration *and* putting an editorconfig file in every project's repo 
seems like more work than simply having every user customize 
indent-tabs-mode to t.

BTW, Po Lu, what do you think of the latter option? If you have a 
company-wide "Emacs Users" channel, on IRC/Slack or whatever, that 
shouldn't take too much effort.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-05 19:31                     ` Dmitry Gutov
@ 2021-09-06  1:19                       ` Po Lu
  2021-09-06  2:22                         ` Tim Cross
  0 siblings, 1 reply; 27+ messages in thread
From: Po Lu @ 2021-09-06  1:19 UTC (permalink / raw)
  To: Dmitry Gutov
  Cc: Stefan Kangas, philipk@posteo.net, danflscr@gmail.com,
	rms@gnu.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca,
	Eli Zaretskii, Drew Adams, john@yates-sheets.org

Dmitry Gutov <dgutov@yandex.ru> writes:

> BTW, Po Lu, what do you think of the latter option? If you have a
> company-wide "Emacs Users" channel, on IRC/Slack or whatever, that
> shouldn't take too much effort.

Well it would certainly be possible, but still an annoyance, compared to
leaving it as-is.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  1:19                       ` Po Lu
@ 2021-09-06  2:22                         ` Tim Cross
  2021-09-06  3:35                           ` Po Lu
  0 siblings, 1 reply; 27+ messages in thread
From: Tim Cross @ 2021-09-06  2:22 UTC (permalink / raw)
  To: emacs-devel


Po Lu <luangruo@yahoo.com> writes:

> Dmitry Gutov <dgutov@yandex.ru> writes:
>
>> BTW, Po Lu, what do you think of the latter option? If you have a
>> company-wide "Emacs Users" channel, on IRC/Slack or whatever, that
>> shouldn't take too much effort.
>
> Well it would certainly be possible, but still an annoyance, compared to
> leaving it as-is.

Changing defaults is going to be annoying for some, just as leaving them
as is will continue to be annoying for others. In this case, it would
appear the two groups are about evenly distributed, so either way, some
proportion of users will be annoyed and using it as a reason to change
or not change adds little.

The question is really what would be the expected behaviour for new
users? I don't know how to determine the right answer to that question
or even if there is a right answer.

The only thing which seems important really is how easily the new user
can discover the right setting to get the behaviour they want and how
easily that behaviour can be configured. From memory, that was not as
straight-forward for a new user as it could be (but then again, for me,
that was nearly 30 years ago and things have changed, so perhaps it is
now easier than it once was. I clearly recall it taking some effort to
get the behaviour I wanted when first starting with emacs wrt tabs v
spaces).

I also don't think all defaults are equal and should not be treated as
such. Some defaults feel somewhat arbitrary - indent-tab-mode feels like
one of these. However, other defaults are more critical as they can
impact on more subtle or advanced behaviour and selecting the right
default may impact on how easily users discover the benefits of that
advanced behaviour. 



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  2:22                         ` Tim Cross
@ 2021-09-06  3:35                           ` Po Lu
  2021-09-06  4:11                             ` Tim Cross
  2021-09-06 23:32                             ` Drew Adams
  0 siblings, 2 replies; 27+ messages in thread
From: Po Lu @ 2021-09-06  3:35 UTC (permalink / raw)
  To: Tim Cross; +Cc: emacs-devel

Tim Cross <theophilusx@gmail.com> writes:

> Changing defaults is going to be annoying for some, just as leaving them
> as is will continue to be annoying for others. In this case, it would
> appear the two groups are about evenly distributed, so either way, some
> proportion of users will be annoyed and using it as a reason to change
> or not change adds little.
>
> The question is really what would be the expected behaviour for new
> users? I don't know how to determine the right answer to that question
> or even if there is a right answer.
>
> The only thing which seems important really is how easily the new user
> can discover the right setting to get the behaviour they want and how
> easily that behaviour can be configured. From memory, that was not as
> straight-forward for a new user as it could be (but then again, for me,
> that was nearly 30 years ago and things have changed, so perhaps it is
> now easier than it once was. I clearly recall it taking some effort to
> get the behaviour I wanted when first starting with emacs wrt tabs v
> spaces).
>
> I also don't think all defaults are equal and should not be treated as
> such. Some defaults feel somewhat arbitrary - indent-tab-mode feels like
> one of these. However, other defaults are more critical as they can
> impact on more subtle or advanced behaviour and selecting the right
> default may impact on how easily users discover the benefits of that
> advanced behaviour. 

I think the difference between "new users" and "old users" is that old
users already exist, while the "new users" alluded to here do not exist.
An "annoyance" to these "new users" is an annoyance to ghosts -- to
people who have never seen, heard of, or used Emacs.

Further, for as long as I can remember, there has been a section in the
Emacs manual named "Tabs vs. Spaces".  Any Emacs user, who has
presumably read the manual before using Emacs, should know about the
option indent-tabs-mode.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  3:35                           ` Po Lu
@ 2021-09-06  4:11                             ` Tim Cross
  2021-09-06  5:40                               ` Po Lu
  2021-09-06 23:32                             ` Drew Adams
  1 sibling, 1 reply; 27+ messages in thread
From: Tim Cross @ 2021-09-06  4:11 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel


Po Lu <luangruo@yahoo.com> writes:

> Tim Cross <theophilusx@gmail.com> writes:
>
>> Changing defaults is going to be annoying for some, just as leaving them
>> as is will continue to be annoying for others. In this case, it would
>> appear the two groups are about evenly distributed, so either way, some
>> proportion of users will be annoyed and using it as a reason to change
>> or not change adds little.
>>
>> The question is really what would be the expected behaviour for new
>> users? I don't know how to determine the right answer to that question
>> or even if there is a right answer.
>>
>> The only thing which seems important really is how easily the new user
>> can discover the right setting to get the behaviour they want and how
>> easily that behaviour can be configured. From memory, that was not as
>> straight-forward for a new user as it could be (but then again, for me,
>> that was nearly 30 years ago and things have changed, so perhaps it is
>> now easier than it once was. I clearly recall it taking some effort to
>> get the behaviour I wanted when first starting with emacs wrt tabs v
>> spaces).
>>
>> I also don't think all defaults are equal and should not be treated as
>> such. Some defaults feel somewhat arbitrary - indent-tab-mode feels like
>> one of these. However, other defaults are more critical as they can
>> impact on more subtle or advanced behaviour and selecting the right
>> default may impact on how easily users discover the benefits of that
>> advanced behaviour. 
>
> I think the difference between "new users" and "old users" is that old
> users already exist, while the "new users" alluded to here do not exist.
> An "annoyance" to these "new users" is an annoyance to ghosts -- to
> people who have never seen, heard of, or used Emacs.
>

Regardless of debate on whether there are new users or not, evidence
indicates those who want spaces and those who want tabs are roughly
equally divided. Therefore, half those 'old' users are required to
change the setting regardless of what the default is. All your argument
seems to come down to is that your happy with the status quo and don't
want it to change because that is in-line with your preference. That is
fine, but is no stronger an argument than arguing for the default to be
changed - in this case, changing or not changing based solely on level
of annoyance is simply insufficient. 

> Further, for as long as I can remember, there has been a section in the
> Emacs manual named "Tabs vs. Spaces".  Any Emacs user, who has
> presumably read the manual before using Emacs, should know about the
> option indent-tabs-mode.

I would suggest very few people have ever fully read the manual before
using Emacs. Besides, the best way to read the manual is with Emacs, so
you already have a 'chicken and egg' situations. Furthermore, the fact
the default was already at the setting you wanted would indicate you
never needed to find this information and therefore are not in a strong
position to argue whether that is easy or not. On the other hand, when I
started using Emacs I did need to change the default and I do recall it
took some effort to work out how to do that - enough effort to be
annoying. As already stated, annoyance is an insufficient criteria in
this case because the two sides are roughly equal. Understanding the
expectations of new users may change that balance and is therefore worth
considering.

You will find it annoying if the default changes, I find it annoying if
it doesn't - we cancel each other out. Arguing for either case based
solely on level of annoyance is pointless. 



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  4:11                             ` Tim Cross
@ 2021-09-06  5:40                               ` Po Lu
  2021-09-06  6:40                                 ` Tim Cross
  0 siblings, 1 reply; 27+ messages in thread
From: Po Lu @ 2021-09-06  5:40 UTC (permalink / raw)
  To: Tim Cross; +Cc: emacs-devel

Tim Cross <theophilusx@gmail.com> writes:

> Regardless of debate on whether there are new users or not, evidence
> indicates those who want spaces and those who want tabs are roughly
> equally divided. Therefore, half those 'old' users are required to
> change the setting regardless of what the default is. All your
> argument seems to come down to is that your happy with the status quo
> and don't want it to change because that is in-line with your
> preference. That is fine, but is no stronger an argument than arguing
> for the default to be changed - in this case, changing or not changing
> based solely on level of annoyance is simply insufficient.

So, if the default is changed, the other half of the "roughly equally
divided" portion of the userbase will also have to change their
settings, which means the entire userbase will have changed that
settings.

Which is more pleasant?  To have the half of the userbase who have, for
the most part, already done so, change their settings, or to have the
other half of the userbase who have mostly not done so change their
settings?

> I would suggest very few people have ever fully read the manual before
> using Emacs. Besides, the best way to read the manual is with Emacs,
> so you already have a 'chicken and egg' situations. Furthermore, the
> fact the default was already at the setting you wanted would indicate
> you never needed to find this information and therefore are not in a
> strong position to argue whether that is easy or not. On the other
> hand, when I started using Emacs I did need to change the default and
> I do recall it took some effort to work out how to do that - enough
> effort to be annoying. As already stated, annoyance is an insufficient
> criteria in this case because the two sides are roughly
> equal. Understanding the expectations of new users may change that
> balance and is therefore worth considering.

The manual is available in print, and downloadable online in HTML,
PostScript and PDF format.  While the Emacs Info reader may be
convenient, there is nothing preventing users from reading the manual in
any of those other formats, or even an alternative Info reader, before
reading the manual in Emacs, so I don't see how that is a problem.

Emacs also has an Easy Customization interface.  Even without reading
the manual, one can simply search "indent tabs" inside the Easy
Customization interface, and reach the option.

If that fails, an apropos for 'indent tabs' turns up indent-tabs-mode as
the first result.

And if ignorance of the manual really is a problem, then how about
finding a way to publicize the manual?  For instance, a weekly post
about the manual in comp.emacs, or r/emacs, or whatever happens to be
popular ATM.

There also seem to be cross-editor solutions for configuring these
options on a per-file or a per-project basis, such as editor-config.  If
Emacs gains support for these solutions, they could potentially
alleviate these problems in their entirety.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  5:40                               ` Po Lu
@ 2021-09-06  6:40                                 ` Tim Cross
  2021-09-06  7:57                                   ` Po Lu
  0 siblings, 1 reply; 27+ messages in thread
From: Tim Cross @ 2021-09-06  6:40 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel


Po Lu <luangruo@yahoo.com> writes:

> Tim Cross <theophilusx@gmail.com> writes:
>
>> Regardless of debate on whether there are new users or not, evidence
>> indicates those who want spaces and those who want tabs are roughly
>> equally divided. Therefore, half those 'old' users are required to
>> change the setting regardless of what the default is. All your
>> argument seems to come down to is that your happy with the status quo
>> and don't want it to change because that is in-line with your
>> preference. That is fine, but is no stronger an argument than arguing
>> for the default to be changed - in this case, changing or not changing
>> based solely on level of annoyance is simply insufficient.
>
> So, if the default is changed, the other half of the "roughly equally
> divided" portion of the userbase will also have to change their
> settings, which means the entire userbase will have changed that
> settings.
>
> Which is more pleasant?  To have the half of the userbase who have, for
> the most part, already done so, change their settings, or to have the
> other half of the userbase who have mostly not done so change their
> settings?
>

Flawed argument. Those who have set it don't have to do anything. They
could remove it to slightly reduce their config size, but they could
just as easily do nothing with no impact. 

>> I would suggest very few people have ever fully read the manual before
>> using Emacs. Besides, the best way to read the manual is with Emacs,
>> so you already have a 'chicken and egg' situations. Furthermore, the
>> fact the default was already at the setting you wanted would indicate
>> you never needed to find this information and therefore are not in a
>> strong position to argue whether that is easy or not. On the other
>> hand, when I started using Emacs I did need to change the default and
>> I do recall it took some effort to work out how to do that - enough
>> effort to be annoying. As already stated, annoyance is an insufficient
>> criteria in this case because the two sides are roughly
>> equal. Understanding the expectations of new users may change that
>> balance and is therefore worth considering.
>
> The manual is available in print, and downloadable online in HTML,
> PostScript and PDF format.  While the Emacs Info reader may be
> convenient, there is nothing preventing users from reading the manual in
> any of those other formats, or even an alternative Info reader, before
> reading the manual in Emacs, so I don't see how that is a problem.
>

The real problem is that people simply don't read the manual before
using the editor. If you did, that makes you quite unusual. What most
people will do is use the editor and then turn to the manual when they
have problems. 

> Emacs also has an Easy Customization interface.  Even without reading
> the manual, one can simply search "indent tabs" inside the Easy
> Customization interface, and reach the option.
>
> If that fails, an apropos for 'indent tabs' turns up indent-tabs-mode as
> the first result.
>
> And if ignorance of the manual really is a problem, then how about
> finding a way to publicize the manual?  For instance, a weekly post
> about the manual in comp.emacs, or r/emacs, or whatever happens to be
> popular ATM.
>

All the above paragraphs tell me is that changing the setting is
trivial. this also means that whatever the default is really doesn't
matter as the level of annoyance associated with having to change it is
minimal regardless of what the default is. Again, staying with the
current default based on a argument of annoyance is irrelevant. Other
criteria are needed in order to make the decision anything more than
arbitrary.

There is also the problem of familiarity with all of the above. If you
are use to Emacs and know all of this, yes it is easy and fairly
trivial. If your not, it can be hard. The defaults are primarily for
this category, not for experienced users IMO. I have little sympathy for
arguments against change based solely on annoyance for experienced
users. As you point out, once you know about the customization
interface, appropos etc, making the change is trivial. For new users,
not so much.  

I think it is also difficult to argue not to change a default and at the
same time argue that it is easy for the user to change it if they don't
like the default. 

> There also seem to be cross-editor solutions for configuring these
> options on a per-file or a per-project basis, such as editor-config.  If
> Emacs gains support for these solutions, they could potentially
> alleviate these problems in their entirety.


Things like support for editorconfig are a good idea. To what extent
editorconfig will support the more subtle interplay between how options
are defined for different editors is another issue. In theory, I think
it could be a useful addition/extension. I guess there could be some
subtle issues to consider though - for example, an editorconfig which is
changing things which the user does not want changed and being able to
efficiently track that source of change.  



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  6:40                                 ` Tim Cross
@ 2021-09-06  7:57                                   ` Po Lu
  2021-09-06  8:13                                     ` Tim Cross
  0 siblings, 1 reply; 27+ messages in thread
From: Po Lu @ 2021-09-06  7:57 UTC (permalink / raw)
  To: Tim Cross; +Cc: emacs-devel

Tim Cross <theophilusx@gmail.com> writes:

> Flawed argument.  Those who have set it don't have to do
> anything. They could remove it to slightly reduce their config size,
> but they could just as easily do nothing with no impact.

The point is, if you had your way, those who have not set it will have
to set it, which means the entire userbase will have to have set it at
some point.  How is that advantageous over leaving the status quo
intact?

How about this: create a new option `indent-tabs-mode-use-new-default',
which changes the default value of indent-tabs-mode, and can be enabled
by those who wish to have the new default value?

> The real problem is that people simply don't read the manual before
> using the editor.  If you did, that makes you quite unusual. What most
> people will do is use the editor and then turn to the manual when they
> have problems.

Perhaps you did not, but what most people do when confronted by a new
tool used for a certain task is to look up the relevant documentation on
the tool, and to give it a thorough reading, before actually using the
tool.

> All the above paragraphs tell me is that changing the setting is
> trivial.

Changing most settings in Emacs is trivial, but that is really outside
the scope of this discussion.

> This also means that whatever the default is really doesn't matter as
> the level of annoyance associated with having to change it is minimal
> regardless of what the default is.  Again, staying with the current
> default based on a argument of annoyance is irrelevant.  Other
> criteria are needed in order to make the decision anything more than
> arbitrary.

The question here is not primarily one of annoyance, but benefit.  And
strong wording will not change the fact that annoying existing users is
not beneficiary to a piece of software, as a fantastic example of how
not to develop software.

> There is also the problem of familiarity with all of the above. If you
> are use to Emacs and know all of this, yes it is easy and fairly
> trivial.  If your not, it can be hard.  The defaults are primarily for
> this category, not for experienced users IMO.

I wouldn't agree with categorizing the defaults this way.  IMO, the
defaults are intended for the people who value their time and energy,
and do actual work with their tools, which is a task that cannot
tolerate interruptions from changes made at a whim.  Especially a change
to an option as fundamental as indent-tabs-mode.

They also make for a welcome change from some of the absurdities at
present.  For example, there is a third-party package archive named
"MELPA", which ships packages up-to-date by the hour.  After struggling
with the sheer amount of effort required to keep Emacs usable with
packages from that archive, and failing, removing it from the package
archive list has turned out to be quite refreshing.

> As you point out, once you know about the customization interface,
> appropos etc, making the change is trivial.  For new users, not so
> much.

Apropos and Easy Customization are concepts very wide-spread in the real
world and other software, and are hardly specific to Emacs.  If someone
is confronted with a problem, and even if he has not actually read the
manual (which I doubt is usually the case), he will select "Help" from
the menu bar, and see options presented to him in a familiar manner.  As
a matter of fact, "apropos" as a word first appeared in 1668.

> I think it is also difficult to argue not to change a default and at
> the same time argue that it is easy for the user to change it if they
> don't like the default.

It is not difficult to argue for that position, because that position
means it is ensured that only people who have an actual need to change
the option have to change it.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  7:57                                   ` Po Lu
@ 2021-09-06  8:13                                     ` Tim Cross
  2021-09-06 11:13                                       ` Po Lu
  2021-09-07 21:47                                       ` chad
  0 siblings, 2 replies; 27+ messages in thread
From: Tim Cross @ 2021-09-06  8:13 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel


Po Lu <luangruo@yahoo.com> writes:

> Tim Cross <theophilusx@gmail.com> writes:
>
>> Flawed argument.  Those who have set it don't have to do
>> anything. They could remove it to slightly reduce their config size,
>> but they could just as easily do nothing with no impact.
>
> The point is, if you had your way, those who have not set it will have
> to set it, which means the entire userbase will have to have set it at
> some point.  How is that advantageous over leaving the status quo
> intact?
>

first off, I'm not arguing to have it change. I'm arguing against the
argument that changing it is too annoying for those who like the status
quo. Your argument was that it would be annoying if it was changed. Fair
enough, but that is not sufficient reason to consider changing it should
there be other arguments to support the change (such as perhaps being
more in-line with expectations of the next generation of users). 

As to the advantage, well that will depend on the arguments in support
of changing it. If it does change, yes, initially you will have a user
base where most have had to set it one way or the other at some point.
However, that will change over time and if the new default is the
correct change, over time it will likely be less people requiring to
make the change than is the case with the current situation. 

> How about this: create a new option `indent-tabs-mode-use-new-default',
> which changes the default value of indent-tabs-mode, and can be enabled
> by those who wish to have the new default value?

By definition, that would mean it isn't the default value. That would be
a pointless additional option which would further confuse the situation.
Worst idea yet!

>
>> The real problem is that people simply don't read the manual before
>> using the editor.  If you did, that makes you quite unusual. What most
>> people will do is use the editor and then turn to the manual when they
>> have problems.
>
> Perhaps you did not, but what most people do when confronted by a new
> tool used for a certain task is to look up the relevant documentation on
> the tool, and to give it a thorough reading, before actually using the
> tool.
>

Definitely not my experience and I expect if that was the norm, we would
never have coined RTFM.

>> All the above paragraphs tell me is that changing the setting is
>> trivial.
>
> Changing most settings in Emacs is trivial, but that is really outside
> the scope of this discussion.
>

I disagree. The premise of your argument was that changing the default
would be annoying for you. surely how easy it is to configure to the
previous behaviour has baring on that level of annoyance. 

>> This also means that whatever the default is really doesn't matter as
>> the level of annoyance associated with having to change it is minimal
>> regardless of what the default is.  Again, staying with the current
>> default based on a argument of annoyance is irrelevant.  Other
>> criteria are needed in order to make the decision anything more than
>> arbitrary.
>
> The question here is not primarily one of annoyance, but benefit.  And
> strong wording will not change the fact that annoying existing users is
> not beneficiary to a piece of software, as a fantastic example of how
> not to develop software.

However, continued growth with new users is fundamental to keeping the
project viable. Anything which can reduce friction for new users and
which does not have a detrimental impact on functionality is beneficial.

I think the annoyance level from this change is being vastly over
stated. As already agreed, changing the value is trivial, especially for
an experienced user. I would agree changing a default is not something
which should be done lightly - it needs to be a considered change. At
the same time, things do change and not changing a default because some
users will be annoyed is not sufficient justification in itself. If user
expectations have evolved and a particular default is no longer
appropriate, then it should be changed. It is up to those who want the
change to present their arguments for change and for those who want the
status quo to argue the contrary. My position is that not changing it
solely because of annoyance and because that is the way it has always
been is not sufficient. 

>
>> There is also the problem of familiarity with all of the above. If you
>> are use to Emacs and know all of this, yes it is easy and fairly
>> trivial.  If your not, it can be hard.  The defaults are primarily for
>> this category, not for experienced users IMO.
>
> I wouldn't agree with categorizing the defaults this way.  IMO, the
> defaults are intended for the people who value their time and energy,
> and do actual work with their tools, which is a task that cannot
> tolerate interruptions from changes made at a whim.  Especially a change
> to an option as fundamental as indent-tabs-mode.
>

I think categorising the suggestion to change this default as a whim is
unreasonable. Emacs has a long tradition of being very conservative when
it comes to changing defaults and does not make changes 'on a whim'.
Your statement implies those who do want the change don't value their
time and energy or don't do real work with the tool, which I think is
unreasonable. From the data we do have, we know the division is fairly
evenly divided. This mean just as many people who are using the tool for
real work are forced to use their time and energy to change the default.
This is the big weakness in the status quo argument. As many people
disadvantaged by the change will be advantaged by it. 

> They also make for a welcome change from some of the absurdities at
> present.  For example, there is a third-party package archive named
> "MELPA", which ships packages up-to-date by the hour.  After struggling
> with the sheer amount of effort required to keep Emacs usable with
> packages from that archive, and failing, removing it from the package
> archive list has turned out to be quite refreshing.
>

and yet many people are able to use it just fine. It all depends on what
you need and how you use it. I use Emacs daily - it is my main interface
and as a blind programmer, if it stops working, it is a big problem. I
rely heavily on Emacspeak as that is what provides my speech feedback.
This also means my Emacs configuration is fairly large and complex. I do
prefer packages from ELPA and nonGNU ELPA, but I do also use packages
from MELPA and have had no significant problems. I write code for a
living and cannot afford to have a non-working Emacs, even for a short
time, so I've developed strategies which deal with the risks associated
with upgrades and updates - whether that be with Emacs, Emacspeak, ELPA,
MELPA or whatever. However, this is totally different from the proposal
to change the default of indent-tab-mode.  

>> As you point out, once you know about the customization interface,
>> appropos etc, making the change is trivial.  For new users, not so
>> much.
>
> Apropos and Easy Customization are concepts very wide-spread in the real
> world and other software, and are hardly specific to Emacs.  If someone
> is confronted with a problem, and even if he has not actually read the
> manual (which I doubt is usually the case), he will select "Help" from
> the menu bar, and see options presented to him in a familiar manner.  As
> a matter of fact, "apropos" as a word first appeared in 1668.
>
>> I think it is also difficult to argue not to change a default and at
>> the same time argue that it is easy for the user to change it if they
>> don't like the default.
>
> It is not difficult to argue for that position, because that position
> means it is ensured that only people who have an actual need to change
> the option have to change it.

Which is about as many as those who don't. If the numbers were more
skewed towards one value or the other, selecting the default would be
straight-forward. From the data we have, we know it is pretty evenly
split - possibly leaning slightly more towards spaces rather than tabs.
Based solely on that, the default is somewhat arbitrary - no matter
which value is selected as the default, as many will need to change it
as don't. To identify what is the most appropriate setting needs to
consider broader perspectives. For example, considering what the
expectation is for new users or comparing to what other editors have as
default as this may inform what expectations new users would have.

I don't see any benefit in continuing this thread. My position is pretty
simple - I don't think in this case it matters because the two sides are
about evenly split and changing from whatever default is trivial. It
will have next to no impact on me if it changes or if it doesn't.
Provided the change is clearly communicated, I don't think most uses
will have an issue with the change.

I acknowledge your against the change and are unlikely to alter your
position. This is the nature of religious wars. It certainly isn't an
issue worth dying in the gutter over. 



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  8:13                                     ` Tim Cross
@ 2021-09-06 11:13                                       ` Po Lu
  2021-09-07 21:47                                       ` chad
  1 sibling, 0 replies; 27+ messages in thread
From: Po Lu @ 2021-09-06 11:13 UTC (permalink / raw)
  To: Tim Cross; +Cc: emacs-devel

Tim Cross <theophilusx@gmail.com> writes:

> I don't see any benefit in continuing this thread. My position is pretty
> simple - I don't think in this case it matters because the two sides are
> about evenly split and changing from whatever default is trivial. It
> will have next to no impact on me if it changes or if it doesn't.
> Provided the change is clearly communicated, I don't think most uses
> will have an issue with the change.
>
> I acknowledge your against the change and are unlikely to alter your
> position. This is the nature of religious wars. It certainly isn't an
> issue worth dying in the gutter over. 

Fair enough.  Let's agree to disagree :D



^ permalink raw reply	[flat|nested] 27+ messages in thread

* RE: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  3:35                           ` Po Lu
  2021-09-06  4:11                             ` Tim Cross
@ 2021-09-06 23:32                             ` Drew Adams
  1 sibling, 0 replies; 27+ messages in thread
From: Drew Adams @ 2021-09-06 23:32 UTC (permalink / raw)
  To: Po Lu, Tim Cross; +Cc: emacs-devel@gnu.org

> a section in the Emacs manual named "Tabs vs. Spaces".

FWIW, there's also this Emacs Wiki page, which includes
some discussion about this topic.  (I had nothing to do
with this page, BTW - just mentioning it.)

https://www.emacswiki.org/emacs/TabsAreEvil




^ permalink raw reply	[flat|nested] 27+ messages in thread

* RE: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06 12:23                                             ` Dmitry Gutov
@ 2021-09-06 23:32                                               ` Drew Adams
  2021-09-06 23:38                                                 ` Dmitry Gutov
  0 siblings, 1 reply; 27+ messages in thread
From: Drew Adams @ 2021-09-06 23:32 UTC (permalink / raw)
  To: Dmitry Gutov, rms@gnu.org
  Cc: philipk@posteo.net, danflscr@gmail.com, emacs-devel@gnu.org,
	monnier@iro.umontreal.ca, larsi@gnus.org, eliz@gnu.org,
	john@yates-sheets.org

> But as far as customizing it to nil goes, that's not generally a good
> suggestion because people who use tabs for indentation often do that
> due to coding style required at their current place of employment
> (and they often do not get a say in that).

I don't understand.  Can't they customize it to t?
That will only affect their own use, but any Emacs
users in their org can do that.  What am I missing?

(FWIW, I'm in favor of changing the default to nil,
which is why I started this thread, breaking it off
from your wishlist of default changes.)


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06 23:32                                               ` [External] : " Drew Adams
@ 2021-09-06 23:38                                                 ` Dmitry Gutov
  0 siblings, 0 replies; 27+ messages in thread
From: Dmitry Gutov @ 2021-09-06 23:38 UTC (permalink / raw)
  To: Drew Adams, rms@gnu.org
  Cc: philipk@posteo.net, danflscr@gmail.com, emacs-devel@gnu.org,
	monnier@iro.umontreal.ca, larsi@gnus.org, eliz@gnu.org,
	john@yates-sheets.org

On 07.09.2021 02:32, Drew Adams wrote:
> I don't understand.  Can't they customize it to t?

Yes. That was in the paragraph before the one you quoted.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [External] : Re: indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel]
  2021-09-06  8:13                                     ` Tim Cross
  2021-09-06 11:13                                       ` Po Lu
@ 2021-09-07 21:47                                       ` chad
  1 sibling, 0 replies; 27+ messages in thread
From: chad @ 2021-09-07 21:47 UTC (permalink / raw)
  To: Tim Cross; +Cc: Po Lu, EMACS development team

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

On Mon, Sep 6, 2021 at 2:33 AM Tim Cross <theophilusx@gmail.com> wrote:

> > Perhaps you did not, but what most people do when confronted by a new
> > tool used for a certain task is to look up the relevant documentation on
> > the tool, and to give it a thorough reading, before actually using the
> > tool.
> >
>
> Definitely not my experience and I expect if that was the norm, we would
> never have coined RTFM.
>

This particular experience is quite old at this point, but I had occasion
to both support Emacs and also be part of the user support system for MIT
students for well over a decade. During that time I helped many hundreds of
people use emacs without reading the manual, much less a thorough reading.
My loose contacts there suggest that the situation is still pretty much the
same.

Hope that helps,
~Chad

[-- Attachment #2: Type: text/html, Size: 1239 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2021-09-07 21:47 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 17:49 indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel] Drew Adams
2021-09-03 18:35 ` Kaushal Modi
2021-09-04  2:21 ` Po Lu
2021-09-04  4:16   ` Stefan Kangas
2021-09-04 11:32     ` Po Lu
2021-09-04 14:44       ` [External] : " Drew Adams
2021-09-05  0:37         ` Po Lu
2021-09-05  0:40           ` Dmitry Gutov
2021-09-05  3:20             ` Po Lu
2021-09-05  3:37               ` Stefan Kangas
2021-09-05  5:39                 ` Po Lu
2021-09-05  7:09                   ` Stefan Kangas
2021-09-05 19:31                     ` Dmitry Gutov
2021-09-06  1:19                       ` Po Lu
2021-09-06  2:22                         ` Tim Cross
2021-09-06  3:35                           ` Po Lu
2021-09-06  4:11                             ` Tim Cross
2021-09-06  5:40                               ` Po Lu
2021-09-06  6:40                                 ` Tim Cross
2021-09-06  7:57                                   ` Po Lu
2021-09-06  8:13                                     ` Tim Cross
2021-09-06 11:13                                       ` Po Lu
2021-09-07 21:47                                       ` chad
2021-09-06 23:32                             ` Drew Adams
2021-09-04  2:39 ` Tim Cross
  -- strict thread matches above, loose matches on Subject: below --
2021-08-26 16:20 Gitlab Migration Daniel Fleischer
2021-08-26 17:24 ` Philip Kaludercic
2021-08-27  7:00   ` Daniel Fleischer
2021-08-27 11:30     ` Eli Zaretskii
2021-08-27 14:33       ` Stefan Monnier
2021-08-27 21:09         ` Dmitry Gutov
2021-08-28  6:00           ` Eli Zaretskii
2021-08-29  2:27             ` Dmitry Gutov
2021-08-30  2:58               ` Richard Stallman
2021-08-30 12:20                 ` Dmitry Gutov
2021-08-31  3:09                   ` Richard Stallman
2021-08-31 11:43                     ` Dmitry Gutov
2021-08-31 16:21                       ` John Yates
2021-08-31 16:37                         ` Eli Zaretskii
2021-08-31 19:17                           ` Dmitry Gutov
2021-08-31 19:37                             ` Eli Zaretskii
2021-09-01 11:35                               ` John Yates
2021-09-02  3:38                                 ` Richard Stallman
2021-09-02 19:02                                   ` Dmitry Gutov
2021-09-03  6:06                                     ` Eli Zaretskii
2021-09-03  6:12                                       ` Lars Ingebrigtsen
2021-09-03 10:59                                         ` Dmitry Gutov
2021-09-06  3:06                                           ` indent-tabs-mode default [was: Representation of the Emacs userbase on emacs-devel] Richard Stallman
2021-09-06 12:23                                             ` Dmitry Gutov
2021-09-06 23:32                                               ` [External] : " Drew Adams
2021-09-06 23:38                                                 ` Dmitry Gutov

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).