From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Berry, Charles" <ccberry@ucsd.edu>
Cc: Eric S Fraga <ucecesf@ucl.ac.uk>,
org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: problem evaluating src block on file opening
Date: Fri, 25 Aug 2017 22:01:38 +0200 [thread overview]
Message-ID: <87o9r3xvq5.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <9E10731C-D1AC-4EE9-AA0F-4839D70AE165@ucsd.edu> (Charles Berry's message of "Fri, 25 Aug 2017 15:42:26 +0000")
Hello,
"Berry, Charles" <ccberry@ucsd.edu> writes:
>> On Aug 25, 2017, at 6:01 AM, Eric S Fraga <ucecesf@ucl.ac.uk> 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
next prev parent reply other threads:[~2017-08-25 20:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 13:01 problem evaluating src block on file opening Eric S Fraga
2017-08-25 15:42 ` Berry, Charles
2017-08-25 20:01 ` Nicolas Goaziou [this message]
2017-08-26 8:44 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9r3xvq5.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
--cc=ucecesf@ucl.ac.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.