On Sun, Jan 17, 2021 at 07:12:21PM -0500, John Kitchin wrote:
> I guess this is what you mean:
>
>
> * heading L1_12
> ** heading L2_37
>
> #+name: this-block
> #+header: :var VAR1=(getenv "HOSTNAME")
> #+header: :var VAR2=(message user-login-name)
[more good stuff elided]
Not the OP here,
see
https://stackoverflow.com/questions/3139970/open-a-file-at-line-with-filenameline-syntax
there are also ways to make fancier org-links, but I think you will find
what you need in that link.
John
---
Professor John Kitchin
Doherty Hall A207F
Department of
Dear Mr Kitchin,
you are a genius !!
A BIG THANK YOU!!!
Wow. I couldn't imagine someone might be able to do this so quickly
and perfectly. Wow.
thank you so much
HJ
PS: Now I'm off to figure out how to invoke emacs to tell it to open up
the window and show this file
I guess this is what you mean:
* heading L1_12
** heading L2_37
#+name: this-block
#+header: :var VAR1=(getenv "HOSTNAME")
#+header: :var VAR2=(message user-login-name)
#+header: :var VAR3=(buffer-file-name)
#+header: :var VAR4=(org-element-property :name (org-element-context))
#+header: :var
hi,
I'm trying to figure out how to write a block , header, PROPERTY or
whatever is necessary so the output of a command in babel source block
identifies it own position - the line (or block or something) in buffer
(or at least the file) in which it is written. ( Plus the checked out