Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature / RFC - Use the body of heading if the :DESCRIPTION: drawer is not present. #22

Open
j-martin opened this issue Jan 5, 2020 · 1 comment

Comments

@j-martin
Copy link
Contributor

j-martin commented Jan 5, 2020

When using, org-clubhouse-create-story, it uses org-clubhouse-find-description-drawer, as its name suggest, currently checks only if there is a drawer called :DESCRIPTION:. This works well enough, if the drawer exists, but it's a bit confusing the header was created out of org-clubhouse-mode.

As a new user or a user trying to create new stories from existing headings, I would expect that the body of the header would be used for the description.

The :DESCRIPTION: make sense since it keeps things tidier and prevents random notes to the org file from being pushed to the story. We could add a variable to preserve the current behavior AND add a logic to pickup the body of the heading IF the :DESCRIPTION: drawer does not exist.

@glittershark what do you think?

@glittershark
Copy link
Owner

Yeah, as you said I did it this way since I like to leave all sorts of notes (including but not limited to things like LOGBOOK) under headlines that I don't necessarily want inside of clubhouse. There's a balance here between proliferation of config and trying to suit everyone's expected workflow, but after thinking about it for a couple days I think I'd be fine with a configuration option (default off) to use the body of a headline as the description of created stories if the DESCRIPTION drawer is absent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants