From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: Org mode behavior change in 27.2 (org-adapt-indentation) Date: Tue, 23 Mar 2021 08:23:50 +1100 Message-ID: References: <15975.1616436248@alto> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003b3a9305be26af24" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39530"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Mike Kupfer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 22 22:25:01 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 1lOS2n-000A7X-AQ for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Mar 2021 22:25:01 +0100 Original-Received: from localhost ([::1]:35028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOS2m-0008Ho-AW for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Mar 2021 17:25:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOS1v-0007KM-Kt for emacs-devel@gnu.org; Mon, 22 Mar 2021 17:24:07 -0400 Original-Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]:46019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOS1r-0000ko-Sh for emacs-devel@gnu.org; Mon, 22 Mar 2021 17:24:07 -0400 Original-Received: by mail-ot1-x330.google.com with SMTP id f73-20020a9d03cf0000b02901b4d889bce0so17409863otf.12 for ; Mon, 22 Mar 2021 14:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AycLNwwORkpu32uuT8Y0eukV5B5SHmtKu+2RnFp7qNA=; b=SHiCxucVv//RztawcfXNvJz2s3R8+jmWPDRR4a4WI2uJu7uH+HqBNfbyDK+vvbrzHN WTQXFjsvpCedW3YavCP6YqvL/Jpq4iFmy8pil7L52BPFt9yeRawDzZJtZAjdBnjwgyl9 ckuEegQmlHDnHR3F44C0GUfTG73ugBjhanQ487dHkkc654HXLy0jvqswsryARrvFZKMR K6au7X+35mDfHNvmhpOinyd5G07jjJrVWzeEuuZ3T1OdrLwXAoLbYZGLeVNd8j2uIuHd MGc9nPAPaIKBJNrVxQCBFynSeNkZuWnnTBMUc3j2ZojS2v3h8uScS9GQsjuC5kvSzOzt XVDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AycLNwwORkpu32uuT8Y0eukV5B5SHmtKu+2RnFp7qNA=; b=kFAaoIeMQp0/xJjoVCMbxHHzwR3i97STtD53Ye8ztTISUG3YTRW5AfwaWCCpRLaFDH dfeTME1X4VOWRr7jzxvN+lJuTfOD2Am7jJvGN/TTg4DNP8B8jxbpynDbUmap+MwcRl9w PzEXTAS2M74KYGscxnlEzLcckrqXAfUwymiTWHzRgZ583CE8l7bOSVlqNetmYfYetrrm uuiHo8fvbTmt+NMAyDI2UFIDROP696Sun0OQMHQKMZIDsSyahmKR2rr6a5ouH0bWE7iZ NX0zCRNlIgAQ4fufuuzuNOPImzoYstRXlK+4aF/bhyx7BFpaXBN2oozKWu7vxtoVxzfK Lcxg== X-Gm-Message-State: AOAM532wU2slrkr4SRRwExDf4yJwUbcIfAz1+pZSytcJAIKZQEHlG0ai rqzGzltOqA6axnUytsomkoOYnQHcwi0il5kEVzk= X-Google-Smtp-Source: ABdhPJzNT4/yx0YQntejPsY7epGL+fnCAT/sIHVFLWPQduNpv9fM/n8ljL6+VRWQ1wV8q/kaNIT5a7EhEN8/ezhBp7Y= X-Received: by 2002:a05:6830:22c3:: with SMTP id q3mr1535193otc.56.1616448241481; Mon, 22 Mar 2021 14:24:01 -0700 (PDT) In-Reply-To: <15975.1616436248@alto> Received-SPF: pass client-ip=2607:f8b0:4864:20::330; envelope-from=theophilusx@gmail.com; helo=mail-ot1-x330.google.com 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:266835 Archived-At: --0000000000003b3a9305be26af24 Content-Type: text/plain; charset="UTF-8" On Tue, 23 Mar 2021 at 05:15, Mike Kupfer wrote: > I upgraded from 27.1 to 27.2-rc2 over the weekend and noticed that Org > mode behaves differently, even with "emacs -Q". > > In 27.1, if I visit foo.org and type "* header RET", point is put in the > first column. In 27.2, point is put in column 3. > > This behavior is apparently controlled by org-adapt-indentation, which > is t in both 27.1 and 27.2. So maybe the behavior change is the result > of a bug fix? Should this be documented in NEWS somewhere? > > > This is actually a side effect of org now honouring electric-indent-mode. There is a section about this in the org NEWS file. Previously, org did not support electric-indent-mode. Adding this support means that org-adapt-indentation now acts slightly differently than it did before and can be impacted by the setting of electric-indent-mode. I would agree that the NEWS item on org-adaptive-indent should probably referrence the entry on electric-indent-mode (and vice-versa) and the two entries probably should be closer together in the NEWS file. -- regards, Tim -- Tim Cross --0000000000003b3a9305be26af24 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, 23 Mar 2021 at 05:15, Mike Ku= pfer <mkupfer@alum.berkeley= .edu> wrote:
I upgraded from 27.1 to 27.2-rc2 over the weekend and noticed that Org<= br> mode behaves differently, even with "emacs -Q".

In 27.1, if I visit foo.org and type "* header RET", point is put in the=
first column.=C2=A0 In 27.2, point is put in column 3.

This behavior is apparently controlled by org-adapt-indentation, which
is t in both 27.1 and 27.2.=C2=A0 So maybe the behavior change is the resul= t
of a bug fix?=C2=A0 Should this be documented in NEWS somewhere?


This is actually a side effect of org now honouri= ng electric-indent-mode. There is a section about this in the org NEWS file= . Previously, org did not support electric-indent-mode. Adding this support= means that org-adapt-indentation now acts slightly differently than it did= before and can be impacted by the setting of electric-indent-mode.=C2=A0

I would agree that the NEWS item on org-adaptive-in= dent should probably referrence=C2=A0the entry on electric-indent-mode (and= vice-versa) and the two entries probably should be closer together in the = NEWS file.=C2=A0=C2=A0


--
<= div dir=3D"ltr" class=3D"gmail_signature">
regards,

Tim

--
Tim Cross

--0000000000003b3a9305be26af24--