Re: [O] creating new #+KEYWORD: variables

2018-11-09 Thread Diego Zamboni
Hi Matt, I found a solution for this, which I am using with my (still in development) setup for exporting from org-mode to LeanPub. I found a function for extracting document global properties at https://emacs.stackexchange.com/a/21715, which you could use to support your first example. After defi

Re: [O] Tasks performed on a certain day

2018-11-09 Thread Gregor Zattler
Hi Nicolas, org mode users and developers, * Nicolas Goaziou [2018-11-08; 18:34]: > However, I think some users need to have multiple so-called events in > the same headline, e.g., for irregularly repeating tasks. Yes, I do this all the time. For instance there is a heading for visits at the den

Re: [O] map function definitions to org src blocks?

2018-11-09 Thread John Kitchin
It looks like it is possible to get describe-func to point to an org-file. Suppose I have a file /Users/jkitchin/vc/journal/2018/11/09/2018-11-09.org that has src blocks that tangle to /Users/jkitchin/vc/journal/2018/11/09/test.el. When test.el is loaded, it adds a bunch of stuff to the variable lo

Re: [O] typo, sp at C++ Source Code Blocks in Org Mode

2018-11-09 Thread Van L
> Thanks for your interest in Org mode and Worg. I hope the worg entry will backprob to the info:org page.

Re: [O] typo, sp at C++ Source Code Blocks in Org Mode

2018-11-09 Thread Thomas S. Dye
Aloha Van L, Thanks for your contribution. The Org mode manual and Worg are separate documents. AFAIK there is no mechanism to have changes in one propagate changes in the other. If you'd like to propose a change to the manual, please submit a patch following the instructions here: https:

[O] message:// links

2018-11-09 Thread Jean-Christophe Helary
I'm pasting a message:// link into an org-mode file but it fails to be recognized as a link that should open in a mail client. What is a simple way to have org-mode recognize such links ? Jean-Christophe Helary --- http://mac4translators.blogspot.com @

Re: [O] creating new #+KEYWORD: variables

2018-11-09 Thread Matt Price
ah, thank you Diego, I wil ltry it out and report back. On Fri, Nov 9, 2018 at 4:29 AM Diego Zamboni wrote: > Hi Matt, > > I found a solution for this, which I am using with my (still in > development) setup for exporting from org-mode to LeanPub. I found a > function for extracting document glo

[O] Writing Exporter Tests [was: slack syntax exporter/copier]

2018-11-09 Thread Matt Price
OK, I have a minimal working example and would like to add some unit tests to this project, largely as a way to learn more about testing in emacs/org so that I can start writing tests for some other projects. However... I don't really understand how to build tests in org (and in fact I don't reall

Re: [O] creating new #+KEYWORD: variables

2018-11-09 Thread Nicolas Goaziou
Hello, Matt Price writes: > I am writing this interface to my university's learning management system: > https://github.com/titaniumbones/Org-Marking-Mode/tree/use-structured-course-def. > I am only using hte exporting system tangentially and I have not defined a > new exporter. However, I would

Re: [O] indentation error in python source block

2018-11-09 Thread Nicolas Goaziou
Hello, Seb writes: > I believe I've hit a strange bug. Given this file: > > ------ > #+STARTUP: content indent hideblocks > #+PROPERTY: header-args :tangle yes > #+PROPERTY: header-args:python :session *Python* > > #+NAME: pyth

Re: [O] message:// links

2018-11-09 Thread Nicolas Goaziou
Hello, Jean-Christophe Helary writes: > I'm pasting a message:// link into an org-mode file but it fails to be > recognized as a link that should open in a mail client. > > What is a simple way to have org-mode recognize such links ? One simple way is to define "message:" as an alias for "mailt