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: Spaces rather than tabs by a major mode hook Date: Fri, 10 Jun 2022 05:46:44 +0000 Message-ID: References: <2nP2PN2t_BuoLFcCV1LCJLjRsU6YkW6e-VeBbRcMl2zR4tfPLI9rg26bBYSjJIhOkCKntjKW0XfBXVpaHYoXIrE7Lm4Zh-4Pzy0b1mCwdpc=@protonmail.com> <877d5pljnr.fsf@gnu.org> <20f6f8fc-7e91-4efb-bac3-8c4e6ed0ae63@gnu.org> <83h74t13hd.fsf@gnu.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="31044"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 10 07:47:48 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 1nzXUq-0007u0-GK for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 07:47:48 +0200 Original-Received: from localhost ([::1]:60342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzXUo-0005E4-UH for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 01:47:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzXU5-0005Dr-BW for help-gnu-emacs@gnu.org; Fri, 10 Jun 2022 01:47:01 -0400 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]:10779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzXU2-0003fL-V5; Fri, 10 Jun 2022 01:47:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654840015; x=1655099215; bh=n0HKrdWXwlFMpfY3aXF44vuAORs74LKT4PO5WxCx3Ao=; 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=JuSOE3i5L+imgBY0SjZP3atq+59LPtX2pmD4Jo8k6lpFI8J8jm3z3zdEiYB/rck+m d4rcR4nkcnHodAz9UrfNujeolrLmjaFkJyALrsgbR2n22YdkHpUj/ChviUxmSsBaIf bbcK2zBqFVYPV4cSs5FU2O80xbVKoK1YGSy2mbd/+RtT302w6i2pOxRZAaqBoyyo8z 7SbniMJLSf23usRV0Tmy0cgXR2BN8dbH0ZpkvJ5sFV2Fs9DbAeMjdbF4Jk048LRyM4 pgpnx7UZdrdKO5/gCs9Xx9L9FpSP1gcqL/b4Mn2sw/Y2/Cg+2fUFb9VkqspWySGzAa Wbquopee+wRuA== In-Reply-To: <83h74t13hd.fsf@gnu.org> Feedback-ID: 43053548:user:proton Received-SPF: pass client-ip=185.70.43.24; envelope-from=goncholden@protonmail.com; helo=mail-4324.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:137587 Archived-At: ------- Original Message ------- On Friday, June 10th, 2022 at 5:39 PM, Eli Zaretskii wrote: > > Date: Thu, 9 Jun 2022 21:54:27 +0200 (GMT+02:00) > > From: Tassilo Horn tsdh@gnu.org > > Cc: Yuri Khan yuri.v.khan@gmail.com, help-gnu-emacs@gnu.org > > > > The TAB key is usually bound to some indentation command such as indent= -according-to-mode. So bind that to some other key and TAB to self-insert-c= ommand. > > > Or use "C-q TAB" to insert a literal TAB no matter what command TAB is > bound to. A superior choice would be to all TAB to be a tab by default, rather than b= inding to some other thing, making the key non-functional. RETURN could in= troduce indentation, but with the tab key introducing a literal tab.