Re: [O] Installing from Git

2015-05-14 Thread Vicente Vera
Hello. This is my Org-from-Git recipe: After you've cloned the repository (master branch), run "make" and then edit the "local.mk" file. There you'll find a variable named "prefix"; change it according to your Emacs installation. In my setup, Emacs files live in /usr/share/emacs/ so I leave "pref

Re: [O] Bug: org-set-tags duplicates tags in org-tag-persistent-alist

2015-05-14 Thread Paul Rankin
> On 15 May 2015, at 12:32 am, Nicolas Goaziou wrote: > > I cannot reproduce it in development version. You may want to switch to it. I'm on the Org ELPA version, which appears to get updated a few times a month. How far apart are they? If the alleged bug has been fixed in the development bra

Re: [O] org-babel for prolog

2015-05-14 Thread Bjarte Johansen
> On 14 May 2015, at 20:22, Puneeth Chaganti wrote: > > On Thu, May 14, 2015 at 11:41 PM, Lawrence Bottorff wrote: >> >> Confused by the requirement: >> >> ;; To activate ob-prolog add the following to your init.el file: >> ;; >> ;; (eval-after-load 'org >> ;;'(require 'org-prolog)) > >

Re: [O] org-babel for prolog

2015-05-14 Thread Puneeth Chaganti
On Thu, May 14, 2015 at 11:41 PM, Lawrence Bottorff wrote: > > Confused by the requirement: > > ;; To activate ob-prolog add the following to your init.el file: > ;; > ;; (eval-after-load 'org > ;;'(require 'org-prolog)) I'm guessing its a typo and should be ob-prolog. The file provides ob-

Re: [O] org-babel for prolog

2015-05-14 Thread Lawrence Bottorff
Thanks for your great effort, BTW. Confused by the requirement: ;; To activate ob-prolog add the following to your init.el file: ;; ;; (eval-after-load 'org ;;'(require 'org-prolog)) My Emacs ( 24.5.1) gives an error with this line. I know I'm probably missing something obvious, but what is

Re: [O] "Fortran" missing in "List of supported code block languages"?

2015-05-14 Thread Thomas S. Dye
Ista Zahn writes: > On Thu, May 14, 2015 at 8:37 AM, wrote: >> John Kitchin writes: >> >> > Fortran is supported in the sense that you can edit a block in >> > Fortran mode. But you cannot execute a Fortran block directly >> > afaik. You have to tangle it, compile it and then run the >> > e

Re: [O] Org to mindmap and back

2015-05-14 Thread Marcelo de Moraes Serpa
After some research, I could finally find the repository on github for this project, so, for anyone who might also be interested, here it is: https://github.com/dogriffiths/hipster The email shown in the org buffer in the video did not exist, but searching for the name of the app ("hiPster mindma

Re: [O] Bug: org-set-tags duplicates tags in org-tag-persistent-alist

2015-05-14 Thread Nicolas Goaziou
Hello, Paul Rankin writes: > When setting org-tag-alist or org-tag-persistent-alist, calling org-set-tags > or org-agenda-set-tags will populate select with both alist tags and any tags > from tagged subheadings. > > To reproduce: > > $ cat tmp.org > * TODO task:tag1: > $ emacs

Re: [O] "Fortran" missing "in List of supported code block languages"?

2015-05-14 Thread Nicolas Goaziou
Hello, alain.coch...@unistra.fr writes: > The 'fortran' keyword is indeed recognized in the edit buffer, and, as > far as I can see, everything works quite well. > > But I later realized that 'Fortran' is not mentioned in the list of > supported languages, section 14.7 of the org info manual [Fil

[O] get name of source block

2015-05-14 Thread Andreas Leha
Hi all, for quite some time I've had the following in my .emacs: --8<---cut here---start->8--- ;; This Snippet returns the name of the current source block. ;; An elisp block to simplify the =:prologue= definition. ;; Author: Eric Schulte ;; It is useful to ins

Re: [O] "Fortran" missing in "List of supported code block languages"?

2015-05-14 Thread Ista Zahn
On Thu, May 14, 2015 at 8:37 AM, wrote: > John Kitchin writes: > > > Fortran is supported in the sense that you can edit a block in > > Fortran mode. But you cannot execute a Fortran block directly > > afaik. You have to tangle it, compile it and then run the > > executable. That is not true

Re: [O] Installing from Git

2015-05-14 Thread Jorge A. Alfaro-Murillo
Marcin Borkowski writes: But one problem remains: the info manual is still taken from Emacs, not from the newest Org. Did you try to do 'make install-info'? -- Jorge.

Re: [O] Installing from Git

2015-05-14 Thread Marcin Borkowski
On 2015-05-14, at 15:04, Marcin Borkowski wrote: > I wanted to upgrade Org, using the package manager, and it failed. > Being accustomed to the package manager failing (for whatever reason), > I deleted Org-mode and decided to go with the git version. I did > a clone, then make, make doc and su

[O] Installing from Git

2015-05-14 Thread Marcin Borkowski
Hi all, I wanted to upgrade Org, using the package manager, and it failed. Being accustomed to the package manager failing (for whatever reason), I deleted Org-mode and decided to go with the git version. I did a clone, then make, make doc and sudo make install, but M-x org-version says its Org-

[O] Export org file to Mardown (github flavour)

2015-05-14 Thread Kaviraj Kanagaraj
I am facing a problem with converting org file to markdown. While converting i find html in it. but I want to be in github flavour markdown. Any ideas??. I have found that org-gfm.el would help.. But I dont know how to setup custom backend for markdown export..

Re: [O] "Fortran" missing in "List of supported code block languages"?

2015-05-14 Thread Alain . Cochard
Rasmus writes: > > Is there an independent way of checking which languages are supported? > > On a file-system level you could do something like: > > ls /usr/share/emacs/site-lisp/org*/ob* | grep -i fortran > => /usr/share/emacs/site-lisp/org/ob-fortran.el > > In Emacs you could

Re: [O] "Fortran" missing in "List of supported code block languages"?

2015-05-14 Thread Alain . Cochard
John Kitchin writes: > Fortran is supported in the sense that you can edit a block in > Fortran mode. But you cannot execute a Fortran block directly > afaik. You have to tangle it, compile it and then run the > executable. Thanks for the precision. I guess it would not hurt to mention this

Re: [O] org-ref: various directories

2015-05-14 Thread John Kitchin
The thing to do here is write a function that will take a bibtex key, and loop through your directories to find the pdf, and then return the full path to the pdf. Then customize the variable org-ref-get-pdf-filename-function to point to that function. https://github.com/jkitchin/org-ref/blob/maste

Re: [O] "Fortran" missing "in List of supported code block languages"?

2015-05-14 Thread Rasmus
John Kitchin writes: > Is there an independent way of checking which languages are supported? On a file-system level you could do something like: ls /usr/share/emacs/site-lisp/org*/ob* | grep -i fortran => /usr/share/emacs/site-lisp/org/ob-fortran.el In Emacs you could to something like:

Re: [O] "Fortran" missing "in List of supported code block languages"?

2015-05-14 Thread John Kitchin
Fortran is supported in the sense that you can edit a block in Fortran mode. But you cannot execute a Fortran block directly afaik. You have to tangle it, compile it and then run the executable. For example like this: http://kitchingroup.cheme.cmu.edu/blog/2014/02/04/Literate-programming-exampl

Re: [O] Correct way to insert results

2015-05-14 Thread Alex Bennée
Alex Bennée writes: > Hi, > > I'm working on adding async call functionality to org-babel blocks so I > don't need to block my main Emacs for long running calculations. However > I'm having problems with the insertion of the results once handled. Ping? Is this something I should just write a cu