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 12:33:07 +0000 Message-ID: <1nSa0QRUilv-1bDwO14iTktsVVvkGK5Z4YmCRUQy2VEl-cydxtJo6_zDbkla_RGCnybukiWdu9YZaHdqGYOj9wsZArEK2AhrHk_ubYBrBYs=@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="20155"; 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 15:58:45 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 1nzIgO-00050N-6O for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 15:58:44 +0200 Original-Received: from localhost ([::1]:40132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzIgN-0003Kw-2G for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 09:58:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzHLj-0004Fs-SF for help-gnu-emacs@gnu.org; Thu, 09 Jun 2022 08:33:21 -0400 Original-Received: from mail-0301.mail-europe.com ([188.165.51.139]:33388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzHLe-0000HK-Pb for help-gnu-emacs@gnu.org; Thu, 09 Jun 2022 08:33:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654777989; x=1655037189; bh=CL9n6WvOnKY7FYnbls8hxk4juCA4gIjWFQ86JbUFOmk=; 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=cpF86+nlZ2oEVT6at/IanqtdTrbFqiS+Eco9d8VoDyFTzz0vh2NDQfxipy3ESciEi FxRa/oYc0tpzJhUiLy97k4x3EKQgwoRgAsPbz8myR/pmOfzUqMD087C/v1Oh+ALzXD ob9pT3LYILwMFLndrfgn8dUos139N+Gux8UFLwgJcWe9s8FV8KEKsGHiJmzUfsZIct Sr6CcsHHN87g3KkloL8nbIWm8M47/01lGmWEoTyRVnzQpw3zXlTRn2Zui4jCSVMSi0 LN1tm9YZZYmTthNmK0vC7K/uHZv6+ANJ7CZHspSpInTcxeqqfJ5ZOiEIjtSnv814II VgXTw3rqoDEIA== In-Reply-To: Feedback-ID: 43053548:user:proton Received-SPF: pass client-ip=188.165.51.139; envelope-from=goncholden@protonmail.com; helo=mail-0301.mail-europe.com 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_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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:137552 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." > > Skip Python is garbage as far as I am concerned. The designers thought it would= be neat to give semantic meaning to whitespace. Why on earth would they gi= ve semantic meaning to something that cannot be seen? Who thought that was = a good idea?