From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: goncholden Newsgroups: gmane.emacs.help Subject: Re: Indentation with spaces Date: Thu, 09 Jun 2022 13:37:57 +0000 Message-ID: <502iuwSbbpg1GjUcUUyEbY8VtY3fqVMZP95pnhdbyL2_uut8OXwK2KFBw1eILn40EDEaiTNpqrjdqSi34TyfAyVE6mfJ06_WlEKVHEsGmWw=@protonmail.com> References: <87fskezg7s.fsf@dataswamp.org> Reply-To: goncholden Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1962"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help GNU Emacs To: Skip Montanaro Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 09 16:26:23 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzJ79-0000Mv-4c for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 16:26:23 +0200 Original-Received: from localhost ([::1]:48080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzJ78-0001tH-36 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 10:26:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzIMv-0007LU-Gt for help-gnu-emacs@gnu.org; Thu, 09 Jun 2022 09:38:38 -0400 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]:34633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzIMr-0003UA-O7 for help-gnu-emacs@gnu.org; Thu, 09 Jun 2022 09:38:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654781887; x=1655041087; bh=nuNj/qLopXkWfE+VRAmaE9HPjtCjsFbnT0Mg0rXFtMQ=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=gZobVmXrNy3M6Wq/FRuiCjqygVGLWOrfu6E+caWlQMdgFtFwJ7kkcOzZUhrFi5BXC OjAoIl2Po4DQq3v1XoTIs21IyKRZFwCV0z+k1Z8oE8nK0+wpt1gazqZjbslTyULR4X 1rZpiFNJuSvrJYwVddlytqeK4AvrAgRy8v7QChwltQfY1XHwYUcFaqp3WOMvizI2zI UxPW7KiQC65U+jOROh6+fWpx539vkeDw111azUkoZE3ckgNx17aYM+ibgYzqcXXLzc RzhYiyQmdO1CRQTQ3ZYhMVWMKM6PZCxsXmV1ybJlCIpym9f0BwXyRKOm8on4n7yed2 JH766RmXtRVbg== In-Reply-To: Feedback-ID: 43053548:user:proton Received-SPF: pass client-ip=185.70.43.25; envelope-from=goncholden@protonmail.com; helo=mail-4325.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137555 Archived-At: ------- Original Message ------- On Thursday, June 9th, 2022 at 9:51 PM, Skip Montanaro wrote: > > > As for TAB not inserting a literal TAB character, > > > indentation is controlled by the major mode. I believe that > > > for ELisp, the default indentation is just two spaces. > > > (Don't quote me on that though.) > > > > Why is `indent-tabs-mode' t by default? Tabs should not > > be used. > > > We say that today. I've been using some version of Emacs since the > early 1980s. Before the appearance of indentation-sensitive languages > like Python, inserting a literal TAB when the TAB key was pressed made > sense. > > I suspect it's a case of "old habits die hard." Quite right and unfortunate Skip.