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: [External] : Tab completion and electric-indent-mode Date: Fri, 17 Jun 2022 18:33:35 +0300 Message-ID: <83zgibnw34.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22991"; 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 Fri Jun 17 17:36:03 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 1o2E0w-0005hG-Ft for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 17:36:02 +0200 Original-Received: from localhost ([::1]:49806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2E0v-00015m-7r for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 11:36:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Dyf-0008Au-SJ for help-gnu-emacs@gnu.org; Fri, 17 Jun 2022 11:33:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Dyd-0007Aw-Jw for help-gnu-emacs@gnu.org; Fri, 17 Jun 2022 11:33:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=KJaFtuKG1+AB+2IPp1A6oAjJiU2/K+bSjXO0ni9L78k=; b=euC20BGC22H0jxcpwFS/ 0J576+CPA/FjSgZT50WMrVs7WDo/QGlRxvYYtD+jsg99JBrwb/74RhB2DekvZ2BYBKCmVm57gjFHe M4O3I+a9uhWIMDjy4MgNxt9WpjmdIfb2I0sdXf9/C/4pcWwgxPSQXMirvM1yyeaqPwhlo8mYiDYRv SD/k8LU5YjLbzB8M5tzx5/yP8NdnkvtVh7rYoOXf8sCgVUPRZ83+vvIE+AfyQRpgIJ7jgC0gLG0st TwnOtyBVwOe3uHkoUVs9IbY9fLT81g3nN/w1mEPnj21Zo5Ec9QjRRhntvz9Xg1QkjLuGQsLAUbdk8 R4tpsbxdFhv0wA==; Original-Received: from [87.69.77.57] (port=1545 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 1o2Dyd-0008Ps-2g for help-gnu-emacs@gnu.org; Fri, 17 Jun 2022 11:33:39 -0400 In-Reply-To: (message from Drew Adams on Fri, 17 Jun 2022 14:10:00 +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:137900 Archived-At: > From: Drew Adams > CC: "'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'" > Date: Fri, 17 Jun 2022 14:10:00 +0000 > > > `electric-indent-mode` says that in does "On-the-fly > > Reindentation".  What does that mean, and how is it > > different to normal indentation? > > (What's "normal indentation"?) > > The doc string says that the mode does this, which > is presumably what it means by hand-waving with > "on-the-fly reindentation": > > this reindents whenever the hook `electric-indent-functions' > returns non-nil, or if you insert a character from > `electric-indent-chars'. > > The Emacs manual, node `Indent Convenience' says: > > Electric Indent mode is a global minor mode that > automatically indents the line after every > you type. > > If you feel that these explanations aren't clear > enough then please consider filing an enhancement > request to clarify further: `M-x report-emacs-bug'. But before you do, I suggest to check the latest code, because the above quotations are obsolete.