From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Spaces rather than tabs by a major mode hook Date: Sat, 11 Jun 2022 11:40:20 +0300 Message-ID: <83r13vy4nf.fsf@gnu.org> References: <1Qq0hFFvO9sxfxs3_9pMdP6KDhb1FPNvSMdecSbjkriiidHBUK22Q_ZjHRHRoG97PIW0jr0F4yq311wLGn2EO_sgCWceZJ9aM_7IhxpVpoM=@protonmail.com> <83wndoztbi.fsf@gnu.org> <83k09oz52i.fsf@gnu.org> <83h74sz4kh.fsf@gnu.org> <83a6ajzmza.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39697"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 11 10:41:01 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 1nzwg0-000AE5-VM for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 10:41:01 +0200 Original-Received: from localhost ([::1]:42142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzwfz-00004s-I7 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Jun 2022 04:40:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzwfS-0008Ux-OW for help-gnu-emacs@gnu.org; Sat, 11 Jun 2022 04:40:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzwfS-0007sz-Fx for help-gnu-emacs@gnu.org; Sat, 11 Jun 2022 04:40:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OOcGTyW5WcsDr5zeaOU2dRkF9w0hbtgMgHObsLBMv8U=; b=rcWgYj7g1N9T f3fwsZBedtfOmBAMNzgmjOqiULnd5CG4zJrV/8Y90WTUkK16O9t39Y+oIfbpu57/ED93kFcZIUOzE iCJW4PLKAX5HurfjMVfdXAljI38VLqJQS1uPvIy7Xr/wYpCcEByCV0hae4Nbg8RgnA75h2aydUltC PHop0gkurkx4IZWL07EBwSdhNcLoYFfsAnJXvi/Ybia1S0/gAZS7+WV8RamFMVNTRhOVUbhhx3t01 OTVwn7/Xg6RCowsUABOZGUBuNbPQloEfML9IwhBOAkXd8HYzDt0u+WmDku2/1PfJ0qexW16FDN+/8 VSX1aVZbSmSt9Qz19x9j5g==; Original-Received: from [87.69.77.57] (port=2730 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzwfR-0006rm-Vb for help-gnu-emacs@gnu.org; Sat, 11 Jun 2022 04:40:26 -0400 In-Reply-To: (message from goncholden on Sat, 11 Jun 2022 08:17:53 +0000) 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:137681 Archived-At: > Date: Sat, 11 Jun 2022 08:17:53 +0000 > From: goncholden > Cc: help-gnu-emacs@gnu.org > > You have complicated the customisation tasks compared to all other languages. This tab thing also happens with other languages such as C with multiple tabs. Other languages usually have their own facilities for customizing indentation. For example, CC Mode even has an interactive command for such customization, whereby you make the changes and immediately see them reflected on display before you even decide the customized value is good for you. See the section "interactive Customization" in the CC Mode's manual. Different programming languages have different requirements and conventions regarding indentation, so this has to be customized separately for each major mode. > Have not really seen elisp code to do this. And for each supposedly solution, a multitude other problems crop up. This is just so that I can modify some files. The experience is that customisations and a big effort in themselves. It has not been satisfying for me also, to end up with the huge number of customizable variables. You pass negative judgment on features you didn't even seriously bother trying to use. There's no real value for such judgment. As a matter of fact, customizing indentation does solve the issues you raised, and the assertion that "a multitude other problems crop up" isn't based on any factual findings. It does diminish the motivation of trying to help you solve these issues. > Just seeing things the way they are. I wish you have.