23 Apr 2024 |
yantar92 (Org contributor) | In reply to @karthink:matrix.org yantar92 (Org contributor): was there an org meetup this month? Tomorrow | 05:01:02 |
karthink | Oh, missed the announcement. I usually find it in Sacha's weekly news but I must have skipped over it | 05:01:52 |
yantar92 (Org contributor) | https://list.orgmode.org/87pluxhb1w.fsf@localhost/ | 05:02:03 |
psionic-lights | I need to design a reasonable scheme for reverencing locations in the document so that I can create buffer positions. The elements may be any time. The choice I'm considering right now is to use #+ATTR_FOO and then scan for an element bearing that attribute.
Use case is to work on a section of the document from babel blocks embedded in the same document.
| 08:16:42 |
psionic-lights | I'm doing some babel integration and then shipping a first version. Raises questions about what will make sense. I want to integrate babel blocks in almost like steps in a slide show, one per step. The source block may be hidden by an overlay. I will almost definitely need to figure out how to silence results so that result text doesn't leak out from under overlays | 08:46:24 |
| NorVegan joined the room. | 11:05:23 |
alphapapa |
FYI yantar92 (Org contributor): new page I added: https://orgmode.org/worg/topics/planning-timestamps.html | 13:43:51 |
yantar92 (Org contributor) | In reply to @alphapapa:matrix.org
FYI yantar92 (Org contributor): new page I added: https://orgmode.org/worg/topics/planning-timestamps.html I saw the commit. No comments other than an observation that filling the raw text would making the commits more readable | 14:32:42 |
yantar92 (Org contributor) | And yeah, thanks for adding more information to WORG ❤️ | 14:33:35 |
24 Apr 2024 |
psionic-lights | What do we call the block header and footer? Header and footer? | 06:43:03 |
yantar92 (Org contributor) | In reply to @psionic-lights:matrix.org What do we call the block header and footer? Header and footer? Maybe begin/end line. There is no fixed term | 07:13:07 |
psionic-lights | It seems kind of weird that src-block's don't return anything from org-element-contents-begin and org-element-contents-end . I was expecting the src region to be the contents | 09:05:40 |
yantar92 (Org contributor) | In reply to @psionic-lights:matrix.org It seems kind of weird that src-block's don't return anything from org-element-contents-begin and org-element-contents-end . I was expecting the src region to be the contents it is expected. contents-begin/end is only set when the element can contain child elements or objects inside | 09:36:20 |
yantar92 (Org contributor) | src block contains verbatim text, so it instead has :value property | 09:36:33 |
yantar92 (Org contributor) | #7 [[bbb:OrgMeetup]] on Wed, Apr 24, 19:00 UTC+3 will be starting in ~5 hours from now
https://emacs.ch/@yantar92/112303447308808947 | 10:35:44 |
25 Apr 2024 |
| djiamnot changed their profile picture. | 04:45:58 |
psionic-lights | (org-element-map (org-element-parse-buffer) t #'org-element-type)
#+attr_method: step-backward
#+begin_src elisp :results silent
(notifications-notify :title "Org Babel Slide"
:body "Back to the start!")
#+end_src
The keyword will be treated as just part of the src-block element :-( It's nice that it counts as a property of the source block, but I was expecting that it still maps as a keyword
| 07:06:33 |
yantar92 (Org contributor) | In reply to @psionic-lights:matrix.org
(org-element-map (org-element-parse-buffer) t #'org-element-type)
#+attr_method: step-backward
#+begin_src elisp :results silent
(notifications-notify :title "Org Babel Slide"
:body "Back to the start!")
#+end_src
The keyword will be treated as just part of the src-block element :-( It's nice that it counts as a property of the source block, but I was expecting that it still maps as a keyword
It is affiliated keyword. Not an independent epement | 07:22:16 |
psionic-lights | I'm currently implementing on top of regex to find and hide them all with overlays. Is there a normal way to employ element and or object mapping to obtain them? | 07:25:08 |
yantar92 (Org contributor) | In reply to @psionic-lights:matrix.org I'm currently implementing on top of regex to find and hide them all with overlays. Is there a normal way to employ element and or object mapping to obtain them? They are all between :begin and :post-affiliated | 07:50:47 |
psionic-lights | yantar92 (Org contributor): is one of the regex expressions for source block header / footer more appropriate than keyword? | 07:54:16 |
yantar92 (Org contributor) | In reply to @psionic-lights:matrix.org yantar92 (Org contributor): is one of the regex expressions for source block header / footer more appropriate than keyword? I am not sure what you mean | 07:58:24 |
psionic-lights | My mistake. Keyword doesn't match source blocks. I need to get the region bounds for affiliated keywords and for the block header / footer. Sounds like I can use (begin post-afiliated) for affiliated keywords. Not sure what I want to use for source block header / footer. | 08:05:55 |
psionic-lights | It's the inverse problem of getting the block's contents, so i expect there's a convenient way to get it | 08:06:24 |
yantar92 (Org contributor) | In reply to @psionic-lights:matrix.org It's the inverse problem of getting the block's contents, so i expect there's a convenient way to get it No. There is not. Only the awkward with moving next line after :post-affiliated and previous line before blanks and first non-blank before :end | 08:20:53 |
yantar92 (Org contributor) | I am strongly considering to add :value-begin/end to the parser output, but not yet | 08:21:39 |
| lswdx set a profile picture. | 12:07:43 |
psionic-lights | In reply to @yantar92:matrix.org I am strongly considering to add :value-begin/end to the parser output, but not yet For whatever my opinion is worth, for items, source blocks, and headlines, it would be easier to consume if they had value-begin and value-end. Don't know about links | 13:51:59 |
psionic-lights | Speaking of links... Okay I'm too tired to think this out, but I need some ideas on ways to infer how a link might open without opening it. I want to peak at what open implementation will be selected and use this to filter for links by type | 13:54:38 |
26 Apr 2024 |
| Pirate Bady changed their profile picture. | 02:10:17 |