From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GMe9CHPRSWTv7gAASxT56A (envelope-from ) for ; Thu, 27 Apr 2023 03:35:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wLzVB3PRSWS3CwAAG6o9tA (envelope-from ) for ; Thu, 27 Apr 2023 03:35:47 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 94CF718428 for ; Thu, 27 Apr 2023 03:35:46 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prqX6-0001vd-6o; Wed, 26 Apr 2023 21:34:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prqX4-0001vU-KD for emacs-orgmode@gnu.org; Wed, 26 Apr 2023 21:34:50 -0400 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prqX2-0003eK-VS for emacs-orgmode@gnu.org; Wed, 26 Apr 2023 21:34:50 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id a3bc14a3 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 27 Apr 2023 01:34:46 +0000 (UTC) References: <187c02bf96d.102a75f9b39134.5549411967079066520@zoho.com> User-agent: mu4e 1.9.22; emacs 30.0.50 To: "James Harkins" Cc: emacs-orgmode@gnu.org Subject: Re: "Indent headline data" is indenting non-headline-data Date: Thu, 27 Apr 2023 09:30:13 +0800 In-reply-to: <187c02bf96d.102a75f9b39134.5549411967079066520@zoho.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=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: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ruijie Yu From: Ruijie Yu via "General discussions about Org-mode." Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682559347; a=rsa-sha256; cv=none; b=gwJ00V/jeMbwznvuNBxcTxhqDWHmBh7a7tzOAZ/jmWeEkbolhDsPeKIXRiQIM99VY6dEdG mFi9KPIt5vJy2RtvdsdWBuT09BpvyELSds9gM55qtjvmoweJL/ObRExjX9n7YF4AwC8B/3 H46OfSjWJNQUgR2Vm46B4qwuO5x0vcscjVpFmDxu8KoHSVJGEctWq6aGVVY7lZTe2aavU1 ptlp5bqnpaiDV1qA2TnQu95XNDHWQoRXv1HS/601lGhn/6+623O52F0r3eDd0g8hhWpm+r FFxMbjXJeTW0kxsrhyw76hTs89zsTblRF5KkrPN+k4PSscZOPjqI9GAOS3m0SQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682559347; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=45LodUU5MmSfi54w74MPsa4/oUzmKeul/fjMUUCp5BU=; b=iWmDjn0sbn+RiTG1gTcOjc9UUbyWzDa5uf8tL7mLN//Ie5d9qNYKoq8seuugIMcthnR2bB lHCX9Bk6e+Qkf+ma00keymGbrzGzTiyFQSfEd5xy5BIp0I8+rofRS/vP66zkNzbXtONRJD 4UCT7Xl56EfFCx0h4O7r9eNXhdgQ7zN77P5Z15T/6k20Kw0V4ckTtLEHWqdQstjCvynDO4 2jWMFPqoYzgALzvdVvb/S+WnAIoFZi0CrJneW3GCjR0ZUVwtWBii29RimJVUq8dCdUotCw imwS4HjS1vkWV5V4IDjSHaiFDC3f1/rhN4vRUFHiJYFLgLN+HqSZADfgGJmV9A== X-Migadu-Spam-Score: -0.91 X-Spam-Score: -0.91 X-Migadu-Queue-Id: 94CF718428 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: MlsYvfHpYVCa "\"James Harkins\" " writes: > I just discovered a strange auto-indentation behavior. Org 9.5.2. > > I'm currently using org to draft a paper. > > I have set org-adapt-indentation to "adapt indentation for headline data = lines." > > Now I have (just stealing some body text): > > ``` > * Headline > > When this variable is set to =E2=80=98headline-data=E2=80=99, Org only ad= apts the > indentation of the data lines right below the headline, such as > planning/clock lines and property/logbook drawers. > ``` > > If I position the cursor at the end of this paragraph, after "drawers.", = and I hit return twice to start a new paragraph, org does not indent (as I = expect). > > If I position the cursor in the middle of the paragraph and hit return tw= ice to break the paragraph into two, upon the second return, org *does* ind= ent by two spaces. > > Uh. What? > > Perhaps I'm misunderstanding what is the definition of "headline data lin= es," but this looks to me like it's body text. Why is it being indented? > > hjh Reproducible in built-in Org (9.5.5 release) from Emacs 28.2, but unreproducible in latest Org main branch (release_9.6.4-329-g466a37). So, assuming that this indeed is a bug, it has been fixed, but the fix is not present in your version. Maybe you can try to install Org from elpa and see if that helps? --=20 Best, RY [Please note that this mail might go to spam due to some misconfiguration in my mail server -- still investigating.]