Ihor Radchenko writes:
> mahmood sheikh writes:
>
>> with the given minimal example:
>> ```
>> #+begin_parent
>> #+begin_child
>> #+end_child
>> #+end_parent
>> ```
>> the code
>> ```lisp
>> (org-block-map (lambda () (message "elem: %s" (org-element-at-point
>> ```
>> goes through only the p
mahmood sheikh writes:
> with the given minimal example:
> ```
> #+begin_parent
> #+begin_child
> #+end_child
> #+end_parent
> ```
> the code
> ```lisp
> (org-block-map (lambda () (message "elem: %s" (org-element-at-point
> ```
> goes through only the parent element and doesnt run the lambda
with the given minimal example:
```
#+begin_parent
#+begin_child
#+end_child
#+end_parent
```
the code
```lisp
(org-block-map (lambda () (message "elem: %s" (org-element-at-point
```
goes through only the parent element and doesnt run the lambda on the
child block
the docstring of org-block-map
[ Adding Org list back to CC; please use Reply All or wide reply to keep
the discussion public ]
mahmood sheikh writes:
> consider the following block
> ```
> #+begin_solution
> #+begin_src sql
> SELECT
> CONCAT(c.first_name, ' ', c.family_name) AS name, c.customer_id,
> ...
> #+end_solu
mahmood sheikh writes:
> can you point me in the right direction of getting org mode to recognize
> nested blocks, like code highlighting for src blocks that are within
> another special block?
May you please give an example of what you have in mind?
--
Ihor Radchenko // yantar92,
Org mode con
can you point me in the right direction of getting org mode to recognize
nested blocks, like code highlighting for src blocks that are within
another special block? and getting org-element-map to iterate through both
a parent and its child blocks all the same?
could modifying `org-block-regexp` to