Re: [O] [PATCH] org.el: fix org--get-outline-path-1

2016-02-29 Thread Tobias Getzner
Nicolas Goaziou writes: > Tobias Getzner writes: > >> Headline titles may be empty, in which case the respective match group >> will be nil. This would throw an error when trying to regexp-replace >> checkbox cookies. > > Indeed. Thank you for the report. I applied a slightly different fix, > th

Re: [O] [PATCH] org.el: fix org--get-outline-path-1

2016-02-29 Thread Nicolas Goaziou
Hello, Tobias Getzner writes: > Headline titles may be empty, in which case the respective match group > will be nil. This would throw an error when trying to regexp-replace > checkbox cookies. Indeed. Thank you for the report. I applied a slightly different fix, tho. > TODO: Depending on pref

[O] [PATCH] org.el: fix org--get-outline-path-1

2016-02-29 Thread Tobias Getzner
Headline titles may be empty, in which case the respective match group will be nil. This would throw an error when trying to regexp-replace checkbox cookies. TODO: Depending on preference, a place-holder string might be a better choice (for user-display) rather than leaving the outline-path elemen