From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: newline-and-indent vs. electric-indent-mode Date: Mon, 25 Jan 2021 04:29:55 +0200 Message-ID: <801ef866-4212-5b74-350e-9942953174fe@yandex.ru> References: <87wnw5yt58.fsf@hajtower> <01d07f6d-cc4c-2f54-4bae-a611bba7be93@yandex.ru> <66b7932d-4cee-9628-fae0-168ee6ebc041@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10903"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: Madhu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 25 03:31:00 2021 Return-path: Envelope-to: ged-emacs-devel@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 1l3ree-0002jz-0R for ged-emacs-devel@m.gmane-mx.org; Mon, 25 Jan 2021 03:31:00 +0100 Original-Received: from localhost ([::1]:35022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3rec-0003tS-WF for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Jan 2021 21:30:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3rdh-0003SM-Uv for emacs-devel@gnu.org; Sun, 24 Jan 2021 21:30:01 -0500 Original-Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:43595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3rdf-00074M-S5 for emacs-devel@gnu.org; Sun, 24 Jan 2021 21:30:01 -0500 Original-Received: by mail-ej1-x632.google.com with SMTP id a10so15788194ejg.10 for ; Sun, 24 Jan 2021 18:29:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DhIXcBF0YjbO5tO9Obvrmm2YB251nt8X9QFkeF8x+dk=; b=qhlEUatnUwQIBlDo0AfluAFVgHSHDwHX3kNcLAdaDTvrAGxOR556I7Wg6Bf+/q9H14 qBvxt/x+vnWk5eAURBGsxTFBMe73yJNOiUMxbUFWi6x9Pud5MnMCKdyxzlgYq04QZmk2 BFqLTNNJnEPF9fmp5x7BtN70GAh/14ktUynY7wlnmUba4Pxet5psUQihb/UUqn59GQwC D/6V2C8kmHC7UCGbkoGNF+afYHvadnVzBMQYiQyC8RDHyfmTSPjCMHnQseqYi6XU/qyz i2EiYfZZktzV3bhOGnnAhwb+ejUvy/HJ2M6CUiNbftHyFqC79jlHiXKJC0pgXzeLXAcb f75Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DhIXcBF0YjbO5tO9Obvrmm2YB251nt8X9QFkeF8x+dk=; b=bs4WRGqCwkWrkm+jlkhRx5PEco49SK45fFC3xbH2wNL8LaOc3ehoyMZCUa4yqjQrkH Y6BOt0vYEJ4CUQoMHlbI2i19M4y4k/oOgpZlnJpkEiVRQbsyBI57ws3XzuZoyjTAAgNE QiUa3WXzb4YEY83XmCMQPACSXtqhFK6iPQ2ssTZ/3+5u0CWauyh9w0dnbITNZRecoFeX UwF/jydqq/hNT+6zSfDmT/C+QmF4kBDP9sADrYC92J0Ou46mEJn5zeLzIzdVBD1curvc 3oTq4W8niVpjhSAPGSV389o6SwVbPLamRV0jolaSBqT/HEHm59hndRJ0RrtlvuZIaMQL aHrA== X-Gm-Message-State: AOAM5321nvBga886YWQEIejlq1BObohCwK0NApP0q6R9AWg0URKnbgsX tPpOaRuZle5tt2ppkeFcyKVTv+fTv8k= X-Google-Smtp-Source: ABdhPJxtxWsXGYrmeg7/i9LeVtSBaYyeci8mYfnTpaaexZQZw7OjGWxpMbpg4k9CbG6ePbOX0MeXNg== X-Received: by 2002:a17:907:7346:: with SMTP id dq6mr275045ejc.237.1611541798058; Sun, 24 Jan 2021 18:29:58 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id i6sm7629184ejd.110.2021.01.24.18.29.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Jan 2021 18:29:56 -0800 (PST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=raaahh@gmail.com; helo=mail-ej1-x632.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263370 Archived-At: On 25.01.2021 03:56, Madhu wrote: > I used to be benefit from emacs indentation by binding RET to > newline-and-indent and remain in control of indentation. How was it different? newline-and-indent can lead to "spurious whitespace" just the same.