!rUhEinythPhVTdddsb:matrix.org

org-mode

153 Members
org-mode: digital and analog. | Org 9.3.2 is released.46 Servers

Load older messages


SenderMessageTime
19 May 2020
@r3dnaz:matrix.orgrednaZ joined the room.00:39:23
@konstip:matrix.orgkonstip

Hi, I'd like to use the result of a source code block in a table formula. This seems not work

#+begin_src python
return 10
#+end_src

#+NAME: testResult
#+RESULTS:
: 10

| Header |
|--------|
| #ERROR |
#+TBLFM: @2$1=$testResult

I know that this kind of references work

#+CONSTANTS: testResult2=10

| Header |
|--------|
|     10 |
#+TBLFM: @2$1=$testResult2

Is their a way to make it work?

08:49:13
@hpd:hpdeifel.dehpd

konstip: It works when you put the output in a table and use a remote references, although it's a bit ugly:

#+begin_src python :results table
return 10
#+end_src

#+NAME: testResult
#+RESULTS:
| 10 |

| Header |
|--------|
|     10 |
#+TBLFM: @2$1=remote(testResult, @1$1)
10:41:05
@konstip:matrix.orgkonstip
In reply to @hpd:hpdeifel.de

konstip: It works when you put the output in a table and use a remote references, although it's a bit ugly:

#+begin_src python :results table
return 10
#+end_src

#+NAME: testResult
#+RESULTS:
| 10 |

| Header |
|--------|
|     10 |
#+TBLFM: @2$1=remote(testResult, @1$1)
okay, this works. Thanks, a native way isn't available?
17:27:26
@hpd:hpdeifel.dehpd
Als Antwort auf@konstip:matrix.org
okay, this works. Thanks, a native way isn't available?
I don't know one. Doesn't mean there isn't one ☺
17:29:26
@kinda_blue:tpurist.comkinda_blue set a profile picture.19:23:10
20 May 2020
@gergely:polonkai.euGergely Polonkai

I have a definition like this in one of my org files:

\#+LINK: click https://app.clickup.com/t/

I remember there’s a customizable value but i can’t recall its name and can’t find it in the docs either (probably due to wrong search terms?)

11:41:12
@gergely:polonkai.euGergely Polonkai

can someone help me out on this?

11:42:01
@gergely:polonkai.euGergely Polonkai

ah, just found it… org-link-abbrev-alist, sorry for the noise

11:47:49
22 May 2020
@tptptp:matrix.orgthp joined the room.14:42:17
@tptptp:matrix.orgthp changed their display name from tptptp to thp.14:45:20
25 May 2020
@spinlock:matrix.orgspinlock joined the room.06:10:13
26 May 2020
@.:nivekuil.comnivekuil joined the room.23:55:01
@.:nivekuil.comnivekuilis org-mark-element with narrowing broken for anyone else? to repro: have 2 subtrees, narrow to one, org-mark-element and then kill-ring save. I get an args-out-of-range error, 9.3.623:56:45
@.:nivekuil.comnivekuilwell, I can repro it with emacs -Q so I'll report it in.23:59:42
27 May 2020
@alberta:matrix.allmende.ioalberta joined the room.21:01:24
31 May 2020
@zoechi:matrix.orgzoechi joined the room.13:30:18
@fedor:ru-matrix.orgfedor 19:40:32
3 Jun 2020
@harold:privacytools.ioharold joined the room.15:07:01
4 Jun 2020
@dagmar:matrix.kiwifarms.netdagmar joined the room.13:35:40
@lisias:asra.grlisias joined the room.13:57:02
@lisias:asra.grlisias 16:59:45
5 Jun 2020
@linus:nerdsin.spacelinus joined the room.22:32:11
6 Jun 2020
@linus:nerdsin.spacelinus 10:55:50
7 Jun 2020
@7p:matrix.org7p joined the room.16:50:50
10 Jun 2020
@lasespuelas:matrix.orglasespuelas joined the room.14:55:48
@lasespuelas:matrix.orglasespuelasHello all! I am new to irc and I have an emacs questions so I thought I would try here... its org-mode specific.... I wanted to know if there is a way to create links to other org files without a link description... upon export... emacs will look at each one of those links and find the #+TITLE and use that as the description for the export... where should I start if I want to program such functionality? Would I need to modify/derive the html export backend?14:56:30
@26_deltoro:matrix.org@26_deltoro joined the room.20:55:20
@26_deltoro:matrix.org@26_deltoro left the room.20:58:02
12 Jun 2020
@.:nivekuil.comnivekuil
In reply to @lasespuelas:matrix.org
Hello all! I am new to irc and I have an emacs questions so I thought I would try here... its org-mode specific.... I wanted to know if there is a way to create links to other org files without a link description... upon export... emacs will look at each one of those links and find the #+TITLE and use that as the description for the export... where should I start if I want to program such functionality?
Would I need to modify/derive the html export backend?
this is the matrix channel, the irc is #freenode_#org-mode:matrix.org. To answer your question, yes you'd want to modify the html export backend, iirc it basically tokenizes an org file and you can do whatever with the elements. ox-slimhtml is easier to understand than the main html exporter
20:26:20

Show newer messages


Back to Room List