Re: [O] Referencing TODO items

2017-12-15 Thread Paulo Matos


On 14/12/17 17:57, Michael Welle wrote:
> it is from org-id.

Can't seem to find org-id on melpa or org mode contrib page.
http://orgmode.org/worg/org-contrib/

can you please point me to where i can find it?

-- 
Paulo Matos



Re: [O] Referencing TODO items

2017-12-14 Thread Paulo Matos


On 14/12/17 22:45, Nicolas Goaziou wrote:
> Hello,
> 
> Paulo Matos <pa...@matos-sorge.com> writes:
> 
>> My TODO looks like:
>>
>> * TODO add support for %lo and %hi operands in offsets
>>
>> I create the link and the link has the name of the todo headline.
>> When I try to follow with C-c C-o, it says 'No match - create a new
>> heading?'. If I say yes, a new heading is created in my document that
>> looks like:
>>
>> * *add support for ^@ and ^@ operands in offsets
>>
>> I am curious why %hi and %lo would cause any troubles...
> 
> This is because % are not properly escaped, so `org-link-unescape'
> turns %hi into ^@.
> 
> This is now fixed. Thank you.
> 

Perfect.
Thanks for the quick fix.

> Regards,
> 

-- 
Paulo Matos



Re: [O] Referencing TODO items

2017-12-14 Thread Paulo Matos


On 14/12/17 15:20, Michael Welle wrote:
>>
>> I am curious why %hi and %lo would cause any troubles...
> I can confirm that behaviour, but it doesn't bother me, because I use ;):
> 
> (setq org-id-link-to-org-use-id 'create-if-interactive)
> 

When I looked at it, it sounded that the only thing it does it to
automatically create the heading without prompting, however I ran into
troubles when testing. My org-mode doesn't have that variable (9.1.2)
and even if it did it wouldn't solve the problem (assuming I am correct
about its intended behaviour since I don't want a new heading, I want to
follow the link to the existing heading.


-- 
Paulo Matos



Re: [O] Referencing TODO items

2017-12-14 Thread Paulo Matos


On 14/12/17 14:31, Michael Welle wrote:
> Hello,
> 
> Paulo Matos <pa...@matos-sorge.com> writes:
> 
>> Hi,
>>
>> I have a TODO item that got stuck due to some unforseen circumstances.
>> Another TODO item is needed as a workaround therefore I have something like:
>>
>> * TODO Implement using hash tables
>>   :LOGBOOK:
>>   - Note taken on ... \\
>>   Stuck because...
>>   :END:
>>
>> * TODO Implement using hand written maps
>>   This is required because todo item REF was stuck. If unstuck, we can
>> remove this implementation.
>>
>> How can I REF the first TODO item in the second?
> do M-x org-store-link on the first TODO item and M-x org-insert-link
> where you want to reference the first TODO item.
> 

Interesting but it doesn't really work properly.

My TODO looks like:

* TODO add support for %lo and %hi operands in offsets

I create the link and the link has the name of the todo headline.
When I try to follow with C-c C-o, it says 'No match - create a new
heading?'. If I say yes, a new heading is created in my document that
looks like:

* *add support for ^@ and ^@ operands in offsets

I am curious why %hi and %lo would cause any troubles...

-- 
Paulo Matos



[O] Referencing TODO items

2017-12-14 Thread Paulo Matos
Hi,

I have a TODO item that got stuck due to some unforseen circumstances.
Another TODO item is needed as a workaround therefore I have something like:

* TODO Implement using hash tables
  :LOGBOOK:
  - Note taken on ... \\
  Stuck because...
  :END:

* TODO Implement using hand written maps
  This is required because todo item REF was stuck. If unstuck, we can
remove this implementation.

How can I REF the first TODO item in the second?

Thanks,

-- 
Paulo Matos



Re: [O] Financial data into an org-mode table

2017-12-13 Thread Paulo Matos
Interesting idea. Thanks for the tip!

On 13/12/17 21:43, Rasmus wrote:
> You could use the various R libraries and convert it to an Org table via
> ob-R.el.
> 
> #+begin_src R :colnames yes
>   library(quantmod)
>   x = getSymbols("YHOO",src="google", auto.assign=FALSE)
>   x[sprintf("%s/", Sys.Date()-7)]
> #+end_src
> 
> Rasmus
> 

-- 
Paulo Matos



[O] Financial data into an org-mode table

2017-12-13 Thread Paulo Matos
Hi,

Is there any code out there to pull data from stock markets (using for
example Google/Yahoo Finance) into an org-mode table?

Kind regards,
-- 
Paulo Matos