[O] patch to make descriptive display link type dependent

2016-06-26 Thread John Kitchin
The attached patch makes it possible to make some links not descriptively if a variable for the link is defined and its value is not 'org-link. There are a few scenarios where this would be good. In org-ref I apply an advice to the activate-bracket-link function to undo the descriptive link

Re: [O] Programmatically constructing org documents

2016-06-26 Thread Arun Isaac
> I don't know if there is a "correct" way. It might depend on how > sophisticated the document is. I usually use strings and format. > Sometimes that is a pain though, if there is a lot of conditional > formatting. So the question is which is easier for your situation, and I > would say easier

Re: [O] export to ics a specific buffer every X hours

2016-06-26 Thread Ken Mankoff
Hi, I don't know if this would help, but I export an Org buffer every time it is saved. On OS X, I have a LaunchAgent that watches the file: http://www.apple.com/DTDs/PropertyList-1.0.dtd;> Label com.kenmankoff.org2ical ProgramArguments

Re: [O] using property drawer to track header creation and last change?

2016-06-26 Thread John Kitchin
You might adapt something like this http://emacs.stackexchange.com/questions/12369/automatic-clocking-in-org-mode-when-moving-into-section On Sunday, June 26, 2016, Xebar Saram wrote: > Hi all > > is there a way to auto have entries in the property drawer to to track >

[O] using property drawer to track header creation and last change?

2016-06-26 Thread Xebar Saram
Hi all is there a way to auto have entries in the property drawer to to track header creation and last change of the header? anyone using something like this? best Z

[O] export to ics a specific buffer every X hours

2016-06-26 Thread Xebar Saram
Hi all so i have pathetic coding skill but managed somehow to come up with this (defun z/save-meeting-to-ics () "If the current file is in '~/.dotfiles', the code blocks are tangled" (when (equal (buffer-file-name) (expand-file-name "/home/zeltak/org/files/agenda/

Re: [O] Nested ordered (numbered) lists

2016-06-26 Thread Eric S Fraga
On Saturday, 25 Jun 2016 at 19:34, ST wrote: > Hi, > > is there a way to produce nested ordered (numbered) lists and get it > exported (to pdf/html) properly? Like: > > 1. item_1 > 2. item_2 >2.1. subitem_2_1 > 2.1.1. subsubitem_2_1_1 >2.2. subitem_2_2 > 3. item_3 For pdf export,

Re: [O] Programmatically constructing org documents

2016-06-26 Thread John Kitchin
I don't know if there is a "correct" way. It might depend on how sophisticated the document is. I usually use strings and format. Sometimes that is a pain though, if there is a lot of conditional formatting. So the question is which is easier for your situation, and I would say easier is "correct"

[O] [PATCH] Make links colored if a custom link face exists.

2016-06-26 Thread John Kitchin
--- lisp/org.el | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index af68539..f1c500d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5851,14 +5851,19 @@ prompted for." "Add link properties for plain links." (when (and

[O] Two numerical solutions from fsolve inside calc source block

2016-06-26 Thread Miguel Ruiz
Hi, I have this block which is intended to get the two numerical solutions of the equations system: #+begin_src calc fsolve([8.66e10 = r * v, -7.51e6 = 0.5*v^2 - 6.67e-11*6e24/r],[r,v]) #+end_src This way I get the generic form of a multiple solution, and citing the manual "It will invent

[O] patch for custom colored links in org-mode

2016-06-26 Thread John Kitchin
Hi all, I tried this aproach to enable custom colored links in org-mode if an org-link-type face is defined. If no face is applied, then it just gets the default org-link face For example this will make all doi links red. (defface org-link-doi `((t (:inherit org-link