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: Turning electric-indent-mode off, for a specific buffer Date: Mon, 13 Jun 2022 10:53:42 +0000 Message-ID: References: <87bkuxe7dt.fsf@yahoo.com> <8735g9e1v0.fsf@yahoo.com> <87v8t5ce6v.fsf@yahoo.com> <4DUz-kf-CK2qVDH5pFZDC7c-vBuAu4wvT0bFwIEfcukj9m9mqKhHFx2kEizjKCveMd2afYBVOfqfu1UYrGtr7GYs7YdwuchsvtKWrh4sLuA=@protonmail.com> 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="6936"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , goncholden via Users list for the GNU Emacs text editor To: goncholden Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 13 12:54:46 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 1o0hiY-0001af-J1 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 12:54:46 +0200 Original-Received: from localhost ([::1]:37260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0hiX-00087e-4B for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 13 Jun 2022 06:54:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0hhe-0007zq-Nx for help-gnu-emacs@gnu.org; Mon, 13 Jun 2022 06:53:50 -0400 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]:24953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0hhc-000321-6o for help-gnu-emacs@gnu.org; Mon, 13 Jun 2022 06:53:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1655117625; x=1655376825; bh=bWpMx8WYAvoYZSVJ+d9RA8xD4mVwjhs5eaGHv78UMfE=; 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=G8QLpUaWWq66TaAHj/JSYBFQvVqCd/HbBnLII5qfp23FnGtx0JmLjxYKSDbIEC6dg Yb86a6Hf6pbQnZfl2AlDqD/BiZeqI4y6itz5Iowb8TTLGV07kLJAsikHivZBS+foht EyWEhquzj+A82XM5u3SkBc5LoKbz7aJZCIW69bJdAVMVNB0ewwI3PjHGAASoKXTFu8 nWwCDWIgpl4Z0xKuo/hQoFbfOqmjyzxOQwZdmbrtxKf2iEk17H84v7yiw6agW5cE/J 0CExCOQYS1kI9lPRq03GilM+f2zvUj86SPoZpVet/QCIrfEE9XpaBgaclgwy1/K7G7 RHeCBs9T5awtw== In-Reply-To: <4DUz-kf-CK2qVDH5pFZDC7c-vBuAu4wvT0bFwIEfcukj9m9mqKhHFx2kEizjKCveMd2afYBVOfqfu1UYrGtr7GYs7YdwuchsvtKWrh4sLuA=@protonmail.com> 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, TO_EQ_FM_DIRECT_MX=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:137783 Archived-At: ------- Original Message ------- On Monday, June 13th, 2022 at 6:07 PM, goncholden wrote: > ------- Original Message ------- > On Monday, June 13th, 2022 at 5:42 PM, Po Lu luangruo@yahoo.com wrote: > > > > > goncholden goncholden@protonmail.com writes: > > > > > What's the recommended way to do this, disabling `electric-indent-mod= e`? > > > > I (and the doc string of `electric-indent-mode') already told you: just= disable` electric-indent-local-mode' in the buffer where you want it > > off. > > > Ok Doing "C-h v electric-indent-mode" says that setting this variable directly= does not take effect, but one can customize it. It is very confusing. Ho= w is it ok to customize it and what happens when you do? Perhaps this needs change so one does not customize it?