[O] How to make `file+function` to accept an argument in org-capture?

2016-06-17 Thread Leu Zhe
I am starting to write an org-capture template with a `file+function` tag. It works pretty well if I put the function exactly with accordance to the documentation[1]. However, I am trying to make this function to accept an argument to let it find the store place programmably. I did some

Re: [O] How to have #+ORGTBL: SEND install converted table to MORE than 1 receiver location?

2016-06-17 Thread Omid
Thank you. Omid On 06/17/2016 04:26 AM, Nicolas Goaziou wrote: > Hello, > > Omid writes: > >> I'm just resending this question because I haven't received any >> answers/ideas in a week. I also asked it in >>

Re: [O] extract a region from a table and export it

2016-06-17 Thread Uwe Brauer
>>> "Rasmus" == Rasmus writes: > Uwe Brauer writes: >> > John Kitchin writes: D> the problem seems to be that c0 and c2 are set to nil for some reason. I >> >> > Or >> >> > #+BEGIN_SRC emacs-lisp :var c0=tab2[,0]

Re: [O] extract a region from a table and export it

2016-06-17 Thread Uwe Brauer
>>> "John" == John Kitchin writes: > Those look like characters somehow to me. What org version are you using? > and what emacs? Me? Emacs 25.1.5 and 8.3.4 Uwe

Re: [O] Some progress

2016-06-17 Thread Marco Wahl
Uwe Brauer writes: > > > * TODO Buy clothes for wedding > > :PROPERTIES: > > :estimated_cost: 100 > > :END: > > > C-c a m estimated_cost="100" > > > finds the subtree. > > > Note the underscore instead of the hyphen. '-' in the property name >

Re: [O] How to keep something at the bottom of an Org file

2016-06-17 Thread Marco Wahl
Hi! Nicolas Goaziou writes: >> * COMMENT *MUST BE BOTTOMMOST TREE* >> :meta:bottommost: >> >> MUST BE BOTTOMMOST TREE TO HAVE *GUARANTEED* EFFECT. >> >> Recall that no local variable setting is taken into account above a >> page

Re: [O] extract a region from a table and export it

2016-06-17 Thread John Kitchin
Those look like characters somehow to me. What org version are you using? and what emacs? John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin

Re: [O] extract a region from a table and export it

2016-06-17 Thread Rasmus
Uwe Brauer writes: >> John Kitchin writes: >D> the problem seems to be that c0 and c2 are set to nil for some reason. I > >> Or > >> #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] >> (cl-mapcar 'list c0 c2) >>

Re: [O] extract a region from a table and export it

2016-06-17 Thread Rasmus
Uwe Brauer writes: >> John Kitchin writes: >D> the problem seems to be that c0 and c2 are set to nil for some reason. I > >> Or > >> #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] >> (cl-mapcar 'list c0 c2) >>

Re: [O] extract a region from a table and export it

2016-06-17 Thread Uwe Brauer
> John Kitchin writes: D> the problem seems to be that c0 and c2 are set to nil for some reason. I > Or > #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] > (cl-mapcar 'list c0 c2) > #+END_SRC Thanks but I obtain #+RESULTS: | 110 | 110 | |

Re: [O] extract a region from a table and export it

2016-06-17 Thread Uwe Brauer
Thanks but none works for me in the following I will show my results #+tblname: tab2 | 1 | a | 3 | | 2 | b | 4 | | 3 | c | 6 | | 4 | d | 7 | #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] c0 #+END_SRC #+RESULTS: : nil I obtain #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-17 Thread Nicolas Goaziou
Hello, timor writes: > Why is the link text set to "1" in both cases? This is just a nonsensical number because Org does not know what to number. If you want to number source blocks, you need to add a caption to them. > Thanks for the pointer. I tried to see the effect of

Re: [O] extract a region from a table and export it

2016-06-17 Thread Rasmus
John Kitchin writes: D> the problem seems to be that c0 and c2 are set to nil for some reason. I > doubt dash has anything to do with it. Try these: > > #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] > c0 > #+END_SRC > > > #+RESULTS: > | 1 | 2 | 3 | 4 | > >

Re: [O] extract a region from a table and export it

2016-06-17 Thread John Kitchin
the problem seems to be that c0 and c2 are set to nil for some reason. I doubt dash has anything to do with it. Try these: #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] c0 #+END_SRC #+RESULTS: | 1 | 2 | 3 | 4 | #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] c2 #+END_SRC

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-17 Thread timor
Hello Nicolas, 2016-06-17 9:51 GMT+02:00 Nicolas Goaziou : >> the exported html code creates to tags, like this: >> >> >> Link to 1 >> >> >> and this: >> >> >>

Re: [O] extract a region from a table and export it

2016-06-17 Thread Uwe Brauer
>>> "John" == John Kitchin writes: > (require 'dash) > #+tblname: tab2 > | 1 | a | 3 | > | 2 | b | 4 | > | 3 | c | 6 | > | 4 | d | 7 | > #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2] > (-zip-with 'list c0 c2) > #+END_SRC That does

Re: [O] extract a region from a table and export it

2016-06-17 Thread Uwe Brauer
> #+BEGIN_SRC emacs-lisp :var data=example-table[,0] > (mapcar 'list data) > #+END_SRC > #+RESULTS: > | 1 | > | 2 | > | 3 | > | 4 | thanks that worked great!

Re: [O] Some progress

2016-06-17 Thread Uwe Brauer
>>> "Marco" == Marco Wahl writes: > Uwe Brauer writes: > "Uwe" == Uwe Brauer writes: > I disagree. The agenda is based on agenda files. So it's clear that > the agenda-tag-search applies only to the agenda files.

Re: [O] org copied a few files to ~/.org-timestamps

2016-06-17 Thread Nicolas Goaziou
Hello, Mirko Vukovic writes: > Mirko Vukovic gmail.com> writes: > >> >> Hello, >> >> (org 8.3.4 on Emacs 24.4.1 on Windows 7) >> >> Some of my org-files are ending up in ~/.org-timestamps. >> >> For example, the file ~/org/general.org also has a copy on ~/.org- >>

Re: [O] How to have #+ORGTBL: SEND install converted table to MORE than 1 receiver location?

2016-06-17 Thread Nicolas Goaziou
Hello, Omid writes: > I'm just resending this question because I haven't received any > answers/ideas in a week. I also asked it in > https://emacs.stackexchange.com/questions/23836/how-to-have-org-mode-radio-table-install-converted-table-to-more-than-one-receiv, > with no

Re: [O] HTML Export of Links to Source Blocks seems broken

2016-06-17 Thread Nicolas Goaziou
Hello, timor writes: > considering the following example: > > -- > #+NAME: test_fun > #+BEGIN_SRC js > function test_fun() { > > } #+END_SRC > > Link to [[test_fun]] > > #+NAME: another_test_fun > #+BEGIN_SRC js > function

Re: [O] Some progress

2016-06-17 Thread Marco Wahl
Uwe Brauer writes: "Uwe" == Uwe Brauer writes: >> I really never used tag search as provided by the agenda. So today I >> just copied the examples of >> http://orgmode.org/worg/org-tutorials/advanced-searching.html > >> * TODO Buy clothes