From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.help Subject: Re: Spaces rather than tabs by a major mode hook Date: Sun, 12 Jun 2022 14:53:39 +0800 Message-ID: <878rq2gyoc.fsf@yahoo.com> References: <83r13vy4nf.fsf@gnu.org> <83leu3y0hs.fsf@gnu.org> <83h74rxze0.fsf@gnu.org> <83bkuzxvur.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10919"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , help-gnu-emacs@gnu.org To: goncholden Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 12 08:55: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 1o0HVh-0002e9-3K for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 08:55:45 +0200 Original-Received: from localhost ([::1]:48174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0HVf-0002M1-Ge for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 02:55:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0HTu-0002Lm-V4 for help-gnu-emacs@gnu.org; Sun, 12 Jun 2022 02:53:55 -0400 Original-Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:45846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0HTt-0005b7-8B for help-gnu-emacs@gnu.org; Sun, 12 Jun 2022 02:53:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655016831; bh=E1YHpl0Oz6m+CIupAtlP+h9B1gXCOCOuZxiLOugbtnU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=UhbHyF39505bRuFEOwQKHcblQ4tlJ7qGFR/yU5BMQnyKKFqCjCmo+auvLK81BdmW61JRCHzDhpP3USG+fRIfcmI4a/TCpz8B5cqXyBm0xmD0SG2OY7YK/OTMbgxQffMoNgyahjevVuC+Zr8WxSaw8rGmFIe5g+zKi9kfLK0L5SCp3c9hc9VAFsf1LI2l87Dbnc3J3y1rZxoptbgcfVJ8SsBFwrH2Jtbv4+05wY30tITOAwuwreDEx7Re1Doo9+xUTTFv6W5t9wstr5y0QfIRmqGprILh94LbD72JgVABJUd4xk4oF1zNpkWdilE8cR2orCw6pAgNr4Azls8PJWi7pA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655016831; bh=+ze8SSiQIxZ0SZ/yf0A8jFm+gVneA9ts9aGe6XQ+NaW=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=uRP66t2EYoaWM0mKnQ3a4vNX/wR8VRqdHQJ3XpLH1wrfX6P9mvj8Qt3N4g4H4wajf9IZlYt2HTLN3pUvofpShdmkRgBxCGcCBDpODgxlF7/Vkkrq+Gk2PWXntGU4kru0gMttHvlMHq7eSVCmbDkxQDbwsaaWeBDSbAro+7uJYhgXl3Blb2qW5g22pQiaPqKlSzdgeB/NecXEHvKTCoOQGs4FKqW5CPlk0jydnV0xGDGswiytXVfrfvMSW3laYMHQ8hfKMpoE9+VfRfMi2bOzvE36DldkOiVZjszGI+Dumxlf5gOnt957H1u2T5iEG4GWznm/sfIM/NamPhrH9uCdGw== X-YMail-OSG: MvDF4MUVM1mQ5awIb1o_iCUwS0YcBvDK84wS2koGwPM0saslzL2jyG.U5vNqQaB ZtgRvKLa1Or41exHf7BehSuMue.m3DMf393_liRTa7KzoFhPpNn1Rf6Y0t5Hz58WmCZ_zcnQqmi2 YO8.uzbi3mI4G1t63IKaESuOPX5HpuF6JzRgJY1O3up8D1UfKb4gQJCZE7s1VSTzseteZK7Nw5zz RdhwUJyjvLO5IW9HKTOWH9oEuTiG5JT1oZpYLxj2IrHDERshmyCK6W3pqQo1tCjWXxGU0jjfiC2t PsZ.zs_0Hf9vDL4S.Wi4gtdYYYsEhlmXsBmTqraEmwp_6ZQpfIE589qcWKTOsobTrciFfMdd5rOl PqSnsHb4naXHTj.ofelv6yiKLB3GPS1mHlC4XQWe37Y9s2zi9qKcGO30Dqsg4Pd8D0uo5Rsf2Jxt wNuRqF7mHGDloMkoQOrqPDjPjsgybAR850gB_aDIH5P4afEV.pQah1aOu2U8AIyHkrc8u0Ft6ySR WnBBAXpffbgtSBYdg9zVk.bSHCA6Iw6sSdPF.5zOdScjudM7NGQ6eLkvOLWa4Y8GWr1QBjeXHyWq XgfCGoufUG2eCE7bw59WQf13oSaT.G7JrJWZyy_P6283dFxZQrsRb42.kiod_lREm5aksMUwuOLV qFw4xN3Lcp7VlTV77XyG9BfSYVaN6fGHhZfKtk8_aAVucNuR2jAO92I6wlXgzOE9T0X03kmALC5H KtwI5mIDmGIVU35BZA5xR9h8CdfCbSHQ2H0OBc4ECW1jMH4rAx2qJpjhYQ69Gv18UaUl46Ua1UG1 pp3RiRHPU.s_4CtPKmKMAMARSb_vimPFS_GNjm6_OL X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sun, 12 Jun 2022 06:53:51 +0000 Original-Received: by hermes--canary-production-sg3-5f7658c994-m7v88 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f36d61551330c2a9d775c70e93a61d3a; Sun, 12 Jun 2022 06:53:45 +0000 (UTC) In-Reply-To: (goncholden@protonmail.com's message of "Sat, 11 Jun 2022 20:02:57 +0000") X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.199; envelope-from=luangruo@yahoo.com; helo=sonic301-30.consmr.mail.ne1.yahoo.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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:137717 Archived-At: goncholden writes: > The mantra that things can always be customised implies observance to > a single formatting scheme. Legacy code does not even subscribe to > that. They only had simple editors. If I introduce tabs with "C-q > TAB", all those tabs get removed by emacs as soon as one presses > return at the end of the line. > > Emacs is acting like a dictator. So just turn of electric-indent-mode, right? Because if you don't want on-the-fly indentation, you shouldn't be using it?