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: Sat, 11 Jun 2022 21:17:57 +0000 Message-ID: References: <83a6ajzmza.fsf@gnu.org> <83r13vy4nf.fsf@gnu.org> <83leu3y0hs.fsf@gnu.org> <5a55bbf0-7ff6-7b97-f414-de4ab94e000e@yandex.ru> 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="10789"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , help-gnu-emacs@gnu.org To: Dmitry Gutov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 11 23:18:50 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 1o08VN-0002f4-O7 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 23:18:49 +0200 Original-Received: from localhost ([::1]:58448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o08VM-0008PT-Cy for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 17:18:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o08Ui-0008PK-AQ for help-gnu-emacs@gnu.org; Sat, 11 Jun 2022 17:18:08 -0400 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]:18367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o08Uf-0006N5-Vq for help-gnu-emacs@gnu.org; Sat, 11 Jun 2022 17:18:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654982283; x=1655241483; bh=LnZU7kJ11LRC5IntvN8IP9KKvwDc9uZNE2AIdEBREJQ=; 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=FDyWIG8Dvebzoln4rkGGeCPE+fYKfv/KuEtr/3cJoSIPfh9BbEzSsyQZ5zbxFkTpj iAbzNSeSbCz4G05cGPYGKygySAsZFf7gDJriyhpm8T8Uxxyn48s1iZsglPiZQKafVB h4UcHuJX8/cCvWLd++ggXeMKrzd+JK079uGdFVHtUw8huP26kgntTT9MTJ6cSF8wx9 rmwmtlrmDOx5Qwhld9+5MxX/6Eg254BKnA9uDCAZwbm4ILCpj3C+0c0F/wWn+G6avO YERTY1Z6+nZU9Dms5zmTmzKL/V2RiFI8sbbUV036lsqY74aXpVW3UxKCJH9EjKhklc 87OMQzYo3rhhA== In-Reply-To: <5a55bbf0-7ff6-7b97-f414-de4ab94e000e@yandex.ru> 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:137701 Archived-At: ------- Original Message ------- On Sunday, June 12th, 2022 at 9:00 AM, Dmitry Gutov wrot= e: > On 11.06.2022 13:39, goncholden wrote: > > > Is there a way to disable emacs indentation rules altogether? > > > Rebind "TAB" to 'self-insert-command' in that particular major mode. > > Or to 'indent-relative'. I have tried that. You get encouraged it might work. Until you press retu= rn on the end of the line. Then emacs deletes all the tabs. Emacs should have a minor-mode or settings that only keep the highlighting = for the specific major-mode, and allows the user to format as one pleases.