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 gFsyJAGAU2TP+gAASxT56A (envelope-from ) for ; Thu, 04 May 2023 11:50:57 +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 GFUuIwGAU2TkGgAAG6o9tA (envelope-from ) for ; Thu, 04 May 2023 11:50:57 +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 5F4373DAC5 for ; Thu, 4 May 2023 11:50:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puVbL-0000cn-P3; Thu, 04 May 2023 05:50:15 -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 1puVbJ-0000cQ-Gr for emacs-orgmode@gnu.org; Thu, 04 May 2023 05:50:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puVbH-0005nh-6T for emacs-orgmode@gnu.org; Thu, 04 May 2023 05:50:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CBA142405EE for ; Thu, 4 May 2023 11:50:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683193808; bh=VV4xNpcNwt7rXP4Cw76Wn0CtDB72Gdog9Cr9fFLQjy0=; h=From:To:Cc:Subject:Date:From; b=eFVdRM5Ta9oOb8Zt/RdFAw8ymQFhRoTLEACNut8xGzd1zqD1ZtnXem/hPfF6mh6+Z K7xYkKU8iXMjiu9cnyLC36IhOjWG+Urso3FYNU2hyb/Pmu+qYUpzAqUt+D2+E9U1uY fHKJQsdWC5Hrit4Rqi6TgWNZibsakvbWHhqk+Dd+gHohEkXVF+lWpMqe7EPx6gqsgj AST8jaSwi89qSk5PhdAdV4O/U7sqc2/+mVmY74ouEaAkd9wPFwdgsq/vZZqg5eOPW0 7fJljBaAQfkzgjMZRqJSGU0jUIp3ibVhTbCxU9Alw8EHtPqCwiRNQ0B9EXVJ4cz5V3 2B3pMYsfors9A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QBpvh2LNKz6tvy; Thu, 4 May 2023 11:50:08 +0200 (CEST) From: Ihor Radchenko To: =?utf-8?B?0JTQvNC40YLRgNC40Lkg0JvQvtCz0LLQuNC90LXQvdC60L4=?= Cc: emacs-orgmode@gnu.org Subject: [POLL] Will it be ok to allow HABIT property inheritance? (optionally) (was: [BUG] org-habit does not respect STYLE property inheritance) In-Reply-To: References: Date: Thu, 04 May 2023 09:53:19 +0000 Message-ID: <877ctopgmo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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: , 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=1683193857; a=rsa-sha256; cv=none; b=U44yI57chHBxPY+MP8dbR1wkjyy/I+LK8XnNjhYmKWyduYrvckijypl5z1xDhUpJ/vOMGW Ji9onzInuKnohQb7mEcTPNR+yOIvj1HqCEQtJrzKN1SdTSkbD/Bbf4tgr+/A8jc8weZ0Fr q4WZlDr1vhW+7vqChbHZyzjZ1OsGweV9vqUsw638CO5AwuesNTGL5wvCdX/oZCIqBiJwjL rooiwEPinXZhvCQjBrpUOXVGIGct+p067Qd7RlExplk0/qqOrTXDZuarcm9qUazZxY9OZi 3V4jH4QUSu+QfCOGe1EE90MnDrxsxYR0E5SDpJWDMwbEgnYhWcOHkHus8kXncg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=eFVdRM5T; dmarc=pass (policy=none) header.from=posteo.net; 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=1683193857; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kj7oHvbFh0iI2kbYtOHopzw/7g3aFRiPTwJFCziTynk=; b=pdUdFCLayEcWGEZsnF2Vv6zG8WxjTdIo+ecDtaYtysEf7D5rwC5HsPPPZl/dN33rFu2X7F VF89vCHcMTiFTrfaZa5lGtAvEdImaBwVVHBGXjxF0I5TE4lpfF1B+fSUZDoouZpFQHxg+3 sClCl1+ZA20vdmoQGhJ/Rk5ox6DK1dumaYuUaOaK02TRKfB6fX8OB/+gxg+CHbXa3AjMEF hTJF5iEafpN4NvrAuSDUFRnzoKYtV82BtkkYrSy90EXa25HnZ+I9vfTeR28ttQaZ3rRfwJ R5GssCBK17F/ph+cZGPzkniPr2npzsFKocCeaoZn0LbP8FA6u8vasrRRvRvJWQ== X-Migadu-Spam-Score: -4.69 X-Spam-Score: -4.69 X-Migadu-Queue-Id: 5F4373DAC5 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=eFVdRM5T; dmarc=pass (policy=none) header.from=posteo.net; 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: qCz9ScNBlewj =D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=9B=D0=BE=D0=B3=D0=B2=D0=B8= =D0=BD=D0=B5=D0=BD=D0=BA=D0=BE writes: > I've noticed that org-habits does not take an inherited STYLE property > when it searches entries. > .... > ;; Proposed > (defun org-is-habit-p (&optional pom) > "Is the task at POM or point a habit?" > (string=3D "habit" (org-entry-get (or pom (point)) "STYLE" 'selecti= ve))) I am not sure if it should be considered a bug. Currently, sub-tasks under habits are not considered habits. With your patch, they might be, if a user have customized `org-use-property-inheritance' to t. (Of course, if user added "STYLE" there, it is on purpose, and there is no problem). I am generally in favour of allowing STYLE to be inherited, but it is technically a breaking change, as I described. Let's see if anyone voices against this change. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at