Re: [O] generating org headings from a source block

2015-11-10 Thread Matt Price
On Mon, Nov 9, 2015 at 4:57 PM, Nick Dokos wrote: > Matt Price writes: > > > I would like to be able to insert into an org-buffer the text extracted > from a pdf file. PDF-Tools ( > > https://github.com/politza/pdf-tools/) provides some excellent tools >

Re: [O] generating org headings from a source block

2015-11-10 Thread Nick Dokos
Matt Price writes: > > also, (c): I'd rather set the level of the org heading based on > context. Can I do that when I call > from > > a source block? Should I maybe be doing this some other way (e.g., jsut > write an interactive > function > > and call

Re: [O] generating org headings from a source block

2015-11-10 Thread Matt Price
On Tue, Nov 10, 2015 at 11:16 AM, Nick Dokos wrote: > > > Pass the level as a parameter? > > > > Can I pass the level of the current heading as a parameter, e.g.: > > > > where obviously CURRENT-ORG-LEVEL is some function I don't know how to > access? > > > > You can at the

Re: [O] generating org headings from a source block

2015-11-09 Thread Nick Dokos
Matt Price writes: > I would like to be able to insert into an org-buffer the text extracted from > a pdf file. PDF-Tools ( > https://github.com/politza/pdf-tools/) provides some excellent tools for > doing this.  I've written > (well, msotly stolen) a defun that finds all

[O] generating org headings from a source block

2015-11-09 Thread Matt Price
I would like to be able to insert into an org-buffer the text extracted from a pdf file. PDF-Tools (https://github.com/politza/pdf-tools/) provides some excellent tools for doing this. I've written (well, msotly stolen) a defun that finds all my highlights and returns them in the form of an org