[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] problem evaluating src block on file opening
From: |
Nicolas Goaziou |
Subject: |
Re: [O] problem evaluating src block on file opening |
Date: |
Fri, 25 Aug 2017 22:01:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
"Berry, Charles" <address@hidden> writes:
>> On Aug 25, 2017, at 6:01 AM, Eric S Fraga <address@hidden> wrote:
>>
>> Hello,
>>
>> Long story short: org-babel-goto-named-src-block does not seem to work,
>> at least since b862c24b9f or thereabouts?
>>
>
>
> Confirmed on my setup.
>
> Here is an ECM. Always goes to the first block.
>
>
>
>
> #+BEGIN_SRC emacs-lisp
> "gotcha"
> #+END_SRC
>
> #+NAME: startup
> #+BEGIN_SRC emacs-lisp :results value
> 1
> #+END_SRC
>
> #+begin_src emacs-lisp
> (defun esf/execute-startup-block ()
> (interactive)
> (org-babel-goto-named-src-block "startup")
> (org-babel-execute-src-block))
> #+end_src
Fixed. Thank you.
Regards,
--
Nicolas Goaziou