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
* Gitlab Migration
@ 2021-08-26 16:20 Daniel Fleischer
  2021-08-26 17:24 ` Philip Kaludercic
  0 siblings, 1 reply; 27+ messages in thread
From: Daniel Fleischer @ 2021-08-26 16:20 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/html, Size: 4341 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).