From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YC7cJsa9h2D9wAAAgWs5BA (envelope-from ) for ; Tue, 27 Apr 2021 09:31:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AGyZIsa9h2AzYwAA1q6Kng (envelope-from ) for ; Tue, 27 Apr 2021 07:31:18 +0000 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 A8CBA2C765 for ; Tue, 27 Apr 2021 09:31:16 +0200 (CEST) Received: from localhost ([::1]:47648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbIBe-0003uG-JE for larch@yhetil.org; Tue, 27 Apr 2021 03:31:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbIAO-0003iC-Nw for emacs-orgmode@gnu.org; Tue, 27 Apr 2021 03:29:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45345) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbIAO-00079f-G4; Tue, 27 Apr 2021 03:29:56 -0400 Received: from [2a01:e34:ec2b:7150:6ed7:7f91:e8e8:7d37] (port=35980 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lbIAN-0003JS-R5; Tue, 27 Apr 2021 03:29:56 -0400 Received: by guerry (Postfix, from userid 1000) id A6C431A60EC3; Tue, 27 Apr 2021 09:29:53 +0200 (CEST) From: Bastien To: Ihor Radchenko Subject: Re: Bug: Logbook drawer and org-adapt-indentation with value headline-data [9.4 (9.4-7-g3eccc5-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200921/)] In-Reply-To: <87pmygnr7h.fsf@localhost> (Ihor Radchenko's message of "Tue, 27 Apr 2021 15:04:34 +0800") Organization: GNU References: <87r1qukjjs.fsf@gmail.com> <878s9p4xtt.fsf@gnu.org> <87v988p6ow.fsf@bzg.fr> <87pmygnr7h.fsf@localhost> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Tue, 27 Apr 2021 09:29:53 +0200 Message-ID: <87lf94gp72.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Gustavo Barros Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619508677; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=huNfkK2XxgKLOgqJD8O7EQn0XeVJEukrQxRPOrbdmSI=; b=h1EqKtMbRRKZA15jTgiTpMFTLHcTaVuLmJnWqUtMqkvBMMEloqK735bTMwS4WvZI0i8a/X 1dk928aX/2/Vbc9yQt9WUzzzzAkqY8yOGx1faVC7kAAkJaD0TbqCfDHoCRpZdWKWCGSC5v SPKIobqvRLUQc7mgvWH5dw+5eeTgNDi8QlFNC9rcGEl+8NRYRp1c87o9fv98Z0D7t67XEo NjQfzyQp6AIcMI6NE3YYVZCtxgo9V7F3SqAvIVKlADXnYnRLl8GTMyeUdxb2l6tYFhqDsH o53J+cfjJ+CePOBdnPJGo5cE8z9lLJ1pxNe0JAG2KiyS+wur7wvtgyQraxD+6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619508677; a=rsa-sha256; cv=none; b=Vg7VT/ZxBLk+su3RAaCzcuJloR5u7OmoULs3v5gXxNQXh3k/lWpfCNCIBvix0t2ChRAGif d4z17wKIcsI4UhHtTJviRRe9Mq9MspDPwoNZWFsjpWqR3obNa8EfD84kQk5yt6JiMzFusZ +nAkLKeJPvRHQHT9ENSudPzS3n1c2qct0Uf9DPF6WYqaES1pVio08AV8xYSBjI3AE3L/T3 5PpW/d4lJT2pi6O9D+cCzYU8HPR2tHFuqk1ki9iys+oAxSn+NRe5+WlpAFqPGBPrXhMc0a fRk1b3CYqGf3mbZh7a1b7gMxPbCvWmCrm2sPrnG2bBMgUS+B/6B71FskL87IUQ== 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@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.95 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@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: A8CBA2C765 X-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: Tnn0gIwEURGg Ihor Radchenko writes: > Maybe you can use > > (eq (org-element-type (car (org-element-lineage element))) 'drawer) Indeed, thanks for the tip! Committed as 26d1d29cf.