From: steve-humphreys@gmx.com
To: "Philip K." <philipk@posteo.net>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: ielm not described in: An Introduction to Programming in Emacs Lisp
Date: Fri, 18 Dec 2020 11:39:20 +0100 [thread overview]
Message-ID: <trinity-48ab4f8c-40c7-4476-8e33-4b8dc2e1f756-1608287960725@3c-app-mailcom-bs11> (raw)
In-Reply-To: <87lfdvh0xz.fsf@posteo.net>
> Sent: Friday, December 18, 2020 at 11:18 AM
> From: "Philip K." <philipk@posteo.net>
> To: steve-humphreys@gmx.com
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: ielm not described in: An Introduction to Programming in Emacs Lisp
>
> steve-humphreys@gmx.com writes:
>
> > ielm not described in: An Introduction to Programming in Emacs Lisp.
> >
> > Yet there are many reasons for beginners to use ielm. Have some
> > examples and beginners will get more productive using it as they
> > delve into new things.
>
> I guess it's not mentioned, because it is not necessary, and at least to
> my knowledge, most people will be using C-x C-e (eval-last-sexp) and
> C-M-x (eval-defun) in the *scratch* buffer. Using a REPL, when you can
> evaluate any part of a buffer seems like a step back to me.
I don't know the details, but someone mentioned it to me whilst I was
learning about defvar, setq, and setq within a "let" construct.
Do you plan to continue suporting ielm? If yes, include it in the Intro,
as I know a few people who did not know about it.
If you type C-c C-b you can change ielm’s working buffer to one
of your choosing and then all the code you evaluate thereafter
will be treated as if you executed it in the context of that
buffer. This functionality comes in handy if you are dealing with
buffer-local variables or changes that’re specific to one buffer
only. Very, very powerful.
> But I guess there would be no harm in mentioning it.
>
> --
> Philip K.
>
>
prev parent reply other threads:[~2020-12-18 10:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-17 2:13 ielm not described in: An Introduction to Programming in Emacs Lisp steve-humphreys
2020-12-18 10:18 ` Philip K.
2020-12-18 10:30 ` steve-humphreys
2020-12-18 10:52 ` Robert Pluim
2020-12-18 11:03 ` steve-humphreys
2020-12-18 10:39 ` steve-humphreys [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=trinity-48ab4f8c-40c7-4476-8e33-4b8dc2e1f756-1608287960725@3c-app-mailcom-bs11 \
--to=steve-humphreys@gmx.com \
--cc=help-gnu-emacs@gnu.org \
--cc=philipk@posteo.net \
/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.