lepisma / org-books

Reading list management with org mode
GNU General Public License v3.0
286 stars 23 forks source link

Allow descriptive text under sections #7

Open lepisma opened 6 years ago

lepisma commented 6 years ago

At present (probably) adding a new book under a heading just does a single line skip and thus will cause issue when there is description for a section header.

goderich commented 3 years ago

Hi @lepisma ! I've forked your repo and I've been playing around with it, going through your code. I learned a lot, so thank you! In doing that, I believe I found a few ways to simplify some of your code. Specifically related to this issue, check out this commit. NB. I prefer to add books to the bottom of their heading, not the top. I'm also unsure if I structure my files different from yours. But I tested it in various situations and it seems to do the trick.

lepisma commented 3 years ago

thanks. would you mind doing a PR here?

goderich commented 3 years ago

I'd like to, but I've made too many changes to my fork! I don't think I can issue PRs anymore, because the history has diverged by now :(

You may not want the rest of the changes I made. Some are strictly for my own convenience.