Re: orgformat.py: util library for generating Org mode from Python

2019-11-06 Thread Adam Porter
Thanks for working on and sharing this, Karl. It's great to see the Org format getting more support in other languages and contexts.

Re: Anyone use 3rd party search tools w/org-mode?

2019-11-06 Thread Adam Porter
Eric Abrahamsen writes: > I think this last point is key. Most full-text search engines provide > config options for defining fields, or "facets", which in theory we > could set up to parse tags/properties/timestamps. Of course it's an Emacs-based tool, but please note that org-ql has

Re: Anyone use 3rd party search tools w/org-mode?

2019-11-06 Thread John Kitchin
The way I got Swish to index org files was to create a script that generated an xml file (https://kitchingroup.cheme.cmu.edu/blog/2015/07/06/Indexing-headlines-in-org-files-with-swish-e-with-laser-sharp-results/) or html

Re: Anyone use 3rd party search tools w/org-mode?

2019-11-06 Thread Eric Abrahamsen
Roland Everaert writes: > Hello all, > > I am interested in a search/indexing engine targeting the org format, > too. > > My interest comes from the fact that I have a growing number of org > files and as org-mode has no file archiving feature, AFAIK, searching > needs more and more time to

Re: Anyone use 3rd party search tools w/org-mode?

2019-11-06 Thread Russell Adams
I use Recoll. It has a GUI, a CLI, and I use a script with dialog to popup results. I index all my org files, all my PDFs (vendor technical documentation), email, etc. Works great, refreshes daily. On Wed, Nov 06, 2019 at 05:02:07PM +0100, Roland Everaert wrote: > Hello all, > > I am interested

Re: where to place caption so babel results include caption?

2019-11-06 Thread Ken Mankoff
On 2019-11-06 at 17:05 +01, Berry, Charles wrote... > M-: (org-babel-map-src-blocks nil (org-babel-insert-result "" > '("replace"))) RET > > HTH, Yes that helps! A simple solution. Thank you. -k.

Re: where to place caption so babel results include caption?

2019-11-06 Thread Berry, Charles
> On Nov 6, 2019, at 1:55 AM, Ken Mankoff wrote: > > Hello, > > If I have a babel block that generates a table and I'd like latex attributes > associated with that table, it seems to work well if I do this: > > #+NAME: foo > #+BEGIN_SRC bash :results table > echo "${RANDOM}|${RANDOM}|" >

Re: Anyone use 3rd party search tools w/org-mode?

2019-11-06 Thread Roland Everaert
Hello all, I am interested in a search/indexing engine targeting the org format, too. My interest comes from the fact that I have a growing number of org files and as org-mode has no file archiving feature, AFAIK, searching needs more and more time to complete. Moving files, that are no more

orgformat.py: util library for generating Org mode from Python

2019-11-06 Thread Karl Voit
Hi, In the recent days, I've been busy migrating orgformat[1] from Memacs[2] and lazyblorg[3] to a repository on its own. It's a utility library that provides a variety of Python functions that help dealing with generating non-trivial Org mode content such as date- or time-stamps. I've added good

Re: Capture to heading of current cursor

2019-11-06 Thread Julius Müller
Am 05.11.19 um 22:26 schrieb Nathan Neff: > Hello all, > > I know I've asked this before, but can't remember the quick & easy path (TM) > to creating an org-capture template which will capture to the current > heading? prepend the capture command (C-C C in my setting) by C-0 I think it puts the

[PATCH] ob-java.el: Add header argument to pass command line args

2019-11-06 Thread Jarmo Hurri
... attached Jarmo >From bbc3f977d6b98240834af8fb009a2a080813f30b Mon Sep 17 00:00:00 2001 From: Jarmo Hurri Date: Wed, 6 Nov 2019 12:21:16 +0200 Subject: [PATCH] ob-java.el: Add header argument to pass command line args. * lisp/ob-java.el (org-babel-execute:java): Handle new header argument

[O] where to place caption so babel results include caption?

2019-11-06 Thread Ken Mankoff
Hello, If I have a babel block that generates a table and I'd like latex attributes associated with that table, it seems to work well if I do this: #+NAME: foo #+BEGIN_SRC bash :results table echo "${RANDOM}|${RANDOM}|" echo "${RANDOM}|${RANDOM}|" #+END_SRC #+caption: foo #+latex_attr: