all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Van L <van@scratch.space>
To: help-gnu-emacs@gnu.org
Subject: Re: input to interactive M: key from text at point
Date: Tue, 28 May 2019 21:02:56 +1000	[thread overview]
Message-ID: <m27eaazvrz.fsf@scratch.space> (raw)
In-Reply-To: 86ef4jd1xv.fsf@zoho.eu

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	other threads:[~2019-05-28 11:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14272.1558701102.1163.help-gnu-emacs@gnu.org>
2019-05-24 13:22 ` help-gnu-emacs Digest, Vol 198, Issue 83 Budi
2019-05-25  4:22   ` Emanuel Berg via help-gnu-emacs
2019-05-25  9:46   ` input to interactive M: key from text at point (was: help-gnu-emacs Digest, Vol 198, Issue 83) Van L
2019-05-27 21:26     ` Emanuel Berg via help-gnu-emacs
2019-05-28 11:02       ` Van L [this message]

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=m27eaazvrz.fsf@scratch.space \
    --to=van@scratch.space \
    --cc=help-gnu-emacs@gnu.org \
    /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.