Re: Virtually prefix headlines according to content

2021-06-29 Thread Samuel Wales
along similar lines one possibility is to stick a symbol into the stars. similar code could also indicate that scheduled and deadline. On 6/29/21, John Kitchin wrote: > you could use this alternative to just change the display without adding > the tag: > > (org-map-entries (lambda () >

Re: Virtually prefix headlines according to content

2021-06-29 Thread John Kitchin
you could use this alternative to just change the display without adding the tag: (org-map-entries (lambda () (looking-at org-heading-regexp) (put-text-property (match-beginning 2) (match-end 2) 'display (concat "GH " (match-string 2 "+GITHUB={.+}") There might be some

Re: Virtually prefix headlines according to content

2021-06-29 Thread Juan Manuel MacĂ­as
Rodrigo Morales writes: > What I would like to know is whether it is possible to format a headline > by taking into consideration the properties it has. For example, in this > specific scenario, I would like to make all headlines that have a > "GITHUB" to show "GH" before the actual headline (the

Re: Virtually prefix headlines according to content

2021-06-29 Thread indieterminacy
Hi Rodrigo, regarding syntax, it would be cool if you aligned the style to match Emacs' Hyperboles GitHub style: => https://github.com/rswgnu/hyperbole/blob/master/DEMO ``` ** Github (Remote) References For software developers who use Github for publishing and version control, Github links are

Re: Virtually prefix headlines according to content

2021-06-29 Thread Eric S Fraga
On Tuesday, 29 Jun 2021 at 06:25, Rodrigo Morales wrote: > What I would like to know is whether it is possible to format a headline > by taking into consideration the properties it has. For example, in this > specific scenario, I would like to make all headlines that have a > "GITHUB" to show "GH"

Virtually prefix headlines according to content

2021-06-29 Thread Rodrigo Morales
* The context When taking notes in Org Mode, I usually store Github links of the repositories that are relevant to the topic I'm taking notes as headlines. For this reason, I've multiple headlines of the form within my notes (from my notes on Graph Theory): #+BEGIN_SRC org *