Re: [O] Change org-back-to-heading to use org's heading regex

2013-09-17 Thread aditya siram
Yes, you're right. And while I was looking for an alternate solution I found `org-heading-components` which does everything I need and more! Thanks! -deech On Sat, Sep 14, 2013 at 5:21 PM, Carsten Dominik wrote: > Hi Aditya, > > I do not support this idea. > > 1. sometimes Org functions are used

Re: [O] Change org-back-to-heading to use org's heading regex

2013-09-14 Thread Carsten Dominik
Hi Aditya, I do not support this idea. 1. sometimes Org functions are used in other modes, with a different value for the outline regexp. WHile this will not work for many Org functions, it is useful to have it work for some. 2. For just searching headings, it is efficient to use a regexp tha

[O] Change org-back-to-heading to use org's heading regex

2013-09-14 Thread aditya siram
Hi all, Org-mode uses two regex's to find headings, one from outline.el and one defined internally and captures more information. I propose we stop using the one from outline.el. org-mode uses `org-back-to-heading` a lot to navigate point back to the nearest heading. This just delegates to `outli