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 19:56:25 +0000 Message-ID: References: <83y1y5yn2r.fsf@gnu.org> <1Qq0hFFvO9sxfxs3_9pMdP6KDhb1FPNvSMdecSbjkriiidHBUK22Q_ZjHRHRoG97PIW0jr0F4yq311wLGn2EO_sgCWceZJ9aM_7IhxpVpoM=@protonmail.com> <83wndoztbi.fsf@gnu.org> <83k09oz52i.fsf@gnu.org> <83h74sz4kh.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="18666"; 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 22:05:18 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 1nzksf-0004Xd-7j for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 22:05:17 +0200 Original-Received: from localhost ([::1]:35418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzkse-00044H-0V for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 16:05:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzkkE-0000mm-Rd for help-gnu-emacs@gnu.org; Fri, 10 Jun 2022 15:56:34 -0400 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]:14547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzkkC-0001Cs-S5 for help-gnu-emacs@gnu.org; Fri, 10 Jun 2022 15:56:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1654890990; x=1655150190; bh=JHKNKCcdTjyxqLnoSokoiivjUtAa7oPZaohqmPNdfAU=; 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=TTcd34oixRyAIwDDUs+oRwTRvMgwoaZdU0CeEY4quouWvKXnR5z+QsNDPMGrLspaY WkflYSgX6S5Zxn87x0EZeHSh4PjaS1umkMZd7g4SaWPazxh7zsv8B3npwPdCcBDRwK qCd8m8Madwc65YLkbE3avO03ux0OMyIujZVl+H/zas3BO1VJwoMX5Y1OCIo6u7rR/I id3K1SYRoFUqxkdkbfEFavlUSZo+RjUisiYE5mriPq3ouY/6y0bsy1sKifWDYjvMmO 5MNeg8zSoBEf/gzDtCIoGPPA7sfK5S2nVqURsYNshZhYDZRydKxV9xVv0vobcRlyIp hCfAtZVU3Ha1w== In-Reply-To: Feedback-ID: 43053548:user:proton Received-SPF: pass client-ip=185.70.40.130; envelope-from=goncholden@protonmail.com; helo=mail-40130.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=unavailable 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:137634 Archived-At: ------- Original Message ------- On Saturday, June 11th, 2022 at 7:52 AM, goncholden wrote: > ------- Original Message ------- > On Saturday, June 11th, 2022 at 7:44 AM, Eli Zaretskii eliz@gnu.org wrote= : > > > > > > Date: Fri, 10 Jun 2022 19:40:59 +0000 > > > From: goncholden goncholden@protonmail.com > > > Cc: help-gnu-emacs@gnu.org > > > > > > ------- Original Message ------- > > > On Saturday, June 11th, 2022 at 7:33 AM, Eli Zaretskii eliz@gnu.org w= rote: > > > > > > > > Date: Fri, 10 Jun 2022 18:10:15 +0000 > > > > > From: goncholden goncholden@protonmail.com > > > > > Cc: help-gnu-emacs@gnu.org > > > > > > > > > > > > Have attached a file. When I press tab, the tab actually gets= removed > > > > > > > and the code ends up in column 1. Strange things are happenin= g with tab. > > > > > > > > > > > > In what line do you see this? And in which version of Emacs? > > > > > > > > > > I am using version 27.2 > > > > > > > > > > For instance, it happens when I go to the beginning of each line = in the Arguments Section. Pressing TAB on the first column removed the tab. > > > > > > > > Doesn't happen here with Emacs 27.2 invoked as "emacs -Q". Did you > > > > try that in "emacs -Q"? > > > > > > With "emacs -Q" I can only introduce a single tab. If a tab already e= xists, the cursor goes to the start of the first character. > > > > That's the intended and correct behavior of TAB in > > programming-language modes. What is the problem with it? > > > It is a problem because the authors of the code used multiple tab inserts= for indentation as well. This rejects the use of emacs outright. Most likely written by some old dudes working in the late 80's and early 90= 's. Have a good hunch that they were old fortran programmers that did not = entertain the idea of moving to Fortran 90.