Re: [O] org-get-heading and COMMENT

2017-01-18 Thread Matt Price
:-) I look forward to seeing the improved version -- mine felt very cumbersome! On Wed, Jan 18, 2017 at 6:31 PM, Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > Sorry for the delay. I am very slow with regexps! > > No problem. I

Re: [O] org-get-heading and COMMENT

2017-01-18 Thread Nicolas Goaziou
Hello, Matt Price writes: > Sorry for the delay. I am very slow with regexps! No problem. I refactored your patch and pushed it. Thank you. Regards, -- Nicolas Goaziou

Re: [O] org-get-heading and COMMENT

2017-01-17 Thread Matt Price
Sorry for the delay. I am very slow with regexps! On Sat, Jan 14, 2017 at 6:04 AM, Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > I see that > > > > (org-get-heading t t) > > > > executed on a heading like: > > > > * COMMENT Heading

Re: [O] org-get-heading and COMMENT

2017-01-14 Thread Nicolas Goaziou
Hello, Matt Price writes: > I see that > > (org-get-heading t t) > > executed on a heading like: > > * COMMENT Heading Title > > returns: > > COMMENT Heading Title > > Should there be a third switch, something like NO-COMMENT? I have no objection, but it would also need to

[O] org-get-heading and COMMENT

2017-01-11 Thread Matt Price
I see that (org-get-heading t t) executed on a heading like: * COMMENT Heading Title returns: COMMENT Heading Title Should there be a third switch, something like NO-COMMENT? Or should I maybe be using the org-element API instead? I'm just trying to generate custom id's from headline text +