Dmitry Logvinenko <dml...@gmail.com> writes: > Subject: [PATCH] lisp/org-habit.el: Inherit habit style property > > * lisp/org-habit.el (org-is-habit-p): Use `org-entry-get' with > 'selective option to optionally find habit subheadings. > * etc/ORG-NEWS: Describe a breaking change.
Thanks for the patch! May I know if you have FSF copyright assignment? If not, you need to add TINYCHANGE cookie to the commit message. See https://orgmode.org/worg/org-contribute.html#first-patch > --- a/etc/ORG-NEWS > +++ b/etc/ORG-NEWS > @@ -478,6 +478,18 @@ After: > : ("simple" "list") > #+end_src > > + > +*** =org-habit.el= now optionally inherits ~:STYLE: habit~ properties > + > +Currently, the ~STYLE~ property of habits is not inherited when searching > +for entries. > + > +This change allows the property to be inherited optionally by customizing > +the ~org-use-property-inheritance~ variable. > + > +This change aims to provide more flexibility in managing habits, allowing > +users to dedicate separate subtrees or files to habits without manually > +setting the ~STYLE~ property for each sub-task. Please add this under Org 9.7. It is for main branch - next release. Also, please mention that the change is breaking when `org-use-property-inheritance' is set to t. This is important information - we need to explain how the change can break existing configs. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>