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: Sun, 12 Jun 2022 20:41:07 +0000 Message-ID: References: <83leu3y0hs.fsf@gnu.org> <83h74rxze0.fsf@gnu.org> <83bkuzxvur.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="8500"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , help-gnu-emacs@gnu.org To: Jean Louis , "rms@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 12 22:41:51 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 1o0UP7-0001wY-J4 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 22:41:49 +0200 Original-Received: from localhost ([::1]:42770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0UP6-0004Qu-0j for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 16:41:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0UOh-0004QW-54 for help-gnu-emacs@gnu.org; Sun, 12 Jun 2022 16:41:23 -0400 Original-Received: from mail-40135.protonmail.ch ([185.70.40.135]:36252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0UOe-0007s0-Tf; Sun, 12 Jun 2022 16:41:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1655066477; x=1655325677; bh=T7KzXh9d2ogbt/VU6RdeCb5kSDwLBrtIP8LNvTV2gHg=; 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=p3Eel+eUWRNUQBbUlVBz6WxqfPH/SSyXpDJNAA07Kiz368nQWD914w5aOVJxrEU7P 1kG/GGtmaavQrmpyrE5ARqWxBz8TLeJiCUys1sz51ccEO4iIQXntXIqGoMXXZnz1SZ KMes8CBrSqYcgj2HKgNk2cusqdpFBIfMeRGln5t6pG0mGQOgb6Th/wqMg8il96tkpZ bsaA0BAgmmS1Fgxjm4Q00yT/J5LLEWcqIuYp70oOgTW6hXjhsk3CjM3KsOuyd1ikjp 7bRos4YjtuQPiY3Fbm/wPuNLgKjGeHZtDKvV3PD0HNfi7VGd/bu1is//0Fs47Lwwir zfglRvHcOztQw== In-Reply-To: Feedback-ID: 43053548:user:proton Received-SPF: pass client-ip=185.70.40.135; envelope-from=goncholden@protonmail.com; helo=mail-40135.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, RCVD_IN_MSPIKE_H2=-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:137746 Archived-At: ------- Original Message ------- On Monday, June 13th, 2022 at 5:10 AM, Jean Louis wrote: > * goncholden goncholden@protonmail.com [2022-06-11 23:04]: > > > No, because there are thousands of files. That was just an example > > to show how emacs takes over the file, disallowing tabs and certain > > formatting because it assumes that fortran files have a single > > style. Not true. > > > I understand that issue. > > > That would destroy the possibilities of easily detecting code > > changes. Only want emacs to recognise that one cannot impose a > > style on legacy code. It should be able to go along with no style. > > > How I understand it, you speak of turning off indentation. There is a terrible design flaw in emacs recommending not to turn off inden= tation. The wiki insists to really not do it, because one would have to tu= rn off a lot of "electric-foo" commands (such as automatic newlines and ind= entation after {, ;, etc. Emacs failed to keep track of the uncoordinated electric functionality intr= oduced. Ending up with no sane way of disabling them. The insistence is t= hen an admittance of a design flaw making it difficult for users to revert = them back without missing anything. Disabling automatic indentation completely must be a single command operati= on, with Emacs tracking what electric indentation functionality is enabled = automatically, and disable them without putting such burdens on the user. = Emacs has ended up with an artificial intelligence machine that takes contr= ol away from the human being, if our intelligence cannot figure out a quick= and direct way to turn off its plug. > Here are some resources for settings: > > EmacsWiki: Turn All Indenting Off > https://www.emacswiki.org/emacs/TurnAllIndentingOff > > clipboard - Completely disable all auto-indentation - Emacs Stack Exchang= e > https://emacs.stackexchange.com/questions/14297/completely-disable-all-au= to-indentation > > -- > Jean > > Take action in Free Software Foundation campaigns: > https://www.fsf.org/campaigns > > In support of Richard M. Stallman > https://stallmansupport.org/