help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: input to interactive M: key from text at point


From: Van L
Subject: Re: input to interactive M: key from text at point
Date: Tue, 28 May 2019 21:02:56 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin)

Emanuel Berg writes:

> But the _best_ way of doing it if you notice
> you do it a lot, is probably change the code
> itself:
>
> (progn
>  (message "1")
>  (message "2")
>  (message "3") )
> ;;              ^ C-x C-e just once, with point here

In Org Mode you can use details from
info:org#var and hit C-c C-c on the
call line below.

  #+name: x-output
  #+begin_src emacs-lisp
    (sqrt a)
  #+end_src
  #+call: x-output(a=9.0) :exports results





reply via email to

[Prev in Thread] Current Thread [Next in Thread]